CN104698887B - The recording method and device and querying method and device of seal use information - Google Patents

The recording method and device and querying method and device of seal use information Download PDF

Info

Publication number
CN104698887B
CN104698887B CN201510076362.3A CN201510076362A CN104698887B CN 104698887 B CN104698887 B CN 104698887B CN 201510076362 A CN201510076362 A CN 201510076362A CN 104698887 B CN104698887 B CN 104698887B
Authority
CN
China
Prior art keywords
information
terminal
stamper machine
ink
server
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.)
Active
Application number
CN201510076362.3A
Other languages
Chinese (zh)
Other versions
CN104698887A (en
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.)
Moment Network Technology Co ltd
Original Assignee
Xi'an Industrial Co Ltd Of Print Realm Of Art And Literature
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 Xi'an Industrial Co Ltd Of Print Realm Of Art And Literature filed Critical Xi'an Industrial Co Ltd Of Print Realm Of Art And Literature
Priority to CN201510076362.3A priority Critical patent/CN104698887B/en
Publication of CN104698887A publication Critical patent/CN104698887A/en
Application granted granted Critical
Publication of CN104698887B publication Critical patent/CN104698887B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Ink Jet (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention discloses a kind of recording method and device of seal use information and querying method and device.Wherein, the recording method of seal use information includes:When sending preset instructions to stamper machine, determine whether to send preset instructions for the first time to stamper machine;In the case where judging to be first time transmission preset instructions to stamper machine, the first current essential information of stamper machine is determined according to ink initial information and preset instructions, and feeds back the first current essential information to server;In the case where judging not to be first time transmission preset instructions to stamper machine, the current ink remaining amount of stamper machine is obtained from server, the second current essential information of stamper machine is determined according to current ink remaining amount and preset instructions, and feeds back the second current essential information to server.By the present invention, solve the problems, such as seal service condition misregister in the prior art, and then improve the effect of seal use information record accuracy.

Description

The recording method and device and querying method and device of seal use information
Technical field
The present invention relates to seal field, a kind of recording method and device in particular to seal use information and Querying method and device.
Background technology
At present seal in kind (such as:Financial affairs seal) industry-by-industry is widely used, but in the prior art to reality The service condition of thing seal, such as:The seal in kind uses etc. information by use, by whom at what time, can only pass through Artificial mode records, but manual type records the service condition of above-mentioned seal in kind, can there is that efficiency is low, and the number recorded The problems such as according to inaccuracy, so as to which the seal owner can not be made to understand the service condition of the seal in time, effectively.
The problem of for seal service condition misregister in the prior art, effective solution party is not yet proposed at present Case.
The content of the invention
It is a primary object of the present invention to provide a kind of recording method and device and querying method of seal use information And device, to solve the problems, such as seal service condition misregister in the prior art.
To achieve these goals, one side according to embodiments of the present invention, there is provided a kind of seal use information Recording method.
Included according to the recording method of the seal use information of the present invention:When sending preset instructions to stamper machine, judge Whether it is to send the preset instructions to the stamper machine for the first time;Judging to send the preset instructions to institute for the first time In the case of stating stamper machine, the first current basic letter of the stamper machine is determined according to ink initial information and the preset instructions Breath, and the described first current essential information is fed back to server;And judging it is not to send the preset instructions for the first time To the stamper machine, the current ink remaining amount of the stamper machine is obtained from the server, according to described current Ink remaining amount and the preset instructions determine the second current essential information of the stamper machine, and feed back the described second current base This information is to the server.
Further, when sending preset instructions to stamper machine, determine whether to send the preset instructions extremely for the first time Before the stamper machine, the recording method also includes:Receive the ink initial information of stamper machine feedback, and by institute State ink initial information and feed back to the server.
Further, the first current base of the stamper machine is determined according to the preset instructions and the ink initial information This information includes:Obtain the ID and the of the mold features included in the preset instructions in mold features file, the stamper machine One information, wherein, the first information includes at least one of following information:Send time, the IP address of first terminal, institute State the network interface card number of first terminal, the producer of the mold features, the signed by of the mold features, the master of the mold features The OS Type of first terminal described in Guan Renhe, wherein, the first terminal is the terminal for sending the preset instructions;Obtain Take the quantity of the pixel in the mold features;Consumed according to the ink of the quantity of the pixel and each pixel Amount, calculate the ink consumption of the mold features;Ink total content and the ink consumption in the ink initial information Mathematic interpolation ink remaining amount;And according to the ink remaining amount and the current basic letter of first information generation described first Breath.
Further, the second current of the stamper machine is determined according to the current ink remaining amount and the preset instructions Essential information includes:Obtain in the preset instructions include mold features file in mold features, the stamper machine ID and Second information, wherein, second information includes at least one of following information:Send the time, first terminal IP address, The network interface card number of the first terminal, the producer of the mold features, the signed bies of the mold features, the mold features Person in charge and the OS Type of the first terminal, wherein, the first terminal is the terminal for sending the preset instructions; Obtain the quantity of the pixel in the mold features;Disappeared according to the ink of the quantity of the pixel and each pixel Consumption, calculate the ink consumption of the mold features;According to the mathematic interpolation ink of the current ink remaining amount and the ink consumption Water surplus;And the second current essential information is generated according to the ink remaining amount and second information.
Further, after the calculating ink remaining amount is calculated, the recording method also includes:Judge the ink Whether water surplus is less than the first predetermined threshold value;And judging the ink remaining amount less than first predetermined threshold value In the case of, the first alarm command is sent to second terminal by the server, wherein, the second terminal and described first is eventually Hold as different terminals.
Further, after the calculating ink remaining amount is calculated, the recording method also includes:According to the ink Water surplus and the quotient of the ink consumption determine expected residual quantity;It is pre- to judge whether the expected residual quantity is more than second If threshold value;And in the case where judging that the expected residual quantity is less than second predetermined threshold value, pass through the service Device sends the second alarm command to second terminal, wherein, the second terminal and the first terminal are different terminals.
Further, the ink initial information of stamper machine feedback is being received, and by the ink initial information Feed back to before the server, the recording method also includes:Receive the link order that the stamper machine is sent;And by institute The ID for stating the Connection Time in link order and the stamper machine is sent to server.
Further, after the link order that the stamper machine is sent is received, the recording method also includes:According to pre- If the time cycle, inquiry request is sent to the stamper machine, wherein, the inquiry request is used to confirm the stamper machine and first The connection status of terminal;Judge whether to receive response results, wherein, the response results are that the stamper machine responds the inquiry The result of request;In the case where receiving the response results, the first preset state is sent to the server;And do not receiving In the case of the response results, the second preset state is sent to the server.
Further, in the case where receiving the response results, after feeding back the first preset state to the server, The recording method also includes:Obtain the Current hardware information of first terminal;The Current hardware information is sent to server, And the initial hardware information bound with the ID of the stamper machine is obtained by the server;Judge the initial hardware information and Whether the Current hardware information is consistent;Judging the initial hardware information situation consistent with the Current hardware information Under, the first result of feedback to the server;And judging the initial hardware information with the Current hardware information not In the case of consistent, the second result is fed back to the server, wherein, first result and second result are different As a result, the first terminal is the terminal for sending the preset instructions.
To achieve these goals, one side according to embodiments of the present invention, there is provided a kind of seal use information Querying method.
Included according to the querying method of the seal use information of the present invention:The inquiry that target terminal is remotely sent is received to refer to Order;Obtain the identification information in the query statement;And stamper machine is inquired about from record information according to the identification information Use information, and the use information is fed back into the target terminal, wherein, the record information is provided by the above Any seal use information the use information of the stamper machine that is recorded of recording method.
To achieve these goals, another aspect according to embodiments of the present invention, there is provided a kind of seal use information Tape deck.
Included according to the tape deck of the seal use information of the present invention:First judging unit, for sending default refer to When order is to stamper machine, determine whether to send the preset instructions to the stamper machine for the first time;First processing units, for Judge in the case of sending the preset instructions to the stamper machine for the first time, according to ink initial information and described default Instruction determines the first current essential information of the stamper machine, and feeds back the described first current essential information to server;And Second processing unit, for judge be not for the first time send the preset instructions to the stamper machine in the case of, from institute The current ink remaining amount that server obtains the stamper machine is stated, it is true according to the current ink remaining amount and the preset instructions Second current essential information of the fixed stamper machine, and the described second current essential information is fed back to the server.
Further, the tape deck also includes:First receiving unit, for sending preset instructions to stamper machine When, before determining whether to send the preset instructions to the stamper machine for the first time, receive the described of the stamper machine feedback Ink initial information, and the ink initial information is fed back into the server.
Further, the first processing units include:First acquisition module, included for obtaining in the preset instructions The ID and the first information of mold features, the stamper machine in mold features file, wherein, the first information includes following letter At least one of breath:Send time, the IP address of first terminal, the network interface card number of the first terminal, the mold features Producer, the signed by of the mold features, the OS Type of the person in charge of the mold features and the first terminal, Wherein, the first terminal is the terminal for sending the preset instructions;Second acquisition module, for obtaining in the mold features Pixel quantity;First computing module, the ink for the quantity according to the pixel and each pixel disappear Consumption, determine the ink consumption of the mold features;Second computing module, it is total for the ink in the ink initial information Content and the mathematic interpolation ink remaining amount of the ink consumption;And first generation module, for according to the ink remaining amount The first current essential information is generated with the first information.
Further, the second processing unit includes:3rd acquisition module, included for obtaining in the preset instructions The ID and the second information of mold features, the stamper machine in mold features file, wherein, second information includes following letter At least one of breath:Send time, the IP address of first terminal, the network interface card number of the first terminal, the mold features Producer, the signed by of the mold features, the OS Type of the person in charge of the mold features and the first terminal, Wherein, the first terminal is the terminal for sending the preset instructions;4th acquisition module, for obtaining in the mold features Pixel quantity;3rd computing module, the ink for the quantity according to the pixel and each pixel disappear Consumption, calculate the ink consumption of the mold features;4th computing module, for according to the current ink remaining amount and the consumption The mathematic interpolation ink remaining amount of ink amount;And second generation module, for according to the ink remaining amount and second letter Breath generates the second current essential information.
Further, the tape deck also includes:Second judging unit, in second computing module or institute State after the 4th computing module calculates the calculating ink remaining amount, it is default to judge whether the ink remaining amount is less than first Threshold value;And fourth processing unit, for judge the ink remaining amount be less than first predetermined threshold value in the case of, First alarm command is sent to second terminal by the server, wherein, the second terminal and the first terminal is not Same terminal.
Further, the tape deck also includes:Determining unit, in second computing module or described It is true according to the quotient of the ink remaining amount and the ink consumption after four computing modules calculate the calculating ink remaining amount Determine expected residual quantity;3rd judging unit, for judging whether the expected residual quantity is more than the second predetermined threshold value;And 5th processing unit, in the case where judging that the expected residual quantity is less than second predetermined threshold value, passing through institute State server and send the second alarm command to second terminal, wherein, the second terminal and the first terminal are different ends End.
Further, the tape deck also includes:Second receiving unit, for receiving the institute of the stamper machine feedback Ink initial information is stated, and before the ink initial information is fed back into the server, receives what the stamper machine was sent Link order;And first transmitting element, for the ID of the Connection Time in the link order and the stamper machine to be sent To server.
Further, the tape deck also includes:Second transmitting element, for receiving the company of the stamper machine transmission After connecing instruction, according to preset time, the cycle sends inquiry request to the stamper machine, wherein, the inquiry request is used for true Recognize the connection status of the stamper machine and first terminal;4th judging unit, for judging whether to receive response results, wherein, The response results are the result that the stamper machine responds the inquiry request;3rd transmitting element, for receiving the sound In the case of answering result, the first preset state is sent to the server;And the 4th transmitting element, for do not receive it is described In the case of response results, the second preset state is sent to the server.
Further, the tape deck also includes:First acquisition unit, for receiving the feelings of the response results Under condition, after sending the first preset state to the server, the Current hardware information of first terminal is obtained;Second obtains list Member, for the Current hardware information to be sent to server, and obtained by the server and tied up with the ID of the stamper machine Fixed initial hardware information;4th judging unit, for judging whether are the initial hardware information and the Current hardware information Unanimously;First feedback unit, in the case where judging that the initial hardware information is consistent with the Current hardware information, The first result is fed back to the server;And second feedback unit, for judge the initial hardware information with it is described In the case that Current hardware information is inconsistent, the second result of feedback to the server, wherein, first result and described the Two results are different results, and the first terminal is the terminal for sending the preset instructions.
To achieve these goals, another aspect according to embodiments of the present invention, there is provided a kind of seal use information Inquiry unit.
Included according to the inquiry unit of the seal use information of the present invention:Acceptance division, remotely sent out for receiving target terminal The query statement sent;Acquisition unit, for obtaining the identification information in the query statement;And processing unit, for according to Identification information inquires about the use information of stamper machine from record information, and the use information is fed back into the target terminal, Wherein, the institute that the record information is recorded by the tape deck for any seal use information that the above provides State the use information of stamper machine.
According to inventive embodiments, described in when sending preset instructions to stamper machine, determining whether to send for the first time Preset instructions are to the stamper machine;In the case where judging to send the preset instructions to the stamper machine for the first time, root The first current essential information of the stamper machine is determined according to ink initial information and the preset instructions, and feeds back described first and works as Preceding essential information is to server;And judging it is not to send the preset instructions to the situation of the stamper machine for the first time Under, the current ink remaining amount of the stamper machine is obtained from the server, according to the current ink remaining amount and described pre- If instruction determines the second current essential information of the stamper machine, and feeds back the described second current essential information to the service Device.By when sending preset instructions to stamper machine, judging the transmission times of preset instructions, further according to preset instructions Different transmission times, according to different reference datas, to determine the current essential information of stamper machine, and currently believe above-mentioned substantially Breath is sent to server so that server stores to the current essential information received, realizes on a paper document The promptness and accuracy of the use information record of stamper machine with an official seal affixed, print compared to manual type technology in the prior art The mode of chapter use information, solves the problems, such as seal service condition misregister in the prior art, and then improves The effect of seal use information record accuracy.
Brief description of the drawings
The accompanying drawing for forming the part of the application is used for providing a further understanding of the present invention, schematic reality of the invention Apply example and its illustrate to be used to explain the present invention, do not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the recording method of stamper machine use information according to embodiments of the present invention;
Fig. 2 is the flow chart of the querying method of stamper machine use information according to embodiments of the present invention;
Fig. 3 is the schematic diagram of the tape deck of stamper machine use information according to embodiments of the present invention;And
Fig. 4 is the schematic diagram of the inquiry unit of stamper machine use information according to embodiments of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
According to embodiments of the present invention, there is provided a kind of embodiment of the method that can be used for implementing the application device embodiment, It should be noted that can be in the department of computer science of such as one group computer executable instructions the flow of accompanying drawing illustrates the step of Performed in system, although also, show logical order in flow charts, in some cases, can be with different from herein Order perform shown or described step.
According to embodiments of the present invention, there is provided a kind of recording method of stamper machine use information.Fig. 1 is according to of the invention real The flow chart of the recording method of the stamper machine use information of example is applied, as shown in figure 1, this method includes steps S102 to step Rapid S106:
S102:When sending preset instructions to stamper machine, determine whether to send preset instructions for the first time to stamper machine.Tool Body, preset instructions are the instruction with an official seal affixed to paper document of control stamper machine, and above-mentioned instruction can be sent by terminal, this Terminal is the terminal used with the user to paper document authority with an official seal affixed, is same end with first terminal hereinafter End.The embodiment of the present invention is it is, first terminal can also be sentenced when sending the instruction with an official seal affixed to paper document to stamper machine Whether disconnected be to send above-mentioned instruction to stamper machine for the first time.It should be noted that stamper machine be used for paper document it is with an official seal affixed, It is functionally equivalent to seal in kind of the prior art.
S104:Judge be to send preset instructions to stamper machine for the first time in the case of, according to ink initial information and Preset instructions determine the first current essential information of stamper machine, and feed back the first current essential information to server.
Specifically, ink initial information includes the initial information and the print cartridge ink inside for the print cartridge being arranged in stamper machine Initial information, specifically include coding, the total content of ink of print cartridge, that is, the material of the color of the volume of print cartridge, ink, print cartridge Matter, the type of print cartridge, the time of print cartridge, the production time of print cartridge, the address of print cartridge manufacturer and print cartridge place are used first Storehouse position.Ink initial information in the embodiment of the present invention specifically refers to the total content (that is, the volume of print cartridge) of ink, also It is the first current essential information that stamper machine is determined according to the volume and preset instructions of print cartridge.
The embodiment of the present invention is specific as follows:If it is judged that it is with an official seal affixed to paper document to stamper machine transmission for the first time Instruction in the case of, preset instructions and ink initial information that first terminal is sent according to it, it may be determined that go out stamper machine First current essential information, and the above-mentioned first current essential information is sent to server, server can to receive first Current essential information is stored.First current essential information includes the ink remaining amount of stamper machine, the ID of stamper machine and to paper The information such as matter file time with an official seal affixed.
S106:In the case where judging not to be first time transmission preset instructions to stamper machine, seal is obtained from server The current ink remaining amount of machine, the second current essential information of stamper machine is determined according to current ink remaining amount and preset instructions, And the second current essential information is fed back to server.
The embodiment of the present invention is specific as follows:If it is judged that it is not to send to be capped paper document to stamper machine for the first time to print In the case of the instruction of chapter, the request for the current ink remaining amount for obtaining stamper machine can be sent to server, server is receiving To after above-mentioned request, current ink remaining amount to first terminal, the first terminal that can feed back stamper machine sends default according to it Instruction and current ink remaining amount, it may be determined that go out the second current essential information of stamper machine, and it is current basic by above-mentioned second Information sends to server, server and the second current essential information that received can be stored.Second current essential information The information such as the ID of ink remaining amount, stamper machine including stamper machine and the time with an official seal affixed to paper document.
In embodiments of the present invention, by when sending preset instructions to stamper machine, entering to the transmission times of preset instructions Row judges, further according to the different transmission times of preset instructions, according to different reference datas, to determine the current basic of stamper machine Information, and above-mentioned current essential information is sent to server so that server is deposited to the current essential information received Storage, promptness and accuracy to the use information record of stamper machine with an official seal affixed on a paper document are realized, compared to The mode of manual type technology seal use information in the prior art, it is inaccurate to solve seal service condition record in the prior art The problem of true, and then improve the effect of seal use information record accuracy.
Although the E-seal of PKI series can also realize with an official seal affixed that its Core Feature is by right in the prior art Decryption is encrypted in electronic document, to ensure the integrality of document.Therefore seal graphics can not be stripped out all the time, i.e. stamp figure Shape can not be realized in the case where electronic document is not verified and individually print seal.And the embodiment of the present invention uses Seal, although its used stamp and seal technology can also realize that generating process is not right by computer software Electronic document produces any type of encrypting and decrypting or correlation behavior, and whole technology makes mold features from using computer software, Stamp is covered on paper to by special equipment (stamper machine), whole flows do not have any relation with electronic document.
Alternatively, when sending preset instructions to stamper machine, determine whether to send preset instructions for the first time to stamper machine Before, the recording method that the embodiment of the present invention is provided also includes:The ink initial information of stamper machine feedback is received, and by ink Initial information feeds back to server.In embodiments of the present invention, at the beginning of the ink that stamper machine feeds back being received by first terminal Beginning information, and the above-mentioned ink initial information received is sent to server.It should be noted that first terminal is receiving After above-mentioned ink initial information, above-mentioned ink initial information can also be stored.When first terminal judges that it is for the first time When sending preset instructions to stamper machine, in the current essential information that stamper machine is determined according to ink initial information and preset instructions Ink initial information can obtain from server, directly can also be obtained from the first terminal.
The detailed process of the embodiment of the present invention is as follows:It is provided with a chip on print cartridge in advance, chip-stored ink Water initial information, by the reading device in stamper machine, the data on chip can be read out, stamper machine will be by setting in it The above-mentioned data that read out of reading device send to first terminal, first terminal and again send above-mentioned data to server, clothes Business device is stored above-mentioned data, realizes the record to the ink initial information of stamper machine.
Specifically, it can be realized by step 1-1 to step 1-5 and determine seal according to preset instructions and ink initial information First current essential information of machine, wherein, step 1-1 is specific as follows to step 1-5:
Step 1-1:Obtain the letters of ID and first of the mold features included in preset instructions in mold features file, stamper machine Breath, wherein, the first information includes at least one of following information:Send time, the IP address of first terminal, first terminal Network interface card number, the producer of mold features, the signed by of mold features, the operating system of the person in charge of mold features and first terminal Type, wherein, for first terminal to send the terminal of preset instructions, it is that first terminal sends preset instructions to stamper machine to send the time Time, the ID of stamper machine i.e. the product ID (Serial Number, abbreviation SN code) of stamper machine, stamper machine can be with Mold features in mold features file generate seal on a paper document.In this step, the first essential information can be with Be send the time, the IP address of first terminal, the network interface card number of first terminal, the producers of mold features, mold features are signed and issued Any one information in the OS Type of people, the person in charge of mold features and first terminal, any several information or Full detail, it can specifically determine according to demand.It should be noted that the product ID of each stamper machine is unique, Equivalent to the identity card of stamper machine.
Step 1-2:Obtain the quantity of the pixel in mold features.
Step 1-3:According to the quantity of pixel and the exhausted amount of ink of each pixel, the consumption for calculating mold features is black Amount.Specifically, stamper machine pair can be calculated by the product of the quantity and the exhausted amount of ink of each pixel of pixel During the seal that paper document capping generates according to above-mentioned mold features, the quantity of ink that is consumed.
Step 1-4:The mathematic interpolation ink remaining amount of ink total content and ink consumption in ink initial information.
Step 1-5:First current essential information, that is, the first current base are generated according to ink remaining amount and the first information This information is made up of ink remaining amount and the first information.
In embodiments of the present invention, the information such as ID comprising ink remaining amount and stamper machine in the first current information so that User will be seen that the remaining situation and other use informations of the ink of each stamper machine, wherein, according to the remaining feelings of ink Condition can change the print cartridge in stamper machine in time, avoid because of ink cartridge low so that stamper machine is without with an official seal affixed to paper document Situation occurs.
Specifically, it can be realized by step 2-1 to step 2-5 and print is determined according to current ink remaining amount and preset instructions Second current essential information of chapter machine, wherein, step 2-1 is specific as follows to step 2-5:
Step 2-1:Obtain the letters of ID and second of the mold features included in preset instructions in mold features file, stamper machine Breath, wherein, the second information includes at least one of following information:Send time, the IP address of first terminal, first terminal Network interface card number, the producer of mold features, the signed by of mold features, the operating system of the person in charge of mold features and first terminal Type, wherein, first terminal is the terminal for sending preset instructions.The step does not do repeat specification herein equivalent to step 1-1.
Step 2-2:Obtain the quantity of the pixel in mold features.
Step 2-3:According to the quantity of pixel and the exhausted amount of ink of each pixel, the consumption for calculating mold features is black Amount.The step is not repeated equivalent to step 1-3.
Step 2-4:According to current ink remaining amount and the mathematic interpolation ink remaining amount of ink consumption.
Step 2-5:Second current essential information, that is, the second current base are generated according to ink remaining amount and the second information This information is made up of ink remaining amount and the second information.
In embodiments of the present invention, the information such as ID comprising ink remaining amount and stamper machine in the second current information so that User will be seen that the remaining situation and other use informations of the ink of each stamper machine, wherein, according to the remaining feelings of ink Condition can change the print cartridge in stamper machine in time, avoid because of ink cartridge low so that stamper machine is without with an official seal affixed to paper document Situation occurs.
It should be noted that if first terminal is to send preset instructions for the first time to stamper machine, according to the ink of stamper machine The ink remaining amount that water initial information and preset instructions are obtained in the first current essential information is then used as current ink remaining amount, uses The second current essential information is determined together in the preset instructions with newest transmission.If first terminal is not to send to preset for the first time Instruct the current ink that the second current essential information to stamper machine, is determined according to the current ink remaining amount and preset instructions of stamper machine Water surplus is the ink remaining amount calculated before.
Preferably, after calculating and calculating ink remaining amount, seal use information that the embodiment of the present invention is provided Recording method also includes:
Judge whether ink remaining amount is less than the first predetermined threshold value, that is, ink remaining amount and the first predetermined threshold value are entered Row compares, wherein, the first predetermined threshold value can be set according to demand.
In the case where judging that ink remaining amount is less than the first predetermined threshold value, the first alarm command is sent by server To second terminal, wherein, second terminal and first terminal are different terminals.The embodiment of the present invention is specially to judge ink In the case that surplus is less than the first predetermined threshold value, first terminal sends the first alarm command to server, and server will receive To alarm command send to second terminal, to remind client to supplement the ink in stamper machine in time, can specifically pass through replacing The modes such as print cartridge reach the purpose of supplement stamper machine ink inside.In the present invention is implemented, second terminal is with administration authority The terminal that user uses, the ink remaining amount that the first alarm command is used to remind user stamper machine is less than the first default threshold Value, can be sent to server by modes such as mail, short messages.
In embodiments of the present invention, by judging the magnitude relationship of ink remaining amount and predetermined threshold value, and remained in ink In the case that surplus is less than predetermined threshold value, alarm command is sent to second terminal by server, further to remind user black Water surplus deficiency, so as to further avoid because of ink cartridge low so that stamper machine is without the feelings with an official seal affixed to paper document Condition occurs.
Preferably, after calculating and calculating ink remaining amount, seal use information that the embodiment of the present invention is provided Recording method also includes:
Expected residual quantity is determined according to the quotient of ink remaining amount and ink consumption, specifically, it is contemplated that volume residual is print Excess ink in chapter machine can also be capped the quantity of the seal generated according to above-mentioned mold features to paper document.
Judge whether expected residual quantity is more than the second predetermined threshold value, that is, the excess ink compared in stamper machine may be used also To be capped the magnitude relationship of the quantity of the seal generated according to above-mentioned mold features and the second predetermined threshold value to paper document, equally , the second predetermined threshold value can also be set according to demand.
In the case where judging that expected residual quantity is less than the second predetermined threshold value, the second alarm is sent by server and referred to Make to second terminal, wherein, second terminal and first terminal are different terminals, that is, are less than second in expected residual quantity In the case of predetermined threshold value, first terminal sends the second alarm command to server, and server sends out the alarm command received Second terminal is delivered to, to reach the purpose for reminding client's ink remaining amount deficiency indirectly.Second alarm command is used to remind user The quantity of the estimated generation seal of excess ink is less than the second predetermined threshold value in stamper machine, again may be by mail, short message etc. Mode is sent to server.
In embodiments of the present invention, by judging the magnitude relationship of expected residual quantity and predetermined threshold value, and estimated In the case that volume residual is less than predetermined threshold value, alarm command is sent to second terminal by server, used with further remind Family ink remaining amount deficiency, so as to further avoid because of ink cartridge low so that stamper machine is without with an official seal affixed to paper document Situation occur.
Preferably, receive stamper machine feedback ink initial information, and by ink initial information feed back to server it Before, the recording method for the seal use information that the embodiment of the present invention is provided also includes:Receive the link order that stamper machine is sent. Specifically, after stamper machine starts, the first terminal that can give its binding sends link order;During by connection in link order Between and the ID of stamper machine send to server, server and the Connection Time received and the ID of stamper machine can be stored.
In embodiments of the present invention, by the way that the ID of link order and stamper machine is sent to server so that server can Stored with the startup time to stamper machine, it is achieved thereby that starting the record of time to stamper machine.
Alternatively, after the link order that stamper machine is sent is received, the seal that the embodiment of the present invention is provided uses letter The recording method of breath also includes:
According to preset time period, inquiry request is sent to stamper machine, wherein, inquiry request is used to confirming stamper machine and the The connection status of one terminal, it is, first terminal after the link order of stamper machine transmission is received, has represented stamper machine Start, then every preset time, all inquiry request is sent to stamper machine, to determine whether stamper machine is connected with first terminal. Specifically, the duration of preset time period can be set according to demand, such as:15S.
Judge whether to receive response results, wherein, response results are the result that stamper machine responds inquiry request.
In the case where receiving response results, the first preset state is sent to server.Specifically, if first terminal is received The result of its inquiry request sent is responded to stamper machine, then represent that stamper machine and first terminal are normal connection status, this When, first terminal sends " normal connection " to server to server, and server is to the time corresponding to above-mentioned preset time period Stored with the first preset state (namely normal connection).Stamper machine can be connected with first terminal by wired mode, Such as, USB interface or Ethernet interface etc., can also wirelessly connect, e.g., bluetooth, infrared etc..
In the case where not receiving response results, the second preset state is sent to server.Specifically, if first terminal The result that stamper machine responds its inquiry request sent is not received, then represent that stamper machine and first terminal are not-connected status, Now, first terminal sends " not connected " to server to server, and server is to the time corresponding to above-mentioned preset time period Stored with the second preset state (namely not connected).It should be noted that if stamper machine is not connected with first terminal It may be caused by multiple reasons, such as:The reasons such as the electricity went off for stamper machine, stamper machine breaks down.
In embodiments of the present invention, by judging the connection of stamper machine and first terminal according to preset time period, And connection is stored to server, realize to stamper machine and first terminal different time connection record.
Optionally, in the case where receiving response results, after feeding back the first preset state to server, the present invention is real The recording method for applying the seal use information that example is provided is further comprising the steps of:
Obtain the Current hardware information of first terminal.Specifically, Current hardware information includes first be connected with stamper machine IP address, network interface card model and the operating system of terminal, wherein, the affiliated area of the first terminal can be learnt according to IP address.
Current hardware information is sent to server, and the initial hardware bound with the ID of stamper machine is obtained by server Information.Specifically, the hardware information with the terminal of the ID of stamper machine bindings is previously stored with server.First terminal will obtain The Current hardware information got is sent to server, and the request for obtaining initial hardware information, service can be also sent to server Device feeds back result corresponding to above-mentioned request according to the request received to first terminal.
Judge whether initial hardware information is consistent with Current hardware information, that is, compare the end that the stamper machine currently connects The hardware information (IP address, network interface card model and operating system) at the end whether all hardware information one with the terminal of initial bind Cause.By comparing IP address, it may be determined that whether the using area for the terminal being connected with stamper machine changes, that is, the end Whether the residing region in end changes;By comparing network interface card model, it may be determined that the network interface card number for the terminal being connected with stamper machine Whether change;By comparing operating system, it may be determined that whether the operating system for the terminal being connected with stamper machine becomes Change.
In the case where judging that initial hardware information is consistent with Current hardware information, the first result of feedback to server. Specifically, the first result can be identical.
In the case where judging that initial hardware information and Current hardware information are inconsistent, the second result of feedback to service Device, wherein, the first result and the second result are different results, and first terminal is the terminal for sending preset instructions.Specifically, Two results can be incomplete same, while feedback Current hardware information is believed with hardware inconsistent in initial hardware information Breath.
In embodiments of the present invention, by judging whether Current hardware information is consistent with initial hardware information, it may be determined that Whether the relevant information for going out the terminal being connected with stamper machine or terminal changes, and sends corresponding result to server, Realize a pair record for the relevant information for the first terminal being connected with stamper machine.
In addition, according to embodiments of the present invention, there is provided a kind of querying method of stamper machine use information.Fig. 2 is according to this The flow chart of the querying method of the stamper machine use information of inventive embodiments, as shown in Fig. 2 this method includes the steps S202 to step S206:
S202:Receive the query statement that target terminal is remotely sent.Target terminal in the embodiment of the present invention is above-mentioned reality Apply the second terminal in example.Query statement can include the ID of stamper machine, send time of query statement, the IP of second terminal The information such as location.
S204:Obtain the identification information in query statement.Specifically, identification information can be to need to inquire about use information The ID of stamper machine.
S206:The use information of stamper machine is inquired about from record information according to identification information, and use information is fed back to Target terminal, wherein, what the recording method of seal use information of the record information to be provided according to above-described embodiment was recorded The use information of stamper machine.
In embodiments of the present invention, the identification information in query statement is passed through, it may be determined that need the seal inquired about Machine, and then the service condition of above-mentioned stamper machine can be inquired from the information of record, the seal owner can be allowed more by reaching The convenient effect for understanding seal service condition.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
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 add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but a lot In the case of the former be more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existing The part that technology contributes can be embodied in the form of software product, and the computer software product is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, calculate Machine, server, or network equipment etc.) perform each embodiment institute of the present invention
According to embodiments of the present invention, a kind of print for being used to implement the recording method of above-mentioned stamper machine use information is additionally provided The tape deck of chapter machine use information, the tape deck are mainly used in performing the record that the above of the embodiment of the present invention is provided Method, the record of the stamper machine use information provided below the embodiment of the present invention do specific introduction:
Fig. 3 is the schematic diagram of the tape deck of stamper machine use information according to embodiments of the present invention, as shown in figure 3, should Device mainly includes:First judging unit 10, first processing units 20 and second processing unit 30, wherein:
First judging unit 10 is used for when sending preset instructions to stamper machine, determines whether to send default refer to for the first time Make to stamper machine.Specifically, preset instructions are the instruction with an official seal affixed to paper document of control stamper machine, can be sent out by terminal Serve and state instruction, this terminal is the terminal used with the user to paper document authority with an official seal affixed, with first hereinafter Terminal is same terminal.The embodiment of the present invention it is, first terminal to stamper machine send it is with an official seal affixed to paper document During instruction, also determine whether it is to send above-mentioned instruction to stamper machine for the first time.It should be noted that stamper machine is used for papery File is with an official seal affixed, is functionally equivalent to seal in kind of the prior art.
First processing units 20 are used in the case where judging to be first time transmission preset instructions to stamper machine, according to ink Water initial information and preset instructions determine the first current essential information of stamper machine, and feed back the first current essential information to service Device.
Specifically, ink initial information includes the initial information and the print cartridge ink inside for the print cartridge being arranged in stamper machine Initial information, specifically include coding, the total content of ink of print cartridge, that is, the material of the color of the volume of print cartridge, ink, print cartridge Matter, the type of print cartridge, the time of print cartridge, the production time of print cartridge, the address of print cartridge manufacturer and print cartridge place are used first Storehouse position.Ink initial information in the embodiment of the present invention specifically refers to the total content (that is, the volume of print cartridge) of ink, also It is the first current essential information that stamper machine is determined according to the volume and preset instructions of print cartridge.
The embodiment of the present invention is specific as follows:If it is judged that it is with an official seal affixed to paper document to stamper machine transmission for the first time Instruction in the case of, preset instructions and ink initial information that first terminal is sent according to it, it may be determined that go out stamper machine First current essential information, and the above-mentioned first current essential information is sent to server, server can to receive first Current essential information is stored.First current essential information includes the ink remaining amount of stamper machine, the ID of stamper machine and to paper The information such as matter file time with an official seal affixed.
Second processing unit 30 is used in the case where judging not to be first time transmission preset instructions to stamper machine, from clothes Business device obtains the current ink remaining amount of stamper machine, and determine stamper machine according to current ink remaining amount and preset instructions second is worked as Preceding essential information, and the second current essential information is fed back to server.
The embodiment of the present invention is specific as follows:If it is judged that it is not to send to be capped paper document to stamper machine for the first time to print In the case of the instruction of chapter, the request for the current ink remaining amount for obtaining stamper machine can be sent to server, server is receiving To after above-mentioned request, current ink remaining amount to first terminal, the first terminal that can feed back stamper machine sends default according to it Instruction and current ink remaining amount, it may be determined that go out the second current essential information of stamper machine, and it is current basic by above-mentioned second Information sends to server, server and the second current essential information that received can be stored.Second current essential information The information such as the ID of ink remaining amount, stamper machine including stamper machine and the time with an official seal affixed to paper document.
In embodiments of the present invention, by when sending preset instructions to stamper machine, entering to the transmission times of preset instructions Row judges, further according to the different transmission times of preset instructions, according to different reference datas, to determine the current basic of stamper machine Information, and above-mentioned current essential information is sent to server so that server is deposited to the current essential information received Storage, promptness and accuracy to the use information record of stamper machine with an official seal affixed on a paper document are realized, compared to The mode of manual type technology seal use information in the prior art, it is inaccurate to solve seal service condition record in the prior art The problem of true, and then improve the effect of seal use information record accuracy.
Although the E-seal of PKI series can also realize with an official seal affixed that its Core Feature is by right in the prior art Decryption is encrypted in electronic document, to ensure the integrality of document.Therefore seal graphics can not be stripped out all the time, i.e. stamp figure Shape can not be realized in the case where electronic document is not verified and individually print seal.And the embodiment of the present invention is adopted With seal in kind, although its used stamp and seal technology can also be realized by computer software, generating process Any type of encrypting and decrypting or correlation behavior are not produced to electronic document, whole technology makes stamp figure from using computer software Shape, stamp is covered on paper to by special equipment (stamper machine), whole flows do not have any relation with electronic document.
Alternatively, it is single also to include the first reception for the tape deck for the stamper machine use information that the embodiment of the present invention is provided Member, wherein, the first receiving unit is used for when sending preset instructions to stamper machine, determines whether to send preset instructions for the first time To before stamper machine, the ink initial information of stamper machine feedback is received, and ink initial information is fed back into server.In this hair In bright embodiment, the ink initial information that stamper machine feeds back, and the above-mentioned ink that will be received can be received by first terminal Initial information is sent to server.It should be noted that first terminal is after above-mentioned ink initial information is received, also can be to upper Ink initial information is stated to be stored.When it is to send preset instructions to stamper machine for the first time that first terminal, which judges it, according to Ink initial information and preset instructions determine that the ink initial information in the current essential information of stamper machine can be from server Obtain, directly can also be obtained from the first terminal.
The detailed process of the embodiment of the present invention is as follows:It is provided with a chip on print cartridge in advance, chip-stored ink Water initial information, by the reading device in stamper machine, the data on chip can be read out, stamper machine will be by setting in it The above-mentioned data that read out of reading device send to first terminal, first terminal and again send above-mentioned data to server, clothes Business device is stored above-mentioned data, realizes the record to the ink initial information of stamper machine.
Specifically, first processing units 20 include the first acquisition module, the second acquisition module, the first computing module, second Computing module and the first generation module, wherein:
First acquisition module is used to obtain mold features, the ID of stamper machine included in preset instructions in mold features file And the first information, wherein, the first information includes at least one of following information:Send time, the IP address of first terminal, the The network interface card number of one terminal, the producer of mold features, the signed by of mold features, the person in charge of mold features and first terminal OS Type, wherein, for first terminal to send the terminal of preset instructions, it is that first terminal sends preset instructions to send the time To the time of stamper machine, the ID of stamper machine i.e. the product ID (Serial Number, abbreviation SN code) of stamper machine, print Chapter machine can generate seal on a paper document according to the mold features in mold features file.In this module, first is basic Information can send time, the IP address of first terminal, the network interface card number of first terminal, the producer of mold features, stamp figure It is any one information in the OS Type of the signed by of shape, the person in charge of mold features and first terminal, any several Information or full detail, it can specifically determine according to demand.It should be noted that the product ID of each stamper machine is Uniquely, equivalent to the identity card of stamper machine.
Second acquisition module is used for the quantity for obtaining the pixel in mold features.
First computing module is used for according to the quantity of pixel and the exhausted amount of ink of each pixel, determines mold features Ink consumption.Specifically, print can be calculated by the product of the quantity and the exhausted amount of ink of each pixel of pixel When chapter machine is capped the seal generated according to above-mentioned mold features to paper document, the quantity of ink that is consumed.
The ink total content and the mathematic interpolation ink of ink consumption that second computing module is used in ink initial information Surplus.
First generation module is used for according to ink remaining amount and the first information the first current essential information of generation, that is, the One current essential information is made up of ink remaining amount and the first information.
In embodiments of the present invention, the information such as ID comprising ink remaining amount and stamper machine in the first current information so that User will be seen that the remaining situation and other use informations of the ink of each stamper machine, so as to the residue according to ink Situation changes the print cartridge in stamper machine in time, avoids because of ink cartridge low so that stamper machine is without the feelings with an official seal affixed to paper document Condition occurs.
Specifically, second processing unit 30 includes the 3rd acquisition module, the 4th acquisition module, the 3rd computing module, the 4th Computing module and the second generation module, wherein:
3rd acquisition module is used to obtain mold features, the ID of stamper machine included in preset instructions in mold features file With the second information, wherein, the second information includes at least one of following information:Send time, the IP address of first terminal, the The network interface card number of one terminal, the producer of mold features, the signed by of mold features, the person in charge of mold features and first terminal OS Type, wherein, first terminal is the terminal for sending preset instructions.The module functions as the first acquisition mould Block, repeat specification is not done herein.
4th acquisition module is used for the quantity for obtaining the pixel in mold features.
3rd computing module is used to, according to the quantity of pixel and the exhausted amount of ink of each pixel, calculate mold features Ink consumption.The module does not do repeat specification herein equivalent to the first computing module.
4th computing module is used for the mathematic interpolation ink remaining amount according to current ink remaining amount and ink consumption;And
Second generation module is used for according to ink remaining amount and the second information the second current essential information of generation, that is, the Two current essential informations are made up of ink remaining amount and the second information.
In embodiments of the present invention, the information such as ID comprising ink remaining amount and stamper machine in the second current information so that User will be seen that the remaining situation and other use informations of the ink of each stamper machine, wherein, according to the remaining feelings of ink Condition can change the print cartridge in stamper machine in time, avoid because of ink cartridge low so that stamper machine is without with an official seal affixed to paper document Situation occurs.
It should be noted that if first terminal is to send preset instructions for the first time to stamper machine, according to the ink of stamper machine The ink remaining amount that water initial information and preset instructions are obtained in the first current essential information is then used as current ink remaining amount, uses The second current essential information is determined together in the preset instructions with newest transmission.If first terminal is not to send to preset for the first time Instruction is to stamper machine, for determining working as the second current essential information according to the current ink remaining amount and preset instructions of stamper machine Preceding ink remaining amount is the ink remaining amount calculated before.
Preferably, the tape deck for the seal use information that the embodiment of the present invention is provided also include the second judging unit and Fourth processing unit, wherein:
Second judging unit be used for the second computing module or the 4th computing module calculate calculate ink remaining amount it Afterwards, judge whether ink remaining amount is less than the first predetermined threshold value, that is, ink remaining amount and the first predetermined threshold value are compared Compared with, wherein, the first predetermined threshold value can be set according to demand.
Fourth processing unit is used to, in the case where judging that ink remaining amount is less than the first predetermined threshold value, pass through server The first alarm command is sent to second terminal, wherein, second terminal and first terminal are different terminals.The embodiment of the present invention has Body is in the case where judging that ink remaining amount is less than the first predetermined threshold value, and first terminal sends the first alarm to server and referred to Order, server sends the alarm command received to second terminal, to remind client to supplement the ink in stamper machine in time, tool Body can reach the purpose of supplement stamper machine ink inside by changing the modes such as print cartridge.In the present invention is implemented, second terminal is The terminal that user with administration authority uses, the first alarm command is for reminding the ink remaining amount of user stamper machine not The first predetermined threshold value of foot, can be sent to server by modes such as mail, short messages.
In embodiments of the present invention, by judging the magnitude relationship of ink remaining amount and predetermined threshold value, and remained in ink In the case that surplus is less than predetermined threshold value, alarm command is sent to second terminal by server, further to remind user black Water surplus deficiency, so as to further avoid because of ink cartridge low so that stamper machine is without the feelings with an official seal affixed to paper document Condition occurs.
Preferably, the tape deck for the seal use information that the embodiment of the present invention is provided also includes determining unit, the 3rd Judging unit and the 5th processing unit, wherein:
Determining unit is used for after the second computing module or the 4th computing module calculate and calculate ink remaining amount, root Expected residual quantity is determined according to the quotient of ink remaining amount and ink consumption, specifically, it is contemplated that volume residual is surplus in stamper machine Residual ink water can also be capped the quantity of the seal generated according to above-mentioned mold features to paper document.
3rd judging unit is used to judge whether expected residual quantity is more than the second predetermined threshold value, that is, compares stamper machine In excess ink the quantity and the second default threshold of the seal generated according to above-mentioned mold features can also be capped to paper document The magnitude relationship of value, likewise, the second predetermined threshold value can also be set according to demand.
5th processing unit is used to, in the case where judging that expected residual quantity is less than the second predetermined threshold value, pass through service Device sends the second alarm command to second terminal, wherein, second terminal and first terminal are different terminals, that is, estimated In the case that volume residual is less than the second predetermined threshold value, first terminal sends the second alarm command to server, and server will connect The alarm command received is sent to second terminal, to reach the purpose for reminding client's ink remaining amount deficiency indirectly.Second alarm Instruct for reminding the quantity of the estimated generation seal of excess ink in user's stamper machine to be less than the second predetermined threshold value, can equally lead to The modes such as mail, short message are crossed to send to server.
In the embodiment of the present invention, by judging the magnitude relationship of expected residual quantity and predetermined threshold value, and estimated surplus In the case that remainder amount is less than predetermined threshold value, alarm command is sent to second terminal by server, further to remind user Ink remaining amount deficiency, so as to further avoid because of ink cartridge low so that stamper machine is without with an official seal affixed to paper document Situation occurs.
Preferably, the tape deck for the seal use information that the embodiment of the present invention is provided also include the second receiving unit and First transmitting element, wherein, the second receiving unit is used to receive the ink initial information of stamper machine feedback, and ink is initial Before feedback of the information to server, the link order that stamper machine is sent is received.Specifically, after stamper machine starts, it can be given The first terminal of binding sends link order.First transmitting element is used for the Connection Time in link order and the ID of stamper machine Sending to server, server can store to the Connection Time received and the ID of stamper machine.
In embodiments of the present invention, by the way that the ID of link order and stamper machine is sent to server so that server can Stored with the startup time to stamper machine, it is achieved thereby that starting the record of time to stamper machine.
Alternatively, the tape deck for the seal use information that the embodiment of the present invention is provided also include the second transmitting element, 4th judging unit, the 3rd transmitting element and the 4th transmitting element, wherein:
Second transmitting element is used for after the link order that stamper machine is sent is received, and according to preset time, the cycle sends Inquiry request to stamper machine, wherein, inquiry request is used to confirm the connection status of stamper machine and first terminal, it is, first Terminal represents that stamper machine has been started up, then every preset time, all to print after the link order of stamper machine transmission is received Chapter machine sends inquiry request, to determine whether stamper machine is connected with first terminal.Specifically, the duration of preset time period can be with Set according to demand, such as:15S.
4th judging unit be used for judge whether to receive response results, wherein, response results be stamper machine response inquiry please The result asked.
3rd transmitting element is used in the case where receiving response results, sends the first preset state to server.Specifically Ground, if first terminal receives the result that stamper machine responds its inquiry request sent, then represent stamper machine and first terminal For normal connection status, now, first terminal sends " normal connection " to server to server, server to it is above-mentioned default when Between time corresponding to the cycle and the first preset state (namely " normal connection ") stored.Stamper machine and first terminal can be with Connected by wired mode, e.g., USB interface or Ethernet interface etc., can also wirelessly connected, it is e.g., bluetooth, red It is outer etc..
4th transmitting element is used in the case where not receiving response results, sends the second preset state to server.Tool Body, if first terminal does not receive the result that stamper machine responds its inquiry request sent, then represent stamper machine and first Terminal is not-connected status, and now, first terminal sends " not connected " to server to server, server to it is above-mentioned default when Between time corresponding to the cycle and the second preset state (namely " not connected ") stored.If it should be noted that seal Machine is not connected with first terminal to be caused by multiple reasons, such as:The reasons such as the electricity went off for stamper machine, stamper machine breaks down.
In embodiments of the present invention, by judging the connection of stamper machine and first terminal according to preset time period, And connection is stored to server, realize to stamper machine and first terminal different time connection record.
Alternatively, the tape deck for the seal use information that the embodiment of the present invention is provided also include first acquisition unit, Second acquisition unit, the 4th judging unit, the first feedback unit and the second feedback unit, wherein:
First acquisition unit is used in the case where receiving response results, send the first preset state to server it Afterwards, the Current hardware information of first terminal is obtained.Specifically, Current hardware information includes the first terminal being connected with stamper machine IP address, network interface card model and operating system, wherein, the affiliated area of the first terminal can be learnt according to IP address.
Second acquisition unit is used to send Current hardware information to server, and is obtained and stamper machine by server The initial hardware information of ID bindings.Specifically, the hardware with the terminal of the ID of stamper machine bindings is previously stored with server Information.First terminal sends the Current hardware information got to server, and it is initial hard also acquisition to be sent to server The request of part information, server feed back result corresponding to above-mentioned request according to the request received to first terminal.
4th judging unit is used to judge whether initial hardware information is consistent with Current hardware information, that is, compares the print The hardware information (IP address, network interface card model and operating system) for the terminal that chapter machine currently connects whether all end with initial bind The hardware information at end is consistent.By comparing IP address, it may be determined that whether the using area for the terminal being connected with stamper machine occurs Change, that is, whether the region residing for the terminal changes;By comparing network interface card model, it may be determined that be connected with stamper machine The network interface card number of terminal whether change;By comparing operating system, it may be determined that the operation for the terminal being connected with stamper machine Whether system changes.
First feedback unit is used in the case where judging that initial hardware information is consistent with Current hardware information, feeds back the One result is to server.Specifically, the first result can be identical.
Second feedback unit is used in the case where judging that initial hardware information and Current hardware information are inconsistent, feedback Second result to server, wherein, the first result and the second result are different results, and first terminal is sends preset instructions Terminal.Specifically, the second result can be incomplete same, while feeding back in Current hardware information and initial hardware information Inconsistent hardware information.
In embodiments of the present invention, by judging whether Current hardware information is consistent with initial hardware information, it may be determined that Whether the relevant information for going out the terminal being connected with stamper machine or terminal changes, and sends corresponding result to server, Realize a pair record for the relevant information for the first terminal being connected with stamper machine.
In addition, according to embodiments of the present invention, there is provided a kind of inquiry unit of stamper machine use information.Fig. 4 is according to this The schematic diagram of the inquiry unit of the stamper machine use information of inventive embodiments, as shown in figure 4, the device mainly includes:Acceptance division 100th, acquisition unit 200 and processing unit 300, wherein:
Acceptance division 100 is used to receive the query statement that target terminal is remotely sent.Target terminal in the embodiment of the present invention For the second terminal in above-described embodiment.Query statement can include the ID of stamper machine, the time of transmission query statement, second eventually The information such as the IP address at end.
Acquisition unit 200 is used to obtain the identification information in query statement.Specifically, identification information can be to need inquiry to make With the ID of the stamper machine of information.
Processing unit 300 is used for the use information for inquiring about stamper machine from record information according to identification information, and will use letter Breath feeds back to target terminal, wherein, record information is the tape deck of the seal use information provided according to above-described embodiment The use information of the stamper machine recorded.
In embodiments of the present invention, the identification information in query statement is passed through, it may be determined that need the seal inquired about Machine, and then the service condition of above-mentioned stamper machine can be inquired from the information of record, the seal owner can be allowed more by reaching The convenient effect for understanding seal service condition.
As can be seen from the above description, the present invention solves seal service condition misregister in the prior art The problem of, and then improve the effect of seal use information record accuracy.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and formed Network on, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to they are stored Performed in the storage device by computing device, either they are fabricated to respectively each integrated circuit modules or by they In multiple modules or step be fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific Hardware and software combines.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (20)

  1. A kind of 1. recording method of seal use information, it is characterised in that including:
    When sending preset instructions to stamper machine, determine whether to send the preset instructions to the stamper machine for the first time;
    In the case where judging to send the preset instructions to the stamper machine for the first time, according to ink initial information and institute State preset instructions and determine the first current essential information of the stamper machine, and feed back the described first current essential information to service Device;And
    Judge be not for the first time send the preset instructions to the stamper machine in the case of, from the server obtain institute The current ink remaining amount of stamper machine is stated, the stamper machine is determined according to the current ink remaining amount and the preset instructions Second current essential information, and the described second current essential information is fed back to the server.
  2. 2. recording method according to claim 1, it is characterised in that when sending preset instructions to stamper machine, judgement is No is that the recording method also includes before sending the preset instructions to the stamper machine for the first time:
    The ink initial information of the stamper machine feedback is received, and the ink initial information is fed back into the service Device.
  3. 3. recording method according to claim 1, it is characterised in that initially believed according to the preset instructions and the ink Breath determines that the first current essential information of the stamper machine includes:
    Mold features, the ID and the first information of the stamper machine included in the preset instructions in mold features file is obtained, Wherein, the first information includes at least one of following information:Send time, the IP address of first terminal, described first The network interface card number of terminal, the producer of the mold features, the signed by of the mold features, the mold features person in charge and The OS Type of the first terminal, wherein, the first terminal is the terminal for sending the preset instructions;
    Obtain the quantity of the pixel in the mold features;
    According to the quantity of the pixel and the exhausted amount of ink of each pixel, the consumption for calculating the mold features is black Amount;
    The mathematic interpolation ink remaining amount of ink total content and the ink consumption in the ink initial information;And
    The first current essential information is generated according to the ink remaining amount and the first information.
  4. 4. recording method according to claim 1, it is characterised in that according to the current ink remaining amount and described default Instruction determines that the second current essential information of the stamper machine includes:
    Mold features, the ID and the second information of the stamper machine included in the preset instructions in mold features file is obtained, Wherein, second information includes at least one of following information:Send time, the IP address of first terminal, described first The network interface card number of terminal, the producer of the mold features, the signed by of the mold features, the mold features person in charge and The OS Type of the first terminal, wherein, the first terminal is the terminal for sending the preset instructions;
    Obtain the quantity of the pixel in the mold features;
    According to the quantity of the pixel and the exhausted amount of ink of each pixel, the consumption for calculating the mold features is black Amount;
    According to the mathematic interpolation ink remaining amount of the current ink remaining amount and the ink consumption;And
    The second current essential information is generated according to the ink remaining amount and second information.
  5. 5. the recording method according to claim 3 or 4, it is characterised in that calculate it is described calculating ink remaining amount it Afterwards, the recording method also includes:
    Judge whether the ink remaining amount is less than the first predetermined threshold value;And
    In the case where judging that the ink remaining amount is less than first predetermined threshold value, first is sent by the server Alarm command to second terminal, wherein, the second terminal and the first terminal are different terminals.
  6. 6. the recording method according to claim 3 or 4, it is characterised in that calculate it is described calculating ink remaining amount it Afterwards, the recording method also includes:
    Expected residual quantity is determined according to the quotient of the ink remaining amount and the ink consumption;
    Judge whether the expected residual quantity is more than the second predetermined threshold value;And
    In the case where judging that the expected residual quantity is less than second predetermined threshold value, the is sent by the server Two alarm commands to second terminal, wherein, the second terminal and the first terminal are different terminals.
  7. 7. recording method according to claim 2, it is characterised in that at the beginning of the ink of the stamper machine feedback is received Beginning information, and before the ink initial information is fed back into the server, the recording method also includes:
    Receive the link order that the stamper machine is sent;And
    The ID of Connection Time in the link order and the stamper machine are sent to server.
  8. 8. recording method according to claim 7, it is characterised in that receive link order that the stamper machine sends it Afterwards, the recording method also includes:
    According to preset time period, inquiry request is sent to the stamper machine, wherein, the inquiry request is used to confirm the print The connection status of chapter machine and first terminal;
    Judge whether to receive response results, wherein, the response results are the result that the stamper machine responds the inquiry request;
    In the case where receiving the response results, the first preset state is sent to the server;And
    In the case where not receiving the response results, the second preset state is sent to the server.
  9. 9. recording method according to claim 8, it is characterised in that in the case where receiving the response results, feedback After first preset state to the server, the recording method also includes:
    Obtain the Current hardware information of first terminal;
    The Current hardware information is sent to server, and obtains what is bound with the ID of the stamper machine by the server Initial hardware information;
    Judge whether the initial hardware information and the Current hardware information are consistent;
    In the case where judging that the initial hardware information is consistent with the Current hardware information, the first result of feedback is to described Server;And
    In the case where judging that the initial hardware information and the Current hardware information are inconsistent, the second result of feedback to institute Server is stated, wherein, first result and second result are different results, and the first terminal is described pre- to send If the terminal of instruction.
  10. A kind of 10. querying method of seal use information, it is characterised in that including:
    Receive the query statement that target terminal is remotely sent;
    Obtain the identification information in the query statement;And
    The use information of stamper machine is inquired about from record information according to the identification information, and the use information is fed back into institute Target terminal is stated, wherein, the institute that the record information is recorded for the recording method according to any one of claim 1-9 State the use information of stamper machine.
  11. A kind of 11. tape deck of seal use information, it is characterised in that including:
    First judging unit, for when sending preset instructions to stamper machine, determining whether to send the default finger for the first time Make to the stamper machine;
    First processing units, for judge for the first time send the preset instructions to the stamper machine in the case of, root The first current essential information of the stamper machine is determined according to ink initial information and the preset instructions, and feeds back described first and works as Preceding essential information is to server;And
    Second processing unit, for judge be not for the first time send the preset instructions to the stamper machine in the case of, The current ink remaining amount of the stamper machine is obtained from the server, according to the current ink remaining amount and the default finger Order determines the second current essential information of the stamper machine, and feeds back the described second current essential information to the server.
  12. 12. tape deck according to claim 11, it is characterised in that the tape deck also includes:
    First receiving unit, for when sending preset instructions to stamper machine, determining whether to send the default finger for the first time Order is to the ink initial information for before the stamper machine, receiving the stamper machine feedback, and by the ink initial information Feed back to the server.
  13. 13. tape deck according to claim 11, it is characterised in that the first processing units include:
    First acquisition module, for obtaining the mold features, the seal that are included in the preset instructions in mold features file The ID and the first information of machine, wherein, the first information includes at least one of following information:Send time, first terminal IP address, the network interface card number of the first terminal, the producer of the mold features, the signed by, described of the mold features The person in charge of mold features and the OS Type of the first terminal, wherein, the first terminal is described default to send The terminal of instruction;
    Second acquisition module, for obtaining the quantity of the pixel in the mold features;
    First computing module, for the quantity according to the pixel and the exhausted amount of ink of each pixel, determine institute State the ink consumption of mold features;
    Second computing module, for the ink total content in the ink initial information and the mathematic interpolation of the ink consumption Ink remaining amount;And
    First generation module, for according to the ink remaining amount and the current basic letter of first information generation described first Breath.
  14. 14. tape deck according to claim 13, it is characterised in that the second processing unit includes:
    3rd acquisition module, for obtaining the mold features, the seal that are included in the preset instructions in mold features file The ID of machine and the second information, wherein, second information includes at least one of following information:Send time, first terminal IP address, the network interface card number of the first terminal, the producer of the mold features, the signed by, described of the mold features The person in charge of mold features and the OS Type of the first terminal, wherein, the first terminal is described default to send The terminal of instruction;
    4th acquisition module, for obtaining the quantity of the pixel in the mold features;
    3rd computing module, for the quantity according to the pixel and the exhausted amount of ink of each pixel, calculate institute State the ink consumption of mold features;
    4th computing module, for the mathematic interpolation ink remaining amount according to the current ink remaining amount and the ink consumption; And
    Second generation module, for according to the ink remaining amount and the current basic letter of second information generation described second Breath.
  15. 15. tape deck according to claim 14, it is characterised in that the tape deck also includes:
    Second judging unit, for calculating the calculating ink in second computing module or the 4th computing module After surplus, judge whether the ink remaining amount is less than the first predetermined threshold value;And
    Fourth processing unit, in the case where judging that the ink remaining amount is less than first predetermined threshold value, passing through The server sends the first alarm command to second terminal, wherein, the second terminal and the first terminal are different Terminal.
  16. 16. tape deck according to claim 14, it is characterised in that the tape deck also includes:
    Determining unit, it is remaining for calculating the calculating ink in second computing module or the 4th computing module After amount, expected residual quantity is determined according to the quotient of the ink remaining amount and the ink consumption;
    3rd judging unit, for judging whether the expected residual quantity is more than the second predetermined threshold value;And
    5th processing unit, in the case where judging that the expected residual quantity is less than second predetermined threshold value, leading to Cross the server and send the second alarm command to second terminal, wherein, the second terminal and the first terminal are difference Terminal.
  17. 17. tape deck according to claim 12, it is characterised in that the tape deck also includes:
    Second receiving unit, for receiving the ink initial information of the stamper machine feedback, and the ink is initial Before feedback of the information to the server, the link order that the stamper machine is sent is received;And
    First transmitting element, for the ID of the Connection Time in the link order and the stamper machine to be sent to server.
  18. 18. tape deck according to claim 17, it is characterised in that the tape deck also includes:
    Second transmitting element, for after the link order that the stamper machine is sent is received, according to preset time, the cycle to send Inquiry request to the stamper machine, wherein, the inquiry request is used to confirm the connection status of the stamper machine and first terminal;
    4th judging unit, for judging whether to receive response results, wherein, the response results respond institute for the stamper machine State the result of inquiry request;
    3rd transmitting element, in the case where receiving the response results, sending the first preset state to the server; And
    4th transmitting element, in the case where not receiving the response results, sending the second preset state to the service Device.
  19. 19. tape deck according to claim 18, it is characterised in that the tape deck also includes:
    First acquisition unit, in the case where receiving the response results, sending the first preset state to the service After device, the Current hardware information of first terminal is obtained;
    Second acquisition unit, for the Current hardware information to be sent to server, and obtained by the server and institute State the initial hardware information of the ID bindings of stamper machine;
    4th judging unit, for judging whether the initial hardware information and the Current hardware information are consistent;
    First feedback unit, in the case where judging that the initial hardware information is consistent with the Current hardware information, The first result is fed back to the server;And
    Second feedback unit, for judging the initial hardware information and the inconsistent situation of the Current hardware information Under, the second result is fed back to the server, wherein, first result and second result are different results, described First terminal is the terminal for sending the preset instructions.
  20. A kind of 20. inquiry unit of seal use information, it is characterised in that including:
    Acceptance division, the query statement remotely sent for receiving target terminal;
    Acquisition unit, for obtaining the identification information in the query statement;And
    Processing unit, for inquiring about the use information of stamper machine from record information according to the identification information, and by the use Feedback of the information to the target terminal, wherein, the record information is record according to any one of claim 11-19 The use information for the stamper machine that device is recorded.
