[go: up one dir, main page]

CN106708353B - Instant messaging method, client and electronic equipment - Google Patents

Instant messaging method, client and electronic equipment Download PDF

Info

Publication number
CN106708353B
CN106708353B CN201510783318.6A CN201510783318A CN106708353B CN 106708353 B CN106708353 B CN 106708353B CN 201510783318 A CN201510783318 A CN 201510783318A CN 106708353 B CN106708353 B CN 106708353B
Authority
CN
China
Prior art keywords
information
preset
user
map
map 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
CN201510783318.6A
Other languages
Chinese (zh)
Other versions
CN106708353A (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.)
Nail Holding (cayman) Ltd
Original Assignee
Nail Holding Cayman 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 Nail Holding Cayman Co ltd filed Critical Nail Holding Cayman Co ltd
Priority to CN201510783318.6A priority Critical patent/CN106708353B/en
Publication of CN106708353A publication Critical patent/CN106708353A/en
Application granted granted Critical
Publication of CN106708353B publication Critical patent/CN106708353B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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]
    • H04L51/046Interoperability with other network applications or services

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Instructional Devices (AREA)
  • Navigation (AREA)
  • Telephone Function (AREA)

Abstract

The application provides an instant messaging method, a client and electronic equipment. The method comprises the following steps: receiving a position message, and displaying preset information in a session window, wherein the preset information indicates that the current message is the position message; when the preset information is clicked, calling a pre-stored map application program, replacing the displayed conversation window with a map interface of the map application program, and displaying the geographic position represented by the position information on the map interface; receiving a preset instruction, and replacing the displayed map interface with the conversation window; and canceling the display of the preset information in the conversation window.

Description

