Shooting evaluation method and device for simulated weapon equipment, service terminal, and storage device
By receiving and calculating shooting evaluation requests for simulated weapons and equipment, the problems of system complexity and poor user experience caused by infrared sensing equipment in the existing technology are solved, and a simplified shooting system and improved user experience are achieved.
Patent Information
- Application Number
- CN201811323516.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-11-07
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2038-11-07
AI Technical Summary
In existing simulation shooting games, infrared sensing devices need to be set up for positioning, resulting in complex, bulky systems and poor user experience.
By receiving shooting evaluation requests from simulated weapons and equipment, calculating the shooting results and feeding them back to the equipment, there is no need to rely on infrared sensing equipment, simplifying the system and improving user experience.
The shooting system is simplified, the user experience is improved, the cost is reduced, and the shooting space structure is simulated through position information to simply analyze whether the target is hit.
Smart Images

Figure CN111150994B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of simulation games, and in particular relates to a shooting evaluation method and system for simulated weapon equipment, a service terminal, and a storage device. Background Art
[0002] With the development of the large-scale game industry, people are increasingly pursuing three-dimensional realistic effects for indoor games. In terms of simulated shooting games, players have high requirements for the real-time effects of the pictures, and it is necessary to develop relatively real-time and accurate pointing and positioning technology. In the existing real-life CS weapon system, the target needs to wear an additional infrared receiving sensor for sensing, and an infrared transmitter is installed in the weapon equipment. The one-end transmitting and the other-end receiving method is used for positioning, and then the shooting results are obtained. Since it can only rely on infrared sensing equipment for positioning, the weapon system needs to be equipped with infrared sensing devices, etc., which makes the weapon system structure complex and bulky, and the usage scenarios have certain limitations, and the user experience is poor. Summary of the invention
[0003] The embodiments of the present invention provide a shooting evaluation method and system for simulated weapons and equipment, a service terminal, and a storage device, aiming to solve the problem in the prior art that simulated weapons need to be equipped with infrared sensing equipment for positioning, resulting in limited usage scenarios and poor user experience.
[0004] The embodiment of the present invention is achieved by a shooting evaluation method for simulated weapon equipment, comprising:
[0005] receiving a firing evaluation request for a simulated weapon, the trigger of the weapon currently being pulled;
[0006] Calculate a shooting result based on the shooting evaluation request;
[0007] The shooting result is fed back to the simulation weapon device.
[0008] Preferably, before receiving the shooting evaluation request of the simulated weapon equipment, the step further includes:
[0009] Receive current location information periodically uploaded by one or more simulated weapons and equipment;
[0010] The received location information is stored in a database.
[0011] Preferably, before the simulation receives the shooting evaluation request of the weapon equipment, it also includes:
[0012] Set the hit area;
[0013] Set the effective range.
[0014] Preferably, the calculating the shooting result based on the shooting evaluation request specifically includes:
[0015] Acquire the last uploaded position information of the simulated weapon equipment corresponding to the shooting evaluation request from the database, wherein the position information includes the position data and orientation data of the simulated weapon equipment;
[0016] Whether the hit is hit is determined based on the hit area and the acquired position information, and a corresponding shooting result is obtained.
[0017] Preferably, the hit area is a sphere, the position data includes the current position of the simulated weapon equipment, the orientation data includes the orientation specified by the simulated weapon equipment, and the step of determining whether a hit is achieved based on the hit area and the acquired position information to obtain the corresponding shooting result specifically includes:
[0018] Taking the current position of the simulated weapon equipment as the origin and taking the specified orientation as the direction, draw a straight line of a length corresponding to the effective range;
[0019] Obtain a spatial quadrilateral according to the radius of the sphere;
[0020] Acquire a spatial position point located in the spatial quadrilateral;
[0021] Determine whether the number of the spatial position points is greater than 0;
[0022] When the number of the spatial position points is greater than 0, it is confirmed that the target has been hit;
[0023] When the number of the spatial position points is not greater than 0, it is determined that the target is not hit.
[0024] When the number of the spatial position points is greater than 1, the spatial position point closest to the origin is taken as the hit target;
[0025] When the number of the spatial position points is 0, it is determined that the target is not hit.
[0026] Preferably, the acquiring of the spatial position point located on the spatial quadrilateral is specifically:
[0027] Taking the intersection between the spatial quadrilateral and the sphere;
[0028] A spatial position point is obtained from the intersection.
[0029] Preferably, when the number of the spatial position points is greater than 0, after confirming that the target has been hit, the method further comprises:
[0030] Determine whether the number of the spatial position points is greater than 1;
[0031] When the judgment is yes, the spatial position point closest to the origin is taken as the hit target;
[0032] When the judgment is no, the spatial position point is taken as the hit target.
[0033] The present invention also provides a shooting evaluation device for simulating weapon equipment, comprising:
[0034] A receiving module, used for receiving a shooting evaluation request of a simulated weapon equipment, wherein the trigger of the simulated weapon equipment has been currently pulled;
[0035] A calculation module, used for calculating a shooting result based on the shooting evaluation request;
[0036] A feedback module is used to feed back the shooting result to the simulation weapon device.
[0037] The present invention further provides a memory, wherein the memory stores a computer program, and the computer program is executed by a processor to perform the following steps:
[0038] receiving a firing evaluation request of a simulated weapon equipment, the trigger of the simulated weapon equipment currently being pulled;
[0039] Calculate a shooting result based on the shooting evaluation request;
[0040] The shooting result is fed back to the simulation weapon device.
[0041] The present invention also provides a service terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
[0042] receiving a firing evaluation request of a simulated weapon equipment, the trigger of the simulated weapon equipment currently being pulled;
[0043] Calculate a shooting result based on the shooting evaluation request;
[0044] The shooting result is fed back to the simulation weapon device.
[0045] In an embodiment of the present invention, when the trigger of a simulated weapon is pulled, a shooting evaluation request is automatically issued. The central server calculates the shooting result based on the shooting evaluation request and feeds it back to the corresponding simulated weapon. There is no need to set an infrared sensor for the shooting target to perform shooting positioning, which can simplify the shooting system, improve practicality, and enhance user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is a flow chart of a shooting evaluation method of simulated weapon equipment provided by the first embodiment of the present invention;
[0047] Figure 2 It is a specific flow chart of step S2 of a shooting evaluation method for simulated weapon equipment provided by the first embodiment of the present invention;
[0048] Figure 3 It is a specific flow chart of step S22 of a shooting evaluation method for simulated weapon equipment provided by the first embodiment of the present invention;
[0049] Figure 4 A schematic diagram of a simulated gun 1 shooting a target in a simulated weapon system provided by an embodiment of the utility model;
[0050] Figure 5 It is a structural diagram of a shooting evaluation device for simulated weapon equipment provided by a second embodiment of the present invention; Figure 6 It is a structural diagram of a service terminal provided by the third embodiment of the present invention. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0052] In an embodiment of the present invention, a shooting evaluation method for simulated weapon equipment includes: receiving a shooting evaluation request for the simulated weapon equipment, the trigger of the simulated weapon equipment currently being pulled; calculating a shooting result based on the shooting evaluation request; and feeding back the shooting result to the simulated weapon device.
[0053] In order to illustrate the technical solution of the present invention, a specific embodiment is provided below for illustration.
[0054] Embodiment 1:
[0055] Figure 1 A flow chart of a shooting evaluation method for simulated weapon equipment provided by a first embodiment of the present invention is shown, comprising:
[0056] Step S1, receiving a shooting evaluation request of a weapon, the trigger of which has been pulled;
[0057] Specifically, when the simulated weapon equipment is in working state, it communicates with the central server, and the communication mode can be wireless communication, Bluetooth or infrared, which is not limited here. In this embodiment, preferably, the communication mode is wireless communication. When the user uses the simulated weapon equipment to shoot, the simulated weapon equipment automatically sends a shooting evaluation request to the central server when the trigger is pulled. The shooting evaluation request includes a corresponding request and the model of the simulated weapon equipment, etc., which is not limited here. In this embodiment, the simulated weapon equipment can be a handheld weapon equipment.
[0058] Step S2, calculating the shooting result based on the shooting evaluation request;
[0059] Specifically, the shooting result is calculated according to the shooting evaluation request and the current position information of the simulated weapon equipment, and the shooting result may be hitting the target or missing the target.
[0060] Step S3, feeding back the shooting result to the simulation weapon equipment;
[0061] Specifically, when the shooting result is calculated, the result is fed back to the simulated weapon equipment, for example, when the target is hit, the feedback is 1, and when it is not hit, the feedback is 0;
[0062] In this embodiment, when the trigger of the simulated weapon equipment is pulled, a shooting evaluation request is automatically issued. The central server calculates the shooting result based on the shooting evaluation request and feeds it back to the corresponding simulated weapon equipment. There is no need to set an infrared sensing device on the shooting target to perform shooting positioning to obtain the shooting result. The shooting system can be simplified, practicality can be improved, and user experience can be improved.
[0063] In a preferred solution of this embodiment, the following steps may be included before step S1:
[0064] Step S4, receiving the position information periodically uploaded by more than one simulated weapon equipment;
[0065] Specifically, the simulated weapon equipment periodically uploads its current position information to the central server, for example, uploads position information once at intervals of 1S, and the position information may include the current position data of the corresponding simulated weapon equipment and the azimuth data (for example, which direction) specified by it; in the present embodiment, the simulated weapon equipment is provided with a gyroscope (for example, MEMS, micro-electromechanical gyroscope), GPS (global positioning system), GPRS (General Packet Radio Service, general packet radio service technology), and the current position information of the simulated weapon equipment is collected by the above-mentioned gyroscope and GPS, and the collected position information is uploaded using GPRS. The above-mentioned central server may be an HTTP server.
[0066] Step S5, storing the received location information in a database;
[0067] Specifically, the location information uploaded by each simulated weapon equipment is received and stored in a database. Further, a storage block can be set for each simulated weapon equipment to store the information in order of receiving time. There is no limitation on this here. The above-mentioned database is a GIS (Geographic Information System or Geo-Information system) database.
[0068] In a preferred solution of this embodiment, before step S1, the following steps may also be included:
[0069] Step S6, setting the hit area;
[0070] Specifically, each simulated weapon equipment may correspond to a hit area (e.g., a target position), and the hit area is the area where other simulated weapons equipment aim to shoot. In this embodiment, preferably, the hit area is a sphere (with a radius of r, where r is an integer greater than 0);
[0071] Step S7, setting the effective range;
[0072] Specifically, an effective range is preset, and the effective range can be set according to actual conditions, and is not limited here. The effective range is b, and b is an integer greater than 0.
[0073] In a preferred scheme of the present embodiment, the above-mentioned steps S6 and S7 can be arranged before the above-mentioned step S4, or can be arranged before the above-mentioned step S1 and after the step S5. There is no limitation on this here. In addition, the effective range and hit area can also be set while receiving the position information of the simulated weapon equipment.
[0074] In a preferred embodiment of this embodiment, Figure 2 FIG. 2 is a specific flow chart of step S2 of a shooting evaluation method for simulated weapon equipment provided by the first embodiment of the present invention, wherein step S2 specifically includes:
[0075] Step S21, obtaining the last uploaded position information of the simulated weapon equipment corresponding to the shooting evaluation request from the database;
[0076] Specifically, after receiving the shooting evaluation request, the most recently (i.e., last) uploaded position information of the corresponding simulated weapon equipment is obtained from the database, and the position information includes the position data of the simulated weapon equipment (the current position of the simulated weapon equipment) and the orientation data (i.e., the direction data aimed or specified by the simulated weapon equipment);
[0077] Step S22, analyzing whether the hit is achieved based on the hit area and the acquired position information, and obtaining a corresponding shooting result;
[0078] Specifically, whether the target is hit is determined based on the acquired position information and the hit area, and the corresponding shooting result is obtained.
[0079] In a preferred solution of this embodiment, step S22 may further include:
[0080] Record and store shooting results;
[0081] Specifically, the shooting results are assigned, and the assigned values and corresponding information are stored in a database, wherein the corresponding information may include the shooting time, location, and the total number of hits of the simulated weapon equipment plus one, etc., which is not limited here.
[0082] In a preferred embodiment of this embodiment, Figure 3 As shown, it is a specific flow chart of step S22 of a shooting evaluation method of simulated weapon equipment provided by the first embodiment of the present invention, and the step S22 specifically includes:
[0083] Step S221, taking the current position of the simulated weapon equipment as the origin and taking the specified direction as the direction to draw a straight line of a length corresponding to the effective range;
[0084] Specifically, in a geodetic rectangular coordinate system with an arbitrary origin O on the horizon and north (N), east (E), and height (H) as the X, Y, and Z axes, a straight line is drawn with the current position of the simulated weapon equipment as the center point O′ and the effective range b (wherein b is an integer greater than 0) as the length;
[0085] Step S222, obtaining a spatial quadrilateral according to the radius of the sphere;
[0086] Specifically, a sphere formed by the simulated weapon equipment hit area has a diameter 2r as a side length, O' as the center point, and a 2r-side square as the base, and an effective range as the length of the space quadrilateral. The space quadrilateral is a cuboid, and the cuboid N is expressed as ABCDA'B'C'D' (such as Figure 4 ), for example, the length of the rectangular block N is 8m, and the width and height are both 2m; based on the above-mentioned geodetic rectangular coordinate system, the shooting origin of the simulated weapon equipment that pulls the trigger is the center point O′ of the bottom surface of the rectangular block. The coordinates of this point are known, the shooting direction is known, and the server calculates the coordinates of each vertex of the rectangular block.
[0087] The hit object is represented as a sphere with a radius r in the geodetic rectangular coordinate system.
[0088] Step S223, obtaining a spatial position point located in the spatial quadrilateral;
[0089] Specifically, in the aforementioned geodetic rectangular coordinate system, firstly obtain the intersection between the spatial quadrilateral and the aforementioned sphere, and then obtain the intersecting spatial position point from the intersection;
[0090] Step S224, determining whether the number of spatial position points is greater than 0;
[0091] Specifically, it is determined whether to obtain spatial position points. When the number of spatial position points is greater than 0, the process goes to step S225, otherwise, the process goes to step S226;
[0092] Step S225, confirming that the target is hit;
[0093] Step S226, confirming that the target is not hit;
[0094] For example Figure 4 As shown: all points, lines, surfaces, and bodies are in the geodetic coordinate system (North N-East E-Height H), and the effective distance d is shot from the shooting point (n0, e0, h0). The collision object of the shooting target is a sphere with a radius of r, and the spherical points of the sphere are a series of coordinate points such as (n2, e2, h2), (n3, e3, h3), (n1, e1, h1), etc. Then, with the shooting point as the center point of the square, draw a square with a side length of 2r, and then draw a space quadrilateral (i.e., a cuboid) with a side length of d; the cuboid can just accommodate a complete sphere. It should be noted that there is only one coordinate point that appears in this cuboid (including the coincidence of the coordinates of a point on the side line of the cuboid), which is the target coordinate point that can be hit. From all the target coordinate points that can be hit, the point with the closest straight-line distance to the shooting point is selected as the point that is finally hit.
[0095] In a preferred solution of this embodiment, the step S225 may further include:
[0096] Determine whether the number of spatial position points is greater than 1;
[0097] When the judgment is yes, the spatial position point closest to the origin is taken as the hit target;
[0098] When the judgment is no, the spatial position point is taken as the hit target.
[0099] Furthermore, relevant data such as the hit target is stored in a corresponding position of the database.
[0100] Specifically, the position data of the hit (hit) target and the corresponding device (i.e., the corresponding simulated weapon equipment) number are obtained through the above steps, the data of the hit or miss of the device number is recorded, and the score is stored, for example, a hit is 1 point and a miss is 0 point.
[0101] In this embodiment, when the trigger of the simulated weapon equipment is pulled, a shooting evaluation request is automatically issued. The central server calculates the shooting result based on the shooting evaluation request and feeds it back to the corresponding simulated weapon equipment. There is no need to set an infrared sensor for the shooting target to perform shooting positioning, which can simplify the shooting system, improve practicality, and enhance user experience.
[0102] In addition, simulated weapons and equipment periodically upload location data, so users only need to pull the trigger without actually firing a bullet, reducing costs.
[0103] Furthermore, the shooting space structure is simulated based on the position information, and whether the target is hit is analyzed based on the shooting space structure, and the implementation process is simple.
[0104] Embodiment 2:
[0105] Figure 5 The structure diagram of a shooting evaluation device for simulated weapon equipment provided by the second embodiment of the present invention is shown. The system comprises: a receiving module 1, a computing module 2 connected to the receiving module 1, and a feedback module 3 connected to the computing module 2, wherein:
[0106] A receiving module 1 is used to receive a shooting evaluation request of a weapon, wherein the trigger of the weapon has been pulled;
[0107] Specifically, when the simulated weapon equipment is in working state, it communicates with the central server, and the communication mode can be wireless communication, Bluetooth or infrared, which is not limited here. In this embodiment, preferably, the communication mode is wireless communication. When the user uses the simulated weapon equipment to shoot, the simulated weapon equipment automatically sends a shooting evaluation request to the central server when the trigger is pulled. The shooting evaluation request includes a corresponding request and the model of the simulated weapon equipment, etc., which is not limited here. In this embodiment, the simulated weapon equipment can be a handheld weapon equipment.
[0108] A calculation module 2, used for calculating a shooting result based on a shooting evaluation request;
[0109] Specifically, the shooting result is calculated according to the shooting evaluation request and the current position information of the simulated weapon equipment, and the shooting result may be hitting the target or missing the target.
[0110] Feedback module 3, used for feeding back the shooting result to the simulation weapon equipment;
[0111] Specifically, when the shooting result is calculated, the result is fed back to the simulated weapon equipment, for example, when the target is hit, the feedback is 1, and when it is not hit, the feedback is 0;
[0112] In this embodiment, when the trigger of the simulated weapon equipment is pulled, a shooting evaluation request is automatically issued. The central server calculates the shooting result based on the shooting evaluation request and feeds it back to the corresponding simulated weapon equipment. There is no need to set an infrared sensing device on the shooting target to perform shooting positioning to obtain the shooting result. The shooting system can be simplified, practicality can be improved, and user experience can be improved.
[0113] In a preferred solution of the present embodiment, the receiving module 1 is also used to receive the current location information periodically uploaded by more than one simulated weapon equipment;
[0114] Specifically, the simulated weapon equipment periodically uploads its current position information to the central server, for example, uploads position information once at intervals of 1S, and the position information may include the current position data of the corresponding simulated weapon equipment and the azimuth data (for example, which direction) specified by it; in the present embodiment, the simulated weapon equipment is provided with a gyroscope (for example, MEMS, micro-electromechanical gyroscope), GPS (global positioning system), GPRS (General Packet Radio Service, general packet radio service technology), and the current position information of the simulated weapon equipment is collected by the above-mentioned gyroscope and GPS, and the collected position information is uploaded using GPRS. The above-mentioned central server may be an HTTP server.
[0115] In a preferred solution of this embodiment, the above device further includes: a storage module 4 connected to the receiving module 1, wherein:
[0116] Storage module 4, used to store the received location information in a database;
[0117] Specifically, the location information uploaded by each simulated weapon equipment is received and stored in a database. Further, a storage block can be set for each simulated weapon equipment to store the information in order of receiving time. There is no limitation on this here. The above-mentioned database is a GIS (Geographic Information System or Geo-Information system) database.
[0118] In a preferred solution of this embodiment, the device further includes: a setting module 5 connected to the storage module 4, wherein:
[0119] Setting module 5, used for setting the hit area;
[0120] Specifically, each simulated weapon equipment may correspond to a hit area (such as a target position), and the hit area is the area where the simulated weapon equipment aims to shoot. In this embodiment, preferably, the hit area is a sphere (with a radius of r, wherein r is an integer greater than 0);
[0121] Also used to set effective range;
[0122] Specifically, an effective range is preset, and the effective range can be set according to actual conditions, and is not limited here. The effective range is b, and b is an integer greater than 0.
[0123] In a preferred solution of this embodiment, the calculation module 2 specifically includes: an acquisition unit, and an analysis unit connected to the acquisition unit, wherein:
[0124] An acquisition unit, used for acquiring the last uploaded position information of the simulated weapon equipment corresponding to the shooting evaluation request from the database;
[0125] Specifically, after receiving the shooting evaluation request, the most recently (i.e., last) uploaded position information of the corresponding simulated weapon equipment is obtained from the database, and the position information includes the position data of the simulated weapon equipment (the current position of the simulated weapon equipment) and the orientation data (i.e., the direction data aimed or specified by the simulated weapon equipment);
[0126] An analysis unit, used to analyze whether a hit is made based on the hit area and the acquired position information, and obtain a corresponding shooting result;
[0127] Specifically, whether the target is hit is determined based on the acquired position information and the hit area, and the corresponding shooting result is obtained.
[0128] In a preferred solution of this embodiment, the calculation module 2 further includes a record storage unit connected to the analysis unit, wherein:
[0129] A recording storage unit, used for recording and storing shooting results;
[0130] Specifically, the shooting results are assigned, and the assigned values and corresponding information are stored in a database, wherein the corresponding information may include the shooting time, location, and the total number of hits of the simulated weapon equipment plus one, etc., which is not limited here.
[0131] In a preferred solution of the present embodiment, the analysis unit is specifically used for: taking the current position of the simulated weapon equipment as the origin and taking the specified orientation as the direction to draw a coordinate line of a length corresponding to the effective range;
[0132] Specifically, a coordinate line is drawn with the current position of the simulated weapon equipment as the origin and the effective range as the length;
[0133] It is also used to obtain a spatial quadrilateral according to the radius of the sphere;
[0134] Based on the above coordinate lines, a spatial quadrilateral is drawn according to the radius of the above sphere. Preferably, the size of the spatial quadrilateral is 2r*2r.
[0135] It is also used to obtain the spatial position point located in the spatial quadrilateral;
[0136] Specifically, firstly, the intersection between the spatial quadrilateral and the sphere is obtained, and then the spatial position point is obtained from the intersection;
[0137] It is also used to determine whether the number of spatial position points is greater than 0;
[0138] Specifically, it is determined whether the spatial position points are obtained, and when the number of spatial position points is greater than 0, it is confirmed that the target is hit, and when the number of spatial position points is not greater than 0, it is confirmed that the target is not hit;
[0139] In a preferred solution of this embodiment, the analysis unit is further used to determine whether the number of spatial position points is greater than 1;
[0140] When the judgment is yes, the spatial position point closest to the origin is taken as the hit target;
[0141] When the judgment is no, the spatial position point is taken as the hit target.
[0142] Furthermore, the record storage unit is also used to store relevant data such as the hit target in a corresponding position of the database.
[0143] Specifically, the position data of the hit (hit) target and the corresponding device (i.e., the corresponding simulated weapon equipment) number are obtained through the above steps, the data of the hit or miss of the device number is recorded, and the score is stored, for example, a hit is 1 point and a miss is 0 point.
[0144] In this embodiment, when the trigger of the simulated weapon equipment is pulled, a shooting evaluation request is automatically issued. The shooting evaluation device calculates the shooting result according to the shooting evaluation request and feeds back to the corresponding simulated weapon equipment. There is no need to set an infrared sensing device on the shooting target to perform shooting positioning to obtain the shooting result. The shooting system can be simplified, practicality can be improved, and user experience can be improved.
[0145] In addition, simulated weapons and equipment periodically upload location data, so users only need to pull the trigger without actually firing a bullet, reducing costs.
[0146] Furthermore, the shooting space structure is simulated based on the position information, and whether the target is hit is analyzed based on the shooting space structure, and the implementation process is simple.
[0147] Embodiment three:
[0148] Figure 6The structure diagram of a service terminal provided by the third embodiment of the present invention is shown, where the service terminal includes: a memory 61, a processor 62, a communication interface 63 and a bus 64. The processor 62, the memory 61 and the communication interface 63 complete interactive communication with each other through the bus 64.
[0149] Memory 61, used to store various data;
[0150] Specifically, the memory 61 is used to store various data, such as data in the communication process, received data, etc., which is not limited here. The memory also includes multiple computer programs.
[0151] Communication interface 63, used for information transmission between communication devices of the service terminal;
[0152] The processor 62 is used to call various computer programs in the memory 61 to execute the shooting evaluation method of simulated weapon equipment provided in the first embodiment, for example:
[0153] Receiving a firing evaluation request of a simulated weapon equipment, wherein the trigger of the simulated weapon equipment has been pulled;
[0154] Calculate a shooting result based on the shooting evaluation request;
[0155] The shooting result is fed back to the simulation weapon device.
[0156] Furthermore, the following steps may be performed:
[0157] Receive current location information periodically uploaded by one or more simulated weapons and equipment;
[0158] The received location information is stored in a database.
[0159] It should be noted that the service terminal can be the central server described in the above embodiment, which is wirelessly connected to the simulated weapon equipment to achieve data interaction between the two.
[0160] In the present invention, when the trigger of the simulated weapon equipment is pulled, a shooting evaluation request is automatically issued. The central server calculates the shooting result according to the shooting evaluation request and feeds it back to the corresponding simulated weapon equipment. There is no need to set an infrared sensing device on the shooting target to perform shooting positioning to obtain the shooting result. The shooting system can be simplified, the practicality is improved, and the user experience is improved.
[0161] In addition, simulated weapons and equipment periodically upload location data, so users only need to pull the trigger without actually firing a bullet, reducing costs.
[0162] Furthermore, the shooting space structure is simulated based on the position information, and whether the target is hit is analyzed based on the shooting space structure, and the implementation process is simple.
[0163] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution.
[0164] Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention. The above is only a specific implementation of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A shooting evaluation method for simulated weapon equipment, characterized in that: include: receiving a firing evaluation request for a simulated weapon, the trigger of the weapon currently being pulled; Calculate a shooting result based on the shooting evaluation request; Feeding back the shooting result to the simulation weapon equipment; The receiving of the shooting evaluation request of the simulated weapon equipment also includes: Receiving current location information periodically uploaded by more than one simulated weapon equipment, the location information including location data and orientation data of the simulated weapon equipment, and the location information is used to calculate the shooting result; storing the received location information in a database; The receiving of the shooting evaluation request of the simulated weapon equipment also includes: Set the hit area; Set the effective range; The calculating of the shooting result based on the shooting evaluation request specifically includes: Acquire the last uploaded position information of the simulated weapon equipment corresponding to the shooting evaluation request from the database; Determine whether the target is hit based on the hit area and the acquired position information, and obtain a corresponding shooting result; The hit area is a sphere, the position data includes the current position of the simulated weapon equipment, the orientation data includes the orientation specified by the simulated weapon equipment, and the determination of whether the hit is made based on the hit area and the acquired position information to obtain the corresponding shooting result specifically includes: Taking the current position of the simulated weapon equipment as the origin and taking the specified orientation as the direction, draw a straight line of a length corresponding to the effective range; Obtain a spatial quadrilateral according to the radius of the sphere; Acquire a spatial position point located in the spatial quadrilateral; Determine whether the number of the spatial position points is greater than 0; When the number of the spatial position points is greater than 0, it is confirmed that the target has been hit; When the number of the spatial position points is not greater than 0, it is determined that the target is not hit; The step of obtaining a spatial quadrilateral according to the radius of the sphere specifically includes: A spatial quadrilateral with the shooting origin of the simulated weapon equipment as the center point of a square with the diameter of the sphere formed by the hit area as the side length and the effective range as the length; The step of obtaining the spatial position point located on the spatial quadrilateral is specifically as follows: Taking the intersection between the spatial quadrilateral and the sphere; A spatial position point is obtained from the intersection.
2. The shooting evaluation method according to claim 1, characterized in that: When the number of the spatial position points is greater than 0, after confirming that the target has been hit, the method further comprises: Determine whether the number of the spatial position points is greater than 1; When the judgment is yes, the spatial position point closest to the origin is taken as the hit target; When the judgment is no, the spatial position point is taken as the hit target.
3. A shooting evaluation device for simulating weapons and equipment, characterized in that: include: A receiving module, used for receiving a shooting evaluation request of a simulated weapon equipment, wherein the trigger of the simulated weapon equipment has been currently pulled; A calculation module, used for calculating a shooting result based on the shooting evaluation request; A feedback module, used for feeding back the shooting result to the simulation weapon equipment; The receiving module is further used to receive the current position information of more than one simulated weapon equipment periodically uploaded, wherein the position information includes the position data and orientation data of the simulated weapon equipment, and the position information is used to calculate the shooting result; The device also includes: A storage module, used for storing the received location information in a database; Setting module, used to set the hit area and effective range; The calculation module comprises: An acquisition unit, used for acquiring from the database the last uploaded position information of the simulated weapon equipment corresponding to the shooting evaluation request; An analysis unit, used for determining whether a hit is made based on the hit area and the acquired position information, and obtaining a corresponding shooting result; The hit area is a sphere, the position data includes the current position of the simulated weapon equipment, the orientation data includes the orientation specified by the simulated weapon equipment, and the analysis unit is specifically used for: Taking the current position of the simulated weapon equipment as the origin and taking the specified orientation as the direction, draw a straight line of a length corresponding to the effective range; Obtain a spatial quadrilateral according to the radius of the sphere; Acquire a spatial position point located in the spatial quadrilateral; Determine whether the number of the spatial position points is greater than 0; When the number of the spatial position points is greater than 0, it is confirmed that the target has been hit; When the number of the spatial position points is not greater than 0, it is determined that the target is not hit; The step of obtaining a spatial quadrilateral according to the radius of the sphere specifically includes: A spatial quadrilateral with the shooting origin of the simulated weapon equipment as the center point of a square with the diameter of the sphere formed by the hit area as the side length and the effective range as the length; The step of obtaining the spatial position point located on the spatial quadrilateral is specifically as follows: Taking the intersection between the spatial quadrilateral and the sphere; A spatial position point is obtained from the intersection.
4. A memory storing a computer program, characterized in that: The computer program is executed by the processor as follows: Receiving current location information periodically uploaded by more than one simulated weapon equipment, the location information including location data and orientation data of the simulated weapon equipment, the location information being used to calculate a shooting result; storing the received location information in a database; Set the hit area and effective range; receiving a firing evaluation request of a simulated weapon equipment, the trigger of the simulated weapon equipment currently being pulled; Calculate a shooting result based on the shooting evaluation request; Feeding back the shooting result to the simulation weapon equipment; The calculating of the shooting result based on the shooting evaluation request specifically includes: Acquire the last uploaded position information of the simulated weapon equipment corresponding to the shooting evaluation request from the database; Determine whether the target is hit based on the hit area and the acquired position information, and obtain a corresponding shooting result; The hit area is a sphere, the position data includes the current position of the simulated weapon equipment, the orientation data includes the orientation specified by the simulated weapon equipment, and the determination of whether the hit is made based on the hit area and the acquired position information to obtain the corresponding shooting result specifically includes: Taking the current position of the simulated weapon equipment as the origin and taking the specified orientation as the direction, draw a straight line of a length corresponding to the effective range; Obtain a spatial quadrilateral according to the radius of the sphere; Acquire a spatial position point located in the spatial quadrilateral; Determine whether the number of the spatial position points is greater than 0; When the number of the spatial position points is greater than 0, it is confirmed that the target has been hit; When the number of the spatial position points is not greater than 0, it is determined that the target is not hit; The step of obtaining a spatial quadrilateral according to the radius of the sphere specifically includes: A spatial quadrilateral with the shooting origin of the simulated weapon equipment as the center point of a square with the diameter of the sphere formed by the hit area as the side length and the effective range as the length; The step of obtaining the spatial position point located on the spatial quadrilateral is specifically as follows: Taking the intersection between the spatial quadrilateral and the sphere; A spatial position point is obtained from the intersection.
5. A service terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the shooting evaluation method of simulated weapon equipment as described in claim 1 or 2 are implemented.
