CN115904350A - Hotel system layout page updating method and device and electronic equipment - Google Patents

Hotel system layout page updating method and device and electronic equipment Download PDF

Info

Publication number
CN115904350A
CN115904350A CN202211620032.2A CN202211620032A CN115904350A CN 115904350 A CN115904350 A CN 115904350A CN 202211620032 A CN202211620032 A CN 202211620032A CN 115904350 A CN115904350 A CN 115904350A
Authority
CN
China
Prior art keywords
hotel system
configuration information
layout
layout configuration
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211620032.2A
Other languages
Chinese (zh)
Inventor
郑泽鹏
梁伟旋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Konka Electronic Technology Co Ltd
Original Assignee
Shenzhen Konka Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Konka Electronic Technology Co Ltd filed Critical Shenzhen Konka Electronic Technology Co Ltd
Priority to CN202211620032.2A priority Critical patent/CN115904350A/en
Publication of CN115904350A publication Critical patent/CN115904350A/en
Pending legal-status Critical Current

Links

Images

Abstract

The disclosure provides a hotel system layout page updating method and device and electronic equipment, wherein the method comprises the following steps: determining a control area on the canvas; configuring a control in a control area to generate layout configuration information of the hotel system; sending a notification message to the hotel system terminal, wherein the notification message is used for notifying the hotel system terminal of the existence of layout configuration information; and receiving and responding to a layout configuration information request sent by the hotel system terminal, and sending the layout configuration information to the hotel system terminal so that the hotel system terminal can update the layout page of the hotel system according to the layout configuration information. Through the method and the device, the problems that in the related art, the hotel system needs secondary development for adjusting the layout, the development time period is long, and the market demand is difficult to respond quickly are solved, the purpose that the secondary development is not needed, the matched what you see is what you get is achieved, the change of the business demand is met, and the effect of quick response is achieved.

Description

