Summary of the invention
A kind of portable intelligent printer and its active Method of printing, device that the embodiment of the present invention proposes, are able to achieve master
Dynamic printing, to meet the particular demands of user.
The embodiment of the invention provides a kind of active Method of printings of portable intelligent printer, include the following steps:
Detection is directed to the operation of the specified button of portable intelligent printer;
When the operation triggers preset active print command, controls the portable intelligent printer and actively beat
Print, to print the paper for including predetermined pattern;Wherein, the predetermined pattern depositing according to the portable intelligent printer
The pre-stored print data of reservoir generates.
Preferably, the specified button is the power button of the portable printer.
Preferably, for triggering the operation of the active print command are as follows: continuous short-press presses the power button twice.
Preferably, the predetermined pattern includes the link address of application software corresponding with the portable intelligent printer
Two dimensional code;The link address two dimensional code jumps to the downloading page of the application software for the terminal of driver sweep.
Preferably, the predetermined pattern includes the bluetooth connection two dimensional code of the portable intelligent printer;The bluetooth
Terminal with bluetooth equipment of the connection two dimensional code for driver sweep establishes bluetooth connection with the portable intelligent printer.
Preferably, described when the operation triggers preset active print command, control the portable printer into
Row actively prints, and to print the paper for including predetermined pattern, specifically includes:
It is preparatory from the memory of the portable intelligent printer when the operation triggers preset active print command
In more parts of print datas of storage, a print data is randomly selected;
It controls the portable intelligent printer to be printed according to the print data of selection, includes to print
The paper of pattern corresponding with the print data.
Preferably, described when the operation triggers preset active print command, control the portable intelligent printing
Machine carries out active printing and is specifically included with printing the paper for including predetermined pattern:
When the operation triggers preset active print command, current time is obtained;
Print data corresponding with the current time is read out of the portable intelligent printer memory;
It controls the portable intelligent printer to be printed according to the print data of selection, includes to print
The paper of pattern corresponding with the print data.
Preferably, further includes:
When receiving the data with tentation data format that the terminal currently connected is sent, the data are stored in
In the memory;Wherein, the data include time and print data corresponding with the time.
The embodiment of the invention also provides a kind of active printing equipments of portable intelligent printer, comprising:
Detection unit is operated, for detecting the operation for being directed to the specified button of portable printer;
Print control unit, for controlling the Portable hitting when the operation triggers preset active print command
Print machine carries out active printing, to print the paper for including predetermined pattern;Wherein, the predetermined pattern is according to described portable
The pre-stored print data of the memory of intelligence printer generates.
The embodiment of the invention also provides a kind of portable intelligent printers, including key, key press detecting circuit, printing portion
Part, processor and memory;The key is connect with the input terminal of the key press detecting circuit, the key press detecting circuit
Output end, the wireless transport module, the print member and memory are connected to the processor;In the memory
It is stored with computer program and print data;The computer program can be executed by the processor, to realize as above-mentioned
Active Method of printing.
In said one embodiment, when triggering active print command by the operation to specified button, it can read
The pre-stored print data of memory carries out active printing, and whole printing process is not need to rely on the input of external data,
Meet some particular demands of user.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, first embodiment of the invention provides a kind of active Method of printing of portable intelligent printer,
It can be executed by the processor of the portable intelligent printer, to realize following steps:
S101, detection are directed to the operation of the specified button of portable intelligent printer.
S102 controls the portable intelligent printer and carries out when the operation triggers preset active print command
It actively prints, to print the paper for including predetermined pattern;Wherein, the predetermined pattern is printed according to the portable intelligent
The pre-stored print data of the memory of machine generates.
In the present embodiment, the specified button can be the key being independently arranged, and be also possible to described portable
The power button of intelligence printer, the present invention is not specifically limited.From optimization portable intelligent printer overall structure and
From the perspective of reducing component, the specified button is the power button of portable intelligent printer, when should not exclude independence
The case where setting button or other key-press sharings with portable intelligent printer.
In the present embodiment, the input terminal of the power button and key press detecting circuit connects, and key press detecting circuit
Output end is connected to the processor.When user presses the power button, key press detecting circuit can be produced according to pressing operation
Raw corresponding level signal.For example, when power button does not press, output end exports high level signal to the processor,
And when being pressed, output end exports low level signal to the processor.Wherein, key press detecting circuit is most of at present electric
The general key press detecting circuit of sub- equipment, such as can refer to the key press detecting circuit of mobile phone, this will not be repeated here by the present invention.
In the present embodiment, the processor can be according to the level signal from the key press detecting circuit received
To generate corresponding control instruction.For example, the case where for being switched on, when the power button described in user's long-pressing, then the key
The output end of detection circuit can be continuously generated a string of low level signals, and the processor is receiving continuous a string of low levels letter
After number, that is, power-on instruction is triggered, the portable printer is controlled and enters open state.
In the present embodiment, the operation for triggering the active print command can be preset, for example, being set as in the short time
Continuous short-press presses the power button twice in (such as 1 second), and in this case, the output end of the key press detecting circuit exports
Level signal show as occurring in a short time the low levels at two intervals.When the processor detects to go out in a short time
The low level at existing two intervals, that is, trigger the active print command.It should be noted that in the other embodiment of the present invention
In, the operation for triggering the active print command can be set according to actual demand, for example, short-press presses the power supply in the short time
Key three times, it is four inferior, but should be noted that and do not conflict with the generation of the power-on operation of the portable intelligent printer.Wherein, here
Short-press pressure be to press opposite concept with long, such as when to be set as long pressing be Continued depression 3 seconds, then it is believed that pressing continues
Time was all short-press pressure less than 3 seconds, it is of course also possible to the duration of short-press pressure be arranged according to actual needs, for example, being defaulted as
Pressing of the duration no more than 1 second is short-press pressure, and the present invention is not specifically limited.
In the present embodiment, after triggering the active print command, the processor reads the portable intelligent and beats
The pre-stored print data of the memory of print machine, to be printed according to the print data, generating has and the printing
Data include the paper of predetermined pattern accordingly.
In conclusion the active Method of printing of portable intelligent printer provided in this embodiment, by being pressed to specified
When the operation of key triggers active print command, it can read and carry out active printing in the pre-stored print data of memory, it is whole
A print procedure is not need to rely on the input of external data, meets some particular demands of user.
Some currently preferred embodiments of the present invention to be described in further detail below convenient for the understanding of the present invention.
On the basis of the above embodiments, in a preferred embodiment of the invention:
The predetermined pattern includes the link address two dimensional code of application software corresponding with the portable intelligent printer;
The link address two dimensional code jumps to the downloading page of the application software for the terminal of driver sweep.
In the prior art, the print data of portable printer is usually to pass through mobile terminal connected to it to send
, and in order to send the print data, it is soft that mobile terminal needs to install an application relevant to the portable printer
Part.Typically, the download address (example of the application software can be enclosed on the operation instructions or casing of portable printer
Such as with quick response code form presence).The case where for operation instructions, then in addition to owner itself, other people are less easily accessible to.It is right
In situation about being arranged on casing, then there is two dimensional code can be worn and can not read or influence asking for printer overall appearance
Topic.
For this purpose, in the present embodiment, it can be in advance in the storage inside energy of the memory of the portable intelligent printer
Enough print the print data of the link address two dimensional code of application software.Then when being triggered to active print command, that is, print
Paper comprising the link address two dimensional code, in this way, the mobile terminal of user can be by scanning the link address two dimensional code
The downloading page for jumping to the application software realizes convenient and fast application software downloading.
It should be noted that in other embodiments of the invention, the appearance form of link address is two dimensional code incessantly,
Can present otherwise, such as three-dimension code or other coding forms, these schemes protection scope of the present invention it
Interior, this will not be repeated here.
On the basis of the above embodiments, in a preferred embodiment of the invention:
The predetermined pattern includes the bluetooth connection two dimensional code of the portable intelligent printer;The bluetooth connection two dimension
Terminal with bluetooth equipment of the code for driver sweep establishes bluetooth connection with the portable intelligent printer.
In the prior art, the print data of portable printer is usually to pass through mobile terminal connected to it to send
, wherein the mode of connection is usually bluetooth connection.In order to establish bluetooth connection, user needs first to open bluetooth, searches again for attached
Close bluetooth equipment, finds portable printer, resettles connection.Whole process is comparatively laborious.
For this purpose, in the present embodiment, it can be in advance in the storage inside energy of the memory of the portable intelligent printer
Enough print the print data of the bluetooth connection two dimensional code of the portable intelligent printer.Then when being triggered to active print command
When, that is, the paper comprising the bluetooth connection two dimensional code is printed, in this way, the mobile terminal of user can be by scanning the bluetooth
Connection two dimensional code quickly establishes bluetooth connection with the portable intelligent printer automatically, facilitates the operation of user.
It should be noted that in other embodiments of the invention, the appearance form of bluetooth connection is two dimensional code incessantly,
Can present otherwise, such as three-dimension code or other coding forms, these schemes protection scope of the present invention it
Interior, this will not be repeated here.
On the basis of the above embodiments, in a preferred embodiment of the invention:
Step S102 is specifically included:
It is preparatory from the memory of the portable intelligent printer when the operation triggers preset active print command
In more parts of print datas of storage, a print data is randomly selected.
It controls the portable intelligent printer to be printed according to the print data of selection, includes to print
The paper of pattern corresponding with the print data.
Specifically, in application scenes, the portable intelligent printer can be applied to the students of the junior years or
The education and study of children before age.In such cases, user can first pass through mobile terminal and be passed to more parts to the intelligence printer
Print data (for example, some exercises, letter or English word etc.), and it is stored in the storage of the portable intelligent printer
In device.Then when triggering active print command, the processor can randomly select one from pre-stored more parts of print datas
Part print data simultaneously prints, to realize incidental learning or the investigation of random knowledge point etc..Certainly, other are applied also for
Scape, the present invention is not specifically limited.
On the basis of the above embodiments, in a preferred embodiment of the invention:
Step S102 is specifically included:
When the operation triggers preset active print command, current time is obtained;
Print data corresponding with the current time is read out of the portable intelligent printer memory;
It controls the portable intelligent printer to be printed according to the print data of selection, includes to print
The paper of pattern corresponding with the print data.
In the present embodiment, user, which can be sent by mobile terminal to the portable intelligent printer, has predetermined format
Data, such as the data format of the data are as follows: time: print data.Then when the processor is receiving such data lattice
When the data of formula, printing is not carried out, and is stored in memory.
When triggering active print command, the processor is read the current time, and according to the current time from storage
Data in find print data corresponding with the current time, and control and printed.
Specifically, in application scenes, for example, user can be in advance by the important thing in a period of time (such as one week)
Item (such as meeting, course) is stored in advance in portable intelligent printer according to its time of origin.If user it should be understood that
The backlog of its same day or current point in time, can directly trigger active print command, the portable intelligent printer is
Backlog corresponding with current point in time can be printed.With it is existing backlog is recorded on note compared with, this reality
A more convenient and quicker is applied, and does not have to worry the problem of note is lost.
Referring to Fig. 2, second embodiment of the invention additionally provides a kind of active printing equipment of portable intelligent printer,
Include:
Detection unit 10 is operated, for detecting the operation for being directed to the specified button of portable printer;
Print control unit 20, for controlling described portable when the operation triggers preset active print command
Printer carries out active printing, to print the paper for including predetermined pattern;Wherein, the predetermined pattern is according to described portable
The pre-stored print data of the memory of formula printer generates.
Preferably, the specified button is the power button of the portable printer.
Preferably, for triggering the operation of the active print command are as follows: continuous short-press presses the power button twice.
Preferably, the predetermined pattern includes the link address of application software corresponding with the portable intelligent printer
Two dimensional code;The link address two dimensional code jumps to the downloading page of the application software for the terminal of driver sweep.
Preferably, the predetermined pattern includes the bluetooth connection two dimensional code of the portable intelligent printer;The bluetooth
Terminal with bluetooth equipment of the connection two dimensional code for driver sweep establishes bluetooth connection with the portable intelligent printer.
Preferably, the print control unit 20 specifically includes:
Module is randomly selected, for when the operation triggers preset active print command, from the portable intelligent
In the pre-stored more parts of print datas of the memory of printer, a print data is randomly selected;
First printing control model, for control the portable intelligent printer according to the print data of selection into
Row printing, to print the paper for including pattern corresponding with the print data.
Preferably, the print control unit 20 specifically includes:
Time-obtaining module, for obtaining current time when the operation triggers preset active print command;
Print data read module, when for reading out of the portable intelligent printer memory and is described current
Between corresponding print data;
Second printing control model, for control the portable intelligent printer according to the print data of selection into
Row printing, to print the paper for including pattern corresponding with the print data.
Third embodiment of the invention additionally provides a kind of portable intelligent printer, including key, key press detecting circuit, beats
Print component, processor and memory;The key is connect with the input terminal of the key press detecting circuit, the key detection electricity
The output end on road, the wireless transport module, the print member and memory are connected to the processor;The storage
Computer program and print data are stored in device;The computer program can be executed by the processor, to realize such as
Above-mentioned active Method of printing.
Wherein, print member designated herein include the portable intelligent printer can be realized printing institute it is essential
Component, for example, print head, paper delivery mechanism etc. should be included at least.Certainly can also include more components, structure or circuit,
Existing portable printer or fixed printer are specifically referred to, this will not be repeated here by the present invention.
Wherein, illustratively, the computer program can be divided into one or more units, one or more
A unit is stored in the memory, and is executed by the processor, to complete the present invention.One or more of units
It can be the series of computation machine program instruction section that can complete specific function, the instruction segment is for describing the computer program
Implementation procedure in portable intelligent printer.
The portable intelligent printer may include, but are not limited to processor, memory.Those skilled in the art can be with
Understanding, the schematic diagram is only the example of portable intelligent printer, the restriction to portable intelligent printer is not constituted,
It may include perhaps combining certain components or different components, such as described portable than illustrating more or fewer components
Intelligence printer can also include input-output equipment, network access equipment, bus etc..
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it
His general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng the control centre of the portable intelligent printer utilizes various interfaces and the entire portable intelligent printer of connection
Various pieces.
The memory can be used for storing the computer program and/or module, and the processor is by operation or executes
Computer program in the memory and/or module are stored, and calls the data being stored in memory, described in realization
The various functions of portable intelligent printer.The memory can mainly include storing program area and storage data area, wherein deposit
Store up program area can application program needed for storage program area, at least one function (for example sound-playing function, image play function
Energy is equal) etc.;Storage data area, which can be stored, uses created data (such as audio data, phone directory etc.) etc. according to mobile phone.
Can also include nonvolatile memory in addition, memory may include high-speed random access memory, for example, hard disk, memory,
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge
Deposit card (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
Wherein, if the unit that the portable intelligent printer integrates is realized in the form of SFU software functional unit and conduct
Independent product when selling or using, can store in a computer readable storage medium.Based on this understanding, originally
The all or part of the process in above-described embodiment method is realized in invention, and relevant hardware can also be instructed by computer program
It completes, the computer program can be stored in a computer readable storage medium, the computer program is by processor
When execution, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code,
The computer program code can be source code form, object identification code form, executable file or certain intermediate forms etc..Institute
State computer-readable medium may include: can carry the computer program code any entity or device, recording medium,
USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), arbitrary access
Memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs
It is bright, the content that the computer-readable medium includes can according in jurisdiction make laws and patent practice requirement into
Row increase and decrease appropriate, such as do not include electric load according to legislation and patent practice, computer-readable medium in certain jurisdictions
Wave signal and telecommunication signal.
It should be noted that the apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
It needs that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.In addition, device provided by the invention
In embodiment attached drawing, the connection relationship between module indicate between them have communication connection, specifically can be implemented as one or
A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, it can understand
And implement.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art
For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as
Protection scope of the present invention.