CN110286862A - The configuration method and device of printer, storage medium, electronic device - Google Patents

The configuration method and device of printer, storage medium, electronic device Download PDF

Info

Publication number
CN110286862A
CN110286862A CN201910398665.5A CN201910398665A CN110286862A CN 110286862 A CN110286862 A CN 110286862A CN 201910398665 A CN201910398665 A CN 201910398665A CN 110286862 A CN110286862 A CN 110286862A
Authority
CN
China
Prior art keywords
tables
data
configuration information
printer
cash register
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
CN201910398665.5A
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.)
Koubei Shanghai Information Technology Co Ltd
Original Assignee
Koubei Shanghai Information 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 Koubei Shanghai Information Technology Co Ltd filed Critical Koubei Shanghai Information Technology Co Ltd
Priority to CN201910398665.5A priority Critical patent/CN110286862A/en
Publication of CN110286862A publication Critical patent/CN110286862A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1204Improving or facilitating administration, e.g. print management resulting in reduced user or operator actions, e.g. presetting, automatic actions, using hardware token storing data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1284Local printer device

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The present invention provides a kind of configuration method of printer and device, storage medium, electronic devices, wherein, this method comprises: obtaining local tables' data of cashier terminal, wherein, local tables' data include: cash register range belonging to tables' information and tables;Printing configuration information is generated according to local tables' data, wherein the printing configuration information includes the mapping relations of cash register range and printer;The printing configuration information is sent to the cashier terminal, so that the cashier terminal sends print command according to the printing configuration information.Through the invention, the technical issues of cashier terminal is unable to order on the print wire of subregion in the related technology is solved.

Description

The configuration method and device of printer, storage medium, electronic device
Technical field
The present invention relates to computer fields, and the configuration method and device, storage in particular to a kind of printer are situated between Matter, electronic device.
Background technique
In the related technology, food and drink is a traditional industries, and a large amount of trade companies, which use, at present is based on B/S (browser/server) The cash register software of frame, these prior restaurant cash register softwares, does not have the Internet capability, and waiter can only be ordered by being manually entered The information such as single, and printed.
Since cashier terminal in the related technology is by the software of installation take-away platform, it can will take out order and print Come.But cashier terminal locally-installed cash register software is not ordered on Support Line, can only be printed the bill of cashier terminal local, be used When meal person is ordered on tables using software on line in trade company shop, its order information cannot be printed in trade company, can not divide Region is come using different printers, and such as application No. is CN201721908475 in the related technology, discloses a kind of integrated form Cash register printing equipment, trade company can only manual confirmation and input, influence efficiency of operations.
For the above problem present in the relevant technologies, at present it is not yet found that the solution of effect.
Summary of the invention
The embodiment of the invention provides a kind of configuration method of printer and device, storage medium, electronic devices.
According to one embodiment of present invention, a kind of configuration method of printer is provided, comprising: obtain cashier terminal Local tables' data, wherein local tables' data include: cash register range belonging to tables' information and tables;According to institute It states local tables' data and generates printing configuration information, wherein the printing configuration information includes reflecting for cash register range and printer Penetrate relationship;The printing configuration information is sent to the cashier terminal, so that the cashier terminal is configured according to the printing Information sends print command.
Optionally, generating printing configuration information according to local tables' data includes: according to cash register range by described Ground tables' data are divided into multiple sub- tables' data;It is that each sub- tables' data distribute a printer according to default mapping table Mark;After each sub- tables' data and printer identifier binding, the printing configuration information is generated.
Optionally, after the local tables' data for obtaining cashier terminal, the method also includes: compare the local table Whether number of units is according to consistent with cloud tables' data of server;It is different in local tables' data and the cloud tables data When cause, local tables' data are synchronized to the server.
Optionally, local tables' data are synchronized to the server includes: to use the cloud tables data Local tables data described in tables' identification retrieval, obtain tables' relevant information, wherein and tables' relevant information includes: table number, Table name, corresponding cash register range;After tables' relevant information and the tables are identified binding, store to the server.
Optionally, after the printing configuration information is sent to the cashier terminal, the method also includes: it receives The request of ordering that terminal of ordering is sent, wherein the request of ordering carries the first tables mark, order contents;Determine described First cash register range belonging to one tables;First with the first cash register commensurate in scope is searched according to the printing configuration information Printer;The first instruction information is sent to the cashier terminal, wherein it is whole that the first instruction information is used to indicate the cash register First printer is called to print the order contents in end.
Optionally, after the printing configuration information is sent to the cashier terminal, the method also includes: it receives The check-out request that terminal of ordering is sent, wherein the check-out request carries the second tables mark, consumes inventory;Determine described Second cash register range belonging to two tables;Second with the second cash register commensurate in scope is searched according to the printing configuration information Printer;Second indication information is sent to the cashier terminal, wherein it is whole that the second indication information is used to indicate the cash register Second printer is called to print the consumption inventory in end.
According to one embodiment of present invention, the configuration method of another printer is provided, is applied in cashier terminal, packet It includes: uploading local tables' data to server, wherein local tables' data include: belonging to tables' information and tables Cash register range;Receive the printing configuration information that the server is sent, wherein the printing configuration information include cash register range and The mapping relations of printer;Print command is sent to corresponding printer according to the printing configuration information.
Optionally, after receiving the printing configuration information that the server is sent, the method also includes: in the receipts The incidence relation of multiple cash register ranges and printer control is established in silver-colored terminal, wherein the printer control is the cash register The calling interface of terminal calling printer.
Optionally, sending print command to corresponding printer according to the printing configuration information includes: that reception is ordered end The request of ordering at end, wherein the request of ordering carries the first tables mark, order contents;It determines belonging to first tables The first cash register range;The first printer with the first cash register commensurate in scope is searched according to the printing configuration information;To First printer sends print command.
Optionally, sending print command to corresponding printer according to the printing configuration information includes: that reception is ordered end The check-out request at end, wherein the check-out request carries the second tables mark, consumes inventory;It determines belonging to second tables The second cash register range;The second printer with the second cash register commensurate in scope is searched according to the printing configuration information;To Second printer sends print command.
According to another embodiment of the invention, a kind of configuration device of printer is provided, is applied in server, packet It includes: module is obtained, for obtaining local tables' data of cashier terminal, wherein local tables' data include: tables' letter Breath and tables belonging to cash register range;Generation module, for generating printing configuration information according to local tables' data, Wherein, the printing configuration information includes the mapping relations of cash register range and printer;Sending module, for matching the printing Confidence breath is sent to the cashier terminal, so that the cashier terminal sends print command according to the printing configuration information.
Optionally, the generation module includes: division unit, for being drawn local tables' data according to cash register range It is divided into multiple sub- tables' data;Allocation unit, for being that each sub- tables' data distribute a printing according to mapping table is preset Machine mark;Generation unit, for generating after each sub- tables' data and printer identifier binding the printing and matching confidence Breath.
Optionally, described device further include: comparison module, for obtaining the local table of cashier terminal in the acquisition module For number of units after, whether the cloud tables' data for comparing local tables' data and server are consistent;Synchronization module is used for When local tables' data and the cloud tables data are inconsistent, local tables' data are synchronized to the service Device.
Optionally, the synchronization module includes: retrieval unit, for using the tables of the cloud tables data to identify inspection The local Suo Suoshu tables' data, obtain tables' relevant information, wherein tables' relevant information includes: table number, and table name is corresponding Cash register range;Storage unit stores after tables' relevant information and the tables are identified binding to the service Device.
According to another embodiment of the invention, the configuration device of another printer is provided, is applied in cashier terminal, It include: uploading module, for uploading local tables' data to server, wherein local tables' data include: tables' letter Breath and tables belonging to cash register range;Receiving module, the printing configuration information sent for receiving the server, wherein The printing configuration information includes the mapping relations of cash register range and printer;Sending module, for being configured according to the printing Information sends print command to corresponding printer.
According to still another embodiment of the invention, a kind of configuration system of printer is provided, comprising: server, cash register Terminal, printer, wherein the server includes: acquisition module, for obtaining local tables' data of cashier terminal, wherein Local tables' data include: cash register range belonging to tables' information and tables;Generation module, for according to described Ground tables' data generate printing configuration information, wherein the printing configuration information includes the mapping pass of cash register range and printer System;Sending module, for the printing configuration information to be sent to the cashier terminal;The cashier terminal includes: upload mould Block, for uploading local tables' data to server;Receiving module, the printing sent for receiving the server Configuration information;Sending module, for sending print command to corresponding printer according to the printing configuration information.
According to still another embodiment of the invention, a kind of storage medium is additionally provided, meter is stored in the storage medium Calculation machine program, wherein the computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
According to still another embodiment of the invention, a kind of electronic device, including memory and processor are additionally provided, it is described Computer program is stored in memory, the processor is arranged to run the computer program to execute any of the above-described Step in embodiment of the method.
Through the invention, local tables' data of cashier terminal are obtained, and generate printing configuration according to local tables' data Information, wherein printing configuration information includes the mapping relations of cash register range and printer, is finally sent to printing configuration information Cashier terminal, so that cashier terminal sends print command according to printing configuration information, by the way that tables are identified association cash register range, And by cash register range association prints machine, under the premise of guaranteeing printing function, the transfer ordered under line to ordering on line is realized, Reach with the seamless interfacing under line with cash register on line, call tables' correlation bill of different zones pair It answers the printer of regional scope to be printed, solves the skill that cashier terminal in the related technology is unable to order on the print wire of subregion Art problem.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of configuration server structural block diagram of printer of the embodiment of the present invention;
Fig. 2 is a kind of configuration method flow chart of printer according to an embodiment of the present invention;
Fig. 3 is the configuration method flow chart of another printer according to an embodiment of the present invention;
Fig. 4 is the flow diagram of configuration printer of the embodiment of the present invention;
Fig. 5 is a kind of structural block diagram of the configuration device of printer of the embodiment of the present invention;
Fig. 6 is a kind of schematic diagram of the configuration system of printer of the embodiment of the present invention.
Specific embodiment
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflicting In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.
Embodiment 1
Embodiment of the method provided by the embodiment of the present application one can mobile terminal, terminal, server or It is executed in similar arithmetic unit.For running on the server, Fig. 1 is a kind of configuration of printer of the embodiment of the present invention Server architecture block diagram.As shown in Figure 1, server 10 may include one or more (only showing one in Fig. 1) processors 102 It (processing unit that processor 102 can include but is not limited to Micro-processor MCV or programmable logic device FPGA etc.) and is used for The memory 104 of storing data, optionally, above-mentioned server can also include for communication function transmission device 106 and Input-output equipment 108.It will appreciated by the skilled person that structure shown in FIG. 1 is only to illustrate, not to above-mentioned The structure of server causes to limit.For example, server 10 may also include than shown in Fig. 1 more perhaps less component or With the configuration different from shown in Fig. 1.
Memory 104 can be used for storing computer program, for example, the software program and module of application software, such as this hair The corresponding computer program of configuration method of one of bright embodiment printer, processor 102 are stored in storage by operation Computer program in device 104 realizes above-mentioned method thereby executing various function application and data processing.Memory 104 may include high speed random access memory, may also include nonvolatile memory, and such as one or more magnetic storage device dodges It deposits or other non-volatile solid state memories.In some instances, memory 104 can further comprise relative to processor 102 remotely located memories, these remote memories can pass through network connection to server 10.The example packet of above-mentioned network Include but be not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include The wireless network that the communication providers of server 10 provide.In an example, transmitting device 106 includes a network adapter (Network Interface Controller, referred to as NIC), can be connected by base station with other network equipments so as to It is communicated with internet.In an example, transmitting device 106 can be radio frequency (Radio Frequency, referred to as RF) Module is used to wirelessly be communicated with internet.
A kind of configuration method of printer is provided in the present embodiment, is applied in server side, which can be The server of online service is provided, while accessing the cashier terminal of trade company and the point unit/terminal of user, Fig. 2 is real according to the present invention A kind of configuration method flow chart of printer of example is applied, as shown in Fig. 2, the process includes the following steps:
Step S202 obtains local tables' data of cashier terminal, wherein and local tables' data include: tables' information, with And cash register range belonging to tables;
In the data that tables' data of the present embodiment are each tables in service location (such as dining room, coffee shop etc.), packet Tables' information is included, cash register range belonging to tables, tables' information includes tables' mark, table number, table name, the attribute information of tables (dimensions of such as tables, orientation are applicable in a few people's dining) etc., a service location includes multiple cash register models in the present embodiment It encloses, each cash register range includes one or more tables;
Step S204 generates printing configuration information according to local tables' data, wherein printing configuration information includes cash register model Enclose the mapping relations with printer;
The printing configuration information of the present embodiment for controlling printer, close by the mapping including multiple groups cash register range and printer It is that the cash register range for again including one or more tables' the present embodiment is a compass of competency within the scope of each cash register;
Printing configuration information is sent to cashier terminal, so that cashier terminal is sent out according to printing configuration information by step S206 Send print command.
Through the above steps, local tables' data of cashier terminal are obtained, and generates printing according to local tables' data and matches Confidence breath, wherein printing configuration information includes the mapping relations of cash register range and printer, finally sends printing configuration information To cashier terminal, so that cashier terminal sends print command according to printing configuration information, by the way that tables are identified association cash register model It encloses, and by cash register range association prints machine, under the premise of guaranteeing printing function, realizes to be ordered under line to what is ordered on line and turn Move, reach with the seamless interfacing under line with cash register on line, allow on line that tables' correlation bill of different zones is adjusted in order It is printed with the printer of corresponding region range, solves cashier terminal in the related technology and be unable to order on the print wire of subregion The technical issues of.
In the computer equipment that cashier terminal is by the personal management within the scope of specific cash register, or the mobile end carried When end, printing configuration information is sent to computer equipment or mobile terminal.
In an optional embodiment of the present embodiment, generating printing configuration information according to local tables' data includes:
Local tables' data are divided into multiple sub- tables' data according to cash register range by S11;
In the present embodiment, multiple complete local tables' data of sub- tables' data composition, in one example, local table Number of units is respectively as follows: (No. 1 table, the area A) according to including 3 groups of data, (No. 2 tables, the area B), (No. 3 tables, the area A), then according to cash register range, The data for belonging to same cash register range are divided into sub- tables' data, i.e. (No. 1 table, the area A) and (No. 3 tables, the area A) belongs to one A sub- tables' data.
S12 is that each sub- tables' data distribute a printer identifier according to default mapping table;
Dining room manages each region for convenience, and one or more printers can be arranged for each region, as dining room is wrapped Three layers are included, every layer has corresponding rear kitchen and cash register, and the biography dish and cash register in rear kitchen, are all arranged one in each layer and beat for convenience Print machine, the paper-bill of the printer only print service floor.Default mapping table in one example, Stall are beaten using No. 1 Print machine, second floor use No. 2 printers, use No. 3 printers three buildings, then distribute sub- tables' data of Stall to No. 1 printer, and two Sub- tables' data in building distribute No. 2 printers, and three buildings sub- tables' data distribute No. 3 printers.
S13 generates printing configuration information after every sub- tables' data and printer identifier binding.
Further, can be according to the cash register range of cash register, the cashier terminal within the scope of Xiang Butong cash register is only sent Sub- tables' data in administrative area.
Optionally, cloud can also be synchronized to cloud, after the local tables' data for obtaining cashier terminal to use Family use order terminal access cloud order when, newest tables' data can be used.In the local table for obtaining cashier terminal Number of units is after, further includes: whether the cloud tables' data for comparing local tables' data and server are consistent;In local tables' number According to it is inconsistent with cloud tables' data when, local tables' data are synchronized to server.Specifically, local tables' data are synchronous To tables' identification retrieval local tables' data that server includes: using cloud tables' data, tables' relevant information is obtained, In, tables' relevant information includes: table number, table name, corresponding cash register range;After tables' relevant information and tables are identified binding, It stores to server.In some implement scenes, table number and table name are corresponding with tables' mark, and tables are identified as tables and put down on line The mark that platform uses can select the tables and identify and then place an order when user orders on line.
In an optional embodiment of the present embodiment, after generating printing configuration information, confidence also is matched into printing It ceases while storing beyond the clouds, so that cloud as cashier terminal, equally can control the printer of cashier terminal, will print Configuration information is sent to after cashier terminal, further includes:
S21 receives the request of ordering for terminal transmission of ordering, wherein request of ordering carries the first tables and identifies, in order Hold;
In one example, user order on line using the platform of ordering for terminal of ordering, into the boundary that orders of A trade company Behind face, have selected No. 1 table, and selected A vegetable and B vegetable, upload to cloud server after request is ordered in generation, server into And corresponding merchant tenninal (cashier terminal) is distributed to according to merchant identification.
S22 determines the first cash register range belonging to the first tables;
S23 searches the first printer with the first cash register commensurate in scope according to the printing configuration information;
According to above-mentioned example, No. 1 table corresponding A cash register region, and the printer for administering A cash register region is No. 1 printer, then Indicate that cashier terminal prints the order contents of No. 1 table using No. 1 printer.
S24 sends the first instruction information to cashier terminal, wherein the first instruction information is used to indicate cashier terminal calling First printer prints order contents.
In an optional embodiment of the present embodiment, after it will print configuration information and be sent to cashier terminal, also Include:
S31 receives the check-out request for terminal transmission of ordering, wherein check-out request carries the second tables mark, and consumption is clear It is single;
In one example, user order on line using the platform of ordering for terminal of ordering, into the boundary that orders of A trade company Face has selected No. 2 tables, and has selected A vegetable and C vegetable, and when initiating check-out request, consumer requests and tables' mark are sent to Server, server are distributed to corresponding merchant tenninal (cashier terminal) according to merchant identification in turn.
S32 determines the second cash register range belonging to the second tables;
S33 searches the second printer with the second cash register commensurate in scope according to the printing configuration information;
According to above-mentioned example, No. 2 tables correspond to B cash register region, and the printer for administering B cash register region is No. 2 printers, then Indicate that cashier terminal prints the consumption inventory of No. 2 tables using No. 2 printers.
S34 sends second indication information to cashier terminal, wherein second indication information is used to indicate cashier terminal calling Second printer printing consumption inventory.
The configuration method of another printer is provided in the present embodiment, is applied in cash register corresponding with above-mentioned server Terminal side, Fig. 3 is the configuration method flow chart of another printer according to an embodiment of the present invention, as shown in figure 3, the process packet Include following steps:
Step S302 uploads local tables' data to server, wherein and local tables' data include: tables' information, and Cash register range belonging to tables;
Step S304 receives the printing configuration information that server is sent, wherein printing configuration information include cash register range with The mapping relations of printer;
Step S306 sends print command to corresponding printer according to printing configuration information.
In an optional embodiment of the present embodiment, after receiving the printing configuration information that server is sent, also It include: the incidence relation that multiple cash register ranges and printer control are established on cashier terminal, wherein printer control is cash register The calling interface of terminal calling printer.
The cashier terminal of the present embodiment will be installed multiple connected to it or available printer control, and user is using When printer, it can choose one of them and printed, the present embodiment passes through association cash register range and printer control, Ke Yi Different printers is automatically selected and called on cashier terminal according to cash register range.
In addition to server side control printer other than, can also cashier terminal side control printer, herein or with Scene of ordering is illustrated with checkout scene, and others such as check and write off scene, and reimbursement scene etc. needs to print paper-bill Scene is equally applicable.
In an implement scene scheme of the present embodiment, is sent and printed to corresponding printer according to printing configuration information Instruction includes: to receive the request of ordering for terminal of ordering, wherein request of ordering carries the first tables mark, order contents;Determine First cash register range belonging to one tables;The first printing with the first cash register commensurate in scope is searched according to the printing configuration information Machine;Print command is sent to the first printer.
In another implement scene scheme of the present embodiment, beaten according to printing configuration information to the transmission of corresponding printer Print instruction includes: to receive the check-out request for terminal of ordering, wherein check-out request carries the second tables mark, consumes inventory;It determines Second cash register range belonging to second tables;Second dozen with the second cash register commensurate in scope is searched according to the printing configuration information Print machine;Print command is sent to the second printer.
Fig. 4 is the flow diagram of configuration printer of the embodiment of the present invention, as shown in figure 4, cashier terminal is retaining by hand Intelligence can be gone to read trade company's original region printing configuration information and same while configuring area printing function according to cash register software It walks in cashier terminal, realizes the key configuration of region printing, greatly improve the allocative efficiency of region printing, if configuration The information cashier terminal that changes can also perceive at the first time and be synchronized to cloud server, and process includes:
After starting, automatic identification cash register system and the tables' data for obtaining region printing configuration did not synchronized tables' data To cloud, it converts server internal tables id to the tables id of cashier terminal local, the tables of synchronous tables' data to cloud System;
Tables' data of configuration are printed according to some cycles automatic identification cash register system and sensing region, once local data It is variant with the data of cloud tables' system, then synchronize tables' data to cloud tables' system;
If the cash register system of cashier terminal can not be identified, manual typing tables' information it can carry out configuring area on line and beat Print;
Cashier terminal pulls tables' data of cash register system region printing configuration, by the tables id of cash register system beyond the clouds It as ginseng is entered, initiates to request to tables' system, the tables id in the tables id inquiry cloud of cashier terminal local returns to cashier terminal Tables' data are to cloud, tables' data inclusion region, table number and table name etc.;
Tables' data that the tables inquired return are synchronized to aol server and corresponding printer control seals Dress, realizes the configuration of region printing, and tables' bill of different zones can call the printer of the compass of competency to print;
Scheme through this embodiment passes through the cash register system of automatic identification cashier terminal and obtains the tables of cash register system Data, using tables' data as entering ginseng, the data with tables' system compare and search the tables in corresponding cloud and whether there is, and will look into It askes tables' result to return, and the tables of return is synchronized on line and are packaged with corresponding printer, realize region printing Configuration.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
Additionally provide a kind of configuration device of printer in the present embodiment, system, for realizing above-described embodiment and excellent Embodiment is selected, the descriptions that have already been made will not be repeated.As used below, predetermined function may be implemented in term " module " Software and/or hardware combination.Although device described in following embodiment is preferably realized with software, hardware, Or the realization of the combination of software and hardware is also that may and be contemplated.
Embodiment additionally provides a kind of configuration device of printer, and Fig. 5 is a kind of matching for printer of the embodiment of the present invention The structural block diagram of device is set, can be using in the server, which includes: to obtain module 50, generation module 52, sending module 54, wherein
Obtain module 50, for obtaining local tables' data of cashier terminal, wherein it is described local tables' data include: Cash register range belonging to tables' information and tables;
Generation module 52, for generating printing configuration information according to local tables' data, wherein the printing configuration Information includes the mapping relations of cash register range and printer;
Sending module 54, for the printing configuration information to be sent to the cashier terminal, so that the cashier terminal Print command is sent according to the printing configuration information.
Optionally, the generation module includes: division unit, for being drawn local tables' data according to cash register range It is divided into multiple sub- tables' data;Allocation unit, for being that each sub- tables' data distribute a printing according to mapping table is preset Machine mark;Generation unit, for generating after each sub- tables' data and printer identifier binding the printing and matching confidence Breath.
Optionally, described device further include: comparison module, for obtaining the local table of cashier terminal in the acquisition module For number of units after, whether the cloud tables' data for comparing local tables' data and server are consistent;Synchronization module is used for When local tables' data and the cloud tables data are inconsistent, local tables' data are synchronized to the service Device.
Optionally, the synchronization module includes: retrieval unit, for using the tables of the cloud tables data to identify inspection The local Suo Suoshu tables' data, obtain tables' relevant information, wherein tables' relevant information includes: table number, and table name is corresponding Cash register range;Storage unit stores after tables' relevant information and the tables are identified binding to the service Device.
Embodiment additionally provides the configuration device of another printer, can apply in cashier terminal, which includes: Uploading module, for uploading local tables' data to server, wherein local tables' data include: tables' information, and Cash register range belonging to tables;Receiving module, the printing configuration information sent for receiving the server, wherein described to beat Print configuration information includes the mapping relations of cash register range and printer;Sending module, for according to the printing configuration information to Corresponding printer sends print command.
Embodiment additionally provides a kind of configuration system of printer, and Fig. 6 is a kind of matching for printer of the embodiment of the present invention Set the schematic diagram of system, comprising: server 60, cashier terminal 62, printer 64, wherein the server 60 includes: acquisition mould Block, for obtaining local tables' data of cashier terminal, wherein local tables' data include: tables' information and tables Affiliated cash register range;Generation module, for generating printing configuration information according to local tables' data, wherein described to beat Print configuration information includes the mapping relations of cash register range and printer;Sending module, for sending the printing configuration information To the cashier terminal;
The cashier terminal 62 includes: uploading module, for uploading local tables' data to server;Receive mould Block, the printing configuration information sent for receiving the server;Sending module, for according to the printing configuration information Print command is sent to corresponding printer 64.
In some specific scenes, the printer and cashier terminal of the present embodiment are integrated within one device, have simultaneously The function of standby cash register and printing.
It should be noted that client and server is only difference of the scheme in executing subject, above-mentioned acquisition webpage number According in terminal each example and optinal plan equally adapt in client and server, and generate identical technical effect.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong Following manner realization is crossed, but not limited to this: above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with any Combined form is located in different processors.
Embodiment 3
The embodiments of the present invention also provide a kind of storage medium, computer program is stored in the storage medium, wherein The computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the one aspect of the present embodiment, above-mentioned storage medium can be set to storage for execute with The computer program of lower step:
S1 obtains local tables' data of cashier terminal, wherein and local tables' data include: tables' information, and Cash register range belonging to tables;
S2 generates printing configuration information according to local tables' data, wherein the printing configuration information includes cash register The mapping relations of range and printer;
The printing configuration information is sent to the cashier terminal, so that the cashier terminal is according to the printing by S3 Configuration information sends print command.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (Read- Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard The various media that can store computer program such as disk, magnetic or disk.
The embodiments of the present invention also provide a kind of electronic device, including memory and processor, stored in the memory There is computer program, which is arranged to run computer program to execute the step in any of the above-described embodiment of the method Suddenly.
Optionally, above-mentioned electronic device can also include transmission device and input-output equipment, wherein the transmission device It is connected with above-mentioned processor, which connects with above-mentioned processor.
Optionally, in the one aspect of the present embodiment, above-mentioned processor can be set to hold by computer program Row following steps:
S1 obtains local tables' data of cashier terminal, wherein and local tables' data include: tables' information, and Cash register range belonging to tables;
S2 generates printing configuration information according to local tables' data, wherein the printing configuration information includes cash register The mapping relations of range and printer;
The printing configuration information is sent to the cashier terminal, so that the cashier terminal is according to the printing by S3 Configuration information sends print command.
Optionally, the specific example in the present embodiment can be with reference to described in above-described embodiment and optional embodiment Example, details are not described herein for the present embodiment.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored It is performed by computing device in the storage device, and in some cases, it can be to be different from shown in sequence execution herein Out or description the step of, perhaps they are fabricated to each integrated circuit modules or by them multiple modules or Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.It is all within principle of the invention, it is made it is any modification, etc. With replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of configuration method of printer characterized by comprising
Obtain local tables' data of cashier terminal, wherein local tables' data include: tables' information and tables institute The cash register range of category;
Generate printing configuration information according to local tables' data, wherein the printing configuration information include cash register range and The mapping relations of printer;
The printing configuration information is sent to the cashier terminal, so that the cashier terminal is according to the printing configuration information Send print command.
2. the method according to claim 1, wherein generating printing configuration information according to local tables' data Include:
Local tables' data are divided into multiple sub- tables' data according to cash register range;
It is that each sub- tables' data distribute a printer identifier according to default mapping table;
After each sub- tables' data and printer identifier binding, the printing configuration information is generated.
3. the method according to claim 1, wherein obtain cashier terminal local tables' data after, institute State method further include:
Whether the cloud tables' data for comparing local tables' data and server are consistent;
When local tables' data and the cloud tables data are inconsistent, local tables' data are synchronized to described Server.
4. a kind of configuration method of printer characterized by comprising
Local tables' data are uploaded to server, wherein local tables' data include: belonging to tables' information and tables Cash register range;
Receive the printing configuration information that the server is sent, wherein the printing configuration information includes cash register range and printing The mapping relations of machine;
Print command is sent to corresponding printer according to the printing configuration information.
5. according to the method described in claim 4, it is characterized in that, receive printing configuration information that the server is sent it Afterwards, the method also includes:
The incidence relation of multiple cash register ranges and printer control is established on cashier terminal, wherein the printer control is The cashier terminal calls the calling interface of printer.
6. a kind of configuration device of printer characterized by comprising
Module is obtained, for obtaining local tables' data of cashier terminal, wherein local tables' data include: tables' letter Breath and tables belonging to cash register range;
Generation module, for generating printing configuration information according to local tables' data, wherein the printing configuration information packet Include the mapping relations of cash register range and printer;
Sending module, for the printing configuration information to be sent to the cashier terminal, so that the cashier terminal is according to institute It states printing configuration information and sends print command.
7. a kind of configuration device of printer characterized by comprising
Uploading module, for uploading local tables' data to server, wherein local tables' data include: tables' information, And cash register range belonging to tables;
Receiving module, the printing configuration information sent for receiving the server, wherein the printing configuration information includes receiving The mapping relations of silver-colored range and printer;
Sending module, for sending print command to corresponding printer according to the printing configuration information.
8. a kind of configuration system of printer characterized by comprising server, cashier terminal, printer, wherein
The server includes:
Module is obtained, for obtaining local tables' data of cashier terminal, wherein local tables' data include: tables' letter Breath and tables belonging to cash register range;
Generation module, for generating printing configuration information according to local tables' data, wherein the printing configuration information packet Include the mapping relations of cash register range and printer;
Sending module, for the printing configuration information to be sent to the cashier terminal;
The cashier terminal includes:
Uploading module, for uploading local tables' data to server;
Receiving module, the printing configuration information sent for receiving the server;
Sending module, for sending print command to corresponding printer according to the printing configuration information.
9. a kind of storage medium, which is characterized in that be stored with computer program in the storage medium, wherein the computer Program is arranged to perform claim when operation and requires method described in 1 to 5 any one.
10. a kind of electronic device, including memory and processor, which is characterized in that be stored with computer journey in the memory Sequence, the processor are arranged to run the computer program in method described in perform claim 1 to 5 any one of requirement.
CN201910398665.5A 2019-05-14 2019-05-14 The configuration method and device of printer, storage medium, electronic device Pending CN110286862A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910398665.5A CN110286862A (en) 2019-05-14 2019-05-14 The configuration method and device of printer, storage medium, electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910398665.5A CN110286862A (en) 2019-05-14 2019-05-14 The configuration method and device of printer, storage medium, electronic device

Publications (1)

Publication Number Publication Date
CN110286862A true CN110286862A (en) 2019-09-27

Family

ID=68002066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910398665.5A Pending CN110286862A (en) 2019-05-14 2019-05-14 The configuration method and device of printer, storage medium, electronic device

Country Status (1)

Country Link
CN (1) CN110286862A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112686600A (en) * 2020-12-28 2021-04-20 北京三快在线科技有限公司 Kitchen list printing terminal control method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104820957A (en) * 2015-04-20 2015-08-05 云南宝凯科技有限公司 Visual client terminal self-service food ordering method and system
CN105160409A (en) * 2015-09-07 2015-12-16 河南智业科技发展有限公司 On-line ordering, cashing, and management system based on Internet
CN207068048U (en) * 2017-08-02 2018-03-02 福建米客互联网科技有限公司 A kind of invoice self-service print system
CN108803962A (en) * 2018-05-28 2018-11-13 浙江口碑网络技术有限公司 The tables of cashier terminal manage exchange method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104820957A (en) * 2015-04-20 2015-08-05 云南宝凯科技有限公司 Visual client terminal self-service food ordering method and system
CN105160409A (en) * 2015-09-07 2015-12-16 河南智业科技发展有限公司 On-line ordering, cashing, and management system based on Internet
CN207068048U (en) * 2017-08-02 2018-03-02 福建米客互联网科技有限公司 A kind of invoice self-service print system
CN108803962A (en) * 2018-05-28 2018-11-13 浙江口碑网络技术有限公司 The tables of cashier terminal manage exchange method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112686600A (en) * 2020-12-28 2021-04-20 北京三快在线科技有限公司 Kitchen list printing terminal control method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US7158035B2 (en) Server apparatus and information providing method
CN103297507B (en) Cloud computing operation system and the method for providing a user service
US9946999B2 (en) Customer interaction manager on a point of sale computer
CN106981000A (en) Interaction, method of ordering and system under many people's lines based on augmented reality
CN109829308A (en) The management method and device of control strategy, storage medium, electronic device
CN102739808B (en) Transmission system and the method for cloud storage server, user terminal and high in the clouds data
CN103793861A (en) Rapid self-service order system
CN103150602A (en) Reservation system and reservation method
US20170222868A1 (en) Fail-safe electronic restaurant management system
CN110717800A (en) Digital processing method, device and system for restaurant stores
CN110166427A (en) Security processing that businessman's management equipment uses, apparatus and system
CN110609665A (en) Printing information processing method, device and system
CN105404201B (en) The intelligent control method of the intelligence control system of refrigerator
CN109636512A (en) A kind of method and apparatus for realizing shopping process by video
CN109112770A (en) Control method, device and the electronic equipment of device for clothing processing
CN106844063A (en) Cross-platform data processing method, system and cross-platform data shared system
CN110580665A (en) catering information processing method, device and system
CN109688362A (en) A kind of barcode scanning method and apparatus in video calling
CN110889573A (en) Equipment model selection method and device thereof
CN104835084A (en) System for obtaining food selection information
CN103745541B (en) Cashier system based on cloud computing and mobile internet technology
CN110286862A (en) The configuration method and device of printer, storage medium, electronic device
KR20140107933A (en) Order system using smart menu board
CN107149400B (en) A kind of intelligent rice cooking system, method, apparatus, user terminal and storage medium
CN106447433A (en) Method and apparatus for selecting table

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

Application publication date: 20190927