CN108898646B - Office area display method and terminal equipment - Google Patents
Office area display method and terminal equipment Download PDFInfo
- Publication number
- CN108898646B CN108898646B CN201810681205.9A CN201810681205A CN108898646B CN 108898646 B CN108898646 B CN 108898646B CN 201810681205 A CN201810681205 A CN 201810681205A CN 108898646 B CN108898646 B CN 108898646B
- Authority
- CN
- China
- Prior art keywords
- station
- data
- office area
- workstation
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/20—Drawing from basic elements, e.g. lines or circles
- G06T11/206—Drawing of charts or graphs
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明实施例提供了办公区域展示方法及终端设备,终端设备可以向服务器发送获取第一办公区域内工位的工位数据的请求,接收所述服务器返回的所述第一办公区域内工位的工位数据,根据接收的所述工位数据绘制所述第一办公区域对应的显示界面。由于本发明的终端设备可以直接从服务器获得第一办公区域内的工位的工位数据并绘制第一办公区域对应的显示界面,因此本发明的终端设备可以及时从服务器中获得最新的工位数据并进行显示,方便快捷。
The embodiment of the present invention provides an office area display method and a terminal device. The terminal device can send a request to the server to obtain the station data of the station in the first office area, and receive the station in the first office area returned by the server. drawing the display interface corresponding to the first office area according to the received workstation data. Since the terminal device of the present invention can directly obtain the station data of the stations in the first office area from the server and draw the display interface corresponding to the first office area, the terminal device of the present invention can obtain the latest station information from the server in time. Data and display, convenient and quick.
Description
技术领域technical field
本发明涉及区域展示技术领域,特别是涉及办公区域展示方法及终端设备。The invention relates to the technical field of area display, in particular to an office area display method and terminal equipment.
背景技术Background technique
办公区域是企业进行商业活动的重要场所,办公区域中包括的不同类型的区域较多,如员工工作区、会议室等。The office area is an important place for enterprises to carry out business activities. The office area includes many different types of areas, such as employee work areas and meeting rooms.
由于人员的流动性及其他原因,办公区域中的工位数量、员工等工位数据常发生改变,这就给企业员工带来了较多的不便。例如:某工位上的员工发生了变化,但其他员工可能并不知道。当需要联系该工位上之前的员工时,由于其他员工还以为该工位上的员工未发生变化,因此其他员工就会联系上错误的员工,给双方带来不必要的麻烦。为了及时了解办公区域中各工位的最新工位数据,员工需要经常向相关管理人员索要最新的工位图,较为繁琐。Due to the mobility of personnel and other reasons, the number of workstations in the office area, employees and other workstation data often change, which brings more inconvenience to the employees of the enterprise. For example: An employee at a certain desk has changed, but other employees may not know about it. When needing to contact the previous employee on this station, because other employees think that the employee on this station has not changed, so other employees will contact the wrong employee, which brings unnecessary troubles to both parties. In order to keep abreast of the latest position data of each position in the office area, employees often need to ask the relevant management personnel for the latest position map, which is cumbersome.
因此,如何使得各员工及时了解办公区域最近的工位数据仍是本领域一个亟待解决的技术难题。Therefore, how to make each employee keep abreast of the latest work position data in the office area is still a technical problem to be solved urgently in this field.
发明内容Contents of the invention
本发明实施例的目的在于提供一种办公区域展示方法及终端设备,以实现及时从获得最新的工位数据的目的。具体技术方案如下:The purpose of the embodiments of the present invention is to provide a method for displaying an office area and a terminal device, so as to realize the purpose of obtaining the latest work position data in a timely manner. The specific technical scheme is as follows:
一种办公区域展示方法,应用于终端设备中,所述终端设备与服务器通信连接,所述方法包括:A method for displaying an office area, applied to a terminal device, where the terminal device communicates with a server, and the method includes:
向所述服务器发送获取第一办公区域内工位的工位数据的请求;sending a request to the server to acquire the workstation data of the workstations in the first office area;
接收所述服务器返回的所述第一办公区域内工位的工位数据;receiving the workstation data of the workstations in the first office area returned by the server;
根据接收的所述工位数据绘制所述第一办公区域对应的显示界面。Drawing a display interface corresponding to the first office area according to the received workstation data.
可选的,所述工位数据包括:工位位置信息、工位数量信息、工位类型信息、工位占用人信息、工位占用信息和工位面积信息中的至少一种;Optionally, the workstation data includes: at least one of workstation location information, workstation quantity information, workstation type information, workstation occupant information, workstation occupancy information, and workstation area information;
在所述工位数据包括:所述工位位置信息时,所述根据接收的所述工位数据绘制所述第一办公区域对应的显示界面,包括:When the workstation data includes: the workstation location information, drawing a display interface corresponding to the first office area according to the received workstation data includes:
根据所述工位位置信息设置各工位对应的工位图形所在的位置单元;According to the station position information, the position unit where the station figure corresponding to each station is located;
将各工位对应的工位图形分别显示在所设置的位置单元,以绘制所述第一办公区域对应的显示界面。The station graphics corresponding to each station are respectively displayed in the set location units, so as to draw the display interface corresponding to the first office area.
可选的,在所述工位数据包括:所述工位占用信息和所述工位位置信息时,所述根据接收的所述工位数据绘制所述第一办公区域对应的显示界面,包括:Optionally, when the workstation data includes: the workstation occupancy information and the workstation location information, drawing a display interface corresponding to the first office area according to the received workstation data includes :
根据所述工位位置信息设置各工位对应的工位图形所在的位置单元;According to the station position information, the position unit where the station figure corresponding to each station is located;
根据所述工位占用信息设置各工位对应的工位图形的颜色;Set the color of the station graphics corresponding to each station according to the station occupancy information;
将各工位对应的已设置颜色的工位图形分别显示在所设置的位置单元,以绘制所述第一办公区域对应的显示界面。Displaying the color-coded workstation graphics corresponding to each workstation on the set location units, so as to draw a display interface corresponding to the first office area.
可选的,所述方法还包括:Optionally, the method also includes:
接收用户对所述显示界面中第一工位图形的点击指令;receiving a user's click instruction on the first station figure in the display interface;
根据所述点击指令显示所述第一工位图形对应的工位的工位数据。The station data of the station corresponding to the first station graphic is displayed according to the click instruction.
可选的,所述方法还包括:Optionally, the method also includes:
接收用户对显示的工位数据的修改指令,其中,所述修改指令中包括:修改后的工位数据;receiving a modification instruction from the user on the displayed station data, wherein the modification instruction includes: the modified station data;
将所述修改指令发送至所述服务器,以使所述服务器对所述修改指令进行审核并在审核通过后根据所述修改指令修改所述第一办公区域内工位的工位数据;Sending the modification instruction to the server, so that the server reviews the modification instruction and modifies the station data of the stations in the first office area according to the modification instruction after the review is passed;
返回执行所述接收所述服务器返回的所述第一办公区域内工位的工位数据的步骤。Returning to the step of receiving the workstation data of the workstations in the first office area returned by the server.
可选的,所述工位占用信息包括:工位占用时间信息,所述修改指令中包括:修改后的工位占用时间信息和修改后的工位占用人信息。Optionally, the station occupancy information includes: station occupancy time information, and the modification instruction includes: modified station occupancy time information and modified station occupant information.
可选的,所述根据接收的所述工位数据绘制所述第一办公区域对应的显示界面,包括:Optionally, drawing the display interface corresponding to the first office area according to the received workstation data includes:
根据接收的所述工位数据在第一显示区域中绘制所述第一办公区域对应的显示界面的全部或部分界面,根据接收的所述工位数据在第二显示区域中绘制所述第一办公区域对应的显示界面的缩略图并在所述缩略图上绘制区域标识,其中,所述区域标识在所述缩略图中的位置与所述第一显示区域中绘制的界面在所述第一办公区域对应的显示界面中的位置相匹配。Draw all or part of the display interface corresponding to the first office area in the first display area according to the received work position data, and draw the first display interface in the second display area according to the received work position data displaying a thumbnail of the interface corresponding to the office area and drawing an area mark on the thumbnail, wherein the position of the area mark in the thumbnail is the same as that of the interface drawn in the first display area in the first The location in the display interface corresponding to the office area matches.
可选的,所述方法还包括:Optionally, the method also includes:
接收用户对所述第一显示区域中绘制的显示界面的缩放指令;receiving a scaling instruction from the user on the display interface drawn in the first display area;
根据所述缩放指令对所述第一显示区域中绘制的显示界面进行缩放,根据缩放后所述第一显示区域中绘制的显示界面对所述缩略图上绘制的区域标识进行调整,以使所述区域标识在所述缩略图中的位置与进行缩放后的所述第一显示区域中绘制的界面在所述第一办公区域对应的显示界面中的位置相匹配。Scale the display interface drawn in the first display area according to the scaling instruction, and adjust the area identifier drawn on the thumbnail according to the scaled display interface drawn in the first display area, so that all The position of the area identifier in the thumbnail matches the position of the zoomed interface drawn in the first display area in the display interface corresponding to the first office area.
一种办公区域展示方法,应用于服务器,所述服务器与终端设备通信连接,所述方法包括:A method for displaying an office area is applied to a server, and the server communicates with a terminal device, and the method includes:
接收终端设备发送的获取第一办公区域内工位的工位数据的请求;receiving the request sent by the terminal device to obtain the station data of the stations in the first office area;
将所述第一办公区域内工位的工位数据返回至所述终端设备中,以使所述终端设备根据接收的所述工位数据绘制所述第一办公区域对应的显示界面。returning the workstation data of the workstations in the first office area to the terminal device, so that the terminal device draws a display interface corresponding to the first office area according to the received workstation data.
一种终端设备,所述终端设备与服务器通信连接,所述终端设备包括:请求发送模块、数据接收模块和界面绘制模块,A terminal device, the terminal device is communicatively connected to a server, the terminal device includes: a request sending module, a data receiving module and an interface drawing module,
所述请求发送模块,用于向所述服务器发送获取第一办公区域内工位的工位数据的请求;The request sending module is configured to send to the server a request for obtaining the station data of the stations in the first office area;
所述数据接收模块,用于接收所述服务器返回的所述第一办公区域内工位的工位数据;The data receiving module is configured to receive the station data of the stations in the first office area returned by the server;
所述界面绘制模块,用于根据接收的所述工位数据绘制所述第一办公区域对应的显示界面。The interface drawing module is configured to draw a display interface corresponding to the first office area according to the received workstation data.
本发明实施例提供的办公区域展示方法及终端设备,终端设备可以向所述服务器发送获取第一办公区域内工位的工位数据的请求,接收所述服务器返回的所述第一办公区域内工位的工位数据,根据接收的所述工位数据绘制所述第一办公区域对应的显示界面。由于本发明的终端设备可以直接从服务器获得第一办公区域内的工位的工位数据并绘制第一办公区域对应的显示界面,因此本发明的终端设备可以及时从服务器中获得最新的工位数据并进行显示,方便快捷。In the office area display method and terminal device provided by the embodiments of the present invention, the terminal device can send a request to the server to obtain the workstation data of the workstations in the first office area, and receive the data of the workstations in the first office area returned by the server. According to the workstation data of the workstation, the display interface corresponding to the first office area is drawn according to the received workstation data. Since the terminal device of the present invention can directly obtain the station data of the stations in the first office area from the server and draw the display interface corresponding to the first office area, the terminal device of the present invention can obtain the latest station information from the server in time. Data and display, convenient and quick.
当然,实施本发明的任一产品或方法必不一定需要同时达到以上所述的所有优点。Of course, implementing any product or method of the present invention does not necessarily need to achieve all the above-mentioned advantages at the same time.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本发明实施例提供的一种办公区域展示方法的流程图;FIG. 1 is a flow chart of a method for displaying an office area provided by an embodiment of the present invention;
图2为本发明实施例提供的另一种办公区域展示方法的流程图;Fig. 2 is a flowchart of another office area display method provided by an embodiment of the present invention;
图3A至图3C为本发明实施例提供的工位图形示意图;Figure 3A to Figure 3C are schematic diagrams of station diagrams provided by the embodiment of the present invention;
图4为本发明实施例提供的办公区域划分方式示意图;Fig. 4 is a schematic diagram of an office area division method provided by an embodiment of the present invention;
图5为本发明实施例提供的办公区域对应的显示界面的示意图;FIG. 5 is a schematic diagram of a display interface corresponding to an office area provided by an embodiment of the present invention;
图6为本发明实施例提供的另一种办公区域展示方法的流程图;FIG. 6 is a flow chart of another office area display method provided by an embodiment of the present invention;
图7为本发明实施例提供的另一种办公区域展示方法的流程图;Fig. 7 is a flow chart of another office area display method provided by an embodiment of the present invention;
图8为本发明实施例提供的工位数据的显示效果的示意图;Fig. 8 is a schematic diagram of the display effect of the station data provided by the embodiment of the present invention;
图9为本发明实施例提供的第一办公区域对应的另一种显示界面的示意图;Fig. 9 is a schematic diagram of another display interface corresponding to the first office area provided by the embodiment of the present invention;
图10为本发明实施例提供的终端设备显示的界面的示意图;FIG. 10 is a schematic diagram of an interface displayed by a terminal device according to an embodiment of the present invention;
图11为本发明实施例提供的终端设备显示的另一界面的示意图;FIG. 11 is a schematic diagram of another interface displayed by a terminal device according to an embodiment of the present invention;
图12为本发明实施例提供的另一种办公区域展示方法的流程图;Fig. 12 is a flow chart of another office area display method provided by an embodiment of the present invention;
图13为本发明实施例提供的一种终端设备的结构示意图。FIG. 13 is a schematic structural diagram of a terminal device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
如图1所示,本发明实施例提供的一种办公区域展示方法,可以应用于终端设备中,所述终端设备与服务器通信连接,该方法可以包括:As shown in FIG. 1, a method for displaying an office area provided by an embodiment of the present invention can be applied to a terminal device, and the terminal device is connected to a server through communication. The method may include:
S100、向所述服务器发送获取第一办公区域内工位的工位数据的请求;S100. Send a request to the server to acquire the workstation data of the workstations in the first office area;
其中,所述工位数据可以包括:工位位置信息、工位数量信息、工位类型信息、工位占用人信息、工位占用信息和工位面积信息中的至少一种。Wherein, the workstation data may include: at least one of workstation location information, workstation quantity information, workstation type information, workstation occupant information, workstation occupancy information, and workstation area information.
其中,本发明中的终端设备可以为手机、平板电脑、可穿戴电子设备、计算机等。Wherein, the terminal device in the present invention may be a mobile phone, a tablet computer, a wearable electronic device, a computer, and the like.
具体的,工位位置信息的形式可以有多种,例如:工位的坐标、工位的行列值、工位所在的楼层、工位所在建筑的楼号等。Specifically, there may be various forms of the location information of the workstation, for example: the coordinates of the workstation, the row and column values of the workstation, the floor where the workstation is located, the building number of the building where the workstation is located, and the like.
工位类型信息可以包括:临时性工位、持久性工位、会议室工位、茶水间工位等信息中的至少一种。The workstation type information may include: at least one of temporary workstations, permanent workstations, conference room workstations, pantry workstations, and other information.
工位占用人信息可以包括:工位占用人姓名、工位占用人编号、工位占用人级别(如普通员工、经理、总监等)、工位占用人联系方式等信息中的至少一种。The seat occupant information may include: at least one of information such as the name of the seat occupant, the number of the seat occupant, the level of the seat occupant (such as ordinary employee, manager, director, etc.), and the contact information of the seat occupant.
工位占用信息可以包括:已占用和未占用,进一步,工位占用信息还可以包括:占用时间信息,例如:某年某月某日的中午12点占用到该日的下午2点。The workstation occupancy information may include: occupied and unoccupied. Further, the workstation occupancy information may also include: occupancy time information, for example: occupancy from 12:00 noon to 2:00 pm on a certain day of a certain year.
工位面积信息可以为工位实际占用面积,如2.3平方米,也可以为预设单位面积的倍数,例如:2.3个预设单位面积。该预设单位面积可以根据实际需要进行设定和修改,可选的,该预设单位面积可以为办公区域中最小的工位所占的面积。The workstation area information may be the actual occupied area of the workstation, such as 2.3 square meters, or a multiple of a preset unit area, for example: 2.3 preset unit areas. The preset unit area can be set and modified according to actual needs. Optionally, the preset unit area can be the area occupied by the smallest workstation in the office area.
S200、接收所述服务器返回的所述第一办公区域内工位的工位数据;S200. Receive the workstation data of the workstations in the first office area returned by the server;
其中,服务器中可以存储有第一办公区域内工位的工位数据。具体的,服务器中存储的工位数据可以是由具有权限的用户上传至服务器的。Wherein, the server may store the workstation data of the workstations in the first office area. Specifically, the workstation data stored in the server may be uploaded to the server by authorized users.
S300、根据接收的所述工位数据绘制所述第一办公区域对应的显示界面。S300. Draw a display interface corresponding to the first office area according to the received workstation data.
可选的,在所述工位数据包括:所述工位位置信息时,如图2所示,步骤S300可以包括:Optionally, when the station data includes: the station location information, as shown in FIG. 2, step S300 may include:
S310、根据所述工位位置信息设置各工位对应的工位图形所在的位置单元;S310, according to the station position information, set the position unit where the station figure corresponding to each station is located;
具体的,本发明可以在办公区域划分得到多个相同或不同的位置单元,每个工位可以占用一个或多个位置单元。例如:如图4所示,本发明可以将办公区域划分为5行×5列一共25个位置单元,每个位置单元为一个2米×2米正方形区域。可选的,当每个工位均占用一个位置单元时,本发明可以根据工位位置信息(如工位的行列值)确定每一个工位所在的位置单元,从而可以设置各工位对应的工位图形在相应的位置单元。Specifically, the present invention can divide the office area into multiple identical or different location units, and each workstation can occupy one or more location units. For example: as shown in Figure 4, the present invention can divide the office area into 5 rows×5 columns, a total of 25 location units, each location unit is a 2m×2m square area. Optionally, when each station occupies a location unit, the present invention can determine the location unit where each station is located according to the location information of the station (such as the row and column values of the station), so that the corresponding position of each station can be set. The station figure is in the corresponding position unit.
优选的,对于不同办公区域,本发明的位置单元可以相同或不同。进一步,本发明还可以根据办公区域各工位的实际位置来设置各工位对应的工位图形所在的位置单元的位置。例如:根据过道和空闲区域调整各位置单元的位置。Preferably, for different office areas, the location units of the present invention may be the same or different. Further, the present invention can also set the position of the position unit where the corresponding work position figure of each work position is located according to the actual position of each work position in the office area. For example: adjust the position of each location unit according to the aisle and vacant area.
S320、将各工位对应的工位图形分别显示在所设置的位置单元,以绘制所述第一办公区域对应的显示界面。S320. Display the workstation graphics corresponding to each workstation in the set location units, so as to draw a display interface corresponding to the first office area.
其中,工位图形可以有多种,例如:一型工位图形、L型工位图形、C型工位图形等。可选的,一型工位图形可以如图3A所示,L型工位图形可以如图3B所示,L型工位图形可以如图3C所示。设第一办公区域中各工位的工位图形均为图3A所示的一型工位图形,则对于图4所示的办公区域划分方式,在每个工位均占用一个位置单元时,本发明可以绘制得到如图5所示的办公区域对应的显示界面。Among them, there can be many kinds of station patterns, for example: type I station pattern, L-type station pattern, C-type station pattern and so on. Optionally, the pattern of a type I station may be as shown in Figure 3A, the pattern of an L-shaped station may be shown in Figure 3B, and the pattern of an L-shaped station may be shown in Figure 3C. Assuming that the station figures of each station in the first office area are the first-type station figures shown in Figure 3A, then for the office area division method shown in Figure 4, when each station occupies one location unit, The present invention can draw and obtain the display interface corresponding to the office area as shown in FIG. 5 .
在本发明其他实施例中,在所述工位数据包括:所述工位占用信息和所述工位位置信息时,如图6所示,步骤S300可以包括:In other embodiments of the present invention, when the station data includes: the station occupancy information and the station location information, as shown in FIG. 6, step S300 may include:
S310、根据所述工位位置信息设置各工位对应的工位图形所在的位置单元;S310, according to the station position information, set the position unit where the station figure corresponding to each station is located;
S330、根据所述工位占用信息设置各工位对应的工位图形的颜色;S330. Set the color of the station graphic corresponding to each station according to the station occupancy information;
S340、将各工位对应的已设置颜色的工位图形分别显示在所设置的位置单元,以绘制所述第一办公区域对应的显示界面。S340. Display the color-coded workstation graphics corresponding to each workstation on the set location units, so as to draw a display interface corresponding to the first office area.
具体的,本发明可以根据不同的工位占用信息为工位图形设置不同的颜色,例如:某工位被占用,则该工位的工位图形的颜色可以为红色,相应的,某未被占用的工位的工位图形的颜色可以为绿色。本发明通过颜色来区分不同工位占用情况的工位,可以使得用户可以通过颜色辨别各工位的占用情况,从而快速找到所需要的工位。Specifically, the present invention can set different colors for the station graphics according to different station occupancy information. For example, if a certain station is occupied, the color of the station pattern of this station can be red. The color of the station graphic of the occupied station can be green. The present invention distinguishes the occupation status of different workstations by color, so that the user can distinguish the occupation status of each workstation through the color, so as to quickly find the required workstation.
本发明实施例提供的办公区域展示方法,终端设备可以向所述服务器发送获取第一办公区域内工位的工位数据的请求,接收所述服务器返回的所述第一办公区域内工位的工位数据,根据接收的所述工位数据绘制所述第一办公区域对应的显示界面。由于本发明的终端设备可以直接从服务器获得第一办公区域内的工位的工位数据并绘制第一办公区域对应的显示界面,因此本发明的终端设备可以及时从服务器中获得最新的工位数据并进行显示,方便快捷。In the office area display method provided by the embodiment of the present invention, the terminal device may send a request to the server to acquire the data of the workstations in the first office area, and receive the information of the workstations in the first office area returned by the server. Work position data, drawing a display interface corresponding to the first office area according to the received work position data. Since the terminal device of the present invention can directly obtain the station data of the stations in the first office area from the server and draw the display interface corresponding to the first office area, the terminal device of the present invention can obtain the latest station information from the server in time. Data and display, convenient and quick.
进一步,在图2或图6所示实施例基础上,如图7所示,本发明实施例提供的另一种办公区域展示方法,还可以包括:Further, on the basis of the embodiment shown in FIG. 2 or FIG. 6, as shown in FIG. 7, another office area display method provided by the embodiment of the present invention may further include:
S400、接收用户对所述显示界面中第一工位图形的点击指令;S400. Receive a user's click instruction on the first station graphic in the display interface;
S500、根据所述点击指令显示所述第一工位图形对应的工位的工位数据。S500. Display the station data of the station corresponding to the first station graphic according to the click instruction.
具体的,工位数据可以显示在一个文本框中,该文本框可以和所显示的工位数据对应的工位相连接,如图8所示。Specifically, the station data may be displayed in a text box, and the text box may be connected to the station corresponding to the displayed station data, as shown in FIG. 8 .
在图7所示实施例基础上,本发明实施例提供的另一种办公区域展示方法,还可以包括:On the basis of the embodiment shown in Figure 7, another office area display method provided by the embodiment of the present invention may also include:
接收用户对显示的工位数据的修改指令,其中,所述修改指令中包括:修改后的工位数据;receiving a modification instruction from the user on the displayed station data, wherein the modification instruction includes: the modified station data;
将所述修改指令发送至所述服务器,以使所述服务器对所述修改指令进行审核并在审核通过后根据所述修改指令修改所述第一办公区域内工位的工位数据;返回执行步骤S200。Send the modification instruction to the server, so that the server will review the modification instruction and modify the station data of the stations in the first office area according to the modification instruction after the review is passed; return to execute Step S200.
该方案可以使得具有权限的用户对第一办公区域内工位的工位数据进行修改,例如:修改第一办公区域中某工位的工位占用人信息。This solution enables authorized users to modify the data of the workstations in the first office area, for example, to modify the occupant information of a workstation in the first office area.
具体的,所述工位占用信息可以包括:工位占用时间信息,所述修改指令中可以包括:修改后的工位占用时间信息和修改后的工位占用人信息。Specifically, the station occupancy information may include: station occupancy time information, and the modification instruction may include: modified station occupancy time information and modified station occupant information.
本发明可以通过修改办公区域中工位的工位占用时间信息及工位占用人信息来实现工位预约功能,例如:用户修改某会议室的两个工位的工位占用时间为下周一上午八点至九点,这两个工位的工位占用人修改为该用户的名字。这样,该用户就在下周一上午八点至九点预约了该会议室的这两个工位。其他用户使用的终端设备在接收所述服务器返回的所述第一办公区域内工位的工位数据并根据接收的所述工位数据绘制所述第一办公区域对应的显示界面后就会在该显示界面上显示或包含该会议室的预约信息。The present invention can realize the station reservation function by modifying the station occupancy time information and the station occupant information of the stations in the office area, for example: the user modifies the station occupancy time of two stations in a meeting room to next Monday morning From eight o'clock to nine o'clock, the occupants of these two workstations are changed to the user's name. Like this, this user has just reserved these two stations of this meeting room at 8:00 am to 9:00 am next Monday. After the terminal devices used by other users receive the workstation data of the workstations in the first office area returned by the server and draw the display interface corresponding to the first office area according to the received workstation data, they will The display interface displays or includes reservation information of the conference room.
在本发明另一实施例中,图1所示步骤S300可以包括:根据接收的所述工位数据在第一显示区域中绘制所述第一办公区域对应的显示界面的全部或部分界面,根据接收的所述工位数据在第二显示区域中绘制所述第一办公区域对应的显示界面的缩略图并在所述缩略图上绘制区域标识,其中,所述区域标识在所述缩略图中的位置与所述第一显示区域中绘制的界面在所述第一办公区域对应的显示界面中的位置相匹配。In another embodiment of the present invention, step S300 shown in FIG. 1 may include: drawing all or part of the display interface corresponding to the first office area in the first display area according to the received workstation data, according to Draw a thumbnail of the display interface corresponding to the first office area in the second display area and draw an area mark on the thumbnail with the received work position data, wherein the area mark is in the thumbnail The position of matches the position of the interface drawn in the first display area in the display interface corresponding to the first office area.
为方便理解,下面举例说明:To facilitate understanding, the following examples illustrate:
对于图9所示的第一办公区域对应的显示界面的示意图,终端设备中显示的界面可以如图10所示。图10中终端设备显示的界面的左上角显示有一个图9所示的第一办公区域对应的显示界面的缩略图,该缩略图所占区域即为第二显示区域,图10中终端设备显示的全部界面为第一显示区域。由于第二显示区域显示在第一显示区域上方,因此遮盖了第一显示区域的部分显示内容。如图10所示,第一显示区域中显示有第一办公区域对应的显示界面的部分界面。图10中的虚线框010所框选部分即为第一显示区域所显示的区域,虚线框010即为在所述缩略图上绘制的区域标识。通过该虚线框010,用户可以获悉当前第一显示区域所显示的区域是第一办公区域的哪个区域。Regarding the schematic diagram of the display interface corresponding to the first office area shown in FIG. 9 , the interface displayed on the terminal device may be as shown in FIG. 10 . The upper left corner of the interface displayed by the terminal device in Figure 10 shows a thumbnail of the display interface corresponding to the first office area shown in Figure 9, and the area occupied by the thumbnail is the second display area, and the terminal device in Figure 10 displays The entire interface of is the first display area. Since the second display area is displayed above the first display area, part of the display content of the first display area is covered. As shown in FIG. 10 , a part of the display interface corresponding to the first office area is displayed in the first display area. The part framed by the dotted
进一步,本发明实施例提供的另一种办公区域展示方法,还可以包括:Furthermore, another office area display method provided by an embodiment of the present invention may also include:
接收用户对所述第一显示区域中绘制的显示界面的缩放指令;receiving a scaling instruction from the user on the display interface drawn in the first display area;
根据所述缩放指令对所述第一显示区域中绘制的显示界面进行缩放,根据缩放后所述第一显示区域中绘制的显示界面对所述缩略图上绘制的区域标识进行调整,以使所述区域标识在所述缩略图中的位置与进行缩放后的所述第一显示区域中绘制的界面在所述第一办公区域对应的显示界面中的位置相匹配。Scale the display interface drawn in the first display area according to the scaling instruction, and adjust the area identifier drawn on the thumbnail according to the scaled display interface drawn in the first display area, so that all The position of the area identifier in the thumbnail matches the position of the zoomed interface drawn in the first display area in the display interface corresponding to the first office area.
其中,缩放指令可以至少包括:缩小指令和放大指令,上述缩放指令的形式可以有多种,例如两个或更多手指在终端设备的触摸屏上相互靠近或远离等。本发明可以使得区域标识跟随用户的缩放指令而变化,以保持区域标识在所述缩略图中的位置与进行缩放后的所述第一显示区域中绘制的界面在所述第一办公区域对应的显示界面中的位置相匹配。如图11所示,在用户对第一显示区域进行放大后,虚线框010也相应缩小,以使虚线框010框选的部分与第一显示区域所显示的部分相匹配。Wherein, the zooming instruction may at least include: a zoom-out instruction and a zoom-in instruction, and the above-mentioned zooming instruction may have various forms, for example, two or more fingers approach or move away from each other on the touch screen of the terminal device. The present invention can make the area identification change following the zooming instruction of the user, so as to keep the position of the area identification in the thumbnail and the interface drawn in the zoomed first display area corresponding to the first office area. The location in the display interface matches. As shown in FIG. 11 , after the user zooms in on the first display area, the
与图1所示的应用于终端设备的办公区域展示方法相对应,本发明还提供了一种应用于服务器的办公区域展示方法。Corresponding to the method for displaying an office area applied to a terminal device shown in FIG. 1 , the present invention also provides a method for displaying an office area applied to a server.
如图12所示,本发明实施例提供的一种办公区域展示方法,应用于服务器,所述服务器与终端设备通信连接,该方法可以包括:As shown in FIG. 12, a method for displaying an office area provided by an embodiment of the present invention is applied to a server, and the server is connected to a terminal device through communication. The method may include:
S001、接收终端设备发送的获取第一办公区域内工位的工位数据的请求;S001. Receive the request sent by the terminal device to obtain the station data of the stations in the first office area;
S002、将所述第一办公区域内工位的工位数据返回至所述终端设备中,以使所述终端设备根据接收的所述工位数据绘制所述第一办公区域对应的显示界面。S002. Return the workstation data of the workstations in the first office area to the terminal device, so that the terminal device draws a display interface corresponding to the first office area according to the received workstation data.
与图1所示方法相对应,本发明实施例还提供了一种终端设备,所述终端设备与服务器通信连接,如图13所示,该终端设备可以包括:请求发送模块100、数据接收模块200和界面绘制模块300,Corresponding to the method shown in FIG. 1, the embodiment of the present invention also provides a terminal device, the terminal device is communicatively connected to the server, as shown in FIG. 13, the terminal device may include: a
所述请求发送模块100,用于向所述服务器发送获取第一办公区域内工位的工位数据的请求;The
所述数据接收模块200,用于接收所述服务器返回的所述第一办公区域内工位的工位数据;The
所述界面绘制模块300,用于根据接收的所述工位数据绘制所述第一办公区域对应的显示界面。The
本发明实施例提供的终端设备,可以向所述服务器发送获取第一办公区域内工位的工位数据的请求,接收所述服务器返回的所述第一办公区域内工位的工位数据,根据接收的所述工位数据绘制所述第一办公区域对应的显示界面。由于本发明的终端设备可以直接从服务器获得第一办公区域内的工位的工位数据并绘制第一办公区域对应的显示界面,因此本发明的终端设备可以及时从服务器中获得最新的工位数据并进行显示,方便快捷。The terminal device provided in the embodiment of the present invention may send a request to the server to obtain the station data of the stations in the first office area, and receive the station data of the stations in the first office area returned by the server, Drawing a display interface corresponding to the first office area according to the received workstation data. Since the terminal device of the present invention can directly obtain the station data of the stations in the first office area from the server and draw the display interface corresponding to the first office area, the terminal device of the present invention can obtain the latest station information from the server in time. Data and display, convenient and quick.
可选的,所述工位数据可以包括:工位位置信息、工位数量信息、工位类型信息、工位占用人信息、工位占用信息和工位面积信息中的至少一种;Optionally, the workstation data may include: at least one of workstation location information, workstation quantity information, workstation type information, workstation occupant information, workstation occupancy information, and workstation area information;
在所述工位数据包括:所述工位位置信息时,界面绘制模块300可以包括:位置设置子模块和第一图形显示子模块,When the station data includes: the station position information, the
所述位置设置子模块,用于根据所述工位位置信息设置各工位对应的工位图形所在的位置单元;The position setting submodule is used to set the position unit where the position figure corresponding to each position is located according to the position information of the position;
所述第一图形显示子模块,用于将各工位对应的工位图形分别显示在所设置的位置单元,以绘制所述第一办公区域对应的显示界面。The first graphic display sub-module is used to display the workstation graphics corresponding to each workstation in the set location units, so as to draw the display interface corresponding to the first office area.
进一步,在所述工位数据包括:所述工位占用信息和所述工位位置信息时,界面绘制模块300可以包括:位置设置子模块、颜色设置子模块和第二图形显示子模块,Further, when the station data includes: the station occupancy information and the station location information, the
所述位置设置子模块,用于根据所述工位位置信息设置各工位对应的工位图形所在的位置单元;The position setting submodule is used to set the position unit where the position figure corresponding to each position is located according to the position information of the position;
所述颜色设置子模块,用于根据所述工位占用信息设置各工位对应的工位图形的颜色;The color setting submodule is used to set the color of the station graphics corresponding to each station according to the station occupancy information;
所述第二图形显示子模块,用于将各工位对应的已设置颜色的工位图形分别显示在所设置的位置单元,以绘制所述第一办公区域对应的显示界面。The second graphic display sub-module is used to display the color-coded workstation graphics corresponding to each workstation in the set location units, so as to draw the display interface corresponding to the first office area.
进一步,图13所示终端设备还可以包括:点击指令接收模块和工位数据显示模块,Further, the terminal device shown in FIG. 13 may also include: a click instruction receiving module and a station data display module,
所述点击指令接收模块,用于接收用户对所述显示界面中第一工位图形的点击指令;The click instruction receiving module is configured to receive a user click instruction on the first station graphic in the display interface;
所述工位数据显示模块,用于根据所述点击指令显示所述第一工位图形对应的工位的工位数据。The station data display module is configured to display the station data of the station corresponding to the first station graphic according to the click instruction.
进一步,图13所示终端设备还可以包括:修改指令接收模块和指令发送模块,Further, the terminal device shown in FIG. 13 may also include: a modification instruction receiving module and an instruction sending module,
所述修改指令接收模块,用于接收用户对显示的工位数据的修改指令,其中,所述修改指令中包括:修改后的工位数据;The modification instruction receiving module is configured to receive a user modification instruction to the displayed station data, wherein the modification instruction includes: the modified station data;
所述指令发送模块,用于将所述修改指令发送至所述服务器,以使所述服务器对所述修改指令进行审核并在审核通过后根据所述修改指令修改所述第一办公区域内工位的工位数据;The instruction sending module is configured to send the modification instruction to the server, so that the server can review the modification instruction and modify the work in the first office area according to the modification instruction after the review is passed. position data;
所述指令发送模块将所述修改指令发送至所述服务器触发所述数据接收模块200。The instruction sending module sends the modification instruction to the server to trigger the
其中,所述工位占用信息可以包括:工位占用时间信息,所述修改指令中包括:修改后的工位占用时间信息和修改后的工位占用人信息。Wherein, the station occupancy information may include: station occupancy time information, and the modification instruction includes: the modified station occupancy time information and the modified station occupant information.
在本发明其他实施例中,图13所示终端设备中的界面绘制模块300可以具体设置为:In other embodiments of the present invention, the
根据接收的所述工位数据在第一显示区域中绘制所述第一办公区域对应的显示界面的全部或部分界面,根据接收的所述工位数据在第二显示区域中绘制所述第一办公区域对应的显示界面的缩略图并在所述缩略图上绘制区域标识,其中,所述区域标识在所述缩略图中的位置与所述第一显示区域中绘制的界面在所述第一办公区域对应的显示界面中的位置相匹配。Draw all or part of the display interface corresponding to the first office area in the first display area according to the received work position data, and draw the first display interface in the second display area according to the received work position data displaying a thumbnail of the interface corresponding to the office area and drawing an area mark on the thumbnail, wherein the position of the area mark in the thumbnail is the same as that of the interface drawn in the first display area in the first The location in the display interface corresponding to the office area matches.
在此基础上,图13所示终端设备还可以包括:缩放指令接收模块和缩放模块,On this basis, the terminal device shown in FIG. 13 may further include: a scaling instruction receiving module and a scaling module,
所述缩放指令接收模块,用于接收用户对所述第一显示区域中绘制的显示界面的缩放指令;The zoom instruction receiving module is configured to receive a user zoom instruction for the display interface drawn in the first display area;
所述缩放模块,用于根据所述缩放指令对所述第一显示区域中绘制的显示界面进行缩放,根据缩放后所述第一显示区域中绘制的显示界面对所述缩略图上绘制的区域标识进行调整,以使所述区域标识在所述缩略图中的位置与进行缩放后的所述第一显示区域中绘制的界面在所述第一办公区域对应的显示界面中的位置相匹配。The scaling module is configured to scale the display interface drawn in the first display area according to the scaling instruction, and scale the area drawn on the thumbnail according to the scaled display interface drawn in the first display area The logo is adjusted so that the position of the area logo in the thumbnail matches the zoomed position of the interface drawn in the first display area in the display interface corresponding to the first office area.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. There is no such actual relationship or order between them. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a related manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for relevant parts, refer to part of the description of the method embodiment.
以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present invention are included in the protection scope of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810681205.9A CN108898646B (en) | 2018-06-27 | 2018-06-27 | Office area display method and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810681205.9A CN108898646B (en) | 2018-06-27 | 2018-06-27 | Office area display method and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108898646A CN108898646A (en) | 2018-11-27 |
CN108898646B true CN108898646B (en) | 2023-02-28 |
Family
ID=64346532
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810681205.9A Expired - Fee Related CN108898646B (en) | 2018-06-27 | 2018-06-27 | Office area display method and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108898646B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102004623A (en) * | 2010-11-29 | 2011-04-06 | 深圳市九洲电器有限公司 | Three-dimensional image display device and method |
CN103912145A (en) * | 2012-12-31 | 2014-07-09 | 太仓市森茂汽车城开发有限公司 | Row exhibition room |
CN105306549A (en) * | 2015-09-28 | 2016-02-03 | 北京奇虎科技有限公司 | Visualization method and device for terminal location distribution |
CN105404703A (en) * | 2014-09-10 | 2016-03-16 | 贝里斯商上品开发有限公司 | Realistic article replacing method with composite option |
CN106909364A (en) * | 2015-12-23 | 2017-06-30 | 北京奇虎科技有限公司 | A kind of displaying method of terminal and visualization device |
CN107220806A (en) * | 2017-05-23 | 2017-09-29 | 合肥昊思云科科技有限公司 | One kind automation workman's job placement management system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012032978A (en) * | 2010-07-30 | 2012-02-16 | Norihide Jinbo | Attendance management system |
US20120203843A1 (en) * | 2011-02-03 | 2012-08-09 | International Business Machines Corporation | Contacting an unavailable user through a proxy using instant messaging |
CN104828028B (en) * | 2014-02-12 | 2019-02-26 | 韩磊 | The batteries of electric automobile group of the multiple robot compositions of computer internet replaces system |
CN104123612B (en) * | 2014-07-11 | 2017-11-07 | 浙江工业大学 | Assembly line station data acquisition integrated set system |
CN104580453B (en) * | 2014-12-30 | 2018-02-09 | 武汉华科道普轨道交通信息技术有限公司 | Track traffic safe construction information service pushing system based on position and task |
CN106507306A (en) * | 2016-11-07 | 2017-03-15 | 珠海市魅族科技有限公司 | A kind of position information of contact display packing and device |
-
2018
- 2018-06-27 CN CN201810681205.9A patent/CN108898646B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102004623A (en) * | 2010-11-29 | 2011-04-06 | 深圳市九洲电器有限公司 | Three-dimensional image display device and method |
CN103912145A (en) * | 2012-12-31 | 2014-07-09 | 太仓市森茂汽车城开发有限公司 | Row exhibition room |
CN105404703A (en) * | 2014-09-10 | 2016-03-16 | 贝里斯商上品开发有限公司 | Realistic article replacing method with composite option |
CN105306549A (en) * | 2015-09-28 | 2016-02-03 | 北京奇虎科技有限公司 | Visualization method and device for terminal location distribution |
CN106909364A (en) * | 2015-12-23 | 2017-06-30 | 北京奇虎科技有限公司 | A kind of displaying method of terminal and visualization device |
CN107220806A (en) * | 2017-05-23 | 2017-09-29 | 合肥昊思云科科技有限公司 | One kind automation workman's job placement management system |
Also Published As
Publication number | Publication date |
---|---|
CN108898646A (en) | 2018-11-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108874292B (en) | Comment display method and device and intelligent interactive panel | |
US20150278732A1 (en) | Emergency services dispatch system with dynamic rostering of resources | |
CN110609654B (en) | Data synchronous display method, device and equipment and teleconferencing system | |
US10565560B2 (en) | Alternative people charting for organizational charts | |
CN102436663A (en) | User equipment, server, and method for selectively filtering augmented reality | |
US11961051B1 (en) | Integrated system for producing procedural data change sets communicated to client devices | |
US20200042793A1 (en) | Creating, managing and accessing spatially located information utilizing augmented reality and web technologies | |
US20150281927A1 (en) | Emergency services dispatch system with user-defined resource restrictions | |
CN205656670U (en) | School comPower intelligence campus platform system equipment | |
CN110520879A (en) | Stop situation display system and stop condition display method | |
US7979063B2 (en) | System and method for reshaping customer areas of a telecommunications carrier | |
CN105550373A (en) | Method, device and system for displaying data | |
KR20150109080A (en) | Mobile system for serving work by using chating program | |
CN108898646B (en) | Office area display method and terminal equipment | |
CN105787568A (en) | IDC machine room equipment presentation method | |
JP5939285B2 (en) | Drawing control apparatus, information sharing system, drawing control method, and drawing control program | |
US6832122B1 (en) | System and method for comparing electronics manufacturing data | |
CN103281441B (en) | Method for previewing schedule on terminal and terminal | |
CN112667759B (en) | Space management method and system based on visual map and electronic equipment | |
CN106909364A (en) | A kind of displaying method of terminal and visualization device | |
JPH05316107A (en) | Conference support system | |
CN104573158A (en) | Pattern amplifying method and device in topological graph | |
KR101475287B1 (en) | Apparatus and method for managing spatial information | |
CN118196919A (en) | System and method for checking attendance by seat | |
CN107402698A (en) | A kind of image display method |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20230228 |