CN201510076362.3A 2015-02-12 2015-02-12 The recording method and device and querying method and device of seal use information Active CN104698887B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510076362.3A CN104698887B (en) 2015-02-12 2015-02-12 The recording method and device and querying method and device of seal use information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510076362.3A CN104698887B (en) 2015-02-12 2015-02-12 The recording method and device and querying method and device of seal use information

Publications (2)

Publication Number Publication Date
CN104698887A CN104698887A (en) 2015-06-10
CN104698887B true CN104698887B (en) 2018-01-12

Family

ID=53346128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510076362.3A Active CN104698887B (en) 2015-02-12 2015-02-12 The recording method and device and querying method and device of seal use information

Country Status (1)

Country Link
CN (1) CN104698887B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932719B (en) * 2015-06-15 2019-03-08 联想(北京)有限公司 A kind of information processing method and input equipment
EP4157643B1 (en) * 2020-05-26 2024-08-07 Hewlett-Packard Development Company, L.P. Token permitting print material cartridge usage

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102176717A (en) * 2010-12-14 2011-09-07 四川大学 Internet of things stamp and real-time monitoring and management system and method thereof
CN103419517A (en) * 2013-08-20 2013-12-04 珠海汇金科技股份有限公司 Control method and control device for seal management machine

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661573B (en) * 2008-08-28 2013-03-27 北京书生电子技术有限公司 Method for producing electronic seal and method for using electronic seal
DE202008017563U1 (en) * 2008-09-25 2010-05-06 Lti Metalltechnik Gmbh Sheet metal, process and tool for producing sheet metal
CN102750616A (en) * 2012-06-21 2012-10-24 深圳市银之杰科技股份有限公司 Stamp use management system and method
CN103577966A (en) * 2012-07-31 2014-02-12 天津书生软件技术有限公司 Electronic seal manufacturing method
CN203929174U (en) * 2014-06-18 2014-11-05 长城信息产业股份有限公司 A kind of early warning mechanism of detecting for automatic carriage seal-affixing machine ink cartridge oil mass

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102176717A (en) * 2010-12-14 2011-09-07 四川大学 Internet of things stamp and real-time monitoring and management system and method thereof
CN103419517A (en) * 2013-08-20 2013-12-04 珠海汇金科技股份有限公司 Control method and control device for seal management machine