Instant messaging method, client and electronic equipment
Technical Field
The present application belongs to the field of information processing technologies, and in particular, to an instant messaging method, a client, and an electronic device.
Background
Instant Messaging tools based on Instant Messaging (IM) enable users to identify online users and exchange messages with them in real time, which is popular among people because of its good communication flexibility and timeliness.
With the development of instant messaging technology, a user can send location information to other users through an instant messaging tool. For example, in daily life, people often encounter situations that require outdoor gatherings, college gatherings, field survivals, and the like. In order to ensure that each participant can accurately and quickly reach the destination, the user A who has reached the destination can send the current position information to other users through the instant messaging tool with the position information sharing function installed on the terminal equipment. Other users can start corresponding electronic map applications on terminal equipment of the users to view and navigate the positions according to the position information sent by the user A.
However, starting the corresponding electronic map application on the terminal device for position viewing and navigation according to the position information easily leaks the user's whereabouts privacy. Specifically, for example, user B needs to meet user C at a secret place that is not intended to be known by others for business negotiation, and user B who arrives at the destination first can send the current location information to user C through the instant messaging tool. The user C can start a corresponding electronic map program on the terminal device thereof to perform navigation and path planning according to the position information, thereby reaching the destination. After user C reaches the destination, user B may wish user C to delete the location information for business privacy reasons, or user C may wish to actively delete the location information for reasons that do not want his or her whereabouts to be known to others. However, the user C may forget to delete the location information due to carelessness, so that other people can know the track of the user C through the location information and also know the meeting place of the user C and the user B. In this way, the privacy of whereabouts of user B and user C will be exposed, possibly incurring harassment for them, the trade secret being revealed, and the like.
A safer location information sharing method commonly used in the prior art may be that a user B who has reached a destination starts an electronic map application on his terminal device, searches or automatically locates the destination location, intercepts and stores a picture including the destination location, and sends the picture to a user C in an incinerating manner after reading, so as to ensure that the picture including the destination location information is deleted within a certain time, thereby achieving the purpose of protecting the whereabouts privacy.
However, the picture containing the location information transmitted by burning after reading has a limited path reference function for the user C. In particular, for example, an electronic map application may employ symbols having a predetermined shape to identify a user's current location or destination location. The user C can only identify the destination position of the user B but cannot identify the current position of the user C according to the picture, so that the current position of the user C and the destination position are difficult to obtain the correlation on the path on the picture; if the identifiers of the positions of the user B and the user C are presented in one picture, when the position of the user B is far away from the position of the user C, the picture may only display the approximate direction existing between the user B and the user C, for example, the user B is in the northeast direction, the user C is in the southwest direction, many details in the picture, such as roads, place names, etc., may not be displayed, and many lines may exist from the current position of the user C to the destination position of the user B, so that the difficulty of the user C reaching the destination position of the user B from the current position of the user C is large when detail information, such as the roads, the place names, etc., cannot be displayed; even if the identifiers of the positions of the user B and the user C are displayed in one picture, and the picture clearly displays detailed information such as roads, place names and the like, the difficulty that the user C wants to acquire the path information of the destination within the picture display time is still high, and if the user C does not acquire the path information of the destination finally, the picture is cancelled and automatically deleted after being displayed for a certain time.
In summary, when the instant messaging method in the prior art sends the location information, it is difficult to combine protection of user privacy and provision of a more detailed path reference function for the recipient user.
Disclosure of Invention
The embodiment of the application aims to provide an instant messaging method, a client and electronic equipment, wherein the instant messaging method, the client and the electronic equipment can protect the privacy and the safety of a user track and provide a more detailed path reference function for a receiver user.
To achieve the above object, an aspect of the present application provides an instant messaging method, where the method includes: receiving a position message, and displaying preset information in a session window, wherein the preset information indicates that the current message is the position message; when the preset information is clicked, calling a pre-stored map application program, replacing the displayed conversation window with a map interface of the map application program, and displaying the geographic position represented by the position information on the map interface; receiving a preset instruction, and replacing the displayed map interface with the conversation window; and canceling the display of the preset information in the conversation window.
To achieve the above object, another aspect of the present application provides a client, including: the receiving module is used for receiving the position information and presetting an instruction; the display module is used for displaying preset information in a session window, wherein the preset information indicates that the current message is a position message; the calling module is used for calling a pre-stored map application program when the preset information is clicked, replacing the displayed conversation window with a map interface of the map application program, and the display module is also used for displaying the geographic position represented by the position information on the map interface; the cancellation module is used for replacing the displayed map interface with the conversation window according to the preset instruction; and canceling the display of the preset information in the conversation window.
The present application further provides an electronic device, which includes: the touch display can display a conversation window and receive user input and preset instructions; a communication terminal capable of performing network communication according to a predetermined encoding rule; a memory storing a map application; the processor is used for controlling the touch display to display preset information on a conversation window when the position information is received through the communication terminal, wherein the preset information represents that the current information is the position information; when the preset message is clicked, controlling to call a map application program stored in the memory, and displaying a map interface of the position message on the touch display; when a preset instruction is received, controlling the touch display to cancel displaying the map interface of the position message; and controlling the touch display to cancel the display of the preset information in the conversation window.
By the technical scheme provided by the embodiment of the application, the beneficial effects of the application are as follows: by calling a map application program to display a map interface, more detailed path reference can be provided for a receiver user; and the display canceling time of the map interface is controlled according to a preset instruction, so that a receiver user is allowed to control the display time of the map interface and the display canceling time according to the actual situation of the receiver user. After the conversation window interface is recovered, the preset information is not automatically displayed any more, so that the map application program is not called again to display the geographical position of the sender. Therefore, the whereabouts of the user can be better protected.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart of an instant messaging method according to an embodiment of the present application;
FIG. 2 is a block diagram of a client according to one embodiment of the present application;
fig. 3a is a preset information displaying step of the instant messaging method according to an embodiment of the present application;
fig. 3b illustrates a step of clicking preset information in the instant messaging method according to an embodiment of the present application;
fig. 3c is a map interface displaying step of the instant messaging method according to an embodiment of the present application;
fig. 3d is an enlarged display step of a map interface of the instant messaging method according to an embodiment of the present application;
FIG. 3e is a navigation step of the instant messaging method according to an embodiment of the present application;
fig. 3f is a step of canceling the display of the preset information in the countdown of the instant messaging method according to an embodiment of the present application;
fig. 4 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art without any inventive work based on the embodiments in the present application are within the scope of protection of the present application.
Please refer to fig. 1. The embodiment of the application provides an instant messaging method, which comprises the following steps.
Step S11: and receiving the position message, and displaying preset information in the conversation window, wherein the preset information indicates that the current message is the position message.
In this embodiment, the instant messaging method is implemented by a client. The client can be a mobile smart phone, a computer (including a notebook computer and a desktop computer), a tablet electronic device, a Personal Digital Assistant (PDA), or a smart wearable device and other terminal devices with a data communication function. The client may also be software that can run on any of the listed terminal devices. The client can receive the position message sent by the sending user through the modes of 2G/3G/4G, Wi-Fi, Bluetooth and the like.
In this embodiment, the location message may have a predetermined format or a predetermined identifier, and the client may determine that the received message is a location message by recognizing the predetermined format or the predetermined identifier. The location information may be acquired by using a preset positioning device (such as a positioning system like GPS, galileo, glonass, beidou, etc.), or may be acquired through a mobile communication network. The location message may be used to indicate the current geographical location information of the user who sent the location message, or may be a geographical location information designated by the user who sent the location message. In a specific embodiment, time information may also be included in the location message. The geographical location information may generally correspond to the time information, and specifically, for example, the location message may include geographical location information of a current location of the sender user and a time when the location message is sent.
In this embodiment, the session window may be an interface provided by the client for interacting with the user information, and may mainly include an information input area and an information display area, where the preset information may be displayed in the information display area.
In this embodiment, after receiving the location message, the preset information may be displayed in the session window. The preset information is used for indicating that the currently received instant messaging message is a position message. Specifically, the preset information itself may be a character string, and the content of the character string is "you receive a location message, please click to view. "; the preset information itself may also be a preset image that is displayed in the conversation window to remind the user that the location message is received. The preset image may be a designated image and may not change in response to the received location message. The preset information may also be a combination of text and images. Of course, other modifications are possible in the light of the above teachings and may be within the scope of the present disclosure as long as they perform the same or similar function and effect as those of the present disclosure.
Step S13: and when the preset information is clicked, calling a pre-stored map application program, replacing the displayed conversation window with a map interface of the map application program, and displaying the geographic position represented by the position message on the map interface.
In this embodiment, the subject of the click may be a finger of the user. In most application scenarios, the client may have a touch display or run on a terminal device having a touch display. A user can typically use a finger to perform a clicking operation on the touch sensitive display. In some embodiments, the body of the click may also include other forms, such as a touch-assisted device that performs the same operations on the touch-sensitive display, such as a conventional capacitive pen, an electromagnetic pen, an infrared-based short-range remote control device, and the like. The client is a notebook or a desktop computer, and can also be clicked through a mouse. Of course, the embodiments of the present application are not limited to the above-mentioned examples.
In one embodiment, the touch display may be an inductive display device capable of receiving input signals, and when triggered, for example, when some operation with a predetermined gesture is performed at a corresponding position or area of the touch display, the touch display correspondingly generates an electrical signal to realize the input of the signals and drives a corresponding application program. Specifically, in the present embodiment, the touch display may receive the signal input by the click operation, and further, the map application program that may drive the terminal device may include, for example, a height map, a Baidu map, a Google map, and the like, the session window displayed by the touch display is replaced with a map interface of the map application program, and the geographic location represented by the location message is displayed on the map interface. Of course, in other application scenarios, the location message sent by the sending user may be received by a client installed on a computer (including a laptop computer and a desktop computer). The display of the computer for presenting the conversation window may be a touch display, which may then receive a click operation of the executing entity in accordance with the foregoing description. Of course, the display of the computer may not be the touch display, that is, the display may be a non-touch display, and the receiving user may operate another hardware input device, such as a mouse, to input signals, so as to drive the corresponding application program. Specifically, in this embodiment, the computer can receive a signal input by a mouse click, and further can drive a map application program to replace the conversation window displayed by the non-touch display with a map interface of the map application program.
In this embodiment, the map interface may be an interactive interface capable of providing a geographic location information service for a user, which is shown on the display, and the map interface may show the geographic location represented by the location message. The specific geographic location identified by the location message may be identified on the map interface by a particular symbol or graphic. Of course, it could be by other means, such as a building located on road XX, XXX; the geographical location may also include location information surrounding the location where the sender user is currently located, such as other roads intersecting/parallel with road XX and names of such other roads, e.g., people's roads, liberation roads, or other buildings adjacent to the building located on road XX XXX and names or identifications of such other buildings, e.g., scientific buildings, chinese banks; further, the geographical location may also include the relative location of the buildings, roads, etc. listed above. Of course, it may also include other information that can identify the geographic location, such as a river, a hill, etc.
In the embodiment, the session window is replaced by the map interface, so that the session information in the session window can be covered, and the condition that the receiver associates the map interface with the identity information of the message sender through other means is avoided. In a specific embodiment, the identity of the sender of the message is displayed on top of the conversation window interface. The identity representation may represent identity information of the other party in the current session. By replacing the session window interface with the map interface, the identity and the geographic position of the position information sender are prevented from being displayed on the same interface. Thereby effectively protecting the position privacy of the message sender.
In this embodiment, after displaying the map interface of the map application, the recipient user may operate the displayed map interface by using the map application to obtain detailed path information for reference. Specifically, for example, when the terminal device of the receiving user is configured with a touch display, the user may operate the execution body, for example, a finger of the user, or a corresponding touch auxiliary device that can be operated by the user may perform a pinch-out operation or a double-click operation on the displayed map interface to enlarge the map interface, so that detailed information such as a road and a place name may be displayed; or the user can execute a pinch-in operation on the displayed map interface by operating the execution main body to shrink the map interface, so that the geographical position information in a larger range can be obtained; in addition, the user can slide on the touch display by operating the execution body to drag the map interface to move, so that the geographical position information which is required to be acquired by the user and displayed on the map interface can be acquired; the user may also utilize the mapping application for path planning and/or navigation to quickly and accurately arrive at a destination. Also, when the terminal device of the recipient user is configured with a non-touch display, for example, a client installed on a computer (including a laptop computer and a desktop computer) receives a location message sent by the sender user, the zoom-in/zoom-out operation may be performed on the displayed map interface by scrolling a mouse wheel, and the drag operation may be performed on the displayed map interface by long-pressing a left/right mouse button and moving the mouse.
Step S15: and receiving a preset instruction, and replacing the displayed map interface with the conversation window.
In the embodiment, a preset instruction is received to indicate that the map interface provided by the current map application software needs to be converted back to the conversation window. The preset command itself may be an electrical signal input. For example, electrical signals generated by a touch display being clicked, or electrical signals generated by a mouse click. Of course, a button may be provided on the interface of the map application software, which is considered to receive a preset instruction when the button is clicked. In a specific implementation mode, after a user finishes path planning and/or navigation by using a map application program and successfully arrives at a destination, the map application program judges that the destination is reached and can be used as a preset instruction, so that a client automatically finishes replacing a map interface with a session window. Of course, after the destination is reached, a preset button of the map interface may be clicked, and an electric signal obtained by clicking the preset button may be used as the preset instruction.
Step S17: and canceling the display of the preset information in the conversation window.
In this embodiment, in order to protect the privacy of the user completely, after the map interface displaying the location message is cancelled, the preset information in the conversation window is cancelled. At this time, the record of the preset information in the conversation window is deleted, and the user can not call a map application program to display a map interface of the position message through the preset information any more, so that the privacy and the safety of the user are protected. Specifically, after the map interface displaying the location message is cancelled, the terminal device may resume displaying the conversation window, and may display a countdown indicator, for example, count down for 3s, in a corresponding area of the conversation window, for example, on the right side of the preset information. And when the countdown is finished, canceling the display of the preset information displayed in the conversation window, wherein the preset information can disappear gradually in a vivid mode such as flame burning, paper crushing or eraser wiping to cancel the display. Of course, the time length of the countdown is not limited to 3s, and may be set according to actual needs, for example, it may be 1s, 2s, 4s, 5s, and the like, and the embodiment of the present application is not limited thereto. In addition, the embodiment of the present application may also not be limited to canceling the preset information displayed in the session window after the countdown is ended, for example, the preset information may be canceled and displayed immediately after the map display interface is canceled, and the embodiment of the present application is not limited thereto.
According to the embodiment of the application, the map application program is called to display the map interface, so that more detailed path reference can be provided for a receiver user; and the display canceling time of the map interface is controlled according to a preset instruction, so that a receiver user is allowed to control the display time of the map interface and the display canceling time according to the actual situation of the receiver user. After the conversation window interface is recovered, the preset information is not automatically displayed any more, so that the map application program is not called again to display the geographical position of the sender. Therefore, the whereabouts of the user can be better protected.
In one embodiment, the step of canceling the presentation of the preset information in the session window may further include: and deleting the position message.
In this embodiment, after canceling the display of the preset information, the location message may be deleted. More specifically, the data of the location message can be deleted on the terminal device of the receiving user, so that the possibility of recovering the location message can be prevented, and the privacy and safety of the user can be protected to the maximum extent. Further, it is also possible to prevent the position information from being stored in the memory and separately opened by other applications.
In one embodiment, the preset information may include: at least one of a character string, an image, voice, and video.
In this embodiment, the preset information is displayed on the conversation window in a predetermined style, and the content included in the map interface can be covered or replaced, so as to prevent the map interface from being peeped by other people when not being displayed and information leakage. Specifically, the preset information may be a character string with a predetermined length, such as "you receive a location message, click view! "; the icon can also be an image with predetermined content, for example, an icon capable of playing a role of identification, and the icon can also have a predetermined display style, for example, an image of a small animal or a dynamic cartoon figure, and also can be a small-sized pictographic thumbnail; the image may also have patches of predetermined area and shape, for example rectangular patches of red; the preset information may also be voice or video capable of being broadcasted or played, for example, the voice may be "you receive a location message", or the video may be video played in a predetermined area of the session window, content played by the video may be set according to actual requirements, for example, a person may broadcast the traffic information using a map picture as a background, and the broadcasted content may be synchronously output in a voice form, so as to remind the user to view the traffic information. In some embodiments, the preset information may also include other forms, and the embodiments of the present application are not limited thereto. As can be seen from the above description, by displaying the preset information using the content represented by the character string, the image, the voice, or the video, the content included in the map interface can be covered or replaced, so that the possibility of information leakage occurring when the map interface is not displayed is effectively prevented, and the privacy security of the user is better protected.
In one embodiment, the step of receiving the preset instruction may include: the map application program can navigate according to the position information and send a preset instruction when navigation is finished; or clicking a preset button provided on a map interface of the map application program to generate the preset instruction.
In this embodiment, the user can navigate using the map application. Specifically, for example, a user may click a function button provided by the map application program for navigation to determine a start point and an end point, where the determination manner of the start point and the end point may be that the user manually inputs a specific location name or that the user directly selects a location on a map interface; furthermore, the user may select the vehicle that reaches the end point from the start point, which may be, for example, a walk, a bus, a taxi, or the like, in order to plan an adapted path for the respective vehicle. The map application program judges that the navigation reaches the destination, and can think that a preset instruction is received, so that the current map interface is switched back to the conversation window.
In this embodiment, when a preset button provided on a map interface of the map application is clicked, an electric signal generated by the click may be used as the preset instruction. The signal generated according to the preset instruction can execute corresponding operation. Specifically, in this embodiment, the map interface displayed by the display may be replaced by the session window, so that the display resumes displaying the session window.
In one embodiment, in the step of canceling the map interface displaying the location message, the method may further include: and sending the read prompt information of the position message to a user of the sender of the position message.
In this embodiment, when a preset instruction triggered by the receiver user is received, it may indicate that the receiver user has completed route planning and/or navigated to reach the destination according to the map application program, and at this time, a prompt message that the location message has been read may be sent to the sender user, specifically, for example, "reached" and "your friend has reached the destination. The sending user of the location message can know the state of the location message sent by the sending user according to the prompt message so as to perform the next operation, for example, the sending user can delete the location message record sent by the sending user on the terminal device so as to prevent the location message record from being viewed by other users and protect the privacy of the sending user.
In a specific application scenario, a receiver user may receive a location message sent by a sender user through a smart phone, and an icon, that is, preset information, is displayed on a session window of a client on a touch display of a terminal device of the receiver user. The receiver user can click the preset information by using a finger, so that a map application program is called to display a map interface of the position message. The receiver user can operate the displayed map interface by using a map application program to obtain detailed path information as a reference. Specifically, for example, in the process of displaying the map interface, the recipient user may use his finger to perform a pinch-open operation or a double-click operation on the displayed map interface to enlarge the map interface, so that detailed information such as a road and a place name may be displayed; or the receiving user can use the finger of the receiving user to perform a pinch-in operation on the displayed map interface so as to shrink the map interface, so that the geographical position information in a larger range can be obtained; in addition, the receiver user can slide on the touch display by using a finger of the receiver user to drag the map interface to move, so that the geographical position information which is required to be acquired by the receiver user and displayed on the map interface can be acquired; the recipient user may also utilize the mapping application for path planning and/or navigation to quickly and accurately arrive at the sender user destination. And after the map application program is used for finishing path planning and/or navigation and smoothly reaching the destination, the receiver user clicks a preset button provided by the conversation window by using a finger of the receiver user to cancel the display of the map interface of the position message. And the icon presented in the session window can be cancelled. Therefore, a more detailed path reference can be provided for a receiver user by calling a map application program to display a map interface; and the display cancellation time of the map interface is controlled according to the preset instruction, so that the receiver user is allowed to control the display time of the map interface and the display cancellation time according to the actual situation of the receiver user, and the track privacy safety of the user can be better protected.
Please refer to fig. 2. The embodiment of the application further provides a client 1, and the client 1 includes a receiving module 11, a display module 13, a calling module 15 and a cancelling module 17.
The receiving module 11 may be configured to receive a location message and a preset instruction, and the displaying module 13 may be configured to display preset information in a session window, where the preset information indicates that a current message is a location message.
In this embodiment, the instant messaging method is implemented by a client. The client can be a mobile smart phone, a computer (including a notebook computer and a desktop computer), a tablet electronic device, a Personal Digital Assistant (PDA), or a smart wearable device and other terminal devices with a data communication function. The client may also be software that can run on any of the listed terminal devices. The client can receive the position message sent by the sending user through the modes of 2G/3G/4G, Wi-Fi, Bluetooth and the like.
In this embodiment, the location message may have a predetermined format or a predetermined identifier, and the client may determine that the received message is a location message by recognizing the predetermined format or the predetermined identifier. The location information may be acquired by using a preset positioning device (such as a positioning system like GPS, galileo, glonass, beidou, etc.), or may be acquired through a mobile communication network. The location message may be used to indicate the current geographical location information of the user who sent the location message, or may be a geographical location information designated by the user who sent the location message. In a specific embodiment, time information may also be included in the location message. The geographical location information may generally correspond to the time information, and specifically, for example, the location message may include geographical location information of a current location of the sender user and a time when the location message is sent.
In this embodiment, the session window may be an interface provided by the client for interacting with the user information, and may mainly include an information input area and an information display area, where the preset information may be displayed in the information display area.
In this embodiment, after receiving the location message, the preset information may be displayed in the session window. The preset information is used for indicating that the currently received instant messaging message is a position message. Specifically, the preset information itself may be a character string, and the content of the character string is "you receive a location message, please click to view. "; the preset information itself may also be a preset image that is displayed in the conversation window to remind the user that the location message is received. The preset image may be a designated image and may not change in response to the received location message. The preset information may also be a combination of text and images. Of course, other modifications are possible in the light of the above teachings and may be within the scope of the present disclosure as long as they perform the same or similar function and effect as those of the present disclosure.
The invoking module 15 may be configured to invoke a pre-stored map application program when the preset information is clicked, replace the displayed session window with a map interface of the map application program, and the displaying module 13 may be further configured to display the geographic location represented by the location message on the map interface.
In this embodiment, the subject of the click may be a finger of the user. In most application scenarios, the client may have a touch display or run on a terminal device having a touch display. A user can typically use a finger to perform a clicking operation on the touch sensitive display. In some embodiments, the body of the click may also include other forms, such as a touch-assisted device that performs the same operations on the touch-sensitive display, such as a conventional capacitive pen, an electromagnetic pen, an infrared-based short-range remote control device, and the like. The client is a notebook or a desktop computer, and can also be clicked through a mouse. Of course, the embodiments of the present application are not limited to the above-mentioned examples.
In one embodiment, the touch display may be an inductive display device capable of receiving input signals, and when triggered, for example, when some operation with a predetermined gesture is performed at a corresponding position or area of the touch display, the touch display correspondingly generates an electrical signal to realize the input of the signals and drives a corresponding application program. Specifically, in the present embodiment, the touch display may receive the signal input by the click operation, and further, the map application program that may drive the terminal device may include, for example, a height map, a Baidu map, a Google map, and the like, the session window displayed by the touch display is replaced with a map interface of the map application program, and the geographic location represented by the location message is displayed on the map interface. Of course, in other application scenarios, the location message sent by the sending user may be received by a client installed on a computer (including a laptop computer and a desktop computer). The display of the computer for presenting the conversation window may be a touch display, which may then receive a click operation of the executing entity in accordance with the foregoing description. Of course, the display of the computer may not be the touch display, that is, the display may be a non-touch display, and the receiving user may operate another hardware input device, such as a mouse, to input signals, so as to drive the corresponding application program. Specifically, in this embodiment, the computer can receive a signal input by a mouse click, and further can drive a map application program to replace the conversation window displayed by the non-touch display with a map interface of the map application program.
In this embodiment, the map interface may be an interactive interface capable of providing a geographic location information service for a user, which is shown on the display, and the map interface may show the geographic location represented by the location message. The specific geographic location identified by the location message may be identified on the map interface by a particular symbol or graphic. Of course, it could be by other means, such as a building located on road XX, XXX; the geographical location may also include location information surrounding the location where the sender user is currently located, such as other roads intersecting/parallel with road XX and names of such other roads, e.g., people's roads, liberation roads, or other buildings adjacent to the building located on road XX XXX and names or identifications of such other buildings, e.g., scientific buildings, chinese banks; further, the geographical location may also include the relative location of the buildings, roads, etc. listed above. Of course, it may also include other information that can identify the geographic location, such as a river, a hill, etc.
In the embodiment, the session window is replaced by the map interface, so that the session information in the session window can be covered, and the condition that the receiver associates the map interface with the identity information of the message sender through other means is avoided. In a specific embodiment, the identity of the sender of the message is displayed on top of the conversation window interface. The identity representation may represent identity information of the other party in the current session. By replacing the session window interface with the map interface, the identity and the geographic position of the position information sender are prevented from being displayed on the same interface. Thereby effectively protecting the position privacy of the message sender.
In this embodiment, after displaying the map interface of the map application, the recipient user may operate the displayed map interface by using the map application to obtain detailed path information for reference. Specifically, for example, when the terminal device of the receiving user is configured with a touch display, the user may operate the execution body, for example, a finger of the user, or a corresponding touch auxiliary device that can be operated by the user may perform a pinch-out operation or a double-click operation on the displayed map interface to enlarge the map interface, so that detailed information such as a road and a place name may be displayed; or the user can execute a pinch-in operation on the displayed map interface by operating the execution main body to shrink the map interface, so that the geographical position information in a larger range can be obtained; in addition, the user can slide on the touch display by operating the execution body to drag the map interface to move, so that the geographical position information which is required to be acquired by the user and displayed on the map interface can be acquired; the user may also utilize the mapping application for path planning and/or navigation to quickly and accurately arrive at a destination. Also, when the terminal device of the recipient user is configured with a non-touch display, for example, a client installed on a computer (including a laptop computer and a desktop computer) receives a location message sent by the sender user, the zoom-in/zoom-out operation may be performed on the displayed map interface by scrolling a mouse wheel, and the drag operation may be performed on the displayed map interface by long-pressing a left/right mouse button and moving the mouse.
The receiving module 11 may be further configured to receive a preset instruction, and the displaying module 13 may be further configured to replace the displayed map interface with the conversation window.
In the embodiment, a preset instruction is received to indicate that the map interface provided by the current map application software needs to be converted back to the conversation window. The preset command itself may be an electrical signal input. For example, electrical signals generated by a touch display being clicked, or electrical signals generated by a mouse click. Of course, a button may be provided on the interface of the map application software, which is considered to receive a preset instruction when the button is clicked. In a specific implementation mode, after a user finishes path planning and/or navigation by using a map application program and successfully arrives at a destination, the map application program judges that the destination is reached and can be used as a preset instruction, so that a client automatically finishes replacing a map interface with a session window. Of course, after the destination is reached, a preset button of the map interface may be clicked, and an electric signal obtained by clicking the preset button may be used as the preset instruction.
The cancellation module 17 may be configured to replace the map interface displayed by the display with the conversation window according to the preset instruction.
In this embodiment, in order to protect the privacy of the user completely, after the map interface displaying the location message is cancelled, the preset information in the conversation window is cancelled. At this time, the record of the preset information in the conversation window is deleted, and the user can not call a map application program to display a map interface of the position message through the preset information any more, so that the privacy and the safety of the user are protected. Specifically, after the map interface displaying the location message is cancelled, the terminal device may resume displaying the conversation window, and may display a countdown indicator, for example, count down for 3s, in a corresponding area of the conversation window, for example, on the right side of the preset information. And when the countdown is finished, canceling the display of the preset information displayed in the conversation window, wherein the preset information can disappear gradually in a vivid mode such as flame burning, paper crushing or eraser wiping to cancel the display. Of course, the time length of the countdown is not limited to 3s, and may be set according to actual needs, for example, it may be 1s, 2s, 4s, 5s, and the like, and the embodiment of the present application is not limited thereto. In addition, the embodiment of the present application may also not be limited to canceling the preset information displayed in the session window after the countdown is ended, for example, the preset information may be canceled and displayed immediately after the map display interface is canceled, and the embodiment of the present application is not limited thereto.
According to the embodiment of the application, the map application program is called to display the map interface, so that more detailed path reference can be provided for a receiver user; and the display canceling time of the map interface is controlled according to a preset instruction, so that a receiver user is allowed to control the display time of the map interface and the display canceling time according to the actual situation of the receiver user. After the conversation window interface is recovered, the preset information is not automatically displayed any more, so that the map application program is not called again to display the geographical position of the sender. Therefore, the whereabouts of the user can be better protected.
In one embodiment, the client 1 may further include a deletion module 19, and the deletion module 19 may be configured to delete the location message.
In this embodiment, after the canceling module 17 cancels the displaying of the preset information, the deleting module 19 may delete the location message. More specifically, the data of the location message can be deleted on the terminal device of the receiving user, so that the possibility of recovering the location message can be prevented, and the privacy and safety of the user can be protected to the maximum extent. Further, it is also possible to prevent the position information from being stored in the memory and separately opened by other applications.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core unified Programming Language), HDCal, JHDL (Java Hardware Description Language), langue, Lola, HDL, laspam, hardbyscript Description Language (vhr Description Language), and the like, which are currently used by Hardware compiler-software (Hardware Description Language-software). It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
Referring to fig. 3a to 3f, in a specific application scenario, a terminal device of a receiving user may receive a location message sent by a sending user. As shown in fig. 3a, when the terminal device of the receiving-side user just receives the location message, an icon, that is, the preset information, may be displayed in the session window. As shown in FIG. 3b, the recipient user can click on the icon with a finger to invoke a mapping interface for the mapping application to expose the location message. As shown in fig. 3c, the map interface may be displayed full screen. At this time, the recipient user may operate the displayed map interface using a map application to obtain detailed path information for reference. Specifically, for example, during the process of displaying the map interface, the recipient user may perform a pinch-open operation or a double-click operation on the displayed map interface using his finger to enlarge the map interface, so that detailed information such as a road and a place name may be displayed; alternatively, as shown in fig. 3e, the recipient user may also utilize the mapping application for route planning and/or navigation to quickly and accurately reach the destination of the sender user. As shown in fig. 3f, after completing the route planning and/or navigation to the destination using the map application, the recipient user clicks a predetermined button provided in the conversation window, such as a "cancel" button at the upper left corner thereof, with his finger to cancel the map interface displaying the location message. And the icon presented in the session window can be cancelled. At this time, a countdown mark can be displayed on the right side of the icon on the touch display screen of the terminal device, and the user is prompted in a countdown mode about the remaining time for the icon to disappear. And then, the position information can be completely deleted from the data of the terminal equipment, so that the privacy and the safety of the user are protected. As can be seen from the above description, in the embodiment of the present application, a map application program is invoked to display a map interface, so that a more detailed path reference can be provided for a recipient user; and the display cancellation time of the map interface is controlled according to the preset instruction, so that the receiver user is allowed to control the display time of the map interface and the display cancellation time according to the actual situation of the receiver user, and the track privacy safety of the user can be better protected.
Referring to fig. 4, the present application further provides an electronic device, which enables a user to protect user privacy and provide a more detailed path reference function for a recipient user when using a terminal device including the electronic device according to an embodiment of the present application. The electronic device may include:
a touch display 30 capable of displaying a conversation window, receiving user input and a preset instruction;
a communication terminal 32 capable of performing network communication in accordance with a predetermined encoding rule;
a memory 34 storing a map application;
a processor 36, which controls the touch display to display preset information in a conversation window when receiving a position message through the communication terminal, wherein the preset information indicates that the current message is a position message; when the preset message is clicked, controlling to call a map application program stored in the memory, and displaying a map interface of the position message on the touch display; when a preset instruction is received, controlling the touch display to cancel displaying the map interface of the position message; and controlling the touch display to cancel the display of the preset information in the conversation window.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. With this understanding in mind, the present solution, or portions thereof that contribute to the prior art, may be embodied in the form of a software product, which in a typical configuration includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory. The computer software product may include instructions for causing a computing device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in the various embodiments or portions of embodiments of the present application. The computer software product may be stored in a memory, which may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium. Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include transitory computer readable media (transient media), such as modulated data signals and carrier waves.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to part of the description of the method embodiment.
Although the present application has been described in terms of embodiments, those of ordinary skill in the art will recognize that there are numerous variations and permutations of the present application without departing from the spirit of the application, and it is intended that the appended claims encompass such variations and permutations without departing from the spirit of the application.

Claims (8)

1. An instant messaging method, the method comprising:
receiving a position message, and displaying preset information in a session window, wherein the preset information indicates that the current message is the position message;
when the preset information is clicked, calling a pre-stored map application program, replacing the displayed conversation window with a map interface of the map application program, and displaying the geographic position represented by the position information on the map interface; the map interface is used for covering the session information in the session window; the session information comprises identity information of a message sender; the map interface comprises an interactive interface for providing geographic position information service for a user;
receiving a preset instruction, and replacing the displayed map interface with the conversation window;
and canceling the display of the preset information in the conversation window.
2. The method of claim 1, wherein the step of canceling the presentation of the preset information in the session window further comprises:
and deleting the position message.
3. The method of claim 1, wherein the preset information comprises: at least one of a character string, an image, voice, and video.
4. The method of claim 1, wherein the step of receiving the preset instruction comprises:
the map application program carries out navigation according to the position information and sends out a preset instruction when the navigation is finished;
or,
and clicking a preset button provided on a map interface of the map application program to generate the preset instruction.
5. The method of claim 1, wherein after the preset information is clicked, the method further comprises:
and sending the read prompt information of the position message to a user of the sender of the position message.
6. A client, the client comprising:
the receiving module is used for receiving the position information and presetting an instruction;
the display module is used for displaying preset information in a session window, wherein the preset information indicates that the current message is a position message;
the calling module is used for calling a pre-stored map application program when the preset information is clicked, replacing the displayed conversation window with a map interface of the map application program, and the display module is also used for displaying the geographic position represented by the position information on the map interface; the map interface is used for covering the session information in the session window; the session information comprises identity information of a message sender; the map interface comprises an interactive interface for providing geographic position information service for a user;
the cancellation module is used for replacing the displayed map interface with the conversation window according to the preset instruction; and canceling the display of the preset information in the conversation window.
7. The client of claim 6, wherein the client further comprises:
and the deleting module is used for deleting the position message.
8. An electronic device, characterized in that the electronic device comprises:
the touch display can display a conversation window and receive user input and preset instructions;
a communication terminal capable of performing network communication according to a predetermined encoding rule;
a memory storing a map application;
the processor is used for controlling the touch display to display preset information on a conversation window when the position information is received through the communication terminal, wherein the preset information represents that the current information is the position information; when the preset information is clicked, controlling to call a map application program stored in the memory, and displaying a map interface of the position message on the touch display; the map interface is used for covering the session information in the session window; the session information comprises identity information of a message sender; the map interface comprises an interactive interface for providing geographic position information service for a user; when a preset instruction is received, controlling the touch display to cancel displaying the map interface of the position message; and controlling the touch display to cancel the display of the preset information in the conversation window.
CN201510783318.6A 2015-11-16 2015-11-16 Instant messaging method, client and electronic equipment Active CN106708353B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510783318.6A CN106708353B (en) 2015-11-16 2015-11-16 Instant messaging method, client and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510783318.6A CN106708353B (en) 2015-11-16 2015-11-16 Instant messaging method, client and electronic equipment