Hotel system layout page updating method and device and electronic equipment
Technical Field
The invention relates to the technical field of computers, in particular to a hotel system layout page updating method and device and electronic equipment.
Background
With the rapid development of the internet and the popularization of intelligent equipment terminals, more and more hotels are equipped with hotel system terminals in guest rooms and various indoor and outdoor public areas. The hotel system terminal becomes a new way for customers to interact with the hotel party. The customers can carry out various conventional customer services such as watching videos, ordering, delivering things and the like on the hotel system, and can also browse information such as peripheral travel, hotel facilities and the like provided by various restaurant parties. The hotel system not only provides the customer with the customer service but also is a way for displaying hotel information. Such an important portal is important to be able to adapt to market and hotel traffic fast responses. The conventional hotel system interface style display is single and fixed, and the styles such as simple resource allocation, typesetting layout and the like can not be adjusted in time. If secondary development is needed for adjusting the layout, the development time period is long, and the market demand is difficult to respond quickly.
At present, no effective solution is provided for the problems of long development time period and difficulty in fast response to market demands caused by secondary development required by hotel systems to adjust layouts in the related art.
Disclosure of Invention
The disclosure aims to overcome the defects in the prior art, and provides an updating method, an updating device, an electronic device and a computer-readable storage medium for a layout page of a hotel system, so as to solve at least the problems that in the related art, the hotel system needs to adjust the layout and needs secondary development, so that the development time period is long, and the market demand is difficult to respond quickly.
According to an aspect of the present disclosure, there is provided an updating method for a layout page of a hotel system, including:
determining a control area on the canvas;
configuring the control in the control area to generate layout configuration information of the hotel system;
sending a notification message to a hotel system terminal, wherein the notification message is used for notifying the hotel system terminal of the existence of the layout configuration information;
and receiving and responding to a layout configuration information request sent by the hotel system terminal, and sending the layout configuration information to the hotel system terminal so that the hotel system terminal updates a layout page of the hotel system according to the layout configuration information.
According to another aspect of the present disclosure, there is provided an updating method for a layout page of a hotel system, including:
receiving a notification message sent by a server, wherein the notification message is used for indicating that layout configuration information to be updated exists;
sending a layout configuration information request to the server;
receiving the layout configuration information sent by the server end in response to the layout configuration information request;
analyzing the layout configuration information to generate a control of a corresponding type;
and loading the control into a layout page of the hotel system to update the layout page of the hotel system.
According to another aspect of the present disclosure, an apparatus for updating a layout page of a hotel system is provided, including:
the determining unit is used for determining a control area on the canvas;
the generating unit is used for configuring the control in the control area and generating layout configuration information of the hotel system;
a first sending unit, configured to send a notification message to a hotel system terminal, where the notification message is used to notify the hotel system terminal that the layout configuration information exists;
the hotel system comprises a first receiving unit and a second receiving unit, wherein the first receiving unit is used for receiving and responding to a layout configuration information request sent by the hotel system terminal, and sending the layout configuration information to the hotel system terminal so that the hotel system terminal can update a layout page of the hotel system according to the layout configuration information.
According to another aspect of the present disclosure, an apparatus for updating a layout page of a hotel system is provided, including:
a second receiving unit, configured to receive a notification message sent by a server, where the notification message is used to indicate that layout configuration information to be updated exists;
a second sending unit, configured to send a layout configuration information request to the server;
a third receiving unit, configured to receive the layout configuration information sent by the server in response to the layout configuration information request;
the analysis unit is used for analyzing the layout configuration information to generate a control of a corresponding type;
and the updating unit is used for loading the control into a layout page of the hotel system so as to update the layout page of the hotel system.
According to another aspect of the present disclosure, there is provided an electronic device including:
a processor; and
a memory for storing a program, wherein the program is stored in the memory,
wherein the program comprises instructions that when executed by the processor cause the processor to perform the hotel system layout page update method of the present disclosure.
According to another aspect of the present disclosure, a non-transitory computer-readable storage medium is provided that stores computer instructions for causing the computer to perform the method of updating the hotel system layout page in the present disclosure.
According to one or more technical schemes provided in the embodiment of the disclosure, the layout configuration information of the hotel system is edited and configured by the server, the layout configuration information is sent to the hotel terminal system after configuration is completed, and the hotel system terminal analyzes the layout configuration information to generate a layout page as same as the server preview.
Drawings
Further details, features and advantages of the disclosure are disclosed in the following description of exemplary embodiments, taken in conjunction with the accompanying drawings, in which:
figure 1 illustrates a flow chart of an update method for a hotel system layout page according to an exemplary embodiment of the present disclosure;
figure 2 illustrates a flow chart of a method of updating a hotel system layout page according to another exemplary embodiment of the present disclosure;
figure 3 shows a schematic diagram of a hospitality system layout page configuration process, according to an exemplary embodiment of the present disclosure;
FIG. 4 illustrates a schematic diagram of a layout property abstraction model according to an exemplary embodiment of the present disclosure;
FIG. 5 illustrates a diagram of a layout configuration canvas of a background server according to an exemplary embodiment of the present disclosure;
FIG. 6 illustrates a diagram of a background server configuring a control region on a layout configuration canvas according to an exemplary embodiment of the present disclosure;
FIG. 7 shows a diagram of a background server configuring controls on a layout configuration canvas according to an example embodiment of the present disclosure;
figure 8 shows a schematic diagram of a layout page after a hotel system loads layout configuration information, according to an example embodiment of the present disclosure;
figure 9 shows a schematic block diagram of an update apparatus for a hotel system layout page according to an exemplary embodiment of the present disclosure;
figure 10 shows a schematic block diagram of an updating apparatus for a hotel system layout page according to another exemplary embodiment of the present disclosure;
FIG. 11 illustrates a block diagram of an exemplary electronic device that can be used to implement embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein is intended to be open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description. It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The following technical terms are explained first:
CS architecture: the client-side server-side architecture comprises one or more programs running on a computer of a user, and two server sides, namely a database server side, wherein the client-side accesses data of the server side through database connection; the other is a Socket server side, and a program of the server side is communicated with a program of the client side through a Socket.
HTTP(s) Hyper Text Transfer Protocol (over secure desktop Layer).
MQTT: the Message Queuing Telemetry Transport protocol is a lightweight communication protocol based on a publish/subscribe (publish/subscribe) mode, and is constructed on a TCP/IP protocol.
SQLite: is a lightweight database, is an ACID-compliant relational database management system, and is contained in a relatively small C library.
Aspects of the present disclosure are described below with reference to the accompanying drawings.
The disclosed exemplary embodiment provides an updating method of a layout page of a hotel system. The hotel system layout page updating method of the embodiment can be executed by the server. Fig. 1 shows a flowchart of an updating method of a hotel system layout page according to an exemplary embodiment of the present disclosure, as shown in fig. 1, the method includes the following steps:
step S101, determining a control area on a canvas;
step S102, configuring the control in the control area to generate layout configuration information of the hotel system;
step S103, sending a notification message to a hotel system terminal, wherein the notification message is used for notifying the hotel system terminal of the existence of the layout configuration information;
and step S104, receiving and responding to a layout configuration information request sent by the hotel system terminal, and sending the layout configuration information to the hotel system terminal so that the hotel system terminal can update a layout page of the hotel system according to the layout configuration information.
In some embodiments, the configuring the control in the control area, and the generating the layout configuration information of the hotel system includes:
configuring the display type of the control and the jump information of the control, wherein the layout configuration information comprises: the position information of the control area, the display type of the control and the jump information of the control.
In some of these embodiments, the embodiment further comprises:
message communication is carried out between the terminal and the hotel system in an MQTT mode;
the hotel system terminal transmits data in an HTTP mode;
and the data format of the layout configuration information is JSON.
Through the steps, after the server side configures the layout configuration information of the hotel system, the hotel system terminal is informed by adopting the MQTT message, and then the configured layout configuration information is sent to the hotel system terminal by adopting the HTTP request, so that the hotel system terminal updates the layout page of the hotel system according to the received layout configuration information, and the problems that in the related technology, the development time period is long and the market demand is difficult to respond quickly due to the fact that the hotel system needs secondary development when the layout needs to be adjusted are solved.
The disclosed exemplary embodiment provides an updating method of a layout page of a hotel system. The hotel system layout page updating method of the embodiment can be executed by the hotel system terminal. Fig. 2 shows a flowchart of an updating method of a hotel system layout page according to another exemplary embodiment of the present disclosure, as shown in fig. 2, the method includes the following steps:
step S201, receiving a notification message sent by a server, wherein the notification message is used for indicating that layout configuration information to be updated exists;
step S202, sending a layout configuration information request to the server;
step S203, receiving the layout configuration information sent by the server end responding to the layout configuration information request;
step S204, analyzing the layout configuration information to generate a control of a corresponding type;
and S205, loading the control into a layout page of the hotel system to update the layout page of the hotel system.
In some embodiments, parsing the layout configuration information and generating a control of a corresponding type includes:
analyzing the layout configuration information, and configuring the position information of the control, the display type of the control and the skip information of the control, wherein the layout configuration information comprises: the position information of the control, the display type of the control and the skip information of the control.
In some of these embodiments, the embodiment further comprises:
the server side carries out message communication by adopting an MQTT mode;
data transmission is carried out between the server side and the server side in an HTTP mode;
and the data format of the layout configuration information is JSON.
Through the steps, after receiving the notification message sent by the server and notifying that the layout configuration information to be updated exists, the hotel system terminal sends a layout configuration information request to the server, and after receiving the layout configuration information sent by the server, analyzes and generates a control and loads the control into the hotel system layout pages one by one, so that the hotel system terminal updates the layout pages of the hotel system according to the received layout configuration information, and the problems that in the related art, the hotel system needs secondary development for layout adjustment, the development time period is long, and the market demand is difficult to respond quickly are solved.
The embodiment of the disclosure aims to create a set of interface updating scheme which can quickly and flexibly respond to market and hotel services. The layout configuration information of the hotel system is edited and configured by the background server, the layout configuration information is sent to the hotel system terminal after configuration is completed, and the hotel system terminal analyzes the layout configuration information to generate the layout same as background preview. The allocated WYSIWYG is achieved, the change of service requirements is met, and the quick response is realized. The hotel system terminal is connected with the background in real time by using MQTT long connection, and layout configuration information in a JSON format is received and stored into an SQLite database.
The technical scheme of the embodiment of the disclosure mainly comprises the following steps:
1) And the CS framework is adopted to realize the resource integration of the user terminal.
2) And (3) adopting an HTTP(s) protocol to pull cloud data and make a user terminal operation request.
3) And carrying out long connection communication by adopting MQTT communication.
4) JSON is adopted as the data transmission format type.
The use scenario of the disclosed embodiment is as follows:
the hotel system terminal is subjected to batch automatic management, and can perform targeted distribution configuration and push for different hotels and even different rooms.
As shown in fig. 3, the implementation process of the embodiment of the present disclosure is described as follows:
and editing a layout style by a cloud layout management platform at a background server, editing and configuring node data, including the node style and the skip configuration, and generating layout page information. And then the background server side pushes the layout configuration information to the hotel system terminal. And analyzing the layout configuration information at a terminal system, namely a hotel system terminal, generating layout nodes comprising configuration node style information and configuration skip information, generating a layout, and displaying a layout page of the hotel system. The layout attribute abstract model may be as shown in fig. 4, where the layout information includes position, width, height, and the like, and the skip information includes entry, class name, pattern, and the like.
The method specifically comprises the following steps:
(1) The background server will provide a canvas (as shown in fig. 5), and the user can drag a specific control area (as shown in fig. 6) at a desired position in a manner similar to a drawing on the canvas.
(2) After the control region is determined, the control may be configured (as shown in fig. 7). And (3) configuring the display type of the control: pictures, videos, and text, etc. The jump information of the control and the packet name class name of the jump path can be configured. Support for application internal hopping also supports external hopping.
(3) After the layout information configuration is completed, the background system can issue an MQTT message to prompt a terminal user of the hotel system that new layout configuration information exists. After receiving the message notification, the hotel system terminal triggers an HTTP request to pull up the latest layout configuration information JSON.
(4) The hotel system terminal develops and analyzes the layout configuration information, generates native controls of corresponding types, fills the contents and the skip information of the native controls, and loads the controls into a layout page one by one.
(5) After all the controls are loaded successfully, a new configuration layout page (as shown in fig. 8) will be generated.
It should be noted that the steps illustrated in the above-described flow diagrams or in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order different than here.
The exemplary embodiment of the present disclosure further provides an updating apparatus for a layout page of a hotel system, where the apparatus is used to implement the foregoing embodiment and preferred embodiments, and the description already made is omitted. As used below, the terms "module," "unit," "sub-unit," and the like may implement a combination of software and/or hardware of predetermined functions. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware or a combination of software and hardware is also possible and contemplated.
Fig. 9 shows a schematic block diagram of an updating apparatus of a hotel system layout page according to an exemplary embodiment of the present disclosure, and as shown in fig. 9, the apparatus includes:
a determining unit 91, configured to determine a control area on the canvas;
the generating unit 92 is configured to configure the control in the control area, and generate layout configuration information of the hotel system;
a first sending unit 93, configured to send a notification message to a hotel system terminal, where the notification message is used to notify the hotel system terminal that the layout configuration information exists;
a first receiving unit 94, configured to receive and respond to the layout configuration information request sent by the hotel system terminal, and send the layout configuration information to the hotel system terminal, so that the hotel system terminal updates the layout page of the hotel system according to the layout configuration information.
In some of these embodiments, the generating unit 92 includes:
a first configuration module, configured to configure a display type of the control and jump information of the control, where the layout configuration information includes: the position information of the control area, the display type of the control and the jump information of the control.
In some of these embodiments, the apparatus further comprises:
the first communication unit is used for carrying out message communication with the hotel system terminal in an MQTT mode;
the second communication unit is used for carrying out data transmission with the hotel system terminal in an HTTP mode;
and the data format of the layout configuration information is JSON.
Fig. 10 shows a schematic block diagram of an updating apparatus of a hotel system layout page according to another exemplary embodiment of the present disclosure, as shown in fig. 10, the apparatus includes:
a second receiving unit 101, configured to receive a notification message sent by a server, where the notification message is used to indicate that layout configuration information to be updated exists;
a second sending unit 102, configured to send a layout configuration information request to the server;
a third receiving unit 103, configured to receive the layout configuration information sent by the server in response to the layout configuration information request;
the analysis unit 104 is configured to analyze the layout configuration information to generate a control of a corresponding type;
an updating unit 105, configured to load the control into a layout page of the hotel system, so as to update the layout page of the hotel system.
In some of these embodiments, parsing unit 104 includes:
a second configuration module, configured to analyze the layout configuration information, and configure the position information of the control, the display type of the control, and the skip information of the control, where the layout configuration information includes: the position information of the control, the display type of the control and the skip information of the control.
In some of these embodiments, the apparatus further comprises:
the third communication unit is used for carrying out message communication with the server side by adopting an MQTT mode;
the fourth communication unit is used for carrying out data transmission with the server side in an HTTP mode;
and the data format of the layout configuration information is JSON.
It should be noted that the above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
An exemplary embodiment of the present disclosure also provides an electronic device including: at least one processor; and a memory communicatively coupled to the at least one processor. The memory stores a computer program executable by the at least one processor, the computer program, when executed by the at least one processor, is for causing the electronic device to perform a method according to an embodiment of the disclosure.
The exemplary embodiments of the present disclosure also provide a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is adapted to cause the computer to perform a method according to an embodiment of the present disclosure.
The exemplary embodiments of the present disclosure also provide a computer program product comprising a computer program, wherein the computer program, when executed by a processor of a computer, is adapted to cause the computer to perform a method according to an embodiment of the present disclosure.
Referring to fig. 11, a block diagram of a structure of an electronic device 1100, which may be a server or a client of the present disclosure, which is an example of a hardware device that may be applied to aspects of the present disclosure, will now be described. Electronic device is intended to represent various forms of digital electronic computer devices, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 11, the electronic device 1100 includes a computing unit 1101, which can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 1102 or a computer program loaded from a storage unit 1108 into a Random Access Memory (RAM) 1103. In the RAM 1103, various programs and data necessary for the operation of the device 1100 may also be stored. The calculation unit 1101, the ROM 1102, and the RAM 1103 are connected to each other by a bus 1104. An input/output (I/O) interface 1105 is also connected to bus 1104.
A number of components in electronic device 1100 connect to I/O interface 1105, including: an input unit 1106, an output unit 1107, a storage unit 1108, and a communication unit 1109. The input unit 1106 may be any type of device capable of inputting information to the electronic device 1100, and the input unit 1106 may receive input numeric or character information and generate key signal inputs related to user settings and/or function controls of the electronic device. Output unit 1107 may be any type of device capable of presenting information and may include, but is not limited to, a display, speakers, a video/audio output terminal, a vibrator, and/or a printer. Storage unit 1108 may include, but is not limited to, a magnetic disk or an optical disk. The communication unit 1109 allows the electronic device 1100 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers and/or chipsets, such as bluetooth devices, wiFi devices, wiMax devices, cellular communication devices, and/or the like.
The computing unit 1101 can be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 1101 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and the like. The calculation unit 1101 performs the respective methods and processes described above. For example, in some embodiments, the update method of the hotel system layout page may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 1108. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 1100 via the ROM 1102 and/or the communication unit 1109. In some embodiments, the computing unit 1101 may be configured to perform the update method of the hotel system layout page by any other suitable means (e.g., by means of firmware).
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
As used in this disclosure, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.

