CN116108119A - Position information acquisition method and device - Google Patents

Position information acquisition method and device Download PDF

Info

Publication number
CN116108119A
CN116108119A CN202211335836.8A CN202211335836A CN116108119A CN 116108119 A CN116108119 A CN 116108119A CN 202211335836 A CN202211335836 A CN 202211335836A CN 116108119 A CN116108119 A CN 116108119A
Authority
CN
China
Prior art keywords
input
location
user
identifiers
place
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.)
Pending
Application number
CN202211335836.8A
Other languages
Chinese (zh)
Inventor
祁学文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202211335836.8A priority Critical patent/CN116108119A/en
Publication of CN116108119A publication Critical patent/CN116108119A/en
Priority to PCT/CN2023/125902 priority patent/WO2024088209A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results

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

The application discloses a method and a device for acquiring position information, which belong to the technical field of site inquiry, and the method comprises the following steps: receiving first input of M messages in a target session interface by a user, wherein M is a positive integer; in response to the first input, displaying a first window and displaying at least one location identifier in the first window, the at least one location identifier being a location identifier contained in the M messages; receiving second inputs of N place identifiers in at least one place identifier by a user, wherein N is a positive integer; in response to the second input, a second window is displayed, and position information of the N places corresponding to the place identifications is displayed in the second window.

Description

