WO2024088209A1 - 位置信息获取方法及其装置 - Google Patents
位置信息获取方法及其装置 Download PDFInfo
- Publication number
- WO2024088209A1 WO2024088209A1 PCT/CN2023/125902 CN2023125902W WO2024088209A1 WO 2024088209 A1 WO2024088209 A1 WO 2024088209A1 CN 2023125902 W CN2023125902 W CN 2023125902W WO 2024088209 A1 WO2024088209 A1 WO 2024088209A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- input
- identifiers
- place
- user
- display
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/248—Presentation of query results
Definitions
- the present application belongs to the technical field of location query, and specifically relates to a method and device for obtaining location information.
- the user can select the name of the place in the chat interface and enter the name of the place in the navigation application in the electronic device to query the location information of the place, so that the electronic device displays the location information to the user (such as the address information of the place, the distance between the place and the user's current location, etc.).
- the chat interface includes the names of multiple places
- the user needs to enter the names of the places in the navigation application in turn to query the location information of the multiple places. Therefore, the user's operation is cumbersome and time-consuming, which results in low efficiency and poor flexibility in querying location information of the electronic device.
- the purpose of the embodiments of the present application is to provide a method, device, electronic device and storage medium for obtaining location information, which can solve the problem of low efficiency and poor flexibility in electronic devices querying location information when using communication applications.
- the present invention provides a method for obtaining location information.
- the method includes: receiving a first input from a user for M messages in a target conversation interface, where M is a positive integer; in response to the first input, displaying a first window, and displaying at least one place identifier in the first window, where the at least one place identifier is a place identifier included in the M messages; receiving a second input from the user for N place identifiers among the at least one place identifier, where N is a positive integer; in response to the second input, displaying a second window, and displaying location information of places corresponding to the N place identifiers in the second window.
- an embodiment of the present application provides a device for acquiring location information, which includes: a receiving module and a display module.
- the receiving module is used to receive a first input from a user for M messages in a target conversation interface, where M is a positive integer.
- the display module is used to display a first window in response to the first input received by the receiving module, and to display at least one place identifier in the first window, where the at least one place identifier is a place identifier included in the M messages.
- the receiving module is also used to receive a second input from a user for N place identifiers among the at least one place identifier, where N is a positive integer.
- the display module is also used to display a second window in response to the second input received by the receiving module, and to display location information of places corresponding to the N place identifiers in the second window.
- an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
- an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
- an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
- an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
- the electronic device after receiving the first input of the user to the M messages in the target conversation interface, the electronic device can display at least one location identifier in the chat record, and then the electronic device The device can receive a second input from the user for N place identifiers among at least one place identifier, so as to display the location information of the places corresponding to the N place identifiers in the target conversation interface.
- the user can make a first input for M messages, so that the electronic device can determine at least one place identifier from the M messages, and display these place identifiers to the user through the first window, so that the user can make a second input for N place identifiers among these place identifiers to trigger the electronic device to display the location information of the places corresponding to the N place identifiers, so that the user can more conveniently and intuitively obtain the location information of the places contained in multiple messages in the conversation interface, thus improving the flexibility and efficiency of the electronic device in querying location information.
- FIG1 is a flowchart of a method for obtaining location information provided in an embodiment of the present application
- FIG2 is a schematic diagram of an example of a target conversation interface of a mobile phone provided in an embodiment of the present application
- FIG3 is a second flowchart of a method for obtaining location information provided in an embodiment of the present application.
- FIG4 is a schematic diagram of an example of locating a location identifier from a message through a control provided by an embodiment of the present application
- FIG5 is a schematic diagram of an example of a user selecting a location identifier from a message provided by an embodiment of the present application
- FIG6 is a schematic diagram of an interface for displaying at least one location identifier through a first window provided by an embodiment of the present application
- FIG. 7 is a schematic diagram of an example of displaying a location corresponding to a location identifier through a second window provided by an embodiment of the present application;
- FIG8 is a schematic diagram of an interface of a mobile phone displaying a target application identifier provided by an embodiment of the present application
- FIG. 9 is a schematic diagram of an example of a mobile phone sending route information through a conversation interface provided in an embodiment of the present application.
- FIG. 10 is a schematic diagram of an example of a mobile phone sending a target link through a conversation interface provided in an embodiment of the present application
- FIG11 is a schematic diagram of the structure of a device for acquiring position information provided in an embodiment of the present application.
- FIG12 is a schematic diagram of a hardware structure of an electronic device provided in an embodiment of the present application.
- FIG. 13 is a second schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
- first, second, etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first”, “second”, etc. are generally of one type, and the number of objects is not limited.
- the first object can be one or more.
- “and/or” in the specification and claims represents at least one of the connected objects, and the character “/" generally indicates that the objects associated before and after are in an "or” relationship.
- the user When a user is chatting with a communication application, if the name of a place whose detailed location information the user needs to know appears in the chat record, the user can enter the name of the place in an application with a navigation function (such as a map application) to allow the electronic device to query and display the location information of the place.
- a navigation function such as a map application
- the user needs to perform the above operation multiple times to obtain the location information of each of the multiple places. Therefore, the user's operation is cumbersome and time-consuming, resulting in low efficiency and poor flexibility in the electronic device's query of location information.
- the location information acquisition method provided in the embodiment of the present application can display at least one location identifier in the chat record after receiving the user's first input of M messages in the target conversation interface, and then the electronic device can receive the user's input of N location identifiers in the at least one location identifier. A second input is made to display the location information of the places corresponding to the N place identifiers in the target conversation interface.
- the user can make a first input to M messages, so that the electronic device can determine at least one place identifier from the M messages, and display these place identifiers to the user through the first window, so that the user can make a second input to N place identifiers among these place identifiers to trigger the electronic device to display the location information of the places corresponding to the N place identifiers, so that the user can more conveniently and intuitively obtain the location information of the places contained in multiple messages in the conversation interface, thus improving the flexibility and efficiency of the electronic device in querying location information.
- the present application provides a method for obtaining location information
- Figure 1 shows a flow chart of a method for obtaining location information provided by the present application.
- the method for obtaining location information provided by the present application may include the following steps 201 to 204.
- Step 201 The electronic device receives a user's first input of M messages in a target conversation interface.
- M is a positive integer.
- Each of the M messages is a message containing a location identifier in the target conversation interface.
- the user can open an application with a conversation function in the electronic device, such as a communication application, and trigger the electronic device to display a target conversation interface, which includes at least one message.
- the user can make a first input to M messages in the at least one message to trigger the electronic device to determine the location identifier from the M messages.
- the target session interface may be a private chat session interface or a group chat session interface.
- the first input may be a user's selection input (eg, a click input or a long press input) for M messages to trigger the electronic device to determine a location identifier from the M messages.
- a user's selection input eg, a click input or a long press input
- the electronic device is a mobile phone.
- the mobile phone displays a target conversation interface (chat group A), which includes five messages (messages sent by user A to user E), and the user can input the first M messages (e.g., messages sent by user B, messages sent by user C, and messages sent by user D) among the five messages to trigger the mobile phone to obtain location identifiers in these messages.
- chat group A includes five messages (messages sent by user A to user E)
- the user can input the first M messages (e.g., messages sent by user B, messages sent by user C, and messages sent by user D) among the five messages to trigger the mobile phone to obtain location identifiers in these messages.
- the first input may be a user inputting a location marker for locating the location.
- the control of the identification is moved to the input on the M messages in sequence to trigger the electronic device to determine the location identification from the M messages.
- the location information acquisition method provided in the embodiment of the present application further includes steps 301 and 302.
- Step 301 The electronic device receives a third input from a user to a target conversation interface.
- the third input may be a user sliding input on a specific area (e.g., a sidebar area) displayed on the screen to trigger the electronic device to display a control for locating the location identifier.
- the third input may be a long press input (e.g., a long press input on any message) or a sliding input (e.g., an input of sliding two fingers at the same time) in the target conversation interface to trigger the electronic device to display a control for locating the location identifier.
- the specific input may be determined based on actual usage requirements and is not limited in the embodiment of the present application.
- Step 302 The electronic device displays a first control in the target conversation interface in response to a third input.
- the first control mentioned above can be used to locate the location identifier in the message.
- the first input is the input of the user moving the first control to M messages, that is, the user can move the first control to M messages in sequence to trigger the electronic device to determine the location identifier from the M messages.
- the shape of the first control may be a rhombus, an inverted triangle, a positioning mark shape, or the shape of any other geometric body.
- the user can slide input on the sidebar area (for example, left swipe input) so that the mobile phone can display a first control (for example, a control 10 in the shape of a positioning identifier) in the area where the user slides, so that the user can move the first control to M messages in sequence, so that the mobile phone can determine the location identifier from the M messages.
- a first control for example, a control 10 in the shape of a positioning identifier
- Step 202 In response to a first input, the electronic device displays a first window and displays at least one place identifier in the first window.
- the at least one location identifier is a location identifier contained in M messages.
- the at least one place identifier includes a place identifier selected by the user from M messages.
- the user can The location identifiers in the M messages are selected and input to select at least one of the above-mentioned location identifiers from the M messages.
- the user can first input one of the above-mentioned messages (for example, double-click to input) so that the electronic device can mark the message in the target conversation interface in the form of an enlarged mark or a grayscale mark, and then the user can select and input the location identifier in the message.
- one of the above-mentioned messages for example, double-click to input
- the user's selection input for a place identifier in a message may include two sub-inputs, one sub-input being a sliding input by the user for a place identifier in a message to trigger the electronic device to display a first control, and the other sub-input being an input by the user to move one or more place identifiers in a message to the first control to trigger the electronic device to determine the one or more place identifiers as place identifiers selected from the message.
- a user may input a message among M messages (e.g., a message sent by user B, “Last time I found it at No. 130, xx Road and xx Building”), so that the mobile phone may mark the message in the form of an enlarged mark, and the user may select the location identifier a (“No. 130, xx Road”) in the message, so that the mobile phone displays the first control 10, and the user may move the location identifier a to the first control 10, so that the mobile phone determines the location identifier a as the location identifier selected from the message; then, the user may continue to select the location identifier b (“No.
- the location identifier selected by the user from the message includes the location identifier a and the location identifier b.
- a location identifier may be selected through the process described in FIG. 5 , so as to select at least one location identifier from the M messages.
- the at least one location identifier includes all location identifiers identified by the electronic device from M messages.
- the electronic device can perform semantic analysis on each message to divide each message into multiple character strings, and compare the multiple character strings with preset keywords/keywords (for example, words indicating location such as "road”, “street”, “building”, “building”, etc.) to identify the location of the message. Determine the location identifier contained in each message.
- keywords/keywords for example, words indicating location such as "road”, “street”, “building”, “building”, etc.
- the at least one location identifier includes a location identifier selected by the user from a portion of the M messages, and all location identifiers identified by the electronic device from another portion of the M messages.
- the electronic device may display at least one location identifier in the first window in the form of sub-areas, each area corresponds to a message, and each area is used to display the location identifier in a message.
- the mobile phone can obtain the location identifiers in these messages and display the first window 11 to display the location identifiers in these messages in the first window 11 in the form of divided areas.
- Step 203 The electronic device receives a second input from the user for N place identifiers among the at least one place identifier.
- N is a positive integer.
- the second input may be a selection input or a long press input of N place identifiers by the user to trigger the electronic device to obtain location information of places corresponding to the N place identifiers.
- Step 204 The electronic device displays a second window in response to the second input, and displays location information of the places corresponding to the N place identifiers in the second window.
- the location information of the place corresponding to each of the above-mentioned N place identifiers includes but is not limited to at least one of the following: the geographical location information of the place corresponding to each place identifier, the distance between the place corresponding to each place identifier and the user's current location, and the navigation route information from the user's current location to the place corresponding to each place identifier.
- the electronic device may display the location information of the places corresponding to the N place identifiers in the second window in the form of a list, a map, or a chart.
- the "displaying the location information of the locations corresponding to the N location identifiers in the second window" in the above step 204 can be specifically performed through the following steps 204a to 204c. accomplish.
- Step 204a The electronic device displays the N place identifiers on the target map in the second window according to the location information of the places corresponding to the N place identifiers.
- the electronic device may mark the locations of N place identifiers in the second window, display the names or icons of the N place identifiers, and mark the user's current location.
- Step 204b The electronic device receives a sixth input from the user for K place identifiers among the N place identifiers.
- K is a positive integer less than or equal to N.
- the sixth input may be a click input or a sliding input of the user to the K place identifiers to trigger the electronic device to display the location information of the places corresponding to the K place identifiers.
- Step 204c In response to the sixth input, the electronic device displays the location information of the places corresponding to the K place identifiers in the second window, or displays the navigation information of the places corresponding to the K place identifiers in the target application interface.
- the above-mentioned target application interface is the interface of an application program with a positioning function.
- the location information of the locations corresponding to the above-mentioned K location identifiers may include at least one of the following: the distance between the locations corresponding to the K location identifiers, the relative directions between the locations corresponding to the K location identifiers, and the geographical location information of the locations corresponding to the K location identifiers.
- the mobile phone marks the locations of the user's current location and the locations corresponding to the three location identifiers (No. 130, xx Road, xx Shopping Center and xx Building) on the target map in the second window 12, and displays the straight-line distance between the user's current location and the locations corresponding to the three location identifiers.
- the straight-line distance between the user's current location and No. 130, xx Road is 6km
- the straight-line distance between the user's current location and xx Shopping Center is 7km
- the straight-line distance between the user's current location and xx Building is 5km. Therefore, the user knows through the information displayed in the second window 12 that the distance between xx Building and the user's current location is the shortest, and the distance between xx Shopping Center and the current location is the farthest.
- the navigation information of the locations corresponding to the K location identifiers may be The information may include at least one of the following: route information from the user's current location to the locations corresponding to the K location identifiers, and time information from the user's current location to the locations corresponding to the K location identifiers.
- the electronic device after receiving the user's second input, can display N place markers on the target map in the second window, and display the location information of K place markers, so that the user can more intuitively obtain the location information between the locations corresponding to the place markers through images.
- the embodiment of the present application provides a method for obtaining location information. After receiving a first input from a user for M messages in a target conversation interface, the electronic device can display at least one location identifier in a chat record, and then the electronic device can receive a second input from the user for N location identifiers among the at least one location identifier, so as to display the location information of the locations corresponding to the N location identifiers in the target conversation interface.
- the user can make a first input for M messages, so that the electronic device can determine at least one location identifier from the M messages, and display these location identifiers to the user through a first window, so that the user can make a second input for N location identifiers among these location identifiers, so as to trigger the electronic device to display the location information of the locations corresponding to the N location identifiers, so that the user can more conveniently and intuitively obtain the location information of the locations contained in multiple messages in the conversation interface, thus improving the flexibility and efficiency of the electronic device in querying location information.
- the location information acquisition method provided in the embodiment of the present application further includes steps 401 to 403 .
- Step 401 The electronic device marks N location identifiers and displays a target application identifier in response to a second input.
- the above-mentioned target application identifier is used to indicate an application program with a positioning function.
- the electronic device marks N location identifiers in any of the following ways: adding a rectangular frame mark, checking a check box mark, highlighting a mark, bolding a message, etc.
- the specific method can be determined according to actual use requirements, and the embodiment of the present application does not limit it.
- the electronic device may display the target application identifier in a blank area in the target conversation interface or in an area corresponding to the message input box; or, the electronic device may display the target application identifier in the form of a floating window in the target conversation interface.
- the user can A second input is made using N place identifiers (e.g., No. 130 xx Road, xx Building, and xx Shopping Center) among the point identifiers (i.e., No. 130 xx Road and xx Building in the message sent by user B, xx Building in the message sent by user C, and xx Shopping Center in the message sent by user D), so that the mobile phone can display the target application identifier (e.g., Map A, Map B, and Map C) in the area corresponding to the message input box in the target conversation interface.
- N place identifiers e.g., No. 130 xx Road, xx Building, and xx Shopping Center
- Step 402 The electronic device receives a fourth input from the user.
- the fourth input is an input for moving N place identifiers to the position of the target application identifier, so as to trigger the electronic device to query the location information of the places corresponding to the N place identifiers through the application corresponding to the target application identifier.
- Step 403 In response to the fourth input, the electronic device obtains location information of places corresponding to the N place identifiers through the application program indicated by the target application identifier.
- the electronic device after receiving the fourth input, can run the application indicated by the target application identifier in the background, and search for N place identifiers through the application indicated by the target application identifier to obtain location information of the places corresponding to the N place identifiers.
- the electronic device can display the target application identifier in the target session interface, so that the user can directly move the N place identifiers to the target application identifier, so that the electronic device can quickly obtain the location information of the places corresponding to the N place identifiers, thereby improving the convenience and efficiency of querying the location information of the places in the message.
- the electronic device includes a first display area and a second display area, the first display area includes a target session interface, and the second display area includes a target application identifier, which is used to indicate an application with a positioning function.
- first display area and the second display area mentioned above can be two display areas of an electronic device with a foldable screen, or two display areas after the screen of the electronic device is split.
- the user can perform a folding input on the electronic device with a folding screen to fold the screen of the electronic device into two display areas, namely, a first display area and a second display area.
- the user can perform a split-screen input on the screen of the electronic device to divide the screen of the electronic device into two display areas, namely, a first display area and a second display area.
- the second display area includes a desktop, the desktop includes at least one application identifier, and the at least one application identifier includes a target application identifier.
- the second display area includes a third window, and the third window includes a target application identifier.
- the location information acquisition method provided in the embodiment of the present application further includes steps 404 to 406 .
- Step 404 The electronic device marks N location identifiers in response to the second input.
- Step 405 The electronic device receives a fifth input from the user.
- the fifth input is an input for moving N place identifiers to the position of a target application identifier in the second display area, so as to trigger the electronic device to query the location information of the places corresponding to the N place identifiers through the application corresponding to the target application identifier.
- Step 406 In response to the fifth input, the electronic device obtains location information of the places corresponding to the N place identifiers through the application program indicated by the target application identifier.
- the electronic device can display the target application identifier in the second display area, so that the user can directly move the N place identifiers to the target application identifier, so that the electronic device can quickly obtain the location information of the places corresponding to the N place identifiers, thereby improving the convenience and efficiency of querying the location information of the places in the message.
- the location information acquisition method provided in the embodiment of the present application further includes steps 501 and 502.
- Step 501 The electronic device receives a seventh input from a user on a second window.
- the seventh input may be a movement input or a sliding input of the user to the second window to trigger the electronic device to send/share the location information displayed in the second window.
- the seventh input is the user moving the second window to the message Input into the input box, or input to move the second window to a blank area or user avatar in the target session interface; to trigger the electronic device to send/share the location information displayed in the second window.
- Step 502 In response to the seventh input, the electronic device displays route information corresponding to N place identifiers in the message input box, or sends and displays a target link in the target chat interface.
- the route information corresponding to each place identifier among the above-mentioned N place marks is used to indicate: the route from the location of the electronic device to the place corresponding to one of the N place identifiers; the above-mentioned target link is a navigation link of the location information of the place corresponding to the N place identifiers.
- the above navigation link can be understood as a quick entry to the location information of the places corresponding to the N place identifiers, that is, the user can directly click on the navigation link to make the electronic device display the location information of the places corresponding to the N place identifiers.
- the mobile phone displays the route information between the user's current location and xx Building in the message input box ("You are closest to xx Building by taking Bus No. 77, or going to No. 130 xx Road and getting off at xx Station on Metro Line 1"), so that the user can send the information in the message input box to the target conversation interface, or copy and paste it to send to other users.
- the mobile phone may send and display a target link in the target conversation interface, so that other users may more conveniently view the location information through the displayed link.
- the electronic device may send and display the target link in the private chat session interface corresponding to the user avatar.
- the user can make a seventh input to the second window so that the electronic device can share the route information corresponding to the N place identifiers or share the target link in the target conversation interface, so that other users can more conveniently view the location information corresponding to the N place identifiers, thereby improving the diversity and flexibility of users in viewing location information.
- the location information acquisition method provided in the embodiment of the present application can be executed by the subject It is a location information acquisition device, or an electronic device, or it can also be a functional module or entity in an electronic device.
- an electronic device executing a location information acquisition method is taken as an example to illustrate the location information acquisition device provided in the embodiment of the present application.
- Fig. 11 shows a possible structural diagram of a location information acquisition device involved in an embodiment of the present application.
- the location information acquisition device 70 may include: a receiving module 71 and a display module 72 .
- the receiving module 71 is used to receive a first input of a user for M messages in the target conversation interface, where M is a positive integer;
- a display module 72 configured to display a first window in response to the first input received by the receiving module 71, and display at least one place identifier in the first window, where the at least one place identifier is a place identifier included in the M messages;
- the receiving module 71 is further configured to receive a second input of N place identifiers from the user, where N is a positive integer;
- the display module 72 is further configured to display a second window in response to the second input received by the receiving module 71, and to display the location information of the places corresponding to the N place identifiers in the second window.
- An embodiment of the present application provides a location information acquisition device, and a user can make a first input for M messages, so that the location information acquisition device can determine at least one location identifier from the M messages and display these location identifiers to the user through a first window, so that the user can make a second input for N location identifiers among these location identifiers to trigger the location information acquisition device to display the location information of the locations corresponding to the N location identifiers, so that the user can more conveniently and intuitively obtain the location information of the locations contained in multiple messages in the conversation interface, thereby improving the flexibility and efficiency of the location information acquisition device in querying location information.
- the receiving module 71 is further configured to receive a third input from the user to the target conversation interface before receiving a first input from the user to the M messages in the target conversation interface.
- the display module 72 is further configured to display the first control in the target conversation interface in response to the third input received by the receiving module 71.
- the first input is an input by the user to move the first control to the M messages.
- the location information acquisition device also includes: a marking module and an acquisition module.
- the marking module is used to mark N place identifiers before displaying the second window
- the display module 72 is also used to display the target application identifier, which is used to indicate an application with a positioning function.
- the receiving module 71 is also used to receive a fourth input from the user, and the fourth input is an input for moving the N place identifiers to the position of the target application identifier.
- the acquisition module is used to obtain the location information of the places corresponding to the N place identifiers through the application indicated by the target application identifier in response to the fourth input received by the receiving module 71.
- the electronic device includes a first display area and a second display area, the first display area includes a target conversation interface, and the second display area includes a target application identifier, and the target application identifier is used to indicate an application with a positioning function.
- the location information acquisition device provided in the embodiment of the present application also includes: a marking module and an acquisition module.
- the marking module is used to mark N place identifiers before the display module 72 displays the second window.
- the receiving module 71 is also used to receive a fifth input from the user, and the fifth input is an input for moving the N place identifiers to the position of the target application identifier in the second display area.
- the acquisition module is used to obtain the location information of the places corresponding to the N place identifiers through the application indicated by the target application identifier in response to the fifth input received by the receiving module 71.
- the above-mentioned display module 72 is specifically used to display N place identifiers on the target map in the second window according to the location information of the places corresponding to the N place identifiers; and receive the user's sixth input for K place identifiers among the N place identifiers, K being a positive integer less than or equal to N; and in response to the sixth input, display the direction information of the places corresponding to the K place identifiers in the second window, or display the navigation information of the places corresponding to the K place identifiers in the target application interface, where the target application interface is the interface of an application with a positioning function.
- the location information acquisition device in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip.
- the electronic device can be a terminal or other devices other than a terminal.
- the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR)/virtual reality (VR) device, a robot,
- the wearable device, ultra-mobile personal computer (UMPC), netbook or personal digital assistant (PDA), etc. can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM or self-service machine, etc., and the embodiments of the present application are not specifically limited.
- the location information acquisition device in the embodiment of the present application may be a device having an operating system.
- the operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
- the location information acquisition device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and will not be described again here to avoid repetition.
- an embodiment of the present application also provides an electronic device 90, including a processor 91 and a memory 92, and the memory 92 stores a program or instruction that can be executed on the processor 91.
- the program or instruction is executed by the processor 91, the various steps of the above-mentioned location information acquisition method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
- the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
- FIG. 13 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
- the electronic device 100 includes but is not limited to components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
- components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
- the electronic device 100 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 110 through a power management system, so that the power management system can manage charging, discharging, and power consumption.
- a power source such as a battery
- the electronic device structure shown in FIG13 does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange components differently, which will not be described in detail here.
- the user input unit 107 is used to receive a first input of a user for M messages in the target conversation interface, where M is a positive integer.
- the display unit 106 is used to display a first window in response to the first input.
- the user input unit 107 is further configured to receive a second input of N place identifiers from the at least one place identifier, where N is a positive integer.
- the display unit 106 is further configured to display a second window in response to the second input, and display the location information of the places corresponding to the N place identifiers in the second window.
- An embodiment of the present application provides an electronic device, in which a user can make a first input for M messages, so that the electronic device can determine at least one location identifier from the M messages and display these location identifiers to the user through a first window, so that the user can make a second input for N location identifiers among these location identifiers to trigger the electronic device to display location information of locations corresponding to the N location identifiers, so that the user can more conveniently and intuitively obtain the location information of locations contained in multiple messages in a conversation interface, thereby improving the flexibility and efficiency of the electronic device in querying location information.
- the user input unit 107 is further configured to receive a third input from the user on the target conversation interface before receiving a first input from the user on the M messages in the target conversation interface.
- the display unit 106 is further configured to display the first control in the target conversation interface in response to the third input.
- the first input is an input from the user to move the first control onto the M messages.
- the processor 110 is further configured to mark N location identifiers and display a target application identifier before displaying the second window, where the target application identifier is used to indicate an application with a positioning function.
- the user input unit 107 is further configured to receive a fourth input from the user, where the fourth input is an input for moving the N location identifiers to the location of the target application identifier.
- the processor 110 is further configured to obtain location information of locations corresponding to the N location identifiers through the application indicated by the target application identifier in response to the fourth input.
- the electronic device includes a first display area and a second display area, the first display area includes a target conversation interface, and the second display area includes a target application identifier, the target application identifier is used to indicate an application with a positioning function.
- the processor 110 is also used to mark N location identifiers before displaying the second window.
- the user input unit 107 is also used to receive a fifth input from the user, the fifth input is an input for moving the N location identifiers to the position of the target application identifier in the second display area.
- the processor 110 is also used to respond to the fifth input by the application indicated by the target application identifier, Get the location information of the places corresponding to N place identifiers.
- the display unit 106 is specifically configured to display the N place identifiers on the target map in the second window according to the location information of the places corresponding to the N place identifiers.
- the user input unit 107 is specifically configured to receive a sixth input from the user for K place identifiers among the N place identifiers, where K is a positive integer less than or equal to N.
- the display unit 106 is specifically configured to display the orientation information of the places corresponding to the K place identifiers in the second window in response to the sixth input, or to display the navigation information of the places corresponding to the K place identifiers in the target application interface, where the target application interface is an interface of an application with a positioning function.
- the electronic device provided in the embodiment of the present application can implement each process implemented in the above method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described here.
- the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
- the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc.
- the user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072.
- the touch panel 1071 is also called a touch screen.
- the touch panel 1071 may include two parts: a touch detection device and a touch controller.
- Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
- the memory 109 can be used to store software programs and various data.
- the memory 109 can mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area can store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.).
- the memory 109 can include a volatile memory or a non-volatile memory, or the memory 109 can include both volatile and non-volatile memories.
- the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), or a programmable read-only memory (PROM).
- Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM).
- RAM Random Access Memory
- SRAM static random access memory
- DRAM dynamic random access memory
- synchronous dynamic random access memory Synchronous DRAM, SDRAM
- Double data rate synchronous dynamic random access memory Double Data Rate SDRAM, DDRSDRAM
- Enhanced SDRAM, ESDRAM enhanced synchronous dynamic random access memory
- Synch link DRAM, SLDRAM synchronous connection dynamic random access memory
- Direct Rambus RAM Direct Rambus RAM
- the processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.
- An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored.
- a program or instruction is stored.
- the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
- the processor is the processor in the electronic device described in the above embodiment.
- the readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
- An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
- the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
- the present invention provides a computer program product which is stored in a storage medium.
- the program product is executed by at least one processor to implement the various processes of the above method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
- the technical solution of the present application can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
- a storage medium such as ROM/RAM, a disk, or an optical disk
- a terminal which can be a mobile phone, a computer, a server, or a network device, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Remote Sensing (AREA)
- User Interface Of Digital Computer (AREA)
- Digital Computer Display Output (AREA)
- Telephonic Communication Services (AREA)
Abstract
本申请公开了一种位置信息获取方法及其装置,属于地点查询技术领域,该方法包括:接收用户对目标会话界面中M条消息的第一输入,M为正整数;响应于第一输入,显示第一窗口,并在第一窗口中显示至少一个地点标识,至少一个地点标识为M条消息中包含的地点标识;接收用户对至少一个地点标识中的N个地点标识的第二输入,N为正整数;响应于第二输入,显示第二窗口,并在第二窗口中显示N个地点标识对应的地点的位置信息。
Description
交叉引用
本发明要求在2022年10月28日提交中国专利局、申请号为202211335836.8、发明名称为“位置信息获取方法及其装置”的中国专利申请的优先权,该申请的全部内容通过引用结合在本发明中。
本申请属于地点查询技术领域,具体涉及一种位置信息获取方法及其装置。
在使用通讯类应用程序的过程中,若该应用程序的聊天界面中出现了用户需要知道地点的名称,则用户可以在该聊天界面中选择该地点的名称,并在电子设备中的导航类应用程序中输入地点的名称以查询该地点的位置信息,从而电子设备向用户展示该位置信息(例如该地点所在的地址信息、该地点与用户当前位置之间的距离等)。
然而,上述方法中,若聊天界面中包括多个地点的名称,则用户需要依次在导航类应用程序中输入地点的名称,才能实现该多个地点的位置信息的查询,因此用户的操作繁琐且耗时较长,如此,导致电子设备查询位置信息的效率较低且灵活性较差。
发明内容
本申请实施例的目的是提供一种位置信息获取方法、装置、电子设备及存储介质,能够解决使用通讯类应用程序时,电子设备查询位置信息的效率较低且灵活性较差的问题。
第一方面,本申请实施例提供了一种位置信息获取方法,该位置信息获
取方法包括:接收用户对目标会话界面中M条消息的第一输入,M为正整数;响应于第一输入,显示第一窗口,并在第一窗口中显示至少一个地点标识,至少一个地点标识为M条消息中包含的地点标识;接收用户对至少一个地点标识中的N个地点标识的第二输入,N为正整数;响应于第二输入,显示第二窗口,并在第二窗口中显示N个地点标识对应的地点的位置信息。
第二方面,本申请实施例提供了一种位置信息获取装置,该位置信息获取装置包括:接收模块和显示模块。接收模块,用于接收用户对目标会话界面中M条消息的第一输入,M为正整数。显示模块,用于响应于接收模块接收的第一输入,显示第一窗口,并在第一窗口中显示至少一个地点标识,至少一个地点标识为M条消息中包含的地点标识。接收模块,还用于接收用户对至少一个地点标识中的N个地点标识的第二输入,N为正整数。显示模块,还用于响应于接收模块接收的第二输入,显示第二窗口,并在第二窗口中显示N个地点标识对应的地点的位置信息。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法。
在本申请实施例中,电子设备在接收到用户对目标会话界面中的M条消息的第一输入之后,可以显示聊天记录中的至少一个地点标识,然后电子设
备可以接收用户对至少一个地点标识中的N个地点标识的第二输入,以在目标会话界面中显示该N个地点标识对应的地点的位置信息。本申请实施例中,用户可以对M条消息进行第一输入,以使得电子设备可以从M条消息中确定至少一个地点标识,并通过第一窗口向用户展示这些地点标识,从而用户可以对这些地点标识中的N个地点标识进行第二输入,以触发电子设备显示N个地点标识对应的地点的位置信息,从而使得用户可以更为便捷且直观地在会话界面中,获得多个消息中包含的地点的位置信息,如此,提升了电子设备查询位置信息的灵活性和效率。
图1是本申请实施例提供的一种位置信息获取方法的流程图之一;
图2是本申请实施例提供的一种手机的目标会话界面的实例示意图;
图3是本申请实施例提供的一种位置信息获取方法的流程图之二;
图4是本申请实施例提供的一种通过控件从消息中定位地点标识的实例示意图;
图5是本申请实施例提供的一种用户从消息中选择地点标识的实例示意图;
图6是本申请实施例提供的一种通过第一窗口显示至少一个地点标识的界面示意图;
图7是本申请实施例提供的一种通过第二窗口显示地点标识的对应的地点的实例示意图;
图8是本申请实施例提供的一种手机显示目标应用标识的界面示意图;
图9是本申请实施例提供的一种手机通过会话界面发送路线信息的实例示意图;
图10是本申请实施例提供的一种手机通过会话界面发送目标链接的实例示意图;
图11是本申请实施例提供的一种位置信息获取装置的结构示意图;
图12是本申请实施例提供的一种电子设备的硬件结构示意图之一;
图13是本申请实施例提供的一种电子设备的硬件结构示意图之二。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的位置信息获取方法进行详细地说明。
在用户使用通讯应用程序进行聊天的过程中,若聊天记录中出现了用户需要知道详细位置信息的某个地点的名称,则用户可以通过在具有导航功能的应用程序(例如地图应用程序)中输入该某个地点的名称,使得电子设备查询并显示该某个地点的位置信息。但是,若在聊天记录中出现了多个地点的名称,则用户需要多次执行上述操作,以得到该多个地点中的每个地点的位置信息,因此用户的操作繁琐且消耗时间,从而导致电子设备查询位置信息的效率较低且灵活性较差。
本申请实施例提供的位置信息获取方法,电子设备在接收到用户对目标会话界面中的M条消息的第一输入之后,可以显示聊天记录中的至少一个地点标识,然后电子设备可以接收用户对至少一个地点标识中的N个地点标识
的第二输入,以在目标会话界面中显示该N个地点标识对应的地点的位置信息。本申请实施例中,用户可以对M条消息进行第一输入,以使得电子设备可以从M条消息中确定至少一个地点标识,并通过第一窗口向用户展示这些地点标识,从而用户可以对这些地点标识中的N个地点标识进行第二输入,以触发电子设备显示N个地点标识对应的地点的位置信息,从而使得用户可以更为便捷且直观地在会话界面中,获得多个消息中包含的地点的位置信息,如此,提升了电子设备查询位置信息的灵活性和效率。
本申请实施例提供一种位置信息获取方法,图1示出了本申请实施例提供的一种位置信息获取方法的流程图。如图1所示,本申请实施例提供的位置信息获取方法可以包括下述的步骤201至步骤204。
步骤201、电子设备接收用户对目标会话界面中M条消息的第一输入。
在本申请实施例中,M为正整数。上述M条消息中的每条消息为目标会话界面中包含地点标识的消息。用户可以打开电子设备中具有会话功能的应用程序,例如通讯应用程序等,并触发电子设备显示一个目标会话界面,该目标会话界面中包括至少一条消息,用户可以对该至少一条消息中的M条消息进行第一输入,以触发电子设备从M条消息中确定地点标识。
可选地,本申请实施例中,上述目标会话界面可以为私聊会话界面或群聊会话界面。
可选地,本申请实施例中,上述第一输入可以为用户对M条消息的选择输入(例如点击输入或长按输入),以触发电子设备从M条消息中确定地点标识。
示例性地,以电子设备为手机为例。如图2所示,手机显示目标会话界面(聊天群组A),该目标会话界面中包括五条消息(分别为用户A至用户E发送的消息),用户可以对五条消息中的M条消息(例如用户B发送的消息、用户C发送的消息和用户D发送的消息)的第一输入,以触发手机获取这些消息中的地点标识。
可选地,本申请实施例中,上述第一输入可以为用户将用于定位地点标
识的控件依次移动至M条消息上的输入,以触发电子设备从M条消息中确定地点标识。示例性地,结合图1,如图3所示,在上述步骤201之前,本申请实施例提供的位置信息获取方法还包括步骤301和步骤302。
步骤301、电子设备接收用户对目标会话界面的第三输入。
可选地,本申请实施例中,上述第三输入可以为用户对屏幕中显示的特定区域(例如侧边栏区域)的滑动输入,以触发电子设备显示用于定位地点标识的控件。或者,上述第三输入可以为在目标会话界面中的长按输入(例如对任意消息的长按输入)或滑动输入(例如两个手指同时滑动的输入)等,以触发电子设备显示用于定位地点标识的控件。具体的可以根据实际使用需求确定,本申请实施例不作限定。
步骤302、电子设备响应于第三输入,在目标会话界面中显示第一控件。
本申请实施例中,上述第一控件可以用于定位消息中的地点标识。
可以理解,在显示第一控件的情况下,上述第一输入为用户将第一控件移动至M条消息上的输入,即用户可以将第一控件依次移动至M条消息,以触发电子设备从M条消息中确定地点标识。
可选地,本申请实施例中,上述第一控件的形状可以为菱形、倒三角形、定位标识形状或其他任意几何体的形状。
示例性地,结合图2,如图4所示,用户可以对侧边栏区域进行滑动输入(例如左滑输入),以使得手机可以在用户滑动的区域显示第一控件(例如定位标识形状的控件10),从而用户可以将该第一控件依次移动至M条消息,以使得手机从M条消息中确定地点标识。
步骤202、电子设备响应于第一输入,显示第一窗口,并在第一窗口中显示至少一个地点标识。
本申请实施例中,上述至少一个地点标识为M条消息中包含的地点标识。
可选地,本申请实施例中,上述至少一个地点标识包括用户从M条消息中选择的地点标识。
可选地,本申请实施例中,针对M条消息中的每条消息,用户可以对一
条消息中的地点标识进行选择输入,以从M条消息中选择上述的至少一个地点标识。
可选地,本申请实施例中,用户可以先对上述的一条消息进行输入(例如双击输入),以使得电子设备可以以放大标记形式或灰度标记形式,在目标会话界面中标记该一条消息,然后用户再对该一条消息中的地点标识进行选择输入。
可选地,本申请实施例中,用户对一条消息中的地点标识的选择输入可以包括两个子输入,一个子输入为用户对一条消息中的地点标识的滑动输入,以触发电子设备显示第一控件,另一个子输入为用户将一条消息中的一个或多个地点标识移动至第一控件的输入,以触发电子设备将该一个或多个地点标识确定为从该一条消息中选择的地点标识。
示例性地,结合图2,如图5所示,用户可以对M条消息中的一条消息(例如用户B发送的消息“上次我在xx路130号和xx大厦找到的”)进行输入,以使得手机可以采用放大标记形式标记该一条消息,从而用户可以选择该一条消息中的地点标识a(“xx路130号”),以使得手机显示第一控件10,用户可以将地点标识a移动至第一控件10,以使得手机将该地点标识a确定为从该一条消息中选择的地点标识;然后,用户可以继续选择该一条消息中的地点标识b(“xx路130号”),以将该地点标识b移动至第一控件10,以使得手机将该地点标识b确定为从该一条消息中选择的地点标识。如此,用户从该一条消息中选择的地点标识包括地点标识a和地点标识b。
需要说明的是在,针对M条消息中的每条消息,均可以通过图5所述的过程选择地点标识,以从M条消息中选择至少一个地点标识。
可选地,本申请实施例中,上述至少一个地点标识包括电子设备从M条消息中识别的所有地点标识。
本申请实施例中,电子设备可以对每条消息进行语义分析,以将每条消息划分为多个字符串,并将该多个字符串与预设的关键字/关键词(例如包括“路”、“街”、“楼”、“大厦”等指示地点位置的词语)进行比对,以
确定每条消息中包含的地点标识。
可选地,本申请实施例中,上述至少一个地点标识包括用户从M条消息中的一部分消息中选择的地点标识,以及电子设备从M条消息中的另一部分消息中识别的所有地点标识。
可选地,本申请实施例中,电子设备可以在第一窗口中以分区域形式显示至少一个地点标识,每个区域对应一条消息,且每个区域用于显示一条消息中的地点标识。
示例性地,结合图2,如图6所示,用户在选择M条消息(即用户B发送的消息、用户C发送的消息和用户D发送的消息)之后,手机可以获取这些消息中的地点标识,并显示第一窗口11,以在该第一窗口11中通过分区域形式显示这些消息中的地点标识。
步骤203、电子设备接收用户对至少一个地点标识中的N个地点标识的第二输入。
本申请实施例中,N为正整数。
可选地,本申请实施例中,上述第二输入可以为用户对N个地点标识的选择输入或长按输入,以触发电子设备获取该N个地点标识对应的地点的位置信息。
步骤204、电子设备响应于第二输入,显示第二窗口,并在第二窗口中显示N个地点标识对应的地点的位置信息。
可选地,本申请实施例中,上述N个地点标识中的每个地点标识对应的地点的位置信息包括但不限于以下至少一项:每个地点标识对应的地点的地理位置信息、每个地点标识对应的地点与用户当前位置之间的距离、从用户当前位置到达每个地点标识对应的地点的导航路线信息。
可选地,本申请实施例中,电子设备可以以列表形式、地图形式或图表形式,在第二窗口中显示N个地点标识对应的地点的位置信息。
可选地,本申请实施例中,上述步骤204中的“在第二窗口中显示N个地点标识对应的地点的位置信息”具体可以通过下述的步骤204a至步骤204c
实现。
步骤204a、电子设备根据N个地点标识对应的地点的位置信息,在第二窗口中的目标地图上显示N个地点标识。
可选地,本申请实施例中,电子设备可以在第二窗口中标记N个地点标识的位置,并显示N个地点标识的名称或图标,以及标记用户当前位置。
步骤204b、电子设备接收用户对N个地点标识中的K个地点标识的第六输入。
本申请实施例中,K为小于或等于N的正整数。
可选地,本申请实施例中,上述第六输入可以为用户对K个地点标识的点击输入或滑动输入,以触发电子设备显示该K个地点标识对应地点的位置信息。
步骤204c、电子设备响应于第六输入,在第二窗口中显示K个地点标识对应地点的方位信息,或者在目标应用界面中显示K个地点标识对应的地点的导航信息。
本申请实施例中,上述目标应用界面为具有定位功能的应用程序的界面。
可选地,本申请实施例中,上述K个地点标识对应的地点的方位信息可以包括以下至少一项:K个地点标识的对应的地点之间的距离、K个地点标识的对应的地点之间的相对方向、K个地点标识的对应的地点所在的地理位置信息。
示例性地,结合图4,如图7所示,手机在第二窗口12中的目标地图上标记了用户当前位置和三个地点标识对应的地点(xx路130号、xx购物中心和xx大厦)的位置,并显示了用户当前位置与三个地点标识对应的地点之间的直线距离,例如用户当前位置与xx路130号的直线距离为6km,用户当前位置与xx购物中心的直线距离为7km,用户当前位置与xx大厦之间的直线距离为5km,从而用户通过第二窗口12显示的信息知道xx大厦与用户当前位置之间的距离最近,xx购物中心与当前位置之间的距离最远。
可选地,本申请实施例中,上述K个地点标识对应的地点的导航信息可
以包括以下至少一项:从用户当前位置到K个地点标识对应的地点之间的路线信息、从用户当前位置到K个地点标识对应的地点的时长信息。
本申请实施例中,电子设备在接收用户的第二输入之后,可以在第二窗口中的目标地图上显示N个地点标识,并显示K个地点标识的位置信息,使得用户可以较为直观地通过图像获取地点标识对应的地点之间的位置信息。
本申请实施例提供一种位置信息获取方法,电子设备在接收到用户对目标会话界面中的M条消息的第一输入之后,可以显示聊天记录中的至少一个地点标识,然后电子设备可以接收用户对至少一个地点标识中的N个地点标识的第二输入,以在目标会话界面中显示该N个地点标识对应的地点的位置信息。本申请实施例中,用户可以对M条消息进行第一输入,以使得电子设备可以从M条消息中确定至少一个地点标识,并通过第一窗口向用户展示这些地点标识,从而用户可以对这些地点标识中的N个地点标识进行第二输入,以触发电子设备显示N个地点标识对应的地点的位置信息,从而使得用户可以更为便捷且直观地在会话界面中,获得多个消息中包含的地点的位置信息,如此,提升了电子设备查询位置信息的灵活性和效率。
可选地,本申请实施例中,在上述步骤204中的“显示第二窗口”之前,本申请实施例提供的位置信息获取方法还包括步骤401至步骤403。
步骤401、电子设备响应于第二输入,标记N个地点标识,并显示目标应用标识。
本申请实施例中,上述目标应用标识用于指示具有定位功能的应用程序。
可选地,本申请实施例中,电子设备标记N个地点标识的方式为以下任一项:增加矩形框标记方式、选中复选框标记方式、高亮标记方式、消息加粗标记方式等。具体的可以根据实际使用需求确定,本申请实施例不作限制。
可选地,本申请实施例中,电子设备可以在目标会话界面中的空白区域或消息输入框对应的区域显示目标应用标识;或者,电子设备可以在目标会话界面中以悬浮窗口形式显示目标应用标识。
示例性地,结合图6,如图8所示,用户可以对第一窗口11中显示的地
点标识(即用户B发送的消息中的xx路130号和xx大厦、用户C发送的消息中的xx大厦、用户D发送的消息中的xx购物中心)中的N个地点标识(例如xx路130号、xx大厦和xx购物中心)进行第二输入,以使得手机可以在目标会话界面中消息输入框对应的区域显示目标应用标识(例如地图A、地图B和地图C)。
步骤402、电子设备接收用户的第四输入。
本申请实施例中,上述第四输入为将N个地点标识移动至目标应用标识的位置的输入,以触发电子设备通过目标应用标识对应的应用程序查询该N个地点标识对应的地点的位置信息。
步骤403、电子设备响应于第四输入,通过目标应用标识指示的应用程序,获取N个地点标识对应的地点的位置信息。
本申请实施例中,电子设备在接收到第四输入之后,可以后台运行目标应用标识指示的应用程序,并通过目标应用标识指示的应用程序搜索N个地点标识,以得到该N个地点标识对应的地点的位置信息。
本申请实施例中,用户在对N个地点标识进行第二输入之后,电子设备可以在目标会话界面中显示目标应用标识,从而用户可以直接将N个地点标识移动至目标应用标识,以使得电子设备可以快速地获取N个地点标识对应的地点的位置信息,从而提升了查询消息中的地点的位置信息的便捷性和效率。
可选地,本申请实施例中,电子设备包括第一显示区域和第二显示区域,第一显示区域中包括目标会话界面,第二显示区域中包括目标应用标识,该目标应用标识用于指示具有定位功能的应用程序。
需要说明的是,上述第一显示区域和第二显示区域可以为具有折叠屏的电子设备的两个显示区域,或者为电子设备的屏幕分屏后的两个显示区域。
可选地,本申请实施例中,在电子设备标记N个地点标识之后,用户可以对具有折叠屏的电子设备进行折叠输入,以将电子设备的屏幕折叠为两个显示区域,即第一显示区域和第二显示区域。或者,在电子设备标记N个地
点标识之后,用户可以对电子设备的屏幕进行分屏输入,以将电子设备的屏幕划分为两个显示区域,即第一显示区域和第二显示区域。
可选地,本申请实施例中,上述第二显示区域中包括桌面,该桌面中包括至少一个应用标识,该至少一个应用标识中包括目标应用标识。或者,上述第二显示区域中包括第三窗口,该第三窗口中包括目标应用标识。
示例性地,在上述步骤204中的“显示第二窗口”之前,本申请实施例提供的位置信息获取方法还包括步骤404至步骤406。
步骤404、电子设备响应于第二输入,标记N个地点标识。
需要说明的是,针对电子设备标记N个地点标识的说明,可以参见上述实施例中的描述,此处不再赘述。
步骤405、电子设备接收用户的第五输入。
本申请实施例中,上述第五输入为将N个地点标识移动至第二显示区域中的目标应用标识的位置的输入,以触发电子设备通过目标应用标识对应的应用程序查询该N个地点标识对应的地点的位置信息。
步骤406、电子设备响应于第五输入,通过目标应用标识指示的应用程序,获取N个地点标识对应的地点的位置信息。
本申请实施例中,用户在对N个地点标识进行第二输入之后,电子设备可以在第二显示区域中显示目标应用标识,从而用户可以直接将N个地点标识移动至目标应用标识,以使得电子设备可以快速地获取N个地点标识对应的地点的位置信息,从而提升了查询消息中的地点的位置信息的便捷性和效率。
可选地,本申请实施例中,在上述步骤204之后,本申请实施例提供的位置信息获取方法还包括步骤501和步骤502。
步骤501、电子设备接收用户对第二窗口的第七输入。
可选地,本申请实施例中,上述第七输入可以为用户对第二窗口的移动输入或滑动输入,以触发电子设备发送/分享第二窗口中显示的位置信息。
可选地,本申请实施例中,上述第七输入为用户将第二窗口移动至消息
输入框的输入,或者为将第二窗口移动至目标会话界面中的空白区域或用户头像的输入;以触发电子设备发送/分享第二窗口中显示的位置信息。
步骤502、电子设备响应于第七输入,在消息输入框中显示N个地点标识对应的路线信息,或者在目标聊天界面中发送并显示目标链接。
本申请实施例中,上述N个地点标记中的每个地点标识对应的路线信息用于指示:电子设备的位置到N个地点标识中的一个地点标识对应的地点的路线;上述目标链接为N个地点标识对应的地点的位置信息的导航链接。
需要说明的是,针对路线信息的说明,可以参见上述实施例中的描述,此处不再赘述。上述导航链接可以理解为N个地点标识对应的地点的位置信息的快速入口,即用户可以直接点击该导航链接,以使得电子设备显示N个地点标识对应的地点的位置信息。
示例性地,结合图7,如图9所示,当用户将第二窗口12移动至消息输入框之后,手机在消息输入框中显示用户当前位置与xx大厦之间的路线信息(“从你的位置离xx大厦最近,可以乘坐77路公交车,也可以去xx路130号,坐地铁一号线号xx站下车”),从而用户可以将消息输入框中的信息发送到目标会话界面中,或复制粘贴发送给其他用户。
又示例性地,结合图7,如图10所示,当用户将第二窗口12移动至目标会话界面的空白区域之后,手机可以在目标会话界面中发送并显示目标链接,使得其他用户可以较为便捷的通过显示的链接查看位置信息。
可选地,本申请实施例中,在目标会话界面为群聊界面的情况下,若上述第七输入为用户将第二窗口移动至目标会话界面中的一个用户头像上,则电子设备可以在该一个用户头像对应的私聊会话界面中发送并显示目标链接。
本申请实施例中,用户可以通过对第二窗口进行第七输入,以使得电子设备可以在目标会话界面中分享N个地点标识对应的路线信息或分享目标链接,从而使得其他用户可以更为便捷地查看N个地点标识对应的位置信息,从而提升了用户查看位置信息的多样性和灵活性。
需要说明的是,本申请实施例提供的位置信息获取方法,执行主体可以
为位置信息获取装置,或者电子设备,或者还可以为电子设备中的功能模块或实体。本申请实施例中以电子设备执行位置信息获取方法为例,说明本申请实施例提供的位置信息获取装置。
图11示出了本申请实施例中涉及的位置信息获取装置的一种可能的结构示意图。如图11所示,该位置信息获取装置70可以包括:接收模块71和显示模块72。
其中,接收模块71,用于接收用户对目标会话界面中M条消息的第一输入,M为正整数;
显示模块72,用于响应于接收模块71接收的第一输入,显示第一窗口,并在第一窗口中显示至少一个地点标识,至少一个地点标识为M条消息中包含的地点标识;
接收模块71,还用于接收用户对至少一个地点标识中的N个地点标识的第二输入,N为正整数;
显示模块72,还用于响应于接收模块71接收的第二输入,显示第二窗口,并在第二窗口中显示N个地点标识对应的地点的位置信息。
本申请实施例提供一种位置信息获取装置,用户可以对M条消息进行第一输入,以使得位置信息获取装置可以从M条消息中确定至少一个地点标识,并通过第一窗口向用户展示这些地点标识,从而用户可以对这些地点标识中的N个地点标识进行第二输入,以触发位置信息获取装置显示N个地点标识对应的地点的位置信息,从而使得用户可以更为便捷且直观地在会话界面中,获得多个消息中包含的地点的位置信息,如此,提升了位置信息获取装置查询位置信息的灵活性和效率。
在一种可能的实现方式中,上述接收模块71,还用于在接收用户对目标会话界面中M条消息的第一输入之前,接收用户对目标会话界面的第三输入。上述显示模块72,还用于响应于接收模块71接收的第三输入,在目标会话界面中显示第一控件。其中,第一输入为用户将第一控件移动至M条消息上的输入。
在一种可能的实现方式中,本申请实施例提供的位置信息获取装置还包括:标记模块和获取模块。上述标记模块,用于在显示第二窗口之前,标记N个地点标识,上述显示模块72,还用于显示目标应用标识,目标应用标识用于指示具有定位功能的应用程序。上述接收模块71,还用于接收用户的第四输入,第四输入为将N个地点标识移动至目标应用标识的位置的输入。上述获取模块,用于响应于接收模块71接收的第四输入,通过目标应用标识指示的应用程序,获取N个地点标识对应的地点的位置信息。
在一种可能的实现方式中,上述电子设备包括第一显示区域和第二显示区域,第一显示区域中包括目标会话界面,第二显示区域中包括目标应用标识,目标应用标识用于指示具有定位功能的应用程序。本申请实施例提供的位置信息获取装置还包括:标记模块和获取模块。上述标记模块,用于在显示模块72显示第二窗口之前,标记N个地点标识。上述接收模块71,还用于接收用户的第五输入,第五输入为将N个地点标识移动至第二显示区域中的目标应用标识的位置的输入。上述获取模块,用于响应于接收模块71接收的第五输入,通过目标应用标识指示的应用程序,获取N个地点标识对应的地点的位置信息。
在一种可能的实现方式中,上述显示模块72,具体用于根据N个地点标识对应的地点的位置信息,在第二窗口中的目标地图上显示N个地点标识;并接收用户对N个地点标识中的K个地点标识的第六输入,K为小于或等于N的正整数;以及响应于第六输入,在第二窗口中显示K个地点标识对应地点的方位信息,或者在目标应用界面中显示K个地点标识对应的地点的导航信息,目标应用界面为具有定位功能的应用程序的界面。
本申请实施例中的位置信息获取装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、
可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的位置信息获取装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的位置信息获取装置能够实现上述方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选地,如图12所示,本申请实施例还提供一种电子设备90,包括处理器91和存储器92,存储器92上存储有可在所述处理器91上运行的程序或指令,该程序或指令被处理器91执行时实现上述位置信息获取方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图13为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图13中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,用户输入单元107,用于接收用户对目标会话界面中M条消息的第一输入,M为正整数。显示单元106,用于响应于第一输入,显示第一窗
口,并在第一窗口中显示至少一个地点标识,至少一个地点标识为M条消息中包含的地点标识。用户输入单元107,还用于接收用户对至少一个地点标识中的N个地点标识的第二输入,N为正整数。显示单元106,还用于响应于第二输入,显示第二窗口,并在第二窗口中显示N个地点标识对应的地点的位置信息。
本申请实施例提供一种电子设备,用户可以对M条消息进行第一输入,以使得电子设备可以从M条消息中确定至少一个地点标识,并通过第一窗口向用户展示这些地点标识,从而用户可以对这些地点标识中的N个地点标识进行第二输入,以触发电子设备显示N个地点标识对应的地点的位置信息,从而使得用户可以更为便捷且直观地在会话界面中,获得多个消息中包含的地点的位置信息,如此,提升了电子设备查询位置信息的灵活性和效率。
可选地,用户输入单元107,还用于在接收用户对目标会话界面中M条消息的第一输入之前,接收用户对目标会话界面的第三输入。显示单元106,还用于响应于第三输入,在目标会话界面中显示第一控件。其中,第一输入为用户将第一控件移动至M条消息上的输入。
可选地,处理器110,还用于在显示第二窗口之前,标记N个地点标识,并显示目标应用标识,目标应用标识用于指示具有定位功能的应用程序。用户输入单元107,还用于接收用户的第四输入,第四输入为将N个地点标识移动至目标应用标识的位置的输入。处理器110,还用于响应于第四输入,通过目标应用标识指示的应用程序,获取N个地点标识对应的地点的位置信息。
可选地,电子设备包括第一显示区域和第二显示区域,第一显示区域中包括目标会话界面,第二显示区域中包括目标应用标识,目标应用标识用于指示具有定位功能的应用程序。处理器110,还用于在显示第二窗口之前,标记N个地点标识。用户输入单元107,还用于接收用户的第五输入,第五输入为将N个地点标识移动至第二显示区域中的目标应用标识的位置的输入。处理器110,还用于响应于第五输入,通过目标应用标识指示的应用程序,
获取N个地点标识对应的地点的位置信息。
可选地,显示单元106,具体用于根据N个地点标识对应的地点的位置信息,在第二窗口中的目标地图上显示N个地点标识。用户输入单元107,具体用于接收用户对N个地点标识中的K个地点标识的第六输入,K为小于或等于N的正整数。显示单元106,具体用于响应于第六输入,在第二窗口中显示K个地点标识对应地点的方位信息,或者在目标应用界面中显示K个地点标识对应的地点的导航信息,目标应用界面为具有定位功能的应用程序的界面。
本申请实施例提供的电子设备能够实现上述方法实施例实现的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072中的至少一种。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器109可以包括易失性存储器或非易失性存储器,或者,存储器109可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读
存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器109包括但不限于这些和任意其它适合类型的存储器。
处理器110可包括一个或多个处理单元;可选地,处理器110集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质
中,该程序产品被至少一个处理器执行以实现如上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。
Claims (14)
- 一种位置信息获取方法,所述方法包括:接收用户对目标会话界面中M条消息的第一输入,M为正整数;响应于所述第一输入,显示第一窗口,并在所述第一窗口中显示至少一个地点标识,所述至少一个地点标识为所述M条消息中包含的地点标识;接收用户对所述至少一个地点标识中的N个地点标识的第二输入,N为正整数;响应于所述第二输入,显示第二窗口,并在所述第二窗口中显示所述N个地点标识对应的地点的位置信息。
- 根据权利要求1所述的方法,其中,所述接收用户对目标会话界面中M条消息的第一输入之前,所述方法还包括:接收用户对所述目标会话界面的第三输入;响应于所述第三输入,在所述目标会话界面中显示第一控件;其中,所述第一输入为用户将所述第一控件移动至所述M条消息上的输入。
- 根据权利要求1所述的方法,其中,所述显示第二窗口之前,所述方法还包括:标记所述N个地点标识,并显示目标应用标识,所述目标应用标识用于指示具有定位功能的应用程序;接收用户的第四输入,所述第四输入为将所述N个地点标识移动至所述目标应用标识的位置的输入;响应于所述第四输入,通过所述目标应用标识指示的应用程序,获取所述N个地点标识对应的地点的位置信息。
- 根据权利要求1所述的方法,其中,所述电子设备包括第一显示区域和第二显示区域,所述第一显示区域中包括所述目标会话界面,所述第二显示区域中包括目标应用标识,所述目标应用标识用于指示具有定位功能的应 用程序;所述显示第二窗口之前,所述方法还包括:标记所述N个地点标识;接收用户的第五输入,所述第五输入为将所述N个地点标识移动至所述第二显示区域中的所述目标应用标识的位置的输入;响应于所述第五输入,通过所述目标应用标识指示的应用程序,获取所述N个地点标识对应的地点的位置信息。
- 根据权利要求1、3或4所述的方法,其中,所述在所述第二窗口中显示所述N个地点标识对应的地点的位置信息,包括:根据所述N个地点标识对应的地点的位置信息,在所述第二窗口中的目标地图上显示所述N个地点标识;接收用户对所述N个地点标识中的K个地点标识的第六输入,K为小于或等于N的正整数;响应于所述第六输入,在所述第二窗口中显示所述K个地点标识对应地点的方位信息,或者在目标应用界面中显示所述K个地点标识对应的地点的导航信息,所述目标应用界面为具有定位功能的应用程序的界面。
- 一种位置信息获取装置,所述位置信息获取装置包括:接收模块和显示模块;所述接收模块,用于接收用户对目标会话界面中M条消息的第一输入,M为正整数;所述显示模块,用于响应于所述接收模块接收的所述第一输入,显示第一窗口,并在所述第一窗口中显示至少一个地点标识,所述至少一个地点标识为所述M条消息中包含的地点标识;所述接收模块,还用于接收用户对所述至少一个地点标识中的N个地点标识的第二输入,N为正整数;所述显示模块,还用于响应于所述接收模块接收的所述第二输入,显示第二窗口,并在所述第二窗口中显示所述N个地点标识对应的地点的位置信 息。
- 根据权利要求6所述的装置,其中,所述接收模块,还用于在接收用户对目标会话界面中M条消息的第一输入之前,接收用户对所述目标会话界面的第三输入;所述显示模块,还用于响应于所述接收模块接收的所述第三输入,在所述目标会话界面中显示第一控件;其中,所述第一输入为用户将所述第一控件移动至所述M条消息上的输入。
- 根据权利要求6所述的装置,其中,所述装置还包括:标记模块和获取模块;所述标记模块,用于在显示第二窗口之前,标记所述N个地点标识;所述显示模块,还用于显示目标应用标识,所述目标应用标识用于指示具有定位功能的应用程序;所述接收模块,还用于接收用户的第四输入,所述第四输入为将所述N个地点标识移动至所述目标应用标识的位置的输入;所述获取模块,用于响应于所述接收模块接收的所述第四输入,通过所述目标应用标识指示的应用程序,获取所述N个地点标识对应的地点的位置信息。
- 根据权利要求6所述的装置,其中,所述电子设备包括第一显示区域和第二显示区域,所述第一显示区域中包括所述目标会话界面,所述第二显示区域中包括目标应用标识,所述目标应用标识用于指示具有定位功能的应用程序;所述装置还包括:标记模块和获取模块;所述标记模块,用于在所述显示模块显示第二窗口之前,标记所述N个地点标识;所述接收模块,还用于接收用户的第五输入,所述第五输入为将所述N个地点标识移动至所述第二显示区域中的所述目标应用标识的位置的输入;所述获取模块,用于响应于所述接收模块接收的所述第五输入,通过所 述目标应用标识指示的应用程序,获取所述N个地点标识对应的地点的位置信息。
- 根据权利要求6、8或9所述的装置,其中,所述显示模块,具体用于根据所述N个地点标识对应的地点的位置信息,在所述第二窗口中的目标地图上显示所述N个地点标识;并接收用户对所述N个地点标识中的K个地点标识的第六输入,K为小于或等于N的正整数;以及响应于所述第六输入,在所述第二窗口中显示所述K个地点标识对应地点的方位信息,或者在目标应用界面中显示所述K个地点标识对应的地点的导航信息,所述目标应用界面为具有定位功能的应用程序的界面。
- 一种电子设备,所述电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至5任一项所述的方法的步骤。
- 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至5任一项所述的方法的步骤。
- 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5任一项所述的方法的步骤。
- 一种计算机程序产品,所述程序产品被存储在存储介质中,所述程序产品被至少一个处理器执行以实现如权利要求1至5任一项所述的方法的步骤。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211335836.8 | 2022-10-28 | ||
| CN202211335836.8A CN116108119B (zh) | 2022-10-28 | 位置信息获取方法及其装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024088209A1 true WO2024088209A1 (zh) | 2024-05-02 |
Family
ID=86266298
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/125902 Ceased WO2024088209A1 (zh) | 2022-10-28 | 2023-10-23 | 位置信息获取方法及其装置 |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2024088209A1 (zh) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106302096A (zh) * | 2015-06-04 | 2017-01-04 | 腾讯科技(深圳)有限公司 | 会话页面中实现地理位置展示的方法和系统 |
| CN108195392A (zh) * | 2018-03-14 | 2018-06-22 | 维沃移动通信有限公司 | 一种多人线路规划方法及终端 |
| CN112825073A (zh) * | 2019-11-21 | 2021-05-21 | 腾讯科技(深圳)有限公司 | 位置消息处理方法、装置、设备及存储介质 |
| CN113778314A (zh) * | 2021-08-24 | 2021-12-10 | 维沃移动通信(杭州)有限公司 | 操作执行方法和装置 |
| CN116108119A (zh) * | 2022-10-28 | 2023-05-12 | 维沃移动通信有限公司 | 位置信息获取方法及其装置 |
-
2023
- 2023-10-23 WO PCT/CN2023/125902 patent/WO2024088209A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106302096A (zh) * | 2015-06-04 | 2017-01-04 | 腾讯科技(深圳)有限公司 | 会话页面中实现地理位置展示的方法和系统 |
| CN108195392A (zh) * | 2018-03-14 | 2018-06-22 | 维沃移动通信有限公司 | 一种多人线路规划方法及终端 |
| CN112825073A (zh) * | 2019-11-21 | 2021-05-21 | 腾讯科技(深圳)有限公司 | 位置消息处理方法、装置、设备及存储介质 |
| CN113778314A (zh) * | 2021-08-24 | 2021-12-10 | 维沃移动通信(杭州)有限公司 | 操作执行方法和装置 |
| CN116108119A (zh) * | 2022-10-28 | 2023-05-12 | 维沃移动通信有限公司 | 位置信息获取方法及其装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN116108119A (zh) | 2023-05-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2024518775A (ja) | メッセージ処理方法、第1メッセージ処理装置、第2メッセージ処理装置及び電子機器 | |
| CN112486444A (zh) | 投屏方法、装置、设备和可读存储介质 | |
| JP2016517112A (ja) | アイテム選択の曖昧性を解消するためのシステムおよび方法 | |
| WO2022089594A1 (zh) | 信息显示方法、装置和电子设备 | |
| JP2021120867A (ja) | 融合関係ネットワークの構築方法、融合関係ネットワークの構築装置、電子デバイス、記憶媒体及びプログラム | |
| CN114374761B (zh) | 信息交互方法、装置、电子设备及介质 | |
| CN112764603B (zh) | 消息显示方法、装置和电子设备 | |
| WO2024051522A1 (zh) | 消息发送方法、装置、电子设备及存储介质 | |
| WO2024012508A1 (zh) | 功能界面的显示方法和装置 | |
| CN114491218B (zh) | 信息更新方法、信息更新装置、电子设备及介质 | |
| CN116450008A (zh) | 图标显示控制方法、装置、电子设备及介质 | |
| WO2025223325A1 (zh) | 视频录制方法、装置、电子设备及存储介质 | |
| WO2024088209A1 (zh) | 位置信息获取方法及其装置 | |
| WO2025036319A1 (zh) | 应用程序搜索方法、装置、设备和存储介质 | |
| CN103488745A (zh) | 获取信息的方法及终端 | |
| WO2024160133A1 (zh) | 图像生成方法、装置、电子设备和存储介质 | |
| CN116108119B (zh) | 位置信息获取方法及其装置 | |
| WO2023134599A1 (zh) | 语音信息发送方法、装置及电子设备 | |
| CN112539752B (zh) | 室内定位方法、室内定位装置 | |
| CN115422307A (zh) | 搜索结果的显示方法、装置、设备及介质 | |
| CN114491309A (zh) | 图片处理方法和装置 | |
| CN114998102A (zh) | 图像处理方法、装置及电子设备 | |
| CN101672654A (zh) | 地图式即时指引搜寻方法及系统 | |
| CN115242739B (zh) | 信息处理方法、装置和电子设备 | |
| CN113190767B (zh) | 一种信息应答方法和装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23881787 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 23881787 Country of ref document: EP Kind code of ref document: A1 |