Also Published As

Publication number Publication date
CN104698887A (en) 2015-06-10

Similar Documents

Publication Publication Date Title
CN104933382B (en) Electric supply installation, aerosol generating device and its identification control method
CN105095810A (en) Power supply device, aerosol generating device and identification control method
CN105338066B (en) A kind of information sharing method and client
CN110351378A (en) A kind of control method and system of internet of things equipment
CN107886413A (en) Present presentation method and device based on electric business platform
CN108416683A (en) Declaration form confirmation method, device, equipment and the storage medium of mobile terminal
CN105722089B (en) A kind of equipment authentication method
EP3718814A1 (en) Method and device for assigning a measured value detected by a charging station to a user
CN108881203A (en) Data managing method, electronic equipment, storage medium and system based on block chain
CN104698887B (en) The recording method and device and querying method and device of seal use information
EP3537369A1 (en) Method and system for battery rental
CN104040567A (en) Genuine product certification label, genuine product certification terminal using same, device for outputting genuine product certification label, and system and method for certifying genuine product
CN107609904A (en) A kind of electronic card certificate information processing method, equipment and system
CN105989517A (en) Information prompting method and terminal
CN107341672A (en) A kind of digital anti-fake system, method and device
CN106696749A (en) Charging method and system for electric automobile charging pile with Zigbee
CN110585728A (en) Method, system and mobile terminal for preventing mobile phone game from excessive recharge
CN106384159A (en) Judge meeting appointment method and device applied to court system
CN105491553A (en) Virtual SIM/USIM card management method
CN104616135B (en) Seal guard method and system
CN111309339A (en) Chip burning method and system based on Internet of things and readable storage medium
CN105848137B (en) A kind of card writing method and device
EP2380372B8 (en) Improved method of processing short messages (sms) and wireless communication apparatus enabling such processing
CN106817367A (en) A kind of data transmission method and system
CN102291627A (en) Network television software customizing method and system, television and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CB03 Change of inventor or designer information

Inventor after: Sang Haiming

Inventor after: Gan Ge

Inventor after: Lu Zhen

Inventor before: Lu Zhen

Inventor before: Lu Xinmin

CB03 Change of inventor or designer information
TR01 Transfer of patent right

Effective date of registration: 20200908

Address after: 063000 Hebei, Tangshan City, Wanda Square, seat No. A, 23 floor 2310

Patentee after: HAIMING UNITED ENERGY GROUP MATRIXNETS TECHNOLOGY Co.,Ltd.

Address before: 710000, Shaanxi Xi'an high tech Zone, No. 15, high-tech building, 1st floor, CNAC building

Patentee before: XI'AN YINYIYUAN INDUSTRIAL Co.,Ltd.

TR01 Transfer of patent right
CP01 Change in the name or title of a patent holder

Address after: 063000 No. 2310, 23 / F, block a, Wanda Plaza, Tangshan City, Hebei Province

Patentee after: Moment Network Technology Co.,Ltd.

Address before: 063000 No. 2310, 23 / F, block a, Wanda Plaza, Tangshan City, Hebei Province

Patentee before: HAIMING UNITED ENERGY GROUP MATRIXNETS TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder