CN108846951A - Automatic vending machine long-range control method, device, storage medium and system - Google Patents

Automatic vending machine long-range control method, device, storage medium and system Download PDF

Info

Publication number
CN108846951A
CN108846951A CN201810550998.0A CN201810550998A CN108846951A CN 108846951 A CN108846951 A CN 108846951A CN 201810550998 A CN201810550998 A CN 201810550998A CN 108846951 A CN108846951 A CN 108846951A
Authority
CN
China
Prior art keywords
vending machine
automatic vending
pending task
control instruction
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
CN201810550998.0A
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 Youbaosi Technology Co Ltd
Original Assignee
Shenzhen Youbaosi 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 Youbaosi Technology Co Ltd filed Critical Shenzhen Youbaosi Technology Co Ltd
Priority to CN201810550998.0A priority Critical patent/CN108846951A/en
Publication of CN108846951A publication Critical patent/CN108846951A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • G07F9/002Vending machines being part of a centrally controlled network of vending machines

Abstract

This application involves a kind of automatic vending machine long-range control method, device, storage medium and systems.Method includes:It is detected according to the pending task of storage when meeting execution condition, automatic vending machine to be controlled is obtained according to pending task and is numbered;Control instruction is generated according to pending task, control instruction is sent to corresponding automatic vending machine and numbers corresponding automatic vending machine, control instruction carries out control operation for controlling corresponding automatic vending machine.Detect meet execution condition when, automatic vending machine number to be controlled is obtained, generates control instruction automatically according to pending task, instruction operation can be carried out to specified vending machine by automatic vending machine to be controlled number, remote control management automation is reached, control efficiency is high.

Description

