CN108595650B - Method, system, equipment and storage medium for constructing virtual badminton court - Google Patents
Method, system, equipment and storage medium for constructing virtual badminton court Download PDFInfo
- Publication number
- CN108595650B CN108595650B CN201810393704.8A CN201810393704A CN108595650B CN 108595650 B CN108595650 B CN 108595650B CN 201810393704 A CN201810393704 A CN 201810393704A CN 108595650 B CN108595650 B CN 108595650B
- Authority
- CN
- China
- Prior art keywords
- user
- virtual
- boundary
- badminton court
- navigation path
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/20—Instruments for performing navigational calculations
- G01C21/206—Instruments for performing navigational calculations specially adapted for indoor navigation
Abstract
The invention discloses a method, a system, equipment and a storage medium for constructing a virtual badminton court, which comprise the following steps: matching a proper place according to the place requirement; generating a boundary construction navigation path of the badminton court according to the information of the field, and sending the boundary construction navigation path to a user; acquiring a boundary walking path of the user, comparing the boundary walking path with the boundary construction navigation path, and judging whether the similarity reaches a specified value; if yes, a navigation path is constructed according to the boundary to generate a virtual badminton court image, and the virtual badminton court image is sent to wearable equipment of the user to be projected. According to the method, the system, the equipment and the storage medium for constructing the virtual badminton court, the virtual badminton court image is generated by constructing the navigation path according to the boundary and is sent to the wearable equipment of the user for projection, so that the user can play badminton in the self-selected place and time, and the physical exercise time of the user is prolonged.
Description
Technical Field
The invention relates to the field of virtual construction, in particular to a method, a system, equipment and a storage medium for constructing a virtual badminton court.
Background
With the increasing living standard, people have more and more requirements on body building, more and more people join in various sports, and more people use badminton playing to do sports and build body, but the urban land is short, people can only play in a badminton court when arriving at a sports ground within the opening time of the sports ground, and the places and time of badminton playing activities of people are limited.
Disclosure of Invention
The invention mainly aims to provide a method, a system, equipment and a storage medium for constructing a virtual badminton court, and solves the technical problem that the badminton playing place and time of people are limited.
The invention provides a method for constructing a virtual badminton court, which comprises the following steps:
matching a proper place according to the place requirement;
generating a boundary construction navigation path of the badminton court according to the information of the court, and sending the boundary construction navigation path to a user;
obtaining the boundary walking path of the user, comparing the boundary walking path with the boundary construction navigation path, and judging whether the similarity reaches a specified value;
if yes, a navigation path is constructed according to the boundary to generate a virtual badminton court image, and the virtual badminton court image is sent to wearable equipment of the user to be projected.
Further, in the method for constructing a virtual badminton court, after the step of obtaining the boundary walking path of the user, comparing the boundary walking path with the boundary construction navigation path, and determining whether the similarity reaches a specified value, the method further comprises the steps of:
and if not, regenerating a new boundary construction navigation path according to the boundary walking path and the boundary construction navigation path.
Further, in the method for constructing the virtual badminton court, the step of matching out a suitable field according to the field requirement includes the steps of:
acquiring the geographic position requirement, the weather requirement and the ground condition of the user on the virtual badminton court to generate the field requirement;
matching a proper field set according to the field requirements;
sorting according to the distance between the field of the field set and the real-time position of the user, and sending a sorted list to the user;
and matching the corresponding site according to the site feedback information selected by the user.
Further, in the method for constructing a virtual badminton court, the step of generating the boundary of the badminton court according to the information of the court to construct the navigation path and sending the navigation path to the user includes the steps of:
generating navigation information according to the real-time position of the user and the geographic position of the field;
judging whether the real-time position is superposed with the geographical position of the site;
and if so, constructing a navigation path on the boundary of the site and sending the navigation path to the user.
Further, in the method for constructing a virtual badminton court, after the step of constructing a navigation path according to the boundary to generate a virtual badminton court image and sending the virtual badminton court image to the wearable device of the user for projection, the method further includes the steps of:
judging whether the request information of the shared virtual badminton court of the user is received or not;
and if so, sharing the virtual badminton court to the cloud server.
Further, in the method for constructing a virtual badminton court, after the step of sharing the virtual badminton court to the cloud server, the method further includes the steps of:
judging whether participation request information of participants and the participation permission feedback information of the users are received or not;
and if so, sending the badminton court boundary information to the participants.
Further, in the method for constructing a virtual badminton court, after the step of constructing a navigation path according to the boundary to generate a virtual badminton court image and sending the virtual badminton court image to the wearable device of the user for projection, the method further includes the steps of:
judging whether the user is positioned in the virtual badminton court or not according to the real-time position information of the user and the geographic position of the virtual badminton court;
if not, sending out-of-range reminding information to the user.
The invention also provides a system for constructing the virtual badminton court, which comprises the following components:
the site matching module is used for matching a proper site according to site requirements;
the boundary construction navigation module is used for generating a boundary construction navigation path of the badminton court according to the information of the court and sending the boundary construction navigation path to a user;
the boundary acquisition module is used for acquiring the boundary walking path of the user, comparing the boundary walking path with the boundary construction navigation path and judging whether the similarity reaches a specified value or not;
and the virtual badminton court image generation module is used for constructing a navigation path according to the boundary to generate a virtual badminton court image and sending the virtual badminton court image to the wearable equipment of the user for projection.
The invention also proposes a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method according to any one of the embodiments when executing the program.
The invention also proposes a computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of the embodiments.
According to the method, the system, the equipment and the storage medium for constructing the virtual badminton court, the virtual badminton court image is generated by constructing the navigation path according to the boundary and is sent to the wearable equipment of the user for projection, so that the user can play badminton in the self-selected place and time, and the physical exercise time of the user is prolonged; comparing the boundary walking path with the boundary construction navigation path to judge whether the ground condition of the field is flat and is suitable for serving as a virtual badminton court to play badminton; and the site sets are sorted according to the real-time positions of the users, so that the users can preferentially check the sites with the shorter distances.
Drawings
Fig. 1 is a schematic flow chart of a method of constructing a virtual badminton court in accordance with an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a method for constructing a virtual badminton court in accordance with an embodiment of the present invention;
fig. 3 is a schematic flow chart of a method of constructing a virtual badminton court in accordance with an embodiment of the present invention;
fig. 4 is a schematic flow chart of a method of constructing a virtual badminton court in accordance with an embodiment of the present invention;
fig. 5 is a schematic flow chart of a method of constructing a virtual badminton court in accordance with an embodiment of the present invention;
fig. 6 is a schematic flow chart of a method of constructing a virtual badminton court in accordance with an embodiment of the present invention;
fig. 7 is a schematic flow chart of a method of constructing a virtual badminton court in accordance with an embodiment of the present invention;
fig. 8 is a schematic structural view of a system for constructing a virtual badminton court in accordance with an embodiment of the present invention;
FIG. 9 is a schematic diagram of a computer device according to an embodiment of the present invention;
fig. 10 is a schematic diagram showing a configuration of a navigation path for generating a boundary of a badminton court based on information on the field according to an embodiment of the present invention;
FIG. 11 is a schematic diagram of a display for obtaining a boundary walking path of a user according to an embodiment of the present invention.
1. A field matching module; 2. a boundary construction navigation module; 3. acquiring a boundary module; 4. generating a virtual badminton court image module; 5. a computer device; 6. an external device; 7. a processing unit; 8. a bus; 9. a network adapter; 10. an (I/O) interface; 11. a display; 12. a system memory; 13. random Access Memory (RAM); 14. a cache memory; 15. a storage system; 16. a program/utility tool; 17. and (5) program modules.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that, in addition, technical solutions between various embodiments may be combined with each other, but must be based on the realization of the technical solutions by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not to be within the protection scope of the present invention.
Referring to fig. 1, the invention provides a method for constructing a virtual badminton court, which comprises the following steps:
s1, matching a proper site according to site requirements;
s2, generating a boundary of the badminton court according to the information of the court to construct a navigation path, and sending the navigation path to a user;
s3, obtaining the boundary walking path of the user, comparing the path with the boundary construction navigation path, and judging whether the similarity reaches the specified value;
and S4, if yes, constructing a navigation path according to the boundary to generate a virtual badminton court image, and sending the virtual badminton court image to the wearable equipment of the user for projection.
And step S1, matching a suitable field according to the field requirement, which generally includes ground condition, geographical position and weather condition, and the length of the field is greater than 13.40 m and the width is greater than 6.10 m, so as to match a suitable field according to the user' S requirement.
As described in the above step S2, a boundary construction navigation path of the badminton court is generated based on the information of the field, and is sent to the user, and referring to fig. 10, the broken line in fig. 10 is the boundary construction navigation path, and the boundary construction navigation path is generated based on the construction location of the optimal virtual badminton court boundary, so that the user walks along the boundary of the virtual badminton court based on the boundary construction navigation path.
As described in step S3, the boundary walking path of the user is obtained and compared with the boundary construction navigation path to determine whether the similarity reaches a specified value, and referring to fig. 11, the solid line in fig. 11 is the boundary walking path, so as to determine whether the ground condition of the field is flat and suitable for the badminton playing activity as a virtual badminton court, wherein the boundary walking path generally includes the walking route and the horizontal height of each part of the walking boundary, and the boundary construction navigation path generally includes the preset route and the horizontal height of each part of the preset boundary.
If so, in step S4, a virtual badminton court image is generated according to the boundary construction navigation path, and is sent to the wearable device of the user for projection, so that the user can play badminton at a selected place and time, thereby increasing the physical exercise time of the user, wherein the wearable device can change the projection ray according to the real-time position of the user, so that the projected virtual badminton court is fixedly displayed at the same position.
Referring to fig. 2, in this embodiment, after the step of acquiring the boundary walking path of the user, comparing the boundary walking path with the boundary constructed navigation path, and determining whether the similarity reaches a specified value, the method further includes the steps of:
and S5, if not, regenerating a new boundary construction navigation path according to the boundary walking path and the boundary construction navigation path.
If not, a new boundary construction navigation path is regenerated according to the boundary walking path and the boundary construction navigation path, so that the user walks along the boundary according to the new boundary construction navigation path, and a field which is smooth in ground condition and suitable for serving as a virtual badminton court to play badminton is searched.
Referring to fig. 3, in this embodiment, the step of matching a suitable site according to the site requirement includes the steps of:
s6, acquiring the geographic position requirement, weather requirement and ground condition of the user on the virtual badminton court to generate the field requirement;
s7, matching a proper site set according to the site requirements;
s8, sorting according to the distance between the site of the site set and the real-time position of the user, and sending the sorted list to the user;
and S9, matching the corresponding site according to the site feedback information selected by the user.
As the step S6, the location requirement is generated by obtaining the geographic location requirement, the weather requirement and the ground condition of the virtual badminton court of the user, wherein the geographic location is generally a region location, the weather information generally includes a real-time temperature and a weather condition, and the ground condition is generally a road surface flatness and whether there is seeper.
In step S7, a suitable site set is matched according to the site requirement, so as to obtain all sites meeting the site requirement, and all sites meeting the site requirement are combined into the site set.
As mentioned in step S8, the sites of the site set are sorted according to the distance from the real-time location of the user, and the sorted list is sent to the user, so that the user can check and select the sites with a short distance first, thereby improving the user' S ability to search nearby sites meeting the requirements of the sites.
In step S9, the corresponding field is matched according to the feedback information of the selected field of the user, so as to match the field selected by the user for playing the golf course, wherein the feedback information of the selected field generally includes the position of the field, the ground condition of the field and the weather information.
Referring to fig. 4, in this embodiment, the step of generating the boundary of the badminton court according to the information of the field and constructing the navigation path and sending the navigation path to the user includes the steps of:
s10, generating navigation information according to the real-time position of the user and the geographical position of the site;
s11, judging whether the real-time position coincides with the geographical position of the site or not;
and S12, if yes, constructing a navigation path at the boundary of the site and sending the navigation path to the user.
In step S10, navigation information is generated according to the real-time position of the user and the geographic position of the venue, the coordinate positions of the real-time position and the geographic position of the venue are found on the three-dimensional electronic map or the two-dimensional electronic map, and the navigation information between the real-time position and the geographic position of the venue is generated according to the coordinate positions of the real-time position and the geographic position of the venue.
In step S11, it is determined whether the real-time position coincides with a geographical position of the venue, which is generally an area position, and whether the user has arrived at the venue.
If so, in step S12, the boundary construction navigation path of the field is transmitted to the user so that the user can follow the boundary construction navigation path and walk along the boundary of the virtual badminton court to be constructed.
Referring to fig. 5, in this embodiment, after the step of constructing a navigation path according to the boundary to generate a virtual badminton court image, and sending the virtual badminton court image to the wearable device of the user for projection, the method further includes the steps of:
s13, judging whether the request information of the shared virtual badminton court of the user is received;
and S14, if yes, sharing the virtual badminton court to the cloud server.
As described in step S13, it is determined whether the user' S shared virtual badminton court request information is received, and it is determined whether the user needs to share the virtual badminton court image with the participant, so that the virtual badminton court image is projected together with the wearable device of the participant.
If so, in step S14, the virtual badminton court is shared with the cloud server, so that the virtual badminton court image is acquired with the participant and projected by the wearable device.
Referring to fig. 6, in this embodiment, after the step of sharing the virtual badminton court to the cloud server, the method further includes the steps of:
s15, judging whether the participation request information of the participant and the participation permission feedback information of the user are received;
and S16, if yes, sending the badminton court boundary information to the participants.
In step S15, it is determined whether or not the participation request information of the participant and the participation permission feedback information of the user are received, and it is determined that the user agrees to share the virtual badminton court image with the participant, and the virtual badminton court image is projected together with the wearable device of the participant.
If so, in step S16, the badminton court boundary information is transmitted to the participant, so that the virtual badminton court image is acquired together with the participant and the virtual badminton court image is projected by the wearable device.
Referring to fig. 7, in this embodiment, after the step of constructing a navigation path according to the boundary to generate a virtual badminton court image, and sending the virtual badminton court image to the wearable device of the user for projection, the method further includes the steps of:
s17, judging whether the user is in the virtual badminton court according to the real-time position information of the user and the geographic position of the virtual badminton court;
and S18, if not, sending out reminding information to the user.
In step S17, it is determined whether the user is located within the virtual badminton court based on the real-time location information of the user and the geographic location of the virtual badminton court, so as to detect whether the user is located outside the virtual badminton court.
If not, in step S18, an out-of-range reminder message is sent to the user to reduce the possibility that the user will serve or contact the outside world, wherein the out-of-range reminder message is typically a vibration or voice reminder to remind the user.
In this embodiment, after the step of constructing a navigation path according to the boundary to generate a virtual badminton court image, and sending the virtual badminton court image to the wearable device of the user for projection, the method further includes the steps of:
a1, judging whether feedback information that the user cancels the construction of the virtual badminton court is received within a first specified time;
a2, if yes, judging whether the field is suitable for constructing the virtual badminton court according to the feedback information;
and A3, if not, collecting the sites into the sites which are not constructed with the virtual badminton court within a second designated time.
As the step a1, it is determined whether feedback information that the user cancels the construction of the virtual badminton court is received within a first designated time, wherein the first designated time is generally a preset time value, and the feedback information generally includes the geographic position of the court, the ground condition of the court, the weather information and a cancellation reason.
If so, in the step a2, it is determined whether the field is suitable for constructing the virtual badminton court based on the feedback information, and it is determined whether the field is suitable for constructing the virtual badminton court based on the reason for cancellation in the feedback information of the user.
If not, the field is collected into the field which is not used for constructing the virtual badminton court within the second designated time, so that the situation that a user constructs the virtual badminton court in the field before the environment of the field is not changed is avoided.
Referring to fig. 1 to 7, in this embodiment, a method for constructing a virtual badminton court includes the steps of:
s6, acquiring the geographic position requirement, weather requirement and ground condition of the user on the virtual badminton court to generate the field requirement;
s7, matching a proper site set according to the site requirements;
s8, sorting according to the distance between the site of the site set and the real-time position of the user, and sending the sorted list to the user;
s9, matching the corresponding site according to the feedback information of the selected site of the user;
s10, generating navigation information according to the real-time position of the user and the geographical position of the site;
s11, judging whether the real-time position coincides with the geographical position of the site or not;
s12, if yes, constructing a navigation path on the boundary of the site and sending the navigation path to the user;
s3, obtaining the boundary walking path of the user, comparing the path with the boundary construction navigation path, and judging whether the similarity reaches the specified value;
s5, if not, regenerating a new boundary construction navigation path according to the boundary walking path and the boundary construction navigation path;
s4, if yes, constructing a navigation path according to the boundary to generate a virtual badminton court image, and sending the virtual badminton court image to wearable equipment of the user for projection;
s13, judging whether the request information of the shared virtual badminton court of the user is received;
s14, if yes, sharing the virtual badminton court to the cloud server;
s15, judging whether the participation request information of the participant and the participation permission feedback information of the user are received;
and S16, if yes, sending the badminton court boundary information to the participants.
Referring to fig. 8, the present invention further provides a system for constructing a virtual badminton court, including:
the field matching module 1 is used for matching a suitable field according to field requirements, wherein the field requirements generally comprise ground conditions, geographic positions and weather conditions, the length of the field is larger than 13.40 meters, and the width of the field is larger than 6.10 meters;
the boundary construction navigation module 2 is used for generating a boundary construction navigation path of the badminton court according to the information of the field, sending the boundary construction navigation path to a user, and generating the boundary construction navigation path according to the construction site of the optimal virtual badminton court boundary, so that the user can walk along the boundary of the virtual badminton court according to the boundary construction navigation path;
the boundary acquisition module 3 is used for acquiring a boundary walking path of the user, comparing the boundary walking path with the boundary construction navigation path, and judging whether the similarity reaches a specified value so as to judge whether the ground condition of the field is flat and is suitable for serving as a virtual badminton field to play badminton, wherein the boundary walking path generally comprises a walking route and the horizontal height of each part of the walking boundary, and the boundary construction navigation path generally comprises a preset route and the horizontal height of each part of the preset boundary;
and the virtual badminton court image generation module 4 is used for constructing a navigation path according to the boundary to generate a virtual badminton court image and sending the virtual badminton court image to the wearable equipment of the user for projection, so that the user can play badminton in a selected place and time, and the user can increase the physical exercise time, wherein the wearable equipment can change projection rays according to the real-time position of the user, and the projected virtual badminton court is fixedly displayed at the same position.
In this embodiment, the method further includes:
and the new boundary construction navigation module is used for regenerating a new boundary construction navigation path according to the boundary walking path and the boundary construction navigation path, so that the user can walk along the boundary according to the new boundary construction navigation path, and a field which is smooth in ground condition and suitable for serving as a virtual badminton court to play badminton is searched.
The acquisition site requirement module is used for acquiring the geographic position requirement, the weather requirement and the ground condition of the user on the virtual badminton court to generate the site requirement, wherein the geographic position is generally a region position, the weather information generally comprises real-time temperature and the weather condition, and the ground condition is generally the road surface flatness and the condition whether ponding exists or not.
And the site set matching module is used for matching out a proper site set according to the site requirements so as to obtain all sites meeting the site requirements, and combining all the sites meeting the site requirements into the site set.
The sorting module is used for sorting according to the distance between the field of the field set and the real-time position of the user, and sending the sorted list to the user, so that the user can check and select the field with the distance being short at first, and the user can search nearby fields meeting the requirements of the field.
And the feedback matching module is used for matching the corresponding field according to the field feedback information selected by the user so as to match the field selected by the user to play the ball, wherein the field feedback information selected generally comprises a field position, a field ground condition and weather information.
And the navigation generation module is used for generating navigation information according to the real-time position of the user and the geographic position of the site, searching the coordinate positions of the real-time position and the geographic position of the site on the three-dimensional electronic map or the two-dimensional electronic map, and generating the navigation information between the real-time position and the geographic position of the site according to the coordinate positions of the real-time position and the geographic position of the site.
And the position judging module is used for judging whether the real-time position is superposed with the geographical position of the site or not so as to judge whether the user arrives at the site or not, wherein the geographical position of the site is generally an area position.
And the navigation sending module is used for sending the boundary construction navigation path of the field to the user so that the user can walk along the boundary of the virtual badminton court to be constructed along the boundary construction navigation path of the field.
And the sharing request module is used for judging whether the request information of the user for sharing the virtual badminton court is received or not, so as to judge whether the user needs to share the virtual badminton court image to the participant or not, and project the virtual badminton court image together with wearable equipment of the participant.
And the sharing and sending module is used for sharing the virtual badminton court to the cloud server, so that the virtual badminton court image is obtained by the participants and the virtual badminton court image is projected by the wearable equipment.
And the participation request module is used for judging whether participation request information of participants and the participation permission feedback information of the users are received or not, so that the users are judged to agree to share the virtual badminton court image to the participants, and the virtual badminton court image is projected together with wearable equipment of the participants.
And the boundary information sending module is used for sending the badminton court boundary information to the participants so as to acquire the virtual badminton court images with the participants and project the virtual badminton court images through wearable equipment.
And the out-of-range judging module is used for judging whether the user is positioned in the virtual badminton court according to the real-time position information of the user and the geographic position of the virtual badminton court, so as to detect whether the user is positioned out of range of the virtual badminton court.
The reminding module is used for sending out-of-range reminding information to the user so as to reduce the situations that the user sends a ball out of range and receives the ball out of range, wherein the out-of-range information is generally reminded to the user through vibration or voice.
Referring to fig. 9, in the embodiment of the present invention, the present invention further provides a computer device, where the computer device 5 is represented in a form of a general-purpose computing device, and the components of the computer device 5 may include, but are not limited to: one or more processors or processing units 5, a system memory 12, and a bus 8 that couples various system components including the system memory 12 and the processing unit 7.
The system memory 12 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)13 and/or cache memory 14. The computer device 5 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, the storage system 15 may be used to read from and write to non-removable, nonvolatile magnetic media (commonly referred to as "hard drives"). Although not shown in FIG. 9, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 8 by one or more data media interfaces. The memory may include at least one program product having a set (e.g., at least one) of program modules 17, the program modules 17 being configured to carry out the functions of embodiments of the invention.
A program/utility 16 having a set (at least one) of program modules 17 may be stored, for example, in memory, such program modules 17 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 17 generally perform the functions and/or methodologies of the described embodiments of the invention.
The processing unit 7 executes various functional applications and data processing by running a program stored in the system memory 12, for example, implementing the method of constructing a virtual badminton court provided by the embodiment of the present invention.
That is, the processing unit 7 implements, when executing the program,: matching a proper field according to the field requirement, generating a boundary construction navigation path of the badminton field according to the information of the field, sending the boundary construction navigation path to a user, acquiring the boundary walking path of the user, comparing the boundary construction navigation path with the boundary construction navigation path, judging whether the similarity reaches a specified value or not, and accordingly constructing the navigation path according to the boundary to generate a virtual badminton field image, and sending the virtual badminton field image to wearable equipment of the user for projection.
In an embodiment of the present invention, the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the method for constructing a virtual badminton court as provided in all embodiments of the present application:
that is, the program when executed by the processor implements: matching a proper field according to the field requirement, generating a boundary construction navigation path of the badminton field according to the information of the field, sending the boundary construction navigation path to a user, acquiring the boundary walking path of the user, comparing the boundary construction navigation path with the boundary construction navigation path, judging whether the similarity reaches a specified value or not, and accordingly constructing the navigation path according to the boundary to generate a virtual badminton field image, and sending the virtual badminton field image to wearable equipment of the user for projection.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer-readable storage medium or a computer-readable signal medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM)13, a read-only memory (ROM), an erasable programmable read-only memory (EPOM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
According to the method, the system, the equipment and the storage medium for constructing the virtual badminton court, the virtual badminton court image is generated by constructing the navigation path according to the boundary and is sent to the wearable equipment of the user for projection, so that the user can play badminton in the self-selected place and time, and the physical exercise time of the user is prolonged; comparing the boundary walking path with the boundary construction navigation path to judge whether the ground condition of the field is flat and is suitable for serving as a virtual badminton court to play badminton; and the site sets are sorted according to the real-time positions of the users, so that the users can preferentially check the sites with the shorter distances.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (9)
1. A method for constructing a virtual badminton court is characterized by comprising the following steps:
acquiring the geographic position requirement, the weather requirement and the ground condition generation site requirement of a user on the virtual badminton court;
matching a proper field set according to the field requirements;
sorting according to the distance between the field of the field set and the real-time position of the user, and sending a sorted list to the user;
matching a corresponding field according to the feedback information of the selected field of the user;
generating a boundary construction navigation path of the badminton court according to the information of the field, and sending the boundary construction navigation path to a user;
acquiring a boundary walking path of the user, comparing the boundary walking path with the boundary construction navigation path, and judging whether the similarity reaches a specified value;
if yes, a navigation path is constructed according to the boundary to generate a virtual badminton court image, and the virtual badminton court image is sent to wearable equipment of the user to be projected.
2. The method for constructing a virtual badminton court according to claim 1, wherein after the step of obtaining the boundary walking path of the user, comparing the boundary walking path with the boundary construction navigation path, and determining whether the similarity reaches a specified value, the method further comprises the steps of:
and if not, regenerating a new boundary construction navigation path according to the boundary walking path and the boundary construction navigation path.
3. The method for constructing a virtual badminton court according to claim 1, wherein the step of generating the boundary of the badminton court according to the information of the field and constructing the navigation path to the user comprises the steps of:
generating navigation information according to the real-time position of the user and the geographic position of the field;
judging whether the real-time position is coincident with the geographical position of the field or not;
and if so, constructing a navigation path on the boundary of the site and sending the navigation path to the user.
4. The method for constructing the virtual badminton court according to claim 1, wherein after the step of constructing the navigation path according to the boundary to generate the virtual badminton court image and sending the virtual badminton court image to the wearable device of the user for projection, the method further comprises the following steps:
judging whether the request information of the shared virtual badminton court of the user is received or not;
and if so, sharing the virtual badminton court to a cloud server.
5. The method for constructing a virtual badminton court according to claim 4, wherein after the step of sharing the virtual badminton court to the cloud server, the method further comprises the steps of:
judging whether participation request information of participants and participation permission feedback information of the user are received or not;
and if so, sending the badminton court boundary information to the participants.
6. The method for constructing the virtual badminton court according to claim 1, wherein after the step of constructing the navigation path according to the boundary to generate the virtual badminton court image and sending the virtual badminton court image to the wearable device of the user for projection, the method further comprises the following steps:
judging whether the user is located in the virtual badminton court or not according to the real-time position information of the user and the geographic position of the virtual badminton court;
if not, sending out-of-bounds reminding information to the user.
7. A virtual badminton court's construction system, characterized by comprising:
the field matching module is used for acquiring the geographic position requirement, the weather requirement and the ground condition generation field requirement of the user on the virtual badminton court; matching a proper field set according to the field requirements; sorting according to the distance between the field of the field set and the real-time position of the user, and sending a sorted list to the user; matching a corresponding field according to the feedback information of the selected field of the user;
the boundary construction navigation module is used for generating a boundary construction navigation path of the badminton court according to the information of the field and sending the boundary construction navigation path to a user;
the boundary acquisition module is used for acquiring a boundary walking path of the user, comparing the boundary walking path with the boundary construction navigation path and judging whether the similarity reaches a specified value;
and the virtual badminton court image generation module is used for constructing a navigation path according to the boundary to generate a virtual badminton court image and sending the virtual badminton court image to wearable equipment of the user for projection.
8. An apparatus comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program when executed by the processor implementing the method of any one of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 6.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810393704.8A CN108595650B (en) | 2018-04-27 | 2018-04-27 | Method, system, equipment and storage medium for constructing virtual badminton court |
PCT/CN2018/091138 WO2019205243A1 (en) | 2018-04-27 | 2018-06-13 | Method, system, and apparatus for creating virtual badminton court, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810393704.8A CN108595650B (en) | 2018-04-27 | 2018-04-27 | Method, system, equipment and storage medium for constructing virtual badminton court |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108595650A CN108595650A (en) | 2018-09-28 |
CN108595650B true CN108595650B (en) | 2022-02-18 |
Family
ID=63610217
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810393704.8A Active CN108595650B (en) | 2018-04-27 | 2018-04-27 | Method, system, equipment and storage medium for constructing virtual badminton court |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108595650B (en) |
WO (1) | WO2019205243A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113744335B (en) * | 2021-08-24 | 2024-01-16 | 北京体育大学 | Motion guiding method, system and storage medium based on field mark |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101540020A (en) * | 2009-04-01 | 2009-09-23 | 江西省交通设计院 | Three-dimensional line-selection method for road |
CN103984997A (en) * | 2014-05-29 | 2014-08-13 | 国家电网公司 | Transmission project site and line selecting method based on GIS space information |
CN105005601A (en) * | 2015-06-30 | 2015-10-28 | 杨珊珊 | System and method for recommending flight field of unmanned aerial vehicle |
CN106502388A (en) * | 2016-09-26 | 2017-03-15 | 惠州Tcl移动通信有限公司 | A kind of interactive movement technique and head-wearing type intelligent equipment |
CN106709937A (en) * | 2016-12-21 | 2017-05-24 | 四川以太原力科技有限公司 | Method for controlling floor mopping robot |
CN107478243A (en) * | 2017-06-30 | 2017-12-15 | 百度在线网络技术(北京)有限公司 | Air navigation aid, device, equipment and computer-readable recording medium |
CN107596683A (en) * | 2017-09-25 | 2018-01-19 | 晋江市博感电子科技有限公司 | The virtual amusement method of perambulator, apparatus and system based on augmented reality |
CN107860385A (en) * | 2017-09-20 | 2018-03-30 | 百度在线网络技术(北京)有限公司 | Offer method and device, server apparatus and the computer-readable recording medium of indoor navigation service |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8832599B2 (en) * | 2008-10-03 | 2014-09-09 | Microsoft Corporation | Assisted navigation in virtual environments |
CN106504334A (en) * | 2016-10-31 | 2017-03-15 | 北京视境技术有限公司 | The method for redirecting walking in virtual reality |
CN107016723A (en) * | 2017-04-12 | 2017-08-04 | 电子科技大学成都研究院 | A kind of virtual 3D campuses scene walkthrough path generating method |
CN107330122A (en) * | 2017-07-18 | 2017-11-07 | 歌尔科技有限公司 | A kind of scenic spot visiting method, client terminal device and system based on virtual reality |
-
2018
- 2018-04-27 CN CN201810393704.8A patent/CN108595650B/en active Active
- 2018-06-13 WO PCT/CN2018/091138 patent/WO2019205243A1/en active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101540020A (en) * | 2009-04-01 | 2009-09-23 | 江西省交通设计院 | Three-dimensional line-selection method for road |
CN103984997A (en) * | 2014-05-29 | 2014-08-13 | 国家电网公司 | Transmission project site and line selecting method based on GIS space information |
CN105005601A (en) * | 2015-06-30 | 2015-10-28 | 杨珊珊 | System and method for recommending flight field of unmanned aerial vehicle |
CN106502388A (en) * | 2016-09-26 | 2017-03-15 | 惠州Tcl移动通信有限公司 | A kind of interactive movement technique and head-wearing type intelligent equipment |
CN106709937A (en) * | 2016-12-21 | 2017-05-24 | 四川以太原力科技有限公司 | Method for controlling floor mopping robot |
CN107478243A (en) * | 2017-06-30 | 2017-12-15 | 百度在线网络技术(北京)有限公司 | Air navigation aid, device, equipment and computer-readable recording medium |
CN107860385A (en) * | 2017-09-20 | 2018-03-30 | 百度在线网络技术(北京)有限公司 | Offer method and device, server apparatus and the computer-readable recording medium of indoor navigation service |
CN107596683A (en) * | 2017-09-25 | 2018-01-19 | 晋江市博感电子科技有限公司 | The virtual amusement method of perambulator, apparatus and system based on augmented reality |
Also Published As
Publication number | Publication date |
---|---|
WO2019205243A1 (en) | 2019-10-31 |
CN108595650A (en) | 2018-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10841731B2 (en) | Geofence compositions | |
US9204259B2 (en) | Indoor localization of mobile devices | |
US9805058B2 (en) | Visibility of a point of interest based on environmental conditions | |
Yoon et al. | Leveraging augmented reality to create apps for people with visual disabilities: A case study in indoor navigation | |
CN112101339B (en) | Map interest point information acquisition method and device, electronic equipment and storage medium | |
WO2021139328A1 (en) | Virtual prop assignment method and related apparatus | |
CN109543680A (en) | Location determining method, appliance arrangement and the medium of point of interest | |
CN112284400B (en) | Vehicle positioning method and device, electronic equipment and computer readable storage medium | |
US20130124518A1 (en) | Information registration device, information registration method, information registration system, information presentation device, informaton presentation method, informaton presentaton system, and program | |
CN107883974B (en) | Navigation path planning method, navigation server and computer readable medium | |
US20220375220A1 (en) | Visual localization method and apparatus | |
CN110764665B (en) | Information processing method, information processing device and terminal equipment | |
Rocha et al. | Navigation based application with augmented reality and accessibility | |
CN111967664A (en) | Tour route planning method, device and equipment | |
JP5263748B2 (en) | Method, system and computer-readable recording medium for providing information about an object using a viewing frustum | |
Elhamshary et al. | JustWalk: A crowdsourcing approach for the automatic construction of indoor floorplans | |
CN108595650B (en) | Method, system, equipment and storage medium for constructing virtual badminton court | |
Shi et al. | Novel individual location recommendation with mobile based on augmented reality | |
WO2021253996A1 (en) | Method and system for providing real-scene image for user | |
KR20150077607A (en) | Dinosaur Heritage Experience Service System Using Augmented Reality and Method therefor | |
CN108654084B (en) | Auxiliary method, system, equipment and storage medium for virtual long jump match | |
WO2022152081A1 (en) | Navigation method and apparatus | |
Gokl et al. | Towards urban environment familiarity prediction | |
CN110580275A (en) | Map display method and device | |
Sharin et al. | GoMap: Combining step counting technique with augmented reality for a mobile-based indoor map locator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |