[go: up one dir, main page]

CN113838214A - Data generation method, apparatus, electronic device and computer readable medium - Google Patents

Data generation method, apparatus, electronic device and computer readable medium Download PDF

Info

Publication number
CN113838214A
CN113838214A CN202010589726.9A CN202010589726A CN113838214A CN 113838214 A CN113838214 A CN 113838214A CN 202010589726 A CN202010589726 A CN 202010589726A CN 113838214 A CN113838214 A CN 113838214A
Authority
CN
China
Prior art keywords
seat
data
dimensional
venue
data structure
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.)
Pending
Application number
CN202010589726.9A
Other languages
Chinese (zh)
Inventor
刘健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010589726.9A priority Critical patent/CN113838214A/en
Publication of CN113838214A publication Critical patent/CN113838214A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/003Navigation within 3D models or images
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/10Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Graphics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

本申请实施例提供了一种数据生成方法、装置、电子设备及计算机可读介质,涉及绘图领域。其中,所述方法包括:接收针对场馆轮廓图的绘制指令,所述绘制指令用于指示将所述场馆轮廓图绘制为三维场馆座位图;基于所述绘制指令,对所述三维场馆座位图的数据结构模型中的数据结构进行实例化,以生成用于对所述三维场馆座位图中的物理对象进行空间计算的立体结构数据,其中,所述实例化用于对所述数据结构中的字段进行赋值。本申请实施例通过对三维场馆座位图的数据结构模型中的数据结构进行实例化,能够生成用于对三维场馆座位图中的物理对象进行空间计算的立体结构数据,从而使得三维场馆座位图中的物理对象具备空间计算能力。

Figure 202010589726

Embodiments of the present application provide a data generation method, apparatus, electronic device, and computer-readable medium, which relate to the field of drawing. Wherein, the method includes: receiving a drawing instruction for the stadium outline, where the drawing instruction is used to instruct to draw the stadium outline as a three-dimensional venue seating map; The data structure in the data structure model is instantiated to generate the three-dimensional structure data used for spatial calculation of the physical objects in the three-dimensional venue seating map, wherein the instantiation is used for the field in the data structure Make an assignment. In the embodiment of the present application, by instantiating the data structure in the data structure model of the three-dimensional venue seating map, the three-dimensional structure data used for spatial calculation of the physical objects in the three-dimensional venue seating map can be generated, so that the three-dimensional venue seating map can be of physical objects with spatial computing capabilities.

Figure 202010589726

Description