Position information acquisition method and device
Technical Field
The application belongs to the technical field of site query, and particularly relates to a method and a device for acquiring position information.
Background
In the process of using the communication application program, if the name of the place needed to be known by the user appears in the chat interface of the application program, the user can select the name of the place in the chat interface and input the name of the place in the navigation application program in the electronic equipment to inquire the position information of the place, so that the electronic equipment displays the position information (such as address information of the place, distance between the place and the current position of the user and the like) to the user.
However, in the above method, if the chat interface includes names of a plurality of places, the user needs to input the names of the places in the navigation application program in turn to realize the query of the location information of the plurality of places, so that the operation of the user is tedious and takes a long time, which results in lower efficiency and poorer flexibility of querying the location information of the electronic device.
Disclosure of Invention
The embodiment of the application aims to provide a method, a device, electronic equipment and a storage medium for acquiring position information, which can solve the problems of low efficiency and poor flexibility of the electronic equipment in inquiring the position information when a communication application program is used.
In a first aspect, an embodiment of the present application provides a location information obtaining method, where the location information obtaining method includes: receiving first input of M messages in a target session interface by a user, wherein M is a positive integer; in response to the first input, displaying a first window and displaying at least one location identifier in the first window, the at least one location identifier being a location identifier contained in the M messages; receiving second inputs of N place identifiers in at least one place identifier by a user, wherein N is a positive integer; in response to the second input, a second window is displayed, and position information of the N places corresponding to the place identifications is displayed in the second window.
In a second aspect, an embodiment of the present application provides a location information acquiring apparatus, including: a receiving module and a display module. The receiving module is used for receiving a first input of M messages in the target session interface by a user, wherein M is a positive integer. And the display module is used for responding to the first input received by the receiving module, displaying a first window and displaying at least one place identifier in the first window, wherein the at least one place identifier is the place identifier contained in the M messages. The receiving module is further used for receiving second input of N place identifiers in the at least one place identifier by a user, wherein N is a positive integer. And the display module is also used for responding to the second input received by the receiving module, displaying a second window and displaying the position information of the places corresponding to the N place identifiers in the second window.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, after receiving the first input of the user to the M messages in the target session interface, the electronic device may display at least one location identifier in the chat record, and then the electronic device may receive the second input of the user to the N location identifiers in the at least one location identifier, so as to display the location information of the location corresponding to the N location identifiers in the target session interface. In the embodiment of the invention, the user can perform the first input on the M messages, so that the electronic device can determine at least one place identifier from the M messages and display the place identifiers to the user through the first window, and therefore, the user can perform the second input on N place identifiers in the place identifiers to trigger the electronic device to display the position information of places corresponding to the N place identifiers, and therefore, the user can more conveniently and intuitively obtain the position information of places contained in the messages in the session interface, and the flexibility and the efficiency of the electronic device for inquiring the position information are improved.
Drawings
Fig. 1 is one of flowcharts of a location information acquiring method provided in an embodiment of the present application;
fig. 2 is an example schematic diagram of a target session interface of a mobile phone according to an embodiment of the present application;
FIG. 3 is a second flowchart of a method for obtaining location information according to an embodiment of the present disclosure;
FIG. 4 is a schematic illustration of an example of locating location identifiers from messages via controls provided by embodiments of the present application;
FIG. 5 is a schematic diagram of an example of a user selecting a location identifier from a message according to an embodiment of the present application;
FIG. 6 is a schematic diagram of an interface for displaying at least one location identifier through a first window according to an embodiment of the present application;
FIG. 7 is an example schematic diagram of a corresponding location identified by a second window display location provided by an embodiment of the present application;
fig. 8 is an interface schematic diagram of a mobile phone displaying a target application identifier according to an embodiment of the present application;
fig. 9 is an example schematic diagram of a mobile phone sending route information through a session interface according to an embodiment of the present application;
fig. 10 is an example schematic diagram of a mobile phone sending a target link through a session interface according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a position information obtaining apparatus according to an embodiment of the present application;
Fig. 12 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application;
fig. 13 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the objects identified by "first," "second," etc. are generally of a type and do not limit the number of objects, for example, the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The method for acquiring the position information provided by the embodiment of the application is described in detail below by means of specific embodiments and application scenes thereof with reference to the accompanying drawings.
In the process that the user uses the communication application program to chat, if the name of a certain place where the user needs to know the detailed position information appears in the chat record, the user can input the name of the certain place in the application program (such as a map application program) with a navigation function, so that the electronic equipment can inquire and display the position information of the certain place. However, if names of a plurality of places appear in the chat log, the user needs to perform the above operations multiple times to obtain the location information of each of the plurality of places, so that the user has complicated and time-consuming operations, resulting in low efficiency and poor flexibility in querying the location information by the electronic device.
According to the position information acquisition method provided by the embodiment of the application, after receiving the first input of the M messages in the target session interface by the user, the electronic equipment can display at least one place identifier in the chat record, and then the electronic equipment can receive the second input of the N place identifiers in the at least one place identifier by the user so as to display the position information of places corresponding to the N place identifiers in the target session interface. In the embodiment of the invention, the user can perform the first input on the M messages, so that the electronic device can determine at least one place identifier from the M messages and display the place identifiers to the user through the first window, and therefore, the user can perform the second input on N place identifiers in the place identifiers to trigger the electronic device to display the position information of places corresponding to the N place identifiers, and therefore, the user can more conveniently and intuitively obtain the position information of places contained in the messages in the session interface, and the flexibility and the efficiency of the electronic device for inquiring the position information are improved.
An embodiment of the present application provides a method for obtaining location information, and fig. 1 shows a flowchart of the method for obtaining location information provided in the embodiment of the present application. As shown in fig. 1, the method for obtaining location information provided in the embodiment of the present application may include the following steps 201 to 204.
Step 201, the electronic device receives a first input of a user to M messages in a target session interface.
In the embodiment of the present application, M is a positive integer. Each message in the M messages is a message containing a location identifier in the target session interface. The user may open an application program, such as a communication application program, having a session function in the electronic device, and trigger the electronic device to display a target session interface, where the target session interface includes at least one message, and the user may perform a first input on M messages in the at least one message, so as to trigger the electronic device to determine a location identifier from the M messages.
Optionally, in an embodiment of the present application, the target session interface may be a private chat session interface or a group chat session interface.
Optionally, in an embodiment of the present application, the first input may be a selection input (for example, a click input or a long press input) of the M messages by a user, so as to trigger the electronic device to determine the location identifier from the M messages.
An electronic device is taken as an example of a mobile phone. As shown in fig. 2, the mobile phone displays a target session interface (chat group a) that includes five messages (messages sent by users a to E, respectively), and the user can input a first input of M messages (such as a message sent by user B, a message sent by user C, and a message sent by user D) from the five messages to trigger the mobile phone to acquire the location identifier in the messages.
Optionally, in the embodiment of the present application, the first input may be an input that the user sequentially moves a control for positioning the location identifier to the M messages, so as to trigger the electronic device to determine the location identifier from the M messages. Illustratively, in conjunction with fig. 1, as shown in fig. 3, before the step 201, the method for obtaining location information provided in the embodiment of the present application further includes a step 301 and a step 302.
Step 301, the electronic device receives a third input of a user to the target session interface.
Optionally, in an embodiment of the present application, the third input may be a sliding input by the user on a specific area (for example, a sidebar area) displayed in the screen, so as to trigger the electronic device to display a control for positioning the location identifier. Alternatively, the third input may be a long press input (e.g., a long press input for any message) or a sliding input (e.g., an input with two fingers sliding simultaneously) in the target session interface, etc., to trigger the electronic device to display a control for locating the location identifier. The specific determination may be determined according to actual use requirements, and the embodiments of the present application are not limited.
Step 302, the electronic device displays a first control in the target session interface in response to the third input.
In this embodiment of the present application, the first control may be used to locate a location identifier in a message.
It can be understood that, in the case of displaying the first control, the first input is an input that the user moves the first control to M messages, that is, the user may sequentially move the first control to M messages, so as to trigger the electronic device to determine the location identifier from the M messages.
Alternatively, in the embodiment of the present application, the shape of the first control may be a diamond, an inverted triangle, a positioning mark shape, or any other geometric shape.
Illustratively, in connection with fig. 2, as shown in fig. 4, the user may make a sliding input (e.g., a left sliding input) to the sidebar area, so that the mobile phone may display a first control (e.g., a control 10 in the shape of a location identifier) in the area where the user slides, so that the user may move the first control to M messages in turn, so that the mobile phone determines the location identifier from the M messages.
Step 202, the electronic device displays a first window in response to a first input, and displays at least one location identifier in the first window.
In this embodiment of the present application, the at least one location identifier is a location identifier included in M messages.
Optionally, in an embodiment of the present application, the at least one location identifier includes a location identifier selected by a user from M messages.
Optionally, in the embodiment of the present application, for each of the M messages, the user may make a selection input on a location identifier in one message, so as to select at least one location identifier from the M messages.
Optionally, in the embodiment of the present application, the user may input the above-mentioned one message (for example, double-click input), so that the electronic device may mark the one message in the target session interface in an enlarged mark form or a gray mark form, and then the user performs selection input on the location identifier in the one message.
Optionally, in an embodiment of the present application, the user's selection input of the location identifier in one message may include two sub-inputs, where one sub-input is a sliding input of the user on the location identifier in one message to trigger the electronic device to display the first control, and the other sub-input is an input of the user to move one or more location identifiers in one message to the first control to trigger the electronic device to determine the one or more location identifiers as the location identifier selected from the one message.
Illustratively, as shown in connection with fig. 2, the user may input one of the M messages (e.g., the message "last me found in xx way 130 and xx building" sent by user B) such that the mobile phone may mark the one message in the form of an enlarged mark, such that the user may select location identifier a ("xx way 130") in the one message such that the mobile phone displays first control 10, and the user may move location identifier a to first control 10 such that the mobile phone determines the location identifier a as the location identifier selected from the one message; the user may then proceed to select location identity b ("xx way 130 number") in the one message to move the location identity b to the first control 10 to cause the handset to determine the location identity b as the location identity selected from the one message. Thus, the location identifier selected by the user from the one message includes a location identifier a and a location identifier b.
It should be noted that, for each message in the M messages, the location identifier may be selected by the process described in fig. 5, so as to select at least one location identifier from the M messages.
Optionally, in an embodiment of the present application, the at least one location identifier includes all location identifiers identified by the electronic device from the M messages.
In this embodiment of the present application, the electronic device may perform semantic analysis on each message to divide each message into a plurality of character strings, and compare the plurality of character strings with preset keywords/keywords (for example, words including "road", "street", "building" and the like indicating location positions), so as to determine location identifiers included in each message.
Optionally, in an embodiment of the present application, the at least one location identifier includes a location identifier selected by a user from a part of the M messages, and all location identifiers identified by the electronic device from another part of the M messages.
Optionally, in the embodiment of the present application, at least one location identifier may be displayed in a first window in a form of a split area, where each area corresponds to one message, and each area is used to display the location identifier in one message.
Illustratively, as shown in fig. 6 in conjunction with fig. 2, after the user selects M messages (i.e., the message sent by user B, the message sent by user C, and the message sent by user D), the handset may obtain location identifiers in the messages and display a first window 11 to display the location identifiers in the messages in a divided area form in the first window 11.
Step 203, the electronic device receives a second input of a user to N location identities of the at least one location identity.
In this embodiment, N is a positive integer.
Optionally, in the embodiment of the present application, the second input may be a selection input or a long press input of a user to N location identifiers, so as to trigger the electronic device to obtain location information of a location corresponding to the N location identifiers.
Step 204, the electronic device responds to the second input, displays a second window, and displays the position information of the places corresponding to the N place identifiers in the second window.
Optionally, in the embodiment of the present application, the location information of each location identifier of the N location identifiers includes, but is not limited to, at least one of the following: geographic location information for each location identifying a corresponding location, a distance between each location identifying a corresponding location and a current location of the user, and navigational route information from the current location of the user to each location identifying a corresponding location.
Optionally, in the embodiment of the present application, the electronic device may display, in a list form, a map form, or a chart form, location information of locations corresponding to the N location identifiers in the second window.
Alternatively, in the embodiment of the present application, the "displaying the location information of the locations corresponding to the N location identifications in the second window" in the above step 204 may be specifically implemented by the following steps 204a to 204 c.
Step 204a, the electronic device displays the N place identifiers on the target map in the second window according to the position information of the places corresponding to the N place identifiers.
Optionally, in the embodiment of the present application, the electronic device may mark the positions of the N location identifiers in the second window, display names or icons of the N location identifiers, and mark the current position of the user.
Step 204b, the electronic device receives a sixth input from the user for K of the N location identities.
In this embodiment, K is a positive integer less than or equal to N.
Optionally, in the embodiment of the present application, the sixth input may be a click input or a slide input of the user on the K location identifiers, so as to trigger the electronic device to display location information of a location corresponding to the K location identifiers.
In step 204c, the electronic device responds to the sixth input to display azimuth information of the places corresponding to the K place identifications in the second window or display navigation information of the places corresponding to the K place identifications in the target application interface.
In this embodiment of the present application, the target application interface is an interface of an application program with a positioning function.
Optionally, in an embodiment of the present application, the azimuth information of the location corresponding to the K location identifiers may include at least one of the following: the distance between the corresponding places of the K place identifications, the relative direction between the corresponding places of the K place identifications, and the geographic position information of the corresponding places of the K place identifications.
As an example, as shown in fig. 7, in conjunction with fig. 4, the mobile phone marks the current position of the user and the positions of the places (xx road 130 number, xx shopping center and xx building) corresponding to the three place marks on the target map in the second window 12, and displays the linear distance between the current position of the user and the places corresponding to the three place marks, for example, the linear distance between the current position of the user and the xx road 130 number is 6km, the linear distance between the current position of the user and the xx shopping center is 7km, and the linear distance between the current position of the user and the xx building is 5km, so that the user knows that the distance between the xx building and the current position of the user is nearest through the information displayed by the second window 12, and the distance between the xx shopping center and the current position is farthest.
Optionally, in an embodiment of the present application, the navigation information of the K places corresponding to the place identifications may include at least one of the following: route information between the corresponding sites are identified from the current position of the user to the K sites, and duration information between the corresponding sites are identified from the current position of the user to the K sites.
In the embodiment of the application, after receiving the second input of the user, the electronic device may display N location identifiers on the target map in the second window and display the position information of the K location identifiers, so that the user may obtain the position information between the locations corresponding to the location identifiers through the image relatively intuitively.
The embodiment of the application provides a position information acquisition method, after receiving a first input of a user to M messages in a target session interface, an electronic device can display at least one place identifier in a chat record, and then the electronic device can receive a second input of the user to N place identifiers in the at least one place identifier so as to display position information of places corresponding to the N place identifiers in the target session interface. In the embodiment of the invention, the user can perform the first input on the M messages, so that the electronic device can determine at least one place identifier from the M messages and display the place identifiers to the user through the first window, and therefore, the user can perform the second input on N place identifiers in the place identifiers to trigger the electronic device to display the position information of places corresponding to the N place identifiers, and therefore, the user can more conveniently and intuitively obtain the position information of places contained in the messages in the session interface, and the flexibility and the efficiency of the electronic device for inquiring the position information are improved.
Optionally, in the embodiment of the present application, before "displaying the second window" in step 204, the method for obtaining location information provided in the embodiment of the present application further includes steps 401 to 403.
In step 401, the electronic device marks N location identifiers and displays the target application identifier in response to the second input.
In this embodiment of the present application, the target application identifier is used to indicate an application program with a positioning function.
Optionally, in the embodiment of the present application, the manner in which the electronic device marks N location identifiers is any one of the following: adding a rectangular box marking mode, checking a check box marking mode, a highlight marking mode, a message thickening marking mode and the like. The specific determination may be determined according to actual use requirements, and embodiments of the present application are not limited.
Optionally, in the embodiment of the present application, the electronic device may display the target application identifier in a blank area in the target session interface or an area corresponding to the message input box; alternatively, the electronic device may display the target application identification in a floating window form in the target session interface.
For example, as shown in fig. 8 in conjunction with fig. 6, the user may perform a second input on N place identifiers (for example, xx road 130 number, xx building, and xx shopping mall) in the place identifiers displayed in the first window 11 (i.e., xx road 130 number and xx building in the message sent by the user B, xx building in the message sent by the user C, and xx shopping mall in the message sent by the user D), so that the mobile phone may display target application identifiers (for example, map a, map B, and map C) in the region corresponding to the message input frame in the target session interface.
Step 402, the electronic device receives a fourth input from the user.
In this embodiment of the present invention, the fourth input is an input for moving N location identifiers to positions of the target application identifier, so as to trigger the electronic device to query, through an application program corresponding to the target application identifier, position information of locations corresponding to the N location identifiers.
Step 403, the electronic device responds to the fourth input, and obtains the location information of the locations corresponding to the N location identifiers through the application program indicated by the target application identifier.
In this embodiment of the present application, after receiving the fourth input, the electronic device may run an application indicated by the target application identifier in the background, and search N location identifiers through the application indicated by the target application identifier, so as to obtain location information of a location corresponding to the N location identifiers.
In the embodiment of the application, after the user inputs the N place identifiers for the second time, the electronic device may display the target application identifier in the target session interface, so that the user may directly move the N place identifiers to the target application identifier, so that the electronic device may quickly obtain the location information of the place corresponding to the N place identifiers, thereby improving convenience and efficiency of querying the location information of the place in the message.
Optionally, in the embodiment of the present application, the electronic device includes a first display area and a second display area, where the first display area includes a target session interface, and the second display area includes a target application identifier, where the target application identifier is used to indicate an application program with a positioning function.
It should be noted that, the first display area and the second display area may be two display areas of the electronic device having a folding screen, or two display areas after the screen of the electronic device is split.
Optionally, in the embodiment of the present application, after the electronic device marks N location identifiers, the user may perform folding input on the electronic device with a folding screen, so as to fold the screen of the electronic device into two display areas, that is, a first display area and a second display area. Alternatively, after the electronic device marks N location identifiers, the user may perform split-screen input on the screen of the electronic device to divide the screen of the electronic device into two display areas, i.e., a first display area and a second display area.
Optionally, in an embodiment of the present application, the second display area includes a desktop, where the desktop includes at least one application identifier, and the at least one application identifier includes a target application identifier. Or the second display area comprises a third window, and the third window comprises a target application identifier.
Illustratively, before "displaying the second window" in the above step 204, the location information obtaining method provided in the embodiment of the present application further includes steps 404 to 406.
Step 404, the electronic device marks N location identities in response to the second input.
It should be noted that, for the description of marking N location identifiers by the electronic device, reference may be made to the description in the above embodiment, which is not repeated herein.
Step 405, the electronic device receives a fifth input from the user.
In this embodiment of the present invention, the fifth input is an input for moving the N location identifiers to positions of the target application identifiers in the second display area, so as to trigger the electronic device to query, through an application program corresponding to the target application identifier, position information of locations corresponding to the N location identifiers.
In step 406, the electronic device responds to the fifth input, and obtains the location information of the locations corresponding to the N location identifiers through the application program indicated by the target application identifier.
In the embodiment of the application, after the user inputs the N place identifiers for the second time, the electronic device may display the target application identifier in the second display area, so that the user may directly move the N place identifiers to the target application identifier, so that the electronic device may quickly obtain the location information of the place corresponding to the N place identifiers, thereby improving convenience and efficiency of querying the location information of the place in the message.
Optionally, in the embodiment of the present application, after step 204, the method for obtaining location information provided in the embodiment of the present application further includes step 501 and step 502.
Step 501, the electronic device receives a seventh input from a user to the second window.
Optionally, in the embodiment of the present application, the seventh input may be a movement input or a sliding input of the user to the second window, so as to trigger the electronic device to send/share the position information displayed in the second window.
Optionally, in the embodiment of the present application, the seventh input is an input that the user moves the second window to the message input box, or an input that moves the second window to a blank area in the target session interface or a user avatar; and triggering the electronic device to send/share the position information displayed in the second window.
Step 502, the electronic device responds to the seventh input to display route information corresponding to the N place identifiers in the message input box, or send and display a target link in the target chat interface.
In this embodiment of the present application, route information corresponding to each location identifier in the N location identifiers is used to indicate: a route from the location of the electronic device to a location corresponding to one of the N location identifications; the target link is a navigation link of position information of a location corresponding to the N location identifications.
It should be noted that, for the description of the route information, reference may be made to the description in the above embodiment, and the description is omitted here. The navigation link can be understood as a quick entry of the location information of the location corresponding to the N location identifiers, that is, the user can directly click on the navigation link, so that the electronic device displays the location information of the location corresponding to the N location identifiers.
As shown in fig. 7, the mobile phone displays route information between the current location of the user and the xx building in the message input box (i.e., the mobile phone can take 77 buses, go to xx road 130, get off the bus at xx station) after the user moves the second window 12 to the message input box, so that the user can send the information in the message input box to the target session interface, or copy-paste the information to other users.
As shown in fig. 10, after the user moves the second window 12 to the blank area of the target session interface, the mobile phone may send and display the target link in the target session interface, so that other users may view the location information through the displayed link more conveniently.
Optionally, in the embodiment of the present application, if the seventh input is that the user moves the second window to one user avatar in the target session interface when the target session interface is a group chat interface, the electronic device may send and display the target link in a private chat session interface corresponding to the one user avatar.
In the embodiment of the invention, the user can share the route information corresponding to the N place identifiers or share the target links in the target session interface by performing seventh input on the second window, so that other users can more conveniently view the position information corresponding to the N place identifiers, and the diversity and flexibility of viewing the position information by the user are improved.
It should be noted that, in the location information obtaining method provided in the embodiment of the present application, the execution body may be a location information obtaining device, or an electronic device, or may also be a functional module or entity in the electronic device. In the embodiment of the present application, an example of a method for acquiring position information by using an electronic device is described as an example, where the position information acquiring apparatus provided in the embodiment of the present application.
Fig. 11 shows a schematic diagram of one possible configuration of the position information acquiring apparatus involved in the embodiment of the present application. As shown in fig. 11, the position information acquiring apparatus 70 may include: a receiving module 71 and a display module 72.
The receiving module 71 is configured to receive a first input of M messages in the target session interface from a user, where M is a positive integer;
a display module 72 for displaying a first window in response to the first input received by the receiving module 71, and displaying at least one location identifier in the first window, the at least one location identifier being a location identifier contained in the M messages;
the receiving module 71 is further configured to receive a second input of N location identifiers from the at least one location identifier by a 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 display location information of the N places corresponding to the place identifications in the second window.
The embodiment of the application provides a position information acquisition device, a user can perform first input on M messages, so that the position information acquisition device can determine at least one place identifier from the M messages and display the place identifiers to the user through a first window, the user can perform second input on N place identifiers in the place identifiers, the position information acquisition device is triggered to display position information of places corresponding to the N place identifiers, and therefore the user can acquire the position information of places contained in a plurality of messages in a session interface more conveniently and intuitively, and flexibility and efficiency of the position information acquisition device for inquiring the position information are improved.
In a possible implementation manner, the receiving module 71 is further configured to receive a third input from the user to the target session interface before receiving the first input from the user to the M messages in the target session interface. The display module 72 is further configured to display the first control in the target session interface in response to the third input received by the receiving module 71. Wherein the first input is an input by the user to move the first control over the M messages.
In one possible implementation manner, the location information obtaining device provided in the embodiment of the present application further includes: a marking module and an acquisition module. The marking module is configured to mark N location identifiers before displaying the second window, and the display module 72 is further configured to display a target application identifier, where the target application identifier is used to indicate an application program with a positioning function. The receiving module 71 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 acquiring module is configured to acquire, in response to the fourth input received by the receiving module 71, location information of locations corresponding to the N location identifiers through an application indicated by the target application identifier.
In one possible implementation manner, the electronic device includes a first display area and a second display area, where the first display area includes a target session interface, and the second display area includes a target application identifier, where the target application identifier is used to indicate an application program with a positioning function. The position information obtaining device provided in the embodiment of the application further includes: a marking module and an acquisition module. The marking module is configured to mark N location identifiers before the display module 72 displays the second window. The receiving module 71 is further configured to receive a fifth input from the user, where the fifth input is an input for moving the N location identifiers to the location of the target application identifier in the second display area. The acquiring module is configured to acquire, in response to the fifth input received by the receiving module 71, location information of locations corresponding to the N location identifiers through the application indicated by the target application identifier.
In one possible implementation manner, the display module 72 is specifically configured to display N location identifiers on the target map in the second window according to the location information of the location corresponding to the N location identifiers; receiving a sixth input of K place identifiers in the N place identifiers by a user, wherein K is a positive integer less than or equal to N; and responding to the sixth input, displaying the azimuth information of the K places corresponding to the place identifiers in the second window, or displaying the navigation information of the places corresponding to the K places identifiers in a target application interface, wherein the target application interface is an interface of an application program with a positioning function.
The location information acquiring device in the embodiment of the present application may be an electronic device, or may be a component in an electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The location information obtaining 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 embodiments of the present application.
The location information obtaining device provided in the embodiment of the present application can implement each process implemented by the foregoing method embodiment, and in order to avoid repetition, details are not repeated here.
Optionally, as shown in fig. 12, the embodiment of the present application further provides an electronic device 90, including a processor 91 and a memory 92, where a program or an instruction capable of being executed on the processor 91 is stored in the memory 92, and the program or the instruction when executed by the processor 91 implements each step of the embodiment of the location information obtaining method, and the steps can achieve the same technical effect, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 13 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further include a power source (e.g., a battery) for powering the various components, and that the power source may be logically coupled to the processor 110 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 13 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The user input unit 107 is configured to receive a first input of M messages in the target session interface from a user, where M is a positive integer. A display unit 106, configured to display a first window in response to the first input, and display at least one location identifier in the first window, where the at least one location identifier is a location identifier contained in the M messages. The user input unit 107 is further configured to receive a second input of N location identities of the at least one location identity by a user, N being a positive integer. The display unit 106 is further configured to display a second window in response to the second input, and display position information of the N places corresponding to the place identifications in the second window.
According to the electronic equipment, a user can perform first input on M messages, so that the electronic equipment can determine at least one place identifier from the M messages and display the place identifiers to the user through the first window, and accordingly the user can perform second input on N place identifiers in the place identifiers to trigger the electronic equipment to display position information of places corresponding to the N place identifiers, and therefore the user can conveniently and intuitively obtain the position information of places contained in the messages in a session interface, and flexibility and efficiency of inquiring the position information of the electronic equipment are improved.
Optionally, the user input unit 107 is further configured to receive a third input from the user to the target session interface before receiving the first input from the user to the M messages in the target session interface. The display unit 106 is further configured to display the first control in the target session interface in response to the third input. Wherein the first input is an input by the user to move the first control over the M messages.
Optionally, the processor 110 is further configured to mark N location identifiers and display a target application identifier, where the target application identifier is used to indicate an application program with a positioning function, before displaying the second window. The user input unit 107 is further configured to receive a fourth input of the user, where the fourth input is an input for moving the N location identities to the location of the target application identity. The processor 110 is further configured to obtain, in response to the fourth input, location information of locations corresponding to the N location identifiers through the application indicated by the target application identifier.
Optionally, the electronic device includes a first display area and a second display area, the first display area includes a target session interface, the second display area includes a target application identifier, and the target application identifier is used for indicating an application program with a positioning function. The processor 110 is further configured to mark N location identifiers before displaying the second window. The user input unit 107 is further configured to receive a fifth input of the user, where the fifth input is an input for moving the N location identities to the location of the target application identity in the second display area. The processor 110 is further configured to obtain, in response to the fifth input, location information of locations corresponding to the N location identifiers through the application indicated by the target application identifier.
Optionally, the display unit 106 is specifically configured to display N location identifiers on the target map in the second window according to the location information of the location corresponding to the N location identifiers. The user input unit 107 is specifically configured to receive a sixth input of K location identifiers from the N location identifiers by a user, where K is a positive integer less than or equal to N. The display unit 106 is specifically configured to display, in response to the sixth input, azimuth information of the K places corresponding to the place identifications in the second window, or display, in the target application interface, navigation information of the K places corresponding to the place identifications, where the target application interface is an interface of an application program with a positioning function.
The electronic device provided in the embodiment of the present application can implement each process implemented by the above method embodiment, and can achieve the same technical effects, so that repetition is avoided, and details are not repeated here.
The beneficial effects of the various implementation manners in this embodiment may be specifically referred to the beneficial effects of the corresponding implementation manners in the foregoing method embodiment, and in order to avoid repetition, the description is omitted here.
It should be appreciated that in embodiments of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing 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, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 109 may include volatile memory or nonvolatile memory, or the memory 109 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 109 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implement each process of the embodiment of the method, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction, implementing each process of the above method embodiment, and achieving the same technical effect, so as to avoid repetition, and not repeated here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
The embodiments of the present application provide a computer program product, which is stored in a storage medium, and the program product is executed by at least one processor to implement the respective processes of the above method embodiments, and achieve the same technical effects, and are not repeated herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (10)

1. A method for obtaining location information, the method comprising:
receiving first input of M messages in a target session interface by a user, wherein M is a positive integer;
displaying a first window in response to the first input, and displaying at least one location identifier in the first window, wherein the at least one location identifier is a location identifier contained in the M messages;
receiving second inputs of N place identifiers in the at least one place identifier by a user, wherein N is a positive integer;
and responding to the second input, displaying a second window, and displaying the position information of the places corresponding to the N place identifiers in the second window.
2. The method of claim 1, wherein prior to receiving the first user input of the M messages in the target session interface, the method further comprises:
receiving a third input of a user to the target session interface;
responsive to the third input, displaying a first control in the target session interface;
wherein the first input is an input by a user to move the first control onto the M messages.
3. The method of claim 1, wherein prior to displaying the second window, the method further comprises:
Marking the N place identifiers, and displaying a target application identifier, wherein the target application identifier is used for indicating an application program with a positioning function;
receiving a fourth input of a user, wherein the fourth input is an input for moving the N place identifiers to the positions of the target application identifiers;
and responding to the fourth input, and acquiring the position information of the places corresponding to the N place identifiers through the application program indicated by the target application identifier.
4. The method of claim 1, wherein the electronic device comprises a first display area and a second display area, wherein the first display area comprises the target session interface and the second display area comprises a target application identifier, and the target application identifier is used for indicating an application program with a positioning function;
before the displaying the second window, the method further includes:
marking the N place identifiers;
receiving a fifth input of a user, wherein the fifth input is input for moving the N place identifications to the positions of the target application identifications in the second display area;
and responding to the fifth input, and acquiring the position information of the places corresponding to the N place identifiers through the application program indicated by the target application identifier.
5. The method of claim 1, 3 or 4, wherein displaying the location information of the N locations identifying the corresponding locations in the second window comprises:
displaying the N place identifiers on a target map in the second window according to the position information of places corresponding to the N place identifiers;
receiving a sixth input of a user to K place identifiers in the N place identifiers, wherein K is a positive integer less than or equal to N;
and responding to the sixth input, displaying azimuth information of the places corresponding to the K place identifiers in the second window, or displaying navigation information of the places corresponding to the K place identifiers in a target application interface, wherein the target application interface is an interface of an application program with a positioning function.
6. A position information acquisition apparatus, characterized in that the position information acquisition apparatus includes: a receiving module and a display module;
the receiving module is used for receiving a first input of M messages in a target session interface from a user, wherein M is a positive integer;
the display module is used for responding to the first input received by the receiving module, displaying a first window and displaying at least one place identifier in the first window, wherein the at least one place identifier is the place identifier contained in the M messages;
The receiving module is further configured to receive second inputs of N location identifiers from the at least one location identifier by a user, where N is a positive integer;
the display module is further configured to display a second window in response to the second input received by the receiving module, and display location information of locations corresponding to the N location identifiers in the second window.
7. The apparatus of claim 6, wherein the receiving module is further configured to receive a third input from a user to the target session interface before receiving the first input from the user to the M messages in the target session interface;
the display module is further used for responding to the third input received by the receiving module and displaying a first control in the target session interface;
wherein the first input is an input by a user to move the first control onto the M messages.
8. The apparatus of claim 6, wherein the apparatus further comprises: the marking module and the acquisition module;
the marking module is used for marking the N place identifiers before the second window is displayed;
the display module is also used for displaying a target application identifier, wherein the target application identifier is used for indicating an application program with a positioning function;
The receiving module is further configured to receive a fourth input of a user, where the fourth input is an input for moving the N location identifiers to the location of the target application identifier;
the obtaining module is configured to obtain, in response to the fourth input received by the receiving module, location information of locations corresponding to the N location identifiers through an application program indicated by the target application identifier.
9. The apparatus of claim 6, wherein the electronic device comprises a first display area and a second display area, the first display area comprising the target session interface and the second display area comprising a target application identifier, the target application identifier being used to indicate an application program with a positioning function; the apparatus further comprises: the marking module and the acquisition module;
the marking module is used for marking the N place identifiers before the second window is displayed by the display module;
the receiving module is further configured to receive a fifth input of a user, where the fifth input is an input for moving the N location identifiers to a location of the target application identifier in the second display area;
the obtaining module is configured to obtain, by using the application program indicated by the target application identifier, location information of locations corresponding to the N location identifiers in response to the fifth input received by the receiving module.
10. The apparatus according to claim 6, 8 or 9, wherein the display module is specifically configured to display the N location identifiers on a target map in the second window according to location information of locations corresponding to the N location identifiers; receiving a sixth input of a user to K place identifiers in the N place identifiers, wherein K is a positive integer smaller than or equal to N; and responding to the sixth input, displaying azimuth information of the places corresponding to the K place identifiers in the second window, or displaying navigation information of the places corresponding to the K place identifiers in a target application interface, wherein the target application interface is an interface of an application program with a positioning function.
CN202211335836.8A 2022-10-28 2022-10-28 Position information acquisition method and device Pending CN116108119A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211335836.8A CN116108119A (en) 2022-10-28 2022-10-28 Position information acquisition method and device
PCT/CN2023/125902 WO2024088209A1 (en) 2022-10-28 2023-10-23 Position information acquisition method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211335836.8A CN116108119A (en) 2022-10-28 2022-10-28 Position information acquisition method and device

