CN111724195B - Bench layout generation and display method and device - Google Patents
Bench layout generation and display method and device Download PDFInfo
- Publication number
- CN111724195B CN111724195B CN202010387865.3A CN202010387865A CN111724195B CN 111724195 B CN111724195 B CN 111724195B CN 202010387865 A CN202010387865 A CN 202010387865A CN 111724195 B CN111724195 B CN 111724195B
- Authority
- CN
- China
- Prior art keywords
- station
- entity
- data
- layout
- area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 101
- 238000010586 diagram Methods 0.000 claims description 25
- 238000013507 mapping Methods 0.000 claims description 22
- 239000003550 marker Substances 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 12
- 230000008569 process Effects 0.000 description 9
- 230000001960 triggered effect Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0281—Customer communication at a business location, e.g. providing product or service information, consulting
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Strategic Management (AREA)
- Finance (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Economics (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a station layout generation and a station layout display method, wherein the station layout generation method comprises the following steps: obtaining a coordinate origin of a physical area provided with a physical bench and a reference direction for bench display; according to the origin of coordinates and the reference direction, physical coordinate data of the entity table in the entity area are obtained; generating station layout data according to the physical coordinate data of the entity station; the station layout data is data for showing a layout position of the entity station in the entity area. The bench layout display method comprises the following steps: obtaining station layout data corresponding to the entity area provided with the entity station; and displaying the station layout on the display page according to the station layout data. By adopting the method, the problem that the displayed station layout information has lower coincidence degree with the real position is solved.
Description
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a station layout generating method, apparatus, and device. The application also relates to a station layout display method, a station layout display device and station layout display equipment.
Background
It is a common business model for physical objects to provide services to users through store operations. In order to provide convenient and intelligent service, the entity object mostly adopts an entity management system to process the service in operation. The entity management system displays the entity position information provided for the user by each entity area to the user, so that the user can conveniently select the proper entity position. The physical area where the physical station is located may be an offline store. For example, the catering industry commonly employs a cashing system to manage business, where the cashing system provides a table display function so that a user may select a preferred table when eating.
At present, the entity management system generally displays the created station layout information in a form of a nine-square grid or a list, and sequentially displays the stations according to the creation time or the appointed sequence, so that the real position of each station in a store is not intuitively and effectively reflected. The existing stand display technology has the following problems: the bench layout information displayed to the user has low coincidence with the real position, so that the user is difficult to select the preferred bench.
Therefore, how to reasonably display the table layout information is a problem to be solved.
Disclosure of Invention
The station layout generation method and the station layout display method provided by the embodiment of the application solve the problem that the displayed station layout information has lower coincidence degree with the real position.
The embodiment of the application provides a station layout generation method, which comprises the following steps: obtaining a coordinate origin of a physical area provided with a physical bench and a reference direction for bench display; according to the origin of coordinates and the reference direction, physical coordinate data of the entity table in the entity area are obtained; generating station layout data according to the physical coordinate data of the entity station; the station layout data is data for showing a layout position of the entity station in the entity area.
Optionally, the method further comprises: obtaining the size of the entity area; the generating the station layout data according to the physical coordinate data of the entity station includes: generating a virtual area corresponding to the entity area according to the size of the entity area; creating a virtual station corresponding to the entity station in the virtual area according to the physical coordinate data of the entity station; and generating the station layout data according to the virtual area and the virtual station.
Optionally, the generating a virtual area corresponding to the physical area according to the size of the physical area includes: mapping the size of the entity region into pixel data of the virtual region according to a scale factor, and mapping the physical coordinate data of the entity station into pixel data of the virtual station; the generating the station layout data according to the virtual area and the virtual station includes: and generating the station layout data according to the pixel data of the virtual area and the pixel data of the virtual station.
Optionally, the method further comprises: obtaining the station type of the entity station; the creating a virtual station corresponding to the entity station in the virtual area according to the physical coordinate data of the entity station includes: and setting the logic position of the virtual station corresponding to the entity station in the station layout according to the station type of the entity station and the physical coordinate data of the entity station.
Optionally, the method further comprises: obtaining a mark object of the entity area; taking a first mark object in the mark objects as the origin of coordinates;
the obtaining physical coordinate data of the entity station in the entity area includes: and determining physical coordinate data of the entity station in the entity area according to the information of the first mark object and the reference direction.
Optionally, the method further comprises: obtaining a second one of the marker objects; according to the information of the first mark object and the reference direction, physical coordinate data of the second mark object in the entity area is obtained; the generating the station layout data according to the physical coordinate data of the entity station includes: determining relative position information of the entity station and the second mark object according to the physical coordinate data of the second mark object and the physical coordinate data of the entity station; and generating the station layout data according to the physical coordinate data of the entity station and the relative position information.
Optionally, the method further comprises: obtaining the size of the second mark object and the size of the entity station; the generating the station layout data according to the physical coordinate data of the entity station and the relative position information includes: and generating the station layout data according to the size of the second mark object, the size of the entity station, the physical coordinate data of the entity station and the relative position information.
Optionally, the method further comprises: obtaining the size of the entity station; the generating the station layout data according to the physical coordinate data of the entity station includes: and generating the station layout data according to the size of the entity station and the physical coordinate data of the entity station.
Optionally, the method further comprises: and obtaining the display area size for displaying the station layout, and adjusting the station layout data according to the display area size.
Optionally, the method further comprises: outputting the station layout data.
Optionally, the outputting the station layout data includes: and displaying the station layout on the display page according to the physical coordinate data contained in the station layout data.
The embodiment of the application also provides a station layout display method, which comprises the following steps: obtaining station layout data corresponding to the entity area provided with the entity station; the station layout data is data which is generated according to the physical coordinate data of the entity station and is used for displaying the layout position of the entity station in the entity area; and displaying the station layout on the display page according to the station layout data.
Optionally, the method further comprises: obtaining pixel data of a virtual area corresponding to the entity area and pixel data of a virtual station corresponding to the entity station contained in the station layout data; the pixel data of the virtual area is obtained by mapping the size of the physical area according to a scale factor, and the pixel data of the virtual station is obtained by mapping the physical coordinate data of the physical station according to the scale factor; the step of displaying the stand layout on the display page according to the stand layout data comprises the following steps: drawing the virtual area and the virtual station in a display page according to the pixel data of the virtual area and the pixel data of the virtual station to obtain station layout; the station layout is used for representing the layout position of the entity station in the entity area.
Optionally, the method further comprises: obtaining physical coordinate data of an entity station contained in the station layout data and relative position information between the entity station and a mark object of the entity area; the step of displaying the stand layout on the display page according to the stand layout data comprises the following steps: and drawing the station layout on a display page according to the physical coordinate data of the entity station and the relative position information.
Optionally, the method further comprises: receiving trigger aiming at any one input information of station identification and position characteristic information; obtaining entity station information matched with the input information and contained in the station layout data; the step of displaying the stand layout on the display page according to the stand layout data comprises the following steps: and determining the logic position of the entity station in the station layout according to the entity station information, and drawing the station layout containing the entity station on the display page.
Optionally, the method further comprises: obtaining a station type of each station contained in the station layout data; the step of displaying the stand layout on the display page according to the stand layout data comprises the following steps: and drawing the station layout by adopting drawing attributes corresponding to the station type according to the station type.
Optionally, the drawing the station layout according to the station type by using the drawing attribute corresponding to the station type includes: the same schematic is drawn for the stations of the same station type.
Optionally, the method further comprises: displaying attribute data of each entity station on a display interface; the attribute data includes at least one of physical abscissa, physical ordinate, length, width, relative positional relationship data with a marker object in the physical area, and the number of seats provided.
Optionally, the method further comprises: detecting that a station occupation control of a display interface is triggered; acquiring an occupied identifier of the entity station according to the trigger; drawing a first schematic diagram aiming at the occupied mark of the entity station; and drawing a second schematic diagram aiming at the unoccupied entity station.
The embodiment of the application also provides a station layout display method, which comprises the following steps: the server obtains the coordinate origin of the entity area provided with the entity station and the reference direction for station display; according to the origin of coordinates and the reference direction, physical coordinate data of the entity table in the entity area are obtained; generating station layout data according to the physical coordinate data of the entity station; the station layout data is data for showing a layout position of the entity station in the entity area; the entity object management equipment requests the station layout data from the server; the entity object management equipment obtains the station layout data, and draws the station layout on a display page according to physical coordinate data of the entity station contained in the station layout data.
The embodiment of the application also provides a station layout generating device, which comprises: the coordinate system determining unit is used for obtaining the coordinate origin of the entity area provided with the entity station and the reference direction for station display; the station physical coordinate determining unit is used for obtaining physical coordinate data of the entity station in the entity area according to the coordinate origin and the reference direction; a layout data generating unit, configured to generate station layout data according to the physical coordinate data of the entity station; the station layout data is data for showing a layout position of the entity station in the entity area.
The embodiment of the application also provides a stand layout display device, which comprises: a layout data obtaining unit, configured to obtain station layout data corresponding to the entity area in which the entity station is set; the station layout data is data which is generated according to the physical coordinate data of the entity station and is used for displaying the layout position of the entity station in the entity area; and the layout display unit is used for displaying the stand layout on the display page according to the stand layout data.
The embodiment of the application also provides electronic equipment, which comprises: a memory, and a processor; the memory is used for storing a computer program, and after the computer program is run by the processor, the station layout generating method and the station layout displaying method provided by the embodiment of the application are executed.
The embodiment of the application also provides a storage device, which stores a computer program, and after the computer program is run by a processor, the station layout generation method and the station layout display method provided by the embodiment of the application are executed.
Compared with the prior art, the application has the following advantages:
according to the station layout generation method, the station layout generation device and the station layout generation equipment, the coordinate origin of the entity area provided with the entity station and the reference direction for station display are obtained; obtaining physical coordinate data of the entity table in the entity area; generating station layout data according to the physical coordinate data of the entity station; the station layout data is data for showing a layout position of the entity station in the entity area. Because the station layout data contains the physical coordinate data of the entity station, the real position of the entity station in the entity area can be effectively displayed according to the physical coordinate data, and the problem that the displayed station layout information has lower coincidence degree with the real position is solved.
According to the station layout display method, device and equipment provided by the embodiment of the application, station layout data corresponding to the entity area provided with the entity station are obtained; the station layout data is data which is generated according to the physical coordinate data of the entity station and is used for displaying the layout position of the entity station in the entity area; and displaying the station layout on the display page according to the station layout data. Because the station layout data contains the physical coordinate data of the entity station, the real position of the entity station in the entity area can be effectively displayed, so that the problem that the displayed station layout information and the real position are low in coincidence degree is solved, the accuracy of the position positioning of the entity station is improved, and the entity station is convenient to select.
According to the other station layout display method provided by the embodiment of the application, a server is used for obtaining the origin of coordinates of a physical area provided with a physical station and the reference direction for station display; obtaining physical coordinate data of the entity table in the entity area; generating station layout data according to the physical coordinate data of the entity station; the entity object management equipment requests the station layout data from the server; and obtaining the station layout data, and drawing the station layout on a display page according to physical coordinate data of the entity station contained in the station layout data. Because the station layout data contains the physical coordinate data of the entity station, the real position of the entity station in the entity area can be effectively displayed, so that the problem that the displayed station layout information and the real position are low in coincidence degree is solved, the accuracy of the position positioning of the entity station is improved, and the entity station is convenient to select.
Drawings
FIG. 1 is a schematic diagram of a system environment of a method provided by an embodiment of the present application;
FIG. 2 is a process flow diagram of a station layout generation method according to a first embodiment of the present application;
FIG. 3 is a process flow diagram of a method for displaying a stand layout according to a second embodiment of the present application;
FIG. 4 is a process flow diagram of a method for displaying a stand layout according to a third embodiment of the present application;
fig. 5 is a schematic diagram of a station layout generating device according to a fourth embodiment of the present application;
FIG. 6 is a schematic diagram of a stand layout display device according to a fifth embodiment of the present disclosure;
fig. 7 is a schematic diagram of an electronic device provided in the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is, however, susceptible of embodiment in many other ways than those herein described and similar generalizations can be made by those skilled in the art without departing from the spirit of the application and the application is therefore not limited to the specific embodiments disclosed below.
The embodiment of the application provides a station layout generation method, a station layout generation device, electronic equipment and storage equipment. The embodiment of the application also provides a station layout display method, a station layout display device, electronic equipment and storage equipment. The following examples are described in detail one by one.
For ease of understanding, a system environment for a station layout generation and presentation method is first presented. Referring to fig. 1, the system environment shown in fig. 1 includes: server 101, entity object management device 102. The server obtains the station layout data corresponding to the entity area provided with the entity station, for example, the server receives a data message or an instruction for creating the station layout data, analyzes the station layout data from the data message or the instruction, and creates the station data according to the station layout data. For example, the station entry interface of the server receives an information input trigger for station 1, including input information such as a coordinate position from a cash register station, whether a street window position is present, and the like, and creates station data based on the input information. The entity object management apparatus 102 requests the server to acquire the station layout data. In practical applications, the entity object may be a merchant that provides a business service through operation of an entity area, the entity area may be a store, and the cashing system of the entity object is an example of entity object management equipment. The method comprises the steps that entity object management equipment obtains station layout data corresponding to an entity area, and the station layout is displayed on a display page according to physical coordinate data of entity stations contained in the station layout data. For example, the entity object management device obtains the created station information through the data interface, and displays the station layout with higher coincidence degree with the real position.
The stage layout generation method provided in the first embodiment of the present application is described below with reference to fig. 2.
The station layout generation method shown in fig. 2 includes: step S201 to step S203.
Step S201, obtaining the coordinate origin of the entity area provided with the entity station and the reference direction for displaying the station.
In this embodiment, the physical positions are visually displayed in the position layout based on the physical coordinate data of the physical positions in the physical area. For example, virtual slots corresponding to the physical slots are created according to the physical coordinate data of the physical slots, and the created virtual slots are drawn on canvas of a presentation page of the slot layout presentation device. The step is to determine the coordinate system of the entity area to determine the physical coordinate data of the entity station in the entity area. In practical application, table data containing the entity table is created in the background of the merchant management system based on the physical coordinate data of the entity table in the entity area. The physical area may be a store. Specifically, a coordinate system of the entity area can be firstly determined, including determining a coordinate origin and a reference direction for displaying the table, and designating an abscissa and an ordinate of each entity table in a store; or calculating physical coordinate data of each entity station according to the image data of the monitoring equipment. And the entity object management equipment requests the merchant management system background to acquire the station layout data through a data interface. The physical object management device may be a cashier system for the physical object. The entity object management device obtains the station layout data corresponding to the entity area, and can store the station layout data in the cashier system. And drawing the station layout on a display page according to the physical coordinate data of the entity station contained in the station layout data. The physical table positions are positioned through the abscissa and the ordinate of the physical table positions, so that the positions of the physical table positions in a store can be displayed more intuitively in the table position layout, and a user can describe the positions of the tables of each physical table position more quickly and accurately. The following processing is specifically included in this embodiment to determine the coordinate system of the physical area: obtaining a mark object of the entity area; and taking a first mark object in the mark objects as the origin of coordinates. The marker object is an object that can be used as a reference point. The object having a distinguishable characteristic or easy to observe in the entity area can be selected randomly or can be selected as a mark object. For example, it may be a sign object such as a service desk, a cash desk or a doorway
Step S202, obtaining physical coordinate data of the physical table in the physical area according to the origin of coordinates and the reference direction.
In this embodiment, a flag object of the entity region is obtained; taking a first mark object in the mark objects as the origin of coordinates; after determining the origin of coordinates, determining physical coordinate data of the entity station in the entity area according to the information of the first mark object and the reference direction.
Step S203, generating station layout data according to the physical coordinate data of the entity station; the station layout data is data for showing a layout position of the entity station in the entity area.
In this embodiment, the virtual area to be drawn and the position data of the virtual station in the virtual area may be calculated according to the physical coordinate data of the physical station. The virtual station is an area which corresponds to the entity area and needs to be drawn on the display interface; the virtual station is a station which represents the entity station and needs to be drawn on a display interface. And determining the size of the virtual area corresponding to the entity area and the size of the virtual station corresponding to the entity station according to the scale factors, and adjusting the real size of the entity station and the real physical coordinate data to be drawn sizes in proportion. The real size of the physical station can be expressed by length units such as meters, centimeters and the like, and the size of the virtual station can be pixel data. In the drawing, each of the positions may be drawn according to the size of each of the positions, or after determining a specific position of a virtual position representing the physical position in a virtual area, the virtual position may be drawn in a schematic form at the specific position. Determining the position of the entity station in the entity area or the relative position relation of the entity station relative to the mark object in the entity area according to the physical coordinate data of the entity station; and determining a specific position of the virtual station representing the entity station in the virtual area according to the position of the entity station in the entity area or the relative position. In this embodiment, the following processes are specifically included: obtaining the size of the entity area; generating a virtual area corresponding to the entity area according to the size of the entity area; creating a virtual station corresponding to the entity station in the virtual area according to the physical coordinate data of the entity station; and generating the station layout data according to the virtual area and the virtual station. Specifically, the virtual area corresponding to the entity area is generated through the following steps: mapping the size of the entity region into pixel data of the virtual region according to a scale factor, and mapping the physical coordinate data of the entity station into pixel data of the virtual station; further, the station layout data is generated according to the pixel data of the virtual area and the pixel data of the virtual station. In this embodiment, the generating the station layout data according to the station type may further include: obtaining the station type of the entity station; the station type comprises at least one type of independent stations, fixed grouping stations and dynamic grouping stations; and setting the logic position of the virtual station corresponding to the entity station in the station layout according to the station type of the entity station and the physical coordinate data of the entity station. In this embodiment, the positional relationship between each entity station and the mark object in the entity area may be displayed in the station layout. The method specifically comprises the following steps: obtaining a second one of the marker objects; according to the information of the first mark object and the reference direction, physical coordinate data of the second mark object in the entity area is obtained; determining relative position information of the entity station and the second mark object according to the physical coordinate data of the second mark object and the physical coordinate data of the entity station; and generating the station layout data according to the physical coordinate data of the entity station and the relative position information. The first mark object and the second mark object can select objects which are easy to draw attention or observe, and the first mark object is used as a coordinate origin for calculating physical coordinates of the entity station; the position characteristics of the entity station can be described through the relative position relation between the entity station and the second mark object, for example, the first mark object is the entrance of the entity area; the second marker object is a window position. In this embodiment, the display stand may be displayed according to the real size of each physical stand. In one embodiment, the following process is included: obtaining the size of the entity station; and generating the station layout data according to the size of the entity station and the physical coordinate data of the entity station. In one embodiment, the real size of each entity station and the real size of the mark object can be displayed according to the real size of each entity station, which specifically comprises the following steps: obtaining the size of the second mark object and the size of the entity station; and generating the station layout data according to the size of the second mark object, the size of the entity station, the physical coordinate data of the entity station and the relative position information. In this embodiment, the proportion of the layout of the stand is adjusted according to the size of the display area. The method specifically comprises the following steps: and obtaining the display area size for displaying the station layout, and adjusting the station layout data according to the display area size.
In this embodiment, after generating the station layout data, the method further includes: outputting the station layout data. In one embodiment, the stand layout is displayed on the display page according to the physical coordinate data contained in the stand layout data. Specifically, drawing the station layout corresponding to the station layout data on a display page according to the station layout data. In one embodiment, a request sent by the entity object management device to obtain the stand layout data is obtained, the stand layout data is provided for the entity object management device, the stand layout is displayed on a display page according to physical coordinate data contained in the stand layout data by the entity object management device, for example, the stand layout corresponding to the stand layout data is drawn on the display page according to the stand layout data by the entity object management device. In this embodiment, the stand layout is displayed on the display page according to the physical coordinate data included in the stand layout data. And drawing the station layout corresponding to the station layout data on a display page according to the station layout data. One embodiment includes the following: obtaining pixel data of a virtual area corresponding to the entity area and pixel data of a virtual station corresponding to the entity station contained in the station layout data; the pixel data of the virtual area is obtained by mapping the size of the physical area according to a scale factor, and the pixel data of the virtual station is obtained by mapping the physical coordinate data of the physical station according to the scale factor; drawing the virtual area and the virtual station in a display page according to the pixel data of the virtual area and the pixel data of the virtual station to obtain station layout; the station layout is used for representing the layout position of the entity station in the entity area. In one embodiment, the station layout is drawn by: obtaining physical coordinate data of an entity station contained in the station layout data and relative position information between the entity station and a mark object of the entity area; and drawing the station layout on a display page according to the physical coordinate data of the entity station and the relative position information. In this embodiment, the method further includes: receiving trigger aiming at any one input information of station identification and position characteristic information; obtaining entity station information matched with the input information and contained in the station layout data; and determining the logic position of the entity station in the station layout according to the entity station information, and drawing the station layout containing the entity station on the display page. In this embodiment, the station layout may be drawn according to a station type, including the following processes: obtaining a station type of each station contained in the station layout data; the station type comprises at least one type of independent and fixed grouping stations and dynamic grouping stations; and drawing the station layout by adopting drawing attributes corresponding to the station type according to the station type. Wherein, according to the station type, drawing the station layout by adopting the drawing attribute corresponding to the station type includes: the same schematic is drawn for the stations of the same station type. In this embodiment, the method further includes: displaying attribute data of each entity station on a display interface; the attribute data includes at least one of physical abscissa, physical ordinate, length, width, relative positional relationship data with a marker object in the physical area, and the number of seats provided. In this embodiment, different images may be drawn for the occupied station and the unoccupied station, which may be color distinction, or may be distinction by text prompting. Specifically, the station occupation control of the display interface is detected to be triggered; acquiring an occupied identifier of the entity station according to the trigger; drawing a first schematic diagram aiming at the occupied mark of the entity station; and drawing a second schematic diagram aiming at the unoccupied entity station. In this embodiment, the generating of the stand layout data and the displaying of the stand layout corresponding to the stand layout data may be performed on the same device or on different devices. When the generation and presentation of the stand layout data are processed by different devices, the method comprises the following steps: the server obtains the coordinate origin of the entity area provided with the entity station and the reference direction for station display; according to the origin of coordinates and the reference direction, physical coordinate data of the entity table in the entity area are obtained; generating station layout data according to the physical coordinate data of the entity station; the station layout data is data for showing a layout position of the entity station in the entity area; the server provides the station layout data to entity object management equipment; the entity object management equipment obtains the station layout data, and draws the station layout on a display page according to physical coordinate data of the entity station contained in the station layout data.
Thus far, the station layout generation method provided by the embodiment is described in detail, and the method generates station layout data according to physical coordinate data of an entity station; the station layout data is data for showing a layout position of the entity station in the entity area. Because the station layout data contains the physical coordinate data of the entity station, the real position of the entity station in the entity area can be effectively displayed according to the physical coordinate data, and the problem that the displayed station layout information has lower coincidence degree with the real position is solved.
Based on the above embodiments, a second embodiment of the present application provides a stand layout display method. The method for displaying a stand layout according to the second embodiment is described below with reference to fig. 3, and the relevant parts refer to the description of the corresponding parts of the above embodiments. The bench layout display method shown in fig. 3 includes: step S301 to step S302.
Step S301, station layout data corresponding to a physical area provided with a physical station is obtained; the station layout data is data which is generated according to the physical coordinate data of the entity station and used for displaying the layout position of the entity station in the entity area.
In this embodiment, the physical positions are visually displayed in the position layout based on the physical coordinate data of the physical positions in the physical area. And displaying the station layout data on a display page after obtaining the station layout data. The station layout data can be obtained by first equipment for generating the station layout data, and the corresponding station layout is displayed; and the second type of equipment can also request the first type of equipment to acquire the station layout data through a data interface, and the station layout of the second type of equipment is displayed.
Step S302, displaying the station layout on the display page according to the station layout data.
In this embodiment, the station layout may be drawn based on the pixel data included in the station layout data. Specifically, the method comprises the following steps: obtaining pixel data of a virtual area corresponding to the entity area and pixel data of a virtual station corresponding to the entity station contained in the station layout data; the pixel data of the virtual area is obtained by mapping the size of the physical area according to a scale factor, and the pixel data of the virtual station is obtained by mapping the physical coordinate data of the physical station according to the scale factor; drawing the virtual area and the virtual station in a display page according to the pixel data of the virtual area and the pixel data of the virtual station to obtain station layout; the station layout is used for representing the layout position of the entity station in the entity area. Because the pixel data is based on real physical coordinate data, the drawn position layout can represent the position of the entity position in the entity area. In this embodiment, the station layout may be drawn according to physical coordinate data of the physical station, including: obtaining physical coordinate data of an entity station contained in the station layout data and relative position information between the entity station and a mark object of the entity area; and drawing the station layout on a display page according to the physical coordinate data of the entity station and the relative position information. Therefore, the relative position relation between the entity station and the marked object in the entity area is displayed, and the specific entity station can be conveniently positioned according to the user preference. In this embodiment, selecting the physical location is further included. Specifically, receiving a trigger aiming at any one input information of the station identification and the position characteristic information; obtaining entity station information matched with the input information and contained in the station layout data; and determining the logic position of the entity station in the station layout according to the entity station information, and drawing the station layout containing the entity station on the display page. For example, receiving an input trigger for an entity position number, positioning to the entity position according to the entity position number, and displaying the position of the entity position in the entity area in the position layout on the display interface. In this embodiment, the station layout may be displayed according to the station type. Specifically, a station type of each station contained in the station layout data is obtained; the station type comprises at least one type of independent and fixed grouping stations and dynamic grouping stations; and drawing the station layout by adopting drawing attributes corresponding to the station type according to the station type. Wherein, according to the station type, drawing the station layout by adopting the drawing attribute corresponding to the station type includes: the same schematic is drawn for the stations of the same station type. In this embodiment, attribute data representing the features of the physical station may be displayed, which specifically includes: displaying attribute data of each entity station on a display interface; the attribute data includes at least one of physical abscissa, physical ordinate, length, width, relative positional relationship data with a marker object in the physical area, and the number of seats provided. Information is conveniently provided for the user, so that the user can make station selection, and user experience is improved. In this embodiment, the method includes distinguishing between occupied and unoccupied stations. Specifically, the station occupation control of the display interface is detected to be triggered; acquiring an occupied identifier of the entity station according to the trigger; drawing a first schematic diagram aiming at the occupied mark of the entity station; and drawing a second schematic diagram aiming at the unoccupied entity station.
Thus far, the method provided by the second embodiment has been described, by obtaining the station layout data corresponding to the physical area where the physical station is set; the station layout data is data which is generated according to the physical coordinate data of the entity station and is used for displaying the layout position of the entity station in the entity area; and displaying the station layout on the display page according to the station layout data. Because the station layout data contains the physical coordinate data of the entity station, the real position of the entity station in the entity area can be effectively displayed, so that the problem that the displayed station layout information and the real position are low in coincidence degree is solved, the accuracy of the position positioning of the entity station is improved, and the entity station is convenient to select.
Based on the above embodiments, a third embodiment of the present application provides another method for displaying a stand layout. The method provided by the third embodiment is described below with reference to fig. 4, and reference is made to the description of the corresponding parts of the above embodiments for relevant parts. The bench layout display method shown in fig. 4 includes: step S401 to step S403.
Step S401, a server obtains a coordinate origin of a physical area provided with a physical station and a reference direction for station display; according to the origin of coordinates and the reference direction, physical coordinate data of the entity table in the entity area are obtained; generating station layout data according to the physical coordinate data of the entity station; the station layout data is data for showing a layout position of the entity station in the entity area.
In this embodiment, the physical positions are visually displayed in the position layout based on the physical coordinate data of the physical positions in the physical area. For example, virtual slots corresponding to the physical slots are created according to the physical coordinate data of the physical slots, and the created virtual slots are drawn on canvas of a presentation page of the slot layout presentation device. In practical applications, the server may be a background of the merchant management system, and creates table data including the entity table based on physical coordinate data of the entity table in the entity area. The physical area may be a store. The following processing is specifically included in this embodiment to determine the coordinate system of the physical area: obtaining a mark object of the entity area; and taking a first mark object in the mark objects as the origin of coordinates. The signpost object may be a signpost object such as a service desk, a cash register, or a doorway. For example, the origin of coordinates is the cash register. After determining the origin of coordinates, determining physical coordinate data of the entity station in the entity area according to the information of the first mark object and the reference direction. In this embodiment, the virtual area to be drawn and the position data of the virtual station in the virtual area may be calculated according to the physical coordinate data of the physical station. The virtual station is an area which corresponds to the entity area and needs to be drawn on the display interface; the virtual station is a station which represents the entity station and needs to be drawn on a display interface. And determining the size of the virtual area corresponding to the entity area and the size of the virtual station corresponding to the entity station according to the scale factors, and adjusting the real size of the entity station and the real physical coordinate data to be drawn sizes in proportion. The real size of the physical station can be expressed by length units such as meters, centimeters and the like, and the size of the virtual station can be pixel data. In the drawing, each of the positions may be drawn according to the size of each of the positions, or after determining a specific position of a virtual position representing the physical position in a virtual area, the virtual position may be drawn in a schematic form at the specific position. Determining the position of the entity station in the entity area or the relative position relation of the entity station relative to the mark object in the entity area according to the physical coordinate data of the entity station; and determining a specific position of the virtual station representing the entity station in the virtual area according to the position of the entity station in the entity area or the relative position. In this embodiment, the following processes are specifically included: obtaining the size of the entity area; generating a virtual area corresponding to the entity area according to the size of the entity area; creating a virtual station corresponding to the entity station in the virtual area according to the physical coordinate data of the entity station; and generating the station layout data according to the virtual area and the virtual station. Specifically, the virtual area corresponding to the entity area is generated through the following steps: mapping the size of the entity region into pixel data of the virtual region according to a scale factor, and mapping the physical coordinate data of the entity station into pixel data of the virtual station; further, the station layout data is generated according to the pixel data of the virtual area and the pixel data of the virtual station. In this embodiment, the generating the station layout data according to the station type may further include: obtaining the station type of the entity station; the station type comprises at least one type of independent stations, fixed grouping stations and dynamic grouping stations; and setting the logic position of the virtual station corresponding to the entity station in the station layout according to the station type of the entity station and the physical coordinate data of the entity station. In this embodiment, the positional relationship between each entity station and the mark object in the entity area may be displayed in the station layout. The method specifically comprises the following steps: obtaining a second one of the marker objects; according to the information of the first mark object and the reference direction, physical coordinate data of the second mark object in the entity area is obtained; determining relative position information of the entity station and the second mark object according to the physical coordinate data of the second mark object and the physical coordinate data of the entity station; and generating the station layout data according to the physical coordinate data of the entity station and the relative position information. In this embodiment, the display stand may be displayed according to the real size of each physical stand. In one embodiment, the following process is included: obtaining the size of the entity station; and generating the station layout data according to the size of the entity station and the physical coordinate data of the entity station. In one embodiment, the real size of each entity station and the real size of the mark object can be displayed according to the real size of each entity station, which specifically comprises the following steps: obtaining the size of the second mark object and the size of the entity station; and generating the station layout data according to the size of the second mark object, the size of the entity station, the physical coordinate data of the entity station and the relative position information. In this embodiment, the proportion of the layout of the stand is adjusted according to the size of the display area. The method specifically comprises the following steps: and obtaining the display area size for displaying the station layout, and adjusting the station layout data according to the display area size.
In step S402, the entity object management device requests the station layout data from the server.
In this embodiment, the physical positions are visually displayed in the position layout based on the physical coordinate data of the physical positions in the physical area. After the server generates the station layout data, the entity object management device requests the server to acquire the station layout data through a data interface so as to display the station layout for later.
In step S403, the entity object management device obtains the station layout data, and draws the station layout on the display page according to the physical coordinate data of the entity station included in the station layout data.
In this embodiment, the station layout may be drawn based on the pixel data included in the station layout data. Specifically, the method comprises the following steps: obtaining pixel data of a virtual area corresponding to the entity area and pixel data of a virtual station corresponding to the entity station contained in the station layout data; the pixel data of the virtual area is obtained by mapping the size of the physical area according to a scale factor, and the pixel data of the virtual station is obtained by mapping the physical coordinate data of the physical station according to the scale factor; drawing the virtual area and the virtual station in a display page according to the pixel data of the virtual area and the pixel data of the virtual station to obtain station layout; the station layout is used for representing the layout position of the entity station in the entity area. Because the pixel data is based on real physical coordinate data, the drawn position layout can represent the position of the entity position in the entity area. In this embodiment, the station layout may be drawn according to physical coordinate data of the physical station, including: obtaining physical coordinate data of an entity station contained in the station layout data and relative position information between the entity station and a mark object of the entity area; and drawing the station layout on a display page according to the physical coordinate data of the entity station and the relative position information. Therefore, the relative position relation between the entity station and the marked object in the entity area is displayed, and the specific entity station can be conveniently positioned according to the user preference. In this embodiment, selecting the physical location is further included. Specifically, receiving a trigger aiming at any one input information of the station identification and the position characteristic information; obtaining entity station information matched with the input information and contained in the station layout data; and determining the logic position of the entity station in the station layout according to the entity station information, and drawing the station layout containing the entity station on the display page. For example, receiving an input trigger for an entity position number, positioning to the entity position according to the entity position number, and displaying the position of the entity position in the entity area in the position layout on the display interface. In this embodiment, the station layout may be displayed according to the station type. Specifically, a station type of each station contained in the station layout data is obtained; the station type comprises at least one type of independent and fixed grouping stations and dynamic grouping stations; and drawing the station layout by adopting drawing attributes corresponding to the station type according to the station type. Wherein, according to the station type, drawing the station layout by adopting the drawing attribute corresponding to the station type includes: the same schematic is drawn for the stations of the same station type. In this embodiment, attribute data representing the features of the physical station may be displayed, which specifically includes: displaying attribute data of each entity station on a display interface; the attribute data includes at least one of physical abscissa, physical ordinate, length, width, relative positional relationship data with a marker object in the physical area, and the number of seats provided. Information is conveniently provided for the user, so that the user can make station selection, and user experience is improved. In this embodiment, the method includes distinguishing between occupied and unoccupied stations. Specifically, the station occupation control of the display interface is detected to be triggered; acquiring an occupied identifier of the entity station according to the trigger; drawing a first schematic diagram aiming at the occupied mark of the entity station; and drawing a second schematic diagram aiming at the unoccupied entity station. The physical table positions are positioned through the abscissa and the ordinate of the physical table positions, so that the positions of the physical table positions in a store can be displayed more intuitively in the table position layout, and a user can describe the positions of the tables of each physical table position more quickly and accurately.
The method provided by the third embodiment has been described so far. The method comprises the steps that a server obtains a coordinate origin of an entity area provided with an entity station and a reference direction for station display; obtaining physical coordinate data of the entity table in the entity area; generating station layout data according to the physical coordinate data of the entity station; the entity object management equipment requests the station layout data from the server; and obtaining the station layout data, and drawing the station layout on a display page according to physical coordinate data of the entity station contained in the station layout data. Because the station layout data contains the physical coordinate data of the entity station, the real position of the entity station in the entity area can be effectively displayed, so that the problem that the displayed station layout information and the real position are low in coincidence degree is solved, the accuracy of the position positioning of the entity station is improved, and the entity station is convenient to select.
Corresponding to the first embodiment, a fourth embodiment of the present application provides a station layout generating device. The apparatus provided by the fourth embodiment is described below with reference to fig. 5. The device shown in fig. 5 comprises:
A coordinate system determining unit 501, configured to obtain a coordinate origin of a physical area in which a physical stand is set and a reference direction in which the stand is displayed;
a station physical coordinate determining unit 502, configured to obtain physical coordinate data of the entity station in the entity area according to the origin of coordinates and the reference direction;
a layout data generating unit 503, configured to generate the station layout data according to the physical coordinate data of the entity station; the station layout data is data for showing a layout position of the entity station in the entity area.
Optionally, the layout data generating unit 503 is specifically configured to: obtaining the size of the entity area; generating a virtual area corresponding to the entity area according to the size of the entity area; creating a virtual station corresponding to the entity station in the virtual area according to the physical coordinate data of the entity station; and generating the station layout data according to the virtual area and the virtual station.
Optionally, the layout data generating unit 503 is specifically configured to: mapping the size of the entity region into pixel data of the virtual region according to a scale factor, and mapping the physical coordinate data of the entity station into pixel data of the virtual station; and generating the station layout data according to the pixel data of the virtual area and the pixel data of the virtual station.
Optionally, the layout data generating unit 503 is specifically configured to: obtaining the station type of the entity station; and setting the logic position of the virtual station corresponding to the entity station in the station layout according to the station type of the entity station and the physical coordinate data of the entity station.
Optionally, the coordinate system determining unit 501 is specifically configured to: obtaining a mark object of the entity area; taking a first mark object in the mark objects as the origin of coordinates; the station physical coordinate determining unit 502 is specifically configured to: and determining physical coordinate data of the entity station in the entity area according to the information of the first mark object and the reference direction.
Optionally, the layout data generating unit 503 is specifically configured to: obtaining a second one of the marker objects; according to the information of the first mark object and the reference direction, physical coordinate data of the second mark object in the entity area is obtained; determining relative position information of the entity station and the second mark object according to the physical coordinate data of the second mark object and the physical coordinate data of the entity station; and generating the station layout data according to the physical coordinate data of the entity station and the relative position information.
Optionally, the layout data generating unit 503 is specifically configured to: obtaining the size of the second mark object and the size of the entity station; and generating the station layout data according to the size of the second mark object, the size of the entity station, the physical coordinate data of the entity station and the relative position information.
Optionally, the layout data generating unit 503 is specifically configured to: obtaining the size of the entity station; and generating the station layout data according to the size of the entity station and the physical coordinate data of the entity station.
Optionally, the layout data generating unit 503 is specifically configured to: and obtaining the display area size for displaying the station layout, and adjusting the station layout data according to the display area size.
Optionally, the apparatus further comprises an output unit for: outputting the station layout data.
Optionally, the output unit is specifically configured to: and displaying the station layout on the display page according to the physical coordinate data contained in the station layout data.
Thus far, the stage layout generating device provided in this embodiment has been described, which obtains physical coordinate data of the entity stage in the entity area; generating the station layout data according to the physical coordinate data of the entity station. Because the station layout data contains the physical coordinate data of the entity station, the real position of the entity station in the entity area can be effectively displayed according to the physical coordinate data, and the problem that the displayed station layout information has lower coincidence degree with the real position is solved.
Corresponding to the second embodiment, a fifth embodiment of the present application provides a stand layout display device. The apparatus provided by the fifth embodiment is described below with reference to fig. 6. The device shown in fig. 6 comprises:
a layout data obtaining unit 601, configured to obtain station layout data corresponding to a physical area in which a physical station is set; the station layout data is data which is generated according to the physical coordinate data of the entity station and is used for displaying the layout position of the entity station in the entity area;
and the layout display unit 602 is used for displaying the stand layout on the display page according to the stand layout data.
Optionally, the layout display unit 602 is specifically configured to: obtaining pixel data of a virtual area corresponding to the entity area and pixel data of a virtual station corresponding to the entity station contained in the station layout data; the pixel data of the virtual area is obtained by mapping the size of the physical area according to a scale factor, and the pixel data of the virtual station is obtained by mapping the physical coordinate data of the physical station according to the scale factor; drawing the virtual area and the virtual station in a display page according to the pixel data of the virtual area and the pixel data of the virtual station to obtain station layout; the station layout is used for representing the layout position of the entity station in the entity area.
Optionally, the layout display unit 602 is specifically configured to: obtaining physical coordinate data of an entity station contained in the station layout data and relative position information between the entity station and a mark object of the entity area; and drawing the station layout on a display page according to the physical coordinate data of the entity station and the relative position information.
Optionally, the layout display unit 602 is specifically configured to: receiving trigger aiming at any one input information of station identification and position characteristic information; obtaining entity station information matched with the input information and contained in the station layout data; and determining the logic position of the entity station in the station layout according to the entity station information, and drawing the station layout containing the entity station on the display page.
Optionally, the layout display unit 602 is specifically configured to: obtaining a station type of each station contained in the station layout data; and drawing the station layout by adopting drawing attributes corresponding to the station type according to the station type.
Optionally, the layout display unit 602 is specifically configured to: the same schematic is drawn for the stations of the same station type.
Optionally, the layout display unit 602 is specifically configured to: displaying attribute data of each entity station on a display interface; the attribute data includes at least one of physical abscissa, physical ordinate, length, width, relative positional relationship data with a marker object in the physical area, and the number of seats provided.
Optionally, the layout display unit 602 is specifically configured to: detecting that a station occupation control of a display interface is triggered; acquiring an occupied identifier of the entity station according to the trigger; drawing a first schematic diagram aiming at the occupied mark of the entity station; and drawing a second schematic diagram aiming at the unoccupied entity station.
Thus far, the apparatus provided by the fifth embodiment has been described, which is configured to obtain the station layout data corresponding to the physical area in which the physical station is provided; the station layout data is data which is generated according to the physical coordinate data of the entity station and is used for displaying the layout position of the entity station in the entity area; and displaying the station layout on the display page according to the station layout data. The physical coordinate data of the entity station is contained in the station layout data, so that the real position of the entity station in the entity area can be effectively displayed, the problem that the displayed station layout information and the real position are low in coincidence degree is solved, the position of the entity station is conveniently positioned, and the entity station is conveniently selected.
Based on the foregoing embodiments, a sixth embodiment of the present application provides an electronic device. Fig. 7 is a schematic diagram of the electronic device, including: a memory, and a processor; the memory is used for storing a computer program, and after the computer program is executed by the processor, the station layout generating method and the station layout displaying method provided by the embodiment of the application are executed.
Thus far, the electronic device provided in this embodiment has been described, where the electronic device obtains physical coordinate data of an entity station in the entity area; generating station layout data according to the physical coordinate data of the entity station, and obtaining the station layout data corresponding to the entity area provided with the entity station; and displaying the station layout on the display page according to the station layout data. Because the station layout data contains the physical coordinate data of the entity station, the real position of the entity station in the entity area can be effectively displayed, so that the problem that the displayed station layout information and the real position are low in coincidence degree is solved, the accuracy of the position positioning of the entity station is improved, and the entity station is convenient to select.
Based on the foregoing embodiments, a seventh embodiment of the present application provides a storage device, and relevant portions may be referred to the corresponding descriptions of the foregoing embodiments. The schematic diagram of the memory device is similar to fig. 7. The storage device stores a computer program, and after the computer program is executed by the processor, the station layout generating method and the station layout displaying method provided by the embodiment of the application are executed.
Thus far, the storage device provided in this embodiment has been described, where the storage device stores an instruction, where the instruction obtains physical coordinate data of an entity station in the entity area; generating station layout data according to the physical coordinate data of the entity station, and obtaining the station layout data corresponding to the entity area provided with the entity station; and displaying the station layout on the display page according to the station layout data. Because the station layout data contains the physical coordinate data of the entity station, the real position of the entity station in the entity area can be effectively displayed, so that the problem that the displayed station layout information and the real position are low in coincidence degree is solved, the accuracy of the position positioning of the entity station is improved, and the entity station is convenient to select.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
1. Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer readable media, as defined herein, does not include non-transitory computer readable media (transmission media), such as modulated data signals and carrier waves.
2. It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
While the preferred embodiment has been described, it is not intended to limit the invention thereto, and any person skilled in the art may make variations and modifications without departing from the spirit and scope of the present invention, so that the scope of the present invention shall be defined by the claims of the present application.
Claims (20)
1. A station layout generation method, comprising:
obtaining a mark object of an entity area provided with an entity station and a reference direction for station display; the mark object has identifiable characteristics;
taking a first mark object in the mark objects as a coordinate origin;
According to the information of the first mark object and the reference direction, physical coordinate data of the entity station in the entity area is obtained;
generating station layout data according to the physical coordinate data of the entity station; the station layout data is data for displaying the layout position of the entity station in the entity area on a display interface;
the display interface is also used for displaying attribute data of each entity station; the attribute data comprises relative position relation data of the entity station and the mark object in the entity area;
the display interface is also used for displaying a first schematic drawing drawn according to the occupied mark of the entity station and a second schematic drawing drawn according to the unoccupied entity station;
the method further comprises the steps of:
obtaining a second one of the marker objects;
according to the information of the first mark object and the reference direction, physical coordinate data of the second mark object in the entity area is obtained;
the generating the station layout data according to the physical coordinate data of the entity station includes:
determining relative position information of the entity station and the second mark object according to the physical coordinate data of the second mark object and the physical coordinate data of the entity station;
And generating the station layout data according to the physical coordinate data of the entity station and the relative position information.
2. The method as recited in claim 1, further comprising:
obtaining the size of the entity area;
the generating the station layout data according to the physical coordinate data of the entity station includes:
generating a virtual area corresponding to the entity area according to the size of the entity area;
creating a virtual station corresponding to the entity station in the virtual area according to the physical coordinate data of the entity station;
and generating the station layout data according to the virtual area and the virtual station.
3. The method of claim 2, wherein the generating a virtual area corresponding to the physical area according to the size of the physical area comprises:
mapping the size of the entity region into pixel data of the virtual region according to a scale factor, and mapping the physical coordinate data of the entity station into pixel data of the virtual station;
the generating the station layout data according to the virtual area and the virtual station includes:
and generating the station layout data according to the pixel data of the virtual area and the pixel data of the virtual station.
4. The method as recited in claim 2, further comprising:
obtaining the station type of the entity station;
the creating a virtual station corresponding to the entity station in the virtual area according to the physical coordinate data of the entity station includes:
and setting the logic position of the virtual station corresponding to the entity station in the station layout according to the station type of the entity station and the physical coordinate data of the entity station.
5. The method as recited in claim 4, further comprising:
obtaining the size of the second mark object and the size of the entity station;
the generating the station layout data according to the physical coordinate data of the entity station and the relative position information includes:
and generating the station layout data according to the size of the second mark object, the size of the entity station, the physical coordinate data of the entity station and the relative position information.
6. The method as recited in claim 1, further comprising:
obtaining the size of the entity station;
the generating the station layout data according to the physical coordinate data of the entity station includes:
And generating the station layout data according to the size of the entity station and the physical coordinate data of the entity station.
7. The method as recited in claim 1, further comprising:
and obtaining the display area size for displaying the station layout, and adjusting the station layout data according to the display area size.
8. The method as recited in claim 1, further comprising:
outputting the station layout data.
9. The method of claim 8, wherein the outputting the station layout data comprises:
and displaying the station layout on the display page according to the physical coordinate data contained in the station layout data.
10. A station layout display method, comprising:
obtaining station layout data corresponding to the entity area provided with the entity station; the station layout data is data which is generated according to the physical coordinate data of the entity station and the relative position information of the entity station and the second mark object and is used for displaying the layout position of the entity station in the entity area; the physical coordinate data of the entity station is obtained according to the information of the first mark object and the reference direction for station display; the first mark object is used as a coordinate origin for obtaining physical coordinate data of the entity station and relative position information of the entity station and the second mark object; the first and second marker objects have identifiable characteristics;
Displaying the station layout on the display page according to the station layout data;
displaying attribute data of each entity station on a display interface; the attribute data comprises relative position relation data of a mark object in the entity area;
triggering a station occupation control according to the detected display interface to obtain an occupied identifier of the entity station;
drawing a first schematic diagram aiming at the occupied mark of the entity station;
and drawing a second schematic diagram aiming at the unoccupied entity station.
11. The method as recited in claim 10, further comprising:
obtaining pixel data of a virtual area corresponding to the entity area and pixel data of a virtual station corresponding to the entity station contained in the station layout data; the pixel data of the virtual area is obtained by mapping the size of the physical area according to a scale factor, and the pixel data of the virtual station is obtained by mapping the physical coordinate data of the physical station according to the scale factor;
the step of displaying the stand layout on the display page according to the stand layout data comprises the following steps:
drawing the virtual area and the virtual station in a display page according to the pixel data of the virtual area and the pixel data of the virtual station to obtain station layout; the station layout is used for representing the layout position of the entity station in the entity area.
12. The method as recited in claim 10, further comprising:
receiving trigger aiming at any one input information of station identification and position characteristic information;
obtaining entity station information matched with the input information and contained in the station layout data;
the step of displaying the stand layout on the display page according to the stand layout data comprises the following steps:
and determining the logic position of the entity station in the station layout according to the entity station information, and drawing the station layout containing the entity station on the display page.
13. The method as recited in claim 10, further comprising:
obtaining a station type of each station contained in the station layout data;
the step of displaying the stand layout on the display page according to the stand layout data comprises the following steps:
and drawing the station layout by adopting drawing attributes corresponding to the station type according to the station type.
14. The method of claim 13, wherein the drawing the station layout according to the station type with the drawing attribute corresponding to the station type comprises:
the same schematic is drawn for the stations of the same station type.
15. The method as recited in claim 10, further comprising:
the attribute data further includes at least one of physical abscissa, physical ordinate, length, width, and the number of seats provided.
16. A station layout display method, comprising:
the server obtains a mark object of the entity area provided with the entity station and a reference direction for station display; the mark object has identifiable characteristics; taking a first mark object in the mark objects as a coordinate origin; according to the information of the first mark object and the reference direction, physical coordinate data of the entity station in the entity area is obtained; obtaining a second one of the marker objects; according to the information of the first mark object and the reference direction, physical coordinate data of the second mark object in the entity area is obtained; determining relative position information of the entity station and the second mark object according to the physical coordinate data of the second mark object and the physical coordinate data of the entity station; generating the station layout data according to the physical coordinate data of the entity station and the relative position information; the station layout data is data for displaying the layout position of the entity station in the entity area on a display interface;
The entity object management equipment requests the station layout data from the server;
the entity object management equipment obtains the station layout data, and displays the station layout on a display page according to physical coordinate data of entity stations contained in the station layout data; displaying attribute data of each entity station on a display interface; the attribute data comprises relative position relation data of a mark object in the entity area; triggering a station occupation control according to the detected display interface to obtain an occupied identifier of the entity station; drawing a first schematic diagram aiming at the occupied mark of the entity station; and drawing a second schematic diagram aiming at the unoccupied entity station.
17. A station layout generating apparatus, comprising:
the coordinate system determining unit is used for obtaining a mark object of the entity area provided with the entity station and a reference direction for station display; the mark object has identifiable characteristics; taking a first mark object in the mark objects as a coordinate origin;
the station physical coordinate determining unit is used for obtaining physical coordinate data of the entity station in the entity area according to the information of the first mark object and the reference direction;
A layout data generating unit, configured to generate station layout data according to the physical coordinate data of the entity station; the station layout data is data for displaying the layout position of the entity station in the entity area on a display interface;
the display interface is also used for displaying attribute data of each entity station; the attribute data comprises relative position relation data of the entity station and the mark object in the entity area;
the display interface is also used for displaying a first schematic drawing drawn according to the occupied mark of the entity station and a second schematic drawing drawn according to the unoccupied entity station;
the layout data generating unit is specifically configured to: obtaining a second one of the marker objects; according to the information of the first mark object and the reference direction, physical coordinate data of the second mark object in the entity area is obtained; determining relative position information of the entity station and the second mark object according to the physical coordinate data of the second mark object and the physical coordinate data of the entity station; and generating the station layout data according to the physical coordinate data of the entity station and the relative position information.
18. A stand layout display device, comprising:
a layout data obtaining unit, configured to obtain station layout data corresponding to the entity area in which the entity station is set; the station layout data is data which is generated according to the physical coordinate data of the entity station and the relative position information of the entity station and the second mark object and is used for displaying the layout position of the entity station in the entity area; the physical coordinate data of the entity station is obtained according to the information of the first mark object and the reference direction for station display; the first mark object is used as a coordinate origin for obtaining physical coordinate data of the entity station and relative position information of the entity station and the second mark object;
the layout display unit is used for displaying the station layout on the display page according to the station layout data; displaying attribute data of each entity station on a display interface; the attribute data comprises relative position relation data of a mark object in the entity area; triggering a station occupation control according to the detected display interface to obtain an occupied identifier of the entity station; drawing a first schematic diagram aiming at the occupied mark of the entity station; and drawing a second schematic diagram aiming at the unoccupied entity station.
19. An electronic device, comprising:
a memory, and a processor; the memory is adapted to store a computer program which, when executed by the processor, performs the method of any of claims 1-16.
20. A storage device storing a computer program which, when executed by a processor, performs the method of any of claims 1-16.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010387865.3A CN111724195B (en) | 2020-05-09 | 2020-05-09 | Bench layout generation and display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010387865.3A CN111724195B (en) | 2020-05-09 | 2020-05-09 | Bench layout generation and display method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111724195A CN111724195A (en) | 2020-09-29 |
CN111724195B true CN111724195B (en) | 2024-02-27 |
Family
ID=72564819
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010387865.3A Active CN111724195B (en) | 2020-05-09 | 2020-05-09 | Bench layout generation and display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111724195B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008001750A1 (en) * | 2006-06-29 | 2008-01-03 | P & W Solutions Co., Ltd. | Method, computer and program for making out seat layout |
CN106710005A (en) * | 2016-12-20 | 2017-05-24 | 深圳中兴网信科技有限公司 | Simulation scene display method and simulation scene display system |
CN107818373A (en) * | 2017-09-04 | 2018-03-20 | 合肥龙图腾信息技术有限公司 | A kind of systems, devices and methods for being convenient for people to subscribe restaurant |
CN108344401A (en) * | 2018-01-16 | 2018-07-31 | 深圳市易成自动驾驶技术有限公司 | Localization method, device and computer readable storage medium |
CN110442952A (en) * | 2019-07-30 | 2019-11-12 | 佛山市小云科技有限公司 | A kind of method of rule Virtual Space furniture intelligent distribution |
CN111028313A (en) * | 2019-12-26 | 2020-04-17 | 浙江口碑网络技术有限公司 | Table distribution image generation method and device |
CN111047392A (en) * | 2019-11-11 | 2020-04-21 | 北京迈格威科技有限公司 | System, method and storage medium for constructing digital shop |
-
2020
- 2020-05-09 CN CN202010387865.3A patent/CN111724195B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008001750A1 (en) * | 2006-06-29 | 2008-01-03 | P & W Solutions Co., Ltd. | Method, computer and program for making out seat layout |
CN106710005A (en) * | 2016-12-20 | 2017-05-24 | 深圳中兴网信科技有限公司 | Simulation scene display method and simulation scene display system |
CN107818373A (en) * | 2017-09-04 | 2018-03-20 | 合肥龙图腾信息技术有限公司 | A kind of systems, devices and methods for being convenient for people to subscribe restaurant |
CN108344401A (en) * | 2018-01-16 | 2018-07-31 | 深圳市易成自动驾驶技术有限公司 | Localization method, device and computer readable storage medium |
CN110442952A (en) * | 2019-07-30 | 2019-11-12 | 佛山市小云科技有限公司 | A kind of method of rule Virtual Space furniture intelligent distribution |
CN111047392A (en) * | 2019-11-11 | 2020-04-21 | 北京迈格威科技有限公司 | System, method and storage medium for constructing digital shop |
CN111028313A (en) * | 2019-12-26 | 2020-04-17 | 浙江口碑网络技术有限公司 | Table distribution image generation method and device |
Non-Patent Citations (1)
Title |
---|
冒超球 等.餐饮服务与管理.中山大学出版社,2010,第111页. * |
Also Published As
Publication number | Publication date |
---|---|
CN111724195A (en) | 2020-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9836651B2 (en) | Displaying information relating to a designated marker | |
US20110265023A1 (en) | Interactive Representation of Clustered Entities | |
US20110265030A1 (en) | Representation of overlapping visual entities | |
CN109255767B (en) | Image processing method and device | |
WO2019047524A1 (en) | Information processing method and apparatus | |
CN110083286B (en) | System and method for disambiguating item selections | |
US20130325673A1 (en) | Coordinate model for inventory visualization in conjunction with physical layout | |
WO2019085906A1 (en) | Exposure calculation method and device, terminal, and readable storage medium | |
EP4130961A1 (en) | Shape selection method and apparatus, electronic device, storage medium and computer program | |
CN109587031A (en) | Data processing method | |
CN108415917B (en) | Visual report generation method and visual report generation device | |
CN114648615B (en) | Method, device and equipment for controlling interactive reproduction of target object and storage medium | |
US20200081606A1 (en) | Modifying default display configurations for objects in a user interface | |
CN112925871A (en) | Data processing method and device based on map information | |
US10650788B2 (en) | Mapping the position of multiple paired display screens | |
CN112699189A (en) | Position information updating method and device and computer system | |
US20140344251A1 (en) | Map searching system and method | |
CN111724195B (en) | Bench layout generation and display method and device | |
WO2017011680A1 (en) | Device and method for processing data | |
CN110825989A (en) | Picture display method and device, electronic equipment and readable medium | |
CN115756461A (en) | Annotation template generation method, image identification method and device and electronic equipment | |
US8902252B2 (en) | Digital image selection in a surface computing device | |
CN113986094A (en) | Map marking method, device, terminal and storage medium | |
CN110569459A (en) | statistical method and device for webpage information | |
CN114817664A (en) | Big data based data display method and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |