WO2019228038A1 - 定位信息提示方法和装置、存储介质及电子装置 - Google Patents

定位信息提示方法和装置、存储介质及电子装置 Download PDF

Info

Publication number
WO2019228038A1
WO2019228038A1 PCT/CN2019/079978 CN2019079978W WO2019228038A1 WO 2019228038 A1 WO2019228038 A1 WO 2019228038A1 CN 2019079978 W CN2019079978 W CN 2019079978W WO 2019228038 A1 WO2019228038 A1 WO 2019228038A1
Authority
WO
WIPO (PCT)
Prior art keywords
sound source
sound
display
positioning information
position mark
Prior art date
Application number
PCT/CN2019/079978
Other languages
English (en)
French (fr)
Inventor
王晗
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2019228038A1 publication Critical patent/WO2019228038A1/zh
Priority to US16/941,489 priority Critical patent/US11241625B2/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • A63F13/65Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor automatically by game devices or servers from real world data, e.g. measurement in live racing competition
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/537Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
    • A63F13/5378Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen for displaying an additional top view, e.g. radar screens or maps
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/537Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
    • A63F13/5372Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen for tagging characters, objects or locations in the game scene, e.g. displaying a circle under the character controlled by the player
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/215Input arrangements for video game devices characterised by their sensors, purposes or types comprising means for detecting acoustic signals, e.g. using a microphone
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/537Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/537Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
    • A63F13/5375Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen for graphically or textually suggesting an action, e.g. by displaying an arrow indicating a turn in a driving game
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/54Controlling the output signals based on the game progress involving acoustic signals, e.g. for simulating revolutions per minute [RPM] dependent engine sounds in a driving game or reverberation against a virtual wall
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/837Shooting of targets
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/303Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device for displaying additional data, e.g. simulating a Head Up Display
    • A63F2300/305Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device for displaying additional data, e.g. simulating a Head Up Display for providing a graphical or textual hint to the player
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/6063Methods for processing data by generating or executing the game program for sound processing
    • A63F2300/6081Methods for processing data by generating or executing the game program for sound processing generating an output signal, e.g. under timing constraints, for spatialization
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/8076Shooting