Claims (10)

1. A method for updating a layout page of a hotel system is characterized by comprising the following steps:
determining a control area on the canvas;
configuring the control in the control area to generate layout configuration information of the hotel system;
sending a notification message to a hotel system terminal, wherein the notification message is used for notifying the hotel system terminal of the existence of the layout configuration information;
and receiving and responding to a layout configuration information request sent by the hotel system terminal, and sending the layout configuration information to the hotel system terminal so that the hotel system terminal updates a layout page of the hotel system according to the layout configuration information.
2. The method for updating a hotel system layout page as recited in claim 1, wherein the configuring the control in the control area, and the generating the layout configuration information of the hotel system comprises:
configuring the display type of the control and the jump information of the control, wherein the layout configuration information comprises: the position information of the control area, the display type of the control and the skip information of the control.
3. The method for updating a hotel system layout page of claim 1, further comprising:
message communication is carried out between the terminal and the hotel system in an MQTT mode;
data transmission is carried out between the terminal and the hotel system in an HTTP mode;
and the data format of the layout configuration information is JSON.
4. A method for updating a layout page of a hotel system is characterized by comprising the following steps:
receiving a notification message sent by a server, wherein the notification message is used for indicating that layout configuration information to be updated exists;
sending a layout configuration information request to the server;
receiving the layout configuration information sent by the server end responding to the layout configuration information request;
analyzing the layout configuration information to generate a control of a corresponding type;
and loading the control into a layout page of the hotel system to update the layout page of the hotel system.
5. The updating method of a hotel system layout page as recited in claim 4, wherein parsing the layout configuration information and generating the corresponding type of control comprises:
analyzing the layout configuration information, and configuring the position information of the control, the display type of the control and the skip information of the control, wherein the layout configuration information comprises: the position information of the control, the display type of the control and the skip information of the control.
6. The updating method of the hotel system layout page as recited in claim 4, further comprising:
the server side carries out message communication by adopting an MQTT mode;
the data transmission is carried out between the server and the server in an HTTP mode;
and the data format of the layout configuration information is JSON.
7. An updating apparatus for a layout page of a hotel system, comprising:
the determining unit is used for determining a control area on the canvas;
the generating unit is used for configuring the control in the control area and generating layout configuration information of the hotel system;
a first sending unit, configured to send a notification message to a hotel system terminal, where the notification message is used to notify the hotel system terminal that the layout configuration information exists;
the hotel system comprises a first receiving unit and a second receiving unit, wherein the first receiving unit is used for receiving and responding to a layout configuration information request sent by the hotel system terminal, and sending the layout configuration information to the hotel system terminal so that the hotel system terminal can update a layout page of the hotel system according to the layout configuration information.
8. An updating apparatus for a layout page of a hotel system, comprising:
a second receiving unit, configured to receive a notification message sent by a server, where the notification message is used to indicate that layout configuration information to be updated exists;
a second sending unit, configured to send a layout configuration information request to the server;
a third receiving unit, configured to receive the layout configuration information sent by the server in response to the layout configuration information request;
the analysis unit is used for analyzing the layout configuration information to generate a control of a corresponding type;
and the updating unit is used for loading the control into a layout page of the hotel system so as to update the layout page of the hotel system.
9. An electronic device, comprising:
a processor; and
a memory for storing the program, wherein the program is stored in the memory,
wherein the program comprises instructions which, when executed by the processor, cause the processor to perform the method of updating a hotel system layout page according to any one of claims 1-6.
10. A non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method for updating a hotel system layout page according to any one of claims 1-6.
CN202211620032.2A 2022-12-15 2022-12-15 Hotel system layout page updating method and device and electronic equipment Pending CN115904350A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211620032.2A CN115904350A (en) 2022-12-15 2022-12-15 Hotel system layout page updating method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211620032.2A CN115904350A (en) 2022-12-15 2022-12-15 Hotel system layout page updating method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN115904350A true CN115904350A (en) 2023-04-04