Publications (1)

Publication Number Publication Date
CN116108119A true CN116108119A (en) 2023-05-12

Family

ID=86266298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211335836.8A Pending CN116108119A (en) 2022-10-28 2022-10-28 Position information acquisition method and device

Country Status (2)

Country Link
CN (1) CN116108119A (en)
WO (1) WO2024088209A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024088209A1 (en) * 2022-10-28 2024-05-02 维沃移动通信有限公司 Position information acquisition method and apparatus

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302096B (en) * 2015-06-04 2021-03-26 腾讯科技(深圳)有限公司 Method and system for realizing geographical position display in session page
CN108195392A (en) * 2018-03-14 2018-06-22 维沃移动通信有限公司 A kind of more people's layout of roads methods and terminal
CN112825073A (en) * 2019-11-21 2021-05-21 腾讯科技(深圳)有限公司 Position message processing method, device, equipment and storage medium
CN113778314A (en) * 2021-08-24 2021-12-10 维沃移动通信(杭州)有限公司 Operation execution method and device
CN116108119A (en) * 2022-10-28 2023-05-12 维沃移动通信有限公司 Position information acquisition method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024088209A1 (en) * 2022-10-28 2024-05-02 维沃移动通信有限公司 Position information acquisition method and apparatus

Also Published As