Definitions

  • the present application relates to the field of computers, and in particular, to a positioning information prompting method and device, a storage medium, and an electronic device.
  • the embodiments of the present application provide a positioning information prompting method and device, a storage medium, and an electronic device, so as to at least solve a technical problem of obtaining inaccurate positioning information of an object emitting the sound only through a sound simulated in a virtual scene.
  • a positioning information prompting method including:
  • positioning information of the sound source of the sound signal is displayed in the application client, wherein the positioning information includes a tag for marking the sound source with respect to the virtual scene in the virtual scene.
  • a positioning information prompting device including:
  • An obtaining unit configured to obtain a first position of a first virtual character controlled by an application client in a virtual scene
  • a detection unit configured to detect a sound signal generated in the virtual scene within a sound source detection range matching the first position
  • a display unit configured to display the positioning information of the sound source of the sound signal in the application client when the sound signal is detected within the sound source detection range, where the positioning information includes a mark for marking in the virtual scene The position mark of the sound source relative to the second position where the first virtual character is located.
  • a storage medium stores a computer program, and the computer program is configured to execute the positioning information prompting method described above when running.
  • an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the foregoing by using the computer program.
  • Location information prompt method
  • a computer program product including instructions, which when executed on a computer, causes the computer to execute the positioning information prompting method described in the present application.
  • the first position of the first virtual character controlled by the application client in the virtual scene is obtained; and within the sound source detection range matching the first position, the generated in the virtual scene is detected.
  • Sound signal; the location of the sound signal can be used as the positioning information of the sound source of the sound signal, and has high accuracy.
  • the positioning information is displayed in the application client in the form of a position mark of the sound source relative to the second position where the first virtual character is located.
  • Hardware resources can realize the positioning information prompt, and by displaying the relative position of the sound source, it avoids the problem of being unable to know the position of the sound source due to operation blockage and other reasons, reducing the difficulty of operation, especially in mobile terminals such as mobile phones can obtain better technical results .
  • FIG. 1 is a schematic diagram of an application environment of a method for acquiring positioning information according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of an optional method for acquiring positioning information according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of an optional method for acquiring positioning information according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of another optional method for acquiring positioning information according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of another optional method for acquiring positioning information according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of another optional method for acquiring positioning information according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of another optional method for acquiring positioning information according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of another optional method for acquiring positioning information according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of another optional method for acquiring positioning information according to an embodiment of the present application.
  • FIG. 10 is a flowchart of another optional method for acquiring positioning information according to an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of an optional positioning information prompting device according to an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of an optional electronic device according to an embodiment of the present application.
  • a positioning information prompting method is provided.
  • the foregoing positioning information prompting method may be, but is not limited to, applied in the environment shown in FIG. 1. .
  • the terminal 102 performs data interaction with the server 106 through the network 104.
  • the terminal 102 obtains a first position of the first virtual character controlled by the application client in the virtual scene; and detects a sound signal generated in the virtual scene within a sound source detection range matching the first position; within the sound source detection range
  • the positioning information of the sound source of the sound signal is displayed in the application client, where the positioning information includes a position marker for marking the sound source relative to the second position where the first virtual character is located in the virtual scene .
  • the position of the sound target object in the virtual scene is usually obtained through the simulated sound.
  • the position of the sound target in the virtual scene is not obtained accurately through the simulated sound, the direction and location of the sound source after the simulation is not clear. Therefore, the position of the sounded target object in the virtual scene is not accurate.
  • the positioning information of the sound source that generates the sound can be accurately displayed, thereby improving the positioning of the displayed sound source.
  • the above positioning information prompting method may be applied to, but not limited to, terminals that can display virtual scenes, such as mobile phones, tablets, laptops, and PCs.
  • the above networks may include, but are not limited to, wireless networks or wired networks.
  • the wireless network includes: Bluetooth, WIFI, and other networks that implement wireless communication.
  • the wired network may include, but is not limited to, a wide area network, a metropolitan area network, and a local area network.
  • the foregoing positioning information prompting method includes:
  • S202 Obtain a first position of a first virtual character controlled by an application client in a virtual scene
  • the sound signal generated in the virtual scene when the sound signal generated in the virtual scene is detected, it means that the sound source that generates the sound in the virtual scene is detected.
  • the sound source here is also the sound source virtual object.
  • the sound source virtual object is Refers to virtual objects that can make sounds, such as virtual characters such as game characters, cars, and guns.
  • the application client when detecting the sound signal of the virtual scene, can detect the sound signal generated in the virtual scene by using signal receivers deployed in multiple positions within the sound source monitoring range matching the first position.
  • corresponding audio signal receivers can be deployed in eight directions including east, south, west, north, southeast, northeast, southwest, and northwest, respectively, and received by the sound source signal.
  • the receiver detects the sound signal generated in the virtual scene.
  • the audio receiver receives the signal, it indicates that a sound signal is generated in the position where the audio receiver is located, so that the approximate position of the sound source relative to the first virtual character can be located.
  • the positioning information of the sound source of the sound signal is displayed in the application client, where the positioning information includes a mark used to mark the sound source relative to the first virtual character in the virtual scene. Position marker for the second position.
  • the above positioning information prompting method may be, but is not limited to, being applied to a game field or a simulation training field.
  • the above-mentioned positioning information prompting method is described below in connection with the game field.
  • the first virtual character may be, but is not limited to, a character in a game controlled by a user
  • the foregoing sound source may be, but is not limited to, an object in the game that can generate sound.
  • the location information of the object that generates the sound signal is displayed in the application client.
  • a game object controlled by another user in front of the house is located within a sound source detection range of the game object controlled by the current user.
  • a game object near the house makes a sound, such as gunfire, door opening and closing, footsteps, etc.
  • the positioning information of the game object near the house is displayed on the current user's application client, which is used to prompt the current user of the above positioning information.
  • FIG. 3 is only for explaining the present application, and does not constitute a limitation on the present application.
  • the sound source type of the sound source to which the sound signal belongs can also be displayed, for example, by an icon Different display mode to provide users with richer information.
  • displaying the positioning information of the sound source of the sound signal in the application client includes: obtaining the sound source type to which the sound source of the sound signal belongs from the sound signal, and displaying a position mark matching the type of the sound source, wherein the position mark includes an instruction for indicating The direction mark of the sound source relative to the moving direction of the first virtual character.
  • the above sound source can be not only game objects controlled by other users, but also any game objects that can emit sounds, such as cars, airplanes, airdrops, mines, grenades, and the like.
  • movement direction of the game object indicated by the arrow above is only an optional example, and other methods may also be used to represent the movement direction of the game object. For example, different graphic marks and color marks are used to indicate the moving direction of the game object, and a dark color direction is used to indicate the moving direction of the game object.
  • displaying the position mark matching the type of the sound source includes at least one of the following: in the second position where the sound source is located, displaying the position mark in a color matching the type of the sound source; in the second position where the sound source is located, according to the type of the sound source
  • the matching shape displays the position mark; in the second position where the sound source is located, the position mark is displayed according to the mark that matches the type of the sound source.
  • a mark can be used to represent a location mark.
  • the position mark When the position mark of the sound made by the gun is displayed, the position mark may be represented by a bullet or a gun; when the position mark of the sound made by the car is displayed, the position mark may be represented by a car, and so on.
  • the position mark can be represented by color.
  • the position mark of the sound made by the friendly forces is displayed, the position mark can be green, and when the position mark of the sound made by the enemy is displayed, the position mark can be red.
  • the position mark can be represented by a shape.
  • the position mark of the sound made by the airdrop When the position mark of the sound made by the airdrop is displayed, the position mark can be a triangle.
  • the position mark of the sound made by the bomb the position mark can be a circle or the like.
  • position mark is a logo or a color or shape is only an optional example, and the specific position mark may be any color, pattern, or a combination thereof.
  • a sound source detection range may also be determined before detecting a sound signal generated in a virtual scene.
  • a detection radius of a sound source detection range with the first position as a circle center may be determined according to a preset sound source type, where: The detection radius is inversely proportional to the audio of the sound indicated by the preset sound source type. Specifically, the higher the audio of the sound indicated by the preset sound source type, the smaller the detection radius, and the lower the audio of the sound indicated by the preset sound source type, the larger the detection radius.
  • the propagation distance of different sound source types is different, and the propagation distance of gunfire is farther, so even if the location where the gunfire is generated is far from the location of the first virtual object, it can be detected.
  • the propagation distance of the sound of opening and closing the door is much smaller, so if the position of the opening and closing door is a little farther from the first virtual object, it cannot be detected.
  • A1 and A2 are positions where the sound of opening and closing the door is generated, and the smallest virtual circle in FIG. 5 is the range where the sound of opening and closing the door can be detected. Therefore, the sound of the opening and closing of the door at position A1 can be detected, and It is displayed on the client side of the first virtual object, and the sound of the door opening and closing at the A2 position cannot be detected.
  • C1 and C2 are the positions where the airdrop sound is generated.
  • the largest virtual circle in FIG. 5 is the range where the airdrop sound can be detected.
  • the airdrop sound at the C1 position can be detected.
  • the airdrop sound at the C2 position cannot be detected.
  • B1 and B2 are the positions where gunshots are generated.
  • the middle dotted circle in Figure 5 is the range for detecting gunshots. Therefore, gunshots generated at B1 can be detected, but gunshots generated at B2 cannot be detected. .
  • the detection radius of the sound source detection range of the first virtual character is different. It can be set that the smaller the audio of the sound indicated by the sound source type, the larger the detection radius of the sound source detection range.
  • the positioning information of the sound source of the sound signal when the positioning information of the sound source of the sound signal is displayed in the application client, it may be implemented in the following manner:
  • One implementation manner is that a plurality of sound signals located in different directions of the first virtual character are detected within the sound source detection range. In the case of simultaneously displaying the position marks corresponding to the respective sound sources of multiple sound signals; another implementation is that when multiple sound signals located in the same direction of the first virtual character are detected within the sound source detection range , Acquiring multiple sound signal display periods corresponding to the sound sources; determining a target sound source according to the display period, and displaying a position mark of the target sound source.
  • FIG. 6 when multiple sound signals are detected, such as gun sounds and car sounds, it is necessary to display the position marks of the sound sources of multiple sound signals on the display interface of the client. The direction of the car sound is different, and the position marks of the gun sound and the car sound are displayed at the same time.
  • the display result is shown in FIG. 6. If multiple sound signals such as gun sounds and car sounds are located in the same direction, the display periods corresponding to gun sounds and cars are acquired, and gun sounds and car sounds in the same direction are displayed according to the display period.
  • a gun sound sets a display period of 0.5 seconds
  • a car sound sets a display period of 1 second, and the like.
  • determining the target sound source according to the display period includes: in a case where the first display start time of the display period of the first sound source is earlier than the second display start time of the display period of the second sound source, determine in the following manner Target sound source:
  • the first sound source is used as the target sound source; when the first display end time of the display period of the first sound source has been reached, but the display of the second sound source has not been reached When the second display end time of the period, the second sound source is used as the target sound source; at the first display end time of the display period of the first sound source, the display duration of the position mark of the first sound source is greater than or equal to the first threshold, and In the case where the second display end time of the display period of the second sound source has not been reached, the first sound source and the second sound source are alternately used as the target sound source at predetermined intervals, where the first sound source and the second sound source are multiple sounds Two different sources in the source to which the signal belongs.
  • FIG. 7 the display periods of different sound source types and specific display strategies when multiple sound sources are in the same direction are shown in FIG. 7.
  • the car sound and the gun sound are located in the same direction.
  • the display period of the position mark corresponding to the car sound is 1 second
  • the display period of the position mark corresponding to the gun sound is 0.5 second. Because the display period of the position marks of gun sounds is completely within the display period of the position marks of car sounds, when the position marks of car sounds are started to be displayed, the display period of position marks of gun sounds has not yet been displayed. When the display of the position mark ends, the display cycle of the position marks of the gunfire has ended.
  • the position marks of gunshots are not displayed, and only the position marks of car sounds are displayed.
  • the display period of the position mark of the car sound is 1 second, and the display period of the position mark of the gun sound is 0.5 second.
  • the display period of the position mark of the gun sound is 0.5 second.
  • the display period of the position mark of the car sound is 3 seconds, and the display period of the position mark of the gun sound is 0.5 second.
  • the respective position marks of the sound sources to which the multiple sound signals belong are simultaneously displayed, and the sound source is monitored.
  • the position marks of one sound source among the multiple sound sources are sequentially displayed at predetermined time intervals.
  • the sound source may also be enlarged when the distance between the second position where the sound source is located and the first position where the first virtual character is located becomes smaller.
  • the display size of the position mark of the sound source In this way, the position mark of the sound source is gradually increased on the application client.
  • Reduce the display size of the position marker of the sound source In this way, the position marker of the sound source gradually decreases in the application client.
  • the change trend of the position marker can remind the user that the position of the sound source and the position of the first virtual character are increasing. The closer or farther away, based on this, the user can control the moving direction of the first virtual character.
  • the description is continued with a game application as an example.
  • the size of the displayed position mark may be determined according to the distance between the first virtual character and the sound source. As shown in FIG. 8, when the position marks of car sounds in different directions are displayed, the position marks with a longer distance are smaller, and the position marks with a closer distance are larger. With the distance between the first virtual character and the position of the car sound, the size of the displayed position marker can be adjusted in real time.
  • the position of the first virtual character and the sound source may also be represented by using colors. For example, the closer the location, the darker the position marker color of the sound source displayed on the client.
  • displaying the positioning information of the sound source virtual object in the application client includes at least one of the following: in the task map corresponding to the virtual scene, displaying the position marker of the sound source virtual object of the sound signal; In the human-computer interaction interface, the position mark of the sound source virtual object is displayed.
  • the position mark of the sound source is displayed on the client during the game, not only the position mark can be displayed on the map, but also the position mark can be displayed in the human-computer interaction interface outside the map.
  • the position mark may also be displayed outside the map of the client. For example, a certain area may be displayed as a display area for a position mark.
  • position markers may be displayed only on the map of the client, or the position markers may be displayed only on the map of the client, or the position markers may be displayed on the map of the client and outside the map.
  • displaying the positioning information of the sound source of the sound signal in the application client includes: displaying a position mark of the sound source of the sound signal according to a display period that matches the type of the sound source to which the sound signal belongs.
  • the description is continued in conjunction with the above game field.
  • the display period of the corresponding position mark is also different.
  • the display period of the gun sound is 0.5 second
  • the display period of the position mark corresponding to the door opening sound is 0.8 second.
  • the position mark of the sound source virtual object is displayed, the position mark of the sound source of the sound signal may be displayed according to a display period that matches the type of the sound source to which the sound source belongs.
  • the above-mentioned location identifier displayed on the client may be preset.
  • Position markers showing gun sounds and car sounds are set in advance, and position markers for door opening and closing sounds are not displayed. During the game, even if the sound of opening and closing the door is detected, it is not displayed.
  • the application client detects a sound signal according to step S1002, and after detecting a unidirectional sound signal in step S1004, determines whether the detected sound signal is a single or a plurality of sound signals according to step S1006.
  • the sound source type to which the sound signal belongs is detected according to step S1008, and according to the sound source type, step S1010 is performed to display a position mark.
  • step S1012 is executed to end the display of the position mark.
  • step S1014 is executed to alternately display the position marks of the sound sources of the sound signals. After all the sound source display periods have ended, the position marks are ended to be displayed.
  • the first position of the first virtual character controlled by the application client in the virtual scene is obtained; the sound signal generated in the virtual scene is detected within the sound source detection range matching the first position;
  • the positioning information of the sound source of the sound signal is displayed in the application client, where the positioning information includes a second position for marking the sound source relative to the first virtual character in the virtual scene.
  • the method of position marking can accurately display the positioning information of the sound source that generates the sound, thereby achieving the effect of improving the accuracy of the positioning information of the sound source.
  • the problem that the accuracy of acquiring the positioning information of the sound emitting object in the related art is low has been solved.
  • displaying the positioning information of the sound source virtual object in the application client includes:
  • the moving direction of the sound source relative to the first virtual character is simultaneously displayed, thereby achieving the effect of improving the accuracy of the display position of the sound source.
  • the location mark showing matching the type of the sound source includes at least one of the following:
  • the position markers displayed are also different.
  • a mark can be used to represent a location mark.
  • the position mark of the sound made by the gun the position mark may be represented by a bullet or a gun; when the position mark of the sound made by the car is displayed, the position mark may be represented by a car, and so on.
  • the position mark can be represented by color.
  • the position mark of the sound made by the friendly forces is displayed, the position mark can be green, and when the position mark of the sound made by the enemy is displayed, the position mark can be red.
  • the position mark can be represented by a shape.
  • the position mark of the sound made by the airdrop the position mark can be a triangle.
  • the position mark of the sound made by the bomb the position mark can be a circle or the like.
  • position mark is a logo or a color or shape is only an optional example, and the specific position mark may be any color, pattern, or a combination thereof.
  • different types of audio sources can be distinguished to improve the accuracy of displaying the location identifiers of audio sources.
  • the method before detecting a sound signal generated in a virtual scene, the method further includes:
  • the detection radius of the sound source detection range of the first virtual character is different. It can be set that the smaller the audio of the sound indicated by the sound source type, the larger the detection radius of the sound source detection range.
  • the detection radius of different detection ranges is set according to different types of sound sources, so that the process of detecting sound sources can be closer to the real, and the accuracy of displaying the position markers of the sound sources is further improved.
  • displaying the positioning information of the sound source in the application client includes one of the following:
  • the accuracy of displaying the position identifiers of the sound sources can be improved.
  • determining the target sound source according to the display period includes:
  • the target sound source is determined in the following manner:
  • the first sound source is used as the target sound source
  • the display time of the position mark of the first sound source is greater than or equal to the first threshold, and the second display end time of the display period of the second sound source has not been reached.
  • the first sound source and the second sound source are alternately used as the target sound source at predetermined time intervals.
  • the position identifiers of different sound sources in the same direction are displayed sequentially or periodically, thereby achieving the purpose of displaying even when there are multiple sound sources at the same position, while improving the display accuracy of the position markers To overcome complex display situations.
  • displaying the positioning information of the sound source in the application client includes:
  • colors may also be used to indicate the distance between the first virtual object and the sound source. For example, the closer the location, the darker the position marker color of the sound source displayed on the client.
  • the accuracy of the position mark of the sound source can be improved.
  • displaying the positioning information of the sound source in the application client includes at least one of the following:
  • a position mark of a sound source is displayed on a map of a client or a position mark of a sound source is displayed outside the map, thereby improving the accuracy of sound source display and improving the flexibility of sound source display.
  • displaying the location information of the sound source in the application client may specifically be:
  • S1 displays a position mark of the sound source of the sound signal according to a display period matching the sound source type to which the sound source of the sound signal belongs.
  • different display periods of position marks are set for different types of sound sources, thereby improving the accuracy of displaying the position marks of sound sources.
  • the method according to the above embodiments can be implemented by means of software plus a necessary universal hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is Better implementation.
  • the technical solution of this application that is essentially or contributes to the existing technology can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, The optical disc) includes several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of the embodiments of the present application.
  • a terminal device which may be a mobile phone, a computer, a server, or a network device, etc.
  • a positioning information prompting device for implementing the foregoing positioning information prompting method is also provided. As shown in FIG. 11, the device includes:
  • An obtaining unit 1102 is configured to obtain a first position of a first virtual character controlled by an application client in a virtual scene
  • a detection unit 1104 configured to detect a sound signal generated in a virtual scene within a detection range of a sound source matching the first position
  • a display unit 1106 is configured to display, in a case where a sound signal is detected within a sound source detection range, positioning information of a sound source of the sound signal in an application client, where the positioning information includes a sound source relative to a mark in a virtual scene. The position mark of the second position where the first avatar is located.
  • the first position of the first virtual character controlled by the application client in the virtual scene is obtained; the sound signal generated in the virtual scene is detected within the sound source detection range matching the first position;
  • the positioning information of the sound source of the sound signal is displayed in the application client, where the positioning information includes a method for marking a position mark of a second position where the sound source is located in a virtual scene, Therefore, the positioning information of the sound source that generates the sound can be accurately displayed, thereby achieving the effect of improving the accuracy of the positioning information of the sound source, and solving the problem of low accuracy of obtaining the positioning information of the sound emitting object in the related art.
  • the display unit includes:
  • An obtaining module configured to obtain, from the sound signal, a sound source type to which the sound source of the sound signal belongs;
  • the first display module is configured to display a position mark matching the type of the sound source, wherein the position mark includes a direction mark for indicating a moving direction of the sound source relative to the first virtual character.
  • the above sound source is not only a game object controlled by other users, but also any game object that can emit sound, such as a car, an airplane, an airdrop, a land mine, a grenade, and the like.
  • movement direction of the game object indicated by the arrow above is only an optional example, and other methods may also be used to represent the movement direction of the game object. For example, different graphic marks and color marks are used to indicate the moving direction of the game object, and a dark color direction is used to indicate the moving direction of the game object.
  • the moving direction of the sound source relative to the first virtual object is simultaneously displayed, thereby achieving the effect of improving the accuracy of the display position of the sound source.
  • the first display module includes at least one of the following:
  • a first display submodule configured to display a position mark in a second position where the sound source is located according to a color matching the type of the sound source
  • a second display submodule configured to display a position mark at a second position where the sound source is located according to a shape matching the type of the sound source
  • the third display sub-module is configured to display a position mark at a second position where the sound source is located according to an identifier matching the type of the sound source.
  • position mark is a logo or a color or shape is only an optional example, and the specific position mark may be any color, pattern, or a combination thereof.
  • different types of audio sources can be distinguished to improve the accuracy of displaying the location identifiers of audio sources.
  • the above device further includes:
  • a determining unit configured to determine a detection radius of a sound source detection range with a first position as a circle center according to a preset sound source type before detecting a sound signal generated in a virtual scene, wherein the detection radius and the preset sound source type The audio of the indicated sound is inversely proportional.
  • the detection radius of the sound source detection range of the first virtual character is different. It can be set that the smaller the audio of the sound indicated by the sound source type, the larger the detection radius of the sound source detection range.
  • the detection radius of different detection ranges is set according to different types of sound sources, so that the process of detecting sound sources can be closer to the real, and the accuracy of displaying the sound sources is further improved.
  • the display unit further includes one of the following:
  • a second display module configured to simultaneously display the position marks corresponding to the respective sound sources of the multiple sound signals when multiple sound signals located in the same direction of the first virtual character are detected within the sound source detection range;
  • a third display module configured to obtain a display period corresponding to each of the sound sources to which the multiple sound signals belong when a plurality of sound signals located in the same direction of the first virtual character are detected within a sound source detection range; and determined according to the display period
  • the target sound source displays a position mark of the target sound source.
  • the accuracy of displaying the position identifiers of the sound sources can be improved.
  • the third display module includes:
  • the target sound source is determined as follows:
  • a first determining submodule configured to: when the first display start time of the display period of the first sound source is earlier than the second display start time of the display period of the second sound source, The first display end time of the display period of the sound source, using the first sound source as the target sound source; wherein the first sound source and the second sound source are two different sound sources among the sound sources to which the plurality of sound signals belong;
  • a second determining submodule for a case where a first display start time of the display period of the first sound source is earlier than a second display start time of the display period of the second sound source, When the first display end time of the display period, but has not yet reached the second display end time of the display period of the second sound source, the second sound source is used as the target sound source;
  • a third determining submodule configured to: when the first display start time of the display period of the first sound source is earlier than the second display start time of the display period of the second sound source, In the case where the first display end time of the display period of the sound source, the displayed duration of the position mark of the first sound source is greater than or equal to the first threshold, and the second display end time of the display period of the second sound source has not been reached, every predetermined time At intervals, the first sound source and the second sound source are alternately used as the target sound source.
  • the position identifiers of different sound sources in the same direction are displayed sequentially or periodically, thereby achieving the purpose of displaying even when there are multiple sound sources at the same position, while improving the display accuracy of the position markers To overcome complex display situations.
  • the display unit further includes:
  • a first adjustment module configured to enlarge the display size of a position mark of a sound source when the distance between the second position where the sound source is located and the first position where the first virtual character is located becomes smaller;
  • the second adjustment module is configured to reduce the display size of the position mark of the sound source when the distance between the second position where the sound source is located and the first position where the first virtual character is located becomes larger.
  • colors may also be used to indicate the distance between the first virtual object and the sound source. For example, the closer the location, the darker the position marker color of the sound source displayed on the client.
  • the accuracy of the position mark of the displayed sound source can be improved.
  • the display unit further includes at least one of the following:
  • a fourth display module configured to display a position mark of a sound source of a sound signal in a task map corresponding to a virtual scene
  • a fifth display module is configured to display a position mark of a sound source of a sound signal in a human-machine interaction interface for displaying a virtual scene.
  • position markers may be displayed only on the map of the client, or the position markers may be displayed only on the map of the client, or the position markers may be displayed on the map of the client and outside the map.
  • the position mark of the sound source can be displayed on the map of the client or the position mark of the sound source can be displayed outside the map, thereby improving the display accuracy of the sound source and improving the display flexibility of the sound source.
  • the display unit further includes:
  • the sixth display module is configured to display a position mark of the sound source of the sound signal according to a display period that matches the type of the sound source to which the sound source belongs.
  • an electronic device for implementing the positioning information prompting method is also provided.
  • the electronic device includes a memory and a processor, and the computer program is stored in the memory.
  • the processor is configured to execute the steps in any one of the foregoing method embodiments by using a computer program.
  • the foregoing electronic device may be located in at least one network device among a plurality of network devices in a computer network.
  • the foregoing processor may be configured to execute the following steps by a computer program:
  • S1 Obtain a first position of a first virtual character controlled by an application client in a virtual scene
  • positioning information of the sound source of the sound signal is displayed in the application client, where the positioning information includes a first scene for marking the sound source relative to the first virtual character in the virtual scene. Position marker for two positions.
  • the structure shown in FIG. 12 is only for illustration, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a handheld computer, and a mobile Internet device Internet devices (MID), PAD and other terminal equipment.
  • FIG. 12 does not limit the structure of the electronic device.
  • the electronic device may further include more or fewer components (such as a network interface, a display device, etc.) than those shown in FIG. 12, or have a different configuration from that shown in FIG. 12.
  • the memory 1202 can be used to store software programs and modules, such as program instructions / modules corresponding to the positioning information prompting method and device in the embodiments of the present application.
  • the processor 1204 executes the software programs and modules stored in the memory 1202 to execute Various functional applications and data processing, that is, the above-mentioned positioning information prompting method is implemented.
  • the memory 1202 may include a high-speed random access memory, and may further include a non-volatile memory, such as one or more magnetic storage devices, a flash memory, or other non-volatile solid-state memory.
  • the memory 1202 may further include a memory remotely set relative to the processor 1204, and these remote memories may be connected to the terminal through a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the transmission device 1206 is used to receive or send data via a network.
  • Specific examples of the foregoing network may include a wired network and a wireless network.
  • the transmission device 1206 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers through a network cable so as to communicate with the Internet or a local area network.
  • the transmission device 1206 is a radio frequency (RF) module, which is used to communicate with the Internet in a wireless manner.
  • RF radio frequency
  • the memory 1202 is configured to store content such as a location identifier of a sound source and a type of the sound source.
  • a storage medium stores a computer program, and the computer program is configured to execute the steps in any one of the foregoing method embodiments when running.
  • the foregoing storage medium may be configured to store a computer program for performing the following steps:
  • S1 Obtain a first position of a first virtual character controlled by an application client in a virtual scene
  • positioning information of the sound source of the sound signal is displayed in the application client, where the positioning information includes a mark used to mark the sound source relative to the first virtual character in a virtual scene. Position marker for the second position.
  • the foregoing storage medium may be configured to store a computer program for performing the following steps:
  • the foregoing storage medium may be configured to store a computer program for performing the following steps:
  • the foregoing storage medium may be configured to store a computer program for performing the following steps:
  • the foregoing storage medium may be configured to store a computer program for performing the following steps:
  • the foregoing storage medium may be configured to store a computer program for performing the following steps:
  • the display duration of the position mark of the first sound source is greater than or equal to the first threshold, and the second display end time of the display period of the second sound source has not been reached
  • the first sound source and the second sound source are alternately used as the target sound source
  • the first sound source and the second sound source are two different sound sources among the sound sources to which the multiple sound signals belong, and a first display start time of a display period of the first sound source is earlier than that of the second sound source.
  • the second display time of the display cycle is a first display start time of a display period of the first sound source.
  • the foregoing storage medium may be configured to store a computer program for performing the following steps:
  • each of the sound sources to which the plurality of sound signals belong is simultaneously displayed.
  • a plurality of the sound signals are detected within the sound source detection range, and a plurality of the sound signals to which the sound signals belong are located in the same direction of the first virtual character, a plurality of the sound signals are sequentially displayed at predetermined time intervals The position mark of a sound source in the sound source.
  • the foregoing storage medium may be configured to store a computer program for performing the following steps:
  • the foregoing storage medium may be configured to store a computer program for performing the following steps:
  • the foregoing storage medium may be configured to store a computer program for performing the following steps:
  • the foregoing storage medium may be configured to store a computer program for performing the following steps:
  • a signal receiver deployed in multiple orientations detects a sound signal generated in the virtual scene.
  • a computer program product including instructions, which when run on a computer, causes the computer to execute the positioning information prompting method described in the present application.
  • the storage media may include: a flash disk, a read-only memory (ROM), a random access device (Random Access Memory, RAM), a magnetic disk, or an optical disk.
  • the integrated unit in the foregoing embodiment When the integrated unit in the foregoing embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in the computer-readable storage medium.
  • the technical solution of the present application essentially or part that contributes to the existing technology or all or part of the technical solution may be embodied in the form of a software product, which is stored in a storage medium.
  • Several instructions are included to cause one or more computer devices (which may be personal computers, servers, or network devices, etc.) to perform all or part of the steps of the method described in the embodiments of the present application.
  • the disclosed client can be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division.
  • multiple units or components may be combined or may be combined. Integration into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, units or modules, and may be electrical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above integrated unit may be implemented in the form of hardware or in the form of software functional unit.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Acoustics & Sound (AREA)
  • Human Computer Interaction (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Stereophonic System (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种定位信息提示方法,包括:获取应用客户端所控制的第一虚拟角色在虚拟场景中所在的第一位置;在与第一位置匹配的音源检测范围内,检测在虚拟场景中产生的声音信号;在音源检测范围内检测到声音信号的情况下,在应用客户端中显示声音信号的音源的定位信息,其中,定位信息包括用于在虚拟场景中标记音源相对第一虚拟角色所在的第二位置的位置标记。还提供了一种定位信息提示装置、存储介质、电子装置、及包括指令的计算机程序产品。解决了仅通过在虚拟场景中模拟出的声音来获取发出该声音的对象的定位信息时,存在获取准确性较低的技术问题。

Description

定位信息提示方法和装置、存储介质及电子装置
本申请要求于2018年05月29日提交中国专利局、申请号为201810531037.5、申请名称为“获取定位信息的方法和装置、存储介质及电子装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机领域,具体而言,涉及一种定位信息提示方法和装置、存储介质及电子装置。
背景技术
在一些应用客户端中,常常可以模拟播放位于虚拟场景中的虚拟对象所发出的声音,从而使得参与该虚拟场景以完成任务的用户可以听到上述模拟后的声音,达到仿真的效果。
然而,在移动终端中运行上述应用客户端的过程中,若仅通过上述模拟后的声音来获取发出该声音的目标对象在虚拟场景中所在的位置,将难以保证准确获取到该目标对象的定位信息。
针对上述的问题,目前尚未提出有效的解决方案。
发明内容
本申请实施例提供了一种定位信息提示方法和装置、存储介质及电子装置,以至少解决仅通过在虚拟场景中模拟出的声音获取发出该声音的对象的定位信息不准确的技术问题。
根据本申请实施例的一个方面,提供了一种定位信息提示方法,包括:
获取应用客户端所控制的第一虚拟角色在虚拟场景中所在的第一位置;
在与上述第一位置匹配的音源检测范围内,检测在上述虚拟场景中产生的声音信号;
在上述音源检测范围内检测到上述声音信号的情况下,在上述应用客户端 中显示上述声音信号的音源的定位信息,其中,上述定位信息包括用于在上述虚拟场景中标记上述音源相对所述第一虚拟角色所在的第二位置的位置标记。
根据本申请实施例的另一方面,还提供了一种定位信息提示装置,包括:
获取单元,用于获取应用客户端所控制的第一虚拟角色在虚拟场景中所在的第一位置;
检测单元,用于在与上述第一位置匹配的音源检测范围内,检测在上述虚拟场景中产生的声音信号;
显示单元,用于在上述音源检测范围内检测到上述声音信号的情况下,在上述应用客户端中显示上述声音信号的音源的定位信息,其中,上述定位信息包括用于在上述虚拟场景中标记上述音源相对所述第一虚拟角色所在的第二位置的位置标记。
根据本申请实施例的又一方面,还提供了一种存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述定位信息提示方法。
根据本申请实施例的又一方面,还提供了一种电子装置,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,上述处理器通过计算机程序执行上述的定位信息提示方法。
根据本申请实施例的又一方面,该提供了一种包括指令的计算机程序产品,当其在计算机上运行时,使得所述计算机执行本申请所述的定位信息提示方法。
在本申请实施例中,通过获取应用客户端所控制的第一虚拟角色在虚拟场景中所在的第一位置;在与上述第一位置匹配的音源检测范围内,检测在上述虚拟场景中产生的声音信号;该声音信号所在方位能够作为声音信号的音源的定位信息,并且具有较高的准确度。在上述音源检测范围内检测到上述声音信号的情况下,以音源相对第一虚拟角色所在的第二位置的位置标记的形式,在上述应用客户端中显示上述定位信息,如此,无需分配较多的硬件资源即可实现定位信息提示,并且通过显示音源的相对位置,避免了因操作遮挡等原因无法获知音源位置的问题,降低了操作难度,尤其在手机等移动终端能获得较好的技术效果。
附图说明
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1是根据本申请实施例的一种获取定位信息的方法的应用环境的示意图;
图2是根据本申请实施例的一种可选的获取定位信息的方法的流程示意图;
图3是根据本申请实施例的一种可选的获取定位信息的方法的示意图;
图4是根据本申请实施例的另一种可选的获取定位信息的方法的示意图;
图5是根据本申请实施例的又一种可选的获取定位信息的方法的示意图;
图6是根据本申请实施例的又一种可选的获取定位信息的方法的示意图;
图7是根据本申请实施例的又一种可选的获取定位信息的方法的示意图;
图8是根据本申请实施例的又一种可选的获取定位信息的方法的示意图;
图9是根据本申请实施例的又一种可选的获取定位信息的方法的示意图;
图10是根据本申请实施例的另一种可选的获取定位信息的方法的流程图;
图11是根据本申请实施例的一种可选的定位信息提示装置的结构示意图;
图12是根据本申请实施例的一种可选的电子装置的结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第 一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
根据本申请实施例的一个方面,提供了一种定位信息提示方法,可选地,作为一种可选的实施方式,上述定位信息提示方法可以但不限于应用于如图1所示的环境中。终端102通过网络104与服务器106进行数据交互。终端102获取应用客户端所控制的第一虚拟角色在虚拟场景中所在的第一位置;并且在与第一位置匹配的音源检测范围内,检测在虚拟场景中产生的声音信号;在音源检测范围内检测到声音信号的情况下,在应用客户端中显示声音信号的音源的定位信息,其中,定位信息包括用于在虚拟场景中标记音源相对于第一虚拟角色所在的第二位置的位置标记。
需要说明的是,在相关技术中,由于在移动终端中运行应用客户端的过程中,通常是通过模拟后的声音来获取发出声音的目标对象在虚拟场景中的位置。然而,由于通过模拟后的声音来获取发出声音的目标对象在虚拟场景中的位置并不准确,模拟后的声音来源方向与位置并不明确。因此,定位得到的发出声音的目标对象在虚拟场景中的位置并不准确。而本实施例中,通过检测虚拟场景中产生声音的音源,并在客户端中显示声音信号的音源的定位信息,从而可以准确显示产生声音的音源的定位信息,从而达到了提高显示音源的定位信息的准确度的效果,解决了相关技术中获取定位信息准确率低的问题。
可选地,上述定位信息提示方法可以但不限于应用于可以显示虚拟场景的终端上,例如手机、平板电脑、笔记本电脑、PC机等终端上,上述网络可以包括但不限于无线网络或有线网络。其中,该无线网络包括:蓝牙、WIFI及其他实现无线通信的网络。上述有线网络可以包括但不限于:广域网、城域网、局域网。可选地,作为一种可选的实施方式,如图2所示,上述定位信息提示方法包括:
S202,获取应用客户端所控制的第一虚拟角色在虚拟场景中所在的第一位置;
S204,在与第一位置匹配的音源检测范围内,检测在虚拟场景中产生的声音信号;
可以理解的是,当检测到虚拟场景中产生的声音信号时,就表示检测到虚拟场景中产生声音的音源,此处的音源也即音源虚拟对象,以游戏虚拟场景为例,音源虚拟对象是指能够发出声音的虚拟对象,如游戏角色、汽车、枪等虚拟对象。
针对S204,应用客户端在检测虚拟场景的声音信号时,可以通过在于第一位置匹配的音源监测范围内,通过多个方位部署的信号接收器检测在虚拟场景中产生的声音信号。
作为一个示例,可以通过以第一位置为中心,在包括东、南、西、北、东南、东北、西南、西北在内的八个方位,分别部署对应的音频信号接收器,通过音源信号接收器检测虚拟场景中产生的声音信号,当音频接收器接收到信号时,则表明在该音频接收器所在方位产生有声音信号,如此就能够定位出音源相对第一虚拟角色的大致方位。
S206,在音源检测范围内检测到声音信号的情况下,在应用客户端中显示声音信号的音源的定位信息,其中,定位信息包括用于在虚拟场景中标记音源相对于第一虚拟角色所在的第二位置的位置标记。
可选地,上述定位信息提示方法可以但不限于应用于游戏领域或者模拟训练领域。以下结合游戏领域对上述定位信息提示方法进行说明。上述第一虚拟角色可以但不限于为用户所控制的游戏中的角色,上述音源可以但不限于为游戏中的可以产生声音的对象。在游戏过程中,当用户控制的游戏中的角色的音源检测范围内,检测到产生声音信号时,则在应用客户端中显示产生声音信号的对象的定位信息。
例如,以下结合图3进行说明。如图3所示,当前用户正在游戏的过程中,前方处于房子附近的另一用户控制的游戏对象位于当前用户所控制的游戏对象的音源检测范围之内。当房子附近的游戏对象发出声音后,如枪声、开关门声、脚步声等,则在当前用户的应用客户端上显示房子附近的游戏对象的定位 信息,用于提示当前用户上述定位信息所定位的位置存在其他游戏对象。
需要说明的是,图3的内容仅为了解释说明本申请,并不构成对本申请的限定。
可以理解的是,不同类型的音源所产生的声音信号不同,因此,在应用客户端中显示声音信号的音源的位置信息时,还可以一并显示该声音信号所属音源的音源类型,例如以图标方式进行区分显示,以便为用户提供更丰富的信息。具体地,在应用客户端中显示声音信号的音源的定位信息包括:从声音信号中获取声音信号的音源所属的音源类型,显示与音源类型相匹配的位置标记,其中,位置标记包括用于指示音源相对第一虚拟角色的移动方向的方向标记。
例如,继续结合游戏进行说明。如图4所示,当前用户正在游戏的过程中,其他用户控制的游戏对象正在向房子的方向移动,且发出了声音,例如枪声或者脚步声,则在显示其他用户控制的游戏对象的定位信息时,需要同时显示其他用户所控制的游戏对象的移动方向。如图4左上角的地图中显示有子弹的标记,用于表示子弹标记的位置有其他用户控制的游戏对象正在射击。同时有用于表示其他用户所控制的游戏对象的移动方向的箭头。
需要说明的是,上述音源不仅可以为其他用户控制的游戏对象,还可以为任何可以发出声音的游戏对象,例如汽车、飞机、空投、地雷、手榴弹等。
需要说明的是,上述以箭头表示游戏对象的移动方向仅为一种可选的示例,也可以使用其他方法表示游戏对象的移动方向。例如使用不同的图形标记、颜色标记表示游戏对象的移动方向,颜色深的方向表示游戏对象的移动方向等。
可选地,显示与音源类型相匹配的位置标记包括以下至少之一:在音源所在的第二位置,按照与音源类型匹配的颜色显示位置标记;在音源所在的第二位置,按照与音源类型匹配的形状显示位置标记;在音源所在的第二位置,按照与音源类型匹配的标识显示位置标记。
下面结合具体示例,对显示位置标记的实现方式进行介绍。例如,可以用标识来表示位置标记。在显示枪所发出的声音的位置标记时,位置标记可以用子弹或者枪来表示,在显示汽车所发出的声音的位置标记时,位置标记可以用汽车来表示等等。或者,可以用颜色来表示位置标记,在显示友军所发出的声 音的位置标记时,则位置标记可以为绿色,在显示敌人所发出的声音的位置标记时,则位置标记可以为红色。或者可以用形状来表示位置标记,在显示空投所发出的声音的位置标记时,位置标记可以为三角形,在显示炸弹所发出的声音的位置标记时,位置标记可以为圆形等。
需要说明的是,上述位置标记为标识或者颜色或者形状仅为一种可选的示例,具体的位置标记可以为任意颜色、图案或者其组合。
可选地,在检测在虚拟场景中产生的声音信号之前,还可以先确定音源检测范围,具体地,可以根据预设音源类型确定以第一位置为圆心的音源检测范围的检测半径,其中,检测半径与预设音源类型所指示的声音的音频成反比关系。具体地,预设音源类型所指示的声音的音频越高,检测半径越小,预设音源类型所指示的声音的音频越低,检测半径越大。
例如继续以游戏领域为例进行说明。不同音源类型的传播距离是不同的,枪声的传播距离要远一些,所以即使产生枪声的位置距离第一虚拟对象的位置较远,但是也能被检测到。而开关门的声音的传播距离要小很多,因此,如果开关门的位置距离第一虚拟对象稍远一些,则无法检测到。
如图5所示,A1、A2为产生开关门的声音的位置,图5中最小的虚线圈为能够检测到开关门声音的范围,因此,A1位置的开关门的声音能够被检测到,并且在第一虚拟对象的客户端显示,而A2位置的开关门的声音无法被检测到。同理,C1、C2为产生空投的声音的位置,图5中的最大的虚线圈为能够检测到空投的声音的范围,C1位置的空投的声音能够被检测到,C2位置的空投的声音无法被检测到。B1、B2为产生枪声的位置,图5中的中间的虚线圈为检测枪声的范围,因此,B1的位置产生的枪声可以被检测到,而B2位置产生的枪声无法被检测到。
需要说明的是,对于不同的音源类型,第一虚拟角色的音源检测范围的检测半径并不相同。可以设置音源类型所指示的声音的音频越小,则音源检测范围的检测半径越大。
可选地,在应用客户端中显示声音信号的音源的定位信息时可以通过以下方式实现:一种实现方式为,在音源检测范围内检测到位于第一虚拟角色的不同方向的多个声音信号的情况下,同时显示多个声音信号各自的音源对应的位 置标记;另一种实现方式为,在音源检测范围内检测到位于所述第一虚拟角色的同一方向的多个声音信号的情况下,获取多个声音信号所述音源各自对应的显示周期;根据显示周期确定目标音源,显示目标音源的位置标记。
例如,继续结合游戏领域进行说明。如图6所示,当检测到多个声音信号,如枪声与汽车声等,需要在客户端的显示界面上显示多个声音信号的音源的位置标记时,如果多个声音信号如枪声与汽车声的方向不同,则同时显示枪声与汽车声的位置标记,显示结果如图6所示。而如果多个声音信号如枪声、汽车声位于同一方向上,则获取枪声、汽车各自对应的显示周期,根据显示周期显示相同方向上的枪声、汽车声。
需要说明的是,可以提前为不同的声音类型设置不同的显示周期。例如,枪声设置0.5秒的显示周期,汽车声设置1秒的显示周期等。
可选地,根据显示周期确定目标音源包括:在第一音源的显示周期的第一显示起始时间,早于第二音源的显示周期的第二显示起始时间的情况下,按照以下方式确定目标音源:
在尚未达到第一音源的显示周期的第一显示结束时间的情况下,将第一音源作为目标音源;在达到第一音源的显示周期的第一显示结束时间,但尚未达到第二音源的显示周期的第二显示结束时间时,将第二音源作为目标音源;在尚未达到第一音源的显示周期的第一显示结束时间,第一音源的位置标记的已显示时长大于等于第一阈值,且尚未达到第二音源的显示周期的第二显示结束时间的情况下,每隔预定时间间隔,将第一音源与第二音源交替作为目标音源,其中,第一音源与第二音源为多个声音信号所属音源中的两个不同音源。
例如,继续以游戏应用为例进行说明。如图7所示,图7中示出了不同的音源类型的显示周期,以及当多个音源在同一方向上时,具体的显示策略。如图7a所示,汽车声与枪声位于同一方向上,汽车声对应的位置标记的显示周期为1秒,而枪声对应的位置标记的显示周期为0.5秒。由于枪声的位置标记的显示周期完全处于汽车声的位置标记的显示周期之内,因此,在汽车声的位置标记开始显示时,枪声的位置标记的显示周期还没有显示,而当汽车声的位置标记结束显示时,枪声的位置标记的显示周期已经结束。因此,不显示枪声的位置标记,仅显示汽车声的位置标记。如图7b所示,汽车声的位置标记的 显示周期为1秒,枪声的位置标记的显示周期为0.5秒。而当汽车声的位置标记的显示周期结束后,枪声的位置标记的显示周期还没有结束,因此,在显示完汽车声的位置标记后,显示枪声的位置标记。如图7c所示,汽车声的位置标记的显示周期为3秒,而枪声的位置标记的显示周期为0.5秒。而当汽车声的位置标记的显示时间超过两秒时,汽车声的位置标记的显示周期还没有结束。而此时,枪声的位置标记的显示周期也没有结束。因此,此时交替显示汽车声的位置标记与枪声的位置标记。
也即,在音源检测范围内检测到多个声音信号,且多个声音信号所属音源位于第一虚拟角色的不同方向的情况下,同时显示多个声音信号所属音源各自的位置标记,在音源监测范围内检测到多个声音信号,且多个声音信号所属音源位于第一虚拟角色的同一方向的情况下,按照预定时间间隔,依次显示多个音源中一个音源的位置标记。
可选地,在应用客户端中显示声音信号的音源的定位信息时,还可以在音源所在的第二位置与第一虚拟角色所在的第一位置之间的距离变小的情况下,放大音源的位置标记的显示尺寸,如此,该音源的位置标记在应用客户端显示呈逐渐增大趋势,在音源所在的第二位置与第一虚拟角色所在的第一位置指的距离变大的情况下,缩小音源的位置标记的显示尺寸,如此,该音源的位置标记在应用客户端中呈逐渐减小趋势,通过位置标记的变化趋势可以提示用户音源所在位置与第一虚拟角色所在位置是越来越接近,还是越来越远离,基于此,用户可以控制第一虚拟角色的移动方向。
例如,继续以游戏应用为例进行说明。为了更真实的显示第一虚拟角色与音源的距离关系,因此,在显示位置标记时,可以根据第一虚拟角色与音源的距离决定显示的位置标记的尺寸。如图8所示,在显示不同方向上汽车声的位置标记时,距离较远的位置标记小,而距离较近的位置标记大。随着第一虚拟角色与汽车声的位置的远近,可以实时调整显示的位置标记的大小。
需要说明的是,也可以使用颜色来表示第一虚拟角色与音源的位置远近。例如,位置越近,则在客户端上显示的音源的位置标记颜色越深等。
可选地,在应用客户端中显示音源虚拟对象的定位信息包括以下至少之一:在与虚拟场景对应的任务地图中,显示声音信号的音源虚拟对象的位置标 记;在用于显示虚拟场景的人机交互界面中,显示音源虚拟对象的位置标记。
继续结合上述游戏领域进行说明。在游戏进行过程中,在客户端上显示音源的位置标记时,不仅仅可以在地图上显示上述位置标记,还可以在上述地图外的人机交互界面中显示上述位置标记。如图9所示,在客户端的左上角的地图中显示音源虚拟对象的位置标记时,也可以在客户端的地图外显示上述位置标记。例如,可以显示某一区域为位置标记的显示区域。
需要说明的是,可以只在客户端的地图中显示上述位置标记,或者只在客户端的地图外显示上述位置标记,或者在客户端的地图中以及地图外显示上述位置标记。
可选地,在应用客户端中显示声音信号的音源的定位信息包括:按照与声音信号的音源所属的音源类型相匹配的显示周期,显示声音信号的音源的位置标记。
例如,继续结合上述游戏领域进行说明。当音源所产生的声音的音源类型不同时,所对应的位置标记的显示周期也不相同。例如,枪声的显示周期为0.5秒,开门声对应的位置标记的显示周期为0.8秒。在显示音源虚拟对象的位置标记时,可以按照与声音信号的音源所属的音源类型相匹配的显示周期,显示声音信号的音源的位置标记。
可选地,上述在客户端显示的位置标识可以预先设置。例如,继续结合游戏领域进行说明。预先设置显示枪声、汽车声的位置标记,不显示开关门声的位置标记。则在游戏过程中,即使检测到了开关门的声音,也不进行显示。或者,还可以设置只显示敌人与空投所产生的声音的位置标记,而不显示友军所产生的声音的位置标记。则即使检测到了友军所产生的声音,也不会进行显示。
以下结合图10对上述定位信息提示方法进行整体说明。应用客户端根据步骤S1002检测声音信号,在步骤S1004检测到单方向的声音信号后,根据步骤S1006判断检测到的声音信号为单个还是多个。在检测到的声音信号为单个的情况下,根据步骤S1008检测声音信号所属音源类型,根据音源类型,执行步骤S1010显示位置标记。在位置标记的显示周期结束后,执行步骤S1012,结束显示位置标记。当S1006检测到多个声音信号时,执行步骤S1014交替显示声音信号的音源的位置标记,在所有的音源显示周期结束后,结束显示位置 标记。
通过本实施例,通过获取应用客户端所控制的第一虚拟角色在虚拟场景中所在的第一位置;在与第一位置匹配的音源检测范围内,检测在虚拟场景中产生的声音信号;在音源检测范围内检测到声音信号的情况下,在应用客户端中显示声音信号的音源的定位信息,其中,定位信息包括用于在虚拟场景中标记音源相对第一虚拟角色所在的第二位置的位置标记的方法,从而可以准确显示产生声音的音源的定位信息,从而达到了提高显示音源的定位信息的准确度的效果。解决了相关技术中存在的获取发出声音的对象的定位信息的准确率低的问题。
作为一种可选的实施方案,在应用客户端中显示音源虚拟对象的定位信息包括:
S1,获取声音信号的音源所属的音源类型;
S2,显示与音源类型相匹配的位置标记,其中,位置标记包括用于指示音源相对第一虚拟角色的移动方向的方向标记。
通过本实施例,通过在根据音源类型显示音源的定位信息时,同时显示音源相对第一虚拟角色的移动方向,从而实现了提高音源的显示位置的准确性的效果。
作为一种可选的实施方案,显示与音源类型相匹配的位置标记包括以下至少之一:
(1)在音源虚拟对象所在的第二位置,按照与音源类型匹配的颜色显示位置标记;
(2)在音源虚拟对象所在的第二位置,按照与音源类型匹配的形状显示位置标记;
(3)在音源虚拟对象所在的第二位置,按照与音源类型匹配的标识显示位置标记。
例如根据音源不同,所产生的声音的音源类型也不相同,因此所显示的位置标记也不相同。例如,可以用标识来表示位置标记。在显示枪所发出的声音的位置标记时,位置标记可以用子弹或者枪来表示,在显示汽车所发出的声音的位置标记时,位置标记可以用汽车来表示等等。或者,可以用颜色来表示位 置标记,在显示友军所发出的声音的位置标记时,则位置标记可以为绿色,在显示敌人所发出的声音的位置标记时,则位置标记可以为红色。或者可以用形状来表示位置标记,在显示空投所发出的声音的位置标记时,位置标记可以为三角形,在显示炸弹所发出的声音的位置标记时,位置标记可以为圆形等。
需要说明的是,上述位置标记为标识或者颜色或者形状仅为一种可选的示例,具体的位置标记可以为任意颜色、图案或者其组合。
通过本实施例,通过为不同的音源类型提供不同的位置标识,从而可以对不同的音源类型进行区分,以提高显示音源的位置标识的准确性。
作为一种可选的实施方案,在检测在虚拟场景中产生的声音信号的之前,还包括:
S1,根据音源类型确定以第一位置为圆心的音源检测范围的检测半径,其中,所述检测半径与所述预设音源类型所指示的声音的音频成反比关系。
需要说明的是,对于不同的音源类型,第一虚拟角色的音源检测范围的检测半径并不相同。可以设置音源类型所指示的声音的音频越小,则音源检测范围的检测半径越大。
通过本实施例,通过根据音源类型的不同设置不同的检测范围的检测半径,从而可以使检测音源的过程更加贴近真实,进一步地提高了显示音源的位置标记的准确性。
作为一种可选的实施方案,在应用客户端中显示音源的定位信息包括以下之一:
(1)在音源检测范围内检测到位于所述第一虚拟角色的不同方向的多个声音信号的情况下,同时显示多个声音信号各自的音源对应的位置标记;
(2)在音源检测范围内检测到位于第一虚拟角色的同一方向的多个声音信号的情况下,获取多个声音信号所属音源各自对应的显示周期;根据显示周期确定目标音源,显示目标音源的位置标记。
通过本实施例,通过同时显示不同方向上的音源的位置标识,从而可以提高显示音源的位置标识的准确性。
作为一种可选的实施方案,根据显示周期确定目标音源包括:
在多个第一音源的显示周期的第一显示起始时间,早于第二音源的显示周 期的第二显示起始时间的情况下,按照以下方式确定目标音源:
(1)在尚未达到第一音源的显示周期的第一显示结束时间的情况下,将第一音源作为目标音源;
(2)在达到第一音源的显示周期的第一显示结束时间,但尚未达到第二音源的显示周期的第二显示结束时间的情况下,将第二音源作为目标音源;
(3)在尚未达到第一音源的显示周期的第一显示结束时间,第一音源的位置标记的显示时长大于等于第一阈值,且尚未达到第二音源的显示周期的第二显示结束时间的情况下,每隔预定时间间隔,将第一音源与第二音源交替作为目标音源。
通过本实施例,通过顺序显示或周期显示同一方向上的不同的音源的位置标识,从而达到了在同一位置存在多个音源时也可以显示的目的,在提高了位置标记的显示准确度的同时,能够克服复杂的显示情况。
作为一种可选的实施方案,在应用客户端中显示音源的定位信息包括:
(1)在音源所在的第二位置与第一虚拟角色所在的第一位置之间的距离变小的情况下,将音源的位置标记的显示尺寸调整变大;
(2)在音源所在的第二位置与第一虚拟角色所在的第一位置之间的距离变大的情况下,将音源的位置标记的显示尺寸调整变小。
需要说明的是,也可以使用颜色来表示第一虚拟对象与音源的位置远近。例如,位置越近,则在客户端上显示的音源的位置标记颜色越深等。
通过本实施例,通过根据第一虚拟对象与音源的距离决定位置标记的大小,从而可以提高显示音源的位置标记的准确性。
作为一种可选的实施方案,在应用客户端中显示音源的定位信息包括以下至少之一:
(1)在与虚拟场景对应的任务地图中,显示声音信号的音源的位置标记;
(2)在用于显示虚拟场景的人机交互界面中,显示声音信号的音源的位置标记。
通过本实施例,通过在客户端的地图中显示音源的位置标记或者在地图外显示音源的位置标记,从而在提高音源显示准确性的同时,提高了音源显示灵活性。
作为一种可选的实施方案,在应用客户端中显示音源的定位信息具体可以为:
S1按照与声音信号的音源所属的音源类型相匹配的显示周期,显示声音信号的音源的位置标记。
通过本实施例,为不同的音源类型设置不同的位置标记的显示周期,从而提高了显示音源的位置标记的准确性。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例的方法。
根据本申请实施例的另一个方面,还提供了一种用于实施上述定位信息提示方法的定位信息提示装置,如图11所示,该装置包括:
(1)获取单元1102,用于获取应用客户端所控制的第一虚拟角色在虚拟场景中所在的第一位置;
(2)检测单元1104,用于在与第一位置匹配的音源检测范围内,检测在虚拟场景中产生的声音信号;
(3)显示单元1106,用于在音源检测范围内检测到声音信号的情况下,在应用客户端中显示声音信号的音源的定位信息,其中,定位信息包括用于在虚拟场景中标记音源相对第一虚拟角色所在的第二位置的位置标记。
通过本实施例,通过获取应用客户端所控制的第一虚拟角色在虚拟场景中所在的第一位置;在与第一位置匹配的音源检测范围内,检测在虚拟场景中产生的声音信号;在音源检测范围内检测到声音信号的情况下,在应用客户端中显示声音信号的音源的定位信息,其中,定位信息包括用于在虚拟场景中标记音源所在的第二位置的位置标记的方法,从而可以准确显示产生声音的音源的定位信息,从而达到了提高显示音源的定位信息的准确度的效果,解决了相关 技术中存在的获取发出声音的对象的定位信息的准确率低的问题。
作为一种可选的实施方案,上述显示单元包括:
获取模块,用于从所述声音信号中获取声音信号的音源所属的音源类型;
第一显示模块,用于显示与音源类型相匹配的位置标记,其中,位置标记包括用于指示音源相对第一虚拟角色的移动方向的方向标记。
需要说明的是,上述音源不仅为其他用户控制的游戏对象,还可以为任何可以发出声音的游戏对象,例如汽车、飞机、空投、地雷、手榴弹等。
需要说明的是,上述以箭头表示游戏对象的移动方向仅为一种可选的示例,也可以使用其他方法表示游戏对象的移动方向。例如使用不同的图形标记、颜色标记表示游戏对象的移动方向,颜色深的方向表示游戏对象的移动方向等。
通过本实施例,通过在根据音源类型显示音源的定位信息时,同时显示音源相对第一虚拟对象的移动方向,从而实现了提高音源的显示位置的准确性的效果。
作为一种可选的实施方案,上述第一显示模块包括以下至少之一:
第一显示子模块,用于在音源所在的第二位置,按照与音源类型匹配的颜色显示位置标记;
第二显示子模块,用于在音源所在的第二位置,按照与音源类型匹配的形状显示位置标记;
第三显示子模块,用于在音源所在的第二位置,按照与音源类型匹配的标识显示位置标记。
需要说明的是,上述位置标记为标识或者颜色或者形状仅为一种可选的示例,具体的位置标记可以为任意颜色、图案或者其组合。
通过本实施例,通过为不同的音源类型提供不同的位置标识,从而可以对不同的音源类型进行区分,以提高显示音源的位置标识的准确性。
作为一种可选的实施方案,上述装置还包括:
确定单元,用于在检测在虚拟场景中产生的声音信号之前,根据预设音源类型确定以第一位置为圆心的音源检测范围的检测半径,其中,所述检测半径与所述预设音源类型所指示的声音的音频成反比关系。
需要说明的是,对于不同的音源类型,第一虚拟角色的音源检测范围的检测半径并不相同。可以设置音源类型所指示的声音的音频越小,则音源检测范围的检测半径越大。
通过本实施例,通过根据音源类型的不同设置不同的检测范围的检测半径,从而可以使检测音源的过程更加贴近真实,进一步地提高了显示音源的准确性。
作为一种可选的实施方案,上述显示单元还包括以下之一:
第二显示模块,用于在音源检测范围内检测到位于所述第一虚拟角色的同一方向的多个声音信号的情况下,同时显示多个声音信号各自的音源对应的位置标记;
第三显示模块,用于在音源检测范围内检测到位于所述第一虚拟角色的同一方向的多个声音信号的情况下,获取多个声音信号所属音源各自对应的显示周期;根据显示周期确定目标音源,显示所述目标音源的位置标记。
通过本实施例,通过同时显示不同方向上的音源的位置标识,从而可以提高显示音源的位置标识的准确性。
作为一种可选的实施方案,上述第三显示模块包括:
在第一音源的显示周期的第一显示起始时间早于第二音源的显示周期的第二显示起始时间的情况下,按照以下方式确定目标音源:
第一确定子模块,用于在第一音源的所述显示周期的第一显示起始时间早于第二音源的所述显示周期的第二显示起始时间的情况下,在尚未达到第一音源的显示周期的第一显示结束时间,将第一音源作为目标音源;其中,所述第一音源与所述第二音源为所述多个声音信号所属音源中的两个不同音源;
第二确定子模块,用于第一音源的所述显示周期的第一显示起始时间早于第二音源的所述显示周期的第二显示起始时间的情况下,在达到第一音源的显示周期的第一显示结束时间,但尚未达到第二音源的显示周期的第二显示结束时间时,将第二音源作为目标音源;
第三确定子模块,用于在第一音源的所述显示周期的第一显示起始时间早于第二音源的所述显示周期的第二显示起始时间的情况下,在尚未达到第一音源的显示周期的第一显示结束时间,第一音源的位置标记的已显示时长大于等 于第一阈值,且尚未达到第二音源的显示周期的第二显示结束时间的情况下,每隔预定时间间隔,将第一音源与第二音源交替作为目标音源。
通过本实施例,通过顺序显示或周期显示同一方向上的不同的音源的位置标识,从而达到了在同一位置存在多个音源时也可以显示的目的,在提高了位置标记的显示准确度的同时,能够克服复杂的显示情况。
作为一种可选的实施方案,上述显示单元还包括:
第一调整模块,用于在音源所在的第二位置与第一虚拟角色所在的第一位置之间的距离变小的情况下,放大音源的位置标记的显示尺寸;
第二调整模块,用于在音源所在的第二位置与第一虚拟角色所在的第一位置之间的距离变大的情况下,缩小音源的位置标记的显示尺寸。
需要说明的是,也可以使用颜色来表示第一虚拟对象与音源的位置远近。例如,位置越近,则在客户端上显示的音源的位置标记颜色越深等。
通过本实施例,通过根据第一虚拟角色与音源的距离决定位置标记的大小,从而可以提高显示音源的位置标记的准确性。
作为一种可选的实施方案,上述显示单元还包括以下至少之一:
第四显示模块,用于在与虚拟场景对应的任务地图中,显示声音信号的音源的位置标记;
第五显示模块,用于在用于显示虚拟场景的人机交互界面中,显示声音信号的音源的位置标记。
需要说明的是,可以只在客户端的地图中显示上述位置标记,或者只在客户端的地图外显示上述位置标记,或者在客户端的地图中以及地图外显示上述位置标记。
通过本实施例,通过可以在客户端的地图中显示音源的位置标记或者在地图外显示音源的位置标记,从而在提高音源的显示准确性的同时,提高了音源的显示灵活性。
作为一种可选的实施方案,上述显示单元还包括:
第六显示模块,用于按照与声音信号的音源所属的音源类型相匹配的显示周期,显示声音信号的音源的位置标记。
通过本实施例,通过为不同的音源类型设置不同的位置标记的显示周期, 从而提高了显示音源的位置标记的准确性。
根据本申请实施例的又一个方面,还提供了一种用于实施上述定位信息提示方法的电子装置,如图12所示,该电子装置包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为通过计算机程序执行上述任一项方法实施例中的步骤。
可选地,在本实施例中,上述电子装置可以位于计算机网络的多个网络设备中的至少一个网络设备。
可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:
S1,获取应用客户端所控制的第一虚拟角色在虚拟场景中所在的第一位置;
S2,在与第一位置匹配的音源检测范围内,检测在虚拟场景中产生的声音信号;
S3,在音源检测范围内检测到声音信号的情况下,在应用客户端中显示声音信号的音源的定位信息,其中,定位信息包括用于在虚拟场景中标记音源相对第一虚拟角色所在的第二位置的位置标记。
可选地,本领域普通技术人员可以理解,图12所示的结构仅为示意,电子装置也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。图12其并不对上述电子装置的结构造成限定。例如,电子装置还可包括比图12中所示更多或者更少的组件(如网络接口、显示装置等),或者具有与图12所示不同的配置。
其中,存储器1202可用于存储软件程序以及模块,如本申请实施例中的定位信息提示方法和装置对应的程序指令/模块,处理器1204通过运行存储在存储器1202内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的定位信息提示方法。存储器1202可包括高速随机存储器,还可以包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器1202可进一步包括相对于处理器1204 远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
上述的传输装置1206用于经由一个网络接收或者发送数据。上述的网络具体实例可包括有线网络及无线网络。在一个实例中,传输装置1206包括一个网络适配器(Network Interface Controller,NIC),其可通过网线与其他网络设备与路由器相连从而可与互联网或局域网进行通讯。在一个实例中,传输装置1206为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。
其中,具体地,存储器1202用于存储音源的位置标识以及音源类型等内容。
根据本申请的实施例的又一方面,还提供了一种存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:
S1,获取应用客户端所控制的第一虚拟角色在虚拟场景中所在的第一位置;
S2,在与第一位置匹配的音源检测范围内,检测在虚拟场景中产生的声音信号;
S3,在音源检测范围内检测到声音信号的情况下,在应用客户端中显示声音信号的音源的定位信息,其中,定位信息包括用于在虚拟场景中标记音源相对所述第一虚拟角色所在的第二位置的位置标记。
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:
S1,从所述声音信号中获取声音信号的音源所属的音源类型;
S2,显示与音源类型相匹配的位置标记,其中,位置标记包括用于指示音源相对第一虚拟角色的移动方向的方向标记。
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步 骤的计算机程序:
S1,在音源所在的第二位置,按照与音源类型匹配的颜色显示位置标记;
S2,在音源所在的第二位置,按照与音源类型匹配的形状显示位置标记;
S3,在音源所在的第二位置,按照与音源类型匹配的标识显示位置标记。
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:
S1,根据预设音源类型确定以第一位置为圆心的音源检测范围的检测半径,其中,检测半径与预设音源类型所指示的声音的音频成反比关系。
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:
S1,在音源检测范围内检测到位于所述第一虚拟角色的不同方向的多个声音信号,的情况下,同时显示多个声音信号各自的音源对应的位置标记;
S2,在音源检测范围内检测到位于所述第一虚拟角色的同一方向的多个声音信号的情况下,获取多个声音信号所属音源各自对应的显示周期;根据显示周期确定目标音源,显示目标音源的位置标记。
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:
S1,在尚未达到第一音源的显示周期的第一显示结束时间,将第一音源作为目标音源;
S2,在达到第一音源的显示周期的第一显示结束时间,但尚未达到第二音源的显示周期的第二显示结束时间的情况下,将第二音源作为目标音源;
S3,在尚未达到第一音源的显示周期的第一显示结束时间,第一音源的位置标记的显示时长大于等于第一阈值,且尚未达到第二音源的显示周期的第二显示结束时间的情况下,每隔预定时间间隔,将第一音源与第二音源交替作为目标音源;
其中,所述第一音源与所述第二音源为所述多个声音信号所属音源中的两个不同音源,所述第一音源的显示周期的第一显示起始时间早于第二音源的显示周期的第二显示时间。
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步 骤的计算机程序:
在所述音源检测范围内检测到多个所述声音信号,且多个所述声音信号所属音源位于所述第一虚拟角色的不同方向的情况下,同时显示多个所述声音信号所属音源各自的所述位置标记;
在所述音源检测范围内检测到多个所述声音信号,且多个所述声音信号所属音源位于所述第一虚拟角色的同一方向的情况下,按照预定时间间隔,依次显示多个所述音源中一个音源的所述位置标记。
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:
S1,在音源所在的第二位置与第一虚拟角色所在的第一位置之间的距离变小的情况下,放大音源的位置标记的显示尺寸;
S2,在音源所在的第二位置与第一虚拟角色所在的第一位置之间的距离变大的情况下,缩小音源的位置标记的显示尺寸。
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:
S1,在与虚拟场景对应的任务地图中,显示声音信号的音源的位置标记;
S2,在用于显示虚拟场景的人机交互界面中,显示声音信号的音源的位置标记。
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:
S1,按照与声音信号的音源所属的音源类型相匹配的显示周期,显示声音信号的音源的位置标记。
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:
在与所述第一位置匹配的音源检测范围内,通过多个方位部署的信号接收器检测在所述虚拟场景中产生的声音信号。
根据本申请的实施例的又一方面,还提供了一种包括指令的计算机程序产品,当其在计算机上运行时,使得所述计算机执行本申请所述的定位信息提示 方法。
可选地,在本实施例中,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
上述实施例中的集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在上述计算机可读取的存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在存储介质中,包括若干指令用以使得一台或多台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。
在本申请的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的客户端,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元 中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
以上所述仅是本申请的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。

Claims (23)

  1. 一种定位信息提示方法,应用于电子装置,包括:
    获取应用客户端所控制的第一虚拟角色在虚拟场景中所在的第一位置;
    在与所述第一位置匹配的音源检测范围内,检测在所述虚拟场景中产生的声音信号;
    在所述音源检测范围内检测到所述声音信号的情况下,在所述应用客户端中显示所述声音信号的音源的定位信息,其中,所述定位信息包括用于在所述虚拟场景中标记所述音源相对所述第一虚拟角色所在的第二位置的位置标记。
  2. 根据权利要求1所述的方法,所述在所述应用客户端中显示所述声音信号的音源的定位信息包括:
    从所述声音信号中获取所述声音信号的音源所属的音源类型;
    显示与所述音源类型相匹配的所述位置标记,其中,所述位置标记包括用于指示所述音源相对所述第一虚拟角色的移动方向的方向标记。
  3. 根据权利要求2所述的方法,所述显示与所述音源类型相匹配的所述位置标记包括以下至少之一:
    在所述音源所在的所述第二位置,按照与所述音源类型匹配的颜色显示所述位置标记;
    在所述音源所在的所述第二位置,按照与所述音源类型匹配的形状显示所述位置标记;
    在所述音源所在的所述第二位置,按照与所述音源类型匹配的标识显示所述位置标记。
  4. 根据权利要求1所述的方法,在所述检测在所述虚拟场景中产生的声音信号之前,所述方法还包括:
    根据预设音源类型确定以所述第一位置为圆心的所述音源检测范围的检测半径,其中,所述检测半径与所述预设音源类型所指示的声音的音频成反比关系。
  5. 根据权利要求1所述的方法,所述在所述应用客户端中显示所述声音信号的音源的定位信息包括以下之一:
    在所述音源检测范围内检测到位于所述第一虚拟角色的不同方向的多个 所述声音信号的情况下,同时显示多个所述声音信号各自的音源对应的所述位置标记;
    在所述音源检测范围内检测到位于所述第一虚拟角色的同一方向的多个所述声音信号的情况下,获取多个所述声音信号所属音源各自对应的显示周期;根据所述显示周期确定目标音源,显示所述目标音源的所述位置标记。
  6. 根据权利要求5所述的方法,所述根据所述显示周期确定目标音源包括:
    在第一音源的所述显示周期的第一显示起始时间,早于第二音源的所述显示周期的第二显示起始时间的情况下,按照以下方式确定所述目标音源,其中,所述第一音源与所述第二音源为所述多个声音信号所属音源中的两个不同音源:
    在尚未达到所述第一音源的所述显示周期的第一显示结束时间的情况下,将所述第一音源作为所述目标音源;
    在达到所述第一音源的所述显示周期的所述第一显示结束时间,但尚未达到所述第二音源的所述显示周期的第二显示结束时间的情况下,将所述第二音源作为所述目标音源;
    在尚未达到所述第一音源的所述显示周期的所述第一显示结束时间,所述第一音源的所述位置标记的显示时长大于等于第一阈值,且尚未达到所述第二音源的所述显示周期的所述第二显示结束时间的情况下,每隔预定时间间隔,将所述第一音源与所述第二音源交替作为所述目标音源。
  7. 根据权利要求1所述的方法,所述在所述应用客户端中显示所述声音信号的音源的定位信息包括以下之一:
    在所述音源检测范围内检测到多个所述声音信号,且多个所述声音信号所属音源位于所述第一虚拟角色的不同方向的情况下,同时显示多个所述声音信号所属音源各自的所述位置标记;
    在所述音源检测范围内检测到多个所述声音信号,且多个所述声音信号所属音源位于所述第一虚拟角色的同一方向的情况下,按照预定时间间隔,依次显示多个所述音源中一个音源的所述位置标记。
  8. 根据权利要求1所述的方法,所述在所述应用客户端中显示所述声音信 号的音源的定位信息包括:
    在所述音源所在的所述第二位置与所述第一虚拟角色所在的所述第一位置之间的距离变小的情况下,放大所述音源的所述位置标记的显示尺寸;
    在所述音源所在的所述第二位置与所述第一虚拟角色所在的所述第一位置之间的距离变大的情况下,缩小所述音源的所述位置标记的显示尺寸。
  9. 根据权利要求1至8中任一项所述的方法,所述在所述应用客户端中显示所述声音信号的音源的定位信息包括以下至少之一:
    在与所述虚拟场景对应的任务地图中,显示所述声音信号的音源的位置标记;
    在用于显示所述虚拟场景的人机交互界面中,显示所述声音信号的音源的位置标记。
  10. 根据权利要求1至8中任一项所述的方法,所述在所述应用客户端中显示所述声音信号的音源的定位信息包括:
    按照与所述声音信号的音源所属的音源类型相匹配的显示周期,显示所述声音信号的音源的所述位置标记。
  11. 根据权利要求1至8中任一项所述的方法,所述在与所述第一位置匹配的音源检测范围内,检测在所述虚拟场景中产生的声音信号,包括:
    在与所述第一位置匹配的音源检测范围内,通过多个方位部署的信号接收器检测在所述虚拟场景中产生的声音信号。
  12. 一种定位信息提示装置,包括:
    获取单元,用于获取应用客户端所控制的第一虚拟角色在虚拟场景中所在的第一位置;
    检测单元,用于在与所述第一位置匹配的音源检测范围内,检测在所述虚拟场景中产生的声音信号;
    显示单元,用于在所述音源检测范围内检测到所述声音信号的情况下,在所述应用客户端中显示所述声音信号的音源的定位信息,其中,所述定位信息包括用于在所述虚拟场景中标记所述音源相对所述第一虚拟角色所在的第二位置的位置标记。
  13. 根据权利要求12所述的装置,其特征在于,所述显示单元包括:
    获取模块,用于从所述声音信号中获取所述声音信号的音源所属的音源类型;
    第一显示模块,用于显示与所述音源类型相匹配的所述位置标记,其中,所述位置标记包括用于指示所述音源相对所述第一虚拟角色的移动方向的方向标记。
  14. 根据权利要求13所述的装置,其特征在于,所述第一显示模块包括以下至少之一:
    第一显示子模块,用于在所述音源所在的所述第二位置,按照与所述音源类型匹配的颜色显示所述位置标记;
    第二显示子模块,用于在所述音源所在的所述第二位置,按照与所述音源类型匹配的形状显示所述位置标记;
    第三显示子模块,用于在所述音源所在的所述第二位置,按照与所述音源类型匹配的标识显示所述位置标记。
  15. 根据权利要求13所述的装置,其特征在于,所述装置还包括:
    确定单元,用于在所述检测在所述虚拟场景中产生的声音信号之前,根据预设音源类型确定以所述第一位置为圆心的所述音源检测范围的检测半径,其中,所述检测半径与所述预设音源类型所指示的声音的音频成反比关系。
  16. 根据权利要求12所述的装置,所述显示单元还包括以下之一:
    第二显示模块,用于在所述音源检测范围内检测到位于所述第一虚拟角色的同一方向的多个所述声音信号的情况下,同时显示多个所述声音信号各自的音源对应的所述位置标记;
    第三显示模块,用于在所述音源检测范围内检测到位于所述第一虚拟角色的同一方向的多个所述声音信号的情况下,获取多个所述声音信号所属音源各自对应的显示周期;根据所述显示周期确定目标音源,显示所述目标音源的所述位置标记。
  17. 根据权利要求16所述的装置,所述第三显示模块包括:
    在第一音源的所述显示周期的第一显示起始时间早于第二音源的所述显示周期的第二显示起始时间的情况下,按照以下方式确定所述目标音源:
    第一确定子模块,用于在第一音源的所述显示周期的第一显示起始时间早 于第二音源的所述显示周期的第二显示起始时间的情况下,在尚未达到所述第一音源的所述显示周期的第一显示结束时间,将所述第一音源作为所述目标音源;其中,所述第一音源与所述第二音源为所述多个声音信号所属音源中的两个不同音源;
    第二确定子模块,用于在第一音源的所述显示周期的第一显示起始时间早于第二音源的所述显示周期的第二显示起始时间的情况下,在达到所述第一音源的所述显示周期的所述第一显示结束时间,但尚未达到所述第二音源的所述显示周期的第二显示结束时间时,将所述第二音源作为所述目标音源;
    第三确定子模块,用于在第一音源的所述显示周期的第一显示起始时间早于第二音源的所述显示周期的第二显示起始时间的情况下,在尚未达到所述第一音源的所述显示周期的所述第一显示结束时间,所述第一音源的所述位置标记的显示时长大于等于第一阈值,且尚未达到所述第二音源的所述显示周期的所述第二显示结束时间的情况下,每隔预定时间间隔,将所述第一音源与所述第二音源交替作为所述目标音源。
  18. 根据权利要求12所述的装置,所述显示单元还包括:
    第一调整模块,用于在所述音源所在的所述第二位置与所述第一虚拟角色所在的所述第一位置之间的距离变小的情况下,放大所述音源的所述位置标记的显示尺寸;
    第二调整模块,用于在所述音源所在的所述第二位置与所述第一虚拟角色所在的所述第一位置之间的距离变大的情况下,缩小所述音源的所述位置标记的显示尺寸。
  19. 根据权利要求12至18中任一项所述的装置,所述显示单元还包括以下至少之一:
    第四显示模块,用于在与所述虚拟场景对应的任务地图中,显示所述声音信号的音源的位置标记;
    第五显示模块,用于在用于显示所述虚拟场景的人机交互界面中,显示所述声音信号的音源的位置标记。
  20. 根据权利要求12至18中任一项所述的装置,其特征在于,所述显示单元还包括:
    第六显示模块,用于按照与所述声音信号的音源所属的音源类型相匹配的显示周期,显示所述声音信号的音源的所述位置标记。
  21. 一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至11任一项中所述的方法。
  22. 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为通过所述计算机程序执行所述权利要求1至11任一项中所述的方法。
  23. 一种包括指令的计算机程序产品,当其在计算机上运行时,使得所述计算机执行所述权利要求1至11中任一项所述的定位信息提示方法。
PCT/CN2019/079978 2018-05-29 2019-03-28 定位信息提示方法和装置、存储介质及电子装置 WO2019228038A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/941,489 US11241625B2 (en) 2018-05-29 2020-07-28 Positioning information prompting method and apparatus, storage medium, and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810531037.5A CN108744516B (zh) 2018-05-29 2018-05-29 获取定位信息的方法和装置、存储介质及电子装置
CN201810531037.5 2018-05-29

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/941,489 Continuation US11241625B2 (en) 2018-05-29 2020-07-28 Positioning information prompting method and apparatus, storage medium, and electronic device

Publications (1)

Publication Number Publication Date
WO2019228038A1 true WO2019228038A1 (zh) 2019-12-05

Family

ID=64003458

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/079978 WO2019228038A1 (zh) 2018-05-29 2019-03-28 定位信息提示方法和装置、存储介质及电子装置

Country Status (3)

Country Link
US (1) US11241625B2 (zh)
CN (1) CN108744516B (zh)
WO (1) WO2019228038A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113126860A (zh) * 2019-12-31 2021-07-16 技嘉科技股份有限公司 电子装置及屏幕上显示界面的显示方法

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108744516B (zh) * 2018-05-29 2020-09-29 腾讯科技(深圳)有限公司 获取定位信息的方法和装置、存储介质及电子装置
CN108854069B (zh) * 2018-05-29 2020-02-07 腾讯科技(深圳)有限公司 音源确定方法和装置、存储介质及电子装置
CN109550248B (zh) * 2018-11-09 2021-05-04 Oppo广东移动通信有限公司 虚拟对象位置识别方法、装置、移动终端及存储介质
CN109597481B (zh) * 2018-11-16 2021-05-04 Oppo广东移动通信有限公司 Ar虚拟人物绘制方法、装置、移动终端及存储介质
CN111508507B (zh) * 2019-01-31 2023-03-03 华为技术有限公司 一种音频信号处理方法及装置
CN110917621B (zh) * 2019-11-20 2022-02-22 腾讯科技(深圳)有限公司 位置显示方法和装置、存储介质及电子装置
CN110898430B (zh) * 2019-11-26 2021-12-07 腾讯科技(深圳)有限公司 音源定位方法和装置、存储介质及电子装置
CN112233146B (zh) * 2020-11-04 2024-02-23 Oppo广东移动通信有限公司 位置推荐方法及装置、计算机可读存储介质和电子设备
CN113713386A (zh) * 2021-09-01 2021-11-30 网易(杭州)网络有限公司 游戏中的信息提示方法、装置以及触控终端
US11707675B2 (en) * 2021-09-02 2023-07-25 Steelseries Aps Graphical user interface and parametric equalizer in gaming systems

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013114831A1 (en) * 2012-02-03 2013-08-08 Sony Corporation Information processing device, information processing method, and program
CN104159061A (zh) * 2014-06-30 2014-11-19 北京品创联拓科技有限公司 一种基于远程出席设备的虚拟出席系统
CN106154231A (zh) * 2016-08-03 2016-11-23 厦门傅里叶电子有限公司 虚拟现实中声场定位的方法
WO2016185740A1 (ja) * 2015-05-18 2016-11-24 ソニー株式会社 情報処理装置、情報処理方法、およびプログラム
CN107360494A (zh) * 2017-08-03 2017-11-17 北京微视酷科技有限责任公司 一种3d音效处理方法、装置、系统及音响系统
CN108744516A (zh) * 2018-05-29 2018-11-06 腾讯科技(深圳)有限公司 获取定位信息的方法和装置、存储介质及电子装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2812785B1 (en) * 2012-02-07 2020-11-25 Nokia Technologies Oy Visual spatial audio
JP6427079B2 (ja) 2015-09-16 2018-11-21 株式会社カプコン ゲームプログラムおよびゲームシステム
SG10201606458WA (en) * 2016-08-04 2018-03-28 Creative Tech Ltd A companion display module to a main display screen for displaying auxiliary information not displayed by the main display screen and a processing method therefor
CN107469354B (zh) * 2017-08-30 2018-06-22 网易(杭州)网络有限公司 补偿声音信息的视觉方法及装置、存储介质、电子设备
CN107890673A (zh) * 2017-09-30 2018-04-10 网易(杭州)网络有限公司 补偿声音信息的视觉显示方法及装置、存储介质、设备
CN107992281A (zh) 2017-10-27 2018-05-04 网易(杭州)网络有限公司 补偿声音信息的视觉显示方法及装置、存储介质、设备
CN108014495A (zh) * 2017-11-23 2018-05-11 网易(杭州)网络有限公司 视觉补偿声音信息的方法、存储介质及电子设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013114831A1 (en) * 2012-02-03 2013-08-08 Sony Corporation Information processing device, information processing method, and program
CN104159061A (zh) * 2014-06-30 2014-11-19 北京品创联拓科技有限公司 一种基于远程出席设备的虚拟出席系统
WO2016185740A1 (ja) * 2015-05-18 2016-11-24 ソニー株式会社 情報処理装置、情報処理方法、およびプログラム
CN106154231A (zh) * 2016-08-03 2016-11-23 厦门傅里叶电子有限公司 虚拟现实中声场定位的方法
CN107360494A (zh) * 2017-08-03 2017-11-17 北京微视酷科技有限责任公司 一种3d音效处理方法、装置、系统及音响系统
CN108744516A (zh) * 2018-05-29 2018-11-06 腾讯科技(深圳)有限公司 获取定位信息的方法和装置、存储介质及电子装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113126860A (zh) * 2019-12-31 2021-07-16 技嘉科技股份有限公司 电子装置及屏幕上显示界面的显示方法

Also Published As

Publication number Publication date
US20200353361A1 (en) 2020-11-12
CN108744516B (zh) 2020-09-29
CN108744516A (zh) 2018-11-06
US11241625B2 (en) 2022-02-08

Similar Documents

Publication Publication Date Title
WO2019228038A1 (zh) 定位信息提示方法和装置、存储介质及电子装置
CN111182355B (zh) 一种互动方法、特效展示方法和相关装置
US11971494B2 (en) Sound source determining method and apparatus, and storage medium
WO2017054450A1 (zh) 一种信息处理方法、终端和计算机存储介质
US11376497B2 (en) Object display method and apparatus, and storage medium
US10713967B2 (en) Weapons training system and methods for operating same
JP2022517853A (ja) 視点切替制御方法、装置、電子機器及びコンピュータプログラム
US20170120152A1 (en) System and method for providing a software development kit to enable configuration of virtual counterparts of action figures or action figure accessories
US11426673B2 (en) Device control system, method, and apparatus, and control device
CN104469673B (zh) 一种终端定位方法及装置
US20170140209A1 (en) Image recognition method and device for game
US20170080332A1 (en) Magic wand methods, apparatuses and systems for conducting wand duels
CN110917621B (zh) 位置显示方法和装置、存储介质及电子装置
CN110860087B (zh) 虚拟对象控制方法、装置及存储介质
WO2018103515A1 (zh) 一种应用中虚拟资源对象的插入方法以及终端
CN111111218A (zh) 虚拟无人机的控制方法和装置、存储介质及电子装置
CN109718559A (zh) 游戏控制方法、移动终端及计算机可读存储介质
CN106331365B (zh) 一种飞行器对战的方法、相关设备以及系统
US20220152505A1 (en) Virtual object control method and apparatus, storage medium, and electronic device
CN110716773A (zh) 一种运动信息展示方法和装置
CN111773718B (zh) 游戏行为的处理方法、装置、存储介质和电子装置
CN109701279A (zh) 游戏控制方法、移动终端及计算机可读存储介质
CN111346374A (zh) 一种互动方法和相关装置
WO2022061712A1 (zh) 无人机对战方法、无人机对战控制装置、无人机及存储介质
WO2024051402A1 (zh) 方位提示信息的显示方法和装置、存储介质及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19812647

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19812647

Country of ref document: EP

Kind code of ref document: A1