Data generation method and device, electronic equipment and computer readable medium
Technical Field
The embodiment of the application relates to the field of drawing, in particular to a data generation method and device, electronic equipment and a computer readable medium.
Background
With the popularization of online ticketing, more and more users purchase tickets on the internet. When a user purchases a ticket, the user wants to be able to see a detailed seating chart of a venue holding the event, and particularly, the user wants to be able to see a corresponding seating of the venue for which the user purchased the ticket. This requires the mapping of the venue seat before ticketing.
A conventional drawing mode of the venue seat map is to tile the physical object on the venue seat map for display, and the drawing mode is to simply tile the physical object. This drawing mode brings about a number of problems. For example, there is no logical order between the seat objects, and the seat objects cannot be found in the left, right, front, and rear relationship after being distorted. For example, the seat objects of different stand objects do not have a logical isolation relationship, and the membership relationship between the seat objects and the stand objects cannot be distinguished. For another example, the seat object in the same stand object does not have a concept of spatial height from the seat object, and two seat objects next to each other drawn on the canvas on which the seat object is drawn are actually seat objects on two floors above and below. Therefore, the physical object drawn by the drawing mode has no space computing capacity. Therefore, how to enable the physical objects in the venue seating chart to have space calculation capacity becomes a technical problem to be solved urgently at present.
Disclosure of Invention
The application aims to provide a data generation method, a data generation device, an electronic device and a computer readable medium, which are used for solving the technical problem of how to enable a physical object in a stadium seat map to have space calculation capacity in the prior art.
According to a first aspect of embodiments of the present application, a data generation method is provided. The method comprises the following steps: 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.
According to a second aspect of embodiments of the present application, there is provided a seat object determination method. The method comprises the following steps: 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.
According to a third aspect of embodiments of the present application, there is provided a data generation apparatus. The device comprises: the system comprises a receiving module, a drawing module and a display module, wherein the receiving module is used for receiving a drawing instruction aiming at a venue outline map, and the drawing instruction is used for indicating that the venue outline map is drawn into a three-dimensional venue seat map; and the instantiation module is used for instantiating the data structure in the data structure model of the three-dimensional venue seat map based on the drawing instruction so as to generate 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 values to the fields in the data structure.
According to a fourth aspect of embodiments of the present application, there is provided a seat object determination apparatus. The device comprises: a receiving module for receiving a first selection operation for a seat object in a three-dimensional venue seat map; an obtaining module, 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 determination module to determine a seat object in the three-dimensional venue seat map based on the spatial structure data.
According to a fifth aspect of embodiments of the present application, there is provided an electronic apparatus, including: one or more processors; a computer readable medium configured to store one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the data generation method according to the first aspect of the above-described embodiments or the determination method of the seat object according to the second aspect of the above-described embodiments.
According to a sixth aspect of embodiments of the present application, there is provided a computer-readable medium, on which a computer program is stored, which when executed by a processor, implements a data generation method as described in the first aspect of the embodiments above, or implements a determination method of a seat object as described in the second aspect of the embodiments above.
According to the data generation scheme provided by the embodiment of the application, a drawing instruction for a venue profile is received, wherein the drawing instruction is used for instructing drawing of the venue profile into a three-dimensional venue seat map, and 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, wherein the instantiation is used for assigning values to fields in the data structure.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1A is a flowchart illustrating steps of a data generation method according to an embodiment of the present disclosure;
FIG. 1B is a schematic diagram of a stadium profile according to an embodiment of the disclosure;
FIG. 1C is a diagram illustrating a data structure model according to an embodiment of the present application;
FIG. 1D is a schematic diagram of a basketball court provided in accordance with an embodiment of the present application;
FIG. 2 is a flowchart illustrating steps of a data generation method according to a second embodiment of the present application;
FIG. 3 is a flowchart illustrating steps of a method for determining a seating object according to a third embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a data generating apparatus according to a fourth embodiment of the present application;
fig. 5 is a schematic structural diagram of a data generating apparatus in the fifth embodiment of the present application;
fig. 6 is a schematic structural diagram of a seat object determining apparatus according to a sixth embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device in a seventh embodiment of the present application;
fig. 8 is a hardware structure of an electronic device according to an eighth embodiment of the present application.
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.

Claims (17)