Family

ID=86491118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211620032.2A Pending CN115904350A (en) 2022-12-15 2022-12-15 Hotel system layout page updating method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115904350A (en)

Similar Documents

Publication Publication Date Title
US11405758B2 (en) Application managing application
WO2017088388A1 (en) Method and system for upgrading sdk of application
CN103268319A (en) Cloud browser based on webpages
CN103460723A (en) Push notifications for updating multiple dynamic icon panels
CN112260853B (en) Disaster recovery switching method and device, storage medium and electronic equipment
CN102594859B (en) A kind of rendering method of business datum, terminal, server and system
CN107347093B (en) Configuration method and device for distributed server system
CN114513552B (en) Data processing method, device, equipment and storage medium
EP2884410A1 (en) A method of operating a handheld mobile telecommunication device
CN109218402A (en) Hold cloud integrative solution
CN107741970B (en) Method and device for laying out main page
CN115904350A (en) Hotel system layout page updating method and device and electronic equipment
CN112486482A (en) Page display method and device
CN112187916B (en) Cross-system data synchronization method and device
CN114255084A (en) Advertisement page display method, device and system
CN113542424A (en) Data processing method, device, equipment and computer program product
CN113378346A (en) Method and device for model simulation
CN115474071B (en) Content display method, device, equipment and storage medium
CN114253520B (en) Interface code generation method and device
CN111062682B (en) Work order processing method and device
CN113495747B (en) Gray scale release method and device
US20220303347A1 (en) Message push method, apparatus, device and medium
CN117131302A (en) Service page generation method and device
CN115801777A (en) Widget component processing method, device, equipment, storage medium and program product
CN116016648A (en) Service preheating method and device

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