Automatic vending machine long-range control method, device, storage medium and system
Technical field
This application involves remote control technology field, more particularly to a kind of automatic vending machine long-range control method, device, Storage medium and system.
Background technique
Automatic vending machine is the common automatic equipment of business automation, it is not limited by time, place, can save people Power facilitates transaction.It is a kind of completely new retailing form, the micro supermarket for the 24 HOUR ACCESS that is otherwise known as.
However, when traditional vending machine is controlled, it is necessary to reach scene by staff and solve, control Journey is time-consuming, laborious, and therefore, control efficiency is low.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of automatic vending machine that control efficiency is high and remotely control Method, apparatus, storage medium and system.
A kind of automatic vending machine long-range control method, the method includes:
It is detected when meeting execution condition, is obtained according to the pending task to be controlled according to the pending task of storage Automatic vending machine number;
Control instruction is generated according to the pending task, the control instruction is sent to corresponding automatic vending machine and is compiled Number corresponding automatic vending machine, the control instruction carry out control operation for controlling the corresponding automatic vending machine.
The pending task according to storage detects in one of the embodiments, when meeting execution condition, according to Before the pending task obtains the step of automatic vending machine number to be controlled, including:
The automatic vending machine for obtaining automatic vending machine is numbered and is stored.
The automatic vending machine number for obtaining automatic vending machine includes in one of the embodiments,:
Request is established in the connection for receiving automatic vending machine, is established after connection according to connection foundation request and is obtained channel letter Breath is numbered and is stored by the automatic vending machine that the channel information receives automatic vending machine transmission;Or
Request is established in the connection for receiving automatic vending machine, is established after connection according to connection foundation request and is obtained channel letter Breath sends automatic vending machine number inquiry instruction to corresponding automatic vending machine by the channel information, passes through the channel Information obtains the automatic vending machine and numbers and deposit according to the automatic vending machine that the automatic vending machine number inquiry instruction is fed back Storage.
The pending task according to storage detects in one of the embodiments, when meeting execution condition, according to Before the pending task obtains the step of automatic vending machine number to be controlled, further include:
Receive controlling terminal operating system inquiry instruction, and by the operating system inquiry instruction be sent to it is corresponding from Dynamic vending machine numbers corresponding automatic vending machine;
It receives the operating system query result of the automatic vending machine feedback and is sent to the controlling terminal.
It is described in one of the embodiments, that control instruction is generated according to the pending task, by the control instruction It is sent to corresponding automatic vending machine and numbers corresponding automatic vending machine, the control instruction is described corresponding automatic for controlling After vending machine carries out the step of control operation, further include:
Receive the control result of the automatic vending machine feedback;
When detecting the control result to fail, control instruction is sent again to the automatic vending machine to be controlled Number corresponding automatic vending machine.
In one of the embodiments, the pending task include execute task type, execute time range and respectively Dynamic vending machine numbers corresponding priority,
The pending task according to storage detects when meeting execution condition, according to the pending task obtain to The automatic vending machine of control is numbered:
Current time is obtained, the pending task detects the current time in the execution time based on the received When in range, automatic vending machine to be controlled is obtained according to the pending task and is numbered;
Control instruction is generated according to the pending task, the control instruction is sent to corresponding automatic vending machine and is compiled Number corresponding automatic vending machine includes:
Control instruction is generated according to the execution task type, is numbered according to the automatic vending machine to be controlled and each automatic The control instruction is sent to corresponding automatic vending machine and numbers corresponding automatic vending by the corresponding priority of vending machine number Machine.
A kind of automatic vending machine remote control apparatus, described device include:
Detection module detects when meeting execution condition for the pending task according to storage, according to described pending Task obtains automatic vending machine number to be controlled;
Control instruction sending module sends out the control instruction for generating control instruction according to the pending task It send to corresponding automatic vending machine and numbers corresponding automatic vending machine, the control instruction is for controlling the corresponding automatic selling Cargo aircraft carries out control operation.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor Following steps are realized when row:
It is detected when meeting execution condition, is obtained according to the pending task to be controlled according to the pending task of storage Automatic vending machine number;
Control instruction is generated according to the pending task, the control instruction is sent to corresponding automatic vending machine and is compiled Number corresponding automatic vending machine, the control instruction carry out control operation for controlling the corresponding automatic vending machine.
A kind of long-distance control system for vending machine, including the automatic vending machine and server successively communicated to connect,
When the server-side meets execution condition for detecting according to the pending task of storage, according to described pending Task obtains automatic vending machine number to be controlled;And control instruction is generated according to the pending task, by the control Instruction is sent to corresponding automatic vending machine and numbers corresponding automatic vending machine;
The automatic vending machine carries out control operation according to the control instruction for receiving the control instruction.
Above-mentioned automatic vending machine long-range control method, device, storage medium and system are examined according to the pending task of storage It measures when meeting execution condition, automatic vending machine to be controlled is obtained according to pending task and is numbered;It is raw according to pending task At control instruction, control instruction is sent to corresponding automatic vending machine and numbers corresponding automatic vending machine, control instruction is used for It controls corresponding automatic vending machine and carries out control operation.Detect meet execution condition when, obtain automatic vending to be controlled Machine number generates control instruction automatically according to pending task, can be sold goods to specified by automatic vending machine to be controlled number Machine carries out instruction operation, has reached remote control management automation, and control efficiency is high.
Detailed description of the invention
Fig. 1 is the applied environment figure of automatic vending machine long-range control method in one embodiment;
Fig. 2 is the flow diagram of automatic vending machine long-range control method in one embodiment;
Fig. 3 is the flow diagram of automatic vending machine long-range control method in another embodiment;
Fig. 4 is the flow diagram of automatic vending machine long-range control method in another embodiment;
Fig. 5 is the flow diagram of automatic vending machine long-range control method in another embodiment;
Fig. 6 is the part interaction schematic diagram of long-distance control system for vending machine in one embodiment;
Fig. 7 is the structural block diagram of automatic vending machine remote control apparatus in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Automatic vending machine long-range control method provided by the present application, can be applied in application environment as shown in Figure 1.Its In, automatic vending machine 100 is communicated by network with server 200.Server 200 is detected according to the pending task of storage To when meeting execution condition, automatic vending machine to be controlled is obtained according to pending task and is numbered;And according to pending task Control instruction is generated, control instruction is sent to corresponding automatic vending machine and numbers corresponding automatic vending machine 100;Automatic vending Machine 100 receives control instruction, carries out control operation according to control instruction.Server 200 can be with independent server either The server cluster of multiple servers composition is realized.
In one embodiment, it as shown in Fig. 2, providing a kind of automatic vending machine long-range control method, answers in this way For being illustrated for the server 200 in Fig. 1, method includes:
Step S110:It is detected according to the pending task of storage when meeting execution condition, is obtained according to pending task Automatic vending machine number to be controlled.
Specifically, pending task is stored in the server in advance, includes execution condition in pending task, and Automatic vending machine number to be controlled.
Step S120:Control instruction is generated according to pending task, control instruction is sent to corresponding automatic vending machine Corresponding automatic vending machine is numbered, control instruction carries out control operation for controlling corresponding automatic vending machine.
Specifically, control instruction is sent to according to the automatic vending machine to be controlled number carried in control instruction corresponding Automatic vending machine numbers corresponding automatic vending machine, controls corresponding automatic vending machine and carries out control operation.
Above-mentioned automatic vending machine long-range control method detect meet execution condition when, obtain automatic vending to be controlled Machine number generates control instruction automatically according to pending task, can be sold goods to specified by automatic vending machine to be controlled number Machine carries out instruction operation, has reached remote control management automation, and control efficiency is high.
In one embodiment, as shown in figure 3, before step S110, including step S101:Obtain oneself of automatic vending machine Dynamic vending machine is numbered and is stored.
Specifically, the popularity rate of automatic vending machine is very high, all occurs in public domains such as each emporium, company, schools, Automatic vending machine hardware device connection industrial control computer is communicated by RS232, controls automatic vending machine by serial ports Shipment, each automatic vending machine have corresponding number i.e. machine number, are managed with facilitating.
In one embodiment, step S101 includes:Request is established in the connection for receiving automatic vending machine, is established according to connection Request obtains channel information after establishing connection, numbers and deposits by the automatic vending machine that channel information receives automatic vending machine transmission Storage;Or the connection foundation request of automatic vending machine is received, it is established after connection is established in request according to connection and obtains channel information, passed through Channel information sends automatic vending machine number inquiry instruction to corresponding automatic vending machine, obtains automatic vending by channel information Machine is numbered and is stored according to the automatic vending machine that automatic vending machine number inquiry instruction is fed back.
Specifically, the automatic vending machine number of the automatic vending machine stored in server can be actively acquisition and passive It obtains, it can be each automatic vending machine after establishing the networking with server, the number of oneself is sent to server In and to store be that server passively obtains, be also possible to each vending machine and establishing with after the networking of server, server is actively Automatic vending machine number inquiry instruction is sent to the corresponding successful automatic vending machine of networking, obtains automatic vending machine according to automatic The automatic vending machine of vending machine number inquiry instruction feedback is numbered and is stored.
Further, as shown in fig. 6, automatic vending machine is when establishing connection with server, it also will form channel information, be It establishes the channel information formed when connection with subsequent control terminal and server to distinguish, between automatic vending machine and server Channel information is known as first passage information, the channel that first passage information is communicated between automatic vending machine and server, In the present embodiment, first passage information is long link handle.The program of automatic vending machine is based on transporting on industrial control computer Row, the program starting of automatic vending machine send and link foundation request with the long of server, after being successfully established, obtain long link sentence Handle realizes automatic vending interconnection plane.After long link is successfully established, automatic vending machine number inquiry instruction is sent, inquires obtaining pair The successful automatic vending machine that should network is numbered according to the automatic vending machine that automatic vending machine number inquiry instruction is fed back, and will be corresponded to Automatic vending machine number and length corresponding with number link handle storage into server.
It in one embodiment, further include step S102 and step S103 as shown in figure 4, before step S110.
Step S102:The operating system inquiry instruction of controlling terminal is received, and operating system inquiry instruction is sent to pair The automatic vending machine answered numbers corresponding automatic vending machine.
Specifically, automatic vending machine is controlled by industrial control computer at present, and industrial control computer system includes Two kinds of windows XP and android;XP machine program, which goes wrong, needs professional to reach scene, is adjusted into desktop Examination, analysis, android machine, which needs to reach scene and is connected to industrial control equipment by USB using computer, to be debugged, is analyzed, Before controlling corresponding automatic vending machine, need first to inquire the job control type of computer system of automatic vending machine.
Step S103:It receives the operating system query result of automatic vending machine feedback and is sent to controlling terminal.
Specifically, after automatic vending machine receives operating system inquiry instruction, certainly according to operating system inquiry instruction feedback Operating system query result is sent to controlling terminal to server, server by the operating system of body, and controlling terminal is further according to certainly The operating system of dynamic vending machine carries out specific aim control, that is, sends control request corresponding with operating system query result and extremely service Device, so that server can allow automatic vending machine to identify according to the control instruction that control request generates.
It in one embodiment, as shown in Figure 5,6 (a part is only illustrated in Fig. 6), further include step after step S120 Rapid S130 and step S140.
Step S130:Receive the control result of automatic vending machine feedback.
Specifically, after automatic vending machine receives control instruction, respective operations are executed according to control instruction, complete to correspond to After operation, control result is fed back into server, controlling terminal is sent to by server.
Step S140:When detecting control result to fail, control instruction is sent again to automatic vending to be controlled Machine numbers corresponding automatic vending machine.
Specifically, control result is success or failure, when detecting control result to fail, is meeting execution condition Under the premise of, control instruction to automatic vending machine to be controlled is sent again and numbers corresponding automatic vending machine, passes through feedback control To avoid the occurrence of the case where control result is made a fault.Further, if receiving the control result that automatic vending machine is fed back again When being successful, then exporting control result is successful prompt information;Automatic vending machine is possible to can be because of external some factors Influence rather than self reason the case where causing control result to be made a fault, such as because of the temporary suspension of certain reasons, full Under the premise of sufficient execution condition, feedback control can be carried out again, when controlling again, automatic vending machine may network success, Function receives control instruction and carries out the successful control result of operation return;It is if receiving the control result that automatic vending machine is fed back again When failure, the frequency of failure is iterated to obtain the continuous frequency of failure, when the continuous frequency of failure reaches the default frequency of failure, then Illustrate that automatic vending machine breaks down, output control result is the prompt information of failure and is sent to controlling terminal, prompt information In include fault message, controlling terminal receive prompt information simultaneously show.
In one embodiment, pending task includes executing task type, executing time range and each automatic vending machine Corresponding priority is numbered, step S110 includes:Current time is obtained, pending task detects current time based on the received When between when being executed in range, automatic vending machine to be controlled is obtained according to pending task and is numbered;Step S120 includes:According to It executes task type and generates control instruction, it is corresponding preferential according to automatic vending machine to be controlled number and each automatic vending machine number Control instruction is sent to corresponding automatic vending machine and numbers corresponding automatic vending machine by grade.
Specifically, current time is obtained, when between detecting current time when being executed in range, then illustrates to meet and executes Condition obtains automatic vending machine to be controlled according to pending task and numbers, if automatic vending machine number is the automatic of 1-1000 Vending machine.Generate control instruction according to uploading and downloading etc. for the execution task type such as file in execution task, according to Control automatic vending machine number and each automatic vending machine number corresponding priority and control instruction are sent to corresponding automatic selling Cargo aircraft numbers corresponding automatic vending machine, such as 1000 automatic vending machines, and the priority of the automatic vending machine of number 1-100 is most The priority of height, the automatic vending machine of 101-200 ranked second, and so on, first control a collection of automatic vending of highest priority Machine carries out control operation, then a collection of automatic vending machine that controls priority and ranked second carries out control operation, and so on, until institute There is automatic vending machine to complete control operation, by the way that the priority of automatic vending machine is arranged, when needing the vending machine of batch operation too When more, control efficiency can be further increased with speed up processing.
In one embodiment, control instruction includes custom instruction and system command.
Specifically, control instruction is divided into 2 major class, and one kind is custom instruction, and the type for defining instruction is not unique, i.e. root Different operations is executed according to different custom instructions, by taking custom instruction is store instruction as an example, then resource downloading to finger File system location is enabled to be stored;Another kind of is system command, and XP system corresponds to CMD, and Android system corresponds to shell.
In one embodiment, as shown in fig. 6, before step S110, the foundation request of controlling terminal is received including step, It is established according to connection after requesting to establish connection, obtains second channel information.
Specifically, after server starting, the server-side of two connections can be established, one provides service for automatic vending machine, One provides service for background operating system, that is, controlling terminal, after user logs on to backstage, sends and establishes request foundation and service Connection between device establishes connection according to connection request, obtains second channel information, in the present embodiment, second channel information For link handle, be server and controlling terminal communication channel, after link is successfully established, by the user name of user and with clothes The link handle of business device communication is saved in local, and pending task is sent in server by link handle and is deposited by user Storage, further, controlling terminal respectively sets the script of Android and XP, and Android uses mvel script, and XP uses bat foot This, by setting to script, completes the setting of pending task.
Above-mentioned automatic vending machine long-range control method, controlling terminal can carry out script design to Android and XP respectively, right The execution time of each script sets which automatic vending machine execution, default frequency of failure etc., and Android uses mvel foot This, XP uses bat script, to generate pending task.When automatic vending machine is in connected state and meets execution condition, Task execution is directly carried out, is otherwise waited under the premise of meeting execution condition and after automatic vending interconnection plane, server inspection It looks into when current automatic vending machine has the script being not carried out, is executed, reached operation management automation, labor-saving effect Fruit.By the method, need to be managed automatic vending machine or automatic vending machine when something goes wrong, staff can not had to To execute-in-place, as long as automatic vending interconnection plane, so that it may vending machine is remotely operated, such as:The upload downloading for carrying out file, into The catalogue browsing and operation of row system, remotely execute the CMD order of XP system, and the shell-command etc. on android saves The O&M cost of terminal machine, and it is particularly more in the machine for needing to safeguard, and currently have the case where automatic vending machine suspension Under, also it can be set in advance, to control it when it networks, issuing an order, it is asynchronous to realize Change, improves O&M efficiency.
It should be understood that although each step in the flow chart of Fig. 2-5 is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-5 Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately It executes.
In one embodiment, as shown in fig. 7, a kind of automatic vending machine remote control apparatus, device include:
Detection module 110 detects when meeting execution condition for the pending task according to storage, according to pending Business obtains automatic vending machine number to be controlled.
Control instruction is sent to pair by control instruction sending module 120 for generating control instruction according to pending task The automatic vending machine answered numbers corresponding automatic vending machine, and control instruction carries out control behaviour for controlling corresponding automatic vending machine Make.
It in one embodiment, further include that automatic vending machine number obtains module, automatic vending before detection module 110 Machine number obtains module and numbers and store for obtaining the automatic vending machine of automatic vending machine.
In one embodiment, automatic vending machine number acquisition module includes:The connection foundation for receiving automatic vending machine is asked Ask, according to connection establish request establish connection after obtain channel information, by channel information receive automatic vending machine send from Dynamic vending machine is numbered and is stored;Or the connection foundation request of automatic vending machine is received, after establishing connection according to connection foundation request Channel information is obtained, automatic vending machine number inquiry instruction is sent to corresponding automatic vending machine, by logical by channel information Road information obtains automatic vending machine and numbers and store according to the automatic vending machine that automatic vending machine number inquiry instruction is fed back.
It in one embodiment, further include operating system enquiry module and operating system inquiry knot before detection module 110 Fruit feedback module.
Operating system enquiry module is used to receive the operating system inquiry instruction of controlling terminal, and operating system inquiry is referred to Order is sent to corresponding automatic vending machine and numbers corresponding automatic vending machine.
The operating system query result that operating system query result feedback module is used to receive automatic vending machine feedback is concurrent It send to controlling terminal.
It in one embodiment, further include that control result feedback module and control refer to after control instruction sending module 120 Enable sending module again.Control result feedback module is used to receive the control result of automatic vending machine feedback.Control instruction is again Sending module is used for when detecting control result to fail, and is sent control instruction to automatic vending machine to be controlled again and is numbered Corresponding automatic vending machine.
Above-mentioned automatic vending machine remote control apparatus, detect meet execution condition when, obtain automatic selling to be controlled Cargo aircraft number generates control instruction automatically according to pending task, can be sold to specified by automatic vending machine to be controlled number Cargo aircraft carries out instruction operation, has reached remote control management automation, and control efficiency is high.
Specific restriction about automatic vending machine remote control apparatus may refer to long-range above for automatic vending machine The restriction of control method, details are not described herein.Modules in above-mentioned automatic vending machine remote control apparatus can whole or portion Divide and is realized by software, hardware and combinations thereof.Above-mentioned each module can be embedded in the form of hardware or independently of computer equipment In processor in, can also be stored in a software form in the memory in computer equipment, in order to processor calling hold The corresponding operation of the above modules of row.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program realizes following steps when being executed by processor:It is detected according to the pending task of storage when meeting execution condition, root Automatic vending machine number to be controlled is obtained according to pending task;Control instruction is generated according to pending task, by control instruction Be sent to corresponding automatic vending machine and number corresponding automatic vending machine, control instruction for control corresponding automatic vending machine into Row control operation.
In one embodiment, it when computer program is executed by processor, is detected according to the pending task of storage full When foot executes condition, before the step of obtaining automatic vending machine number to be controlled according to pending task, including:It obtains automatic The automatic vending machine of vending machine is numbered and is stored.
In one embodiment, when computer program is executed by processor, the automatic vending machine for obtaining automatic vending machine is compiled Number include:Request is established in the connection for receiving automatic vending machine, is established after connection is established in request according to connection and is obtained channel information, led to The automatic vending machine that channel information reception automatic vending machine is sent is crossed to number and store;Or receive the connection foundation of automatic vending machine Request establishes after connection is established in request according to connection and obtains channel information, sends automatic vending machine number by channel information and looks into Instruction is ask to corresponding automatic vending machine, automatic vending machine is obtained according to automatic vending machine number inquiry instruction by channel information The automatic vending machine of feedback is numbered and is stored.
In one embodiment, it when computer program is executed by processor, is detected according to the pending task of storage full When foot executes condition, before the step of obtaining automatic vending machine number to be controlled according to pending task, further include:Receive control The operating system inquiry instruction of terminal processed, and it is corresponding that operating system inquiry instruction is sent to corresponding automatic vending machine number Automatic vending machine;It receives the operating system query result of automatic vending machine feedback and is sent to controlling terminal.
In one embodiment, when computer program is executed by processor, control instruction is generated according to pending task, it will Control instruction is sent to corresponding automatic vending machine and numbers corresponding automatic vending machine, and control instruction is corresponding automatic for controlling After vending machine carries out the step of control operation, further include:Receive the control result of automatic vending machine feedback;It is controlled when detecting When as a result to fail, control instruction to automatic vending machine to be controlled is sent again and numbers corresponding automatic vending machine.
In one embodiment, when computer program is executed by processor, pending task includes executing task type, holding Row time range and each automatic vending machine number corresponding priority, detect that satisfaction executes item according to the pending task of storage When part, obtaining automatic vending machine number to be controlled according to pending task includes:Current time is obtained, based on the received wait hold When between row task detecting current time when being executed in range, automatic vending machine to be controlled is obtained according to pending task and is compiled Number;Control instruction is generated according to pending task, it is corresponding automatic that control instruction is sent to corresponding automatic vending machine number Vending machine includes:Control instruction is generated according to task type is executed, according to automatic vending machine to be controlled number and each automatic vending Control instruction is sent to corresponding automatic vending machine and numbers corresponding automatic vending machine by the corresponding priority of machine number.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Instruct relevant hardware to complete by computer program, computer program to can be stored in a non-volatile computer readable It takes in storage medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, this Shen Please provided by any reference used in each embodiment to memory, storage, database or other media, may each comprise Non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
In one embodiment, it as shown in fig. 6, a kind of long-distance control system for vending machine, including successively communicates to connect Automatic vending machine 100 and server 200, server 200 be used for according to the pending task of storage detect satisfaction execute item When part, automatic vending machine to be controlled is obtained according to pending task and is numbered;And control instruction is generated according to pending task, Control instruction is sent to corresponding automatic vending machine and numbers corresponding automatic vending machine 100;Automatic vending machine 100 is for receiving Control instruction carries out control operation according to control instruction.
In one embodiment, long-distance control system for vending machine further includes controlling terminal 300, and controlling terminal 300 is logical Letter connection server 200, controlling terminal 300 are stored for sending pending task to server.
Specifically, it may refer to about the specific restriction of long-distance control system for vending machine above for automatic vending The restriction of machine long-range control method, details are not described herein.
Above-mentioned long-distance control system for vending machine, server receive the pending task of controlling terminal and are stored, Detect meet execution condition when, obtain automatic vending machine number to be controlled, generate and control automatically according to pending task Instruction can carry out instruction operation to specified automatic vending machine by automatic vending machine to be controlled number, reach long-range control Management automation, control efficiency are high.
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of automatic vending machine long-range control method, the method includes:
Detected according to the pending task of storage when meeting execution condition, according to the pending task obtain it is to be controlled from Dynamic vending machine number;
Control instruction is generated according to the pending task, the control instruction is sent to corresponding automatic vending machine number pair The automatic vending machine answered, the control instruction carry out control operation for controlling the corresponding automatic vending machine.
2. the method according to claim 1, wherein described detect that satisfaction is held according to the pending task of storage When row condition, before the step of obtaining automatic vending machine number to be controlled according to the pending task, including:
The automatic vending machine for obtaining automatic vending machine is numbered and is stored.
3. the method according to claim 1, wherein the automatic vending machine for obtaining automatic vending machine numbers packet It includes:
Request is established in the connection for receiving automatic vending machine, is established after connection is established in request according to the connection and is obtained channel information, It numbers and stores by the automatic vending machine that the channel information receives automatic vending machine transmission;Or
Request is established in the connection for receiving automatic vending machine, is established after connection is established in request according to the connection and is obtained channel information, Automatic vending machine number inquiry instruction is sent to corresponding automatic vending machine by the channel information, passes through the channel information It obtains the automatic vending machine and numbers and store according to the automatic vending machine that the automatic vending machine number inquiry instruction is fed back.
4. according to the method described in claim 3, it is characterized in that, described detect that satisfaction is held according to the pending task of storage When row condition, before the step of obtaining automatic vending machine number to be controlled according to the pending task, further include:
The operating system inquiry instruction of controlling terminal is received, and the operating system inquiry instruction is sent to corresponding automatic selling Cargo aircraft numbers corresponding automatic vending machine;
It receives the operating system query result of the automatic vending machine feedback and is sent to the controlling terminal.
5. the method according to claim 1, wherein described generate control instruction according to the pending task, The control instruction is sent to corresponding automatic vending machine and numbers corresponding automatic vending machine, the control instruction is for controlling After the corresponding automatic vending machine carries out the step of control operation, further include:
Receive the control result of the automatic vending machine feedback;
When detecting the control result to fail, control instruction is sent again to the automatic vending machine number to be controlled Corresponding automatic vending machine.
6. the method according to claim 1, wherein the pending task includes executing task type, executing Time range and each automatic vending machine number corresponding priority,
The pending task according to storage detects when meeting execution condition, is obtained according to the pending task to be controlled Automatic vending machine number include:
Current time is obtained, the pending task detects the current time in the execution time range based on the received When interior, automatic vending machine to be controlled is obtained according to the pending task and is numbered;
Control instruction is generated according to the pending task, the control instruction is sent to corresponding automatic vending machine number pair The automatic vending machine answered includes:
Control instruction is generated according to the execution task type, according to the automatic vending machine number to be controlled and each automatic vending The control instruction is sent to corresponding automatic vending machine and numbers corresponding automatic vending machine by the corresponding priority of machine number.
7. a kind of automatic vending machine remote control apparatus, which is characterized in that described device includes:
Detection module detects when meeting execution condition for the pending task according to storage, according to the pending task Obtain automatic vending machine number to be controlled;
The control instruction is sent to by control instruction sending module for generating control instruction according to the pending task Corresponding automatic vending machine numbers corresponding automatic vending machine, and the control instruction is for controlling the corresponding automatic vending machine Carry out control operation.
8. a kind of storage medium, is stored thereon with computer program, which is characterized in that the computer program is executed by processor The step of Shi Shixian method described in any one of claims 1 to 6.
9. a kind of long-distance control system for vending machine, which is characterized in that including the automatic vending machine kimonos successively communicated to connect Business device,
When the server-side meets execution condition for detecting according to the pending task of storage, according to the pending task Obtain automatic vending machine number to be controlled;And control instruction is generated according to the pending task, by the control instruction It is sent to corresponding automatic vending machine and numbers corresponding automatic vending machine;
The automatic vending machine carries out control operation according to the control instruction for receiving the control instruction.
10. system according to claim 9, which is characterized in that it further include controlling terminal, the controlling terminal communication connection The server,
The controlling terminal is stored for sending pending task to the server.
CN201810550998.0A 2018-05-31 2018-05-31 Automatic vending machine long-range control method, device, storage medium and system Pending CN108846951A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810550998.0A CN108846951A (en) 2018-05-31 2018-05-31 Automatic vending machine long-range control method, device, storage medium and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810550998.0A CN108846951A (en) 2018-05-31 2018-05-31 Automatic vending machine long-range control method, device, storage medium and system