1.一种数据生成方法,其特征在于,所述方法包括:1. a data generation method, is characterized in that, described method comprises: 接收针对场馆轮廓图的绘制指令,所述绘制指令用于指示将所述场馆轮廓图绘制为三维场馆座位图;Receive a drawing instruction for the venue outline, where the drawing instruction is used to instruct to draw the venue outline as a three-dimensional venue seating map; 基于所述绘制指令,对所述三维场馆座位图的数据结构模型中的数据结构进行实例化,以生成用于对所述三维场馆座位图中的物理对象进行空间计算的立体结构数据,其中,所述实例化用于对所述数据结构中的字段进行赋值。Based on the drawing instruction, the data structure in the data structure model of the three-dimensional venue seating map is instantiated, so as to generate three-dimensional structure data for spatial calculation of the physical objects in the three-dimensional venue seating map, wherein, The instantiation is used to assign values to fields in the data structure. 2.根据权利要求1所述的方法,其特征在于,所述基于所述绘制指令,对所述三维场馆座位图的数据结构模型中的数据结构进行实例化之前,所述方法还包括:2. The method according to claim 1, characterized in that, before the instantiation of the data structure in the data structure model of the three-dimensional venue seating map based on the drawing instruction, the method further comprises: 基于对物理场馆进行结构分解获得的所述物理对象的名称语义数据,配置所述数据结构模型中与所述物理对象对应的所述数据结构,其中,所述名称语义数据为所述三维场馆座位图中与所述物理对象的名称相关的语义数据;The data structure corresponding to the physical object in the data structure model is configured based on the name semantic data of the physical object obtained by decomposing the structure of the physical venue, wherein the name semantic data is the seat of the three-dimensional venue Semantic data associated with the name of the physical object in the diagram; 基于与所述物理对象对应的所述数据结构,生成所述数据结构模型。The data structure model is generated based on the data structure corresponding to the physical object. 3.根据权利要求1或2所述的方法,其特征在于,所述数据结构包括名称语义数据结构和/或归属于所述名称语义数据结构的显示语义数据结构,和/或所述立体结构数据包括所述物理对象的名称语义数据和/或所述物理对象的显示语义数据。3. The method according to claim 1 or 2, wherein the data structure comprises a name semantic data structure and/or a display semantic data structure belonging to the name semantic data structure, and/or the three-dimensional structure The data includes name semantic data of the physical object and/or display semantic data of the physical object. 4.根据权利要求1所述的方法,其特征在于,当所述绘制指令为针对用于绘制座位对象的区域对象的绘制指令时,所述接收针对场馆轮廓图的绘制指令之后,所述方法还包括:4 . The method according to claim 1 , wherein when the drawing instruction is a drawing instruction for an area object used for drawing seat objects, after receiving the drawing instruction for an outline of the venue, the method Also includes: 响应于针对所述区域对象的绘制指令,基于选择的看台对象和楼层对象,绘制所述区域对象。In response to a drawing instruction for the area object, the area object is drawn based on the selected stand objects and floor objects. 5.根据权利要求4所述的方法,其特征在于,所述基于选择的看台对象和楼层对象,绘制所述区域对象,包括:5. The method according to claim 4, wherein the drawing the area object based on the selected stand objects and floor objects comprises: 绘制所述看台对象和所述楼层对象的物理空间切面,并将所述物理空间切面作为所述区域对象。Drawing physical space slices of the stand object and the floor object, and using the physical space slice as the area object. 6.根据权利要求3所述的方法,其特征在于,当所述物理对象为座位对象时,所述基于所述绘制指令,对所述三维场馆座位图的数据结构模型中的数据结构进行实例化之后,所述方法还包括:6 . The method according to claim 3 , wherein, when the physical object is a seating object, the data structure in the data structure model of the three-dimensional venue seating map is instantiated based on the drawing instruction. 7 . After the transformation, the method further includes: 基于所述座位对象的名称语义数据和所述座位对象的显示语义数据,选择所述座位对象,并输出与选择的所述座位对象对应的票务数据。Based on the name semantic data of the seat object and the display semantic data of the seat object, the seat object is selected, and ticket data corresponding to the selected seat object is output. 7.根据权利要求3所述的方法,其特征在于,当所述物理对象为座位对象时,所述基于所述绘制指令,对所述三维场馆座位图的数据结构模型中的数据结构进行实例化之后,所述方法还包括:7 . The method according to claim 3 , wherein, when the physical object is a seat object, the data structure in the data structure model of the three-dimensional venue seating map is instantiated based on the drawing instruction. 8 . After the transformation, the method further includes: 基于所述座位对象的名称语义数据和所述座位对象的显示语义数据,确定所述座位对象对应的价值数据。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 is determined. 8.一种座位对象的确定方法,所述方法包括:8. A method for determining a seat object, the method comprising: 接收针对三维场馆座位图中的座位对象的第一选择操作;receiving a first selection operation for a seating object in the three-dimensional venue seating map; 基于所述第一选择操作,从所述三维场馆座位图的数据结构模型中获取用于对所述三维场馆座位图中的座位对象进行空间计算的立体结构数据;Based on the first selection operation, obtain, from the data structure model of the three-dimensional stadium seating map, the three-dimensional structure data used for spatial calculation of the seat objects in the three-dimensional stadium seating map; 基于所述立体结构数据,确定所述三维场馆座位图中的座位对象。Based on the three-dimensional structure data, seating objects in the three-dimensional stadium seating map are determined. 9.根据权利要求8所述的方法,其中,所述基于所述立体结构数据,确定所述三维场馆座位图中的座位对象,包括:9. The method according to claim 8, wherein the determining the seat objects in the three-dimensional stadium seating map based on the three-dimensional structure data comprises: 基于所述立体结构数据,展示所述三维场馆座位图中的座位对象;Based on the three-dimensional structure data, displaying the seat objects in the three-dimensional stadium seating map; 接收针对展示的所述三维场馆座位图中的座位对象的第二选择操作;receiving a second selection operation for seating objects in the displayed three-dimensional venue seating map; 基于所述第二选择操作,从展示的所述座位对象中确定符合条件的座位对象。Based on the second selection operation, a qualified seat object is determined from the displayed seat objects. 10.根据权利要求9所述的方法,其中,所述基于所述立体结构数据,展示所述三维场馆座位图中的座位对象,包括:10 . The method according to claim 9 , wherein, based on the three-dimensional structure data, displaying the seat objects in the three-dimensional venue seat map comprises: 10 . 基于所述立体结构数据,确定所述三维场馆座位图中的座位对象的空间位置;Based on the three-dimensional structure data, determining the spatial position of the seat object in the three-dimensional stadium seating map; 通过在所述空间位置上使用虚拟对象坐立座位对象,展示所述三维场馆座位图中的座位对象。The seating objects in the three-dimensional stadium seating map are displayed by using virtual objects to sit and stand seating objects at the spatial locations. 11.根据权利要求8所述的方法,其中,所述从所述三维场馆座位图的数据结构模型中获取用于对所述三维场馆座位图中的座位对象进行空间计算的立体结构数据之后,所述方法还包括:11 . The method according to claim 8 , wherein after obtaining the three-dimensional structure data for performing spatial calculation on the seat objects in the three-dimensional venue seating map from the data structure model of the three-dimensional venue seating map, the method of claim 8 . The method also includes: 基于所述立体结构数据,生成所述三维场馆座位图中的座位对象的选择提示。Based on the three-dimensional structure data, a selection prompt for seat objects in the three-dimensional stadium seating map is generated. 12.一种数据生成装置,其特征在于,所述装置包括:12. A data generating device, characterized in that the device comprises: 接收模块,用于接收针对场馆轮廓图的绘制指令,所述绘制指令用于指示将所述场馆轮廓图绘制为三维场馆座位图;a receiving module, configured to receive a drawing instruction for the venue outline, where the drawing instruction is used to instruct to draw the venue outline as a three-dimensional venue seating map; 实例化模块,用于基于所述绘制指令,对所述三维场馆座位图的数据结构模型中的数据结构进行实例化,以生成用于对所述三维场馆座位图中的物理对象进行空间计算的立体结构数据,其中,所述实例化用于对所述数据结构中的字段进行赋值。The instantiation module is used to instantiate the data structure in the data structure model of the three-dimensional venue seating map based on the drawing instruction, so as to generate a data structure for performing spatial calculation on the physical objects in the three-dimensional venue seating map. Three-dimensional structure data, wherein the instantiation is used to assign values to fields in the data structure. 13.根据权利要求12所述的装置,其特征在于,所述实例化模块之前,所述装置还包括:13. The apparatus according to claim 12, wherein before the instantiating the module, the apparatus further comprises: 配置模块,用于基于对物理场馆进行结构分解获得的所述物理对象的名称语义数据,配置所述数据结构模型中与所述物理对象对应的所述数据结构,其中,所述名称语义数据为所述三维场馆座位图中与所述物理对象的名称相关的语义数据;A configuration module, configured to configure the data structure corresponding to the physical object in the data structure model based on the name semantic data of the physical object obtained by decomposing the structure of the physical venue, wherein the name semantic data is: Semantic data associated with the names of the physical objects in the three-dimensional venue seating map; 生成模块,用于基于与所述物理对象对应的所述数据结构,生成所述数据结构模型。A generating module is configured to generate the data structure model based on the data structure corresponding to the physical object. 14.根据权利要求12所述的装置,其特征在于,当所述绘制指令为针对用于绘制座位对象的区域对象的绘制指令时,所述接收模块之后,所述装置还包括:14. The apparatus according to claim 12, wherein when the drawing instruction is a drawing instruction for an area object used for drawing seat objects, after the receiving module, the apparatus further comprises: 处理模块,用于响应于针对所述区域对象的绘制指令,基于选择的看台对象和楼层对象,绘制所述区域对象。The processing module is configured to, in response to a drawing instruction for the area object, draw the area object based on the selected stand object and floor object. 15.一种座位对象的确定装置,所述装置包括:15. A device for determining a seat object, the device comprising: 接收模块,用于接收针对三维场馆座位图中的座位对象的第一选择操作;a receiving module, configured to receive a first selection operation for the seat object in the three-dimensional venue seat map; 获取模块,用于基于所述第一选择操作,从所述三维场馆座位图的数据结构模型中获取用于对所述三维场馆座位图中的座位对象进行空间计算的立体结构数据;an acquiring module, configured to acquire, based on the first selection operation, the three-dimensional structure data used for spatial calculation of the seat objects in the three-dimensional venue seating map from the data structure model of the three-dimensional venue seating map; 确定模块,用于基于所述立体结构数据,确定所述三维场馆座位图中的座位对象。A determination module, configured to determine seat objects in the three-dimensional stadium seating map based on the three-dimensional structure data. 16.一种电子设备,其特征在于,所述设备包括:16. An electronic device, characterized in that the device comprises: 一个或多个处理器;one or more processors; 计算机可读介质,配置为存储一个或多个程序,A computer-readable medium configured to store one or more programs, 当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-7中任意一项权利要求所述的数据生成方法,或者实现如权利要求8-11中任意一项权利要求所述的座位对象的确定方法。When the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the data generation method as claimed in any one of claims 1-7, or to implement The method for determining a seat object according to any one of claims 8-11. 17.一种计算机可读介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-7中任意一项权利要求所述的数据生成方法,或者实现如权利要求8-11中任意一项权利要求所述的座位对象的确定方法。17. A computer-readable medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the data generation method according to any one of claims 1-7 is realized, or the data generation method according to any one of claims 1-7 is realized or realized as The method for determining a seat object according to any one of claims 8-11.
CN202010589726.9A 2020-06-24 2020-06-24 Data generation method, apparatus, electronic device and computer readable medium Pending CN113838214A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010589726.9A CN113838214A (en) 2020-06-24 2020-06-24 Data generation method, apparatus, electronic device and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010589726.9A CN113838214A (en) 2020-06-24 2020-06-24 Data generation method, apparatus, electronic device and computer readable medium

