Location monitoring and Anti-monitoring method, device, terminal and storage medium
Patent Information
- Application Number
- HK42021028143
- Authority / Receiving Office
- HK · HK
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-03-29
- Publication Date
- 2026-09-18
- Estimated Expiration
- 2040-11-19
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of application development technology, and in particular to a location monitoring and counter-monitoring method, apparatus, terminal and storage medium. Background Technology
[0002] In some game matches, users need to obtain the positions of other virtual objects in the game to determine the next game strategy.
[0003] In related technologies, the position of a virtual object is monitored by controlling a virtual object to release a virtual aircraft into the virtual sky of a virtual environment. However, in this technology, the virtual aircraft cannot monitor the position of a virtual object that is obstructed by objects, resulting in poor position monitoring capabilities. Summary of the Invention
[0004] This application provides a method, apparatus, terminal, and storage medium for location monitoring and counter-monitoring, enhancing the ability to monitor the location of virtual objects. The technical solution is as follows:
[0005] According to one aspect of the embodiments of this application, a location monitoring method is provided, the method comprising:
[0006] Displaying a virtual environment screen, the virtual environment screen being used to display a virtual environment;
[0007] In response to a monitoring trigger operation, a virtual monitoring device is displayed at the target location in the virtual environment. The virtual monitoring device is used to monitor the location of virtual objects within the target area. The target area is a virtual environment area in the virtual environment corresponding to the target location.
[0008] If a first virtual object exists within the target area, the location marker of the first virtual object is displayed in the map display control.
[0009] According to one aspect of the embodiments of this application, a location anti-surveillance method is provided, the method comprising:
[0010] Displaying a virtual environment screen, the virtual environment screen being used to display a virtual environment;
[0011] In response to the anti-surveillance trigger operation, if a virtual monitoring device exists in the anti-surveillance area corresponding to the virtual object, the virtual monitoring device is displayed in a first display state at the target location in the virtual environment. The virtual monitoring device is used to monitor the location of the virtual object in the target area. The target area is the virtual environment area in the virtual environment corresponding to the target location.
[0012] In response to a failure trigger operation of the virtual monitoring device, the virtual monitoring device is controlled to switch from the first display state to the second display state.
[0013] According to one aspect of the embodiments of this application, a location monitoring device is provided, the device comprising:
[0014] The screen display module is used to display the virtual environment screen, which is used to display the virtual environment;
[0015] The device display module is used to display a virtual monitoring device at a target location in the virtual environment in response to a monitoring trigger operation. The virtual monitoring device is used to monitor the location of virtual objects within the target area. The target area is a virtual environment area in the virtual environment corresponding to the target location.
[0016] The marker display module is used to display the location marker of the first virtual object in the map display control when the first virtual object exists in the target area.
[0017] According to one aspect of the embodiments of this application, a location anti-surveillance device is provided, the device comprising:
[0018] The screen display module is used to display the virtual environment screen, which is used to display the virtual environment;
[0019] The device display module is used to respond to the anti-surveillance trigger operation. If there is a virtual monitoring device in the anti-surveillance area corresponding to the virtual object, the virtual monitoring device is displayed in the first display state at the target location in the virtual environment. The virtual monitoring device is used to monitor the location of the virtual object in the target area. The target area is the virtual environment area in the virtual environment corresponding to the target location.
[0020] The display switching module is used to control the virtual monitoring device to switch from the first display state to the second display state in response to a failure trigger operation of the virtual monitoring device.
[0021] According to one aspect of the embodiments of this application, a terminal is provided, the terminal including a processor and a memory, the memory storing at least one instruction, at least one program, code set or instruction set, the at least one instruction, the at least one program, the code set or instruction set being loaded and executed by the processor to implement the above-described location monitoring method on the first client side, or to implement the above-described location anti-monitoring method on the second client side.
[0022] According to one aspect of the embodiments of this application, a computer-readable storage medium is provided, wherein at least one instruction, at least one program, code set, or instruction set is stored in the computer-readable storage medium, wherein the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the above-described location monitoring method on the first client side, or to implement the above-described location anti-monitoring method on the second client side.
[0023] According to one aspect of the embodiments of this application, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the aforementioned location monitoring method on the first client side, or to perform the aforementioned location counter-monitoring method on the second client side.
[0024] The technical solutions provided in this application embodiment may have the following beneficial effects:
[0025] By triggering the monitoring operation, the virtual monitoring device is set at the target location in the virtual environment. The virtual monitoring device can monitor the location of the corresponding target area. When the first virtual object is located in the target area, the location mark of the first virtual object can be displayed in the map display control. Since the virtual monitoring device can monitor all locations in the target area, it enhances the ability to monitor the location of virtual objects compared to monitoring the location of virtual objects through virtual aircraft.
[0026] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0027] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0028] Figure 1 This is a schematic diagram of an implementation environment provided in one embodiment of this application;
[0029] Figure 2 This is a flowchart of a location monitoring method provided in one embodiment of this application;
[0030] Figure 3 This is a schematic diagram of a map display control provided in one embodiment of this application;
[0031] Figure 4 This is a flowchart of a location monitoring method provided in another embodiment of this application;
[0032] Figure 5 This is a schematic diagram of a location monitoring method provided in one embodiment of this application;
[0033] Figure 6 This is a schematic diagram of a location monitoring method provided in another embodiment of this application;
[0034] Figure 7 This is a schematic diagram of a location monitoring method provided in another embodiment of this application;
[0035] Figure 8 This is a flowchart of a location anti-surveillance method provided in one embodiment of this application;
[0036] Figure 9 This is a schematic diagram of a monitoring failure operation provided in one embodiment of this application;
[0037] Figure 10 This is a flowchart of a location monitoring and anti-monitoring method provided in one embodiment of this application;
[0038] Figure 11 This is a block diagram of a location monitoring device provided in one embodiment of this application;
[0039] Figure 12 This is a block diagram of a location monitoring device provided in another embodiment of this application;
[0040] Figure 13 This is a block diagram of a location anti-surveillance device provided in one embodiment of this application;
[0041] Figure 14 This is a block diagram of a location anti-surveillance device provided in another embodiment of this application;
[0042] Figure 15 This is a block diagram of a terminal provided in one embodiment of this application. Detailed Implementation
[0043] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of methods consistent with some aspects of this application as detailed in the appended claims.
[0044] Please refer to Figure 1The diagram illustrates an implementation environment provided in one embodiment of this application. This implementation environment can be implemented as a location surveillance and counter-surveillance system, which 10 may include a terminal 11.
[0045] Terminal 11 has a target application installed and running, such as a first client of the target application, and a first user account is logged in on the first client. This target application can be a game application, such as a shooting game application, a multiplayer survival game application, an LBS (Location Based Service) game application, a MOBA (Multiplayer Online Battle Arena) game application, etc., and this application embodiment does not limit this. The target application can also be any application with location monitoring capabilities, such as a social application, a payment application, a video application, a music application, a shopping application, a news application, etc. In the method provided in this application embodiment, the executing entity for each step can be the terminal, such as the first client running on the terminal.
[0046] A virtual environment is a scene displayed (or provided) on a terminal when the client of a target application (such as a game application) runs. This virtual environment refers to a scene created for virtual objects to perform activities (such as game competitions), such as virtual houses, virtual islands, and virtual maps. The virtual environment can be a simulation of the real world, a semi-simulated / semi-fictional environment, or a purely fictional environment. The virtual environment can be a two-dimensional virtual environment, a 2.5-dimensional virtual environment, or a three-dimensional virtual environment; this application embodiment does not limit this. A virtual object refers to a virtual character controlled by a user account in the target application. Taking a game application as an example, a virtual object refers to a game character controlled by a user account in the game application. Virtual objects can be human figures, animals, cartoons, or other forms; this application embodiment does not limit this. Virtual objects can be displayed in three-dimensional or two-dimensional form; this application embodiment does not limit this. Optionally, when the virtual environment is a three-dimensional virtual environment, the first virtual object can be a three-dimensional model created based on animation skeletal technology. Virtual objects have their own shape and volume in the three-dimensional virtual environment and occupy a portion of the space in the three-dimensional virtual environment. Optionally, the target application may have the ability to simulate a real physical environment. In the virtual environment, the motion of various virtual elements (such as virtual objects) conforms to or approximates the laws of reality.
[0047] In some embodiments, the system 10 further includes a server 12, which establishes a communication connection (such as a network connection) with the terminal 11. The server 12 is used to provide background services for the target application. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.
[0048] In some embodiments, the system 10 further includes a second terminal 13. The second terminal 13 has a target application installed and running, such as a second client of the target application. A second user account is logged into the second client, which is used to implement location anti-surveillance functionality. Taking a game application as an example, the first user account and the second user account can participate in the same game. The virtual objects corresponding to the first user account and the second user account can be two virtual objects that are in competition with each other in the game, or two virtual objects that are in cooperation with each other.
[0049] The terminal is an electronic device with data computing, processing, and storage capabilities. The terminal can be a smartphone, tablet, PC (Personal Computer), wearable device, etc., and this application embodiment does not limit this. Optionally, the terminal is a mobile terminal device with a touch screen, through which the user can perform human-computer interaction.
[0050] The technical solution of this application will be described and illustrated below through several embodiments.
[0051] Please refer to Figure 2 This document illustrates a flowchart of a location monitoring method provided in one embodiment of this application. In this embodiment, the method is illustrated using the example of its application to the first client described above. The method may include the following steps (201-203):
[0052] Step 201: Display the virtual environment screen, which is used to display the virtual environment.
[0053] For more information on virtual environments, please refer to the above text; it will not be repeated here.
[0054] In some embodiments, the virtual environment screen is the bottom layer of the user interface. Virtual controls are also displayed on top of the virtual environment screen. Users can control virtual objects through the virtual controls, such as controlling the movement of virtual objects, changing postures, operating virtual props, using skills, etc.
[0055] Step 202: In response to the monitoring trigger operation, display the virtual monitoring device at the target location in the virtual environment.
[0056] In some embodiments, a monitoring trigger operation refers to a trigger operation on a monitoring control, which is a virtual control. The monitoring trigger operation can be a click (e.g., a single click, double click, etc.), a swipe, a drag, a long press on the monitoring control, or other operations on the monitoring control; this application embodiment does not limit this. After receiving the monitoring trigger operation, a virtual monitoring device is set and displayed at the target location. Optionally, the target location displays a marker for the virtual monitoring device. The virtual monitoring device is used to monitor the location of virtual objects within the target area; the target area is a virtual environment area corresponding to the target location. Optionally, the target area is an area near the target location. For example, the target area is an area centered on the target location. The shape of the target area can be spherical, cubic, cuboid, ellipsoidal, etc.; this application embodiment does not limit this specific definition.
[0057] In some embodiments, the virtual monitoring device has a time limit for use. The effective duration of the virtual device can be 30 seconds, 1 minute, 2 minutes, 5 minutes, etc. The specific effective duration of the virtual device can be set by relevant technical personnel according to the actual situation. This application embodiment does not limit this.
[0058] In other embodiments, after receiving a monitoring trigger operation, the time elapsed since the last virtual monitoring device became active is detected. If the time elapsed since the last virtual monitoring device became active is less than a time elapsed threshold, the virtual monitoring device is not displayed. If the time elapsed since the last virtual monitoring device became active is greater than or equal to the time elapsed threshold, the virtual monitoring device is displayed at the target location in the virtual environment.
[0059] The duration threshold can be 30 seconds, 1 minute, 2 minutes, 5 minutes, etc. The specific value of the duration threshold can be set by relevant technical personnel according to the actual situation, and this application embodiment does not limit it.
[0060] Optionally, a hostile virtual object refers to a virtual object that competes with the virtual object corresponding to the first user account, while a friendly virtual object refers to a virtual object that cooperates with the virtual object corresponding to the first user account. The virtual monitoring device is displayed in the client corresponding to the friendly virtual object, but not in the client corresponding to the hostile virtual object.
[0061] Step 203: If a first virtual object exists within the target area, display the location marker of the first virtual object in the map display control.
[0062] Optionally, the map display control is used to display the virtual environment in the form of a map, where each location on the map corresponds to a location in the virtual environment. For example... Figure 3As shown, in some embodiments, if a first virtual object is detected within the target area, a location marker 32 of the first virtual object is displayed at the corresponding position of the map display control 31, so that the user can determine the location of the first virtual object in the virtual environment through the location marker 32 of the first virtual object.
[0063] In some embodiments, the target region is a spherical region centered at the target location. Step 203 further includes the following steps:
[0064] 1. Obtain the distance between the first virtual object and the target location;
[0065] 2. When the distance is less than the radius of the spherical region, display the location marker of the first virtual object in the map display control.
[0066] In this implementation, the distance between the first virtual object and the target location is determined by acquiring the position of the first virtual object in real time. When the distance is less than the radius of the spherical region, it indicates that the first virtual object is located within the spherical region (i.e., the target region). The position marker of the first virtual object is displayed in the map display control. In other words, the virtual monitoring device monitors the position of the first virtual object.
[0067] In summary, the technical solution provided in this application embodiment allows a virtual monitoring device to be set at a target location in a virtual environment through a monitoring trigger operation. The virtual monitoring device can monitor the location of the corresponding target area. When the first virtual object is located within the target area, the location marker of the first virtual object can be displayed in the map display control. Since the virtual monitoring device can monitor all locations within the target area, it enhances the ability to monitor the location of virtual objects compared to monitoring the location of virtual objects through a virtual aircraft.
[0068] In addition, in this embodiment of the application, the user can arrange the corresponding game strategy according to the position of the first virtual object, thereby speeding up the game process, reducing the game time, and thus saving server processing resources and reducing server pressure.
[0069] In some embodiments, after step 203, the method further includes the following steps:
[0070] 1. If a second virtual object is detected entering the target area, obtain the number of virtual objects that entered the target area before the second virtual object;
[0071] 2. If the number of virtual objects is less than the threshold, display the location marker of the second virtual object in the map display control; if the number of virtual objects is greater than or equal to the threshold, do not display the location marker of the second virtual object.
[0072] The threshold value can be 1, 2, 3, etc., and the specific value of the threshold value can be set by relevant technical personnel according to the actual situation. This application embodiment does not limit this. In this implementation, when the number of virtual objects that have entered the target area is greater than or equal to the threshold value, the virtual monitoring device can no longer monitor the position of other virtual objects. If a second virtual object enters the target area, the virtual monitoring device obviously cannot monitor the position of the second virtual object either, and therefore the position marker corresponding to the second virtual object will not be displayed in the first client.
[0073] In some embodiments, the above implementation includes the following possible scenarios:
[0074] In one example, the virtual surveillance device can only monitor the location of hostile virtual objects. Upon detecting a second virtual object entering the target area, the number of hostile virtual objects that have entered the target area is obtained. If the number of hostile virtual objects is less than a threshold, the location marker of the second virtual object is displayed in the map display control; if the number of hostile virtual objects is greater than or equal to the threshold, the location marker of the second virtual object is not displayed.
[0075] In another example, the virtual monitoring device can only monitor the location of its own virtual objects. When a second virtual object is detected entering the target area, the number of its own virtual objects that have entered the target area is obtained. If the number of its own virtual objects is less than a threshold, the location marker of the second virtual object is displayed in the map display control; if the number of its own virtual objects is greater than or equal to the threshold, the location marker of the second virtual object is not displayed.
[0076] In another example, the virtual surveillance device can monitor the positions of both hostile and friendly virtual objects. Upon detecting a second virtual object entering the target area, the number of virtual objects that have entered the target area is obtained. If the number of virtual objects is less than a threshold, the location marker of the second virtual object is displayed in the map display control; if the number of virtual objects is greater than or equal to the threshold, the location marker of the second virtual object is not displayed.
[0077] In some other possible implementations, when the first virtual object to enter the target area is a hostile virtual object, the virtual monitoring device is only used to monitor the hostile virtual object; when the first virtual object to enter the target area is a friendly virtual object, the virtual monitoring device is only used to monitor the friendly virtual object.
[0078] In the above implementation, the number of virtual objects that the virtual monitoring device can monitor is limited. The virtual monitoring device can only monitor the position of a maximum number of virtual objects, thereby limiting the ability to monitor the position of virtual objects, balancing the amount of game information obtained by different users, avoiding excessive differences in the amount of game information obtained by different users, and thus improving the fairness of the game.
[0079] Please refer to Figure 4 This illustrates a flowchart of a method for displaying the location of a virtual object according to another embodiment of this application. In this embodiment, the method is illustrated by example when applied to the first client described above. The method may include the following steps (401-404):
[0080] Step 401: Display the virtual environment screen, which is used to display the virtual environment.
[0081] The content of step 401 can be referenced above. Figure 2 The details of step 201 in the embodiment will not be repeated here.
[0082] Step 402: In response to the monitoring trigger operation, display the virtual monitoring device at the target location pointed to by the virtual shooting device.
[0083] In this embodiment, the first virtual obstacle in the pointing direction of the virtual shooting device is the target virtual obstacle, and the target position is the intersection of the pointing direction and the target virtual obstacle. The target position is the position in the pointing direction of the virtual shooting device, which refers to the shooting direction if the virtual shooting device fires. In some embodiments, virtual obstacles are displayed in the virtual environment screen. Virtual obstacles refer to virtual elements that can block the movement of virtual objects (such as virtual bullets, virtual objects, virtual thrown weapons, etc.) in the virtual environment. Optionally, virtual obstacles include: virtual walls, virtual rocks, virtual slopes, virtual ground, virtual vehicles, virtual furniture, etc., which are not limited in this embodiment.
[0084] In some embodiments, if the virtual shooting device belongs to a first type of virtual shooting device, the upper limit of the distance between the virtual shooting device and the target location is a first distance threshold; if the virtual shooting device belongs to a second type of virtual shooting device, the upper limit of the distance between the virtual shooting device and the target location is a second distance threshold; wherein, the first distance threshold is less than the second distance threshold. In this implementation, different types of virtual shooting devices correspond to different distance thresholds, and the distance threshold is the upper limit of the distance between the virtual shooting device and the target location. In one example, the first type of virtual shooting device is a firearm device, such as a virtual firearm or a virtual artillery device; the second type of virtual shooting device is a melee weapon device, such as a virtual bow and arrow or a virtual slingshot. In another example, the first type of virtual shooting device is a heavy weapon device, such as a virtual firearm or a virtual artillery device; the second type of virtual shooting device is a light weapon device, such as a virtual pistol, a virtual shotgun, or a virtual handgun.
[0085] In some embodiments, if the monitoring trigger operation is a first monitoring trigger operation, the upper limit of the distance between the virtual shooting device and the target position is a third distance threshold; if the monitoring trigger operation is a second monitoring trigger operation, the upper limit of the distance between the virtual shooting device and the target position is a fourth distance threshold; wherein, the third distance threshold is less than the fourth distance threshold. In this implementation, different monitoring trigger operations correspond to different distance thresholds. In one example, the first monitoring trigger operation and the second monitoring trigger operation are different trigger operations for the monitoring control. Optionally, the first monitoring trigger operation and the second monitoring trigger operation are any two different monitoring trigger operations for a single click, double click, triple click, long press, drag, or swipe operation of the monitoring control. For example, the first monitoring trigger operation is a single click on the monitoring control, and the second monitoring trigger operation is a long press on the monitoring control; or, for example, the first monitoring trigger operation is a double click on the monitoring control, and the second monitoring trigger operation is a swipe on the monitoring control.
[0086] It should be noted that the first distance threshold, the second distance threshold, the third distance threshold, and the fourth distance threshold mentioned above can be 5 meters, 10 meters, 20 meters, 50 meters, etc. The specific values of the first distance threshold, the second distance threshold, the third distance threshold, and the fourth distance threshold can be set by relevant technical personnel according to the actual situation, and this application embodiment does not limit this.
[0087] like Figure 5 As shown, after receiving a monitoring trigger operation for the monitoring control 51, a virtual monitoring device 52 is displayed at the target location, which is the intersection of the pointing direction of the virtual shooting device 53 and the target obstacle 54.
[0088] In some embodiments, such as Figure 6As shown, upon receiving a monitoring trigger operation, a virtual ray 61 is determined from the virtual transmitter, following its pointing direction. This virtual ray 61 is invisible to the user. The material parameters of the collision boxes corresponding to virtual obstacles are specified. Therefore, by determining the material parameters of the collision boxes, it can be determined whether the virtual element corresponding to the collision box is a virtual obstacle. The position and shape of the collision box with the specified material parameters represent the position and shape of the corresponding virtual obstacle. Starting from the virtual transmitter, if the virtual ray 61 encounters a collision box with the specified material parameters within a distance threshold, it indicates that the virtual ray 61 has encountered a virtual obstacle within the distance threshold. If the virtual ray 61 does not encounter a collision box with the specified material parameters within the distance threshold, it indicates that the virtual ray 61 has not encountered a virtual obstacle within the distance threshold. The first virtual obstacle encountered by the virtual ray 61 within the distance threshold is the target virtual obstacle 62, and the intersection of the target virtual obstacle 62 and the virtual ray 61 is the target position. If the virtual ray 61 does not encounter a virtual obstacle within the distance threshold, the virtual monitoring device is ineffective.
[0089] Step 403: Generate a target region collision box that overlaps with the target region.
[0090] Optionally, after determining the target location and the target area corresponding to the target location, a collision box that coincides with the target area is generated, and the virtual monitoring device can monitor the position of the virtual object located within the collision box of the target area. When the target area is a three-dimensional area with a certain volume in the virtual environment, the collision box of the target area is a three-dimensional collision box that coincides with the target area; when the target area is a planar area with no volume but a certain area in the virtual environment, the collision box of the target area is a two-dimensional collision box that coincides with the target area.
[0091] In some embodiments, step 403 further includes the following steps:
[0092] 1. Determine the spatial location and shape of the target area based on the virtual environment terrain where the target location is located;
[0093] 2. Generate a target region collision box that overlaps with the target region based on the spatial location and shape of the target region.
[0094] In this implementation, since the virtual environment terrain is diverse, the spatial shape of the target area is determined based on the terrain of the virtual environment where the target location is located, and a target area collision box that adapts to the terrain of the virtual environment where the target location is located is generated. For example, if the target location is in or beside a virtual river in the virtual environment, the target area can be a long strip-shaped area along the river; as another example, if the target location is in or beside a virtual pond in the virtual environment, the target area is an area that adapts to the shape of the pond's edge; as yet another example, if the target location is on a virtual bridge in the virtual environment, the target area can be a long strip-shaped area along the virtual bridge.
[0095] In the above implementation method, by adapting the shape of the target area to the terrain of the virtual environment, the richness of the shape of the target area is enhanced, thereby increasing the richness and attractiveness of the game content.
[0096] Step 404: If the first virtual object is located within the target area collision box, display the location marker of the first virtual object in the map display control.
[0097] Optionally, since the target area collision box coincides with the target area, when the first virtual object is located within the target area collision box, it indicates that the first virtual object is located within the target area. The virtual monitoring device can monitor the position of the first virtual object, and then the position marker of the first virtual object is displayed in the map display control.
[0098] like Figure 7 As shown, the target area collision box 71 is a spherical collision box. When the first virtual object is located at position 72 outside the target area collision box 71, the virtual monitoring device cannot monitor the position of the first virtual object; when the first virtual object is located at position 73 outside the target area collision box 71, the virtual monitoring device can monitor the position of the first virtual object.
[0099] In summary, the technical solution provided in this application embodiment uses a virtual shooting device that is used for a long time during the game. The target position is determined by pointing the virtual shooting device, eliminating the need for the user to control the virtual object to switch to other devices to determine the target position, thus improving the user's operational convenience.
[0100] Please refer to Figure 8 This document illustrates a flowchart of a location anti-surveillance method provided in another embodiment of this application. In this embodiment, the method is illustrated using the application of the method to the second client described above. The method may include the following steps (801-803):
[0101] Step 801: Display the virtual environment screen, which is used to display the virtual environment.
[0102] The content of step 801 can be referenced above. Figure 2 The details of step 201 in the embodiment will not be repeated here.
[0103] Step 802: In response to the anti-surveillance trigger operation, if a virtual surveillance device exists in the anti-surveillance area corresponding to the virtual object, the virtual surveillance device is displayed in the target location in the virtual environment in the first display state.
[0104] The virtual monitoring device is used to monitor the location of virtual objects within a target area, where the target area is a virtual environment region corresponding to the target location. The anti-monitoring trigger operation can be a pick-up operation targeting the anti-monitoring device; it can also be a trigger operation targeting the anti-monitoring control, such as a click (e.g., single click, double click, etc.), a swipe operation, a drag operation, a long press operation, etc. This application embodiment does not limit this to any particular type.
[0105] Optionally, after receiving the anti-surveillance trigger operation, the virtual object corresponding to the second user account logged in on the second client can perform anti-surveillance. If a virtual monitoring device exists in the anti-surveillance area corresponding to the virtual object, the virtual monitoring device is displayed in a first display state to indicate the location of the virtual monitoring device to the user corresponding to the second client. The location of the virtual monitoring device is the target location. Obviously, the target location is located in the anti-surveillance area corresponding to the virtual object.
[0106] In some embodiments, the anti-surveillance zone is an area centered on a virtual object. The shape of the anti-surveillance zone can be found in the description of the target area above, and will not be repeated here.
[0107] In some embodiments, in response to an anti-surveillance triggering operation, an anti-surveillance marker is displayed in the virtual environment; wherein the display position of the anti-surveillance marker moves as the virtual object moves. That is, the position of the anti-surveillance area also moves as the virtual object moves. The anti-surveillance marker is used to indicate that the virtual object has the capability of location anti-surveillance.
[0108] Step 803: In response to a failure trigger operation for the virtual monitoring device, control the virtual monitoring device to switch from a first display state to a second display state.
[0109] Optionally, once the virtual monitoring device is displayed, the user can determine the target location of the virtual monitoring device. In some embodiments, the failure triggering operation is as follows: Figure 9 The illustrated action is a shooting operation 92 targeting the virtual monitoring device 91. In other embodiments, the failure triggering operation can also be a destructive operation, such as controlling a virtual object to strike or throw virtual projectiles at the virtual monitoring device. Through the failure triggering operation targeting the virtual monitoring device, the virtual monitoring device switches from a first display state to a second display state, indicating that the virtual monitoring device has failed.
[0110] Optionally, the first display state indicates that the virtual monitoring device is active, and the second display state indicates that the virtual monitoring device is inactive. In one example, the first display state displays the virtual monitoring device, and the second display state does not display the virtual monitoring device; in another example, the first display state is illuminated, and the second display state is not illuminated; in yet another example, the display colors of the first and second display states are different; in yet another example, the display sizes of the virtual monitoring device in the first and second display states are different, such as the display size of the virtual monitoring device in the first display state being larger than that in the second display state; in yet another example, the shapes of the virtual monitoring device in the first and second display states are different, such as the virtual monitoring device in the first display state being hexagonal and the virtual monitoring device in the second display state being circular. The first and second display states can also be other display forms, which are not specifically limited in this embodiment.
[0111] In some embodiments, if a virtual monitoring device exists in the anti-surveillance area and is located outside the field of view of the virtual object, a field-of-view adjustment prompt is displayed. This prompt advises the user to adjust the field of view of the virtual object. In this implementation, because the display screen has a limited field of view, sometimes even though a virtual monitoring device exists in the anti-surveillance area, its target location may be outside the currently displayed field of view, making it impossible for the user to determine its exact location. Displaying the field-of-view adjustment prompt prompts the user to adjust the field of view of the virtual object to determine its location.
[0112] In summary, the technical solution provided in this application embodiment displays a virtual monitoring device in the anti-monitoring area through an anti-monitoring operation, thereby determining the location of the virtual monitoring device, and performing a failure trigger operation on the displayed virtual monitoring device to disable the virtual monitoring device and prevent it from monitoring the location of virtual objects, thereby balancing the competitive ability of virtual objects participating in the game and improving the fairness of the game.
[0113] In addition, by displaying field-of-view adjustment prompts, this embodiment of the application saves users time in searching for monitoring devices and improves the ease of operation of the target application.
[0114] In addition, the embodiments of this application enrich the content of the game and enhance its fun.
[0115] In summary Figure 2 Examples and Figure 4 In this example, taking a game application as the target application, such as... Figure 10As shown, this application provides a method for location surveillance and counter-surveillance. The method includes the following steps (1001-1013):
[0116] Step 1001: Obtain the virtual monitoring device;
[0117] Step 1002: Check if the monitoring control is triggered. If yes, proceed to step 1003; otherwise, proceed to step 1001.
[0118] Step 1003, determine the target location;
[0119] Step 1004: Determine whether the virtual monitoring device can be released;
[0120] Step 1005: Set up a virtual monitoring device at the target location;
[0121] Step 1006: Detect whether the first virtual object has entered the target area. If yes, proceed to step 1007; otherwise, proceed to step 1005.
[0122] Step 1007: Display the location marker corresponding to the first virtual location in the first client;
[0123] Step 1008: Determine whether the anti-surveillance device is effective. If yes, proceed to step 1009; otherwise, proceed to step 1007.
[0124] Step 1009: Detect the virtual monitoring device;
[0125] Step 1010: Determine whether a virtual surveillance device is detected in the anti-surveillance area. If yes, proceed to step 1011; otherwise, proceed to step 1009.
[0126] Step 1011: Display the virtual monitoring device in the second client;
[0127] Step 1012: Determine whether an anti-surveillance operation has been triggered. If yes, proceed to step 1013; otherwise, proceed to step 1011.
[0128] Step 1013: Switch the display status of the virtual monitoring device.
[0129] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.
[0130] Please refer to Figure 11This diagram illustrates a block diagram of a location monitoring device according to an embodiment of this application. The device has the functionality to implement the first client-side location monitoring method example described above. This functionality can be implemented in hardware or by hardware executing corresponding software. The device can be the first terminal described above, or it can be mounted on the first terminal. The device 1100 may include: a screen display module 1110, a device display module 1120, and a marker display module 1130.
[0131] The screen display module 1110 is used to display a virtual environment screen, which is used to display a virtual environment.
[0132] The device display module 1120 is used to display a virtual monitoring device at a target location in the virtual environment in response to a monitoring trigger operation. The virtual monitoring device is used to monitor the location of virtual objects within the target area. The target area is a virtual environment area in the virtual environment corresponding to the target location.
[0133] The marker display module 1130 is used to display the location marker of the first virtual object in the map display control when the first virtual object exists in the target area.
[0134] In summary, the technical solution provided in this application embodiment allows a virtual monitoring device to be set at a target location in a virtual environment through a monitoring trigger operation. The virtual monitoring device can monitor the location of the corresponding target area. When the first virtual object is located within the target area, the location marker of the first virtual object can be displayed in the map display control. Since the virtual monitoring device can monitor all locations within the target area, it enhances the ability to monitor the location of virtual objects compared to monitoring the location of virtual objects through a virtual aircraft.
[0135] In some embodiments, the device display module 1120 is used to display the virtual monitoring device at the target position pointed to by the virtual shooting device; wherein, the first virtual obstacle in the pointing direction of the virtual shooting device is the target virtual obstacle, and the target position is the intersection of the pointing direction and the target virtual obstacle.
[0136] In some embodiments, if the virtual shooting device belongs to a first type of virtual shooting device, the upper limit of the distance between the virtual shooting device and the target location is a first distance threshold; if the virtual shooting device belongs to a second type of virtual shooting device, the upper limit of the distance between the virtual shooting device and the target location is a second distance threshold; wherein, the first distance threshold is less than the second distance threshold.
[0137] In some embodiments, if the monitoring trigger operation is a first monitoring trigger operation, the upper limit of the distance between the virtual shooting device and the target location is a third distance threshold; if the monitoring trigger operation is a second monitoring trigger operation, the upper limit of the distance between the virtual shooting device and the target location is a fourth distance threshold; wherein the third distance threshold is less than the fourth distance threshold.
[0138] In some embodiments, such as Figure 12 As shown, the device 1100 also includes a collision box generation module 1140.
[0139] The collision box generation module 1140 is used to generate a target area collision box that overlaps with the target area.
[0140] The marker display module 1130 is used to display the location marker of the first virtual object in the map display control when the first virtual object is located within the target area collision box.
[0141] In some embodiments, such as Figure 12 As shown, the collision box generation module 1140 includes: a shape determination submodule 1141 and a collision box generation submodule 1142.
[0142] The shape determination submodule 1141 is used to determine the spatial shape of the target area based on the virtual environment terrain where the target location is located.
[0143] The collision box generation submodule 1142 is used to generate a collision box of the target area that overlaps with the target area based on the spatial position and shape of the target area.
[0144] In some embodiments, the target area is a spherical area centered at the target location. The marker display module 1130 is used for:
[0145] Obtain the distance between the first virtual object and the target location;
[0146] If the distance is less than the radius of the spherical region, the location marker of the first virtual object is displayed in the map display control.
[0147] In some embodiments, such as Figure 12 As shown, the device 1100 further includes a quantity acquisition module 1150.
[0148] The quantity acquisition module 1150 is used to acquire the number of virtual objects that entered the target area before the second virtual object when the second virtual object is detected to have entered the target area.
[0149] The marker display module 1130 is further configured to display the location marker of the second virtual object in the map display control when the number of virtual objects is less than a threshold value; and not display the location marker of the second virtual object in the map display control when the number of virtual objects is greater than or equal to the threshold value.
[0150] Please refer to Figure 13 This diagram illustrates a block diagram of a location anti-surveillance device according to an embodiment of this application. The device has the functionality to implement the aforementioned example of a second client-side location anti-surveillance method. This functionality can be implemented in hardware or by hardware executing corresponding software. The device can be the second terminal described above, or it can be mounted on a second terminal. The device 1300 may include: a screen display module 1310, a device display module 1320, and a display switching module 1330.
[0151] The screen display module 1310 is used to display a virtual environment screen, which is used to display a virtual environment.
[0152] The device display module 1320 is used to respond to an anti-surveillance trigger operation. If a virtual monitoring device exists in the anti-surveillance area corresponding to the virtual object, the virtual monitoring device is displayed in a first display state at the target location in the virtual environment. The virtual monitoring device is used to monitor the location of the virtual object in the target area. The target area is the virtual environment area in the virtual environment corresponding to the target location.
[0153] The display switching module 1330 is used to control the virtual monitoring device to switch from the first display state to the second display state in response to a failure trigger operation of the virtual monitoring device.
[0154] In summary, the technical solution provided in this application embodiment displays a virtual monitoring device in the anti-monitoring area through an anti-monitoring operation, thereby determining the location of the virtual monitoring device, and performing a failure trigger operation on the displayed virtual monitoring device to disable the virtual monitoring device and prevent it from monitoring the location of virtual objects, thereby balancing the competitive ability of virtual objects participating in the game and improving the fairness of the game.
[0155] In some embodiments, such as Figure 14 As shown, the device 1300 also includes an information display module 1340.
[0156] The information display module 1340 is used to display a field of view adjustment prompt if the virtual monitoring device exists in the anti-surveillance area and the virtual monitoring device is located outside the field of view of the virtual object; wherein the field of view adjustment prompt is used to prompt the adjustment of the field of view of the virtual object.
[0157] In some embodiments, such as Figure 14 As shown, the device 1300 further includes a marker display module 1350.
[0158] The marker display module 1350 is used to display an anti-surveillance marker in the virtual environment in response to the anti-surveillance trigger operation; wherein the display position of the anti-surveillance marker moves as the virtual object moves.
[0159] It should be noted that the apparatus provided in the above embodiments is only illustrated by the division of the above functional modules when implementing its functions. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0160] Please refer to Figure 15 This diagram illustrates a structural block diagram of a terminal 1500 provided in one embodiment of this application. The terminal 1500 can be an electronic device such as a mobile phone, tablet computer, game console, e-book reader, multimedia playback device, wearable device, or PC. This terminal is used to implement the first client-side location monitoring method provided in the above embodiments, or to implement a second client-side location anti-monitoring method. Specifically:
[0161] Typically, terminal 1500 includes a processor 1501 and a memory 1502.
[0162] Processor 1501 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1501 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1501 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1501 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the screen. In some embodiments, processor 1501 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0163] The memory 1502 may include one or more computer-readable storage media, which may be non-transitory. The memory 1502 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1502 are used to store at least one instruction, at least one program, code set, or instruction set, and are configured to be executed by one or more processors to implement the aforementioned location monitoring method on the first client side, or to implement the location anti-monitoring method on the second client side.
[0164] In some embodiments, the terminal 1500 may also optionally include a peripheral device interface 1503 and at least one peripheral device. The processor 1501, memory 1502, and peripheral device interface 1503 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1503 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 1504, a display screen 1505, a camera assembly 1506, an audio circuit 1507, a positioning assembly 1508, and a power supply 1509.
[0165] Those skilled in the art will understand that Figure 15The structure shown does not constitute a limitation on terminal 1500 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0166] In an exemplary embodiment, a computer-readable storage medium is also provided, the storage medium storing at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, the at least one program, the code set, or the instruction set, when executed by a processor, implements the above-described location monitoring method on the first client side.
[0167] In an exemplary embodiment, a computer-readable storage medium is also provided, the storage medium storing at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, the at least one program, the code set, or the instruction set, when executed by a processor, implements the above-described location anti-surveillance method on the second client side.
[0168] Optionally, the computer-readable storage medium may include: ROM (Read-Only Memory), RAM (Random-Access Memory), SSD (Solid State Drives), or optical disc, etc. The random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).
[0169] In an exemplary embodiment, a computer program product or computer program is also provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the aforementioned location monitoring method on the first client side.
[0170] In an exemplary embodiment, a computer program product or computer program is also provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the aforementioned second client-side location anti-surveillance method.
[0171] It should be understood that "multiple" as used in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0172] The above description is merely an exemplary embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A position monitoring method characterized by, The method includes: Displays the virtual environment screen corresponding to the virtual shooting application; the virtual environment screen is used to display the virtual environment. In response to a monitoring trigger operation, starting from a virtual shooting device, a virtual monitoring device is displayed at a target location in the virtual environment according to the pointing direction of the virtual shooting device. The virtual monitoring device is used to monitor the position of virtual objects within a target area. The target area is a virtual environment region corresponding to the target location. The pointing direction of the virtual shooting device refers to the shooting direction if the virtual shooting device fires. The first virtual obstacle in the pointing direction is the target virtual obstacle. The target location is the intersection of the pointing direction and the target virtual obstacle. The virtual obstacle is a virtual element that can block the movement of virtual objects in the virtual environment. The material parameters of the collision box corresponding to the virtual obstacle are specified material parameters. The target area is a region determined based on the spatial shape of the terrain of the virtual environment where the target location is located. The virtual monitoring device is used to monitor the positions of both hostile and friendly virtual objects. If a first virtual object exists within the target area, the location marker of the first virtual object is displayed in the map display control; If a second virtual object is detected to have entered the target area, the number of virtual objects that entered the target area before the second virtual object is obtained. If the number of virtual objects is less than a threshold, the location marker of the second virtual object is displayed in the map display control; If the number of virtual objects is greater than or equal to the threshold value, the position marker of the second virtual object is not displayed; The target location is determined based on the following method: A virtual ray, invisible to the user, is determined according to the pointing direction of the virtual shooting device. Starting from the virtual shooting device, if the virtual ray encounters a collision box with the specified material parameter within a distance threshold, it indicates that the virtual ray has encountered a virtual obstacle within the distance threshold. The first virtual obstacle encountered by the virtual ray within the distance threshold is taken as the target virtual obstacle, and the position of the intersection of the target virtual obstacle and the virtual ray is taken as the target position.
2. The method according to claim 1, characterized in that, If the virtual shooting device belongs to the first type of virtual shooting device, then the upper limit of the distance between the virtual shooting device and the target location is the first distance threshold; If the virtual shooting device belongs to the second type of virtual shooting device, then the upper limit of the distance between the virtual shooting device and the target location is the second distance threshold; Wherein, the first distance threshold is less than the second distance threshold.
3. The method according to claim 1, characterized in that, If the monitoring trigger operation is the first monitoring trigger operation, then the upper limit of the distance between the virtual shooting device and the target location is the third distance threshold. If the monitoring trigger operation is the second monitoring trigger operation, then the upper limit of the distance between the virtual shooting device and the target location is the fourth distance threshold. The third distance threshold is less than the fourth distance threshold.
4. The method of claim 1, wherein, After displaying the virtual monitoring device at the target location in the virtual environment, the method further includes: Generate a target region collision box that overlaps with the target region; When a first virtual object exists within the target area, displaying the location marker of the first virtual object in the map display control includes: When the first virtual object is located within the target area collision box, the location marker of the first virtual object is displayed in the map display control.
5. The method of claim 4, wherein, The generation of the target region collision box that coincides with the target region includes: Based on the virtual environment terrain where the target location is located, determine the spatial shape of the target area; Based on the spatial location and shape of the target region, a collision box that overlaps with the target region is generated.
6. The method of claim 1, wherein, The target area is a spherical region centered at the target location; When a first virtual object exists within the target area, displaying the location marker of the first virtual object in the map display control includes: Obtain the distance between the first virtual object and the target location; If the distance is less than the radius of the spherical region, the location marker of the first virtual object is displayed in the map display control.
7. A position counter-surveillance method characterized by, The method includes: Displays the virtual environment screen corresponding to the virtual shooting application; the virtual environment screen is used to display the virtual environment. In response to an anti-surveillance trigger operation, if a virtual surveillance device exists in the anti-surveillance area corresponding to the virtual object, the virtual surveillance device is displayed in a first display state at the target location in the virtual environment. The virtual monitoring device, triggered by a monitoring operation by a first terminal, displays the target location in the virtual environment displayed on the first terminal, starting from a virtual shooting device and following the pointing direction of the virtual shooting device. The pointing direction of the virtual shooting device refers to the shooting direction corresponding to the virtual shooting device firing. The target location is the intersection of the pointing direction and a target virtual obstacle. The target virtual obstacle is the first virtual obstacle in the pointing direction of the virtual shooting device. A virtual obstacle is a virtual element that can block the movement of virtual objects in the virtual environment. The material parameters of the collision box corresponding to the virtual obstacle are specified material parameters. The virtual monitoring device is used to monitor the position of virtual objects within a target area. The target area is a virtual environment region corresponding to the target location, determined by the spatial shape of the terrain corresponding to the target location. The virtual monitoring device is used to monitor the positions of both hostile and friendly virtual objects. In response to a failure trigger operation of the virtual monitoring device, the virtual monitoring device is controlled to switch from the first display state to the second display state; Specifically, a threshold value is set for the number of virtual objects entering the target area corresponding to the virtual monitoring device. When a second virtual object enters the target area, if the number of virtual objects that entered the target area before the second virtual object is less than the threshold value, then the location marker of the second virtual object is displayed in the map display control corresponding to the first terminal that launched the virtual monitoring device; if the number of virtual objects that entered the target area before the second virtual object is greater than or equal to the threshold value, then the location marker of the second virtual object is not displayed in the map display control corresponding to the first terminal. The target location is determined by the first terminal based on the following method: A virtual ray, invisible to the user, is determined according to the pointing direction of the virtual shooting device. Starting from the virtual shooting device, if the virtual ray encounters a collision box with the specified material parameter within a distance threshold, it indicates that the virtual ray has encountered a virtual obstacle within the distance threshold. The first virtual obstacle encountered by the virtual ray within the distance threshold is taken as the target virtual obstacle, and the position of the intersection of the target virtual obstacle and the virtual ray is taken as the target position.
8. The method of claim 7, wherein, The method further includes: If the virtual surveillance device exists in the anti-surveillance area and the virtual surveillance device is outside the field of view of the virtual object, a field of view adjustment prompt message will be displayed. The field-of-view adjustment prompt is used to prompt users to adjust the field of view of the virtual object.
9. The method of claim 7, wherein, The method further includes: In response to the anti-surveillance triggering operation, an anti-surveillance marker is displayed in the virtual environment; The display position of the anti-surveillance marker moves as the virtual object moves.
10. A position monitoring apparatus characterized by comprising: The device includes: The screen display module is used to display the virtual environment screen corresponding to the virtual shooting application, and the virtual environment screen is used to display the virtual environment; The device display module is used to respond to a monitoring trigger operation by displaying a virtual monitoring device at a target location in the virtual environment, starting from the virtual shooting device and following the pointing direction of the virtual shooting device. The virtual monitoring device is used to monitor the position of virtual objects within a target area. The target area is a virtual environment region corresponding to the target position. The pointing direction of the virtual shooting device refers to the shooting direction if the virtual shooting device fires. The first virtual obstacle in the pointing direction of the virtual shooting device is the target virtual obstacle. The target position is the intersection of the pointing direction and the target virtual obstacle. The virtual obstacle is a virtual element that can block the movement of virtual objects in the virtual environment. The material parameters of the collision box corresponding to the virtual obstacle are specified material parameters. The target area is a region determined by the spatial shape of the virtual environment terrain where the target position is located. The virtual monitoring device is used to monitor the positions of enemy virtual objects and friendly virtual objects. The marker display module is used to display the location marker of the first virtual object in the map display control when the first virtual object exists in the target area; The quantity acquisition module is used to acquire the number of virtual objects that entered the target area before the second virtual object when the second virtual object is detected to have entered the target area. The marker display module is further configured to display the location marker of the second virtual object in the map display control when the number of virtual objects is less than a threshold value; and not display the location marker of the second virtual object in the map display control when the number of virtual objects is greater than or equal to the threshold value. The target location is determined based on the following method: A virtual ray, invisible to the user, is determined according to the pointing direction of the virtual shooting device. Starting from the virtual shooting device, if the virtual ray encounters a collision box with the specified material parameter within a distance threshold, it indicates that the virtual ray has encountered a virtual obstacle within the distance threshold. The first virtual obstacle encountered by the virtual ray within the distance threshold is taken as the target virtual obstacle, and the position of the intersection of the target virtual obstacle and the virtual ray is taken as the target position.
11. A position counter-surveillance device, characterized in that The device includes: The screen display module is used to display the virtual environment screen corresponding to the virtual shooting application, and the virtual environment screen is used to display the virtual environment; The device display module is used to respond to the anti-surveillance trigger operation. If there is a virtual surveillance device in the anti-surveillance area corresponding to the virtual object, the virtual surveillance device is displayed in a first display state at the target location in the virtual environment. The virtual monitoring device, triggered by a monitoring operation by a first terminal, displays the target location in the virtual environment displayed on the first terminal, starting from a virtual shooting device and following the pointing direction of the virtual shooting device. The pointing direction of the virtual shooting device refers to the shooting direction corresponding to the virtual shooting device firing. The target location is the intersection of the pointing direction and a target virtual obstacle. The target virtual obstacle is the first virtual obstacle in the pointing direction of the virtual shooting device. A virtual obstacle is a virtual element that can block the movement of virtual objects in the virtual environment. The material parameters of the collision box corresponding to the virtual obstacle are specified material parameters. The virtual monitoring device is used to monitor the position of virtual objects within a target area. The target area is a virtual environment region corresponding to the target location, determined by the spatial shape of the terrain corresponding to the target location. The virtual monitoring device is used to monitor the positions of both hostile and friendly virtual objects. The display switching module is used to control the virtual monitoring device to switch from the first display state to the second display state in response to a failure trigger operation of the virtual monitoring device; Specifically, a threshold value is set for the number of virtual objects entering the target area corresponding to the virtual monitoring device. When a second virtual object enters the target area, if the number of virtual objects that entered the target area before the second virtual object is less than the threshold value, then the location marker of the second virtual object is displayed in the map display control corresponding to the first terminal that launched the virtual monitoring device; if the number of virtual objects that entered the target area before the second virtual object is greater than or equal to the threshold value, then the location marker of the second virtual object is not displayed in the map display control corresponding to the first terminal. The target location is determined by the first terminal based on the following method: A virtual ray, invisible to the user, is determined according to the pointing direction of the virtual shooting device. Starting from the virtual shooting device, if the virtual ray encounters a collision box with the specified material parameter within a distance threshold, it indicates that the virtual ray has encountered a virtual obstacle within the distance threshold. The first virtual obstacle encountered by the virtual ray within the distance threshold is taken as the target virtual obstacle, and the position of the intersection of the target virtual obstacle and the virtual ray is taken as the target position.
12. A terminal, characterized by comprising: The terminal includes a processor and a memory, the memory storing at least one program, which is loaded and executed by the processor to implement the location monitoring method as described in any one of claims 1 to 6, or to implement the location counter-monitoring method as described in any one of claims 7 to 9.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one program, which is loaded and executed by a processor to implement the location monitoring method as described in any one of claims 1 to 6, or the location counter-monitoring method as described in any one of claims 7 to 9.
14. A computer program product, characterised in that, The computer program product includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform actions to implement the location monitoring method as described in any one of claims 1 to 6, or to implement the location counter-monitoring method as described in any one of claims 7 to 9.