Ticket system architectureTechnical Field
The invention relates to the technical field of ticket business systems, in particular to a ticket business system architecture.
Background
The ticket business system utilizes high-tech product bar codes as passing electronic tickets, and combines a plurality of high-tech technologies such as an electronic technology, a bar code recording technology, a single-chip microcomputer technology, a dual-computer hot standby technology, an automatic control technology, a wireless transmission technology, a precision machining technology, a computer network technology, an encryption technology and the like, so that various entrance guard control management functions of ticket channels such as computer ticket selling, ticket checking, inquiring, summarizing, counting, reporting, anti-counterfeiting and the like are realized, the system has omnibearing real-time monitoring and management functions, and has remarkable economic benefits and social efficiency for improving the modern management level of each tourist attraction. However, when the cloud server of the scenic spot fails or the network of the scenic spot is not smooth, the normal sale inspection service of the scenic spot is affected, and the sale inspection efficiency of the scenic spot is further affected.
Disclosure of Invention
The invention aims to provide a ticketing system framework, which has the advantages that a terminal device has two modes of switching and connecting servers, when a cloud server fails or a scenic spot network is not smooth, switching can be performed rapidly, and bidirectional synchronization is performed in real time, so that the influence on normal sale and inspection services of the scenic spot is prevented, and the problem that the normal sale and inspection services of the scenic spot are influenced and the sale and inspection efficiency of the scenic spot is influenced when the cloud server of the scenic spot fails or the scenic spot network is not smooth is solved.
In order to achieve the purpose, the invention provides the following technical scheme: the utility model provides a ticketing system architecture, includes high in the clouds SaaS platform, local server, data transfer server, and high in the clouds SaaS platform passes through internet signal connection with data transfer server, and data transfer server passes through internet signal connection with local server, and the terminal equipment in scenic spot passes through the internet respectively with high in the clouds SaaS platform and local server signal connection.
Preferably, the cloud SaaS platform is a ticketing system deployed on a cloud server, and can be used for connecting multiple scenic areas simultaneously.
Preferably, the local server independently sets up a server for each scenic spot, deploys a localized customized version of the ticketing system, has the capability of providing ticketing services, and can be connected with the cloud server for function upgrade.
Preferably, the data transfer server is a data distribution system, and is a bridge for connecting the local server and the cloud SaaS platform, and a data synchronization transfer station.
Preferably, the data transfer server adopts a TCP protocol to perform two-way communication with the local server and the cloud SaaS platform.
Preferably, the terminal devices used in the scenic spot are all provided with intelligent monitoring network programs, the terminal devices are provided with two modes for switching the connection servers, one mode is manual switching, the other mode is automatic switching by judging the current network condition through an election mechanism by a program in the device, the detection frequency is once per second, and when the device continuously detects that the connection servers are abnormal for ten times, the mode switching is automatically carried out.
Compared with the prior art, the invention has the beneficial effects that: the method comprises the steps that an intelligent monitoring network program is installed on terminal equipment used in a scenic spot, the terminal equipment has two modes of switching a connection server, one mode is manual switching, the program in the equipment can judge the current network condition and automatically switch through an election mechanism, the detection frequency is once per second, when the equipment detects that the connection server is abnormal for ten times continuously, mode switching can be automatically carried out, based on the conditions, the terminal equipment in the scenic spot can select a local mode or a cloud mode to operate for a long time, when the cloud server fails or the scenic spot network is not smooth, the local mode can be quickly switched to the cloud mode to operate, otherwise, when the local server fails, as long as the network is smooth, the cloud mode can be quickly switched to operate, because the data is real-time bidirectional synchronous, if the synchronous data is not available, normal sale and inspection service in the scenic spot cannot be influenced, when the data of the cloud server changes, if the network at the moment is smooth, the local server can be synchronized in real-time, if the network is not available, the network can be immediately triggered when the data of the local server changes, the cloud server can be synchronized at the moment when the network is recovered, the cloud server is not available, the network can be immediately, if the cloud server is not available, the network can be immediately triggered, and the network can be immediately, the network can be immediately recovered.
Drawings
FIG. 1 is a system architecture diagram of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "upper", "lower", "inner", "outer", "front", "rear", "both ends", "one end", "the other end", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "disposed," "connected," and the like are to be construed broadly, such as "connected," which may be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
The technical scheme of the ticket system architecture provided by the invention is as follows:
a ticketing system architecture comprises a cloud SaaS platform, a local server and a data transfer server, wherein the cloud SaaS platform is in signal connection with the data transfer server through the Internet, the data transfer server is a data distribution system and is a bridge for connecting the local server and the cloud SaaS platform, a transfer station for data synchronization is arranged on the cloud SaaS platform, the cloud SaaS platform is a ticketing system arranged on a cloud server and can be used for connecting multiple scenic spots at the same time, the data transfer server is in signal connection with the local server through the Internet, the data transfer server adopts a TCP protocol to perform two-way communication with the local server and the cloud SaaS platform, the local server independently sets up a server for each scenic spot, a localized customized version of the ticketing system is arranged, the ticketing system architecture has the capability of providing ticketing services, the function upgrading can be performed by connecting with the local server, and terminal equipment in the scenic spots is in signal connection with the cloud SaaS platform and the local server through the Internet.
The method comprises the steps that intelligent monitoring network programs are installed on terminal equipment used in a scenic spot, the terminal equipment has two modes of switching a connection server, one mode is manual switching, the program in the equipment can judge the current network condition and automatically switch through an election mechanism, the detection frequency is once per second, when the equipment detects that the connection server is abnormal for ten times continuously, mode switching can be automatically carried out, based on the conditions, the terminal equipment in the scenic spot can select a local mode or a cloud mode to operate for a long time, when the cloud server fails or the scenic spot network is not smooth, the local mode can be quickly switched to the cloud mode to operate, otherwise, when the local server fails, as long as the network is smooth, the cloud mode can be quickly switched to operate, because the data is real-time bidirectional synchronous, if the synchronous data is not, normal sale and inspection service of the scenic spot cannot be influenced, when the data of the cloud server changes, if the network at the moment is smooth, the local server can be synchronized in real-time, if the network is not synchronized at the moment, the network is recovered, the network is immediately triggered, and when the data of the local server is changed, the cloud server is not synchronized at the moment, the cloud server can be immediately recovered, and the network synchronization can be immediately triggered.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.