CN111354124A - Intelligent Internet of things vending system, service equipment and vending machine - Google Patents
Intelligent Internet of things vending system, service equipment and vending machine Download PDFInfo
- Publication number
- CN111354124A CN111354124A CN202010166810.XA CN202010166810A CN111354124A CN 111354124 A CN111354124 A CN 111354124A CN 202010166810 A CN202010166810 A CN 202010166810A CN 111354124 A CN111354124 A CN 111354124A
- Authority
- CN
- China
- Prior art keywords
- module
- vending machine
- fault
- service
- interface
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F9/00—Details other than those peculiar to special kinds or types of apparatus
- G07F9/02—Devices for alarm or indication, e.g. when empty; Advertising arrangements in coin-freed apparatus
- G07F9/026—Devices for alarm or indication, e.g. when empty; Advertising arrangements in coin-freed apparatus for alarm, monitoring and auditing in vending machines or means for indication, e.g. when empty
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/20—Administration of product repair or maintenance
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/16—Threshold monitoring
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Resources & Organizations (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Entrepreneurship & Innovation (AREA)
- Marketing (AREA)
- Quality & Reliability (AREA)
- Theoretical Computer Science (AREA)
- Accounting & Taxation (AREA)
- Economics (AREA)
- Operations Research (AREA)
- Environmental & Geological Engineering (AREA)
- Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the invention provides an intelligent Internet of things vending system, service equipment and a vending machine, wherein the system comprises: service equipment, vending machines; the vending machine includes: the system comprises a first communication module, a flow recording module, a fault analysis module and a service module; the service apparatus includes: the system comprises a second communication module, a flow query module, a fault query module and a business service module; the first communication module is in communication connection with the second communication module; the flow recording module is used for recording the real-time flow of the vending machine; the flow query module is used for querying the real-time flow recorded by the flow recording module of the corresponding vending machine; the fault analysis module is used for analyzing the fault type when the vending machine has a fault; the fault query module is used for querying whether the corresponding vending machine has a fault or not and the fault type when the corresponding vending machine has the fault; the business module is used for selling business; and the business service module is used for serving the selling business of the vending machine.
Description
Technical Field
The embodiment of the invention relates to the technical field of selling systems, in particular to an intelligent Internet of things selling system, service equipment and a vending machine.
Background
Although the vending system in the prior art can query some information of the vending machine, the information is not complete enough, and the analysis of some flow and faults is not accurate enough, which is not beneficial to the maintenance of the vending machine.
Therefore, how to provide an intelligent internet of things vending system scheme can facilitate maintenance and provide more convenient management and use experience for users, which is a technical problem to be solved urgently by technical personnel in the field.
Disclosure of Invention
Therefore, the intelligent Internet of things vending system, the service equipment and the vending machine are provided by the embodiment of the invention, the intelligent Internet of things vending system can be maintained conveniently, and more convenient management and use experience are provided for users.
In order to achieve the above object, the embodiments of the present invention provide the following technical solutions:
in a first aspect, an embodiment of the present invention provides an intelligent internet of things vending system, including: service equipment, vending machines;
the vending machine includes: the system comprises a first communication module, a flow recording module, a fault analysis module and a service module;
the service apparatus includes: the system comprises a second communication module, a flow query module, a fault query module and a business service module;
the first communication module is in communication connection with the second communication module;
the flow recording module is used for recording the real-time flow of the vending machine;
the flow query module is used for querying the real-time flow recorded by the flow recording module of the corresponding vending machine;
the fault analysis module is used for analyzing the fault type when the vending machine has a fault;
the fault query module is used for querying whether the corresponding vending machine has a fault or not and the fault type when the corresponding vending machine has the fault;
the business module is used for selling business; and the business service module is used for serving the selling business of the vending machine.
Preferably, the service apparatus further includes:
the flow recording module is used for recording the real-time flow value of the vending machine;
the flow abnormity analysis module is used for judging whether the real-time flow value of the vending machine exceeds a preset threshold value or not;
and the flow abnormity alarm module is used for sending alarm information if the real-time flow value of the vending machine exceeds a preset threshold value.
Preferably, the service apparatus further includes:
the fault recording module is used for recording the fault type of the vending machine;
the fault recovery module is used for remotely repairing the vending machine with the fault type of slight fault;
and the fault reminding module is used for reminding the field repairer of the fault component when the fault type is a serious fault.
Preferably, the first communication module includes: WiFi module, thing networking communication module, two kinds at least in the mobile communication module.
Preferably, the business service module includes:
the shipment interface: an interface for sending an outgoing message to the vending machine in real time. This is the most important function of the system and is strictly checked for necessary parameters. When the user finishes scanning the code and paying on the vending machine, the interfaces are called, necessary parameters such as order information, payment mode, machine number and the like are transmitted, and the system transmits the transmitted information to the vending machine and finishes goods delivery.
A general message push interface: the system is basically similar to the goods outlet interface, is convenient to send other messages to the vending machine, has fewer check parameters than the goods outlet interface, only checks general necessary parameters, is convenient to expand services, and additionally sends messages to the vending machine;
the vending machine online query interface: inquiring the network connection state of the appointed vending machine and the system, online or offline, verifying the network connection state of the client before the user pays and sends a shipment message to the client, normally selling the commodity only under the condition of normal network, otherwise, the following operation cannot be continued, and the parameters required by the interface are the number of the vending machine;
and (4) querying a commodity information interface: acquiring commodity configuration information of a specified vending machine, wherein the commodity configuration information comprises a commodity number, a commodity name and a price;
the commodity preferential information interface: sending a commodity information interface with preferential information to a specified vending machine, configuring the preferential information by other systems and calling the interface to send the preferential information to a client, wherein parameters required by the interface are the number of the vending machine;
synchronizing the merchandise information to the vending machine interface: after the commodity information is changed, sending the commodity information to a vending machine, wherein parameters required by an interface are vending machine numbers;
query vending machine skin interface: the client displays the skin setting information on a large screen to obtain, and parameters required by the interface are the serial numbers of the vending machine.
Preferably, the service apparatus includes: n servers, a redis database and a zookeeper server;
the N servers are respectively provided with a communication module and a service module;
when the server is started, the N servers respectively register a Redis database and a Zookeeper server, and when a system cluster is deployed, the cluster is realized by means of the Zookeeper;
the Redis database is used for storing cluster service node addresses, and the Zookeeper server is used for cluster registration service.
Preferably, the service device connection module records the client number and the system node address connected with the client into a Redis database;
calling a business service module interface, such as a shipment interface, and sending a shipment message to the machine;
the service module inquires the service node address of the Redis acquisition device through the number of the vending machine, and sends a shipment message to a connection module of a designated node (the steps of verifying the network state of the device are the same);
receiving the shipment information and directly sending the shipment information to the client equipment;
the vending machine responds to the shipment message.
Preferably, the vending machine and the service device communicate with each other through the following message protocols:
type: a message type identifying what this message is, a string type;
vmID: machine number, message identifying which client machine, string type;
cn: the unique message identification is used when the message is synchronized, and a timestamp and a character string type can be used;
the vending machine and the service equipment message are of a json character string type.
In a second aspect, an embodiment of the present invention provides a service device, which is applied to the intelligent internet of things vending system according to any one of the first aspects, and includes: the system comprises a second communication module, a flow query module, a fault query module and a business service module;
the first communication module is in communication connection with the second communication module;
the flow query module is used for querying the real-time flow recorded by the flow recording module of the corresponding vending machine;
the fault query module is used for querying whether the corresponding vending machine has a fault or not and the fault type when the corresponding vending machine has the fault;
and the business service module is used for serving the selling business of the vending machine.
In a third aspect, an embodiment of the present invention provides a vending machine, which is applied to the intelligent internet of things vending system according to any one of the first aspects, and includes: the system comprises a first communication module, a flow recording module, a fault analysis module and a service module;
the first communication module is in communication connection with the second communication module;
the flow recording module is used for recording the real-time flow of the vending machine;
the fault analysis module is used for analyzing the fault type when the vending machine has a fault;
the business module is used for selling business.
The embodiment of the invention provides an intelligent Internet of things vending system, which comprises: service equipment, vending machines; the vending machine includes: the system comprises a first communication module, a flow recording module, a fault analysis module and a service module; the service apparatus includes: the system comprises a second communication module, a flow query module, a fault query module and a business service module; the first communication module is in communication connection with the second communication module; the flow recording module is used for recording the real-time flow of the vending machine; the flow query module is used for querying the real-time flow recorded by the flow recording module of the corresponding vending machine; the fault analysis module is used for analyzing the fault type when the vending machine has a fault; the fault query module is used for querying whether the corresponding vending machine has a fault or not and the fault type when the corresponding vending machine has the fault; the business module is used for selling business; the business service module is used for serving the selling business of the vending machine, can be maintained conveniently, and provides more convenient management and use experience for users.
The intelligent Internet of things vending system, the service equipment and the vending machine provided by the embodiment of the invention have the same beneficial effects, and are not repeated.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It should be apparent that the drawings in the following description are merely exemplary, and that other embodiments can be derived from the drawings provided by those of ordinary skill in the art without inventive effort.
The structures, ratios, sizes, and the like shown in the present specification are only used for matching with the contents disclosed in the specification, so as to be understood and read by those skilled in the art, and are not used to limit the conditions that the present invention can be implemented, so that the present invention has no technical significance, and any structural modifications, changes in the ratio relationship, or adjustments of the sizes, without affecting the effects and the achievable by the present invention, should still fall within the range that the technical contents disclosed in the present invention can cover.
Fig. 1 is a schematic composition diagram of an intelligent internet-of-things vending system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of zookeeper registration provided by an embodiment of the present invention;
fig. 3 is an interaction diagram of a vending machine and a service device according to an embodiment of the present invention.
Detailed Description
The present invention is described in terms of particular embodiments, other advantages and features of the invention will become apparent to those skilled in the art from the following disclosure, and it is to be understood that the described embodiments are merely exemplary of the invention and that it is not intended to limit the invention to the particular embodiments disclosed. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating a vending system of an intelligent internet of things according to an embodiment of the present invention.
In an embodiment of the present invention, an embodiment of the present invention provides an intelligent internet of things vending system, including: the service apparatus 100, the vending machine 200; the vending machine 200 comprises: a first communication module 210, a flow recording module 220, a fault analysis module 230, and a service module 240; the service apparatus 100 includes: a second communication module 110, a traffic query module 120, a fault query module 130, and a service module 140; the first communication module 210 is in communication connection with the second communication module 110; the flow recording module 220 is configured to record a real-time flow of the vending machine 200; the flow query module 120 is configured to query a real-time flow recorded by the flow recording module 220 of the corresponding vending machine 200; the failure analysis module 230 is configured to analyze a failure type when the vending machine 200 fails; the failure query module 130 is configured to query whether the corresponding vending machine 200 fails and a failure type when the failure occurs; the service module 240 is configured to perform a selling service; the service module 140 is used for servicing the selling service of the vending machine 200.
The intelligent internet of things vending system provided by the embodiment of the invention is a service system for providing communication for the vending machine 200, and the system is divided into the service module 240 and the long connection module, the system has no interface, the long connection module provides a TCP (transmission control protocol) connection port for accessing a client machine, the service module 240 provides http, dubbo and thrift interfaces, and the client machine can communicate with a server after accessing the system. The system may send shipment messages to the machine, query the machine network status, the client machine (i.e., vending machine 200) may obtain merchandise information through the system, upload other information from the machine, etc.
First, the vending machine 200 needs to be communicatively connected to the service device 100, and in order to enable the client on the vending machine 200 to access, the system uses an apache mina network communication application framework, which is a framework capable of helping the user to develop a high-performance and high-scalability network application program. The development of clients requires the introduction of this framework package.
Server side code example:
IoAcceptoracceptor=newNioSocketAcceptor();
acceptor.setHandler(newServerHandler());
v. open address and port to receive client connection &
acceptor.bind(newInetSocketAddress(port));
As shown by the codes, the server side provides a port for receiving the connection of the client side, and the client side only needs to be configured with relevant configuration, and can access the system by using the address and the port.
Client code example:
creation of client connector
IoConnectorconnector=newNioSocketConnector();
connector.getSessionConfig().setReadBufferSize(2048);
connector.getSessionConfig().setMaxReadBufferSize(10485760);
connector.setHandler(newClientHandler());
Creation of a connection using a server address and a port
SocketAddresssocketAddress=newInetSocketAddress(host,port);
ConnectFuturefuture=connector.connect(socketAddress);
V. wait for connection creation to complete
future.awaitUninterruptibly();
IoSessionsession=future.getSession();
V. sending a message to the service
Session.write(message);
As shown in the above codes, in the code example of accessing the server by the client, the client needs to introduce an Apache Mina framework packet, and can connect to the server by using the address and the designated port of the server, and after the connection is established, a defined message can be sent to the server.
Further, the client needs to define a message protocol with the server, the message is of a json character string type, and contains necessary data values, and the necessary values are required:
type: message type, identifying what this message is, string type
vmID: machine number, message identifying which client machine, string type
cn: unique message identification, use in synchronizing messages, time stamp, string type
Each message must contain the above three attribute values, other attribute values can be customized, the server and the client are well defined, and the message is analyzed when the message is received. The vending machine 200 and the service device 100 communicate with each other through the following message protocol, and the messages of the vending machine 200 and the service device 100 are of a json character string type.
The server opens the port and the server domain name to facilitate the access of the client, and the specific domain name and the port are consulted by related personnel of the server.
Furthermore, it may also be monitored whether the vending machine 200 has a traffic anomaly, so as to perform a timely process, and specifically, the service device 100 further includes:
a flow recording module 220, configured to record a real-time flow value of the vending machine 200;
the flow anomaly analysis module is used for judging whether the real-time flow value of the vending machine 200 exceeds a preset threshold value or not;
and the flow abnormity alarm module is used for sending alarm information if the real-time flow value of the vending machine 200 exceeds a preset threshold value.
Of course, for the fault of the vending machine 200, it can also be detected that the service device 100 further includes:
a fault recording module for recording fault types of the vending machine 200;
a fault recovery module for remotely repairing the vending machine 200 with the fault type of slight fault;
and the fault reminding module is used for reminding the field repairer of the fault component when the fault type is a serious fault.
For vending machines 200 in different regions, the communication modules thereof may be set according to actual situations, and the first communication module 210 includes: WiFi module, thing networking communication module, two kinds at least in the mobile communication module. The WiFi module can be preferentially used, the Internet of things communication module is used, and the mobile communication module is used.
It is noted that, when the vending machine performs the business, the service device 100 may perform business support on the vending machine, and the business service module 140 includes:
the shipment interface: an interface for sending an outgoing message to vending machine 200 in real time. This is the most important function of the system and is strictly checked for necessary parameters. When the user finishes scanning the code and paying on the vending machine 200, the user calls the interfaces to input necessary parameters, such as order information, payment mode, machine number and the like, and the system sends the input information to the vending machine 200 to finish the shipment.
A general message push interface: the method is basically similar to the shipment interface, is convenient for sending other messages to the vending machine 200, has fewer check parameters than the shipment interface and only checks general necessary parameters, is convenient for service expansion, and additionally sends messages to the vending machine 200;
vending machine 200 online query interface: inquiring the network connection state of the appointed vending machine 200 with the system, online or offline, verifying the network connection state of the client before the user pays and sends a shipment message to the client, normally selling the commodity only under the condition of normal network, otherwise, the following operation cannot be continued, and the parameters required by the interface are the number of the vending machine 200;
and (4) querying a commodity information interface: acquiring commodity configuration information of the appointed vending machine 200, wherein the commodity configuration information comprises a commodity number, a commodity name and a price;
the commodity preferential information interface: sending a commodity information interface with the preferential information to the appointed vending machine 200, configuring the preferential information by other systems and calling the interface to send the preferential information to the client, wherein the parameters required by the interface are the number of the vending machine 200;
synchronizing the goods information to the vending machine 200 interface: sending commodity information to the vending machine 200 after the commodity information is changed, wherein parameters required by an interface are the number of the vending machine 200;
query vending machine 200 skin interface: the client displays the skin setting information on a large screen to obtain, and parameters required by the interface are the numbers of the vending machine 200.
Referring to fig. 2 and 3, fig. 2 is a schematic diagram of zookeeper registration according to an embodiment of the present invention; fig. 3 is an interaction diagram of the vending machine 200 and the service device 100 according to the embodiment of the present invention.
Referring to the drawings, fig. 1 is a schematic diagram illustrating interaction between a connection module and a service module 240, where a service provider and a service caller both need to register with a Zookeeper registry, and the service caller finds an available service provider in the registry and then makes a call directly. The connection module and the service module 240 are both a service provider and a service caller, the connection module provides interfaces for inquiring whether the machine is on-line, pushing messages to the machine and the like for the service module 240 to call, and the service module 240 provides a message reporting interface for the connection module to call. When an abnormal condition occurs in a certain service, the Zookeeper registration center can automatically delete the abnormal condition and inform the service caller to obtain the effective service.
Specifically, the device in the embodiment of the present invention may use a distributed communication cluster system, that is, the service device 100 includes: n servers, a redis database and a zookeeper server; the N servers are respectively provided with a communication module and a service module 240; when the server is started, the N servers respectively register a Redis database and a Zookeeper server, and when a system cluster is deployed, the cluster is realized by means of the Zookeeper;
the Redis database is used for storing cluster service node addresses, and the Zookeeper server is used for cluster registration service.
The service equipment connection module records the client number and the system node address connected with the client into a Redis database; calling a business service module interface, such as a shipment interface, and sending a shipment message to the machine; the service module inquires the service node address of the Redis acquisition device through the number of the vending machine, and sends a shipment message to a connection module of a designated node (the steps of verifying the network state of the device are the same); receiving the shipment information and directly sending the shipment information to the client equipment; the vending machine responds to the shipment message.
1. FIG. 3 is a schematic diagram of interaction between a system and client devices, illustrating a complete system cluster deployment, connection to multiple client devices, and interaction with other tools.
2. Black double-headed arrows indicate TCP connections and blue dotted double-headed arrows indicate other tool connections.
3. The system is divided into a connection module and a service module, wherein the client device establishes TCP connection with the connection module, the connection module also establishes TCP connection with the service module, and actually, the connection module only simply keeps connection with the client device, and serves as a transfer service of messages, and the message processing is performed in the service module.
4. The process comprises the following steps:
①, starting the system, respectively registering the Zookeeper by the connection module and the service module, establishing connection between the two modules, and waiting for the access of the client device;
② the client device accesses the system and establishes connection with the connection module;
③ the connection module records the client number and the system node address connected with the client into the Redis database;
④ calling service module interface, such as shipment interface, by other system to send shipment message to machine;
⑤ the service module inquires the service node address of the Redis acquisition device through the client device number, and sends the shipment information to the connection module of the designated node (the same step of verifying the network state of the device);
⑥ the connection module receives the shipment message and sends it directly to the client device;
⑦ the client device responds to the shipment message.
Specifically, the operating environment is as follows:
memory space | ≥2GB |
Hard disk space | ≥10GB |
JVM | JDK8 or higher |
Redis | 3.0 or higher version |
Zookeeper | 3.0 or higherVersion(s) |
1. The connection module and the service module are independent services, 1GB memory is preferably allocated to each connection module, the occupied size of the memory is directly related to the connection number of the clients, and if the connection number of the clients is large, the condition allows the allocation of larger memory.
2. The hard disk space is mostly used for storing system logs, and a certain space needs to be reserved for the system to keep logs on a certain date.
JVM requires JDK8 or higher because JDK8 is used in the system and old versions do not support it, so JVM is only JDK8 or higher.
4. The system needs to use a Redis database and a Zookeeper distributed tool, the Redis is used for storing cluster service node addresses, and the Zookeeper is used for cluster registration service.
The matters to be noted are as follows:
1. the service module and the connection module actually belong to two subsystems, the Zookeeper registration service interface is used for establishing connection for remote interface calling, and the two modules need to be deployed and started respectively.
2. The system needs a Redis database and a Zookeeper distributed tool, when a system cluster is deployed, the cluster is realized by means of the Zookeeper, the same cluster can only use the same group of Redis and Zookeeper, if one cluster uses Zookeeper of different groups, the system is different, and if Redis of different groups is used, the system can inquire the state of a client terminal, so the system of the same cluster must use the same group of Redis and Zookeeper.
In another embodiment of the present invention, an embodiment of the present invention provides a service device, which is applied to the intelligent internet of things vending system according to any of the above embodiments, and the service device includes: the system comprises a second communication module, a flow query module, a fault query module and a business service module;
the first communication module is in communication connection with the second communication module;
the flow query module is used for querying the real-time flow recorded by the flow recording module of the corresponding vending machine;
the fault query module is used for querying whether the corresponding vending machine has a fault or not and the fault type when the corresponding vending machine has the fault;
and the business service module is used for serving the selling business of the vending machine.
In another embodiment of the present invention, an embodiment of the present invention provides a vending machine, which is applied to the intelligent internet of things vending system according to any of the above embodiments, and includes: the system comprises a first communication module, a flow recording module, a fault analysis module and a service module;
the first communication module is in communication connection with the second communication module;
the flow recording module is used for recording the real-time flow of the vending machine;
the fault analysis module is used for analyzing the fault type when the vending machine has a fault;
the business module is used for selling business.
Although the invention has been described in detail above with reference to a general description and specific examples, it will be apparent to one skilled in the art that modifications or improvements may be made thereto based on the invention. Accordingly, such modifications and improvements are intended to be within the scope of the invention as claimed.
Claims (10)
1. The utility model provides an intelligence thing networking vending system which characterized in that includes: service equipment, vending machines;
the vending machine includes: the system comprises a first communication module, a flow recording module, a fault analysis module and a service module;
the service apparatus includes: the system comprises a second communication module, a flow query module, a fault query module and a business service module;
the first communication module is in communication connection with the second communication module;
the flow recording module is used for recording the real-time flow of the vending machine;
the flow query module is used for querying the real-time flow recorded by the flow recording module of the corresponding vending machine;
the fault analysis module is used for analyzing the fault type when the vending machine has a fault;
the fault query module is used for querying whether the corresponding vending machine has a fault or not and the fault type when the corresponding vending machine has the fault;
the business module is used for selling business; and the business service module is used for serving the selling business of the vending machine.
2. The intelligent internet of things vending system of claim 1, wherein the service device further comprises:
the flow recording module is used for recording the real-time flow value of the vending machine;
the flow abnormity analysis module is used for judging whether the real-time flow value of the vending machine exceeds a preset threshold value or not;
and the flow abnormity alarm module is used for sending alarm information if the real-time flow value of the vending machine exceeds a preset threshold value.
3. The intelligent internet of things vending system of claim 1, wherein the service device further comprises:
the fault recording module is used for recording the fault type of the vending machine;
the fault recovery module is used for remotely repairing the vending machine with the fault type of slight fault;
and the fault reminding module is used for reminding the field repairer of the fault component when the fault type is a serious fault.
4. The intelligent Internet of things vending system of claim 1,
the first communication module includes: WiFi module, thing networking communication module, two kinds at least in the mobile communication module.
5. The intelligent Internet of things vending system of claim 1,
the business service module comprises:
the shipment interface: an interface for sending a delivery message to the vending machine in real time; this is the most important function of the system, and the necessary parameters are strictly checked; after the user finishes scanning codes and paying on the vending machine, the interfaces are called, necessary parameters such as order information, a payment mode, machine numbers and the like are transmitted, and the system transmits the transmitted information to the vending machine and finishes goods delivery;
a general message push interface: the system is basically similar to the goods outlet interface, is convenient to send other messages to the vending machine, has fewer check parameters than the goods outlet interface, only checks general necessary parameters, is convenient to expand services, and additionally sends messages to the vending machine;
the vending machine online query interface: inquiring the network connection state of the appointed vending machine and the system, online or offline, verifying the network connection state of the client before the user pays and sends a shipment message to the client, normally selling the commodity only under the condition of normal network, otherwise, the following operation cannot be continued, and the parameters required by the interface are the number of the vending machine;
and (4) querying a commodity information interface: acquiring commodity configuration information of a specified vending machine, wherein the commodity configuration information comprises a commodity number, a commodity name and a price;
the commodity preferential information interface: sending a commodity information interface with preferential information to a specified vending machine, configuring the preferential information by other systems and calling the interface to send the preferential information to a client, wherein parameters required by the interface are the number of the vending machine;
synchronizing the merchandise information to the vending machine interface: after the commodity information is changed, sending the commodity information to a vending machine, wherein parameters required by an interface are vending machine numbers;
query vending machine skin interface: the client displays the skin setting information on a large screen to obtain, and parameters required by the interface are the serial numbers of the vending machine.
6. The intelligent Internet of things vending system of claim 1,
the service apparatus includes: n servers, a redis database and a zookeeper server;
the N servers are respectively provided with a communication module and a service module;
when the server is started, the N servers respectively register a Redis database and a Zookeeper server, and when a system cluster is deployed, the cluster is realized by means of the Zookeeper;
the Redis database is used for storing cluster service node addresses, and the Zookeeper server is used for cluster registration service.
7. The intelligent Internet of things vending system of claim 6,
the service equipment connection module records the client number and the system node address connected with the client into a Redis database;
calling a business service module interface, such as a shipment interface, and sending a shipment message to the machine;
the service module inquires the service node address of the Redis acquisition device through the number of the vending machine, and sends a shipment message to a connection module of a designated node (the steps of verifying the network state of the device are the same);
receiving the shipment information and directly sending the shipment information to the client equipment;
the vending machine responds to the shipment message.
8. The intelligent Internet of things vending system according to any one of claims 1 to 7,
the vending machine and the service equipment are communicated through the following message protocols:
type: a message type identifying what this message is, a string type;
vmID: machine number, message identifying which client machine, string type;
cn: the unique message identification is used when the message is synchronized, and a timestamp and a character string type can be used;
the vending machine and the service equipment message are of a json character string type.
9. The service equipment is applied to the intelligent Internet of things vending system as claimed in any one of claims 1 to 8, and is characterized by comprising: the system comprises a second communication module, a flow query module, a fault query module and a business service module;
the first communication module is in communication connection with the second communication module;
the flow query module is used for querying the real-time flow recorded by the flow recording module of the corresponding vending machine;
the fault query module is used for querying whether the corresponding vending machine has a fault or not and the fault type when the corresponding vending machine has the fault;
and the business service module is used for serving the selling business of the vending machine.
10. A vending machine applied to the intelligent internet of things vending system according to any one of claims 1 to 8, comprising: the system comprises a first communication module, a flow recording module, a fault analysis module and a service module;
the first communication module is in communication connection with the second communication module;
the flow recording module is used for recording the real-time flow of the vending machine;
the fault analysis module is used for analyzing the fault type when the vending machine has a fault;
the business module is used for selling business.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010166810.XA CN111354124A (en) | 2020-03-11 | 2020-03-11 | Intelligent Internet of things vending system, service equipment and vending machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010166810.XA CN111354124A (en) | 2020-03-11 | 2020-03-11 | Intelligent Internet of things vending system, service equipment and vending machine |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111354124A true CN111354124A (en) | 2020-06-30 |
Family
ID=71196212
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010166810.XA Pending CN111354124A (en) | 2020-03-11 | 2020-03-11 | Intelligent Internet of things vending system, service equipment and vending machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111354124A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112860854A (en) * | 2021-01-29 | 2021-05-28 | 深圳蓝贝科技有限公司 | Online monitoring and fault repairing system and method for vending machine |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103871168A (en) * | 2013-11-10 | 2014-06-18 | 上海潮站贸易有限公司 | 24-hour full intelligent unmanned automatic vending convenience store |
US20140372505A1 (en) * | 2008-08-29 | 2014-12-18 | TAPP Technologies, LLC | Content distribution platform for beverage dispensing environments |
CN105118159A (en) * | 2015-09-18 | 2015-12-02 | 杭州锦业科技有限公司 | Automatic selling machine selling system based on embedded and mobile internet |
CN106657354A (en) * | 2016-12-29 | 2017-05-10 | 努比亚技术有限公司 | Load balancing device and method |
CN106936618A (en) * | 2015-12-31 | 2017-07-07 | 北京神州泰岳软件股份有限公司 | A kind of collecting method and system |
CN107295031A (en) * | 2016-03-30 | 2017-10-24 | 阿里巴巴集团控股有限公司 | A kind of method of data synchronization and device |
CN107643719A (en) * | 2016-07-22 | 2018-01-30 | 三电控股株式会社 | Remote monitoring system |
CN108965461A (en) * | 2018-08-03 | 2018-12-07 | 华数传媒网络有限公司 | Service administering method, device and dubbo service system |
CN109102625A (en) * | 2018-07-11 | 2018-12-28 | 深圳友宝科斯科技有限公司 | Automatically vending system and its server |
CN109448231A (en) * | 2018-11-28 | 2019-03-08 | 虫极科技(北京)有限公司 | The reporting of a kind of fault message, processing method and system |
CN110032451A (en) * | 2019-04-18 | 2019-07-19 | 成都四方伟业软件股份有限公司 | Distributed multilingual message realization method, device and server |
CN110365750A (en) * | 2019-06-25 | 2019-10-22 | 苏宁云计算有限公司 | Service registration system and method |
CN110457137A (en) * | 2019-08-16 | 2019-11-15 | 杭州安恒信息技术股份有限公司 | Flow analytic method, device, electronic equipment and computer-readable medium |
CN110868436A (en) * | 2018-08-28 | 2020-03-06 | 清华大学 | IoT data collection method and device |
-
2020
- 2020-03-11 CN CN202010166810.XA patent/CN111354124A/en active Pending
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140372505A1 (en) * | 2008-08-29 | 2014-12-18 | TAPP Technologies, LLC | Content distribution platform for beverage dispensing environments |
CN103871168A (en) * | 2013-11-10 | 2014-06-18 | 上海潮站贸易有限公司 | 24-hour full intelligent unmanned automatic vending convenience store |
CN105118159A (en) * | 2015-09-18 | 2015-12-02 | 杭州锦业科技有限公司 | Automatic selling machine selling system based on embedded and mobile internet |
CN106936618A (en) * | 2015-12-31 | 2017-07-07 | 北京神州泰岳软件股份有限公司 | A kind of collecting method and system |
CN107295031A (en) * | 2016-03-30 | 2017-10-24 | 阿里巴巴集团控股有限公司 | A kind of method of data synchronization and device |
CN107643719A (en) * | 2016-07-22 | 2018-01-30 | 三电控股株式会社 | Remote monitoring system |
CN106657354A (en) * | 2016-12-29 | 2017-05-10 | 努比亚技术有限公司 | Load balancing device and method |
CN109102625A (en) * | 2018-07-11 | 2018-12-28 | 深圳友宝科斯科技有限公司 | Automatically vending system and its server |
CN108965461A (en) * | 2018-08-03 | 2018-12-07 | 华数传媒网络有限公司 | Service administering method, device and dubbo service system |
CN110868436A (en) * | 2018-08-28 | 2020-03-06 | 清华大学 | IoT data collection method and device |
CN109448231A (en) * | 2018-11-28 | 2019-03-08 | 虫极科技(北京)有限公司 | The reporting of a kind of fault message, processing method and system |
CN110032451A (en) * | 2019-04-18 | 2019-07-19 | 成都四方伟业软件股份有限公司 | Distributed multilingual message realization method, device and server |
CN110365750A (en) * | 2019-06-25 | 2019-10-22 | 苏宁云计算有限公司 | Service registration system and method |
CN110457137A (en) * | 2019-08-16 | 2019-11-15 | 杭州安恒信息技术股份有限公司 | Flow analytic method, device, electronic equipment and computer-readable medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112860854A (en) * | 2021-01-29 | 2021-05-28 | 深圳蓝贝科技有限公司 | Online monitoring and fault repairing system and method for vending machine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100536403C (en) | Method and equipment of intelligent patrol detection for communication network | |
US8732516B2 (en) | Method and system for providing customer controlled notifications in a managed network services system | |
US8738760B2 (en) | Method and system for providing automated data retrieval in support of fault isolation in a managed services network | |
US20020136165A1 (en) | Cable modem with autonomous diagnostic function | |
CN101953139B (en) | DHCP in response to Internet connectedness initializes | |
CN112395172A (en) | Visual display method based on application software automation monitoring data | |
CN112039701A (en) | Interface call monitoring method, device, equipment and storage medium | |
CN114090380A (en) | Terminal monitoring method, device, equipment and storage medium | |
CN113327060A (en) | Intelligent factory management system and method thereof | |
CN108809677A (en) | The system of testing characteristics of network | |
CN111354124A (en) | Intelligent Internet of things vending system, service equipment and vending machine | |
CN115934464A (en) | Information platform monitoring and collecting system | |
CN105530137A (en) | Traffic data analysis method and traffic data analysis system | |
US20040172263A1 (en) | Autonomous sytem for remote management of devices subject to pay-per-use services | |
CN1256462A (en) | Dynamic ageing table monitoring service facility | |
CN114070824B (en) | Registration method of Internet of things equipment, registration cloud server and medium | |
JP4144227B2 (en) | Monitoring device and monitoring method | |
CN100461712C (en) | A network signalling test method | |
US7956737B2 (en) | Method and apparatus for network service assurance | |
CN107733697B (en) | Log collection method and system and router | |
CN115273354A (en) | Bank self-service equipment management method and system and computer equipment | |
CN102130944B (en) | Method for monitoring and managing ATM and self-service system | |
KR100463054B1 (en) | System for Providing Remote Service using Compact Communication Server | |
CN114090369A (en) | Service instance monitoring method, device and storage medium | |
CN201134820Y (en) | Embedded equipment and network server capable of communication through network server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200630 |