WO2015010571A1 - Method, system, and device for performing operation for target - Google Patents
Method, system, and device for performing operation for target Download PDFInfo
- Publication number
- WO2015010571A1 WO2015010571A1 PCT/CN2014/082472 CN2014082472W WO2015010571A1 WO 2015010571 A1 WO2015010571 A1 WO 2015010571A1 CN 2014082472 W CN2014082472 W CN 2014082472W WO 2015010571 A1 WO2015010571 A1 WO 2015010571A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- target
- terminal
- display
- information
- predetermined
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000001514 detection method Methods 0.000 claims abstract description 17
- 230000001960 triggered effect Effects 0.000 claims description 21
- 230000002596 correlated effect Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 19
- 238000005516 engineering process Methods 0.000 description 10
- 230000000694 effects Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- 229920000535 Tan II Polymers 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 4
- 238000011017 operating method Methods 0.000 description 4
- 230000000875 corresponding effect Effects 0.000 description 2
- 108010001267 Protein Subunits Proteins 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 229920001690 polydopamine Polymers 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/023—Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/017—Gesture based interaction, e.g. based on a set of recognized hand gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0346—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
Definitions
- the present invention relates to the field of the Internet, and in particular, to a target operating method, system and device. Background of the invention
- Terminals such as smartphones, tablets, PDAs, and e-book readers have been widely used by users in their daily lives.
- a user uses an instant messaging terminal, viewing the nearby person through the terminal and adding it as a friend is one of the most commonly used functions of the user.
- the current target operation method includes: First, the current user triggers the terminal to start searching for nearby by a trigger signal such as "shake” or "blow” Then; the terminal first locates its own geographical location, and then finds several other users in the same area as its own geographical location.
- the "same area” may refer to the location of the terminal itself, 500 meters, 1 kilometer or 5 kilometers, etc.
- the terminal will display several other users to the current user through the list, such as "Amy, female, 300 meters away from you"; after receiving the current user's selection signal and adding the friend signal, the terminal will correspondingly The user is added as a friend of the current user.
- a target operation method comprising: superimposing information of at least one target on a real-time street view image displayed by a terminal, wherein a display position of the information of the target is associated with the target Relative geographic location with the terminal;
- a target operating device comprising: an object display module, configured to superimpose and display information of at least one target on a real-time street view image displayed by the terminal, and display the information of the target a location associated with a relative geographic location between the target and the terminal;
- a location detecting module configured to detect, during the motion of the terminal, whether information of a target exists in a predetermined display area of the terminal;
- the operation triggering module is configured to trigger an operation for the target if the detection result is that the information that there is a target is located in the predetermined display area of the terminal.
- a terminal comprising the target operating device as provided in the second aspect above.
- a system comprising a terminal and a server, wherein the terminal and the server are connected by a wireless network or a wired network; The terminal described.
- an electronic device comprising a memory and one or more processors, wherein the memory stores one or more instructions for performing the method as described in the first aspect above Each step.
- FIG. 1 is a diagram of an implementation environment involved in a target operation method according to an embodiment of the present invention.
- FIG. 2 is a flowchart of a method for a target operation method according to an embodiment of the present invention
- FIG. 3A is a flowchart of a method for a target operation method according to another embodiment of the present invention
- FIG. 3B is a pole of an embodiment of the present invention
- 3C is a schematic diagram of implementation of coordinate conversion according to an embodiment of the present invention.
- FIG. 3D is a schematic diagram showing the display of the information of the object according to the embodiment of the present invention
- FIG. 3E is a schematic diagram of the display of the target operation according to the embodiment of the present invention
- FIG. 4 is a schematic diagram of the method for operating the target according to another embodiment of the present invention
- Figure 5 is a block diagram showing the structure of a target operating device according to an embodiment of the present invention
- Figure 6 is a block diagram showing the structure of a target operating device according to another embodiment of the present invention
- Figure 7 is a block diagram of another embodiment of the present invention.
- FIG. 8 is a structural block diagram of a system according to an embodiment of the present invention
- FIG. 8 is a structural block diagram of a system according to an embodiment of the present invention
- FIG. 9 is a schematic structural diagram of a target operating device according to still another embodiment of the present invention. Mode for carrying out the invention
- the inventors have found that at least the following problems exist in the prior art: Since the current user can only determine the other users as the users who need to perform subsequent operations by using the text information displayed by the nickname, gender, distance, and the like. The information that can be relied upon is limited and not intuitive enough, so that even if a follow-up operation such as adding a friend is performed, the final result of the addition is not necessarily the result that the user really wants.
- FIG. 1 is a schematic structural diagram of an implementation environment involved in a target operation method according to an embodiment of the present invention.
- the implementation environment includes a terminal 120 and a server 140. among them:
- the terminal 120 may be an electronic device including a camera, and the electronic device may be a smart phone, a tablet computer, an e-book reader, an MP3 player (Moving Picture Exper ts Group Audio Layer 111, a motion picture expert compression standard audio layer 3), MP4 (Moving Picture Exper ts Group Audio Layer IV, Motion Picture Expert Compress Standard Audio Level 3) player, laptop portable computer and desktop computer, etc.
- MP3 player Moving Picture Exper ts Group Audio Layer 111, a motion picture expert compression standard audio layer 3
- MP4 Motion Picture Expert Compress Standard Audio Level 3
- the terminal 120 and the server 140 can be connected by a wireless network or a wired network.
- the server 140 can be a server, or a server cluster consisting of several servers, or a cloud computing service center.
- FIG. 2 shows a flowchart of a method for a target operation method provided by an embodiment of the present invention. This embodiment is mainly illustrated by applying the target operation method to the implementation environment shown in FIG. 1 , and the target operation method includes:
- Step 202 superimposing information of at least one target on the real-time street view image displayed by the terminal, where the display position of the target information is related to the relative geographical position between the target and the terminal;
- the street view image is divided into two types: a traditional street view image and real-time Street view image.
- the traditional street view image is a street view image that is pre-collected and saved in the server, and the terminal can call the street view image to display from the server at any time;
- the real-time street view image refers to the real-time street view image through the built-in camera when the terminal is located in a certain street scene.
- the image collected. This article mainly deals with the latter, that is, real-time street view imagery.
- the target may be any of other users, other terminals, P0I (Point of Interes t, interest point), and a wireless access point where the IP address can identify the location.
- P0I Point of Interes t, interest point
- a wireless access point where the IP address can identify the location.
- Step 204 detect, during the motion of the terminal, whether information of a target exists in a predetermined display area of the terminal;
- the display position of the target information is associated with the relative geographic position between the target and the terminal
- the display position of the target information will also change.
- the user can control the motion of the terminal so that the information of the target is located in a predetermined display area of the terminal, such as the center of the screen, thereby generating a trigger signal.
- Step 206 If the detection result is that the information in which one target exists is located in the predetermined display area of the terminal, the operation for the target is triggered.
- the target operation method provided by the embodiment provides that the display position of the information of the target is associated with the relative geographical position between the target and the terminal by superimposing the information of the at least one target on the real-time street view image, and there is a
- the operation for the target is triggered; the existing target operation method is solved, and only the displayed text information can be used to determine whether other users are users who need to perform subsequent operations, and the operation is performed.
- the result may not be the result of the user's actual desired result; the user can obtain the relative geographical position between the target and the terminal more intuitively through the information of the target superimposed on the real-time street view image, thereby more accurately determining whether the target is The effect of the target that needs to perform subsequent actions.
- steps 202 operations such as calculation of positioning and related display positions are required, and these operations can be mainly performed by the terminal or by the server.
- FIG. 3A a flowchart of a method for operating a target according to another embodiment of the present invention is shown. This embodiment is mainly illustrated by applying the target operation method to the implementation environment shown in FIG. 1.
- the target operation method includes:
- Step 301 The terminal acquires a location parameter of the terminal every predetermined time interval.
- the terminal acquires the location parameter of the terminal.
- the location parameter of the terminal usually includes the geographic location of the terminal, the orientation information of the camera of the terminal, and the elevation information of the camera, and may also include the motion information of the terminal.
- the terminal acquires its geographic location through an LBS (Location Based Service) positioning technology; the LBS positioning technology includes but is not limited to: GPS (Global Positioning System, global positioning) System) At least one of positioning technology, COO (Cell of Origin) positioning technology, and TDOA (Time Difference of Arrival) positioning technology.
- LBS Location Based Service
- the LBS positioning technology includes but is not limited to: GPS (Global Positioning System, global positioning) System) At least one of positioning technology, COO (Cell of Origin) positioning technology, and TDOA (Time Difference of Arrival) positioning technology.
- the terminal acquires the orientation information of the camera of the terminal through the built-in electronic compass sensor;
- the terminal acquires the elevation information of the terminal through the built-in gyro sensor;
- the terminal acquires the motion information of the terminal through the built-in three-axis acceleration sensor and/or the gyro sensor.
- the three-axis acceleration sensor is used to acquire motion information when the terminal moves
- the gyro sensor is used to obtain motion information when the terminal rotates.
- Step 302 The terminal searches for at least one target that meets a predetermined condition according to the location parameter of the terminal, where the predetermined condition includes that the geographic location of the target belongs to a predetermined range indicated by the location parameter of the terminal;
- the predetermined range is typically a sectoral region whose apex angle is determined by the geographic location of the terminal, and the angular bisector of the central angle of the sector is determined by the orientation information of the camera of the terminal.
- this step includes the following four sub-steps:
- the terminal uses the geographic location of the terminal as an origin, and establishes a polar coordinate system with the orientation of the camera in the terminal as a polar axis;
- the geographic location of the terminal in the initial coordinate system is (x0, yO), and the orientation of the camera is as shown by the ray a, and the point identified by (x0, yO) is used as the polar coordinate system.
- the polar coordinate system is established by using the ray a as the polar axis in the polar coordinate system.
- the terminal determines the size of a predetermined radius r in accordance with the elevation angle information of the camera terminal, the size of numerical size of the elevation information of a predetermined radius r being characterized elevation positive correlation; predetermined radius r dynamically according to the elevation angle information of the camera terminal determine.
- the larger the elevation angle of the camera of the terminal with respect to the horizontal line the larger the predetermined radius r
- the smaller the elevation angle of the camera of the terminal with respect to the horizontal line the smaller the predetermined radius r.
- the terminal determines the arc of the sector area at a predetermined radius r by a ray at a predetermined angle ⁇ and a predetermined angle ⁇ in the polar coordinate system, and determines a sector of the sector by a predetermined radius r to obtain a sector area;
- the predetermined angle ⁇ be the ray b
- the predetermined angle - ⁇ is the ray
- C uses ray b and ray c to determine both sides of the central angle of the sector.
- the size of ⁇ is a preset value or a value associated with the horizontal angle of view of the camera of the terminal. For example, if the camera's horizontal viewing angle is 120 degrees, then ⁇ is 60 degrees.
- the terminal searches for a geographical location belonging to at least one target in the sector area; specifically, the fourth step may include the following sub-steps:
- the terminal acquires the geographical location of the candidate target objects from the server;
- the terminal can obtain the geographical location of the candidate several targets from the server. Specifically, the terminal may send its own geographic location to the server, and then after receiving the geographic location, the server selects several targets within a predetermined distance in the vicinity of the geographic location as candidate targets, and then selects the target of the candidate. The location of the location is fed back to the terminal. Generally speaking, the terminal also obtains information of several candidate targets at the same time, so that it can be used for subsequent display.
- the geographic location of several targets of the candidate acquired by the terminal is the coordinate (x, y) in the initial coordinate system.
- the terminal converts the geographic locations of the candidate targets into polar coordinates (p, ⁇ ) in the polar coordinate system;
- the terminal may convert the geographic locations of the plurality of targets acquired from the server into polar coordinates in the polar coordinate system established in the first step.
- the terminal specifically converts the geographical position (x, y) of the candidate targets in the initial coordinate system into the first coordinate (xl, yl) in the predetermined Cartesian coordinate system according to the first predetermined formula.
- the origin of the predetermined Cartesian coordinate system is determined by the geographic location (x0, yO) of the terminal, and the X-axis forward direction of the predetermined Cartesian coordinate system is determined by the orientation information of the camera of the terminal, and the first predetermined formula is:
- tan2 ( ) represents the arctangent function
- the result is expressed in radians and is between -pi and i (excluding -pi ).
- the terminal searches for at least one target whose geographic location belongs to the sector based on the converted polar coordinates (p, ⁇ ).
- the terminal finds that the geographical location belongs to at least one target in the sector based on the converted polar coordinates ( ⁇ , ⁇ ) of the candidate respective targets.
- predetermined condition further includes specifying the attribute, searching for the target that meets the specified attribute from the found at least one target;
- the predetermined condition does not necessarily include only the geographical location of the target belongs to a predetermined range indicated by the location parameter of the terminal, and the predetermined condition may further include specifying Attribute, the specified genus Sex includes at least one of gender, age, status, occupation, category, address, and keywords. For example, the current user needs to query other users whose "one is within 1 000 meters" and whose gender is "female” and whose age is between "18-35".
- the terminal further needs to find the target that meets the specified attribute again from at least one of the targets found in sub-step 3.
- the predetermined condition may also include other conditions.
- the predetermined condition may further include “a user who shakes the mobile phone simultaneously with the current terminal”. These other conditions may vary from one embodiment to another, but do not affect the description of the present invention, and therefore are not described herein.
- Step 303 The terminal determines, according to the relative geographic location between each target and the terminal, a display position of the information of each target in the first display dimension of the terminal and a display position on the second display dimension.
- the terminal determines, according to the polar coordinates (p, ⁇ ) of each target in the polar coordinate system, the display position of each target information on the first display dimension of the terminal and the display on the second display dimension.
- a position, a display position on the first display dimension corresponds to a polar coordinate angle ⁇ of the target, and a display position on the second display dimension corresponds to a polar coordinate distance p of the target;
- the first display dimension is perpendicular to the second display dimension.
- the first display dimension refers to the horizontal display dimension of the terminal relative to the ground
- the second display dimension refers to the vertical display dimension of the terminal relative to the ground.
- the display position of the target information in the first display dimension indicates the actual position of the target relative to the terminal in the current camera view
- the display position of the target information in the second display dimension indicates the target relative position.
- the higher the display position in the second display dimension the farther the target is from the terminal; the lower the display position in the second display dimension, the closer the target is to the terminal.
- Step 304 The terminal superimposes the information of the target on the real-time street view image according to the display position on the first display dimension of the terminal and the display position on the second display dimension.
- the terminal superimposes the information of the target on the real-time street view image according to the display position on the first display dimension on the terminal and the display position on the second display dimension, and the display position on the first display dimension is based on the target and the terminal.
- the relative direction is determined, and the display position in the second display dimension is determined according to the relative distance between the target and the terminal.
- the target information includes at least one of an avatar, a nickname, an IP address, a gender, an age, a status, an occupation, a category, an address, and a keyword.
- the information of the target displayed in FIG. 3D is exemplified by an avatar, a nickname, and a gender.
- the information of goal 33 includes a female avatar, nickname "Amy” and gender "female”.
- the information of goal 34 includes a male avatar, nickname "Winter” and gender "male”.
- Step 305 The terminal detects, in the motion of the terminal, whether information of a target exists in a predetermined display area of the terminal;
- the display position of the information of the target is related to the relative geographical position between the target and the terminal, when the terminal is displaced or rotated, the display position of the information of the target also changes.
- the user can control the motion of the terminal so that the information of the target is located in a predetermined display area of the terminal, such as the center of the screen, thereby generating a trigger signal.
- a predetermined display area of the terminal such as the center of the screen, thereby generating a trigger signal.
- the center of the screen of the terminal has a predetermined display area 36 having a rounded rectangular shape.
- the display position of the target 33 When the terminal is rotated or displaced to the left, the display position of the target 33 is shifted to the right; when the terminal is rotated or displaced to the right, the target is The display position of 33 will shift to the left; when the elevation angle of the camera of the terminal with respect to the horizontal line becomes larger, the display position of the target 33 will move downward; when the elevation angle of the camera of the terminal with respect to the horizontal line becomes smaller, the display position of the target 33 will move up. .
- the user When the user wants to perform a subsequent operation on a certain target 33, the user can make the terminal move to control the target 33 to be located in the predetermined display area 36; at this time, the terminal detects whether there is a target information located in the predetermined display area of the terminal.
- Step 306 If the detection result is that the information that exists in one target is located in the predetermined display area of the terminal, the operation for the target is triggered.
- the operation for the target is triggered. Since the target is not necessarily the same in different embodiments in different embodiments, the operations for the target may also be different. Specifically, if the target is another user, triggering at least one of a display detailed information operation, a display operation prompt frame operation, a add friend operation, a send information operation, a send scheduled instruction operation, and a mark operation for the target;
- the terminal can trigger the display detailed information operation for the target; for example, the target is other users in the instant communication program, and the target The information is displayed with an avatar and a nickname, and the terminal can trigger an add friend operation for the target; for example, if the target is another user in the instant communication program, and the target information displays an avatar and a nickname, the terminal can trigger the target Sending a predetermined instruction operation, which may be an instruction to cause a terminal used by the target to emit light, sound, or vibrate; for example, the terminal may also trigger a marking operation for the target, such as a "like" operation or a "comment" operating.
- a predetermined instruction operation which may be an instruction to cause a terminal used by the target to emit light, sound, or vibrate
- the terminal may also trigger a marking operation for the target, such as a "like" operation or a "comment" operating.
- the target is another terminal, triggering at least one of a send information operation, a send file operation, a download file operation, and a establish connection operation for the target; if the target is a P0I point, triggering for the target Displaying a detailed information operation or a navigation operation; if the target is a wireless access point, triggering an operation of accessing the wireless network to which the target belongs.
- the target operation method provided by the embodiment provides that the display position of the information of the target is associated with the relative geographical position between the target and the terminal by superimposing the information of the at least one target on the real-time street view image, and there is a
- the operation for the target is triggered; the existing target operation method is solved, and only the displayed text information can be used to determine whether other users are users who need to perform subsequent operations, and the operation is performed.
- the result may not be the result of the user's actual desired result; the user can obtain the relative geographical position between the target and the terminal more intuitively through the information of the target superimposed on the real-time street view image, thereby more accurately determining whether the target is The effect of the target that needs to perform subsequent actions.
- the following operations are triggered by detecting whether a target information is located in a predetermined display area of the terminal during the motion of the terminal, so that the user can perform the triggering of the subsequent operation by the one-handed handheld terminal, and the whole operation process is simple and efficient. .
- the display position of the information of the target changes according to the motion change of the terminal, and may be implemented by other possible methods, such as the terminal collecting the motion information of the terminal, and then directly adjusting the information of the target according to the motion information.
- the display position in other words, the terminal detects that it has shifted to the left by 1 cm, and then shifts the display position of the target information directly to the right by 1 cm.
- the display position of the information of the target may be kept still after step 304, but the predetermined display area 36 is changed following the change of the motion of the terminal, and steps 305 and 306 can also be implemented. This article does not specifically limit this.
- only the operation work in the target operation method is mainly completed by the terminal. An example of the line. Since the computing power of the terminal is uneven, in order to alleviate the requirement of the computing power of the terminal when the target operating method is applied to the terminal, the computing operation in the target operating method may be mainly performed by the server. details as follows:
- FIG. 4 shows a flowchart of a method for a target operation method according to still another embodiment of the present invention. This embodiment is mainly illustrated by using the target operation method for the implementation environment shown in FIG. 1.
- the target operation method includes:
- Step 401 The terminal sends the location parameter of the terminal to the server every predetermined time interval. First, the terminal acquires its own location parameter every predetermined time interval.
- the location parameter of the terminal usually includes the geographic location of the terminal, the orientation information of the camera of the terminal, and the camera.
- the elevation information of the terminal may also include the motion information of the terminal. Specifically:
- the terminal acquires its geographic location through an LBS (Location Based Service) positioning technology;
- the LBS positioning technology includes but is not limited to: GPS (Globa l Pos) It ioning Sys tem, at least one of positioning technology, COO (Cell ll of Or ig in) positioning technology, TDOA (Time Difference of Arr iva l) positioning technology.
- the terminal acquires the orientation information of the camera of the terminal through the built-in electronic compass sensor;
- the terminal acquires the elevation information of the terminal through the built-in gyro sensor;
- the terminal acquires the motion information of the terminal through the built-in three-axis acceleration sensor and/or the gyro sensor.
- the three-axis acceleration sensor is used to acquire motion information when the terminal moves
- the gyro sensor is used to obtain motion information when the terminal rotates.
- the terminal sends its own location parameters obtained to the server each time.
- the server receives the location parameter of the terminal transmitted by the terminal every predetermined time interval.
- Step 402 The server searches for at least one target that meets a predetermined condition according to the location parameter of the terminal, where the predetermined condition includes that the geographic location of the target belongs to a predetermined range indicated by the location parameter of the terminal;
- the predetermined range is typically a sectoral region whose apex angle is determined by the geographic location of the terminal, and the angular bisector of the central angle of the sector is determined by the orientation information of the camera of the terminal.
- this step includes the following four sub-steps:
- the server uses the geographic location of the terminal as the origin, and establishes a polar coordinate system with the orientation of the camera in the terminal as a polar axis;
- the geographic location of the terminal in the initial coordinate system is (x0, yO), and the orientation of the camera is as shown by the ray a, and the point identified by (x0, yO) is used as the origin in the polar coordinate system.
- the polar coordinate system is established with the ray a as the polar axis in the polar coordinate system.
- the server determines the size of the predetermined radius r according to the elevation information of the camera in the terminal, and the magnitude of the predetermined radius r is positively correlated with the magnitude of the elevation angle represented by the elevation information;
- the predetermined radius r is dynamically determined based on the elevation angle information of the camera of the terminal. In other words, the larger the elevation angle of the camera of the terminal with respect to the horizontal line, the larger the predetermined radius r; the smaller the elevation angle of the camera head with respect to the horizontal line, the smaller the predetermined radius r.
- the server determines the arc angles of a sector area at a predetermined radius r by a ray at a predetermined angle ⁇ and a ray at a predetermined angle ⁇ in a polar coordinate system, and determines an arc of the sector area at a predetermined radius r to obtain a sector area;
- the ray where the predetermined angle ⁇ is located be the ray b
- the ray where the predetermined angle ⁇ is located is the ray C
- the ray b and the ray c determine the two sides of the central angle of the sector.
- the size of ⁇ is a preset value or a value associated with a horizontal viewing angle of a camera of the terminal. For example, camera The horizontal viewing angle is 120 degrees, and ⁇ is 60 degrees.
- the server searches for a geographical location belonging to at least one target in the sector area; specifically, the fourth step may include the following sub-steps:
- the server obtains the geographical locations of the candidate targets
- the server obtains the geographic locations of the candidate's several targets. Specifically, the server may use several targets within a predetermined distance near the geographic location of the terminal as candidates for several targets. In general, the server also obtains information about several candidate targets for later use.
- the geographic locations of several targets of the candidate obtained by the server are the coordinates (X, y) in the initial coordinate system.
- the server converts the geographic locations of the candidate targets into polar coordinates (P, ⁇ ) in the polar coordinate system;
- the server can convert the geographic locations of the candidate targets into polar coordinates in the polar coordinate system established in the first step. Referring to Figure 3C, specifically:
- the server converts the geographical position (x, y) of the candidate targets in the initial coordinate system into a first coordinate (xl, yl) in a predetermined Cartesian coordinate system according to a first predetermined formula, and the origin of the predetermined Cartesian coordinate system is
- tan2 ( ) represents the arctangent function
- the result is expressed in radians and is between -pi and i (excluding -pi ).
- the server searches for at least one target whose geographic location belongs to the sector based on the converted polar coordinates (p, ⁇ ).
- the server searches for at least one target in the sector based on the converted polar coordinates (p, ⁇ ) of the candidate targets.
- predetermined condition further includes specifying the attribute, searching for the target that meets the specified attribute from the found at least one target;
- the predetermined condition does not necessarily include only the geographical location of the target belongs to a predetermined range indicated by the location parameter of the terminal, and the predetermined condition may further include specifying An attribute that includes at least one of gender, age, status, occupation, category, address, and keyword.
- the current user needs to query other users who are "within 1000 meters" and whose gender is “female” and whose age is between "18-35".
- the server also needs to find the target that meets the specified attribute again from at least one of the targets found in sub-step 3.
- the predetermined condition may also include other conditions.
- the predetermined condition may further include “a user who shakes the mobile phone simultaneously with the current terminal”. These other conditions may vary from one embodiment to another, but do not affect the description of the present invention, and therefore are not described herein.
- Step 403 The server determines, according to the polar coordinates (p, ⁇ ) of each target in the polar coordinate system, the display position of the information of each target in the first display dimension of the terminal and the display position in the second display dimension. ;
- the server coordinates the polar coordinates of each target in the polar coordinate system.
- (P, ⁇ ) determining a display position of the information of each target in the first display dimension of the terminal and a display position on the second display dimension, and the display position on the first display dimension corresponds to the polar coordinate angle ⁇ of the target,
- the display position on the second display dimension corresponds to the polar coordinate distance ⁇ of the target;
- the first display dimension is perpendicular to the second display dimension.
- the first display dimension refers to the horizontal display dimension of the terminal relative to the ground
- the second display dimension refers to the vertical display dimension of the terminal relative to the ground.
- the display position of the target information in the first display dimension indicates the actual position of the target relative to the terminal in the current camera view
- the display position of the target information in the second display dimension indicates the target relative position. In the distance of the terminal, the higher the display position in the second display dimension, the farther the target is from the terminal; the lower the display position in the second display dimension, the closer the target is to the terminal.
- Step 404 The server sends, to the terminal, a display position of the at least one target on the first display dimension, and a display position and information on the second display dimension.
- the terminal receives the display position of the at least one target fed back by the server in the first display dimension, the display position and the information in the second display dimension.
- the first display dimension The display position on the top corresponds to the polar coordinate angle ⁇ of the target, and the display position on the second display dimension corresponds to the polar coordinate of the target.
- Step 405 The terminal superimposes the information of the target on the real-time street view image according to the display position on the first display dimension of the terminal and the display position on the second display dimension.
- the display position on the first display dimension is determined according to the relative direction between the target and the terminal; the display position on the second display dimension is determined according to the relative distance between the target and the terminal.
- the effect diagram can be seen in Figure 3D.
- the target information includes at least one of an avatar, a nickname, an IP address, a gender, an age, a status, an occupation, a category, an address, and a keyword.
- the information shown in Figure 3D for Target 33 and Target 34 is exemplified by avatar, nickname and gender.
- Step 406 The terminal detects, in the motion of the terminal, whether information of a target exists in a predetermined display area of the terminal;
- the display position of the information of the target is related to the relative geographical position between the target and the terminal, when the terminal is displaced or rotated, the display position of the information of the target also changes.
- the user can control the motion of the terminal so that the information of the target is located in a predetermined display area of the terminal, such as the center of the screen, thereby generating a trigger signal.
- the center of the screen of the terminal has a predetermined display area 36 having a rounded rectangular shape.
- the display position of the target 33 is shifted to the right; when the terminal is rotated or displaced to the right, the target is The display position of 33 will shift to the left; when the elevation angle of the camera of the terminal with respect to the horizontal line becomes larger, the display position of the target 33 will move downward; when the elevation angle of the camera of the terminal with respect to the horizontal line becomes smaller, the display position of the target 33 will move up. .
- the user When the user wants to perform a subsequent operation on a certain target 33, the user can make the terminal move to control the target 33 to be located in the predetermined display area 36; at this time, the terminal detects whether there is a target information located in the predetermined display area of the terminal.
- Step 407 If the detection result is that the information that exists in one target is located in the predetermined display area of the terminal, the operation for the target is triggered. If the detection result of the terminal is that the information in which one target exists is located in the predetermined display area of the terminal, the operation for the target is triggered. Since the target is not necessarily the same in different embodiments in different embodiments, the operations for the target may also be different. Specifically, if the target is another user, triggering at least one of a display detailed information operation, a display operation prompt frame operation, a add friend operation, a send information operation, a send predetermined instruction operation, and a mark operation for the target;
- the terminal can trigger the display detailed information operation for the target; for example, the target is other users in the instant communication program, and the target The information is displayed with an avatar and a nickname, and the terminal can trigger an add friend operation for the target; for example, if the target is another user in the instant communication program, and the target information displays an avatar and a nickname, the terminal can trigger the target Sending a predetermined instruction operation, which may be an instruction to cause a terminal used by the target to emit light, sound, or vibrate; for example, the terminal may also trigger a marking operation for the target, such as a "like" operation or a "comment" operating.
- a predetermined instruction operation which may be an instruction to cause a terminal used by the target to emit light, sound, or vibrate
- the terminal may also trigger a marking operation for the target, such as a "like" operation or a "comment" operating.
- the target is another terminal, triggering at least one of a send information operation, a send file operation, a download file operation, and a establish connection operation for the target; if the target is a P0I point, triggering for the target Displaying a detailed information operation or a navigation operation; if the target is a wireless access point, triggering an operation of accessing the wireless network to which the target belongs.
- the target operation method provided by the embodiment provides that the display position of the information of the target is associated with the relative geographical position between the target and the terminal by superimposing the information of the at least one target on the real-time street view image, and there is a
- the operation for the target is triggered; the existing target operation method is solved, and only the displayed text information can be used to determine whether other users are users who need to perform subsequent operations, and the operation is performed.
- the result may not be the result of the user's true hope; the user can pass
- the information of the target displayed on the real-time street view image is superimposed to more intuitively know the relative geographical position between the target and the terminal, thereby more accurately determining whether the target is an effect of a target that needs to perform subsequent operations.
- the following operations are triggered by detecting whether a target information is located in a predetermined display area of the terminal during the motion of the terminal, so that the user can perform the triggering of the subsequent operation by the one-handed handheld terminal, and the whole operation process is simple and efficient. .
- the display position of the information of the target changes according to the motion change of the terminal, and may be implemented by other possible methods, such as the terminal collecting the motion information of the terminal, and then directly adjusting the information of the target according to the motion information.
- the display position in other words, the terminal detects that it has shifted to the left by 1 cm, and then shifts the display position of the target information directly to the right by 1 cm.
- the display position of the information of the target may be kept still after step 405, but the predetermined display area 36 changes in accordance with the motion change of the terminal, and step 406 and step 407 can also be implemented. This article does not specifically limit this.
- the following is an embodiment of the device of the present invention. For details not specifically described in the device embodiment, reference may be made to the corresponding method embodiments described above.
- the target operating device can be implemented as all or part of the terminal by software, hardware or a combination of both.
- the target operating device includes: a target display module 520, a position detecting module 540, and an operation triggering module 560.
- the target display module 520 is configured to superimpose and display information of at least one target on the real-time street view image displayed by the terminal, where the display position of the information of the target is associated with a relative geographical position between the target and the terminal;
- a location detecting module 540 configured to detect, during the motion of the terminal, whether information of a target exists in a predetermined display area of the terminal;
- the operation triggering module 560 is configured to trigger an operation for the target if the detection result is that the information that exists in one target is located in a predetermined display area of the terminal.
- the target operating device provided by the embodiment provides superimposed display of information of at least one target on the real-time street view image, and the display position of the target information is associated with the relative geographical position between the target and the terminal, and there is a
- the operation for the target is triggered; the existing target operation method is solved, and only the displayed text information can be used to determine whether other users are users who need to perform subsequent operations, and the operation is performed.
- the result may not be the result of the user's actual desired result; the user can obtain the relative geographical position between the target and the terminal more intuitively through the information of the target superimposed on the real-time street view image, thereby more accurately determining whether the target is The effect of the target that needs to perform subsequent actions.
- FIG. 6 there is shown a block diagram of the structure of a target operating device provided by another embodiment of the present invention.
- the target operating device can be implemented as all or part of the terminal by software, hardware or a combination of both.
- the target operating device includes: a target display module 520, a position detecting module 540, and an operation triggering module 560.
- the target display module 520 is configured to superimpose and display information of at least one target on the real-time street view image displayed by the terminal, where the display position of the information of the target is associated with a relative geographical position between the target and the terminal;
- a location detecting module 540 configured to detect, during the motion of the terminal, whether information about a target exists in a predetermined display area of the terminal;
- the operation triggering module 560 is configured to trigger an operation for the target if the detection result is that the information that there is a target is located in a predetermined display area of the terminal.
- the target display module 520 includes: a parameter acquisition unit 522, a target search unit 524, a position determination unit 526, and a target display unit 528;
- the parameter obtaining unit 522 is configured to acquire a location parameter of the terminal every predetermined time interval;
- the target searching unit 524 is configured to search, according to the location parameter of the terminal, at least one target that meets a predetermined condition, where the predetermined condition includes that the geographic location of the target belongs to a predetermined range indicated by the location parameter of the terminal;
- the location determining unit 526 is configured to determine, according to each target and a relative geographic location of the terminal, that the information of each target is displayed on the first display dimension and the display location in the second display dimension;
- the target display unit 528 is configured to superimpose and display the information of the target on the real-time street view image according to the display position on the first display dimension and the display position on the second display dimension on the terminal, the first The display position on the display dimension is determined according to a relative direction between the target and the terminal, and the display position on the second display dimension is determined according to a relative distance between the target and the terminal.
- the location parameter of the terminal includes a geographic location of the terminal, orientation information of the camera in the terminal, and elevation information
- the target search unit 524 includes: a coordinate establishment subunit, a radius determination subunit, and a sector shape. Determining a subunit and a target finding subunit (not specifically shown);
- the coordinate establishing subunit is configured to establish a polar coordinate system by using a geographic location of the terminal as an origin and a direction of the camera in the terminal as a polar axis;
- the radius determining subunit is configured to determine a size of the predetermined radius r according to the elevation information of the camera in the terminal, and the magnitude of the predetermined radius r is positively correlated with the magnitude of the elevation angle represented by the elevation information. ;
- a sector determining subunit for determining, in the polar coordinate system, two sides of a central angle of a sector area by a ray of a predetermined angle ⁇ and a ray of a predetermined angle ⁇ , determining the predetermined radius r An arc of the sector area to obtain the sector area;
- the target search subunit is configured to find at least one target whose geographic location belongs to the sector area.
- the target search unit 524 further includes: an attribute search subunit (not shown);
- the attribute search subunit configured to: if the predetermined condition further includes a specified attribute, search for a target that meets the specified attribute from the at least one of the found targets;
- the specified attribute includes at least one of gender, age, status, occupation, category, address, and keyword.
- the location determining unit 526 includes: a location determining subunit and a target display subunit (not specifically shown);
- the position determining subunit is configured to determine, according to the found polar coordinates (p, ⁇ ) in the polar coordinate system, the information of each target on the first display dimension of the terminal a display position and a display position on the second display dimension, the display position in the first display dimension corresponds to a polar coordinate angle ⁇ of the target, and the display position in the second display dimension is related to the target
- the polar coordinate distance p corresponds.
- the operation triggering module 560 is configured to:
- the target is another user, triggering at least one of a display detailed information operation, a display operation prompt frame operation, a add friend operation, a send information operation, a send predetermined instruction operation, and a mark operation for the target;
- the target is another terminal, triggering at least one of a send information operation, a send file operation, a download file operation, and a establish connection operation for the target;
- the target is a P0I point, triggering a display detailed information operation or a navigation operation for the target;
- the target operating device passes on the real-time street view image.
- the display position of the information of the target is associated with a relative geographical position between the target and the terminal, and triggering an operation for the target when the information of the target is located in the predetermined display area of the terminal;
- the existing target operation method can only determine whether other users are users who need to perform subsequent operations through the displayed text information, and the result of the operation may not be the result of the user's real hope; the user can pass the real-time street view image.
- the information of the displayed target is superimposed to more intuitively know the relative geographical position between the target and the terminal, thereby more accurately determining whether the target is an effect of a target that needs to perform subsequent operations.
- the following operations are triggered by detecting whether a target information is located in a predetermined display area of the terminal during the motion of the terminal, so that the user can perform the triggering of the subsequent operation by the one-handed handheld terminal, and the whole operation process is simple and efficient.
- the above embodiment is exemplified only by the fact that the arithmetic operation in the target operating device is mainly performed by the terminal. Since the computing power of the terminal is uneven, in order to reduce the computing power requirement of the terminal when the target operating device is applied to the terminal, the computing operation in the target operating device can be mainly performed by the server. details as follows:
- the target operating device can be implemented as all or part of the terminal by software, hardware or a combination of both.
- the target operating device includes: a target display module 520, a position detecting module 540, and an operation triggering module 560.
- the target display module 520 is configured to superimpose and display information of at least one target on the real-time street view image displayed by the terminal, where the display position of the information of the target is associated with a relative geographical position between the target and the terminal;
- a location detecting module 540 configured to detect, during the motion of the terminal, whether information of a target exists in a predetermined display area of the terminal;
- the operation triggering module 560 is configured to trigger an operation for the target if the detection result is that the information that exists in one target is located in a predetermined display area of the terminal.
- the target display module 520 includes: a parameter sending unit 521, an information receiving unit 523, and a target display unit 525;
- the parameter sending unit 521 is configured to send the location parameter of the terminal to the server every predetermined time interval;
- the information receiving unit 523 is configured to receive a display position in the first display dimension, a display position and information in the second display dimension of the at least one target fed back by the server, and the first display a display position in the dimension corresponds to a polar coordinate angle ⁇ of the target, and a display position in the second display dimension corresponds to a polar coordinate distance p of the target;
- the target display unit 525 is configured to superimpose information of the target on the real-time street view image according to the display position on the first display dimension and the display position on the second display dimension on the terminal, the first The display position on the display dimension is determined according to a relative direction between the target and the terminal, and the display position on the second display dimension is determined according to a relative distance between the target and the terminal direction.
- a server comprising a target finding device, the server comprising: a parameter receiving module 620, a target finding module 640, a location determining module 660 and an information sending module 680.
- the parameter receiving module 620 is configured to receive a location parameter of the terminal that is sent by the terminal every predetermined time interval;
- the target search module 640 is configured to search, according to the location parameter of the terminal, at least one target that meets a predetermined condition, where the predetermined condition includes that the geographic location of the target belongs to a predetermined range indicated by the location parameter of the terminal;
- the predetermined range is usually a sectoral region, and the apex of the central corner of the sector is terminated by the terminal.
- the geographical position is determined, and the angle bisector of the central angle of the sector is determined by the orientation information of the camera of the terminal.
- a position determining module 660 configured to determine, according to the found polar coordinates (P, ⁇ ) of each target in a polar coordinate system, a display position and a second display of information of each target on a first display dimension of the terminal.
- the display position in the dimension, the display position in the first display dimension corresponds to the polar coordinate angle ⁇ of the target, and the display position in the second display dimension corresponds to the polar coordinate ⁇ of the target.
- the information sending module 680 the server sends the horizontal display position, the vertical display position and the information of at least one target to the terminal.
- the target finding module 640 includes: a coordinate establishing subunit, a radius determining subunit, a sector determining subunit, and a target finding subunit;
- the coordinate establishing subunit is configured to establish a polar coordinate system by using a geographic location of the terminal as an origin and a direction of a camera in the terminal as a polar axis;
- the radius determining subunit is configured to determine a size of the predetermined radius r according to the elevation information of the camera in the terminal, and the magnitude of the predetermined radius r is positively correlated with the magnitude of the elevation angle represented by the elevation information;
- the predetermined radius r is dynamically determined based on the elevation angle information of the camera of the terminal. In other words, the larger the elevation angle of the camera of the terminal with respect to the horizontal line, the larger the predetermined radius r; the smaller the elevation angle of the camera head with respect to the horizontal line, the smaller the predetermined radius r.
- the sector determining subunit is configured to determine two sides of a central angle of a sector in a polar coordinate system with a ray of a predetermined angle ⁇ and a ray of a predetermined angle _ ⁇ , and determine an arc of the sector by a predetermined radius r, Get the fan area.
- the target search subunit is configured to find at least one target whose geographic location belongs to a sector.
- the target search subunit is used to acquire a plurality of candidate target locations.
- the position of the candidate's several targets is converted to the polar coordinates in the polar coordinate system
- the target search module 640 further includes: searching for the sub-unit again; the re-finding sub-unit, configured to: if the predetermined condition further includes the specified attribute, search for the specified attribute again from the found at least one target aims.
- the location determining module 660 is specifically configured to:
- the target operating device provided by the embodiment provides superimposed display of information of at least one target on the real-time street view image, and the display position of the target information is associated with the relative geographical position between the target and the terminal, and there is a
- the operation for the target is triggered; the existing target operation method is solved, and only the displayed text information can be used to determine whether other users are users who need to perform subsequent operations, and the operation is performed.
- the result may not be the result of the user's actual desired result; the user can obtain the relative geographical position between the target and the terminal more intuitively through the information of the target superimposed on the real-time street view image, thereby more accurately determining whether the target is The effect of the target that needs to perform subsequent actions.
- FIG. 8 is a structural block diagram of a system according to an embodiment of the present invention.
- the system includes a terminal and a server, and the terminal and the server are connected by a wireless network or a wired network;
- the terminal is a terminal provided by the embodiment shown in FIG. 5, FIG. 6, or FIG.
- the target operating device includes one or more processors 901, memory 902, and one or more instructions 903 stored on memory 902 for execution by one or more processors 901.
- the memory 902 can include a target display module 520, a location detection module 540 and an operation trigger module 560, etc., or the memory 902 can include a parameter receiving module 620, a target lookup module 640, a location determining module 660, and an information transmitting module 680.
- These virtual modules include instructions 903 for implementing the respective functions such that when the processor 901 and the memory 902 communicate, read and execute the instructions, the device can perform the corresponding functions.
- the target operating device provided by the foregoing embodiment is only illustrated by the division of each functional module in the operation target. In actual applications, the function distribution may be completed by different functional modules as needed. The internal structure of the device is divided into different functional modules to perform all or part of the functions described above.
- the target operating device provided by the above embodiment is the same as the embodiment of the target operating method, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
- serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
- a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
- the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Navigation (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention relates to the field of Internet, and provides a method, a system, and a device for performing an operation for a target. The method comprises: displaying, in an overlapping manner, information about at least one target on a real-time streetscape image displayed by a terminal, the display position of the information about the target being associated with relative geographic positions of the target and the terminal; detecting whether information about one target is located within a predetermined display area of the terminal; if a detection result indicates that information about one target is located within the predetermined display area of the terminal, triggering an operation for the target. A user can more intuitively know the relative geographic positions of the target and the terminal according to target information displayed in an overlapping manner on a real-time streetscape image, thereby more accurately determining whether a target is a target for which a subsequent operation needs to be performed.
Description
目标操作方法、 系统及 i殳备 Target operation method, system and equipment
技术领域 Technical field
本发明涉及互联网领域,特别涉及一种目标操作方法、 系统及设备。 发明背景 The present invention relates to the field of the Internet, and in particular, to a target operating method, system and device. Background of the invention
诸如智能手机、 平板电脑、 掌上电脑和电子书阅读器之类的终端已 经在日常生活中被用户广泛使用。 当用户使用即时通信终端时, 通过终 端来查看附近的人并添加为好友是用户最常用的功能之一。 Terminals such as smartphones, tablets, PDAs, and e-book readers have been widely used by users in their daily lives. When a user uses an instant messaging terminal, viewing the nearby person through the terminal and adding it as a friend is one of the most commonly used functions of the user.
以添加附近的人作为目标操作为例, 目前的一种目标操作方法, 包 括: 首先, 当前用户通过诸如 "摇一摇"、 "吹一吹" 之类的触发信号来 触发终端开始查找附近的人; 然后, 终端先定位自身的地理位置, 再查 找与自身的地理位置处于同一区域的若干个其它用户, "同一区域" 可 以是指终端自身的地理位置附近 500米、 1公里或 5公里等; 终端将查 找到的若干个其它用户通过列表方式显示给当前用户, 比如 "艾米, 女, 距您 300 米"; 终端在接收到当前用户的选择信号以及添加好友信号之 后, 将相应的其它用户添加为当前用户的好友。 Taking the nearby person as the target operation as an example, the current target operation method includes: First, the current user triggers the terminal to start searching for nearby by a trigger signal such as "shake" or "blow" Then; the terminal first locates its own geographical location, and then finds several other users in the same area as its own geographical location. The "same area" may refer to the location of the terminal itself, 500 meters, 1 kilometer or 5 kilometers, etc. The terminal will display several other users to the current user through the list, such as "Amy, female, 300 meters away from you"; after receiving the current user's selection signal and adding the friend signal, the terminal will correspondingly The user is added as a friend of the current user.
发明内容 Summary of the invention
根据本发明的第一方面,提供了一种目标操作方法,所述方法包括: 在终端显示的实时街景图像上叠加显示至少一个目标的信息, 所述 目标的信息的显示位置关联于所述目标与所述终端之间的相对地理位 置; According to a first aspect of the present invention, a target operation method is provided, the method comprising: superimposing information of at least one target on a real-time street view image displayed by a terminal, wherein a display position of the information of the target is associated with the target Relative geographic location with the terminal;
检测是否存在一个目标的信息位于所述终端的预定显示区域内;
若检测结果为存在一个目标的信息位于所述终端的预定显示区域 内, 则触发针对所述目标的操作。 Information for detecting whether a target exists is located in a predetermined display area of the terminal; If the detection result is that the information in which one target exists is located in the predetermined display area of the terminal, the operation for the target is triggered.
根据本发明的第二方面,提供了一种目标操作装置,所述装置包括: 目标显示模块, 用于在终端显示的实时街景图像上叠加显示至少一 个目标的信息, 所述目标的信息的显示位置关联于所述目标与所述终端 之间的相对地理位置; According to a second aspect of the present invention, a target operating device is provided, the device comprising: an object display module, configured to superimpose and display information of at least one target on a real-time street view image displayed by the terminal, and display the information of the target a location associated with a relative geographic location between the target and the terminal;
位置检测模块, 用于在所述终端的运动过程中检测是否存在一个目 标的信息位于所述终端的预定显示区域内; a location detecting module, configured to detect, during the motion of the terminal, whether information of a target exists in a predetermined display area of the terminal;
操作触发模块, 用于若检测结果为存在一个目标的信息位于所述终 端的预定显示区域内, 则触发针对所述目标的操作。 The operation triggering module is configured to trigger an operation for the target if the detection result is that the information that there is a target is located in the predetermined display area of the terminal.
根据本发明的第三方面, 提供了一种终端, 所述终端包括如上第二 方面提供的目标操作装置。 According to a third aspect of the invention, there is provided a terminal comprising the target operating device as provided in the second aspect above.
根据本发明的第四方面, 提供了一种系统, 所述系统包括终端和服 务器, 所述终端和所述^)良务器通过无线网络或者有线网络相连; 所述终 端是如上第三方面所述的终端。 According to a fourth aspect of the present invention, a system is provided, the system comprising a terminal and a server, wherein the terminal and the server are connected by a wireless network or a wired network; The terminal described.
根据本发明的第五方面, 提供了一种电子设备, 所述电子设备包括 存储器和一个或多个处理器, 其中存储器中存储有一个或多个指令, 用 于执行如上第一方面所述的各个步骤。 附图简要说明 According to a fifth aspect of the present invention, an electronic device is provided, the electronic device comprising a memory and one or more processors, wherein the memory stores one or more instructions for performing the method as described in the first aspect above Each step. BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描 述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图 仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出 创造性劳动的前提下, 还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in view of the drawings.
图 1是本发明实施例所提供的目标操作方法所涉及的实施环境的结
构示意图; 1 is a diagram of an implementation environment involved in a target operation method according to an embodiment of the present invention; Schematic diagram
图 2是本发明一个实施例所提供的目标操作方法的方法流程图; 图 3A是本发明另一实施例所提供的目标操作方法的方法流程图; 图 3B是本发明实施例所涉及的极坐标系的实施示意图; 2 is a flowchart of a method for a target operation method according to an embodiment of the present invention; FIG. 3A is a flowchart of a method for a target operation method according to another embodiment of the present invention; FIG. 3B is a pole of an embodiment of the present invention; Schematic diagram of the implementation of the coordinate system;
图 3C是本发明实施例所涉及的坐标转换的实施示意图; 3C is a schematic diagram of implementation of coordinate conversion according to an embodiment of the present invention;
图 3D是本发明实施例所涉及的目标的信息的显示示意图; 图 3E是本发明实施例所涉及的目标操作时的显示示意图; 图 4是本发明再一个实施例提供的目标操作方法的方法流程图; 图 5是本发明一个实施例提供的目标操作装置的结构方框图; 图 6是本发明另一个实施例提供的目标操作装置的结构方框图; 图 7是本发明再一个实施例提供的目标操作装置的结构方框图; 图 8是本发明一个实施例提供的系统的结构方框图; 3D is a schematic diagram showing the display of the information of the object according to the embodiment of the present invention; FIG. 3E is a schematic diagram of the display of the target operation according to the embodiment of the present invention; FIG. 4 is a schematic diagram of the method for operating the target according to another embodiment of the present invention; Figure 5 is a block diagram showing the structure of a target operating device according to an embodiment of the present invention; Figure 6 is a block diagram showing the structure of a target operating device according to another embodiment of the present invention; Figure 7 is a block diagram of another embodiment of the present invention. FIG. 8 is a structural block diagram of a system according to an embodiment of the present invention; FIG.
图 9是本发明又一个实施例提供的目标操作设备的结构示意图。 实施本发明的方式 FIG. 9 is a schematic structural diagram of a target operating device according to still another embodiment of the present invention. Mode for carrying out the invention
在实现本发明的过程中, 发明人发现现有技术至少存在以下问题: 由于当前用户只能通过昵称、 性别和距离等显示出的文字信息来确定其 它用户是否是需要执行后续操作的用户, 所能够依据的信息有限而且不 够直观, 导致即便进行了添加好友之类的后续操作, 但是最终的添加结 果也并不一定是用户真实希望的结果。 In the process of implementing the present invention, the inventors have found that at least the following problems exist in the prior art: Since the current user can only determine the other users as the users who need to perform subsequent operations by using the text information displayed by the nickname, gender, distance, and the like. The information that can be relied upon is limited and not intuitive enough, so that even if a follow-up operation such as adding a friend is performed, the final result of the addition is not necessarily the result that the user really wants.
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对 本发明实施方式作进一步地详细描述。 The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
请参考图 1, 其示出了本发明实施例所提供的目标操作方法所涉及 的实施环境的结构示意图。 该实施环境包括终端 120和服务器 140。 其 中:
终端 120可以是包括有摄像头的电子设备, 该电子设备可以是智能 手机、 平板电脑、 电子书阅读器、 MP3播放器(Moving Picture Exper t s Group Audio Layer 111,动态影像专家压缩标准音频层面 3 )、MP4( Moving P icture Exper t s Group Aud io Layer IV, 动态影像专家压缩标准音频 层面 3 )播放器、 膝上型便携计算机和台式计算机等等。 Please refer to FIG. 1 , which is a schematic structural diagram of an implementation environment involved in a target operation method according to an embodiment of the present invention. The implementation environment includes a terminal 120 and a server 140. among them: The terminal 120 may be an electronic device including a camera, and the electronic device may be a smart phone, a tablet computer, an e-book reader, an MP3 player (Moving Picture Exper ts Group Audio Layer 111, a motion picture expert compression standard audio layer 3), MP4 (Moving Picture Exper ts Group Audio Layer IV, Motion Picture Expert Compress Standard Audio Level 3) player, laptop portable computer and desktop computer, etc.
终端 120与服务器 140之间可以通过无线网络或者有线网络相连。 服务器 140可以是一台服务器, 或者由若干台服务器组成的服务器 集群, 或者是一个云计算服务中心。 请参考图 2, 其示出了本发明一个实施例所提供的目标操作方法的 方法流程图。 本实施例主要以该目标操作方法应用于图 1所示的实施环 境中来举例说明, 该目标操作方法, 包括: The terminal 120 and the server 140 can be connected by a wireless network or a wired network. The server 140 can be a server, or a server cluster consisting of several servers, or a cloud computing service center. Please refer to FIG. 2, which shows a flowchart of a method for a target operation method provided by an embodiment of the present invention. This embodiment is mainly illustrated by applying the target operation method to the implementation environment shown in FIG. 1 , and the target operation method includes:
步骤 202, 在终端显示的实时街景图像上叠加显示至少一个目标的 信息, 目标的信息的显示位置关联于目标与终端之间的相对地理位置; 街景图像, 分为两种: 传统街景图像和实时街景图像。 其中, 传统 街景图像是预先釆集完毕, 并保存在服务器中的街景图像, 终端可以从 服务器中随时调用该街景图像来进行显示; 实时街景图像是指终端位于 某一街景时,通过内置摄像头实时釆集到的图像。本文中主要涉及后者, 也即实时街景图像。 Step 202: superimposing information of at least one target on the real-time street view image displayed by the terminal, where the display position of the target information is related to the relative geographical position between the target and the terminal; the street view image is divided into two types: a traditional street view image and real-time Street view image. The traditional street view image is a street view image that is pre-collected and saved in the server, and the terminal can call the street view image to display from the server at any time; the real-time street view image refers to the real-time street view image through the built-in camera when the terminal is located in a certain street scene. The image collected. This article mainly deals with the latter, that is, real-time street view imagery.
目标可以是其它用户、 其它终端、 P0I ( Point of Interes t , 兴趣 点)、 IP地址能够标识所在位置的无线接入点中的任意一种。 本文中仅 以目标是其它用户来举例说明。 The target may be any of other users, other terminals, P0I (Point of Interes t, interest point), and a wireless access point where the IP address can identify the location. In this article, we only give examples to other users.
步骤 204, 在终端的运动过程中检测是否存在一个目标的信息位于 终端的预定显示区域内; Step 204: detect, during the motion of the terminal, whether information of a target exists in a predetermined display area of the terminal;
由于目标的信息的显示位置关联于目标与终端之间的相对地理位
置, 当终端发生位移或者转动时, 目标的信息的显示位置也会随之发生 变化。 用户可以控制终端的运动, 来使目标的信息位于终端的预定显示 区域内, 比如屏幕中央, 从而产生触发信号。 Since the display position of the target information is associated with the relative geographic position between the target and the terminal When the terminal is displaced or rotated, the display position of the target information will also change. The user can control the motion of the terminal so that the information of the target is located in a predetermined display area of the terminal, such as the center of the screen, thereby generating a trigger signal.
步骤 206, 若检测结果为存在一个目标的信息位于终端的预定显示 区域内, 则触发针对目标的操作。 Step 206: If the detection result is that the information in which one target exists is located in the predetermined display area of the terminal, the operation for the target is triggered.
综上所述, 本实施例提供的目标操作方法, 通过在实时街景图像上 叠加显示至少一个目标的信息, 目标的信息的显示位置关联于目标与终 端之间的相对地理位置, 并在存在一个目标的信息位于终端的预定显示 区域内时, 触发针对该目标的操作; 解决了现有的目标操作方法只能通 过显示出的文字信息来确定其它用户是否是需要执行后续操作的用户, 操作的结果可能并非用户真实希望的结果的问题; 达到了用户可以通过 实时街景图像上叠加显示的目标的信息, 来更直观地获知目标与终端之 间的相对地理位置, 从而更准确地确定目标是否是需要执行后续操作的 目标的效果。 在上述步骤 202中, 需要涉及定位和相关显示位置的计算等运算工 作, 这些运算工作可以主要由终端来完成, 也可以由服务器来完成。 下 请参考图 3A, 其示出了本发明另一实施例提供的目标操作方法的方 法流程图。 本实施例主要以该目标操作方法应用于图 1所示的实施环境 来举例说明。 该目标操作方法, 包括: In summary, the target operation method provided by the embodiment provides that the display position of the information of the target is associated with the relative geographical position between the target and the terminal by superimposing the information of the at least one target on the real-time street view image, and there is a When the information of the target is located in the predetermined display area of the terminal, the operation for the target is triggered; the existing target operation method is solved, and only the displayed text information can be used to determine whether other users are users who need to perform subsequent operations, and the operation is performed. The result may not be the result of the user's actual desired result; the user can obtain the relative geographical position between the target and the terminal more intuitively through the information of the target superimposed on the real-time street view image, thereby more accurately determining whether the target is The effect of the target that needs to perform subsequent actions. In the above step 202, operations such as calculation of positioning and related display positions are required, and these operations can be mainly performed by the terminal or by the server. Referring to FIG. 3A, a flowchart of a method for operating a target according to another embodiment of the present invention is shown. This embodiment is mainly illustrated by applying the target operation method to the implementation environment shown in FIG. 1. The target operation method includes:
步骤 301, 终端每隔预定时间间隔获取终端的位置参数; Step 301: The terminal acquires a location parameter of the terminal every predetermined time interval.
首先, 终端获取终端的位置参数, 终端的位置参数通常包括终端的 地理位置、 终端的摄像头的朝向信息和摄像头的仰角信息, 还可能包括 终端的运动信息。 具体来讲:
若终端的位置参数包括终端的地理位置,则终端通过 LBS( location Based Service, 基于位置的服务) 定位技术获取自身的地理位置; 该 LBS定位技术包括但不限于: GPS ( Global Positioning System, 全球 定位系统) 定位技术、 COO (Cell of Origin, 蜂窝小区) 定位技术、 TDOA ( Time Difference of Arrival , 到达时间差) 定位技术中的至 少一种。 First, the terminal acquires the location parameter of the terminal. The location parameter of the terminal usually includes the geographic location of the terminal, the orientation information of the camera of the terminal, and the elevation information of the camera, and may also include the motion information of the terminal. Specifically: If the location parameter of the terminal includes the geographic location of the terminal, the terminal acquires its geographic location through an LBS (Location Based Service) positioning technology; the LBS positioning technology includes but is not limited to: GPS (Global Positioning System, global positioning) System) At least one of positioning technology, COO (Cell of Origin) positioning technology, and TDOA (Time Difference of Arrival) positioning technology.
若终端的位置参数包括终端的摄像头的朝向信息, 则终端通过内置 的电子罗盘传感器来获取终端的摄像头的朝向信息; If the location parameter of the terminal includes the orientation information of the camera of the terminal, the terminal acquires the orientation information of the camera of the terminal through the built-in electronic compass sensor;
若终端的位置参数包括终端的仰角信息, 则终端通过内置的陀螺仪 传感器来获取终端的仰角信息; If the location parameter of the terminal includes the elevation information of the terminal, the terminal acquires the elevation information of the terminal through the built-in gyro sensor;
若终端的位置参数包括终端的运动信息, 则终端通过内置的三轴加 速度传感器和 /或陀螺仪传感器来获取终端的运动信息。 其中, 三轴加 速度传感器用于获取终端发生移动时的运动信息, 陀螺仪传感器用于获 取终端发生转动时的运动信息。 If the position parameter of the terminal includes the motion information of the terminal, the terminal acquires the motion information of the terminal through the built-in three-axis acceleration sensor and/or the gyro sensor. The three-axis acceleration sensor is used to acquire motion information when the terminal moves, and the gyro sensor is used to obtain motion information when the terminal rotates.
步骤 302, 终端根据终端的位置参数查找符合预定条件的至少一个 目标, 预定条件包括目标的地理位置属于终端的位置参数所指示的预定 范围内; Step 302: The terminal searches for at least one target that meets a predetermined condition according to the location parameter of the terminal, where the predetermined condition includes that the geographic location of the target belongs to a predetermined range indicated by the location parameter of the terminal;
该预定范围通常是一个扇形区域, 该扇形区域的圓心角顶点由终端 的地理位置确定, 该扇形区域的圓心角的角平分线由终端的摄像头的朝 向信息确定。 The predetermined range is typically a sectoral region whose apex angle is determined by the geographic location of the terminal, and the angular bisector of the central angle of the sector is determined by the orientation information of the camera of the terminal.
具体来讲, 本步骤包括如下四个子步骤: Specifically, this step includes the following four sub-steps:
第一、 终端以终端的地理位置作为原点, 以终端中的摄像头的朝向 作为极轴建立极坐标系; First, the terminal uses the geographic location of the terminal as an origin, and establishes a polar coordinate system with the orientation of the camera in the terminal as a polar axis;
结合参考图 3B, 设终端在初始坐标系中的地理位置为 (x0, yO), 摄像头的朝向如射线 a所示, 则以 (x0, yO)所标识的点作为极坐标系
中的原点, 以射线 a作为极坐标系中的极轴来建立极坐标系。 Referring to FIG. 3B, the geographic location of the terminal in the initial coordinate system is (x0, yO), and the orientation of the camera is as shown by the ray a, and the point identified by (x0, yO) is used as the polar coordinate system. In the origin, the polar coordinate system is established by using the ray a as the polar axis in the polar coordinate system.
第二、终端根据终端中的摄像头的仰角信息确定预定半径 r的大小, 预定半径 r的数值大小与仰角信息所表征的仰角的大小呈正相关关系; 预定半径 r根据终端的摄像头的仰角信息来动态确定。 换句话说, 终端的摄像头相对于水平线的仰角越大, 则预定半径 r越大; 终端的摄 像头相对于水平线的仰角越小, 则预定半径 r越小。 Second, the terminal determines the size of a predetermined radius r in accordance with the elevation angle information of the camera terminal, the size of numerical size of the elevation information of a predetermined radius r being characterized elevation positive correlation; predetermined radius r dynamically according to the elevation angle information of the camera terminal determine. In other words, the larger the elevation angle of the camera of the terminal with respect to the horizontal line, the larger the predetermined radius r; the smaller the elevation angle of the camera of the terminal with respect to the horizontal line, the smaller the predetermined radius r.
第三、终端在极坐标系中以预定角度 β所在的射线和预定角度- β所 在的射线确定一个扇形区域的圓心角的两边, 以预定半径 r确定扇形区 域的弧线, 得到扇形区域; Third, the terminal determines the arc of the sector area at a predetermined radius r by a ray at a predetermined angle β and a predetermined angle θ in the polar coordinate system, and determines a sector of the sector by a predetermined radius r to obtain a sector area;
设预定角度 β所在的射线为射线 b,预定角度 - β所在的射线为射线 Let the predetermined angle β be the ray b, and the predetermined angle - β is the ray
C 则以射线 b和射线 c来确定扇形区域的圓心角的两边。 其中, β的 大小为预设值或者与终端的摄像头的水平视角关联的值。 比如, 摄像头 的水平视角为 120度, 则 β为 60度。 C uses ray b and ray c to determine both sides of the central angle of the sector. Wherein the size of β is a preset value or a value associated with the horizontal angle of view of the camera of the terminal. For example, if the camera's horizontal viewing angle is 120 degrees, then β is 60 degrees.
第四、 终端查找地理位置属于扇形区域内的至少一个目标; 具体来讲, 第四步骤可以包括如下子步骤: Fourth, the terminal searches for a geographical location belonging to at least one target in the sector area; specifically, the fourth step may include the following sub-steps:
1、 终端向服务器获取候选的若干个目标的地理位置; 1. The terminal acquires the geographical location of the candidate target objects from the server;
终端可以向服务器获取候选的若干个目标的地理位置。 具体来讲, 终端可以向服务器发送自身的地理位置, 然后服务器接收到该地理位置 之后, 将该地理位置附近预定距离内的若干个目标作为候选的若干个目 标, 然后将该候选的若干个目标的地理位置反馈给终端。 通常来讲, 终 端还会同时获取到候选的若干个目标的信息, 以便后续显示时使用。 The terminal can obtain the geographical location of the candidate several targets from the server. Specifically, the terminal may send its own geographic location to the server, and then after receiving the geographic location, the server selects several targets within a predetermined distance in the vicinity of the geographic location as candidate targets, and then selects the target of the candidate. The location of the location is fed back to the terminal. Generally speaking, the terminal also obtains information of several candidate targets at the same time, so that it can be used for subsequent display.
4叚设终端获取到的候选的若干个目标的地理位置是在初始坐标系中 的坐标(x, y )。 4 The geographic location of several targets of the candidate acquired by the terminal is the coordinate (x, y) in the initial coordinate system.
2、终端将候选的若干个目标的地理位置转换为极坐标系中的极坐标 ( p, Θ );
终端可以将从服务器获取到的候选的若干个目标的地理位置转换为 第一步骤中建立的极坐标系中的极坐标。 结合参考图 3C, 具体来讲: 终端将候选的若干个目标在初始坐标系中的地理位置 (x, y )按照 第一预定公式转换成预定直角坐标系中的第一坐标(xl, yl ), 该预定 直角坐标系的原点由终端的地理位置 (x0, yO )确定, 预定直角坐标系 的 X轴正向由终端的摄像头的朝向信息确定, 该第一预定公式为: 2. The terminal converts the geographic locations of the candidate targets into polar coordinates (p, Θ) in the polar coordinate system; The terminal may convert the geographic locations of the plurality of targets acquired from the server into polar coordinates in the polar coordinate system established in the first step. Referring to FIG. 3C in detail, the terminal specifically converts the geographical position (x, y) of the candidate targets in the initial coordinate system into the first coordinate (xl, yl) in the predetermined Cartesian coordinate system according to the first predetermined formula. The origin of the predetermined Cartesian coordinate system is determined by the geographic location (x0, yO) of the terminal, and the X-axis forward direction of the predetermined Cartesian coordinate system is determined by the orientation information of the camera of the terminal, and the first predetermined formula is:
xl=x-cos a +ys in α - ( xO'cos a +yO's in α ); yl=— x'.s in a +y"Co s α— (— xO's in a +yO''cos α ), 其中, α是子贞定直角 坐标系的 X 轴正向沿逆时针方向指向初始坐标系的 X 轴正向之间的夹 角; Xl=x-cos a +ys in α - ( xO'cos a +yO's in α ); yl=— x'.s in a +y"Co s α— (—xO's in a +yO''cos α ) , where α is the angle between the X-axis of the Cartesian Cartesian coordinate system and the positive direction of the X-axis of the initial coordinate system in the counterclockwise direction;
将各个目标的第一坐标(xl, yl )按照第二预定公式转换成极坐标 系中的第二坐标( ρ, Θ ), 该第二预定公式为: Converting the first coordinate (xl, yl) of each target into a second coordinate (ρ, Θ) in the polar coordinate system according to a second predetermined formula, the second predetermined formula being:
ρ =^12 +yl2, Θ =a tan2 ( yl , xl ), ρ =^1 2 +yl 2 , Θ =a tan2 ( yl , xl ),
其中 a tan2 ( )代表反正切函数, 其结果以弧度表示, 并介于 -pi 到 i之间 (不包括 -pi )。 Where a tan2 ( ) represents the arctangent function, the result is expressed in radians and is between -pi and i (excluding -pi ).
3、 终端根据转换后的极坐标( p, Θ )查找地理位置属于扇形区域 内的至少一个目标。 3. The terminal searches for at least one target whose geographic location belongs to the sector based on the converted polar coordinates (p, Θ).
然后, 终端根据候选的各个目标的转换后的极坐标( ρ, Θ ) 查找 地理位置属于扇形区域内的至少一个目标。 Then, the terminal finds that the geographical location belongs to at least one target in the sector based on the converted polar coordinates ( ρ, Θ ) of the candidate respective targets.
4、若预定条件还包括指定属性, 则从查找到的至少一个目标中再次 查找符合指定属性的目标; 4. If the predetermined condition further includes specifying the attribute, searching for the target that meets the specified attribute from the found at least one target;
优选地, 终端根据终端的位置参数查找符合预定条件的至少一个目 标时, 预定条件并不一定仅仅包括目标的地理位置属于终端的位置参数 所指示的预定范围内, 该预定条件包括还可以包括指定属性, 该指定属
性包括性别、 年龄、 状态、 职业、 类别、 地址和关键字中的至少一种。 比如, 当前用户需要查询 " 1 000米内"且性别为 "女 ", 年龄在 " 18-35" 之间的其它用户。 Preferably, when the terminal searches for at least one target that meets the predetermined condition according to the location parameter of the terminal, the predetermined condition does not necessarily include only the geographical location of the target belongs to a predetermined range indicated by the location parameter of the terminal, and the predetermined condition may further include specifying Attribute, the specified genus Sex includes at least one of gender, age, status, occupation, category, address, and keywords. For example, the current user needs to query other users whose "one is within 1 000 meters" and whose gender is "female" and whose age is between "18-35".
如果预定条件还包括指定属性, 则终端还需要从子步骤 3中查找到 的至少一个目标中再次查找符合指定属性的目标。 If the predetermined condition further includes specifying the attribute, the terminal further needs to find the target that meets the specified attribute again from at least one of the targets found in sub-step 3.
需要说明的是, 预定条件还可能包括其它条件, 比如, 终端是手机 时, 预定条件还可以包括 "与当前终端同时摇动手机的用户"。 这些其 它条件可能在不同的实施例中各不相同, 但是并不影响本发明的描述, 所以本文不再——赘述。 It should be noted that the predetermined condition may also include other conditions. For example, when the terminal is a mobile phone, the predetermined condition may further include “a user who shakes the mobile phone simultaneously with the current terminal”. These other conditions may vary from one embodiment to another, but do not affect the description of the present invention, and therefore are not described herein.
步骤 303, 终端根据各个目标与终端之间的相对地理位置确定各个 目标的信息在终端的第一显示维度上的显示位置和第二显示维度上的 显示位置; Step 303: The terminal determines, according to the relative geographic location between each target and the terminal, a display position of the information of each target in the first display dimension of the terminal and a display position on the second display dimension.
具体来讲,终端根据查找到的每个目标在极坐标系中的极坐标( p, Θ )确定每个目标的信息在终端的第一显示维度上的显示位置和第二显 示维度上的显示位置, 第一显示维度上的显示位置与目标的极坐标角度 Θ对应, 第二显示维度上的显示位置与目标的极坐标距离 p对应; Specifically, the terminal determines, according to the polar coordinates (p, Θ) of each target in the polar coordinate system, the display position of each target information on the first display dimension of the terminal and the display on the second display dimension. a position, a display position on the first display dimension corresponds to a polar coordinate angle 目标 of the target, and a display position on the second display dimension corresponds to a polar coordinate distance p of the target;
通常, 第一显示维度与第二显示维度垂直。 第一显示维度是指终端 相对于地面的水平显示维度, 第二显示维度是指终端相对于地面的竖直 显示维度。 以终端为正常的竖直姿态为例: Typically, the first display dimension is perpendicular to the second display dimension. The first display dimension refers to the horizontal display dimension of the terminal relative to the ground, and the second display dimension refers to the vertical display dimension of the terminal relative to the ground. Take the terminal as a normal vertical attitude as an example:
对于每个目标, 以该目标的极坐标角度 Θ为变量, 确定该目标的信 息在第一显示维度上的显示位置 X, X=f x ( Θ ), 且 X小于等于终端的屏 幕宽度 W; For each target, the polar coordinate angle 该 of the target is used as a variable, and the display position of the information of the target in the first display dimension is determined X, X=f x ( Θ ), and X is less than or equal to the screen width W of the terminal;
对于每个目标, 以该目标的极坐标距离 p为变量, 确定该目标的信 息在第二显示维度上的显示位置 Y, Y=f x ( p ), 且 Y小于等于终端的屏 眷 度 Η。
优选地, X=fx ( θ ) = ( ( β - θ ) /2 β ) *W; Y=fx ( ρ ) = ( p /r ) *Η。 比如, 目标的极坐标是( 200米, 30度), β为 60度, r为 1000米, W=200像素, H=400像素,则目标的水平显示位置 X=50像素, Y=80像素。 由此可见, 目标的信息在第一显示维度上的显示位置指示出了目标相对 于终端在当前摄像头视野中的实际位置, 而目标的信息在第二显示维度 上的显示位置指示出了目标相对于终端的远近, 在第二显示维度上的显 示位置越高, 则目标离终端越远; 在第二显示维度上的显示位置越低, 则目标离终端越近。 For each target, the polar coordinate distance p of the target is used as a variable, and the display position Y, Y=fx ( p ) of the information of the target in the second display dimension is determined, and Y is less than or equal to the screen degree 终端 of the terminal. Preferably, X = fx ( θ ) = ( ( β - θ ) /2 β ) * W; Y = fx ( ρ ) = ( p / r ) * Η. For example, the polar coordinates of the target are (200 meters, 30 degrees), β is 60 degrees, r is 1000 meters, W=200 pixels, H=400 pixels, then the horizontal display position of the target is X=50 pixels, Y=80 pixels. . It can be seen that the display position of the target information in the first display dimension indicates the actual position of the target relative to the terminal in the current camera view, and the display position of the target information in the second display dimension indicates the target relative position. In the distance of the terminal, the higher the display position in the second display dimension, the farther the target is from the terminal; the lower the display position in the second display dimension, the closer the target is to the terminal.
步骤 304, 终端根据在终端的第一显示维度上的显示位置和第二显 示维度上的显示位置在实时街景图像上叠加显示所述目标的信息。 Step 304: The terminal superimposes the information of the target on the real-time street view image according to the display position on the first display dimension of the terminal and the display position on the second display dimension.
最终, 终端根据在终端上的第一显示维度上的显示位置和第二显示 维度上的显示位置在实时街景图像上叠加显示目标的信息, 第一显示维 度上的显示位置根据目标与终端之间的相对方向确定, 第二显示维度上 的显示位置根据目标与终端之间的相对距离确定。 Finally, the terminal superimposes the information of the target on the real-time street view image according to the display position on the first display dimension on the terminal and the display position on the second display dimension, and the display position on the first display dimension is based on the target and the terminal. The relative direction is determined, and the display position in the second display dimension is determined according to the relative distance between the target and the terminal.
比如, 效果图可以参考图 3D所示。 目标的信息包括头像、 昵称、 IP 地址、 性别、 年龄、 状态、 职业、 类别、 地址和关键字中的至少一种。 图 3D中以显示的目标的信息包括头像、 昵称和性别来举例说明。 例如, 目标 33 的信息包括一女性头像、 昵称 "艾米" 和性别 "女", 目标 34 的信息包括一男性头像、 昵称 "温特" 和性别 "男"。 For example, the renderings can be seen in Figure 3D. The target information includes at least one of an avatar, a nickname, an IP address, a gender, an age, a status, an occupation, a category, an address, and a keyword. The information of the target displayed in FIG. 3D is exemplified by an avatar, a nickname, and a gender. For example, the information of goal 33 includes a female avatar, nickname "Amy" and gender "female". The information of goal 34 includes a male avatar, nickname "Winter" and gender "male".
步骤 305, 终端在终端的运动过程中检测是否存在一个目标的信息 位于终端的预定显示区域内; Step 305: The terminal detects, in the motion of the terminal, whether information of a target exists in a predetermined display area of the terminal;
由于目标的信息的显示位置关联于目标与终端之间的相对地理位 置, 当终端发生位移或者转动时, 目标的信息的显示位置也会随之发生 变化。 用户可以控制终端的运动, 来使目标的信息位于终端的预定显示 区域内, 比如屏幕中央, 从而产生触发信号。
结合参考图 3E, 终端的屏幕中央有圓角矩形形状的预定显示区域 36 , 当终端向左转动或者位移时, 目标 33 的显示位置会右移; 当终端 向右转动或者位移时, 目标 33 的显示位置会左移; 当终端的摄像头相 对于水平线的仰角变大时, 目标 33 的显示位置会下移; 当终端的摄像 头相对于水平线的仰角变小时, 目标 33的显示位置会上移。 Since the display position of the information of the target is related to the relative geographical position between the target and the terminal, when the terminal is displaced or rotated, the display position of the information of the target also changes. The user can control the motion of the terminal so that the information of the target is located in a predetermined display area of the terminal, such as the center of the screen, thereby generating a trigger signal. Referring to FIG. 3E, the center of the screen of the terminal has a predetermined display area 36 having a rounded rectangular shape. When the terminal is rotated or displaced to the left, the display position of the target 33 is shifted to the right; when the terminal is rotated or displaced to the right, the target is The display position of 33 will shift to the left; when the elevation angle of the camera of the terminal with respect to the horizontal line becomes larger, the display position of the target 33 will move downward; when the elevation angle of the camera of the terminal with respect to the horizontal line becomes smaller, the display position of the target 33 will move up. .
当用户想要对某一个目标 33进行后续操作时,用户可以使终端发生 运动, 以控制这个目标 33位于预定显示区域 36内; 此时, 终端检测是 否存在一个目标的信息位于终端的预定显示区域内。 When the user wants to perform a subsequent operation on a certain target 33, the user can make the terminal move to control the target 33 to be located in the predetermined display area 36; at this time, the terminal detects whether there is a target information located in the predetermined display area of the terminal. Inside.
步骤 306, 若检测结果为存在一个目标的信息位于终端的预定显示 区域内, 则触发针对该目标的操作。 Step 306: If the detection result is that the information that exists in one target is located in the predetermined display area of the terminal, the operation for the target is triggered.
若终端的检测结果为存在一个目标的信息位于终端的预定显示区域 内, 则触发针对该目标的操作。 由于在不同实施例中, 使用场景不同, 目标也不一定相同,所以针对该目标的操作可能也各有不同。具体来讲: 若该目标为其它用户, 则触发针对该目标的显示详细信息操作、 显 示操作提示框操作、 添加好友操作、 发送信息操作、 发送预定指令操作 和标记操作中的至少一种; If the detection result of the terminal is that the information in which one target exists is located in the predetermined display area of the terminal, the operation for the target is triggered. Since the target is not necessarily the same in different embodiments in different embodiments, the operations for the target may also be different. Specifically, if the target is another user, triggering at least one of a display detailed information operation, a display operation prompt frame operation, a add friend operation, a send information operation, a send scheduled instruction operation, and a mark operation for the target;
比如, 目标是即时通信程序中的其它用户, 且目标的信息仅显示一 个圓点, 则终端可以触发针对该目标的显示详细信息操作; 又比如, 目 标是即时通信程序中的其它用户, 且目标的信息显示有头像和昵称, 则 终端可以触发针对该目标的添加好友操作; 再比如, 目标是即时通信程 序中的其它用户, 且目标的信息显示有头像和昵称, 则终端可以触发针 对该目标的发送预定指令操作, 该预定指令操作可以是使目标所使用的 终端发生发光、 发声或者振动的指令; 又比如, 终端还可以触发针对该 目标的标记操作, 比如 "赞" 操作或者 "评论" 操作。 这些后续操作可 能需要和服务器交互完成, 具体细节不再赘述。
类似地,若该目标为其它终端, 则触发针对该目标的发送信息操作、 发送文件操作、 下载文件操作和建立连接操作中的至少一种; 若该目标 为 P0I点, 则触发针对该目标的显示详细信息操作或者导航操作; 若该 目标为无线接入点, 则触发接入该目标所属无线网络的操作。 For example, if the target is other users in the instant messaging program, and the target information only displays one dot, the terminal can trigger the display detailed information operation for the target; for example, the target is other users in the instant communication program, and the target The information is displayed with an avatar and a nickname, and the terminal can trigger an add friend operation for the target; for example, if the target is another user in the instant communication program, and the target information displays an avatar and a nickname, the terminal can trigger the target Sending a predetermined instruction operation, which may be an instruction to cause a terminal used by the target to emit light, sound, or vibrate; for example, the terminal may also trigger a marking operation for the target, such as a "like" operation or a "comment" operating. These subsequent operations may need to be completed with the server, the details will not be described in detail. Similarly, if the target is another terminal, triggering at least one of a send information operation, a send file operation, a download file operation, and a establish connection operation for the target; if the target is a P0I point, triggering for the target Displaying a detailed information operation or a navigation operation; if the target is a wireless access point, triggering an operation of accessing the wireless network to which the target belongs.
综上所述, 本实施例提供的目标操作方法, 通过在实时街景图像上 叠加显示至少一个目标的信息, 目标的信息的显示位置关联于目标与终 端之间的相对地理位置, 并在存在一个目标的信息位于终端的预定显示 区域内时, 触发针对该目标的操作; 解决了现有的目标操作方法只能通 过显示出的文字信息来确定其它用户是否是需要执行后续操作的用户, 操作的结果可能并非用户真实希望的结果的问题; 达到了用户可以通过 实时街景图像上叠加显示的目标的信息, 来更直观地获知目标与终端之 间的相对地理位置, 从而更准确地确定目标是否是需要执行后续操作的 目标的效果。 In summary, the target operation method provided by the embodiment provides that the display position of the information of the target is associated with the relative geographical position between the target and the terminal by superimposing the information of the at least one target on the real-time street view image, and there is a When the information of the target is located in the predetermined display area of the terminal, the operation for the target is triggered; the existing target operation method is solved, and only the displayed text information can be used to determine whether other users are users who need to perform subsequent operations, and the operation is performed. The result may not be the result of the user's actual desired result; the user can obtain the relative geographical position between the target and the terminal more intuitively through the information of the target superimposed on the real-time street view image, thereby more accurately determining whether the target is The effect of the target that needs to perform subsequent actions.
另外, 还通过在终端的运动过程中检测是否存在一个目标的信息位 于终端的预定显示区域内来触发后续的操作, 可以使用户单手手持终端 就可以完成后续操作的触发, 整个操作过程简洁高效。 In addition, the following operations are triggered by detecting whether a target information is located in a predetermined display area of the terminal during the motion of the terminal, so that the user can perform the triggering of the subsequent operation by the one-handed handheld terminal, and the whole operation process is simple and efficient. .
但需要说明的是, 目标的信息的显示位置跟随终端的运动变化而发 生改变,可以由其它可能的方式来实现,比如终端釆集自身的运动信息, 然后根据运动信息来直接调整目标的信息的显示位置, 换句话说, 终端 检测到自身向左平移了 1厘米, 则将目标的信息的显示位置直接向右平 移 1厘米。 在另一种实现方式中, 也可以在步骤 304之后使目标的信息 的显示位置保持不动, 但是预定显示区域 36 跟随终端的运动变化而发 生改变, 也能够实现步骤 305和步骤 306。 本文对此不做具体限定。 上述实施例仅以该目标操作方法中的运算工作主要由终端来完成进
行举例说明。 由于终端的计算能力参差不齐, 为了减轻上述目标操作方 法应用于终端时, 对终端计算能力的要求, 还可以将上述目标操作方法 中的运算工作主要由服务器来完成。 具体如下: However, it should be noted that the display position of the information of the target changes according to the motion change of the terminal, and may be implemented by other possible methods, such as the terminal collecting the motion information of the terminal, and then directly adjusting the information of the target according to the motion information. The display position, in other words, the terminal detects that it has shifted to the left by 1 cm, and then shifts the display position of the target information directly to the right by 1 cm. In another implementation, the display position of the information of the target may be kept still after step 304, but the predetermined display area 36 is changed following the change of the motion of the terminal, and steps 305 and 306 can also be implemented. This article does not specifically limit this. In the above embodiment, only the operation work in the target operation method is mainly completed by the terminal. An example of the line. Since the computing power of the terminal is uneven, in order to alleviate the requirement of the computing power of the terminal when the target operating method is applied to the terminal, the computing operation in the target operating method may be mainly performed by the server. details as follows:
请参考图 4, 其示出了本发明再一个实施例提供的目标操作方法的 方法流程图。 本实施例主要以该目标操作方法用于图 1所示实施环境来 举例说明。 该目标操作方法, 包括: Please refer to FIG. 4, which shows a flowchart of a method for a target operation method according to still another embodiment of the present invention. This embodiment is mainly illustrated by using the target operation method for the implementation environment shown in FIG. 1. The target operation method includes:
步骤 401, 终端每隔预定时间间隔向服务器发送终端的位置参数; 首先, 终端每隔预定时间间隔获取自身的位置参数, 终端的位置参 数通常包括终端的地理位置、 终端的摄像头的朝向信息和摄像头的仰角 信息, 还可能包括终端的运动信息。 具体来讲: Step 401: The terminal sends the location parameter of the terminal to the server every predetermined time interval. First, the terminal acquires its own location parameter every predetermined time interval. The location parameter of the terminal usually includes the geographic location of the terminal, the orientation information of the camera of the terminal, and the camera. The elevation information of the terminal may also include the motion information of the terminal. Specifically:
若终端的位置参数包括终端的地理位置,则终端通过 LBS ( loca t ion Based Servi ce , 基于位置的服务) 定位技术获取自身的地理位置; 该 LBS定位技术包括但不限于: GPS ( Globa l Pos i t ioning Sys tem, 全球 定位系统) 定位技术、 COO ( Ce l l of Or ig in, 蜂窝小区) 定位技术、 TDOA ( Time Difference of Arr iva l , 到达时间差) 定位技术中的至 少一种。 If the location parameter of the terminal includes the geographic location of the terminal, the terminal acquires its geographic location through an LBS (Location Based Service) positioning technology; the LBS positioning technology includes but is not limited to: GPS (Globa l Pos) It ioning Sys tem, at least one of positioning technology, COO (Cell ll of Or ig in) positioning technology, TDOA (Time Difference of Arr iva l) positioning technology.
若终端的位置参数包括终端的摄像头的朝向信息, 则终端通过内置 的电子罗盘传感器来获取终端的摄像头的朝向信息; If the location parameter of the terminal includes the orientation information of the camera of the terminal, the terminal acquires the orientation information of the camera of the terminal through the built-in electronic compass sensor;
若终端的位置参数包括终端的仰角信息, 则终端通过内置的陀螺仪 传感器来获取终端的仰角信息; If the location parameter of the terminal includes the elevation information of the terminal, the terminal acquires the elevation information of the terminal through the built-in gyro sensor;
若终端的位置参数包括终端的运动信息, 则终端通过内置的三轴加 速度传感器和 /或陀螺仪传感器来获取终端的运动信息。 其中, 三轴加 速度传感器用于获取终端发生移动时的运动信息, 陀螺仪传感器用于获 取终端发生转动时的运动信息。 If the position parameter of the terminal includes the motion information of the terminal, the terminal acquires the motion information of the terminal through the built-in three-axis acceleration sensor and/or the gyro sensor. The three-axis acceleration sensor is used to acquire motion information when the terminal moves, and the gyro sensor is used to obtain motion information when the terminal rotates.
然后, 终端将每次获取到的自身的位置参数发送给服务器。对应地,
服务器接收终端每隔预定时间间隔发送的终端的位置参数。 Then, the terminal sends its own location parameters obtained to the server each time. Correspondingly, The server receives the location parameter of the terminal transmitted by the terminal every predetermined time interval.
步骤 402, 服务器根据终端的位置参数查找符合预定条件的至少一 个目标, 预定条件包括目标的地理位置属于终端的位置参数所指示的预 定范围内; Step 402: The server searches for at least one target that meets a predetermined condition according to the location parameter of the terminal, where the predetermined condition includes that the geographic location of the target belongs to a predetermined range indicated by the location parameter of the terminal;
该预定范围通常是一个扇形区域, 该扇形区域的圓心角顶点由终端 的地理位置确定, 该扇形区域的圓心角的角平分线由终端的摄像头的朝 向信息确定。 The predetermined range is typically a sectoral region whose apex angle is determined by the geographic location of the terminal, and the angular bisector of the central angle of the sector is determined by the orientation information of the camera of the terminal.
具体来讲, 本步骤包括如下四个子步骤: Specifically, this step includes the following four sub-steps:
第一、 服务器以终端的地理位置作为原点, 以终端中的摄像头的朝 向作为极轴建立极坐标系; First, the server uses the geographic location of the terminal as the origin, and establishes a polar coordinate system with the orientation of the camera in the terminal as a polar axis;
结合参考图 3B, 设终端在初始坐标系中的地理位置为 (x0, yO ), 摄像头的朝向如射线 a所示, 则以 (x0, yO )所标识的点作为极坐标系 中的原点, 以射线 a作为极坐标系中的极轴来建立极坐标系。 Referring to FIG. 3B, the geographic location of the terminal in the initial coordinate system is (x0, yO), and the orientation of the camera is as shown by the ray a, and the point identified by (x0, yO) is used as the origin in the polar coordinate system. The polar coordinate system is established with the ray a as the polar axis in the polar coordinate system.
第二、 服务器根据终端中的摄像头的仰角信息确定预定半径 r的大 小, 预定半径 r的数值大小与仰角信息所表征的仰角的大小呈正相关关 系; Second, the server determines the size of the predetermined radius r according to the elevation information of the camera in the terminal, and the magnitude of the predetermined radius r is positively correlated with the magnitude of the elevation angle represented by the elevation information;
预定半径 r根据终端的摄像头的仰角信息来动态确定。 换句话说, 终端的摄像头相对于水平线的仰角越大, 则预定半径 r越大; 终端的摄 像头相对于水平线的仰角越小, 则预定半径 r越小。 The predetermined radius r is dynamically determined based on the elevation angle information of the camera of the terminal. In other words, the larger the elevation angle of the camera of the terminal with respect to the horizontal line, the larger the predetermined radius r; the smaller the elevation angle of the camera head with respect to the horizontal line, the smaller the predetermined radius r.
第三、 服务器在极坐标系中以预定角度 β所在的射线和预定角度- β所在的射线确定一个扇形区域的圓心角的两边, 以预定半径 r确定扇 形区域的弧线, 得到扇形区域; Third, the server determines the arc angles of a sector area at a predetermined radius r by a ray at a predetermined angle β and a ray at a predetermined angle β in a polar coordinate system, and determines an arc of the sector area at a predetermined radius r to obtain a sector area;
设预定角度 β所在的射线为射线 b,预定角度- β所在的射线为射线 C 则以射线 b和射线 c来确定扇形区域的圓心角的两边。 其中, β的 大小为预设值或者与终端的摄像头的水平视角关联的值。 比如, 摄像头
的水平视角为 120度, 则 β为 60度。 Let the ray where the predetermined angle β is located be the ray b, and the ray where the predetermined angle θ is located is the ray C, and the ray b and the ray c determine the two sides of the central angle of the sector. Wherein, the size of β is a preset value or a value associated with a horizontal viewing angle of a camera of the terminal. For example, camera The horizontal viewing angle is 120 degrees, and β is 60 degrees.
第四、 服务器查找地理位置属于扇形区域内的至少一个目标; 具体来讲, 第四步骤可以包括如下子步骤: Fourth, the server searches for a geographical location belonging to at least one target in the sector area; specifically, the fourth step may include the following sub-steps:
1、 服务器获取候选的若干个目标的地理位置; 1. The server obtains the geographical locations of the candidate targets;
服务器获取候选的若干个目标的地理位置。 具体来讲, 服务器可以 将终端的地理位置附近预定距离内的若干个目标作为候选的若干个目 标。 通常来讲, 服务器还会同时获取到候选的若干个目标的信息, 以便 后续使用。 The server obtains the geographic locations of the candidate's several targets. Specifically, the server may use several targets within a predetermined distance near the geographic location of the terminal as candidates for several targets. In general, the server also obtains information about several candidate targets for later use.
假设服务器获取到的候选的若干个目标的地理位置是在初始坐标系 中的坐标 ( X , y )。 It is assumed that the geographic locations of several targets of the candidate obtained by the server are the coordinates (X, y) in the initial coordinate system.
2、服务器将候选的若干个目标的地理位置转换为极坐标系中的极坐 标( P, Θ ); 2. The server converts the geographic locations of the candidate targets into polar coordinates (P, Θ) in the polar coordinate system;
服务器可以将候选的若干个目标的地理位置转换为第一步骤中建立 的极坐标系中的极坐标。 结合参考图 3C, 具体来讲: The server can convert the geographic locations of the candidate targets into polar coordinates in the polar coordinate system established in the first step. Referring to Figure 3C, specifically:
服务器将候选的若干个目标在初始坐标系中的地理位置 (x, y )按 照第一预定公式转换成预定直角坐标系中的第一坐标(xl, yl ), 该预 定直角坐标系的原点由终端的地理位置 (x0, yO )确定, 预定直角坐标 系的 X轴正向由终端的摄像头的朝向信息确定, 该第一预定公式为: xl=x cos a +y's in α - ( xO cos a +yO s in α ); yl=— x'.s in a +y'cos α— (— xO's in a +yO'cos α ), 其中, α是子贞定直角 坐标系的 X 轴正向沿逆时针方向指向初始坐标系的 X 轴正向之间的夹 角; The server converts the geographical position (x, y) of the candidate targets in the initial coordinate system into a first coordinate (xl, yl) in a predetermined Cartesian coordinate system according to a first predetermined formula, and the origin of the predetermined Cartesian coordinate system is The geographical position (x0, yO) of the terminal determines that the X-axis forward direction of the predetermined Cartesian coordinate system is determined by the orientation information of the camera of the terminal, and the first predetermined formula is: xl=x cos a +y's in α - ( xO cos a +yO s in α ); yl=— x'.s in a +y'cos α— (— xO's in a +yO'cos α ), where α is the positive X-axis of the Cartesian Cartesian coordinate system Counterclockwise pointing to the angle between the positive X-axis of the initial coordinate system;
将各个目标的第一坐标(xl, yl )按照第二预定公式转换成极坐标 系中的第二坐标( ρ, Θ ), 该第二预定公式为:
p
, Θ =a tan2 ( yl , xl ), Converting the first coordinate (xl, yl) of each target into a second coordinate (ρ, Θ) in the polar coordinate system according to a second predetermined formula, the second predetermined formula being: p , Θ =a tan2 ( yl , xl ),
其中 a tan2 ( )代表反正切函数, 其结果以弧度表示, 并介于 -pi 到 i之间 (不包括 -pi )。 Where a tan2 ( ) represents the arctangent function, the result is expressed in radians and is between -pi and i (excluding -pi ).
3、 服务器根据转换后的极坐标( p, Θ )查找地理位置属于扇形区 域内的至少一个目标。 3. The server searches for at least one target whose geographic location belongs to the sector based on the converted polar coordinates (p, Θ).
然后, 服务器根据候选的各个目标的转换后的极坐标( p, Θ )查 找地理位置属于扇形区域内的至少一个目标。 Then, the server searches for at least one target in the sector based on the converted polar coordinates (p, Θ) of the candidate targets.
4、若预定条件还包括指定属性, 则从查找到的至少一个目标中再次 查找符合指定属性的目标; 4. If the predetermined condition further includes specifying the attribute, searching for the target that meets the specified attribute from the found at least one target;
优选地, 服务器根据终端的位置参数查找符合预定条件的至少一个 目标时, 预定条件并不一定仅仅包括目标的地理位置属于终端的位置参 数所指示的预定范围内, 该预定条件包括还可以包括指定属性, 该指定 属性包括性别、 年龄、 状态、 职业、 类别、 地址和关键字中的至少一种。 比如, 当前用户需要查询 "1000米内"且性别为 "女 ", 年龄在 "18-35" 之间的其它用户。 Preferably, when the server searches for at least one target that meets the predetermined condition according to the location parameter of the terminal, the predetermined condition does not necessarily include only the geographical location of the target belongs to a predetermined range indicated by the location parameter of the terminal, and the predetermined condition may further include specifying An attribute that includes at least one of gender, age, status, occupation, category, address, and keyword. For example, the current user needs to query other users who are "within 1000 meters" and whose gender is "female" and whose age is between "18-35".
如果预定条件还包括指定属性, 则服务器还需要从子步骤 3中查找 到的至少一个目标中再次查找符合指定属性的目标。 If the predetermined condition further includes specifying an attribute, the server also needs to find the target that meets the specified attribute again from at least one of the targets found in sub-step 3.
需要说明的是, 预定条件还可能包括其它条件, 比如, 终端是手机 时, 预定条件还可以包括 "与当前终端同时摇动手机的用户"。 这些其 它条件可能在不同的实施例中各不相同, 但是并不影响本发明的描述, 所以本文不再——赘述。 It should be noted that the predetermined condition may also include other conditions. For example, when the terminal is a mobile phone, the predetermined condition may further include “a user who shakes the mobile phone simultaneously with the current terminal”. These other conditions may vary from one embodiment to another, but do not affect the description of the present invention, and therefore are not described herein.
步骤 403, 服务器根据查找到的每个目标在极坐标系中的极坐标 ( p , Θ )确定各个目标的信息在终端的第一显示维度上的显示位置和 在第二显示维度上的显示位置; Step 403: The server determines, according to the polar coordinates (p, Θ) of each target in the polar coordinate system, the display position of the information of each target in the first display dimension of the terminal and the display position in the second display dimension. ;
具体来讲, 服务器根据查找到的每个目标在极坐标系中的极坐标
( P, θ )确定每个目标的信息在终端的第一显示维度上的显示位置和 第二显示维度上的显示位置, 第一显示维度上的显示位置与目标的极坐 标角度 Θ对应, 第二显示维度上的显示位置与目标的极坐标距离 ρ对 应; Specifically, the server coordinates the polar coordinates of each target in the polar coordinate system. (P, θ) determining a display position of the information of each target in the first display dimension of the terminal and a display position on the second display dimension, and the display position on the first display dimension corresponds to the polar coordinate angle 目标 of the target, The display position on the second display dimension corresponds to the polar coordinate distance ρ of the target;
通常, 第一显示维度与第二显示维度垂直。 第一显示维度是指终端 相对于地面的水平显示维度, 第二显示维度是指终端相对于地面的竖直 显示维度。 以终端为正常的竖直姿态为例: Typically, the first display dimension is perpendicular to the second display dimension. The first display dimension refers to the horizontal display dimension of the terminal relative to the ground, and the second display dimension refers to the vertical display dimension of the terminal relative to the ground. Take the terminal as a normal vertical attitude as an example:
对于每个目标, 以该目标的极坐标角度 Θ为变量, 确定该目标的信 息在第一显示维度上的显示位置 X, X=fx ( Θ ), 且 X小于等于终端的 屏幕宽度 W; For each target, the polar coordinate angle 该 of the target is used as a variable, and the display position of the information of the target in the first display dimension is determined X, X=fx ( Θ ), and X is less than or equal to the screen width W of the terminal;
对于每个目标, 以该目标的极坐标距离 p为变量, 确定该目标的信 息在第二显示维度上的显示位置 Y, Y=f x ( p ), 且 Y小于等于终端的屏 眷面度 Η。 For each target, the polar coordinate distance p of the target is used as a variable, and the display position Y, Y=fx ( p ) of the information of the target in the second display dimension is determined, and Y is less than or equal to the screen width of the terminal. .
优选地, X=fx ( Θ ) = ( ( β - θ ) / 2 β ) *W; Y=fx ( p ) = ( p / r ) *H。 比如, 目标的极坐标是( 200米, 30度), β为 60度, r为 1 000米, W=200像素, H=400像素,则目标的水平显示位置 X=50像素, Y=80像素。 由此可见, 目标的信息在第一显示维度上的显示位置指示出了目标相对 于终端在当前摄像头视野中的实际位置, 而目标的信息在第二显示维度 上的显示位置指示出了目标相对于终端的远近, 在第二显示维度上的显 示位置越高, 则目标离终端越远; 在第二显示维度上的显示位置越低, 则目标离终端越近。 Preferably, X = fx ( Θ ) = ( ( β - θ ) / 2 β ) * W; Y = fx ( p ) = ( p / r ) * H. For example, the polar coordinates of the target are (200 meters, 30 degrees), β is 60 degrees, r is 1 000 meters, W = 200 pixels, H = 400 pixels, then the horizontal display position of the target is X = 50 pixels, Y = 80 Pixel. It can be seen that the display position of the target information in the first display dimension indicates the actual position of the target relative to the terminal in the current camera view, and the display position of the target information in the second display dimension indicates the target relative position. In the distance of the terminal, the higher the display position in the second display dimension, the farther the target is from the terminal; the lower the display position in the second display dimension, the closer the target is to the terminal.
步骤 404, 服务器将至少一个目标在第一显示维度上的显示位置、 在第二显示维度上显示位置和信息发送给终端; Step 404: The server sends, to the terminal, a display position of the at least one target on the first display dimension, and a display position and information on the second display dimension.
对应地, 终端接收服务器反馈的至少一个目标在第一显示维度上的 显示位置、 在第二显示维度上的显示位置和信息。 其中, 第一显示维度
上的显示位置与目标的极坐标角度 Θ对应, 第二显示维度上的显示位置 与目标的极坐标巨离 P对应。 Correspondingly, the terminal receives the display position of the at least one target fed back by the server in the first display dimension, the display position and the information in the second display dimension. Where the first display dimension The display position on the top corresponds to the polar coordinate angle 目标 of the target, and the display position on the second display dimension corresponds to the polar coordinate of the target.
步骤 405, 终端根据在终端的第一显示维度上的显示位置和第二显 示维度上的显示位置在实时街景图像上叠加显示目标的信息; Step 405: The terminal superimposes the information of the target on the real-time street view image according to the display position on the first display dimension of the terminal and the display position on the second display dimension.
第一显示维度上的显示位置根据目标与终端之间的相对方向确定; 第二显示维度上的显示位置根据目标与终端之间的相对距离确定。 效果图可以参考图 3D所示。 目标的信息包括头像、 昵称、 IP地址、 性别、 年龄、 状态、 职业、 类别、 地址和关键字中的至少一种。 图 3D 中以显示的目标 33、 目标 34的信息包括头像、 昵称和性别来举例说明。 The display position on the first display dimension is determined according to the relative direction between the target and the terminal; the display position on the second display dimension is determined according to the relative distance between the target and the terminal. The effect diagram can be seen in Figure 3D. The target information includes at least one of an avatar, a nickname, an IP address, a gender, an age, a status, an occupation, a category, an address, and a keyword. The information shown in Figure 3D for Target 33 and Target 34 is exemplified by avatar, nickname and gender.
步骤 406, 终端在终端的运动过程中检测是否存在一个目标的信息 位于终端的预定显示区域内; Step 406: The terminal detects, in the motion of the terminal, whether information of a target exists in a predetermined display area of the terminal;
由于目标的信息的显示位置关联于目标与终端之间的相对地理位 置, 当终端发生位移或者转动时, 目标的信息的显示位置也会随之发生 变化。 用户可以控制终端的运动, 来使目标的信息位于终端的预定显示 区域内, 比如屏幕中央, 从而产生触发信号。 Since the display position of the information of the target is related to the relative geographical position between the target and the terminal, when the terminal is displaced or rotated, the display position of the information of the target also changes. The user can control the motion of the terminal so that the information of the target is located in a predetermined display area of the terminal, such as the center of the screen, thereby generating a trigger signal.
结合参考图 3E, 终端的屏幕中央有圓角矩形形状的预定显示区域 36 , 当终端向左转动或者位移时, 目标 33 的显示位置会右移; 当终端 向右转动或者位移时, 目标 33 的显示位置会左移; 当终端的摄像头相 对于水平线的仰角变大时, 目标 33 的显示位置会下移; 当终端的摄像 头相对于水平线的仰角变小时, 目标 33的显示位置会上移。 Referring to FIG. 3E, the center of the screen of the terminal has a predetermined display area 36 having a rounded rectangular shape. When the terminal is rotated or displaced to the left, the display position of the target 33 is shifted to the right; when the terminal is rotated or displaced to the right, the target is The display position of 33 will shift to the left; when the elevation angle of the camera of the terminal with respect to the horizontal line becomes larger, the display position of the target 33 will move downward; when the elevation angle of the camera of the terminal with respect to the horizontal line becomes smaller, the display position of the target 33 will move up. .
当用户想要对某一个目标 33进行后续操作时,用户可以使终端发生 运动, 以控制这个目标 33位于预定显示区域 36内; 此时, 终端检测是 否存在一个目标的信息位于终端的预定显示区域内。 When the user wants to perform a subsequent operation on a certain target 33, the user can make the terminal move to control the target 33 to be located in the predetermined display area 36; at this time, the terminal detects whether there is a target information located in the predetermined display area of the terminal. Inside.
步骤 407, 若检测结果为存在一个目标的信息位于终端的预定显示 区域内, 则触发针对该目标的操作。
若终端的检测结果为存在一个目标的信息位于终端的预定显示区域 内, 则触发针对该目标的操作。 由于在不同实施例中, 使用场景不同, 目标也不一定相同,所以针对该目标的操作可能也各有不同。具体来讲: 若该目标为其它用户, 则触发针对该目标的显示详细信息操作、 显 示操作提示框操作、 添加好友操作、 发送信息操作、 发送预定指令操作 和标记操作中的至少一种; Step 407: If the detection result is that the information that exists in one target is located in the predetermined display area of the terminal, the operation for the target is triggered. If the detection result of the terminal is that the information in which one target exists is located in the predetermined display area of the terminal, the operation for the target is triggered. Since the target is not necessarily the same in different embodiments in different embodiments, the operations for the target may also be different. Specifically, if the target is another user, triggering at least one of a display detailed information operation, a display operation prompt frame operation, a add friend operation, a send information operation, a send predetermined instruction operation, and a mark operation for the target;
比如, 目标是即时通信程序中的其它用户, 且目标的信息仅显示一 个圓点, 则终端可以触发针对该目标的显示详细信息操作; 又比如, 目 标是即时通信程序中的其它用户, 且目标的信息显示有头像和昵称, 则 终端可以触发针对该目标的添加好友操作; 再比如, 目标是即时通信程 序中的其它用户, 且目标的信息显示有头像和昵称, 则终端可以触发针 对该目标的发送预定指令操作, 该预定指令操作可以是使目标所使用的 终端发生发光、 发声或者振动的指令; 又比如, 终端还可以触发针对该 目标的标记操作, 比如 "赞" 操作或者 "评论" 操作。 这些后续操作可 能需要和服务器交互完成, 具体细节不再赘述。 For example, if the target is other users in the instant messaging program, and the target information only displays one dot, the terminal can trigger the display detailed information operation for the target; for example, the target is other users in the instant communication program, and the target The information is displayed with an avatar and a nickname, and the terminal can trigger an add friend operation for the target; for example, if the target is another user in the instant communication program, and the target information displays an avatar and a nickname, the terminal can trigger the target Sending a predetermined instruction operation, which may be an instruction to cause a terminal used by the target to emit light, sound, or vibrate; for example, the terminal may also trigger a marking operation for the target, such as a "like" operation or a "comment" operating. These subsequent operations may need to be done interactively with the server, and details are not described here.
类似地,若该目标为其它终端, 则触发针对该目标的发送信息操作、 发送文件操作、 下载文件操作和建立连接操作中的至少一种; 若该目标 为 P0I点, 则触发针对该目标的显示详细信息操作或者导航操作; 若该 目标为无线接入点, 则触发接入该目标所属无线网络的操作。 Similarly, if the target is another terminal, triggering at least one of a send information operation, a send file operation, a download file operation, and a establish connection operation for the target; if the target is a P0I point, triggering for the target Displaying a detailed information operation or a navigation operation; if the target is a wireless access point, triggering an operation of accessing the wireless network to which the target belongs.
综上所述, 本实施例提供的目标操作方法, 通过在实时街景图像上 叠加显示至少一个目标的信息, 目标的信息的显示位置关联于目标与终 端之间的相对地理位置, 并在存在一个目标的信息位于终端的预定显示 区域内时, 触发针对该目标的操作; 解决了现有的目标操作方法只能通 过显示出的文字信息来确定其它用户是否是需要执行后续操作的用户, 操作的结果可能并非用户真实希望的结果的问题; 达到了用户可以通过
实时街景图像上叠加显示的目标的信息, 来更直观地获知目标与终端之 间的相对地理位置, 从而更准确地确定目标是否是需要执行后续操作的 目标的效果。 In summary, the target operation method provided by the embodiment provides that the display position of the information of the target is associated with the relative geographical position between the target and the terminal by superimposing the information of the at least one target on the real-time street view image, and there is a When the information of the target is located in the predetermined display area of the terminal, the operation for the target is triggered; the existing target operation method is solved, and only the displayed text information can be used to determine whether other users are users who need to perform subsequent operations, and the operation is performed. The result may not be the result of the user's true hope; the user can pass The information of the target displayed on the real-time street view image is superimposed to more intuitively know the relative geographical position between the target and the terminal, thereby more accurately determining whether the target is an effect of a target that needs to perform subsequent operations.
另外, 还通过在终端的运动过程中检测是否存在一个目标的信息位 于终端的预定显示区域内来触发后续的操作, 可以使用户单手手持终端 就可以完成后续操作的触发, 整个操作过程简洁高效。 In addition, the following operations are triggered by detecting whether a target information is located in a predetermined display area of the terminal during the motion of the terminal, so that the user can perform the triggering of the subsequent operation by the one-handed handheld terminal, and the whole operation process is simple and efficient. .
但需要说明的是, 目标的信息的显示位置跟随终端的运动变化而发 生改变,可以由其它可能的方式来实现,比如终端釆集自身的运动信息, 然后根据运动信息来直接调整目标的信息的显示位置, 换句话说, 终端 检测到自身向左平移了 1厘米, 则将目标的信息的显示位置直接向右平 移 1厘米。 在另一种实现方式中, 也可以在步骤 405之后使目标的信息 的显示位置保持不动, 但是预定显示区域 36 跟随终端的运动变化而发 生改变, 也能够实现步骤 406和步骤 407。 本文对此不做具体限定。 以下为本发明的装置实施例,对于装置实施例中未详尽描述的细节, 可以参考上述相应的方法实施例。 However, it should be noted that the display position of the information of the target changes according to the motion change of the terminal, and may be implemented by other possible methods, such as the terminal collecting the motion information of the terminal, and then directly adjusting the information of the target according to the motion information. The display position, in other words, the terminal detects that it has shifted to the left by 1 cm, and then shifts the display position of the target information directly to the right by 1 cm. In another implementation, the display position of the information of the target may be kept still after step 405, but the predetermined display area 36 changes in accordance with the motion change of the terminal, and step 406 and step 407 can also be implemented. This article does not specifically limit this. The following is an embodiment of the device of the present invention. For details not specifically described in the device embodiment, reference may be made to the corresponding method embodiments described above.
请参考图 5, 其示出了本发明一个实施例提供的目标操作装置的结 构方框图。 该目标操作装置可以通过软件、 硬件或者两者的结合实现成 为终端的全部或者一部分。 该目标操作装置, 包括: 目标显示模块 520、 位置检测模块 540和操作触发模块 560。 Referring to Figure 5, there is shown a block diagram of the structure of a target operating device provided by an embodiment of the present invention. The target operating device can be implemented as all or part of the terminal by software, hardware or a combination of both. The target operating device includes: a target display module 520, a position detecting module 540, and an operation triggering module 560.
目标显示模块 520, 用于在终端显示的实时街景图像上叠加显示至 少一个目标的信息, 所述目标的信息的显示位置关联于所述目标与所述 终端之间的相对地理位置; The target display module 520 is configured to superimpose and display information of at least one target on the real-time street view image displayed by the terminal, where the display position of the information of the target is associated with a relative geographical position between the target and the terminal;
位置检测模块 540, 用于在所述终端的运动过程中检测是否存在一 个目标的信息位于所述终端的预定显示区域内;
操作触发模块 560, 用于若检测结果为存在一个目标的信息位于所 述终端的预定显示区域内, 则触发针对所述目标的操作。 a location detecting module 540, configured to detect, during the motion of the terminal, whether information of a target exists in a predetermined display area of the terminal; The operation triggering module 560 is configured to trigger an operation for the target if the detection result is that the information that exists in one target is located in a predetermined display area of the terminal.
综上所述, 本实施例提供的目标操作装置, 通过在实时街景图像上 叠加显示至少一个目标的信息, 目标的信息的显示位置关联于目标与终 端之间的相对地理位置, 并在存在一个目标的信息位于终端的预定显示 区域内时, 触发针对该目标的操作; 解决了现有的目标操作方法只能通 过显示出的文字信息来确定其它用户是否是需要执行后续操作的用户, 操作的结果可能并非用户真实希望的结果的问题; 达到了用户可以通过 实时街景图像上叠加显示的目标的信息, 来更直观地获知目标与终端之 间的相对地理位置, 从而更准确地确定目标是否是需要执行后续操作的 目标的效果。 请参考图 6, 其示出了本发明另一实施例提供的目标操作装置的结 构方框图。 该目标操作装置可以通过软件、 硬件或者两者的结合实现成 为终端的全部或者一部分。 该目标操作装置, 包括: 目标显示模块 520、 位置检测模块 540和操作触发模块 560。 In summary, the target operating device provided by the embodiment provides superimposed display of information of at least one target on the real-time street view image, and the display position of the target information is associated with the relative geographical position between the target and the terminal, and there is a When the information of the target is located in the predetermined display area of the terminal, the operation for the target is triggered; the existing target operation method is solved, and only the displayed text information can be used to determine whether other users are users who need to perform subsequent operations, and the operation is performed. The result may not be the result of the user's actual desired result; the user can obtain the relative geographical position between the target and the terminal more intuitively through the information of the target superimposed on the real-time street view image, thereby more accurately determining whether the target is The effect of the target that needs to perform subsequent actions. Referring to Figure 6, there is shown a block diagram of the structure of a target operating device provided by another embodiment of the present invention. The target operating device can be implemented as all or part of the terminal by software, hardware or a combination of both. The target operating device includes: a target display module 520, a position detecting module 540, and an operation triggering module 560.
目标显示模块 520, 用于在终端显示的实时街景图像上叠加显示至 少一个目标的信息, 所述目标的信息的显示位置关联于所述目标与所述 终端之间的相对地理位置; The target display module 520 is configured to superimpose and display information of at least one target on the real-time street view image displayed by the terminal, where the display position of the information of the target is associated with a relative geographical position between the target and the terminal;
位置检测模块 540, 用于在所述终端的运动过程中检测是否存在一 个目标的信息位于所述终端的预定显示区域内; a location detecting module 540, configured to detect, during the motion of the terminal, whether information about a target exists in a predetermined display area of the terminal;
操作触发模块 560, 用于若检测结果为存在一个目标的信息位于所 述终端的预定显示区域内, 则触发针对所述目标的操作。 The operation triggering module 560 is configured to trigger an operation for the target if the detection result is that the information that there is a target is located in a predetermined display area of the terminal.
所述目标显示模块 520, 包括: 参数获取单元 522、 目标查找单元 524、 位置确定单元 526和目标显示单元 528;
所述参数获取单元 522, 用于每隔预定时间间隔获取所述终端的位 置参数; The target display module 520 includes: a parameter acquisition unit 522, a target search unit 524, a position determination unit 526, and a target display unit 528; The parameter obtaining unit 522 is configured to acquire a location parameter of the terminal every predetermined time interval;
所述目标查找单元 524, 用于根据所述终端的位置参数查找符合预 定条件的至少一个目标, 所述预定条件包括所述目标的地理位置属于所 述终端的位置参数所指示的预定范围内; The target searching unit 524 is configured to search, according to the location parameter of the terminal, at least one target that meets a predetermined condition, where the predetermined condition includes that the geographic location of the target belongs to a predetermined range indicated by the location parameter of the terminal;
所述位置确定单元 526 , 用于根据各个目标与所述终端的相对地理 位置确定各个目标的信息在所述第一显示维度上的显示为和在所述第 二显示维度上的显示位置; The location determining unit 526 is configured to determine, according to each target and a relative geographic location of the terminal, that the information of each target is displayed on the first display dimension and the display location in the second display dimension;
所述目标显示单元 528, 用于根据在所述终端上的第一显示维度上 的显示位置和第二显示维度上的显示位置在实时街景图像上叠加显示 所述目标的信息, 所述第一显示维度上的显示位置根据所述目标与所述 终端之间的相对方向确定, 所述第二显示维度上的显示位置根据所述目 标与所述终端之间的相对距离确定。 The target display unit 528 is configured to superimpose and display the information of the target on the real-time street view image according to the display position on the first display dimension and the display position on the second display dimension on the terminal, the first The display position on the display dimension is determined according to a relative direction between the target and the terminal, and the display position on the second display dimension is determined according to a relative distance between the target and the terminal.
优选地, 所述终端的位置参数包括所述终端的地理位置、 所述终端 中的摄像头的朝向信息和仰角信息, 所述目标查找单元 524, 包括: 坐 标建立子单元、半径确定子单元、扇形确定子单元和目标查找子单元(未 具体示出); Preferably, the location parameter of the terminal includes a geographic location of the terminal, orientation information of the camera in the terminal, and elevation information, and the target search unit 524 includes: a coordinate establishment subunit, a radius determination subunit, and a sector shape. Determining a subunit and a target finding subunit (not specifically shown);
所述坐标建立子单元, 用于以所述终端的地理位置作为原点, 以所 述终端中的所述摄像头的朝向作为极轴建立极坐标系; The coordinate establishing subunit is configured to establish a polar coordinate system by using a geographic location of the terminal as an origin and a direction of the camera in the terminal as a polar axis;
所述半径确定子单元, 用于根据所述终端中的所述摄像头的仰角信 息确定预定半径 r的大小, 所述预定半径 r的数值大小与所述仰角信息 所表征的仰角的大小呈正相关关系; The radius determining subunit is configured to determine a size of the predetermined radius r according to the elevation information of the camera in the terminal, and the magnitude of the predetermined radius r is positively correlated with the magnitude of the elevation angle represented by the elevation information. ;
所述扇形确定子单元, 用于在所述极坐标系中以预定角度 β所在的 射线和预定角度- β所在的射线确定一个扇形区域的圓心角的两边, 以 所述预定半径 r确定所述扇形区域的弧线, 得到所述扇形区域;
所述目标查找子单元, 用于查找地理位置属于所述扇形区域内的至 少一个目标。 a sector determining subunit for determining, in the polar coordinate system, two sides of a central angle of a sector area by a ray of a predetermined angle β and a ray of a predetermined angle θ, determining the predetermined radius r An arc of the sector area to obtain the sector area; The target search subunit is configured to find at least one target whose geographic location belongs to the sector area.
优选地, 所述目标查找单元 524, 还包括: 属性查找子单元(未具 体示出); Preferably, the target search unit 524 further includes: an attribute search subunit (not shown);
所述属性查找子单元, 用于若所述预定条件还包括指定属性, 则从 查找到的至少一个所述目标中再次查找符合所述指定属性的目标; The attribute search subunit, configured to: if the predetermined condition further includes a specified attribute, search for a target that meets the specified attribute from the at least one of the found targets;
其中, 所述指定属性包括性别、 年龄、 状态、 职业、 类别、 地址和 关键字中的至少一种。 The specified attribute includes at least one of gender, age, status, occupation, category, address, and keyword.
优选地, 所述位置确定单元 526, 包括: 位置确定子单元和目标显 示子单元(未具体示出); Preferably, the location determining unit 526 includes: a location determining subunit and a target display subunit (not specifically shown);
所述位置确定子单元, 用于根据查找到的每个目标在所述极坐标系 中的极坐标( p, Θ )确定每个目标的信息在所述终端的所述第一显示 维度上的显示位置和所述第二显示维度上的显示位置, 所述第一显示维 度上的显示位置与所述目标的极坐标角度 Θ对应, 所述第二显示维度上 的显示位置与所述目标的极坐标距离 p对应。 The position determining subunit is configured to determine, according to the found polar coordinates (p, Θ) in the polar coordinate system, the information of each target on the first display dimension of the terminal a display position and a display position on the second display dimension, the display position in the first display dimension corresponds to a polar coordinate angle 所述 of the target, and the display position in the second display dimension is related to the target The polar coordinate distance p corresponds.
优选地, 所述操作触发模块 560, 用于: Preferably, the operation triggering module 560 is configured to:
若所述目标为其它用户,则触发针对所述目标的显示详细信息操作、 显示操作提示框操作、 添加好友操作、 发送信息操作、 发送预定指令操 作和标记操作中的至少一种; If the target is another user, triggering at least one of a display detailed information operation, a display operation prompt frame operation, a add friend operation, a send information operation, a send predetermined instruction operation, and a mark operation for the target;
若所述目标为其它终端, 则触发针对所述目标的发送信息操作、 发 送文件操作、 下载文件操作和建立连接操作中的至少一种; If the target is another terminal, triggering at least one of a send information operation, a send file operation, a download file operation, and a establish connection operation for the target;
若所述目标为 P0I点, 则触发针对所述目标的显示详细信息操作或 者导航操作; If the target is a P0I point, triggering a display detailed information operation or a navigation operation for the target;
若该目标为无线接入点,则触发接入所述目标所属无线网络的操作。 综上所述, 本实施例提供的目标操作装置, 通过在实时街景图像上
叠加显示至少一个目标的信息, 目标的信息的显示位置关联于目标与终 端之间的相对地理位置, 并在存在一个目标的信息位于终端的预定显示 区域内时, 触发针对该目标的操作; 解决了现有的目标操作方法只能通 过显示出的文字信息来确定其它用户是否是需要执行后续操作的用户, 操作的结果可能并非用户真实希望的结果的问题; 达到了用户可以通过 实时街景图像上叠加显示的目标的信息, 来更直观地获知目标与终端之 间的相对地理位置, 从而更准确地确定目标是否是需要执行后续操作的 目标的效果。 If the target is a wireless access point, an operation of accessing the wireless network to which the target belongs is triggered. In summary, the target operating device provided by the embodiment passes on the real-time street view image. Superimposing information of at least one target, the display position of the information of the target is associated with a relative geographical position between the target and the terminal, and triggering an operation for the target when the information of the target is located in the predetermined display area of the terminal; The existing target operation method can only determine whether other users are users who need to perform subsequent operations through the displayed text information, and the result of the operation may not be the result of the user's real hope; the user can pass the real-time street view image. The information of the displayed target is superimposed to more intuitively know the relative geographical position between the target and the terminal, thereby more accurately determining whether the target is an effect of a target that needs to perform subsequent operations.
另外, 还通过在终端的运动过程中检测是否存在一个目标的信息位 于终端的预定显示区域内来触发后续的操作, 可以使用户单手手持终端 就可以完成后续操作的触发, 整个操作过程简洁高效。 上述实施例仅以该目标操作装置中的运算工作主要由终端来完成进 行举例说明。 由于终端的计算能力参差不齐, 为了减轻上述目标操作装 置应用于终端时, 对终端计算能力的要求, 还可以将上述目标操作装置 中的运算工作主要由服务器来完成。 具体如下: In addition, the following operations are triggered by detecting whether a target information is located in a predetermined display area of the terminal during the motion of the terminal, so that the user can perform the triggering of the subsequent operation by the one-handed handheld terminal, and the whole operation process is simple and efficient. . The above embodiment is exemplified only by the fact that the arithmetic operation in the target operating device is mainly performed by the terminal. Since the computing power of the terminal is uneven, in order to reduce the computing power requirement of the terminal when the target operating device is applied to the terminal, the computing operation in the target operating device can be mainly performed by the server. details as follows:
请参考图 7, 其示出了本发明再一个实施例提供的目标查找装置的 结构示意图。 该目标操作装置可以通过软件、 硬件或者两者的结合实现 成为终端的全部或者一部分。该目标操作装置,包括:目标显示模块 520、 位置检测模块 540和操作触发模块 560。 Referring to FIG. 7, a schematic structural diagram of a target search device according to still another embodiment of the present invention is shown. The target operating device can be implemented as all or part of the terminal by software, hardware or a combination of both. The target operating device includes: a target display module 520, a position detecting module 540, and an operation triggering module 560.
目标显示模块 520, 用于在终端显示的实时街景图像上叠加显示至 少一个目标的信息, 所述目标的信息的显示位置关联于所述目标与所述 终端之间的相对地理位置; The target display module 520 is configured to superimpose and display information of at least one target on the real-time street view image displayed by the terminal, where the display position of the information of the target is associated with a relative geographical position between the target and the terminal;
位置检测模块 540, 用于在所述终端的运动过程中检测是否存在一 个目标的信息位于所述终端的预定显示区域内;
操作触发模块 560, 用于若检测结果为存在一个目标的信息位于所 述终端的预定显示区域内, 则触发针对所述目标的操作。 a location detecting module 540, configured to detect, during the motion of the terminal, whether information of a target exists in a predetermined display area of the terminal; The operation triggering module 560 is configured to trigger an operation for the target if the detection result is that the information that exists in one target is located in a predetermined display area of the terminal.
所述目标显示模块 520, 包括: 参数发送单元 521、 信息接收单元 523和目标显示单元 525; The target display module 520 includes: a parameter sending unit 521, an information receiving unit 523, and a target display unit 525;
所述参数发送单元 521, 用于每隔预定时间间隔向服务器发送所述 终端的位置参数; The parameter sending unit 521 is configured to send the location parameter of the terminal to the server every predetermined time interval;
所述信息接收单元 523, 用于接收所述服务器反馈的至少一个目标 的在所述第一显示维度上的显示位置、 在所述第二显示维度上的显示位 置和信息, 所述第一显示维度上的显示位置与所述目标的极坐标角度 Θ 对应, 所述第二显示维度上的显示位置与所述目标的极坐标距离 p对 应; The information receiving unit 523 is configured to receive a display position in the first display dimension, a display position and information in the second display dimension of the at least one target fed back by the server, and the first display a display position in the dimension corresponds to a polar coordinate angle 所述 of the target, and a display position in the second display dimension corresponds to a polar coordinate distance p of the target;
所述目标显示单元 525, 用于根据在所述终端上的第一显示维度上 的显示位置和第二显示维度上的显示位置在实时街景图像上叠加显示 所述目标的信息, 所述第一显示维度上的显示位置根据所述目标与所述 终端之间的相对方向确定, 所述第二显示维度上的显示位置根据所述目 标与所述终端方向之间的相对距离确定。 The target display unit 525 is configured to superimpose information of the target on the real-time street view image according to the display position on the first display dimension and the display position on the second display dimension on the terminal, the first The display position on the display dimension is determined according to a relative direction between the target and the terminal, and the display position on the second display dimension is determined according to a relative distance between the target and the terminal direction.
对应地, 还提供一种服务器, 该服务器包括目标查找装置, 该服务 器包括: 参数接收模块 620、 目标查找模块 640、 位置确定模块 660和 信息发送模块 680。 Correspondingly, a server is also provided, the server comprising a target finding device, the server comprising: a parameter receiving module 620, a target finding module 640, a location determining module 660 and an information sending module 680.
参数接收模块 620, 用于接收终端每隔预定时间间隔发送的终端的 位置参数; The parameter receiving module 620 is configured to receive a location parameter of the terminal that is sent by the terminal every predetermined time interval;
目标查找模块 640, 用于根据终端的位置参数查找符合预定条件的 至少一个目标, 预定条件包括目标的地理位置属于终端的位置参数所指 示的预定范围内; The target search module 640 is configured to search, according to the location parameter of the terminal, at least one target that meets a predetermined condition, where the predetermined condition includes that the geographic location of the target belongs to a predetermined range indicated by the location parameter of the terminal;
该预定范围通常是一个扇形区域, 该扇形区域的圓心角顶点由终端
的地理位置确定, 该扇形区域的圓心角的角平分线由终端的摄像头的朝 向信息确定。 The predetermined range is usually a sectoral region, and the apex of the central corner of the sector is terminated by the terminal The geographical position is determined, and the angle bisector of the central angle of the sector is determined by the orientation information of the camera of the terminal.
位置确定模块 660, 用于根据查找到的每个目标在极坐标系中的极 坐标( P, Θ )确定每个目标的信息在所述终端的第一显示维度上的显 示位置和第二显示维度上的显示位置, 所述第一显示维度上的显示位置 与目标的极坐标角度 Θ对应, 所述第二显示维度上的显示位置与目标的 极坐标巨离 ρ对应。 a position determining module 660, configured to determine, according to the found polar coordinates (P, Θ) of each target in a polar coordinate system, a display position and a second display of information of each target on a first display dimension of the terminal The display position in the dimension, the display position in the first display dimension corresponds to the polar coordinate angle 目标 of the target, and the display position in the second display dimension corresponds to the polar coordinate ρ of the target.
信息发送模块 680, 服务器将至少一个目标的水平显示位置、 竖直 显示位置和信息发送给终端。 The information sending module 680, the server sends the horizontal display position, the vertical display position and the information of at least one target to the terminal.
目标查找模块 640, 包括: 坐标建立子单元、 半径确定子单元、 扇 形确定子单元和目标查找子单元; The target finding module 640 includes: a coordinate establishing subunit, a radius determining subunit, a sector determining subunit, and a target finding subunit;
所述坐标建立子单元, 用于以终端的地理位置作为原点, 以终端中 的摄像头的朝向作为极轴建立极坐标系; The coordinate establishing subunit is configured to establish a polar coordinate system by using a geographic location of the terminal as an origin and a direction of a camera in the terminal as a polar axis;
所述半径确定子单元, 用于根据终端中的摄像头的仰角信息确定预 定半径 r的大小, 预定半径 r的数值大小与仰角信息所表征的仰角的大 小呈正相关关系; The radius determining subunit is configured to determine a size of the predetermined radius r according to the elevation information of the camera in the terminal, and the magnitude of the predetermined radius r is positively correlated with the magnitude of the elevation angle represented by the elevation information;
预定半径 r根据终端的摄像头的仰角信息来动态确定。 换句话说, 终端的摄像头相对于水平线的仰角越大, 则预定半径 r越大; 终端的摄 像头相对于水平线的仰角越小, 则预定半径 r越小。 The predetermined radius r is dynamically determined based on the elevation angle information of the camera of the terminal. In other words, the larger the elevation angle of the camera of the terminal with respect to the horizontal line, the larger the predetermined radius r; the smaller the elevation angle of the camera head with respect to the horizontal line, the smaller the predetermined radius r.
所述扇形确定子单元, 用于在极坐标系中以预定角度 β所在的射线 和预定角度 _ β所在的射线确定一个扇形区域的圓心角的两边, 以预定 半径 r确定扇形区域的弧线, 得到扇形区域。 The sector determining subunit is configured to determine two sides of a central angle of a sector in a polar coordinate system with a ray of a predetermined angle β and a ray of a predetermined angle _ β, and determine an arc of the sector by a predetermined radius r, Get the fan area.
所述目标查找子单元, 用于查找地理位置属于扇形区域内的至少一 个目标。 The target search subunit is configured to find at least one target whose geographic location belongs to a sector.
具体来讲, 所述目标查找子单元, 用于获取候选的若干个目标的地
理位置; 将候选的若干个目标的地理位置转换为极坐标系中的极坐标Specifically, the target search subunit is used to acquire a plurality of candidate target locations. The position of the candidate's several targets is converted to the polar coordinates in the polar coordinate system
( p, Θ ); 根据转换后的极坐标 ( p, Θ ) 查找地理位置属于扇形区 域内的至少一个目标。 ( p, Θ ); Finds at least one target whose geographic location belongs to the sector based on the converted polar coordinates ( p, Θ ).
优选地, 所述目标查找模块 640, 还包括: 再次查找子单元; 所述再次查找子单元, 用于若预定条件还包括指定属性, 则从查找 到的至少一个目标中再次查找符合指定属性的目标。 Preferably, the target search module 640 further includes: searching for the sub-unit again; the re-finding sub-unit, configured to: if the predetermined condition further includes the specified attribute, search for the specified attribute again from the found at least one target aims.
所述位置确定模块 660, 具体用于: The location determining module 660 is specifically configured to:
对于每个目标, 以该目标的极坐标角度 Θ为变量, 确定该目标的信 息在第一显示维度上的显示位置 X, X=fx ( Θ ), 且 X小于等于终端的 屏幕宽度 W; For each target, the polar coordinate angle 该 of the target is used as a variable, and the display position of the information of the target in the first display dimension is determined X, X=fx ( Θ ), and X is less than or equal to the screen width W of the terminal;
对于每个目标, 以该目标的极坐标距离 p为变量, 确定该目标的信 息在第二显示维度上的显示位置 Y, Y=fx ( p ), 且 Y小于等于终端的屏 眷面度 Η。 For each target, the polar coordinate distance p of the target is used as a variable, and the display position Y, Y=fx ( p ) of the information of the target in the second display dimension is determined, and Y is less than or equal to the screen width of the terminal. .
优选地, X=fx ( Θ ) = ( ( β - θ ) /2 β ) *W; Y=fx ( p ) = ( p /r ) Preferably, X = fx ( Θ ) = ( ( β - θ ) /2 β ) * W; Y = fx ( p ) = ( p / r )
*H。 *H.
综上所述, 本实施例提供的目标操作装置, 通过在实时街景图像上 叠加显示至少一个目标的信息, 目标的信息的显示位置关联于目标与终 端之间的相对地理位置, 并在存在一个目标的信息位于终端的预定显示 区域内时, 触发针对该目标的操作; 解决了现有的目标操作方法只能通 过显示出的文字信息来确定其它用户是否是需要执行后续操作的用户, 操作的结果可能并非用户真实希望的结果的问题; 达到了用户可以通过 实时街景图像上叠加显示的目标的信息, 来更直观地获知目标与终端之 间的相对地理位置, 从而更准确地确定目标是否是需要执行后续操作的 目标的效果。 In summary, the target operating device provided by the embodiment provides superimposed display of information of at least one target on the real-time street view image, and the display position of the target information is associated with the relative geographical position between the target and the terminal, and there is a When the information of the target is located in the predetermined display area of the terminal, the operation for the target is triggered; the existing target operation method is solved, and only the displayed text information can be used to determine whether other users are users who need to perform subsequent operations, and the operation is performed. The result may not be the result of the user's actual desired result; the user can obtain the relative geographical position between the target and the terminal more intuitively through the information of the target superimposed on the real-time street view image, thereby more accurately determining whether the target is The effect of the target that needs to perform subsequent actions.
另外, 还通过在终端的运动过程中检测是否存在一个目标的信息位
于终端的预定显示区域内来触发后续的操作, 可以使用户单手手持终端 就可以完成后续操作的触发, 整个操作过程简洁高效。 请参考图 8, 其示出了本发明一个实施例提供的系统的结构方框图。 该系统包括终端和服务器, 所述终端和所述服务器通过无线网络或者有 线网络相连; In addition, it is also detected whether there is a target information bit during the movement of the terminal. The subsequent operations are triggered in the predetermined display area of the terminal, so that the user can perform the triggering of the subsequent operations by the one-handed handheld terminal, and the whole operation process is simple and efficient. Please refer to FIG. 8, which is a structural block diagram of a system according to an embodiment of the present invention. The system includes a terminal and a server, and the terminal and the server are connected by a wireless network or a wired network;
所述终端是如图 5、 图 6或者图 7所示实施例提供的终端。 请参考图 9, 其示出了本发明又一个实施例提供的目标操作设备的 结构示意图。 如图 9所示, 目标操作设备包括一个或多个处理器 901、 存储器 902以及存储在存储器 902上用来由一个或多个处理器 901来执 行的一个或多个指令 903。 存储器 902可以包括目标显示模块 520、 位 置检测模块 540和操作触发模块 560等, 或者存储器 902可以包括参数 接收模块 620、 目标查找模块 640、 位置确定模块 660和信息发送模块 680。 这些虚拟模块包括了用于实现各自功能的指令 903, 这样当处理器 901和存储器 902进行通信, 读取并执行指令时, 设备可以实现相应的 功能。 需要说明的是: 上述实施例提供的目标操作装置在操作目标时, 仅 以上述各功能模块的划分进行举例说明, 实际应用中, 可以根据需要而 将上述功能分配由不同的功能模块完成, 即将设备的内部结构划分成不 同的功能模块, 以完成以上描述的全部或者部分功能。 另外, 上述实施 例提供的目标操作装置与目标操作方法实施例属于同一构思, 其具体实 现过程详见方法实施例, 这里不再赘述。 The terminal is a terminal provided by the embodiment shown in FIG. 5, FIG. 6, or FIG. Referring to FIG. 9, a schematic structural diagram of a target operating device according to still another embodiment of the present invention is shown. As shown in FIG. 9, the target operating device includes one or more processors 901, memory 902, and one or more instructions 903 stored on memory 902 for execution by one or more processors 901. The memory 902 can include a target display module 520, a location detection module 540 and an operation trigger module 560, etc., or the memory 902 can include a parameter receiving module 620, a target lookup module 640, a location determining module 660, and an information transmitting module 680. These virtual modules include instructions 903 for implementing the respective functions such that when the processor 901 and the memory 902 communicate, read and execute the instructions, the device can perform the corresponding functions. It should be noted that: the target operating device provided by the foregoing embodiment is only illustrated by the division of each functional module in the operation target. In actual applications, the function distribution may be completed by different functional modules as needed. The internal structure of the device is divided into different functional modules to perform all or part of the functions described above. In addition, the target operating device provided by the above embodiment is the same as the embodiment of the target operating method, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
上述本发明实施例序号仅仅为了描述, 不代表实施例的优劣。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可 以通过硬件来完成, 也可以通过程序来指令相关的硬件完成, 所述的程 序可以存储于一种计算机可读存储介质中, 上述提到的存储介质可以是 只读存储器, 磁盘或光盘等。 The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments. A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本 发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包 含在本发明的保护范围之内。
The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.
Claims
1、 一种目标操作方法, 其特征在于, 所述方法包括: 1. A target operation method, characterized in that the method includes:
在终端显示的实时街景图像上叠加显示至少一个目标的信息, 所述 置; Superimposing and displaying the information of at least one target on the real-time street view image displayed on the terminal, the position;
在所述终端的运动过程中检测是否存在一个目标的信息位于所述终 端的预定显示区域内; Information detecting whether there is a target during the movement of the terminal is located within a predetermined display area of the terminal;
若检测结果为存在一个目标的信息位于所述终端的预定显示区域 内, 则触发针对所述目标的操作。 If the detection result is that there is information about a target located within the predetermined display area of the terminal, an operation directed to the target is triggered.
2、根据权利要求 1所述的目标操作方法, 其特征在于, 所述相对地 理位置包括所述目标与所述终端之间的相对方向和相对距离, 所述在终 端显示的实时街景图像上叠加显示至少一个目标的信息, 包括: 2. The target operation method according to claim 1, characterized in that, the relative geographical location includes the relative direction and relative distance between the target and the terminal, and is superimposed on the real-time street view image displayed by the terminal. Displays information about at least one target, including:
根据所述终端的第一显示维度上的显示位置和第二显示维度上的显 示位置在实时街景图像上叠加显示所述目标的信息, 所述第一显示维度 上的显示位置根据所述目标与所述终端之间的相对方向确定, 所述第二 显示维度上的显示位置根据所述目标与所述终端之间的相对距离确定。 The information of the target is superimposed on the real-time street view image according to the display position in the first display dimension and the display position in the second display dimension of the terminal, and the display position in the first display dimension is based on the target and The relative direction between the terminals is determined, and the display position in the second display dimension is determined according to the relative distance between the target and the terminal.
3、 根据权利要求 2所述的目标操作方法, 其特征在于, 还包括: 每隔预定时间间隔获取所述终端的位置参数; 3. The target operation method according to claim 2, further comprising: obtaining the location parameters of the terminal at predetermined time intervals;
根据所述终端的位置参数查找符合预定条件的至少一个目标, 所述 预定条件包括所述目标的地理位置属于所述终端的位置参数所指示的 预定范围内; Search for at least one target that meets predetermined conditions according to the location parameters of the terminal, and the predetermined conditions include that the geographical location of the target falls within a predetermined range indicated by the location parameters of the terminal;
根据各个目标与所述终端之间的相对地理位置确定各个目标的信息
在所述终端的所述第一显示维度上的显示位置和所述第二显示维度上 的显示位置。 Determine the information of each target based on the relative geographical location between each target and the terminal A display position on the first display dimension and a display position on the second display dimension of the terminal.
4、根据权利要求 3所述的目标操作方法, 其特征在于, 所述终端的 位置参数包括所述终端的地理位置、 所述终端中的摄像头的朝向信息和 仰角信息, 所述根据所述终端的位置参数查找符合预定条件的至少一个 目标, 包括: 4. The target operation method according to claim 3, wherein the location parameter of the terminal includes the geographical location of the terminal, the orientation information and the elevation information of the camera in the terminal, and the location parameter according to the terminal The positional parameters of find at least one target that meets predetermined conditions, including:
以所述终端的地理位置作为原点, 以所述终端中的所述摄像头的朝 向作为极轴建立极坐标系; Establish a polar coordinate system with the geographical location of the terminal as the origin and the orientation of the camera in the terminal as the polar axis;
根据所述终端中的所述摄像头的仰角信息确定预定半径 r, 所述预 定半径 r的数值与所述仰角信息所表征的角度呈正相关关系; Determine a predetermined radius r according to the elevation information of the camera in the terminal, and the value of the predetermined radius r is positively correlated with the angle represented by the elevation information;
在所述极坐标系中以预定角度 β所在的射线和预定角度- β所在的 射线确定一个扇形区域的圓心角的两边, 以所述预定半径 r确定所述扇 形区域的弧线, 得到所述扇形区域; In the polar coordinate system, the two sides of the central angle of a sector-shaped area are determined with the ray at the predetermined angle β and the ray at the predetermined angle - β, and the arc of the sector-shaped area is determined with the predetermined radius r, to obtain the fan-shaped area;
查找地理位置属于所述扇形区域内的至少一个目标。 Find at least one target whose geographical location falls within the sector area.
5、 根据权利要求 4所述的目标操作方法, 其特征在于, 还包括: 若所述预定条件还包括指定属性, 则从查找到的至少一个目标中再 次查找符合所述指定属性的目标; 5. The target operation method according to claim 4, further comprising: if the predetermined condition also includes a specified attribute, searching again for a target that matches the specified attribute from at least one found target;
其中, 所述指定属性包括性别、 年龄、 状态、 职业、 类别、 地址和 关键字中的至少一种。 Wherein, the specified attributes include at least one of gender, age, status, occupation, category, address and keywords.
6、 根据权利要求 3-5中任一项所述的目标操作方法, 其特征在于, 息在所述终端的所述第一显示维度上的显示位置和所述第二显示维度
上的显示位置, 包括: 6. The target operation method according to any one of claims 3 to 5, characterized in that: the display position and the second display dimension of the terminal are Display locations on, including:
根据查找到的每个目标在所述极坐标系中的极坐标( P, Θ )确定 每个目标的信息在所述终端的所述第一显示维度上的显示位置和所述 第二显示维度上的显示位置, 所述第一显示维度上的显示位置与所述目 标的极坐标角度 Θ对应, 所述第二显示维度上的显示位置与所述目标的 极坐标巨离 p对应。 Determine the display position and the second display dimension of each target's information on the first display dimension of the terminal according to the found polar coordinates (P, Θ) of each target in the polar coordinate system. The display position on the first display dimension corresponds to the polar coordinate angle Θ of the target, and the display position on the second display dimension corresponds to the polar coordinate angle p of the target.
7、 根据权利要求 2所述的目标操作方法, 其特征在于, 还包括: 每隔预定时间间隔向服务器发送所述终端的位置参数; 7. The target operation method according to claim 2, further comprising: sending the location parameters of the terminal to the server at predetermined time intervals;
接收所述服务器反馈的至少一个目标在所述第一显示维度上的显示 位置、 在所述第二显示维度上的显示位置和信息。 Receive the display position of at least one target on the first display dimension, the display position and information on the second display dimension fed back by the server.
8、根据权利要求 1至 7任一所述的目标操作方法, 其特征在于, 所 述若检测结果为存在一个目标的信息位于所述终端的预定显示区域内, 则触发针对所述目标的操作, 包括: 8. The target operation method according to any one of claims 1 to 7, characterized in that, if the detection result is that the information of a target is located within the predetermined display area of the terminal, the operation for the target is triggered. , include:
若所述目标为其它用户,则触发针对所述目标的显示详细信息操作、 显示操作提示框操作、 添加好友操作、 发送信息操作、 发送预定指令操 作和标记操作中的至少一种; If the target is another user, trigger at least one of the display detailed information operation, display operation prompt box operation, add friend operation, send information operation, send scheduled instruction operation and mark operation for the target;
若所述目标为其它终端, 则触发针对所述目标的发送信息操作、 发 送文件操作、 下载文件操作和建立连接操作中的至少一种; If the target is another terminal, trigger at least one of an information sending operation, a file sending operation, a file downloading operation and a connection establishment operation for the target;
若所述目标为 POI点, 则触发针对所述目标的显示详细信息操作或 者导航操作; If the target is a POI point, trigger a display detailed information operation or navigation operation for the target;
若该目标为无线接入点,则触发接入所述目标所属无线网络的操作。 If the target is a wireless access point, an operation of accessing the wireless network to which the target belongs is triggered.
9、 一种目标操作装置, 其特征在于, 所述装置包括:
目标显示模块, 用于在终端显示的实时街景图像上叠加显示至少一 个目标的信息, 所述目标的信息的显示位置关联于所述目标与所述终端 之间的相对地理位置; 9. A target operation device, characterized in that the device includes: A target display module, configured to superimpose and display the information of at least one target on the real-time street view image displayed by the terminal, where the display position of the target information is associated with the relative geographical location between the target and the terminal;
位置检测模块, 用于在所述终端的运动过程中检测是否存在一个目 标的信息位于所述终端的预定显示区域内; A position detection module, used to detect whether the information of a target is located within the predetermined display area of the terminal during the movement of the terminal;
操作触发模块, 用于若检测结果为存在一个目标的信息位于所述终 端的预定显示区域内, 则触发针对所述目标的操作。 An operation triggering module, configured to trigger an operation on the target if the detection result is that the information of a target is located within a predetermined display area of the terminal.
10、 根据权利要求 9所述的目标操作装置, 其特征在于, 所述目标 显示模块, 包括: 目标显示单元; 10. The target operating device according to claim 9, characterized in that the target display module includes: a target display unit;
所述目标显示单元, 用于根据在所述终端上的第一显示维度上的显 示位置和第二显示维度上的显示位置在实时街景图像上叠加显示所述 目标的信息, 所述第一显示维度上的显示位置根据所述目标与所述终端 之间的相对方向确定, 所述第二显示维度上的显示位置根据所述目标与 所述终端之间的相对距离确定。 The target display unit is configured to superimpose and display the information of the target on the real-time street view image according to the display position on the first display dimension and the display position on the second display dimension on the terminal, the first display The display position in the second dimension is determined according to the relative direction between the target and the terminal, and the display position in the second display dimension is determined according to the relative distance between the target and the terminal.
11、根据权利要求 10所述的目标操作装置, 其特征在于, 所述目标 显示模块, 包括: 参数获取单元、 目标查找单元和位置确定单元; 11. The target operating device according to claim 10, characterized in that the target display module includes: a parameter acquisition unit, a target search unit and a position determination unit;
所述参数获取单元, 用于每隔预定时间间隔获取所述终端的位置参 数; The parameter acquisition unit is used to acquire the location parameters of the terminal at predetermined time intervals;
所述目标查找单元, 用于根据所述终端的位置参数查找符合预定条 件的至少一个目标, 所述预定条件包括所述目标的地理位置属于所述终 端的位置参数所指示的预定范围内; The target search unit is configured to search for at least one target that meets predetermined conditions according to the location parameters of the terminal. The predetermined conditions include that the geographical location of the target falls within a predetermined range indicated by the location parameters of the terminal;
所述位置确定单元, 用于根据各个目标与所述终端的相对地理位置 确定各个目标的信息在所述终端的所述第一显示维度上的显示位置和
所述第二显示维度上的显示位置。 The position determining unit is configured to determine the display position and the information of each target on the first display dimension of the terminal according to the relative geographical location of each target and the terminal. The display position in the second display dimension.
12、根据权利要求 11所述的目标操作装置, 其特征在于, 所述终端 的位置参数包括所述终端的地理位置、 所述终端中的摄像头的朝向信息 和仰角信息, 所述目标查找单元, 包括: 坐标建立子单元、 半径确定子 单元、 扇形确定子单元和目标查找子单元; 12. The target operating device according to claim 11, wherein the location parameters of the terminal include the geographical location of the terminal, the orientation information and the elevation information of the camera in the terminal, and the target search unit, Includes: coordinate establishment subunit, radius determination subunit, sector determination subunit and target search subunit;
所述坐标建立子单元, 用于以所述终端的地理位置作为原点, 以所 述终端中的所述摄像头的朝向作为极轴建立极坐标系; The coordinate establishment subunit is used to establish a polar coordinate system with the geographical location of the terminal as the origin and the orientation of the camera in the terminal as the polar axis;
所述半径确定子单元, 用于根据所述终端中的所述摄像头的仰角信 息确定预定半径 r的大小, 所述预定半径 r的数值大小与所述仰角信息 所表征的仰角的大小呈正相关关系; The radius determination subunit is used to determine the size of the predetermined radius r according to the elevation information of the camera in the terminal. The numerical size of the predetermined radius r is positively correlated with the size of the elevation angle represented by the elevation information. ;
所述扇形确定子单元, 用于在所述极坐标系中以预定角度 β所在的 射线和预定角度 - β所在的射线确定一个扇形区域的圓心角的两边,以所 述预定半径 r确定所述扇形区域的弧线, 得到所述扇形区域; The sector determination subunit is used to determine both sides of the central angle of a sector area with the ray at the predetermined angle β and the ray at the predetermined angle - β in the polar coordinate system, and determine the said sector with the predetermined radius r. The arc of the fan-shaped area is used to obtain the fan-shaped area;
所述目标查找子单元, 用于查找地理位置属于所述扇形区域内的至 少一个目标。 The target search subunit is used to search for at least one target whose geographical location belongs to the sector area.
13、根据权利要求 12所述的目标操作装置, 其特征在于, 所述目标 查找单元, 还包括: 属性查找子单元; 13. The target operating device according to claim 12, characterized in that the target search unit further includes: an attribute search subunit;
所述属性查找子单元, 用于若所述预定条件还包括指定属性, 则从 查找到的至少一个所述目标中再次查找符合所述指定属性的目标; 其中, 所述指定属性包括性别、 年龄、 状态、 职业、 类别、 地址和 关键字中的至少一种。 The attribute search subunit is used to, if the predetermined condition also includes a specified attribute, search again for a target that meets the specified attribute from at least one of the found targets; wherein the specified attribute includes gender, age At least one of , status, occupation, category, address and keyword.
14、 根据权利要求 11-13 中任一项所述的目标操作装置, 其特征在
于, 所述位置确定单元, 用于根据查找到的每个目标在所述极坐标系中 的极坐标( P, Θ )确定每个目标的信息在所述终端的所述第一显示维 度上的显示位置和所述第二显示维度上的显示位置, 所述第一显示维度 上的显示位置与所述目标的极坐标角度 Θ对应, 所述第二显示维度上的 显示位置与所述目标的极坐标距离 P对应。 14. The target operation device according to any one of claims 11-13, characterized in that The position determination unit is configured to determine the information of each target on the first display dimension of the terminal according to the polar coordinates (P, Θ) of each found target in the polar coordinate system. The display position of and the display position on the second display dimension, the display position on the first display dimension corresponds to the polar coordinate angle Θ of the target, the display position on the second display dimension corresponds to the target The polar coordinate distance P corresponds to.
15、根据权利要求 11所述的目标操作装置, 其特征在于, 所述目标 显示模块, 还包括: 参数发送单元、 信息接收单元; 15. The target operating device according to claim 11, characterized in that the target display module further includes: a parameter sending unit and an information receiving unit;
所述参数发送单元, 用于每隔预定时间间隔向服务器发送所述终端 的位置参数; The parameter sending unit is configured to send the location parameters of the terminal to the server at predetermined time intervals;
所述信息接收单元, 用于接收所述服务器反馈的至少一个目标的在 所述第一显示维度上的显示位置、 在所述第二显示维度上的显示位置和 信息。 The information receiving unit is configured to receive the display position of at least one target on the first display dimension, the display position on the second display dimension and information fed back by the server.
16、 根据权利要求 9至 15任一所述的目标操作装置, 其特征在于, 所述操作触发模块, 用于: 16. The target operation device according to any one of claims 9 to 15, characterized in that the operation trigger module is used for:
若所述目标为其它用户,则触发针对所述目标的显示详细信息操作、 显示操作提示框操作、 添加好友操作、 发送信息操作、 发送预定指令操 作和标记操作中的至少一种; If the target is another user, trigger at least one of the display detailed information operation, display operation prompt box operation, add friend operation, send information operation, send scheduled instruction operation and mark operation for the target;
若所述目标为其它终端, 则触发针对所述目标的发送信息操作、 发 送文件操作、 下载文件操作和建立连接操作中的至少一种; If the target is another terminal, trigger at least one of an information sending operation, a file sending operation, a file downloading operation and a connection establishment operation for the target;
若所述目标为 POI点, 则触发针对所述目标的显示详细信息操作或 者导航操作; If the target is a POI point, trigger a display detailed information operation or navigation operation for the target;
若该目标为无线接入点,则触发接入所述目标所属无线网络的操作。
If the target is a wireless access point, an operation of accessing the wireless network to which the target belongs is triggered.
17、 一种终端, 其特征在于, 所述终端包括如权利要求 9至 16任一 所述的目标操作装置。 17. A terminal, characterized in that the terminal includes the target operating device according to any one of claims 9 to 16.
18、 一种系统, 其特征在于, 所述系统包括终端和服务器, 所述终 端和所述服务器通过无线网络或者有线网络相连; 18. A system, characterized in that the system includes a terminal and a server, and the terminal and the server are connected through a wireless network or a wired network;
所述终端是如权利要求 17所述的终端。 The terminal is a terminal as claimed in claim 17.
19、 一种电子设备, 其特征在于, 包括: 19. An electronic device, characterized by including:
存储器; memory;
一个或多个处理器; 以及 one or more processors; and
存储器中存储有一个或多个指令, 所述一个或多个指令能够被一个 或多个处理器执行, 所述一个或多个指令用于: One or more instructions are stored in the memory, the one or more instructions can be executed by one or more processors, and the one or more instructions are used to:
在终端显示的实时街景图像上叠加显示至少一个目标的信息, 所述 置; Superimposing and displaying the information of at least one target on the real-time street view image displayed on the terminal, the position;
在所述终端的运动过程中检测是否存在一个目标的信息位于所述终 端的预定显示区域内; Information detecting whether there is a target during the movement of the terminal is located within a predetermined display area of the terminal;
若检测结果为存在一个目标的信息位于所述终端的预定显示区域 内, 则触发针对所述目标的操作。
If the detection result is that there is information about a target located within the predetermined display area of the terminal, an operation directed to the target is triggered.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310309287.1 | 2013-07-22 | ||
CN201310309287.1A CN104333564A (en) | 2013-07-22 | 2013-07-22 | Target operation method, system and device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015010571A1 true WO2015010571A1 (en) | 2015-01-29 |
Family
ID=52392711
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/082472 WO2015010571A1 (en) | 2013-07-22 | 2014-07-18 | Method, system, and device for performing operation for target |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104333564A (en) |
WO (1) | WO2015010571A1 (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104994125B (en) * | 2015-05-14 | 2019-03-08 | 小米科技有限责任公司 | Method for sending information, information display method and device |
CN105992153B (en) * | 2015-06-03 | 2019-12-27 | 法法汽车(中国)有限公司 | Positioning information display method and device |
CN105045836B (en) * | 2015-06-30 | 2019-03-15 | 百度在线网络技术(北京)有限公司 | A kind of search method and device of object information |
CN106612369A (en) | 2015-10-27 | 2017-05-03 | 华为终端(东莞)有限公司 | Positioning information processing method and device |
CN105912555B (en) * | 2016-02-04 | 2019-03-05 | 北京通感科技有限公司 | A kind of interaction reproducting method of data information and Imaging space |
CN107135243B (en) * | 2016-02-29 | 2020-10-16 | 阿里巴巴集团控股有限公司 | Method and device for determining relative position |
CN105807274A (en) * | 2016-03-16 | 2016-07-27 | 深圳市大财子科技有限公司 | Radar location method and system based on social platform and social platform |
CN110290469A (en) * | 2019-06-20 | 2019-09-27 | 维沃移动通信有限公司 | A kind of air navigation aid and mobile terminal |
CN110686694A (en) * | 2019-10-25 | 2020-01-14 | 深圳市联谛信息无障碍有限责任公司 | Navigation method, navigation device, wearable electronic equipment and computer readable storage medium |
CN113595748B (en) * | 2021-07-29 | 2023-06-30 | Oppo广东移动通信有限公司 | Team recommendation method, team recommendation device, electronic device and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1639544A (en) * | 2001-09-19 | 2005-07-13 | 艾利森电话股份有限公司 | Method for navigation and selection at a terminal device |
US20090288022A1 (en) * | 2008-05-15 | 2009-11-19 | Sony Corporation | Dynamically changing a user interface based on device location and/or date/time |
CN102546656A (en) * | 2012-02-10 | 2012-07-04 | 腾讯科技(深圳)有限公司 | Method, system and device for finding user in social network |
CN103096242A (en) * | 2011-11-03 | 2013-05-08 | 腾讯科技(深圳)有限公司 | User recommendation method and system based on location based services |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102945258B (en) * | 2012-10-18 | 2016-01-20 | 北京淘友天下科技发展有限公司 | Obtain social network user certain factor and system |
CN103105993B (en) * | 2013-01-25 | 2015-05-20 | 腾讯科技(深圳)有限公司 | Method and system for realizing interaction based on augmented reality technology |
-
2013
- 2013-07-22 CN CN201310309287.1A patent/CN104333564A/en active Pending
-
2014
- 2014-07-18 WO PCT/CN2014/082472 patent/WO2015010571A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1639544A (en) * | 2001-09-19 | 2005-07-13 | 艾利森电话股份有限公司 | Method for navigation and selection at a terminal device |
US20090288022A1 (en) * | 2008-05-15 | 2009-11-19 | Sony Corporation | Dynamically changing a user interface based on device location and/or date/time |
CN103096242A (en) * | 2011-11-03 | 2013-05-08 | 腾讯科技(深圳)有限公司 | User recommendation method and system based on location based services |
CN102546656A (en) * | 2012-02-10 | 2012-07-04 | 腾讯科技(深圳)有限公司 | Method, system and device for finding user in social network |
Also Published As
Publication number | Publication date |
---|---|
CN104333564A (en) | 2015-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2015010571A1 (en) | Method, system, and device for performing operation for target | |
US10194293B2 (en) | System and method for vital signs alerting privileged recipients | |
US9367961B2 (en) | Method, device and storage medium for implementing augmented reality | |
US10062212B2 (en) | Method and device for providing augmented reality output | |
US9558559B2 (en) | Method and apparatus for determining camera location information and/or camera pose information according to a global coordinate system | |
US9699375B2 (en) | Method and apparatus for determining camera location information and/or camera pose information according to a global coordinate system | |
US8872767B2 (en) | System and method for converting gestures into digital graffiti | |
CN108924737B (en) | Positioning method, device, equipment and computer readable storage medium | |
US11373410B2 (en) | Method, apparatus, and storage medium for obtaining object information | |
WO2015010579A1 (en) | Target searching method, device, apparatus and system | |
WO2015107263A1 (en) | Method and apparatus for evaluating environmental structures for in-situ content augmentation | |
WO2014169692A1 (en) | Method,device and storage medium for implementing augmented reality | |
CN111563201A (en) | Content pushing method, device, server and storage medium | |
CN110990728A (en) | Method, device and equipment for managing point of interest information and storage medium | |
US11461152B2 (en) | Information input method and terminal | |
CN110095792B (en) | Method and device for positioning terminal | |
CN112804481B (en) | Method and device for determining position of monitoring point and computer storage medium | |
US9596404B2 (en) | Method and apparatus for generating a media capture request using camera pose information | |
WO2019233299A1 (en) | Mapping method and apparatus, and computer readable storage medium | |
JP6593665B2 (en) | Image display system, terminal, method and program | |
CN111581481B (en) | Search term recommendation method and device, electronic equipment and storage medium | |
CN110633335B (en) | Method, terminal and readable storage medium for acquiring POI data | |
JP6447251B2 (en) | Information processing apparatus, display control method, and display control program | |
CA2802276C (en) | Method and device for providing augmented reality output |
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: 14830159 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC , EPO FORM 1205A DATED 24-06-16 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14830159 Country of ref document: EP Kind code of ref document: A1 |