Publications (2)

Publication Number Publication Date
CN106708353A CN106708353A (en) 2017-05-24
CN106708353B true CN106708353B (en) 2021-06-04

Family

ID=58931985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510783318.6A Active CN106708353B (en) 2015-11-16 2015-11-16 Instant messaging method, client and electronic equipment

Country Status (1)

Country Link
CN (1) CN106708353B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107749852A (en) * 2017-10-25 2018-03-02 何治通 It is a kind of using telephone number as account transmission and show map position in a manner of
TWI728492B (en) * 2019-10-04 2021-05-21 遊戲橘子數位科技股份有限公司 Message management method based on time and location
CN114930882A (en) 2020-03-09 2022-08-19 游戏橘子数位科技股份有限公司 Message management method based on time and position
CN114445020A (en) * 2020-11-05 2022-05-06 腾讯科技(深圳)有限公司 Commuting reminder method, device, medium and electronic device
CN116893762A (en) * 2023-07-11 2023-10-17 北京字跳网络技术有限公司 Session information display method and device, electronic equipment and storage medium
WO2025081900A1 (en) * 2024-06-28 2025-04-24 抖音视界有限公司 Interaction method and apparatus, and device and storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101720054A (en) * 2008-10-09 2010-06-02 宏达国际电子股份有限公司 Real-time communication method combined with electronic map and electronic device thereof
CN102263705B (en) * 2010-05-25 2016-06-08 腾讯科技(深圳)有限公司 The method of display instant communication information and device
US9052800B2 (en) * 2010-10-01 2015-06-09 Z124 User interface with stacked application management
CN102829795B (en) * 2012-07-17 2016-03-30 广东好帮手电子科技股份有限公司 A kind of navigational system and control method thereof
CN103399700B (en) * 2013-06-28 2016-05-04 宇龙计算机通信科技(深圳)有限公司 After readding, burn rendering method and the communication terminal of information
CN103634200B (en) * 2013-09-10 2016-10-12 北京思特奇信息技术股份有限公司 A kind of flash map sending system and flash map sending based on instant message
CN104468679B (en) * 2013-09-24 2018-03-02 腾讯科技(深圳)有限公司 Share the method, terminal and system in geographical position
CN104702494B (en) * 2015-04-01 2020-07-24 陈包容 Instant messaging method and device for burn-after-reading message
CN104954492B (en) * 2015-06-30 2019-02-15 百度在线网络技术(北京)有限公司 Instant communication method, the distribution server, user terminal and instant communicating system
CN104980447A (en) * 2015-07-07 2015-10-14 珠海赞友科技有限公司 Method for safely transmitting chatting and other information through network

Also Published As

Publication number Publication date
CN106708353A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
KR102378513B1 (en) Message Service Providing Device and Method Providing Content thereof
KR102447503B1 (en) Electronic device providing message service and method of providing content by the electronic device
CN106708353B (en) Instant messaging method, client and electronic equipment
US10841265B2 (en) Apparatus and method for providing information
US11256381B2 (en) Method for providing message function and electronic device thereof
US11159922B2 (en) Layers in messaging applications
US9928028B2 (en) Mobile terminal with voice recognition mode for multitasking and control method thereof
CN114741011B (en) A terminal display method and electronic device
KR102157327B1 (en) Apparatas and method for converting image form of object to text form of object in an electronic device
EP2442539A1 (en) Mobile terminal and method of managing object related information therein
US20150116251A1 (en) Mobile terminal
US20130176298A1 (en) Mobile terminal and method of controlling the same
US20140267094A1 (en) Performing an action on a touch-enabled device based on a gesture
US20120038668A1 (en) Method for display information and mobile terminal using the same
KR20160021637A (en) Method for processing contents and electronics device thereof
KR20140143971A (en) Shared home screen apparatus and method thereof
JP6378451B2 (en) Method and apparatus for processing new messages associated with an application
US20140132535A1 (en) Mobile terminal and control method thereof
US20250202858A1 (en) Electronic messaging platform that allows users to edit messages after sending
US20240340615A1 (en) User interfaces for viewing and refining the current location of an electronic device
KR20150031588A (en) Electronic Device And Method for Handling Incoming Call Of The Same
CN106713110B (en) Instant messaging method, client and electronic equipment
US20150373184A1 (en) Mobile terminal and control method thereof
JP2019523475A (en) Location integration into email system
KR20120017329A (en) Information transmission method and mobile terminal using same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20180815

Address after: 31119KY1 - 1205, Furong Road mailbox, 802 West Bay Road, Cayman Islands

Applicant after: Nail holding (Cayman) Limited

Address before: Cayman Islands Grand Cayman

Applicant before: Alibaba Group Holding Co., Ltd.

GR01 Patent grant
GR01 Patent grant