An information processing method and apparatus
By receiving signals from signal transmitting devices, the distribution of elements within a preset range of the combat equipment is determined and provided to the user. Combined with shooting commands and image acquisition devices, this solves the problem of users identifying obstacles, teammates, and enemies in combat games, achieving more accurate shooting assistance.
Patent Information
- Application Number
- CN201910173150.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-03-07
- Publication Date
- 2026-01-20
- Estimated Expiration
- 2039-03-07
AI Technical Summary
In existing competitive games, due to distance and angle limitations, users have difficulty clearly identifying obstacles, teammates, and enemies within a preset range, leading to inaccurate shooting or accidental injury to teammates.
By receiving signals from signal transmitting devices, the combat equipment determines the distribution of elements within a preset range and provides this information to the user, including location and attribute information. Combined with firing commands and image acquisition devices, it automatically or assisted the user in making firing decisions.
It improves the shooting accuracy and safety of users in combat games, provides more accurate auxiliary information, and avoids shooting obstacles and accidentally injuring teammates.
Smart Images

Figure CN111666791B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of electronic technology, and in particular, to an information processing method and device. BACKGROUND
[0002] Due to its authenticity and interest, the battle game is widely loved by users of all ages. In the existing battle game, the user controls the movement of the battle device, aims at the enemy device, and then controls the battle device to launch a shot.
[0003] However, due to the distance and angle, the user sometimes cannot see the situation of the obstacles, teammates and enemies in the range of the battle device, which leads to the shot being blocked by the obstacles and the teammates being shot by mistake.
[0004] Therefore, the existing battle game provides insufficient auxiliary information for the user. SUMMARY
[0005] The embodiments of the present application provide an information processing method and device, which can provide more auxiliary information for the user in the battle game.
[0006] In a first aspect, the present application provides an information processing method, comprising:
[0007] The battle device receives signals of one or more signal emitting devices, the signal emitting device is at least an element in the battle game, and the one or more signal emitting devices are located within a preset range of the battle device;
[0008] Based on the signals of the one or more signal emitting devices, the distribution of the elements corresponding to the one or more signal emitting devices within the preset range is determined;
[0009] The distribution is provided to the user.
[0010] Optionally, the distribution of the elements corresponding to the one or more signal emitting devices within the preset range is determined based on the signals of the one or more signal emitting devices, comprising:
[0011] The signal direction, signal strength and carried information of each signal are obtained, and the carried information is used to describe at least the attribute of the corresponding element;
[0012] Based on the signal direction, signal strength and carried information of each signal, the attribute and position of each element within the preset range are determined, and the distribution includes the position and attribute of one or more elements.
[0013] Optionally, after the distribution of the elements corresponding to the one or more signal emitting devices within the preset range is determined, the method further comprises:
[0014] receiving a shooting instruction;
[0015] determining whether the shooting instruction is a first shooting instruction or a second shooting instruction;
[0016] if the shooting instruction is the first shooting instruction, determining whether there is an element satisfying a first preset condition within a shooting range of the combat device based on the distribution;
[0017] if there is no element satisfying the first preset condition within the shooting range, controlling the combat device to shoot.
[0018] Optionally, if the shooting instruction is the second shooting instruction, the combat device is directly controlled to shoot.
[0019] Optionally, after the distribution of the elements corresponding to the one or more signal emitting devices within the preset range is determined, the method further comprises:
[0020] determining whether there is an element satisfying a first preset condition and an element satisfying a second preset condition within a shooting range of the combat device based on the distribution;
[0021] if there is an element satisfying the second preset condition and no element satisfying the first preset condition within the shooting range, controlling the combat device to shoot.
[0022] Optionally, the combat device is provided with an image acquisition device, and after the distribution of the elements corresponding to the one or more signal emitting devices within the preset range is determined, the method further comprises:
[0023] acquiring an image collected by the image acquisition device;
[0024] detecting whether there is an image of part or all of the target elements in the image;
[0025] if the image of part or all of the target elements is detected in the image, controlling the combat device to track the target elements based on the image of part or all of the target elements and the distribution.
[0026] Optionally, after the combat device is controlled to track the target elements, the method further comprises:
[0027] determining whether the target elements enter a shooting range of the combat device;
[0028] If the target element enters a shooting range of the combat device, control the combat device to shoot.
[0029] Optionally, the method further comprises:
[0030] Obtaining an orientation of the combat device;
[0031] Determining the shooting range based on the orientation.
[0032] In a second aspect, the present application provides an information processing device, comprising:
[0033] A first receiving module, configured to receive, by a combat device, signals of one or more signal emitting devices, the signal emitting devices being at least elements in a combat game, the one or more signal emitting devices being located within a preset range of the combat device;
[0034] A first determining module, configured to determine, based on the signals of the one or more signal emitting devices, a distribution of the elements corresponding to the one or more signal emitting devices within the preset range;
[0035] A providing module, configured to provide the distribution to a user.
[0036] Optionally, the determining module is configured to obtain a signal direction, a signal strength and carried information of each signal, the carried information being at least used to describe an attribute of the corresponding element, determine an attribute and a position within the preset range of each element based on the signal direction, the signal strength and the carried information of each signal, and the distribution comprises the position and the attribute of one or more elements.
[0037] Optionally, the device further comprises:
[0038] A second receiving module, configured to receive a shooting instruction after determining the distribution of the elements corresponding to the one or more signal emitting devices within the preset range;
[0039] A first judging module, configured to judge whether the shooting instruction is a first shooting instruction or a second shooting instruction;
[0040] A second judging module, configured to, if the shooting instruction is the first shooting instruction, judge, based on the distribution, whether there is an element satisfying a first preset condition within a shooting range of the combat device;
[0041] A first control module, configured to, if there is no element satisfying the first preset condition within the shooting range, control the combat device to shoot.
[0042] Optionally, if the shooting instruction is a second shooting instruction, the first control module directly controls the combat device to shoot.
[0043] Optionally, the device further comprises:
[0044] The second determination module is configured to determine the shooting range of the combat device based on the orientation.
[0045] The second control module is configured to control the combat device to shoot if the shooting range contains the element satisfying the second preset condition and does not contain the element satisfying the first preset condition.
[0046] Optionally, the combat device is provided with an image acquisition device, and the device further comprises:
[0047] The first acquisition module is configured to acquire an image acquired by the image acquisition device after determining the distribution of the elements corresponding to the one or more signal emitting devices in the preset range.
[0048] The detection module is configured to detect whether the image contains images of part or all of the target elements.
[0049] The third control module is configured to control the combat device to track the target elements based on the images of part or all of the target elements and the distribution if the images of part or all of the target elements are detected in the image.
[0050] Optionally, the device further comprises:
[0051] The third determination module is configured to determine whether the target elements enter the shooting range of the combat device after controlling the combat device to track the target elements.
[0052] The fourth control module is configured to control the combat device to shoot if the target elements enter the shooting range of the combat device.
[0053] Optionally, the device further comprises:
[0054] The second acquisition module is configured to acquire an orientation of the combat device.
[0055] The second determination module is configured to determine the shooting range of the combat device based on the orientation.
[0056] In a third aspect, the present application provides a computer readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method of any one of the first aspect.
[0057] In a fourth aspect, the present application provides a computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method of any one of the first aspect when executing the program.
[0058] The one or more technical solutions described above in the embodiments of the present application have at least one or more of the following technical effects:
[0059] In the technical solutions of the embodiments of the present application, the combat device receives signals of one or more signal emitting devices, the signal emitting devices are at least elements in the combat game, such as obstacles, teammates combat devices, and opponents combat devices, and the one or more signal emitting devices are located within a preset range of the combat device. The combat device further determines a distribution of the elements corresponding to the one or more signal emitting devices within the preset range based on the signals of the one or more signal emitting devices and provides the distribution to the user. By providing the distribution within the preset range of the combat device to the user, the technical effect of providing more auxiliary information for the user is achieved. Moreover, since the distribution determined by the combat device is based on the actually received signals, the distribution will be more accurate than the distribution observed by the user through the naked eye, and thus providing the distribution to the user will better assist the user in the game. BRIEF DESCRIPTION OF DRAWINGS
[0060] Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments with reference made to the accompanying drawings. The drawings are for purposes of illustration only and are not intended to be limiting in any respect. Like reference numerals are used throughout the drawings to indicate similar or identical parts. In the drawings:
[0061] Figure 1 A possible combat system for the embodiments of the present application is shown in the schematic diagram;
[0062] Figure 2 A flowchart of the information processing method in the embodiments of the present application is shown in the schematic diagram;
[0063] Figure 3 A preset range in the embodiments of the present application is shown in the schematic diagram;
[0064] Figure 4 A distribution in the embodiments of the present application is shown in the schematic diagram;
[0065] Figure 5 Another distribution in the embodiments of the present application is shown in the schematic diagram;
[0066] Figure 6 An information processing device in the embodiments of the present application is shown in the schematic diagram;
[0067] Figure 7 Fig. 1 is a structural schematic diagram of a computer device in an embodiment of the present application. DETAILED DESCRIPTION
[0068] The embodiment of the present application provides an information processing method and device, which are used for providing more auxiliary information for users in a battle game.
[0069] The technical solutions of the present application will be described in detail below with reference to the drawings and specific embodiments. It should be understood that the embodiments and specific features in the embodiments are detailed descriptions of the technical solutions of the present application, but not limitations of the technical solutions of the present application. In the case of no conflict, the technical features in the embodiments and the embodiments can be combined with each other.
[0070] The term "and / or" in the present application is only used to describe the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can mean that there are three cases of A alone, A and B together, and B alone. In addition, the character " / " in the present application generally represents an "or" relationship between the front and rear associated objects.
[0071] In order to conveniently introduce the information processing method in the embodiment of the present application, first, a brief introduction to the battle system in the embodiment of the present application is given. Please refer to Figure 1 The battle system includes a plurality of elements, such as battle devices and obstacles. Each battle device is controlled by a user. In a multi-player game, there can be multiple teams, and the battle devices of the same team are team battle devices, and the battle devices of different teams are opponent battle devices. For obstacles, if the obstacle is located between two battle devices, the shooting of one of the battle devices will be intercepted by the obstacle.
[0072] It is particularly pointed out that the elements in the embodiment of the present application, whether battle devices, obstacles or other elements, are real elements, not virtual elements.
[0073] In the embodiment of the present application, the elements in the battle system are at least signal transmitting devices, and further can be signal transceiving devices. Preferably, the signal in the embodiment of the present application is a signal that can be networked, such as a Bluetooth signal or a WiFi signal, so as to facilitate the battle system to be networked through Bluetooth mesh or WiFi. Hereinafter, the Bluetooth mesh networking is taken as an example for introduction.
[0074] Optionally, in this embodiment of the invention, the battle system further includes at least three signal transmitting devices representing reference points. These at least three reference point signal transmitting devices are positioned on the boundary of the battle game, and the boundary of the battle game is determined by the interconnection of these at least three reference points. If the battle system has a server, the server can determine the range of the battle game using these at least three reference points. Furthermore, the server can receive signals from all elements using these three reference points, thereby determining the global distribution of the battle game. The server can further provide this global distribution to the user.
[0075] The above is a brief introduction to the battle system. The following section describes the information processing method in this embodiment of the invention. Please refer to... Figure 2 The method includes:
[0076] S101: The combat equipment receives signals from one or more signal transmitting devices;
[0077] S102: Based on the signals from one or more signal transmitting devices, determine the distribution of elements corresponding to one or more signal transmitting devices within a preset range;
[0078] S103: Provide distribution information to users.
[0079] Specifically, during gameplay, the combat device receives signals in real time from one or more signal transmitting devices within a preset range. The preset range is the range within which the combat device can receive signals. Figure 3 A schematic diagram showing a preset range is provided. Figure 3 In the middle, assuming the combat equipment is a tank, and Figure 3 The closed shape in the diagram represents the preset range of the tank.
[0080] In S101, the battle device receives signals from one or more signal transmitting devices within a preset range; in other words, the battle device receives signals from one or more nearby elements. In a specific implementation, all elements in the battle system can continuously transmit signals so that each battle device can receive signals within its preset range in real time; alternatively, each element can begin transmitting signals only after sensing that it has entered the preset range of the battle device. This invention does not impose any specific limitations.
[0081] Next, in S102, the battle device determines the distribution of the elements corresponding to the one or more signal emitting devices in the preset range based on the signals received from the one or more signal emitting devices. The distribution in the embodiment of the present application includes but is not limited to the position and attribute of the elements; wherein the attribute of the elements at least includes the outline and type of the elements, and further can include the name, volume and color of the elements, etc. For example, the attribute of an element is: tank B1, 5x4x3, blue, which means that the element is a tank, specifically the first tank of the B team, 5 units long, 4 units wide, 3 units high, and blue in color.
[0082] Specifically, S102 determines the distribution of the elements in the preset range by the following process:
[0083] The signal direction, signal strength and the information carried by each signal are obtained, the attribute and the position in the preset range of each element are determined based on the signal direction, signal strength and the information carried by each signal, and the distribution includes the position and attribute of one or more elements.
[0084] Specifically, on one hand, the battle device receives signals through the signal antenna, and when a signal is received, the strength and the incident direction of the signal are the signal direction and the signal strength of the signal. The antenna of the battle device is usually fixed, so the signal direction depends on the angle between the signal emitting device and the battle device. The strength of each signal emitting device when emitting a signal is default, so the received signal strength depends on the distance between the signal emitting device and the battle device. Therefore, conversely, the battle device can determine the relative position of the element emitting the signal and the battle device according to the signal direction and the signal strength of each signal.
[0085] For example, please refer to Figure 4 , it is assumed that the battle device is specifically Figure 4 tank A1. It is assumed that tank A1 receives the signal emitted by tank B1, and the signal direction of the signal is 0° and the signal strength is 4. Through calculation, it can be obtained that the position of the element tank B1 is 3 units in front of tank A1.
[0086] On the other hand, each signal carries information, and in the embodiment of the present application, the information carried by the signal is at least used to describe the attribute of the signal emitting device sending the signal, i.e. the attribute of the corresponding element. Of course, in the specific implementation process, the information carried by the signal can also include, for example, conversation information (such as the conversation of the users controlling the two battle devices), control information (such as the high-level battle device controlling the moving direction of the low-level battle device), and state information (such as the element freezing, death or blood bar), etc., which is not specifically limited by the present application.
[0087] Thus, the combat device can at least obtain the attribute of the element transmitting the signal by analyzing the information carried by the signal, and thus knows the attribute of the element corresponding to the signal. Using the example in the foregoing, assume that the attribute analyzed by the tank 1 in the Figure 4 is the tank B1, 5x4x3, blue, and thus the element corresponding to the signal is determined to be the first tank of the B team, 5 units long, 4 units wide, 3 units high, and blue in color.
[0088] In combination with the position of the element, the combat device determines the distribution of each element in the preset range, and thus obtains the distribution of the preset range. Using the example in the foregoing, assume that the tank A1 receives only one signal in the preset range, and according to the “position 3 units in front of the tank A1” and “the first tank of the B team, 5 units long, 4 units wide, 3 units high, and blue in color” determined by the tank A1 in the foregoing, the tank A1 can determine the distribution of the preset range as follows: there is a total of one tank, which is the first tank of the B team, 5 units long, 4 units wide, 3 units high, and blue in color, and is located 3 units in front of the tank A1.
[0089] After determining the distribution in the preset range of the combat device, the combat device provides the distribution to the user in S103. Specifically, the distribution can be sent to a remote control device for the user to remotely view, or can be displayed on a display screen of the combat device, and the like. In addition, in the specific implementation process, in order to facilitate the user to understand the distribution in the preset range, a local map as shown in Figures 4-5 may also be displayed to the user according to the distribution.
[0090] By providing the distribution in the preset range of the combat device to the user, the technical effect of providing more auxiliary information for the user is achieved. Moreover, since the distribution determined by the combat device is based on the actually received signal, the distribution will be more accurate than the distribution observed by the user through the naked eye, and thus providing the distribution to the user will better assist the user in the game.
[0091] After determining the distribution, the combat device also knows the situation in the preset range of the combat device, and thus can better and more intelligently cooperate with the user in the game. Some optional embodiments are listed below to illustrate how the combat device intelligently cooperates with the user.
[0092] In an optional embodiment, S102 is further followed by the steps of: receiving a shooting instruction, determining whether the shooting instruction is a first shooting instruction or a second shooting instruction, if the shooting instruction is the first shooting instruction, determining whether there is an element satisfying a first preset condition in a shooting range of the combat device based on the distribution, and if there is no element satisfying the first preset condition in the shooting range, controlling the combat device to shoot.
[0093] Specifically, if the user thinks that the combat device needs to shoot other combat devices, a shooting instruction can be generated on the remote control device, and then the shooting instruction is sent to the combat device through the remote control device. Alternatively, the user can also generate a shooting instruction directly by clicking a specific button or long-pressing a specific button on the combat device, and the present application does not make specific limitations.
[0094] After receiving the shooting instruction, it is determined whether the shooting instruction is a first shooting instruction or a second shooting instruction. In the embodiment of the present application, the first shooting instruction is an instruction that can be intercepted by an obstacle, for example, a normal shooting instruction, and the second shooting instruction is an instruction that cannot be intercepted by an obstacle, for example, a shooting instruction that can penetrate or bypass the obstacle. Different instructions can be generated by different operations of the user, which will not be described in detail here.
[0095] If the first shooting instruction is received, in order to intelligently cooperate with the user, the combat device will determine whether there is an element that meets the first preset condition in the current shooting range of the combat device based on the distribution. The first preset condition in the embodiment of the present application is to intercept the shooting, so the element that meets the first preset condition is the obstacle located in front of the shooting object. Determining whether there is an element that meets the first preset condition in the current shooting range of the combat device is to determine whether there is an obstacle located in front of the shooting object in the shooting range of the combat device.
[0096] In the specific implementation process, different combat devices have different shooting ranges: some combat devices have the same shooting range as the preset range, some combat devices can shoot in any direction, and some combat devices can only shoot forward and / or backward. Therefore, for the case where the shooting range is related to the orientation of the combat device, it is also necessary to determine the current shooting range. For this case, how to determine the shooting range is first introduced here. Specifically, the orientation of the combat device can be determined by the following steps: obtaining the orientation of the combat device, and determining the shooting range based on the orientation.
[0097] In the specific implementation process, the orientation of the combat device can be obtained by a geomagnetic sensor, a Bluetooth sensor, a nine-axis sensor, etc. The obtaining process will not be described in detail here. After obtaining the orientation of the combat device, the shooting range is further determined according to the pre-known relationship between the orientation of the combat device and the shooting range.
[0098] For example, it is assumed that Figure 4 The shooting range of tank A1 in Figure 5 is 15° on both sides of the front of the combat device. If it is detected that the orientation of the tank in Figure 4 and Figure 5 is east, then the shooting range of the tank in Figure 4 and Figure 5 is the range from east-northeast 15° to east-southeast 15°.
[0099] After the shooting range is determined, whether there is an obstacle in the shooting range can be determined in combination with the distribution of the elements in the preset range. Figure 4 and Figure 5 will be illustrated. Please refer to Figure 4 , as shown in Figure 4 , there is only the opponent's battle equipment tank B1 in the shooting range, and there is no obstacle, so the tank A1 can shoot the tank B1 without being intercepted, and thus the battle equipment tank A1 shoots.
[0100] Please refer to Figure 5 , as shown in Figure 5 , there is the opponent's battle equipment tank B1 and an obstacle in the shooting range, and the obstacle is in front of the tank B1. Although the tank B1 is in the shooting range of the tank A1, the shooting of the tank A1 will be intercepted by the obstacle because the tank B1 has an obstacle in front of it. If shooting is performed at this time, the tank B1 cannot be successfully shot.
[0101] Then, when there is an element satisfying the first preset condition in the shooting range, the battle equipment can send a prompt information to the user, can automatically move so that there is no obstacle in the shooting range, and can send information to the nearby battle equipment of the same team to inform the battle equipment of the same team to shoot from another angle, and the like. The present application does not make specific limitations.
[0102] From the above description, it can be known that after receiving the first shooting instruction, whether there is an element satisfying the first preset condition in the shooting range is determined based on the distribution. If there is no element satisfying the first preset condition in the shooting range, the battle equipment is controlled to shoot, which intelligently assists the user to shoot and avoids blind shooting due to the user's unawareness of the obstacle.
[0103] If the second shooting instruction is received, the battle equipment directly performs shooting because the second shooting instruction can overcome the obstacle even if there is an obstacle in the shooting range. Optionally, the battle equipment can not consider the situation in the shooting range before shooting, or can determine whether there is an element satisfying the first preset condition in the shooting range of the battle equipment based on the distribution. At least whether or not there is an element, the battle equipment will shoot.
[0104] In another optional embodiment, S102 further includes the following steps: based on the distribution, determining whether there is an element satisfying the first preset condition and an element satisfying the second preset condition in the shooting range of the battle equipment. If there is an element satisfying the second preset condition and there is no element satisfying the first preset condition in the shooting range, the battle equipment is controlled to shoot.
[0105] The same as the previous embodiment, the difference between the previous embodiment is that the embodiment is not to assist the user to shoot after receiving the shooting instruction of the user, but to assist the user to automatically shoot when there is a shooting target in the shooting range and is not blocked by the obstacle.
[0106] Specifically, similar to the above, the first preset condition is to intercept shooting, so the element meeting the first preset condition is the obstacle in front of the shooting object. And the second preset condition is to shoot, so the element meeting the second preset condition is the shooting object, such as other arbitrary battle equipment or arbitrary battle equipment of the other team. Then, the battle equipment automatically shoots when the shooting object appears in the shooting range and there is no obstacle in front of the shooting object according to the distribution in the preset range, so as to more intelligently assist the user and avoid missing the shooting due to the user's unclear distribution in the preset range.
[0107] In another optional embodiment, S102 further includes the following steps: acquiring the image collected by the image collection device, detecting whether there is an image of part or all of the target elements in the image, if the image of part or all of the target elements is detected in the image, based on the image of part or all of the target elements and the distribution, controlling the battle equipment to track the target elements.
[0108] Specifically, in the embodiment of the application, the battle equipment is also provided with an image collection device, such as a depth camera and / or an RGB camera. The image collection device can collect images near the battle equipment. Next, the image collected by the image collection device is acquired, and then the image is detected to determine whether there is an image of part or all of the target elements in the image. The target element is, for example, other battle equipment or battle equipment of the other team, and different target elements can be set according to different battle games. The image is input into the trained deep learning system for recognition.
[0109] The deep learning system in the embodiment of the application is trained in advance based on the set training samples. In order to avoid the situation that the target element is blocked and cannot be recognized, when the deep learning system in the embodiment of the application is trained, the training samples not only include a large number of complete images of the target element taken from various angles, but also include a large number of images of different parts of the target element. Therefore, the trained deep learning system can not only recognize the complete exposed target element, but also recognize the target element that is only partially exposed due to being blocked.
[0110] If the deep learning system detects the image of part or all of the target elements from the image, the result of recognizing the target element is output; otherwise, if the deep learning system does not detect the image of part or all of the target elements from the image, the result of not recognizing the target element is output.
[0111] Further, if the target element is identified, in order to assist the user in playing the game, the combat device will control the combat device to automatically track the target element based on the image and distribution of part or all of the target element. Specifically, the deep learning system in the embodiment of the present application will further output the position of the target element in the image if the result of identifying the target element is output. Then, the combat device can further determine the relative angle and distance of the target element and the combat device.
[0112] If the image acquisition device includes a depth camera, the relative distance of the target element and the combat device can be obtained by reading the depth information corresponding to the pixel point of the target element. If the image acquisition device includes two non-depth cameras arranged in parallel, the relative distance of the target element and the combat device can be calculated according to the principle of double cameras. The relative distance of the target element and the combat device can also be obtained in other ways, which will not be listed here.
[0113] In addition, the combat device calculates the distance and position of the center point of the image and the center point of the target element in the image to calculate the relative position of the target element and the image acquisition device, and then determines the relative angle of the target element and the combat device according to the setting position of the image acquisition device.
[0114] After the relative angle and the relative distance are determined, the combat device adjusts the shooting range to aim at the target element based on the relative angle, and moves the relative distance to approach the target element, so as to track the target element. In the tracking process, a suitable path is selected based on the distribution to avoid being shot by other combat devices or colliding with obstacles. Of course, if the target element also moves during the tracking process, the combat device will re-calculate the relative angle and the relative distance to continue tracking according to the above process.
[0115] As can be seen from the above description, the combat device acquires images through the image acquisition device to find the target element, and automatically tracks the target element after finding the target element, so as to achieve the technical effect of assisting the user to better play the game.
[0116] In combination with the previous embodiment, in an optional other embodiment, after controlling the combat device to track the target element, it further includes: judging whether the target element enters the shooting range of the combat device, and if the target element enters the shooting range of the combat device, controlling the combat device to shoot.
[0117] The method of judging whether the target element enters the shooting range of the combat device has been introduced in the foregoing, which will not be repeated here. In the embodiment of the present application, when the tracked target element enters the shooting range, the combat device automatically shoots, thereby further assisting the user in playing the game.
[0118] Based on the same inventive concept as the information processing method in the foregoing embodiments, the second aspect of the present application also provides an information processing apparatus, such as Figure 6 as shown, comprising:
[0119] A first receiving module 101 is configured to receive signals of one or more signal emitting devices by a combat device, the signal emitting devices being at least elements in a combat game, and the one or more signal emitting devices being located within a preset range of the combat device;
[0120] A first determining module 102 is configured to determine a distribution of the elements corresponding to the one or more signal emitting devices within the preset range based on the signals of the one or more signal emitting devices;
[0121] A providing module 103 is configured to provide the distribution to a user.
[0122] Optionally, the first determining module 102 is configured to acquire a signal direction, a signal strength, and carried information of each signal, the carried information being at least used to describe an attribute of the corresponding element, to determine the attribute and the position of each element within the preset range based on the signal direction, the signal strength, and the carried information of each signal, and to include the position and the attribute of the one or more elements in the distribution.
[0123] Optionally, the apparatus further comprises:
[0124] A second receiving module is configured to receive a shooting instruction after determining the distribution of the elements corresponding to the one or more signal emitting devices within the preset range.
[0125] A first judging module is configured to judge whether the shooting instruction is a first shooting instruction or a second shooting instruction.
[0126] A second judging module is configured to, if the shooting instruction is the first shooting instruction, judge whether there is an element satisfying a first preset condition within a shooting range of the combat device based on the distribution.
[0127] A first control module is configured to control the combat device to shoot if there is no element satisfying the first preset condition within the shooting range.
[0128] If the shooting instruction is the second shooting instruction, the first control module directly controls the combat device to shoot.
[0129] Optionally, the apparatus further comprises:
[0130] The second judging module is configured to, after determining the distribution of the elements corresponding to the one or more signal emitting devices within the preset range, judge whether there is an element satisfying a first preset condition and an element satisfying a second preset condition within the shooting range of the combat device based on the distribution.
[0131] The second control module is configured to control the combat device to shoot if the element meeting the second preset condition exists in the shooting range and the element meeting the first preset condition does not exist.
[0132] Optionally, the combat device is provided with an image acquisition device, and the device further comprises:
[0133] The first acquisition module is configured to acquire an image collected by the image acquisition device after determining the distribution of the element corresponding to the one or more signal emitting devices in the preset range.
[0134] The detection module is configured to detect whether the image of the partial or all target elements exists in the image.
[0135] The third control module is configured to control the combat device to track the target element based on the image of the partial or all target elements and the distribution if the image of the partial or all target elements is detected in the image.
[0136] Optionally, the device further comprises:
[0137] The third determination module is configured to determine whether the target element enters the shooting range of the combat device after controlling the combat device to track the target element.
[0138] The fourth control module is configured to control the combat device to shoot if the target element enters the shooting range of the combat device.
[0139] Optionally, the device further comprises:
[0140] The second acquisition module is configured to acquire the orientation of the combat device.
[0141] The second determination module is configured to determine the shooting range based on the orientation.
[0142] The foregoing Figures 1-5 The various changes and specific examples of the information processing method in the embodiments are also applicable to the information processing device of the present embodiment, and the implementation method of the information processing device in the present embodiment can be clearly understood by the foregoing detailed description of the information processing method. Therefore, for the sake of brevity of the specification, the foregoing detailed description of the information processing method will not be repeated here.
[0143] Based on the same inventive concept as the information processing method in the foregoing embodiments, the present application also provides a computer readable storage medium having a computer program stored thereon, wherein the program is executed by a processor to implement the steps of any method in the foregoing embodiments.
[0144] Based on the same inventive concept as the information processing method in the foregoing embodiments, the present application also provides a computer readable storage medium having a computer program stored thereon, wherein the program is executed by a processor to implement the steps of any method in the foregoing embodiments.
[0145] Based on the same inventive concept as the information processing method in the foregoing embodiments, the present application also provides a computer device, such as Figure 7 For ease of illustration, only parts related to the embodiments of the present application are shown, and specific technical details not disclosed are described with reference to the method part of the embodiments of the present application. The computer device can be any computer device, including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, etc. Taking the computer device as a mobile phone for example:
[0146] Figure 7 A block diagram of part of the structure of the mobile phone related to the computer device provided by the embodiments of the present application is shown. Referring to Figure 7 , the mobile phone includes: RF (Radio Frequency) circuit 310, memory 320, input unit 330, display unit 340, sensor 350, audio circuit 360, Wi-Fi module 370, processor 380, and power supply 390, etc. Those skilled in the art can understand that Figure 7 the structure of the mobile phone shown in the foregoing does not constitute a limitation on the mobile phone, and the mobile phone can include more or less components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0147] The various constituent components of the mobile phone will be specifically introduced below with reference to Figure 7 :
[0148] The RF circuit 310 can be used for receiving and sending signals in the process of information or communication, in particular, receiving the downlink information from the base station and processing by the processor 380; in addition, sending the uplink data to the base station. Generally, the RF circuit 310 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. In addition, the RF circuit 310 can also communicate with the network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to global system for mobile communication (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), email, short messaging service (SMS), etc.
[0149] The memory 320 can be used to store software programs and modules, and the processor 380 executes various function applications and data processing of the mobile phone by running the software programs and modules stored in the memory 320. The memory 320 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 320 can include a high-speed random access memory, and can also include a non-volatile memory, for example, at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device.
[0150] The input unit 330 can be used to receive inputted digital or character information, and to generate key signal input with respect to user settings of the mobile phone and control of functions. Specifically, the input unit 330 can include a touch panel 331 and other input devices 332. The touch panel 331, also called a touch screen, can collect touch operations of a user thereon or adjacent thereto (such as operations of the user using a finger, a stylus, or any suitable object or accessory on or adjacent to the touch panel 331), and drive corresponding connection devices according to a pre-set program. Optionally, the touch panel 331 can include two parts of a touch detection device and a touch controller. The touch detection device detects a touch position of the user and detects a signal caused by a touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into touch coordinates, and sends the touch coordinates to the processor 380, and can receive commands from the processor 380 and execute the commands. In addition, the touch panel 331 can be implemented in various types such as a resistive type, a capacitive type, an infrared type, and a surface acoustic wave type. In addition to the touch panel 331, the input unit 330 can further include other input devices 332. Specifically, the other input devices 332 can include one or more of a physical keyboard, function keys (such as volume control keys, on / off keys, etc.), a trackball, a mouse, a joystick, etc.
[0151] The display unit 340 can be used to display information input by a user or information provided to the user, and various menus of the mobile phone. The display unit 340 can include a display panel 341, which can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel 331 can cover the display panel 341, and when the touch panel 331 detects a touch operation thereon or adjacent thereto, transmits the touch operation to the processor 380 to determine a type of the touch event, and then the processor 380 provides corresponding visual output on the display panel 341 according to the type of the touch event. Although in the above description, the touch panel 331 and the display panel 341 are implemented as two independent components to realize the input and output functions of the mobile phone, in some embodiments, the touch panel 331 and the display panel 341 can be integrated to realize the input and output functions of the mobile phone. Figure 7
[0152] The phone can also include at least one sensor 350, such as an optical sensor, a motion sensor, and other sensors. Specifically, the optical sensor can include an ambient light sensor to adjust the brightness of the display panel 341 according to the brightness of ambient light, and a proximity sensor to turn off the display panel 341 and / or the backlight when the phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and when at rest, the magnitude and direction of gravity, which can be used for applications that identify the posture of the phone (such as switching between landscape and portrait screens, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometers, taps), and the like. As for other sensors that can also be configured on the phone, such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, they will not be described here.
[0153] The audio circuit 360, the speaker 361, and the microphone 362 can provide an audio interface between the user and the phone. The audio circuit 360 can convert the received audio data into an electrical signal, transmit it to the speaker 361, and convert it into a sound signal output by the speaker 361; on the other hand, the microphone 362 converts the collected sound signal into an electrical signal, which is received by the audio circuit 360 and converted into audio data, which is then output to the processor 380 for processing, and then transmitted to another phone via the RF circuit 310, or output to the memory 320 for further processing.
[0154] WiFi is a short-range wireless transmission technology. The WiFi module 370 can help users send and receive emails, browse web pages, and access streaming media, and it provides users with wireless broadband Internet access. Although Figure 7 The WiFi module 370 is shown, but it is understood that it does not belong to the necessary components of the phone, and can be omitted as needed without changing the essence of the invention.
[0155] The processor 380 is the control center of the phone, which connects all parts of the phone through various interfaces and lines, executes various functions of the phone and processes data by running or executing software programs and / or modules stored in the memory 320, and calling data stored in the memory 320, thereby monitoring the phone as a whole. Optionally, the processor 380 can include one or more processing units; preferably, the processor 380 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 380.
[0156] The mobile phone also includes a power supply 390 (such as a battery) for supplying power to each component, and preferably, the power supply is logically connected to the processor 380 through a power management system, so that the power management system can realize functions such as charge management, discharge management, and power consumption management.
[0157] Although not shown, the mobile phone can also include a camera, a Bluetooth module, and the like, which will not be described here.
[0158] In the embodiments of the present application, the processor 380 included in the computer device implements the steps of the method of any of the preceding embodiments when executing the program stored in the memory.
[0159] The one or more technical solutions described above in the embodiments of the present application have at least one or more of the following technical effects:
[0160] In the technical scheme of the embodiments of the present application, the combat device receives signals of one or more signal emitting devices, the signal emitting devices are at least elements in the combat game, such as obstacles, teammates, and opponents, and the one or more signal emitting devices are located within a preset range of the combat device, and the combat device further determines the distribution of the elements corresponding to the one or more signal emitting devices within the preset range based on the signals of the one or more signal emitting devices and provides the distribution to the user. By providing the distribution within the preset range of the combat device to the user, the technical effect of providing more auxiliary information to the user is achieved. Moreover, since the distribution determined by the combat device is based on the actually received signals, it is more accurate than the distribution observed by the user with the naked eye, and thus providing the distribution to the user will better assist the user in the game.
[0161] The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems can be used with these teachings, based on the description as provided herein. In addition, the present application is not described with reference to any particular programming language. It will be appreciated that a variety of programming languages can be used to implement the teachings of the application as described herein, and any references below to specific languages are provided for disclosure of enablement of the best mode of the application.
[0162] In the specification provided herein, a large number of specific details are described. However, it can be understood that embodiments of the present application can be practiced without these specific details. In some examples, well-known methods, structures, and techniques are not described in detail in order not to obscure understanding of the specification.
[0163] Similarly, it is to be understood that the embodiments of the present application can be placed into practice notwithstanding modifications to form yet further embodiments of the present application. As such, the terms and expressions have been used on the true basis of their understood meanings in general usage, without being limited to a narrow patent- or legal-specific usage.
[0164] Those skilled in the art will appreciate that the modules in the apparatuses in the embodiments can be adapted and placed in one or more apparatuses other than the embodiments. The modules or units or components in the embodiments can be combined into one module or unit or component, and further can be divided into more modules or sub-units or sub-components. Any combination of all the features disclosed in the specification (including the accompanying claims, abstract and drawings), and any method or apparatus of any combination of all the features disclosed in the specification (including the accompanying claims, abstract and drawings) can be taken, except that at least some of such features and / or processes or units are mutually exclusive. Unless explicitly stated, each feature disclosed in the specification (including the accompanying claims, abstract and drawings) can be replaced by alternative features that provide the same, equivalent, or similar functionality.
[0165] Further, those skilled in the art will appreciate that a combination of features of different embodiments means that such combination is within the scope of the application and forms a different embodiment. For example, in the following claims, any of the claimed embodiments can be used in any combination.
[0166] Embodiments of the various components of the application can be implemented in hardware, or as software modules running in one or more processors, or some combination of both. Skilled persons will appreciate that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all of the functionality of some or all of the components of the gateway, proxy server, system according to embodiments of the application. The application can also be implemented as a program of instructions for performing part or all of the methods described herein, e.g. a computer program and a computer program product. Such program of the present application can be stored on a computer readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, or provided on a carrier medium, or in any other form.
[0167] It should be noted that the above-mentioned embodiments illustrate rather than limit the application, and that those skilled in the art will be able to design many alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word 'comprising' does not exclude the presence of elements or steps other than those listed in a claim. The word 'a' or 'an' preceding an element does not exclude the presence of a plurality of such elements. The application can be implemented by means of hardware comprising several distinct elements, and by means of a programmed computer. In the claims, the term 'comprising' does not exclude other elements being present in addition to those listed in a claim. The term 'a' or 'an' preceding an element does not exclude the presence of a plurality of such elements. The application can be implemented by means of hardware comprising several distinct elements, and by means of a programmed computer. In the claims, the term 'first','second', and 'third', and the like, do not limit the number of terms in the claims; these terms are just used as distinguishers generally in the art, but they are not meant to limit the number of terms. The use of the term 'about' with respect to a given numerical value x means the range 0.1x to 1.9x.
[0168] A1. An information processing method, comprising:
[0169] receiving, by a combat device, signals of one or more signal emitting devices, the one or more signal emitting devices being at least elements in a combat game, the one or more signal emitting devices being located within a preset range of the combat device;
[0170] determining, based on the signals of the one or more signal emitting devices, a distribution of the elements corresponding to the one or more signal emitting devices within the preset range;
[0171] providing the distribution to a user.
[0172] A2. The method of A1, wherein the determining, based on the signals of the one or more signal emitting devices, the distribution of the elements corresponding to the one or more signal emitting devices within the preset range comprises:
[0173] acquire a signal direction, a signal strength and carried information of each of the signals, the carried information being used to describe at least a property of a corresponding element;
[0174] determine a property and a position of each of the elements in the preset range based on the signal direction, the signal strength and the carried information of each of the signals, the distribution including the position and the property of one or more of the elements.
[0175] A3. The method of A2, further comprising, after the determining of the distribution of the one or more signal-emitting devices corresponding elements in the preset range:
[0176] receiving a shooting instruction;
[0177] determining whether the shooting instruction is a first shooting instruction or a second shooting instruction;
[0178] if the shooting instruction is the first shooting instruction, determining, based on the distribution, whether there is an element satisfying a first preset condition in a shooting range of the combat device;
[0179] if there is no element satisfying the first preset condition in the shooting range, controlling the combat device to shoot.
[0180] A4. The method of A3, wherein if the shooting instruction is the second shooting instruction, directly controlling the combat device to shoot.
[0181] A5. The method of A2, further comprising, after the determining of the distribution of the one or more signal-emitting devices corresponding elements in the preset range:
[0182] determining, based on the distribution, whether there is an element satisfying a first preset condition and an element satisfying a second preset condition in a shooting range of the combat device;
[0183] if there is an element satisfying the second preset condition and no element satisfying the first preset condition in the shooting range, controlling the combat device to shoot.
[0184] A6. The method of A1, wherein the combat device is provided with an image acquisition device, and the method further comprises, after the determining of the distribution of the one or more signal-emitting devices corresponding elements in the preset range:
[0185] acquiring an image acquired by the image acquisition device;
[0186] detecting whether there is an image of part or all of the target elements in the image.
[0187] If an image of part or all of the target element is detected in the image, based on the image of part or all of the target element and the distribution, the method further comprises:
[0188] A7. The method of A6, further comprising, after the controlling the combat device to track the target element:
[0189] determining whether the target element enters a shooting range of the combat device;
[0190] if the target element enters the shooting range of the combat device, controlling the combat device to shoot.
[0191] A8. The method of A3, A4, A5, or A7, further comprising:
[0192] obtaining an orientation of the combat device;
[0193] determining the shooting range based on the orientation.
[0194] B9. An information processing apparatus, comprising:
[0195] a first receiving module configured to receive, by a combat device, signals of one or more signal emitting devices, the signal emitting devices being at least elements in a combat game, the one or more signal emitting devices being within a preset range of the combat device;
[0196] a first determining module configured to determine, based on the signals of the one or more signal emitting devices, a distribution of the elements corresponding to the one or more signal emitting devices within the preset range;
[0197] a providing module configured to provide the distribution to a user.
[0198] B10. The apparatus of B9, wherein the first determining module is configured to obtain a signal direction, a signal strength, and information carried by each of the signals, the information carried being at least used to describe an attribute of the corresponding element, determine, based on the signal direction, the signal strength, and the information carried by each of the signals, the attribute and a position within the preset range of each of the elements, and the distribution comprises the position and the attribute of one or more of the elements.
[0199] B11. The apparatus of B10, further comprising:
[0200] The second receiving module is configured to receive a shooting instruction after determining the distribution of the elements corresponding to the one or more signal emitting devices within the preset range.
[0201] The first judging module is configured to judge whether the shooting instruction is a first shooting instruction or a second shooting instruction.
[0202] The second judging module is configured to, if the shooting instruction is the first shooting instruction, judge whether there is an element satisfying a first preset condition within a shooting range of the combat device based on the distribution.
[0203] The first control module is configured to control the combat device to shoot if there is no element satisfying the first preset condition within the shooting range.
[0204] B12. The apparatus of B11, wherein if the shooting instruction is the second shooting instruction, the first control module directly controls the combat device to shoot.
[0205] B13. The apparatus of B10, further comprising:
[0206] The second judging module is configured to, after determining the distribution of the elements corresponding to the one or more signal emitting devices within the preset range, judge whether there is an element satisfying a first preset condition and an element satisfying a second preset condition within a shooting range of the combat device based on the distribution.
[0207] The second control module is configured to control the combat device to shoot if there is an element satisfying the second preset condition and no element satisfying the first preset condition within the shooting range.
[0208] B14. The apparatus of B9, wherein the combat device is provided with an image acquisition device, and the apparatus further comprises:
[0209] The first obtaining module is configured to, after determining the distribution of the elements corresponding to the one or more signal emitting devices within the preset range, obtain an image acquired by the image acquisition device.
[0210] The detecting module is configured to detect whether there is an image of part or all of the target elements in the image.
[0211] The third control module is configured to, if the image of part or all of the target elements is detected in the image, control the combat device to track the target elements based on the image of part or all of the target elements and the distribution.
[0212] B15. The apparatus of B14, further comprising:
[0213] a third determining module, configured to determine whether the target element enters a shooting range of the fighting device after the fighting device tracks the target element;
[0214] a fourth controlling module, configured to control the fighting device to shoot if the target element enters the shooting range of the fighting device.
[0215] B16. The apparatus of B11, B12, B13 or B15, further comprising:
[0216] a second acquiring module, configured to acquire an orientation of the fighting device;
[0217] a second determining module, configured to determine the shooting range based on the orientation.
[0218] C17. A computer readable storage medium, having stored thereon a computer program, wherein the program, when executed by a processor, implements the steps of the method of any one of claims A1-A8.
[0219] D18. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method of any one of claims A1-A8 when executing the program.
Claims
1. An information processing method characterized by comprising: The method comprises the following steps: A combat device receives signals of one or more signal emitting devices, the one or more signal emitting devices being located within a preset range of the combat device; wherein the signal emitting device is a real obstacle in a combat game, and sends signals through Bluetooth or WiFi networking; Based on the signals of the one or more signal emitting devices, the distribution of the elements corresponding to the one or more signal emitting devices within the preset range is determined; The distribution is provided to the user; The method further comprises the following steps: The signal direction, signal strength and carried information of each signal are obtained, the carried information being used to describe at least the attributes of the corresponding element; Based on the signal direction, signal strength and carried information of each signal, the attributes and location of each element within the preset range are determined, and the distribution comprises the location and attributes of one or more elements.
2. The method of claim 1, wherein, After determining the distribution of the elements corresponding to the one or more signal emitting devices within the preset range, the method further comprises the following steps: A shooting instruction is received; It is determined whether the shooting instruction is a first shooting instruction or a second shooting instruction; If the shooting instruction is the first shooting instruction, it is determined whether there is an element satisfying a first preset condition within the shooting range of the combat device based on the distribution; If there is no element satisfying the first preset condition within the shooting range, the combat device is controlled to shoot.
3. The method of claim 2, wherein, If the shooting instruction is the second shooting instruction, the combat device is directly controlled to shoot.
4. The method of claim 1, wherein, After determining the distribution of the elements corresponding to the one or more signal emitting devices within the preset range, the method further comprises the following steps: Based on the distribution, it is determined whether there is an element satisfying a first preset condition and an element satisfying a second preset condition within the shooting range of the combat device; If there is an element satisfying the second preset condition and no element satisfying the first preset condition within the shooting range, the combat device is controlled to shoot.
5. The method of claim 1, wherein, An image acquisition device is arranged on the combat device, and after determining the distribution of the elements corresponding to the one or more signal emitting devices within the preset range, the method further comprises the following steps: An image acquired by the image acquisition device is obtained; It is detected whether there is an image of part or all of the target elements in the image; If the image of part or all of the target elements is detected in the image, the combat device is controlled to track the target elements based on the image of part or all of the target elements and the distribution.
6. The method of claim 5, wherein, After controlling the combat device to track the target elements, the method further comprises the following steps: It is determined whether the target elements enter the shooting range of the combat device; If the target elements enter the shooting range of the combat device, the combat device is controlled to shoot.
7. The method of claim 2, 3, 4, or 6, wherein, The method further comprises the following steps: The orientation of the combat device is obtained; The shooting range is determined based on the orientation.
8. An information processing apparatus, characterized by comprising: The method comprises the following steps: The first receiving module is configured to receive signals of one or more signal transmitting devices of the combat device, the one or more signal transmitting devices being located within a preset range of the combat device; wherein the signal transmitting device is a real obstacle in a combat game, and the signal transmitting device transmits signals through a Bluetooth or WiFi networking mode; The first determining module is configured to determine a distribution of elements corresponding to the one or more signal transmitting devices within the preset range based on the signals of the one or more signal transmitting devices; The providing module is configured to provide the distribution to a user; The first determining module is configured to acquire a signal direction, a signal strength, and carried information of each signal, the carried information being used to describe at least an attribute of the corresponding element, to determine an attribute and a position of each element within the preset range based on the signal direction, the signal strength, and the carried information of each signal, and to include the position and the attribute of one or more elements in the distribution.
9. The apparatus of claim 8, wherein, The device further includes: The second receiving module is configured to receive a shooting instruction after determining the distribution of the elements corresponding to the one or more signal transmitting devices within the preset range; The first judging module is configured to determine whether the shooting instruction is a first shooting instruction or a second shooting instruction; The second judging module is configured to determine, if the shooting instruction is the first shooting instruction, whether there is an element satisfying a first preset condition within a shooting range of the combat device based on the distribution; The first control module is configured to control the combat device to shoot, if there is no element satisfying the first preset condition within the shooting range.
10. The apparatus of claim 9, wherein, If the shooting instruction is the second shooting instruction, the first control module directly controls the combat device to shoot.
11. The apparatus of claim 8, wherein, The device further includes: The second judging module is configured to determine, after determining the distribution of the elements corresponding to the one or more signal transmitting devices within the preset range, whether there is an element satisfying a first preset condition and an element satisfying a second preset condition within a shooting range of the combat device based on the distribution; The second control module is configured to control the combat device to shoot, if there is an element satisfying the second preset condition and no element satisfying the first preset condition within the shooting range.
12. The apparatus of claim 8, wherein, The combat device is provided with an image acquisition device, and the device further includes: The first acquiring module is configured to acquire an image collected by the image acquisition device after determining the distribution of the elements corresponding to the one or more signal transmitting devices within the preset range; The detecting module is configured to detect whether there is an image of part or all target elements in the image; The third control module is configured to control the combat device to track the target elements based on the image of part or all the target elements and the distribution, if the image of part or all the target elements is detected in the image.
13. The apparatus of claim 12, wherein, The device further includes: The third judging module is configured to determine whether the target elements enter a shooting range of the combat device after controlling the combat device to track the target elements. A fourth control module is configured to control the shooting of the fighting device if the target element enters a shooting range of the fighting device.
14. The apparatus of claim 9, 10, 11, or 13, wherein, The device further comprises: A second acquisition module is configured to acquire an orientation of the fighting device. A second determination module is configured to determine the shooting range based on the orientation.
15. A computer readable storage medium having stored thereon a computer program, characterized in that, The program, when executed by a processor, implements the steps of the method of any one of claims 1-7.
16. A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor, when executing the program, implements the steps of the method of any one of claims 1-7.
Citation Information
Patent Citations
Internet intelligent terminal infrared fight system and interaction method thereof
CN106377901A
Game system based on real-time user position
CN109731323A
Method and device for prompting target position in game and electronic equipment
CN116251349A
Providing device of online shooting game and method for the same
JP2018033971A