Publication number Publication date
WO2024088209A1 (en) 2024-05-02

Similar Documents

Publication Publication Date Title
US20100115459A1 (en) Method, apparatus and computer program product for providing expedited navigation
US20110238302A1 (en) Method, mobile device and computer-readable medium for processing location information
CN104135716A (en) Push method and system of interest point information
US20100110105A1 (en) Method, apparatus and computer program product for providing synchronized navigation
CN105008858A (en) User-in-the-loop architecture for indoor positioning
US20070123270A1 (en) Mobile device product locator
US20150002539A1 (en) Methods and apparatuses for displaying perspective street view map
CN112486444B (en) Screen projection method, device, equipment and readable storage medium
CN103268730A (en) Method and device for displaying associated dimension points on electric map interface
US20220076469A1 (en) Information display device and information display program
CN112269798B (en) Information display method and device and electronic equipment
WO2024088209A1 (en) Position information acquisition method and apparatus
CN103269394A (en) Setting method and system of application theme of mobile terminal
CN108491502B (en) News tracking method, terminal, server and storage medium
US20210285786A1 (en) Information processing apparatus, non-transitory storage medium, and system
CN112764603B (en) Message display method and device and electronic equipment
CN112539752B (en) Indoor positioning method and indoor positioning device
CN114935973A (en) Interactive processing method, device, equipment and storage medium
CN113778314A (en) Operation execution method and device
CN114489420A (en) Voice information sending method and device and electronic equipment
CN112783998A (en) Navigation method and electronic equipment
CN112565597A (en) Display method and device
US20130110826A1 (en) Method for searching contacts, electronic apparatus, and storage medium using the method thereof
CN112748835A (en) Terminal, server, recent task list display method and application recommendation method
CN112414427B (en) Navigation information display method and electronic equipment

Legal Events

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