Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Referring to fig. 1A, a flowchart of steps of a data generation method according to a first embodiment of the present application is shown.
Specifically, the data generation method provided by this embodiment includes the following steps:
in step S101, a drawing instruction for a stadium contour map is received.
In an embodiment of the present application, the venue profile may be a venue profile provided by a venue or a venue profile provided by a outsourcing party. The venue outline map is a two-dimensional venue outline map, and a user can draw a three-dimensional venue seat map on the venue outline map. Specifically, the venue outline drawing is imported into drawing software, and then a three-dimensional venue seat drawing is drawn on the venue outline drawing by using the drawing software. The drawing instructions are used for indicating that the venue outline drawing is drawn into a three-dimensional venue seat drawing. For example, the drawing instruction may be a drawing instruction for a seat object, a drawing instruction for a row object, a drawing instruction for a region object for drawing a seat object, a drawing instruction for a stand object, a drawing instruction for a floor object, a drawing instruction for a stage object, a drawing instruction for a corridor object, a drawing instruction for a step object, a drawing instruction for a notice light object, a drawing instruction for a physical obstruction object, a drawing instruction for a toilet object, or the like. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In a specific example, as shown in fig. 1B, when executing a drawing instruction for a grandstand object, a user first selects an area of the grandstand object to be drawn on the venue outline map, then clicks a grandstand object drawing control of the drawing software, pops up a setting frame of the grandstand object to be drawn, and the user can set identification information of the grandstand object to be drawn, identification information of the area of the grandstand object to be drawn, width and height of the grandstand object to be drawn, and the like through the setting frame. After the user sets the stand object to be drawn through the setting box, clicking a confirmation control of the setting box, responding to the clicking operation of the user on the confirmation control, and selecting the area of the stand object to be drawn on the stadium outline drawing to draw the stand object to be drawn. When the chairman platform object shown in fig. 1B executes a drawing instruction for a seat object, a user first selects the chairman platform object of the seat object to be drawn on the venue outline map, then clicks a seat object drawing control of drawing software, pops up a setting frame of the seat object to be drawn, and the user can set, through the setting frame, identification information of the seat object to be drawn, identification information of the chairman platform object, the row number of the seat object to be drawn, the type of the seat object to be drawn, the seat number of the seat object to be drawn, the legend of the seat object to be drawn, the size of the legend of the seat object to be drawn, the color of the legend of the seat object to be drawn, and the like. After the user sets the seat object to be drawn through the setting frame, clicking a confirmation control of the setting frame, and drawing the seat object to be drawn on the chairman table object on the stadium outline map in response to the clicking operation of the user on the confirmation control. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In a specific example, when the drawing instruction is a drawing instruction for an area object for drawing a seat object, after the receiving of the drawing instruction for the stadium outline map, the method further includes: in response to a drawing instruction for the region object, the region object is drawn based on the selected stand object and floor object. Specifically, in response to a drawing instruction of the user for the area object, the area object is drawn based on the stand object and the floor object selected by the user. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In a specific example, when the region object is drawn based on the selected stand object and floor object, the physical space tangent plane of the stand object and the floor object is drawn, and the physical space tangent plane is taken as the region object. Specifically, the stand object is used as a horizontal space and the floor object is used as a vertical space, physical space tangent planes of the horizontal space and the vertical space are drawn, and the physical space tangent plane is used as the area object. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In step S102, a data structure in the data structure model of the three-dimensional venue seat map is instantiated based on the rendering instruction to generate stereo structure data for performing spatial computation on the physical object in the three-dimensional venue seat map.
In an embodiment of the present application, the data structure model may be a tree structure model. The tree structure model includes a root node and a data structure attributed to the root node. Wherein the root node comprises a venue name field, a venue number field, and the like. The instantiations are used to assign values to fields in the data structure. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In some optional embodiments, before instantiating the data structure in the data structure model of the three-dimensional venue seating chart based on the rendering instructions, the method further comprises: configuring the data structure corresponding to the physical object in the data structure model based on name semantic data of the physical object obtained by performing structural decomposition on a physical venue, wherein the name semantic data is semantic data related to the name of the physical object in the three-dimensional venue seat map; generating the data structure model based on the data structure corresponding to the physical object. And the physical venue is a physical venue corresponding to the three-dimensional venue seat map. Therefore, the data structure corresponding to the physical object in the data structure model is configured through the name semantic data of the physical object obtained through structural decomposition of the physical venue, and the data structure model of the three-dimensional venue seat map can be accurately generated. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In a specific example, the name semantic data of the physical object obtained by performing structural decomposition on the physical venue can be understood as semantic data related to the name of the physical object in a three-dimensional venue seat map after performing structural analysis on the physical venue, such as a stage, a stand, a floor, a row, a seat and the like. And when the name semantic data is the stand, configuring a stand data structure. And when the name semantic data is a floor, a floor data structure and the like can be configured. After the data structure is configured, the configured data structure may be organized using a tree structure to generate the data structure model. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In some optional embodiments, the data structure comprises a name semantic data structure and/or a display semantic data structure attributed to the name semantic data structure. Wherein the name semantic data structure is understood to be a data structure having semantic fields related to venue drawing names and the display semantic data structure is understood to be a data structure having semantic fields displaying venue drawings. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In a specific example, the name semantic data structure includes at least one of: a stand name semantic data structure, a floor name semantic data structure, a zone name semantic data structure attributed to the stand name semantic data structure and the floor name semantic data structure, a ranking name semantic data structure attributed to the zone name semantic data structure, a seat name semantic data structure attributed to the ranking name semantic data structure. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In one specific example, the stand name semantic data structure may be understood as a data structure having semantic fields associated with stand object drawing names, for example, the stand name semantic data structure may have the following fields: a stand identification field, a stand name field, a venue identification field, a stand entry field, a stand backup field, etc. The floor name semantic data structure may be understood as a data structure with floor object drawing name related semantic fields, for example, the floor name semantic data structure may have the following fields: a floor identification field, a floor name field, a floor field, a venue identification field, a floor entry field, a floor remark field, etc. The region name semantic data structure may be understood as a data structure with semantic fields to which region object drawing names are related, for example, the region name semantic data structure may have the following fields: an area identification field, a floor field to which the area belongs, a stand field to which the area belongs, a venue identification field, and the like. The row name semantic data structure may be understood as a data structure with row object draw name related semantic fields, for example, the row name semantic data structure may have the following fields: a rank identification field, a ranking scale field, a rank belonging area field, a venue identification field, a rank type field, a rank coordinate field, a rank height field, a rank width field, etc. The seat name semantic data structure may be understood as a data structure with seat object drawing name related semantic fields, for example, the seat name semantic data structure may have the following fields: a seat identification field, a seat name field, a seat belonging row field, a seat type field, a seat coordinate field, a seat angle field, etc. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In a specific example, the display semantic data structures include legend display semantic data structures attributed to the stand name semantic data structures and the area name semantic data structures, and/or shape display semantic data structures attributed to the legend display semantic data structures. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In one specific example, the legend shows that a semantic data structure may be understood as a data structure having semantic fields of a venue plot legend, for example, the legend shows that a semantic data structure may have the following fields: a legend field, a field to which the legend belongs, etc. The shape display semantic data structure may be understood as a data structure having semantic fields describing a legend, for example, the shape display semantic data structure may have the following fields: a description content field, a field to which the description content belongs, and the like. The descriptive content in the descriptive content field can be described in different presentation modes or deformation algorithms, for example, using SVG language, or in other forms, for example, bitmap, vector diagram or dynamic algorithm. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In a specific example, as shown in fig. 1C, the data structure model is a tree structure model, and the tree structure model includes a root node, a stand name semantic data structure attributed to the root node, a floor name semantic data structure attributed to the root node, a zone name semantic data structure attributed to the stand name semantic data structure and the floor name semantic data structure, a ranking semantic data structure attributed to the zone name semantic data structure, a seat name semantic data structure attributed to the ranking semantic data structure, the stand name semantic data structure, the zone name semantic data structure, and a legend display semantic data structure of the root node, and a shape display semantic data structure attributed to the legend display semantic data structure. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In some optional embodiments, when instantiating the data structure in the data structure model of the three-dimensional venue seat map based on the rendering instruction, data generated by the rendering instruction is populated into fields in the data structure model of the three-dimensional venue seat map to generate corresponding entities; and taking the entity as three-dimensional structure data for performing space calculation on the physical object in the three-dimensional venue seat map. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In a specific example, as shown in fig. 1D, when a stage object of a three-dimensional venue seat diagram of a basketball court is drawn in drawing software, a legend of the stage object is filled into a legend field in a legend display semantic data structure, area information to which the stage object belongs is filled into a legend field in the legend display semantic data structure, description contents of the stage legend are filled into a description content field of a shape display semantic data structure, a stage legend to which the description contents belong is filled into a description content field of a shape display semantic data structure, and the like. When the floor objects of the three-dimensional stadium seat diagram of the basketball hall are drawn in drawing software, the entrance information of the floor objects is filled into the floor entrance fields in the floor name semantic data structure, the floor information of the floor objects is filled into the floor fields in the floor name semantic data structure, and the like. When a stand object of a three-dimensional venue seat diagram of a basketball court is drawn in drawing software, the identification information of the stand object is filled in a stand identification field in a stand name semantic data structure, and the stand name of the stand object is filled in a stand name field in the stand name semantic data structure. When a north stand object of a three-dimensional stadium seat diagram of a basketball hall is drawn in drawing software, stand entry information of the north stand object is filled in a stand entry field in a stand name semantic data structure, and the like. When the area object of the three-dimensional stadium seat diagram of the basketball hall is drawn in the drawing software, the floor information to which the area object belongs is filled into the floor field to which the area belongs in the area name semantic data structure, and the stand information to which the area object belongs is filled into the stand field to which the area belongs in the area name semantic data structure. For example, the floor information to which the area object belongs is 2 floors, and the 2 floors can be filled into the floor field to which the area belongs in the area name semantic data structure. For another example, the stand information to which the region object belongs is a north stand, and the north stand can be filled into the stand field to which the region belongs in the region name semantic data structure. When drawing a seat object of a three-dimensional stadium seat map of a basketball court in drawing software, the angle information of the seat object may be filled into a seat angle field in the seat name semantic data structure, the coordinate information of the seat object may be filled into a seat coordinate field in the seat name semantic data structure, and so on. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In a specific example, the stereo structure data comprises name semantic data of the physical object, and/or display semantic data of the physical object. The name semantic data may be understood as semantic data of the physical object in the venue drawing name, that is, attribute data of the physical object in the venue drawing name. The display semantic data may be understood as semantic data of the physical object in displaying the venue drawing, that is, appearance data of the physical object in displaying the venue drawing. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In a specific example, the name semantic data of the physical object includes at least one of: name semantic data of seat objects, name semantic data of row objects, name semantic data of area objects, name semantic data of stand objects, and name semantic data of floor objects. The name semantic data of the seat object can be seat object identification, seat object name, seat object type, seat object coordinate, seat object angle and the like. The name semantic data of the row object can be row identification, row name, row belonging area, row height, row width and the like. The name semantic data of the area object can be area identification, the floor to which the area belongs, the stand to which the area belongs and the like. The name semantic data of the stand object can be a stand identifier, a stand name, a stand entrance and the like. The name semantic data of the floor object can be a floor identification, a floor name, a floor entrance and the like. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In a specific example, the display semantic data of the physical object includes a legend corresponding to the physical object and/or description data of the legend. Wherein the legend to which the physical object corresponds includes at least one of: a legend corresponding to a seat object, a legend corresponding to a row object, a legend corresponding to an area object, a legend corresponding to a stand object, a legend corresponding to a floor object, a legend corresponding to a stage object, a legend corresponding to a corridor object, a legend corresponding to a step object, a legend corresponding to a cue light board object, a legend corresponding to a physical obstruction object, and a legend corresponding to a toilet object. The description data of the legend corresponding to the seat object may be a color, a size, a shape, etc. of the legend corresponding to the seat object, the description data of the legend corresponding to the row object may be a color, a size, a shape, etc. of the legend corresponding to the row object, the description data of the legend corresponding to the area object may be a color, a size, a shape, etc. of the legend corresponding to the area object, and the description data of the legend corresponding to the stand object may be a color, a size, a shape, etc. of the legend corresponding to the stand object. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
According to the data generation method provided by the embodiment of the application, the drawing instruction for the venue outline map is received, the drawing instruction is used for indicating that the venue outline map is drawn into the three-dimensional venue seat map, and the data structure in the data structure model of the three-dimensional venue seat map is instantiated based on the drawing instruction so as to generate the three-dimensional structure data for performing space calculation on the physical object in the three-dimensional venue seat map, wherein the instantiation is used for assigning the field in the data structure.
The data generation method of the present embodiment may be performed by any suitable device having data processing capabilities, including but not limited to: a camera, a terminal, a mobile terminal, a PC, a server, an in-vehicle device, an entertainment device, an advertising device, a Personal Digital Assistant (PDA), a tablet, a laptop, a handheld game machine, glasses, a watch, a wearable device, a virtual display device, a display enhancement device, or the like.
Referring to fig. 2, a flowchart illustrating steps of a data generation method according to a second embodiment of the present application is shown.
Specifically, the data generation method provided by this embodiment includes the following steps:
in step S201, a drawing instruction for a stadium contour map is received.
Since step S201 is similar to step S101 described above, it is not described herein again.
In step S202, a data structure in the data structure model of the three-dimensional venue seat map is instantiated based on the rendering instruction to generate stereo structure data for performing spatial computation on the physical object in the three-dimensional venue seat map.
Since step S202 is similar to step S102, it is not repeated herein.
In step S203, the physical object is selected based on the name semantic data of the physical object and the display semantic data of the physical object included in the stereoscopic structure data.
In a specific example, when the physical object is a floor object, based on name semantic data of the physical object and display semantic data of the physical object included in the three-dimensional structure data, a perspective of the floor object is calculated, and the floor object is selected according to the perspective of the floor object. When the physical object is a stand object, calculating a view angle of the stand object based on name semantic data of the stand object and display semantic data of the stand object included in the three-dimensional structure data, and selecting the stand object according to the view angle of the stand object. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In some optional embodiments, when the physical object is a seat object, after instantiating the data structure in the data structure model of the three-dimensional venue seat map based on the drawing instruction, the method further comprises: selecting the seat object based on the name semantic data of the seat object and the display semantic data of the seat object, and outputting ticket data corresponding to the selected seat object. Thereby, ticket data corresponding to the selected seat object can be output. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In a specific example, when the seat object is selected based on the name semantic data of the seat object and the display semantic data of the seat object, calculating the distance between the seat object and the stage object and the viewing angle of the seat object based on the name semantic data of the seat object and the display semantic data of the seat object; selecting the seat object based on a distance of the seat object from the stage object and a viewing angle of the seat object. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In some optional embodiments, when the physical object is a seat object, after instantiating the data structure in the data structure model of the three-dimensional venue seat map based on the drawing instruction, the method further comprises: determining value data corresponding to the seat object based on the name semantic data of the seat object and the display semantic data of the seat object. Therefore, the value data corresponding to the seat object can be accurately determined through the name semantic data of the seat object and the display semantic data of the seat object. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In a specific example, when determining the value data corresponding to the seat object based on the name semantic data of the seat object and the display semantic data of the seat object, calculating the distance between the seat object and the stage object and the view angle of the seat object based on the name semantic data of the seat object and the display semantic data of the seat object; determining value data corresponding to the seat object based on the distance of the seat object from the stage object and the perspective of the seat object. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
According to the data generation method provided by the embodiment of the application, a drawing instruction for a venue profile is received, the drawing instruction is used for indicating that the venue profile is drawn into a three-dimensional venue seat map, a data structure in a data structure model of the three-dimensional venue seat map is instantiated based on the drawing instruction so as to generate three-dimensional structure data for performing space calculation on a physical object in the three-dimensional venue seat map, the instantiation is used for assigning values to fields in the data structure, the physical object is selected based on name semantic data of the physical object and display semantic data of the physical object included in the three-dimensional structure data, and compared with the prior art, the three-dimensional structure data for performing space calculation on the physical object in the three-dimensional venue seat map is generated by instantiating the data structure in the data structure model of the three-dimensional venue seat map, and the physical object is selected based on the name semantic data of the physical object and the display semantic data of the physical object included in the stereoscopic structure data, and the physical object can be accurately selected.
The data generation method of the present embodiment may be performed by any suitable device having data processing capabilities, including but not limited to: a camera, a terminal, a mobile terminal, a PC, a server, an in-vehicle device, an entertainment device, an advertising device, a Personal Digital Assistant (PDA), a tablet, a laptop, a handheld game machine, glasses, a watch, a wearable device, a virtual display device, a display enhancement device, or the like.
Referring to fig. 3, a flowchart of steps of a seat object determination method according to a third embodiment of the present application is shown.
Specifically, the method for determining a seat object provided by the present embodiment includes the following steps:
in step S301, a first selection operation for a seat object in a three-dimensional venue seat map is received.
In the embodiment of the application, through a page of a vote terminal, a click operation, a long-time press operation or a drag operation of a user for a selection control of a seat object in a three-dimensional venue seat diagram, namely a first selection operation, is received. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In step S302, based on the first selection operation, three-dimensional structure data for performing spatial calculation on a seat object in the three-dimensional venue seat map is acquired from the data structure model of the three-dimensional venue seat map.
In an embodiment of the present application, the data structure model may be a tree structure model. The tree structure model includes a root node and a data structure attributed to the root node. Wherein the root node comprises a venue name field, a venue number field, and the like. The data structure comprises a name semantic data structure and a display semantic data structure belonging to the name semantic data structure, and the stereo structure data comprises name semantic data of the physical object and display semantic data of the physical object. Wherein the name semantic data structure is understood to be a data structure having semantic fields related to venue drawing names and the display semantic data structure is understood to be a data structure having semantic fields displaying venue drawings. The name semantic data may be understood as semantic data of the physical object in the venue drawing name, that is, attribute data of the physical object in the venue drawing name. The display semantic data may be understood as semantic data of the physical object in displaying the venue drawing, that is, appearance data of the physical object in displaying the venue drawing. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In a specific example, the vote terminal obtains the three-dimensional structure data for performing spatial calculation on the seat objects in the three-dimensional venue seat map from the instantiated data structure model of the three-dimensional venue seat map based on the received first selection operation. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In some optional embodiments, after obtaining the spatial structure data for performing spatial computation on the seat objects in the three-dimensional venue seating diagram from the data structure model of the three-dimensional venue seating diagram, the method further comprises: generating selection cues for seat objects in the three-dimensional venue seat map based on the spatial structure data. Therefore, by generating the selection prompt of the seat object in the three-dimensional venue seat diagram, the user can be effectively prompted to select the seat object with a better viewing angle in the three-dimensional venue seat diagram. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In a specific example, when generating a selection prompt of a seat object in the three-dimensional venue seat map based on the stereoscopic structure data, calculating a distance between the seat object and a stage object and a viewing angle of the seat object based on name semantic data of the seat object and display semantic data of the seat object included in the stereoscopic structure data; generating a selection prompt for the seat object based on a distance of the seat object from the stage object and a viewing angle of the seat object. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In step S303, a seat object in the three-dimensional venue seat map is determined based on the stereo structure data.
In some optional embodiments, upon determining a seat object in the three-dimensional venue seating map based on the spatial structure data, presenting the seat object in the three-dimensional venue seating map based on the spatial structure data; receiving a second selection operation for a seat object in the displayed three-dimensional venue seat map; determining eligible seat objects from the displayed seat objects based on the second selection operation. The second selection operation may be an operation of selecting a seat object in the three-dimensional venue seat map in which the seat object is displayed, for example, an operation of clicking the seat object in the three-dimensional venue seat map in which the seat object is displayed in the ballot terminal by the user. Thereby, by exhibiting the seat object in the three-dimensional venue seating diagram, a realistic viewing effect of the seat object in the three-dimensional venue seating diagram can be presented. Further, by selecting a seat object from the displayed seat objects, a more qualified seat object can be selected. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In a specific example, the vote terminal presents the seat objects in the three-dimensional venue seat map based on the three-dimensional structure data of the seat objects in the three-dimensional venue seat map. After displaying the seat objects in the three-dimensional venue seat map, the vote terminal receives a selection operation of a user for the seat objects in the displayed three-dimensional venue seat map, and determines qualified seat objects from the displayed seat objects based on the selection operation. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
In some optional embodiments, while presenting seat objects in the three-dimensional venue seating map based on the spatial structure data, determining spatial locations of seat objects in the three-dimensional venue seating map based on the spatial structure data; displaying the seat object in the three-dimensional venue seat map by sitting the seat object using the virtual object at the spatial location. Thereby, the seat object in the three-dimensional venue seating diagram can be presented realistically as well by using a virtual object, such as a character virtual object, to sit on the seat object in the spatial position of the seat object to present the seat object in the three-dimensional venue seating diagram. It should be understood that the above description is only exemplary, and the embodiments of the present application are not limited in this respect.
According to the seat object determining method provided by the embodiment of the application, the first selection operation aiming at the seat object in the three-dimensional venue seat diagram is received, the three-dimensional structure data used for carrying out space calculation on the seat object in the three-dimensional venue seat diagram is obtained from the data structure model of the three-dimensional venue seat diagram based on the first selection operation, then the seat object in the three-dimensional venue seat diagram is determined based on the three-dimensional structure data, and compared with the existing other modes, the seat object in the three-dimensional venue seat diagram can be accurately determined through the three-dimensional structure data used for carrying out space calculation on the seat object in the three-dimensional venue seat diagram obtained from the data structure model of the three-dimensional venue seat diagram.
The determination method of the seat object provided by the present embodiment may be performed by any suitable device having data processing capability, including but not limited to: a camera, a terminal, a mobile terminal, a PC, a server, an in-vehicle device, an entertainment device, an advertising device, a Personal Digital Assistant (PDA), a tablet, a laptop, a handheld game machine, glasses, a watch, a wearable device, a virtual display device, a display enhancement device, or the like.
Referring to fig. 4, a schematic structural diagram of a data generating apparatus in the fourth embodiment of the present application is shown.
The data generation device provided by the embodiment comprises: a receiving module 401, configured to receive a drawing instruction for a venue outline map, where the drawing instruction is used to instruct to draw the venue outline map into a three-dimensional venue seat map; an instantiation module 402, configured to instantiate a data structure in the data structure model of the three-dimensional venue seat map based on the drawing instruction to generate three-dimensional structure data for performing spatial computation on a physical object in the three-dimensional venue seat map, where the instantiation is used to assign values to fields in the data structure.
The data generating apparatus of this embodiment is used to implement the corresponding data generating method in the foregoing multiple method embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described herein again.
Referring to fig. 5, a schematic structural diagram of a data generating apparatus in the fifth embodiment of the present application is shown.
The data generation device provided by the embodiment comprises: a receiving module 503, configured to receive a drawing instruction for a venue outline map, where the drawing instruction is used to instruct to draw the venue outline map into a three-dimensional venue seat map; an instantiation module 505, configured to instantiate a data structure in the data structure model of the three-dimensional venue seat map based on the drawing instruction to generate three-dimensional structure data for performing spatial computation on a physical object in the three-dimensional venue seat map, where the instantiation is used to assign a value to a field in the data structure.
Optionally, before the instantiating module 505, the apparatus further includes: a configuration module 501, configured to configure the data structure corresponding to the physical object in the data structure model based on name semantic data of the physical object obtained by performing structural decomposition on a physical venue, where the name semantic data is semantic data related to the name of the physical object in the three-dimensional venue seat map; a generating module 502 for generating the data structure model based on the data structure corresponding to the physical object.
Optionally, the data structure comprises a name semantic data structure and/or a display semantic data structure attributed to the name semantic data structure.
Optionally, the name semantic data structure comprises at least one of: a stand name semantic data structure, a floor name semantic data structure, a zone name semantic data structure attributed to the stand name semantic data structure and the floor name semantic data structure, a ranking name semantic data structure attributed to the zone name semantic data structure, a seat name semantic data structure attributed to the ranking name semantic data structure.
Optionally, the display semantic data structures include legend display semantic data structures attributed to the stand name semantic data structures and the area name semantic data structures, and/or shape display semantic data structures attributed to the legend display semantic data structures.
Optionally, the stereo structure data comprises name semantic data of the physical object, and/or display semantic data of the physical object.
Optionally, the name semantic data of the physical object comprises at least one of: name semantic data of seat objects, name semantic data of row objects, name semantic data of area objects, name semantic data of stand objects, and name semantic data of floor objects.
Optionally, the display semantic data of the physical object includes a legend corresponding to the physical object and/or description data of the legend.
Optionally, the legend to which the physical object corresponds includes at least one of: a legend corresponding to a seat object, a legend corresponding to a row object, a legend corresponding to an area object, a legend corresponding to a stand object, a legend corresponding to a floor object, a legend corresponding to a stage object, a legend corresponding to a corridor object, a legend corresponding to a step object, a legend corresponding to a cue light board object, a legend corresponding to a physical obstruction object, and a legend corresponding to a toilet object.
Optionally, when the drawing instruction is a drawing instruction for a region object for drawing a seat object, after the receiving module 503, the apparatus further includes: a processing module 504 for rendering the zone object based on the selected stand object and floor object in response to a rendering instruction for the zone object.
Optionally, the processing module 504 is specifically configured to: and drawing the physical space tangent planes of the stand object and the floor object, and taking the physical space tangent plane as the area object.
Optionally, when the physical object is a seat object, after the instantiating module 505, the apparatus further includes: a selecting module 506, configured to select the seat object based on the name semantic data of the seat object and the display semantic data of the seat object, and output ticket data corresponding to the selected seat object.
Optionally, when the physical object is a seat object, after the instantiating module 505, the apparatus further includes: a determining module 507, configured to determine, based on the name semantic data of the seat object and the display semantic data of the seat object, value data corresponding to the seat object.
The data generating apparatus of this embodiment is used to implement the corresponding data generating method in the foregoing multiple method embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described herein again.
Referring to fig. 6, a schematic structural diagram of a seat object determination apparatus in a sixth embodiment of the present application is shown.
The seat object determination device provided in the present embodiment includes: a receiving module 601, configured to receive a first selection operation for a seat object in a three-dimensional venue seat map; an obtaining module 602, configured to obtain, based on the first selection operation, three-dimensional structure data used for performing spatial calculation on a seat object in the three-dimensional venue seat map from a data structure model of the three-dimensional venue seat map; a determining module 604 for determining seat objects in the three-dimensional venue seat map based on the spatial structure data.
Optionally, the determining module 604 includes: a display sub-module 6041 configured to display the seat object in the three-dimensional venue seat map based on the three-dimensional structure data; a receiving sub-module 6042 configured to receive a second selection operation for a seat object in the three-dimensional venue seat map displayed; a determination submodule 6043 for determining a qualified seat object from the seat objects displayed based on the second selection operation.
Optionally, the display sub-module 6041 is specifically configured to: determining spatial positions of seat objects in the three-dimensional venue seat map based on the stereo structure data; displaying the seat object in the three-dimensional venue seat map by sitting the seat object using the virtual object at the spatial location.
Optionally, after the obtaining module 602, the apparatus further includes: a generating module 603, configured to generate a selection prompt for a seat object in the three-dimensional venue seat map based on the three-dimensional structure data.
The seat object determining device provided in this embodiment is used to implement the corresponding seat object determining method in the foregoing method embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described herein again.
Fig. 7 is a schematic structural diagram of an electronic device in a seventh embodiment of the present application; the electronic device may include:
one or more processors 701;
a computer-readable medium 702, which may be configured to store one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the data generation method as described in the first or second embodiments or the determination method of the seat object as described in the third embodiment.
Fig. 8 is a hardware structure of an electronic device according to an eighth embodiment of the present application; as shown in fig. 8, the hardware structure of the electronic device may include: a processor 801, a communication interface 802, a computer-readable medium 803, and a communication bus 804;
wherein the processor 801, the communication interface 802, and the computer readable medium 803 communicate with each other via a communication bus 804;
alternatively, the communication interface 802 may be an interface of a communication module, such as an interface of a GSM module;
the processor 801 may be specifically configured to: receiving a drawing instruction for a venue outline drawing, wherein the drawing instruction is used for instructing to draw the venue outline drawing into a three-dimensional venue seat drawing; instantiating a data structure in the data structure model of the three-dimensional venue seating diagram based on the rendering instructions to generate stereostructure data for performing spatial computations on physical objects in the three-dimensional venue seating diagram, wherein the instantiating is used to assign values to fields in the data structure. Wherein, the processor 801 may be further configured to: receiving a first selection operation for a seat object in a three-dimensional venue seat map; acquiring three-dimensional structure data for performing space calculation on seat objects in the three-dimensional venue seat map from a data structure model of the three-dimensional venue seat map based on the first selection operation; determining seat objects in the three-dimensional venue seat map based on the stereo structure data.
The Processor 801 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The computer-readable medium 803 may be, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code configured to perform the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium. The computer program, when executed by a Central Processing Unit (CPU), performs the above-described functions defined in the method of the present application. It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable medium can 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 of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access storage media (RAM), a read-only storage media (ROM), an erasable programmable read-only storage media (EPROM or flash memory), an optical fiber, a portable compact disc read-only storage media (CD-ROM), an optical storage media piece, a magnetic storage media piece, or any suitable combination of the foregoing. In the present application, 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. In this application, however, 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 many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also 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. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code configured to carry out operations for the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, 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 operate over any of a variety of networks: including a Local Area Network (LAN) or a Wide Area Network (WAN) -to the user's computer, or alternatively, to an external computer (e.g., through the internet using an internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions configured to implement the specified logical function(s). In the above embodiments, specific precedence relationships are provided, but these precedence relationships are only exemplary, and in particular implementations, the steps may be fewer, more, or the execution order may be modified. That is, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present application may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a receiving module and an instantiating module. The names of these modules do not in some cases constitute a limitation on the module itself, and for example, the receiving module may also be described as a "module that receives a drawing instruction for a stadium outline".
As another aspect, the present application also provides a computer-readable medium on which a computer program is stored, the program, when executed by a processor, implementing the data generation method as described in the first embodiment or the second embodiment, or implementing the determination method of the seat object as described in the third embodiment.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: receiving a drawing instruction for a venue outline drawing, wherein the drawing instruction is used for instructing to draw the venue outline drawing into a three-dimensional venue seat drawing; instantiating a data structure in the data structure model of the three-dimensional venue seating diagram based on the rendering instructions to generate stereostructure data for performing spatial computations on physical objects in the three-dimensional venue seating diagram, wherein the instantiating is used to assign values to fields in the data structure. Further, the apparatus is caused to: receiving a first selection operation for a seat object in a three-dimensional venue seat map; acquiring three-dimensional structure data for performing space calculation on seat objects in the three-dimensional venue seat map from a data structure model of the three-dimensional venue seat map based on the first selection operation; determining seat objects in the three-dimensional venue seat map based on the stereo structure data.
The expressions "first", "second", "said first" or "said second" used in various embodiments of the present disclosure may modify various components regardless of order and/or importance, but these expressions do not limit the respective components. The above description is only configured for the purpose of distinguishing elements from other elements. For example, the first user equipment and the second user equipment represent different user equipment, although both are user equipment. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of the present disclosure.
When an element (e.g., a first element) is referred to as being "operably or communicatively coupled" or "connected" (operably or communicatively) to "another element (e.g., a second element) or" connected "to another element (e.g., a second element), it is understood that the element is directly connected to the other element or the element is indirectly connected to the other element via yet another element (e.g., a third element). In contrast, it is understood that when an element (e.g., a first element) is referred to as being "directly connected" or "directly coupled" to another element (a second element), no element (e.g., a third element) is interposed therebetween.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.