Publications (1)

Publication Number Publication Date
CN113838214A true CN113838214A (en) 2021-12-24

Family

ID=78964674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010589726.9A Pending CN113838214A (en) 2020-06-24 2020-06-24 Data generation method, apparatus, electronic device and computer readable medium

Country Status (1)

Country Link
CN (1) CN113838214A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114937054A (en) * 2022-06-02 2022-08-23 北京理工大学 Automatic identification method, device, equipment and storage medium for stadium seating number

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101303773A (en) * 2008-06-10 2008-11-12 中国科学院计算技术研究所 A method and system for generating a virtual scene
US20110225039A1 (en) * 2010-03-10 2011-09-15 Oddmobb, Inc. Virtual social venue feeding multiple video streams
US20130268899A1 (en) * 2012-04-06 2013-10-10 Ceats, Inc. Method and system for generating 3d seating maps
CN106354968A (en) * 2016-09-14 2017-01-25 铁道第三勘察设计院集团有限公司 Pre-stressed continuous concrete beam design method based on BIM technology
CN106598219A (en) * 2016-11-15 2017-04-26 歌尔科技有限公司 Method and system for selecting seat on the basis of virtual reality technology, and virtual reality head-mounted device
CN106682241A (en) * 2017-02-08 2017-05-17 北京微影时代科技有限公司 Method and device for drawing seating plan
CN106682845A (en) * 2017-01-06 2017-05-17 宁波猎票网络技术有限公司 Method and system for quickly selecting seat in stadium
CN106952330A (en) * 2017-03-20 2017-07-14 南京师范大学 A dynamic modeling method for 3D cities on mobile terminals based on geographic semantics
CN107168672A (en) * 2017-05-15 2017-09-15 上海驹旗网络科技有限公司 Display methods and device
CN107241311A (en) * 2017-05-15 2017-10-10 北京微影时代科技有限公司 One kind selects seat method and device in real time
CN108564399A (en) * 2018-03-29 2018-09-21 北京红马传媒文化发展有限公司 The property of value setting method and device and recommendation method and apparatus at venue seat

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101303773A (en) * 2008-06-10 2008-11-12 中国科学院计算技术研究所 A method and system for generating a virtual scene
US20110225039A1 (en) * 2010-03-10 2011-09-15 Oddmobb, Inc. Virtual social venue feeding multiple video streams
US20130268899A1 (en) * 2012-04-06 2013-10-10 Ceats, Inc. Method and system for generating 3d seating maps
CN106354968A (en) * 2016-09-14 2017-01-25 铁道第三勘察设计院集团有限公司 Pre-stressed continuous concrete beam design method based on BIM technology
CN106598219A (en) * 2016-11-15 2017-04-26 歌尔科技有限公司 Method and system for selecting seat on the basis of virtual reality technology, and virtual reality head-mounted device
CN106682845A (en) * 2017-01-06 2017-05-17 宁波猎票网络技术有限公司 Method and system for quickly selecting seat in stadium
CN106682241A (en) * 2017-02-08 2017-05-17 北京微影时代科技有限公司 Method and device for drawing seating plan
CN106952330A (en) * 2017-03-20 2017-07-14 南京师范大学 A dynamic modeling method for 3D cities on mobile terminals based on geographic semantics
CN107168672A (en) * 2017-05-15 2017-09-15 上海驹旗网络科技有限公司 Display methods and device
CN107241311A (en) * 2017-05-15 2017-10-10 北京微影时代科技有限公司 One kind selects seat method and device in real time
CN108564399A (en) * 2018-03-29 2018-09-21 北京红马传媒文化发展有限公司 The property of value setting method and device and recommendation method and apparatus at venue seat

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘华伟;: "基于java3d的场景生成工具的设计与实现", 科技信息, no. 07, 5 March 2009 (2009-03-05) *
段思婧;魏莉;谢睿;张哲源;龚德良;: "3D虚拟仿真技术在体育馆购票系统开发中的应用研究", 《计算技术与自动化》, 15 December 2016 (2016-12-15), pages 1 - 4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114937054A (en) * 2022-06-02 2022-08-23 北京理工大学 Automatic identification method, device, equipment and storage medium for stadium seating number
CN114937054B (en) * 2022-06-02 2025-02-28 北京理工大学 A method, device, equipment and storage medium for automatically identifying seats in a venue

Similar Documents

Publication Publication Date Title
KR102663617B1 (en) Conditional modification of augmented reality objects
CN110378947B (en) 3D model reconstruction method and device and electronic equipment
US12118667B2 (en) Methods and systems for unified rendering of light and sound content for a simulated 3D environment
WO2023160513A1 (en) Rendering method and apparatus for 3d material, and device and storage medium
CN110363860B (en) 3D model reconstruction method and device and electronic equipment
US10147240B2 (en) Product image processing method, and apparatus and system thereof
CN113610958A (en) 3D image construction method and device based on style migration and terminal
CN116385622B (en) Cloud image processing method, device, computer and readable storage medium
CN112423142B (en) Image processing method, device, electronic device and computer readable medium
CN110390717B (en) 3D model reconstruction method and device and electronic equipment
KR20140000170A (en) Method for estimating the quantity of light received by a participating media, and corresponding device
US10832493B2 (en) Programmatic hairstyle opacity compositing for 3D rendering
CN113838214A (en) Data generation method, apparatus, electronic device and computer readable medium
CN113838217B (en) Information display method and device, electronic equipment and readable storage medium
CN108564399B (en) Value attribute setting method and device, recommendation method and device for stadium seats
CN110163978A (en) Equipment methods of exhibiting, device, system, medium and electronic equipment based on VR
CN110378948B (en) 3D model reconstruction method and device and electronic equipment
CN115544622B (en) Urban and rural participated three-dimensional planning design platform, method, equipment and storage medium
CN114218638B (en) Panoramic image generation method and device, storage medium and electronic device
US10579812B2 (en) 3D digital content interaction and control
CN114022601A (en) Volume element rendering method, device and equipment
KR20220037138A (en) Exhibitedrtwork Imagendrt Exhibition Image Generating System using 3D Image Rendering
CN114463528B (en) Target visual angle playing method and device
CN115430144B (en) Ambient light shielding implementation method and device, computer storage medium, and electronic device
CN113469877B (en) Object display method, scene display method, device and computer readable medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20211224

RJ01 Rejection of invention patent application after publication