Publications (1)

Publication Number Publication Date
CN108846951A true CN108846951A (en) 2018-11-20

Family

ID=64210290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810550998.0A Pending CN108846951A (en) 2018-05-31 2018-05-31 Automatic vending machine long-range control method, device, storage medium and system

Country Status (1)

Country Link
CN (1) CN108846951A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109859386A (en) * 2019-02-02 2019-06-07 湖南金码云链科技有限公司 A kind of industrial computer and vending machine two-way communication and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020038367A1 (en) * 2000-09-28 2002-03-28 Kabushiki Kaisha Toshiba Electronic service system using main site server and partner site server
CN1598887A (en) * 2003-09-19 2005-03-23 深圳市雄震科技有限公司 Remote-distance updating intelligent automatic card selling apparatus
CN102662899A (en) * 2012-04-10 2012-09-12 北京友宝科斯科贸有限公司 Method for communication between vending machine and industrial computer
CN203422788U (en) * 2013-08-19 2014-02-05 张金生 Remote-control automatic vending machine
US9153089B1 (en) * 2014-05-20 2015-10-06 Gimme Vending LLC Communication device for vending machine and method of using the same
CN205039852U (en) * 2015-10-14 2016-02-17 李书华 Intelligence packing cupboard system
CN106597873A (en) * 2015-10-15 2017-04-26 施耐德电气工业公司 Method, device and system for carrying out remote maintenance of automation equipment
CN107038483A (en) * 2016-02-04 2017-08-11 希姆通信息技术(上海)有限公司 The maintaining method and terminal device of automatic vending machine
CN108073408A (en) * 2016-11-15 2018-05-25 平安科技(深圳)有限公司 The method for updating system and device of self-aided terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020038367A1 (en) * 2000-09-28 2002-03-28 Kabushiki Kaisha Toshiba Electronic service system using main site server and partner site server
CN1598887A (en) * 2003-09-19 2005-03-23 深圳市雄震科技有限公司 Remote-distance updating intelligent automatic card selling apparatus
CN102662899A (en) * 2012-04-10 2012-09-12 北京友宝科斯科贸有限公司 Method for communication between vending machine and industrial computer
CN203422788U (en) * 2013-08-19 2014-02-05 张金生 Remote-control automatic vending machine
US9153089B1 (en) * 2014-05-20 2015-10-06 Gimme Vending LLC Communication device for vending machine and method of using the same
CN205039852U (en) * 2015-10-14 2016-02-17 李书华 Intelligence packing cupboard system
CN106597873A (en) * 2015-10-15 2017-04-26 施耐德电气工业公司 Method, device and system for carrying out remote maintenance of automation equipment
CN107038483A (en) * 2016-02-04 2017-08-11 希姆通信息技术(上海)有限公司 The maintaining method and terminal device of automatic vending machine
CN108073408A (en) * 2016-11-15 2018-05-25 平安科技(深圳)有限公司 The method for updating system and device of self-aided terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109859386A (en) * 2019-02-02 2019-06-07 湖南金码云链科技有限公司 A kind of industrial computer and vending machine two-way communication and system

Similar Documents

Publication Publication Date Title
CN109683988B (en) Micro services start method, apparatus, computer equipment and storage medium
CN109815013A (en) Business data processing method, device, computer equipment and storage medium
CN109447411A (en) Business Process Control method, apparatus, computer equipment and storage medium
CN109634733A (en) Task scheduling and managing method, device and operation management server
US20140297809A1 (en) Apparatus and method for processing multiple open apis
CN107818018A (en) The control method and device of distributed lock
CN109634730A (en) Method for scheduling task, device, computer equipment and storage medium
CN109683982B (en) MES system control method, MES system control device, computer equipment, and storage medium
CN111831191A (en) Workflow configuration method and device, computer equipment and storage medium
CN104767756A (en) Equipment information processing method, client side device and server side device
CN109814917A (en) Micro services dissemination method, device, computer equipment and storage medium
CN106250254B (en) A kind of task processing method and system
CN106339154B (en) A kind of original list update method and device
CN109857540A (en) Management method, device, terminal and the computer readable storage medium of server
CN113055408B (en) Network security test integrated device
US10044838B2 (en) Method of automatically setting protocol in programmable logic controller system
CN108846951A (en) Automatic vending machine long-range control method, device, storage medium and system
CN108846952A (en) Automatic vending machine long-range control method, device, storage medium and system
CN107769952A (en) Remote management system and its method
CN113535262A (en) Method, device, equipment and storage medium for controlling starting of proxy node
CN109327499A (en) Management method and device, storage medium, the terminal of business interface
CN104796388B (en) A kind of method that the network equipment is scanned, relevant apparatus and system
CN105573905A (en) Software compatibility testing method and system
CN106095886A (en) A kind of data processing method and device thereof
CN112291365A (en) Access balance processing method and device, computer equipment and storage medium

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: 20181120