The method of merchant terminal and automatically change business status
Technical field
The present invention relates to a kind of O2O (Online To Offline, under line on line), particularly relate to a kind of merchant terminal and the automatic method changing business status.
Background technology
At present, merchant tenninal is mainly through the client order of outer selling machine software receipt from platform, if equipment open and application state for " in business ", representing at present can order, " rest " then represent current cannot order, but what many merchant tenninal were not rigorous uses outer selling machine software according to the method, actual conditions have part businessman also not shut down after actual rest custom, outer selling machine software opens for one day 24 hours, but client is also ignorant, still can select and place an order, will cause like this and constantly have client to be refused by this trade company, the experience that places an order of client is caused to become bad.
Summary of the invention
The technical problem to be solved in the present invention causing client to be rejected by during outer selling machine software receipt client's order owing to correctly not arranging business status, causing the defect experienced and become bad luck that places an order of client, provides a kind of merchant terminal and the automatic method changing business status in order to overcome merchant terminal in prior art.
The present invention solves above-mentioned technical matters by following technical proposals:
The invention provides a kind of merchant terminal, for automatically changing business status, its feature is, comprises an order acquisition module, an Ordering Module, a timer, a prompting module, a judge module;
Described order acquisition module is used for obtaining from a server order that consumer terminal sends, and described order, for after detecting the response instruction that not receive in a first time period for replying described order, is divided into invalid order by described Ordering Module;
Described prompting module ejects one and reminds frame on the interface in described merchant terminal, and it is the button of putting up the shutter of closing for characterizing business status that described prompting frame comprises one for characterize business status be the business button and one of doing business;
Described judge module for judge whether to receive within one second time period of described timer countdown the described business button of a click or described in put up the shutter the selection instruction of button, if not, then in time of described timer countdown to afterwards, the business status of described merchant terminal is automatically set as and closes.
Preferably, described prompting module is also for sending the first voice warning prompting for inquiring business status at the described second time period Inner eycle of described timer countdown.
Preferably, described judge module, also for after being automatically set as by described business status and closing, controls the circulation of described prompting module and sends the second phonic warning prompting for reminding merchant terminal to reopen for business.
Preferably, described first time period is 90 seconds, and described second time period is 60 seconds.
The object of the invention is to a kind of method additionally providing automatic change business status, its feature is, it utilizes above-mentioned merchant terminal to realize, and comprises the following steps:
S
1, described order acquisition module from one server obtain consumer terminal send order;
S
2, after described Ordering Module detects the response instruction do not received in a first time period for replying described order, described order is divided into invalid order;
S
3, described prompting module ejects one and reminds frame on the interface of described merchant terminal, it is the button of putting up the shutter of closing for characterizing business status that described prompting frame comprises one for characterize business status be the business button and one of doing business;
S
4, described judge module judge whether to receive within one second time period of described timer countdown the described business button of a click or described in put up the shutter the selection instruction of button, if not, then in time of described timer countdown to afterwards, the business status of described merchant terminal is automatically set as and closes.
Preferably, step S
4also comprise: described prompting module sends the first voice warning prompting for inquiring business status at the described second time period Inner eycle of described timer countdown.
Preferably, step S
4also comprise a step S afterwards
5: described judge module, after being automatically set as by described business status and closing, controls the circulation of described prompting module and sends the second phonic warning prompting for reminding merchant terminal to reopen for business.
Preferably, described first time period is 90 seconds, and described second time period is 60 seconds.
Positive progressive effect of the present invention is: the present invention automatically can change the business status of merchant terminal after merchant terminal dont answer client order by condition judgment, to prevent from delaying client, and after business status changed into automatically closing, take for it for preventing merchant terminal and be also in business status and order after missing, the present invention can also remind merchant terminal to reopen for business state automatically.
Accompanying drawing explanation
Fig. 1 is the module diagram of the merchant terminal of one embodiment of the invention.
Fig. 2 is the process flow diagram of the method for the automatic change business status of one embodiment of the invention.
Embodiment
Mode below by embodiment further illustrates the present invention, but does not therefore limit the present invention among described scope of embodiments.
The invention provides a kind of merchant terminal, it can change business status automatically, and as shown in Figure 1, described merchant terminal comprises order acquisition module 1, Ordering Module 2, timer 3, prompting module 4 and a judge module 5.
Consumer terminal sends order to server by the take-away App (application program) of mobile phone, described order acquisition module 1 can obtain the described order of consumer terminal transmission from server, after described Ordering Module 2 detects the response instruction whether received in a first time period (the present embodiment is preferably 90 seconds) for replying described order, if merchant terminal unmanned, cause exceeding described first time period still unmanned response order, then described order is divided into invalid order.
Described prompting module 4 ejects one and reminds frame on the interface of described merchant terminal, and it is the button of putting up the shutter of closing for characterizing business status that described prompting frame comprises one for characterize business status be the business button and one of doing business; Described judge module 5 then judge whether to receive within one second time period (the present embodiment is preferably 60 seconds) of described timer 3 countdown the described business button of a click or described in put up the shutter the selection instruction of button, if not, then illustrate that described merchant terminal is in unmanned and the situation of unmanned response always within described second time period, now in time of described timer 3 countdown to afterwards, the business status of described merchant terminal is automatically set as and closes.
And within described second time period of described timer 3 countdown, described prompting module 4 also circulates and sends for inquiring that the first phonic warning of business status is pointed out, as sent voice messages such as " boss, also in business "; Certainly, if trade company clicks business button within described second time period, then the business status of described merchant terminal recovers normal, does not reresent, if trade company clicks button of putting up the shutter, then the business status of described merchant terminal directly can become and closes.
Described judge module 5 is after being automatically set as the business status of described merchant terminal and closing, also control described prompting module 4 circulation send for remind merchant terminal to reopen for business second phonic warning prompting, voice message such as " being put up the shutter automatically because of unmanned in your shop; remembers change state after reopening for business " as sent, and reported voice message " shop is closed, remembers to reopen for business " every 60 seconds.
As shown in Figure 2, the method for the present invention's automatic change business status of utilizing the merchant terminal of the present embodiment to realize comprises the following steps:
Step 101, described order acquisition module obtain the order of consumer terminal transmission from a server.
Described order is divided into invalid order after detecting the response instruction do not received in a first time period for replying described order by step 102, described Ordering Module.
Step 103, described prompting module eject one and remind frame on the interface of described merchant terminal, and it is the button of putting up the shutter of closing for characterizing business status that described prompting frame comprises one for characterize business status be the business button and one of doing business.
Step 104, described prompting module send the first voice warning prompting for inquiring business status at the described second time period Inner eycle of described timer countdown; Described judge module judge whether to receive within one second time period of described timer countdown the described business button of a click or described in put up the shutter the selection instruction of button, if not, then in time of described timer countdown to afterwards, the business status of described merchant terminal is automatically set as and closes.
Step 105, described judge module, after being automatically set as by described business status and closing, control the circulation of described prompting module and send the second phonic warning prompting for reminding merchant terminal to reopen for business.
Although the foregoing describe the specific embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, protection scope of the present invention is defined by the appended claims.Those skilled in the art, under the prerequisite not deviating from principle of the present invention and essence, can make various changes or modifications to these embodiments, but these change and amendment all falls into protection scope of the present invention.