CN103067175B - Method for screening display information - Google Patents

Method for screening display information Download PDF

Info

Publication number
CN103067175B
CN103067175B CN201210579192.7A CN201210579192A CN103067175B CN 103067175 B CN103067175 B CN 103067175B CN 201210579192 A CN201210579192 A CN 201210579192A CN 103067175 B CN103067175 B CN 103067175B
Authority
CN
China
Prior art keywords
performs
parsing
numerical value
instruction
described equipment
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.)
Expired - Fee Related
Application number
CN201210579192.7A
Other languages
Chinese (zh)
Other versions
CN103067175A (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.)
Feitian Technologies Co Ltd
Original Assignee
Feitian Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Feitian Technologies Co Ltd filed Critical Feitian Technologies Co Ltd
Priority to CN201210579192.7A priority Critical patent/CN103067175B/en
Publication of CN103067175A publication Critical patent/CN103067175A/en
Application granted granted Critical
Publication of CN103067175B publication Critical patent/CN103067175B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method for screening display information, and belongs to the field of information security. The method includes that when a device is in signature operation, analysis is conducted on a received command, a second analysis numerical value is obtained, and whether the second analysis numerical value is smaller than a preset numerical value or not is judged, if yes, the signature operation is directly carried out, and if no, information is displayed on a liquid crystal display and waits to be conformed through buttons. Through the scheme of the method for screening the display information, multi-time unnecessary and repeatedly operation can be avoided, and safety of the information is improved.

Description

A kind of method that display information is screened
Technical field
The present invention relates to information security field, particularly relate to a kind of method that display information is screened.
Background technology
Along with the fast development of information industry, the development of information technology brings great convenience not only to the life of people, also fundamentally change the life style of people, behavior and values, simultaneously information technology also creates huge and far-reaching influence to economy and social development.
In the prior art, USBKEY is when performing signature operation, and when carrying out that repeatedly finance is mutual, each information all can be presented on liquid crystal display screen, such user, when confirming, can perform repeatedly unnecessary repetitive operation.
Summary of the invention
The object of the invention is to solve problems of the prior art, provide a kind of method that display information is screened.
The technical solution used in the present invention is: a kind of method of screening display information, comprising:
Step 101: the instruction that equipment wait-receiving mode host computer sends;
Step 102: described equipment judges the type of the instruction received;
If what receive is instruction to be signed, then perform step 103;
If what receive is other operational orders, then perform step 109;
Step 103: described equipment is according to default message parsing method, message data in instruction is resolved, and judge that whether message format is legal, if, then described device parses obtains the second parsing numerical value, simultaneously according to resolving the first parsing numerical value obtained from instruction, obtains the described first pre-set buffer district of parsing belonging to numerical value, perform step 104, otherwise perform step 101 after host computer returns errored response;
Step 104: described equipment judges whether described second parsing numerical value is less than default value, if so, then performs step 107, otherwise performs step 105;
Step 105: described equipment reads described second and resolves character pattern data corresponding to numerical value, and shows described character pattern data by liquid crystal display screen;
Step 106: described equipment judges whether acknowledgement key is pressed in Preset Time, if so, then perform step 107, otherwise described equipment performs step 108 after cancelling signature operation;
Step 107: described equipment performs signature operation, performs step 108;
Step 108: described equipment returns to host computer after generating the second response, performs step 101;
Step 109: described equipment performs other operational orders, returns to host computer after generating corresponding response, performs step 101.
In described step 102, if what receive is instruction to be resolved, then perform steps A 1 to steps A 5;
Steps A 1: described equipment is according to default message parsing method, message data in instruction is resolved, and judge that whether message format is legal, if, then described equipment resolves numerical value according to parse from instruction first, obtain the described first pre-set buffer district of parsing belonging to numerical value, perform steps A 2, otherwise perform step 101 after host computer returns errored response;
Steps A 2: described equipment is resolved and obtained default value from the message data of instruction, is read corresponding character pattern data, and is shown by liquid crystal display screen;
Steps A 3: described equipment judges whether acknowledgement key is pressed in Preset Time, if so, then performs steps A 4, otherwise performs steps A 5;
Steps A 4: described default value is kept at first and presets in memory block by described equipment, performs steps A 5;
Steps A 5: described equipment returns to host computer after generating the first response, performs step 101.
Described steps A 2 to steps A 4 can replace with:
Step C1: described equipment parses default value, preset times and prefixed time interval from the message data of instruction, and is shown by liquid crystal display screen;
Step C2: described equipment judges whether acknowledgement key is pressed in Preset Time, if so, performs step C3, otherwise performs steps A 5;
Step C3: the record in described device clears pre-set buffer district;
Step C4: described default value, preset times and prefixed time interval are kept at first and preset in memory block by described equipment, perform steps A 5.
If when what step 102 received is instruction to be signed, then perform step S103 to step S107;
Step S103: described equipment is according to default message parsing method, message data in instruction is resolved, and judge that whether message format is legal, if, then described device parses obtains the second parsing numerical value and parsing time, simultaneously according to resolving the first parsing numerical value obtained, obtains the described first pre-set buffer district of parsing belonging to numerical value, perform step S104, otherwise perform step 101 after host computer returns errored response;
Step S104: described equipment judges whether described second parsing numerical value is less than default value, if so, then performs step 105, otherwise performs step S105;
Step S105: described equipment resolves numerical value using described second and the time of parsing records stored in described pre-set buffer district as one;
Step S106: the numerical value that described parsing time and the time difference of the time of the record in described pre-set buffer district are less than the record of prefixed time interval is added, obtains total value;
Step S107: judge whether described total value is greater than described default value, if so, then performs step 105, otherwise performs step 107.
Also comprise between described step S104 to described step S105:
Step a: whether described equipment judges to have living space in described pre-set buffer district and deposit described second parsing numerical value and the parsing time, if so, then performs step c, otherwise performs step b;
Step b: record minimum for sequence number in described pre-set buffer district is wiped by described equipment, performs step S105.
Step c: described equipment judges whether the second parsing numerical value is less than the ratio of default value and preset times, if so, then performs steps d, otherwise performs step S105;
Steps d: the numerical value of the last item record in pre-set buffer district and second is resolved numerical value and is added by described equipment, obtains the first total value;
Step e: the first total value and described parsing time are recorded the position stored in the last item record in pre-set buffer district as one by described equipment, performs step S106.
Described step b can replace with: record minimum for access times in described pre-set buffer district is wiped by described equipment.
In described step 102, if receive be instruction to be resolved, then perform step S1 to step S3;
Step S1: described equipment is according to default message parsing method, message data in instruction is resolved, and judge that whether message format is legal, if, then described equipment resolves numerical value according to parse from instruction first, obtain the described first pre-set buffer district of parsing belonging to numerical value, perform step S2, otherwise perform step 101 after host computer returns errored response;
Step S2: described equipment reads default value from device storage district;
Step S3: described equipment returns to host computer after generating the first response, performs step 101.
In described step 102, if what receive is instruction to be signed, then perform steps A 103 to steps A 108;
Steps A 103: described equipment, according to default message parsing method, is resolved the message data in instruction, and judge that whether message format is legal, if, then described device parses obtains the second parsing numerical value, performs steps A 104, otherwise perform step 101 after host computer returns errored response;
Steps A 104: described equipment judges whether described second parsing numerical value is less than default value, if so, then performs steps A 105, otherwise performs step 105;
Steps A 105: whether described equipment judges to have living space in described pre-set buffer district and deposit described second parsing numerical value, if so, then performs steps A 107, otherwise performs steps A 106;
Steps A 106: described equipment resolve described second numerical value with in pre-set buffer district finally stored in numerical value corresponding to record be added, obtain the first total value, and the first total value is kept at last stored in the position of record;
Steps A 107: all numerical value in pre-set buffer district are added, obtain the second total value;
Steps A 108: judge whether the second total value is greater than default value, if so, then performs step 105, otherwise performs step 107.
In described step 102, if when containing operation to be resolved in the instruction to be signed received, then also comprised between step 103 and step 104:
Step B1: described equipment is resolved and obtained default value from the message data of instruction, is read corresponding character pattern data, and is shown by liquid crystal display screen;
Step B2: described equipment judges whether acknowledgement key is pressed in Preset Time, if so, then performs step B3, otherwise performs step 105;
Step B3: described default value is kept at first and presets in memory block by described equipment, performs step 104.
Described first response is the response of successfully resolved or failure.
Described second response is signed successfully or failed response.
The beneficial effect that the present invention obtains is: increase screening function in a device, can avoid repeatedly unnecessary repeated work, strengthens the fail safe of information.
Accompanying drawing explanation
Fig. 1 is a kind of flow chart to the method that display information is screened that the embodiment of the present invention 1 provides;
Fig. 2 is a kind of flow chart to the method that display information is screened that the embodiment of the present invention 2 provides;
Fig. 3 is a kind of flow chart to the method that display information is screened that the embodiment of the present invention 3 provides;
Fig. 4 is a kind of flow chart to the method that display information is screened that the embodiment of the present invention 4 provides;
Fig. 5 is a kind of flow chart to the method that display information is screened that the embodiment of the present invention 5 provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment 1
The embodiment of the present invention 1 provides a kind of method of screening display information, as shown in Figure 1, comprising:
Step 101: the instruction that equipment wait-receiving mode host computer sends;
Step 102: equipment judges the type of the instruction received;
If what receive is instruction to be resolved, then perform step 103;
If what receive is instruction to be signed, then perform step 108;
If what receive is other operational orders, then perform step 115;
Be specially:
Equipment carrys out the type of decision instruction according to first and second byte of instruction:
If the first two byte is 0x002A, then represent that the instruction received is instruction to be resolved;
If the first two byte is 0x002B, then represent that the instruction received is instruction to be signed;
If the first two byte is other bytecodes, then represent that the instruction of reception is other operational orders;
Step 103: described equipment, according to default message parsing method, is resolved the message data in instruction, and judge that whether message format is correct, if so, then perform step 104, otherwise perform step 101 after host computer returns errored response;
In the present embodiment, preferably, default message parsing method is XML message analytic method, in addition, can also be CDT message parsing method, GMP message parsing method etc.;
Such as: the message data in instruction:
<?xml version="1.0"encoding="utf-8"?>
<SignData>
<Fields>
<TrsAmount name=" first resolves numerical value: " >500</TrsAmountGreatT.GreaT.G T
</Fields>
</SignData>
Equipment is resolved and obtained described default value from instruction is 500, then default value described in liquid crystal screen display;
Step 104: described equipment is resolved and obtained default value from instruction, and at liquid crystal screen display default value;
Step 105: equipment judges whether acknowledgement key is pressed in Preset Time, if so, then performs step 106, otherwise performs step 107;
In the present embodiment, described Preset Time is 2min;
Step 106: described default value is kept at first and presets in memory block by equipment, performs step 107;
Step 107: equipment generates first and responds and return to host computer, then performs step 101;
Instruction success or failed response are resolved in described first response;
Step 108: equipment, according to default message parsing method, is treated signature command and resolved, obtains the second parsing numerical value;
Step 109: equipment judges to preset in memory block whether have described default value described first, if so, then performs step 110, otherwise performs step 111;
Step 110: equipment judges whether described second parsing numerical value is less than described default value, if so, performs step 113, otherwise performs step 111;
Step 111: equipment shows described second by liquid crystal display screen and resolves numerical value, performs step 112;
Step 112: equipment judges whether acknowledgement key is pressed in Preset Time, if so, then perform step 113, otherwise equipment cancels signature operation, performs step 114;
Step 113: equipment performs signature operation, performs step 114;
Step 114: equipment generates second and responds and return to host computer, then performs step 101;
Described second response is signed successfully or failed response;
Step 115: equipment performs other operational orders, generates and responds and return to host computer accordingly, then performs step 101.
Embodiment 2
The embodiment of the present invention 2 provides a kind of method of screening display information, as shown in Figure 2, comprising:
Step 201: the instruction that equipment wait-receiving mode host computer sends;
Step 202: the type judging the instruction received;
If what receive is instruction to be resolved, then perform step 203;
If what receive is instruction to be signed, then perform step 209;
If what receive is other operational orders, then perform step 221;
Be specially:
Equipment carrys out the type of decision instruction according to first and second byte of instruction:
If the first two byte is 0x002A, then represent that the instruction received is instruction to be resolved;
If the first two byte is 0x002B, then represent that the instruction received is instruction to be signed;
If the first two byte is other bytecodes, then represent that the instruction received is other operational orders;
Step 203: equipment, according to default message parsing method, is resolved the message data in instruction, and judge that whether message format is correct, if so, then perform step 204, otherwise perform step 201 after host computer returns errored response;
In the present embodiment, the message data of instruction is:
The default value then parsed from instruction is 500, and preset times is 5, and prefixed time interval is 2 hours;
Step 204: described equipment parses default value, preset times and prefixed time interval from instruction, and in liquid crystal screen display;
Step 205: equipment judges whether acknowledgement key is pressed in Preset Time, if so, then performs step 206, otherwise performs step 208;
Step 206: the record in device clears pre-set buffer district;
In the present embodiment, described pre-set buffer district is for depositing the numerical value parsed from instruction to be signed and the time parsed, and wherein, the time parsed is provided by the timestamp in the message of instruction to be signed;
In the present embodiment, the timestamp message of described instruction to be signed is:
<?xml version="1.0"encoding="utf-8"?>
<SignData>
<Fields>
<k=: " timestamp: " >112391209831250123461245859271684LEssT.LT ssT.LTk>
</Fields>
</SignData>
Such as, be recorded as stored in pre-set buffer district according to above-mentioned packet parsing result: numerical value: 200, the time: on December 5th, 2012 12:25;
Step 207: described default value, preset times and prefixed time interval are kept at first and preset in memory block by equipment;
Step 208: equipment generates first and responds and return to host computer, then performs step 201;
In the present embodiment, instruction success or failed response are resolved in described first response;
Step 209: equipment, according to default message parsing method, is treated signature command and resolved, obtains the second parsing numerical value and parsing time;
Step 210: equipment judges to preset in memory block whether have described default value, preset times and prefixed time interval described first, if so, then performs step 211, otherwise performs step 217;
Step 211: equipment judges whether described second parsing numerical value is less than described default value, if so, then performs step 212, otherwise performs step 217;
Step 212: equipment judges whether pre-set buffer district has living space and deposits described second parsing numerical value and the parsing time, if so, then performs step 214, otherwise performs step 213;
Step 213: record minimum for sequence number in pre-set buffer district is wiped;
In the present embodiment, every bar record in described pre-set buffer district is made up of parsing numerical value, parsing time and sequence number, wherein when described second parsing numerical value is less than default value, resolve numerical value by described second with the time of parsing stored in described pre-set buffer district, and sequence number is progressively increased; When sequence number equals the first default value, preset the sequence number rearrangement in memory block by described second, minimum sequence number is set to 1, the like;
Step 214: described second parsing numerical value and described parsing time are write pre-set buffer district;
Step 215: the numerical value that parsing time and the time difference of the time in pre-set buffer district do not exceed the record of described prefixed time interval is added, obtains total value;
Step 216: judge whether described total value is greater than described default value, if so, then performs step 217, otherwise performs step 219;
Step 217: equipment shows described second by liquid crystal display screen and resolves numerical value;
Step 218: equipment judges whether acknowledgement key is pressed in Preset Time, if so, then perform step 219, otherwise equipment cancels signature operation, performs step 219;
Step 219: equipment performs signature operation, then performs step 220;
Step 220: equipment generates second and responds and return to host computer, then performs step 201;
Described second response is signed successfully or failed response;
Step 221: equipment performs other operational orders, returns to host computer after generating corresponding response, then performs step 201.
Embodiment 3
The embodiment of the present invention 3 provides a kind of method of screening display information, as shown in Figure 3, comprising:
Step 301: the instruction that equipment wait-receiving mode host computer sends;
Step 302: the type judging the instruction received;
If what receive is instruction to be resolved, then perform step 303;
If what receive is instruction to be signed, then perform step 309;
If what receive is other operational orders, then perform step 321;
Be specially:
First and second byte of described instruction is the type portions of instruction, and described equipment decision instruction type is by judging that the first two byte of the instruction received realizes:
If the first two byte is 0x002A, then represent that the instruction received is instruction to be resolved;
If the first two byte is 0x002B, then represent that the instruction received is instruction to be signed;
If the first two byte is other bytecodes, then represent that the instruction received is other operational orders;
Step 303: equipment needs by liquid crystal display screen display the information inputting default value, and the default value of wait-receiving mode input;
Step 304: equipment receives the default value of input in liquid crystal screen display;
In the present embodiment, described default value is 2000;
Step 305: equipment judges whether acknowledgement key is pressed in Preset Time, if so, then performs step 306, otherwise performs step 308;
In the present embodiment, described Preset Time is 2min;
Step 306: described default value is kept at first and presets in memory block by equipment;
Step 307: the record in pre-set buffer district empties by equipment;
In the present embodiment, described pre-set buffer district is for depositing from the numerical value parsed instruction to be signed;
Step 308: equipment returns to host computer after generating the first response, then performs step 301;
In the present embodiment, instruction success or failed response are resolved in described first response;
Step 309: according to default message parsing method, treats signature command and resolves, and obtains the second parsing numerical value;
Step 310: equipment judges described first presets in memory block whether there is default value, if so, then performs step 311, otherwise performs step 317;
Step 311: judge whether described second parsing numerical value is less than described default value, if so, then performs step 312, otherwise performs step 317;
Step 312: equipment judges whether pre-set buffer district has living space and deposits described second parsing numerical value, if so, then performs step 313, otherwise performs step 314;
Step 313: resolve numerical value by described second stored in pre-set buffer district, perform step 315;
Step 314: equipment resolve described second numerical value with in pre-set buffer district at first stored in the numerical value of record be added, obtain the first total value, and the first total value is kept in pre-set buffer district last stored in the position of record;
Such as, in the present embodiment, finally stored in numerical value be 100, second to resolve numerical value be 300, then 100 values is added with 300 400 are put into finally stored in position, by last stored in position in 100 replace with 400;
Step 315: all numerical value in pre-set buffer district are added, obtain the second total value;
Step 316: judge whether the second total value is greater than default value, if so, then performs step 317, otherwise performs step 319;
Step 317: equipment shows described second by liquid crystal display screen and resolves numerical value;
Step 318: equipment judges whether acknowledgement key is pressed in Preset Time, if so, then performs step 319, otherwise performs step 320 after cancelling signature operation;
Step 319: equipment performs signature operation, performs step 320;
Step 320: equipment returns to host computer after generating the second response, then performs step 301;
Described second response is signed successfully or failed response;
Step 321: equipment performs other operational orders, returns to host computer after generating corresponding response, then performs step 301.
Embodiment 4
The embodiment of the present invention 4 provides a kind of method of screening display information, as shown in Figure 4, comprising:
Step 401: the instruction that equipment wait-receiving mode host computer sends;
Step 402: the type judging the instruction received;
If what receive is instruction to be resolved, then perform step 403;
If what receive is instruction to be signed, then perform step 411;
If what receive is other operational orders, then perform step 427;
Be specially:
First and second byte of described instruction is the type portions of instruction, and described equipment decision instruction type is by judging that the first two byte of the instruction received realizes:
If the first two byte is 0x002A, then represent that the instruction received is instruction to be resolved;
If the first two byte is 0x002B, then represent that the instruction of reception is instruction to be signed;
If the first two byte is other bytecodes, then represent that the instruction of reception is other operational orders;
Step 403: described equipment, according to default message parsing method, is resolved the message data in instruction, and judge that whether message format is correct, if so, then perform step 404, otherwise perform step 401 after host computer returns errored response;
Step 404: described equipment resolves numerical value according to parse from instruction first, obtains the described first pre-set buffer district of parsing belonging to numerical value;
In the present embodiment, same equipment can bind multiple account, and equipment is according to the difference of account, and for each account distributes different buffering areas, after equipment receives instruction, the account in first decision instruction belongs to which pre-set buffer district;
Step 405: equipment needs the information of the default value, preset times and the prefixed time interval that input by liquid crystal display screen display;
Step 406: equipment receives default value, preset times and prefixed time interval by liquid crystal display screen display;
Step 407: equipment judges whether acknowledgement key is pressed in Preset Time, if so, then performs step 408, otherwise performs step 410;
Step 408: pre-set buffer district described in device clears;
Step 409: default value, preset times and prefixed time interval are kept at first and preset in memory block by equipment;
Step 410: equipment generates first and responds and return to host computer, then performs step 401;
In the present embodiment, instruction success or failed response are resolved in described first response;
Step 411: equipment, according to default message parsing method, is resolved instruction, obtains first in instruction and resolves numerical value, resolves numerical value obtain corresponding pre-set buffer district according to described first;
Step 412: according to default message parsing method, treats signature command and resolves, and obtains the second parsing numerical value and parsing time;
Step 413: equipment judges to preset in memory block whether can find default value, preset times and prefixed time interval first, if so, then performs step 414, otherwise performs step 424;
Step 414: judge whether described second parsing numerical value is greater than described default value, if so, then performs step 424, otherwise performs step 415;
Step 415: equipment judges whether described pre-set buffer district has living space and deposits described second parsing numerical value and the parsing time, if so, then performs step 416, otherwise performs step 420;
Step 416: equipment judges whether described second parsing numerical value is less than the ratio of default value and preset times, if so, then performs step 418, otherwise performs step 417;
Step 417: resolve numerical value by second and write pre-set buffer district with the time of parsing, then perform step 422;
Step 418: the numerical value of the last item record in pre-set buffer district and second is resolved numerical value and is added by equipment, obtains the first total value;
Step 419: the first total value and described parsing time are recorded the position stored in the last item record in pre-set buffer district as one, performs step 422;
Step 420: record minimum for access times in pre-set buffer district is wiped;
Step 421: described second parsing numerical value and described parsing time are write in pre-set buffer district;
Step 422: parsing time and the time difference of the time in pre-set buffer district are not exceeded described default numerical value of resolving the record in the time interval and be added, obtain the second total value;
Step 423: judge whether described second total value is greater than default value, if so, then performs step 424, otherwise performs step 426;
Step 424: equipment shows described second by liquid crystal display screen and resolves numerical value;
Step 425: equipment judges whether acknowledgement key is pressed in Preset Time, if so, then perform step 426, otherwise equipment performs step 427 after cancelling signature operation;
Step 426: equipment performs signature operation, then performs step 427;
Step 427: equipment returns to host computer after generating the second response, then performs step 401;
Described second response is signed successfully or failed response;
Step 428: equipment performs other operational orders, returns to host computer after generating corresponding response, then performs step 401.
Embodiment 5
The embodiment of the present invention 5 provides a kind of method of screening display information, as described in Figure 5, comprising:
Step 501: the instruction that equipment wait-receiving mode host computer sends;
Step 502: described equipment judges the type receiving call instruction;
If what receive is to be resolved and signature command, then perform step 503;
If what receive is other operational orders, then perform step 511;
Step 503: described equipment, according to default message parsing method, is resolved the message data in instruction, and judge that whether message format is legal, if so, then perform step 504, otherwise perform step 501 after host computer returns errored response;
Step 504: described equipment is resolved and obtained the first parsing numerical value and the second parsing numerical value from instruction, simultaneously according to resolving the first parsing numerical value obtained, obtains the described first pre-set buffer district of parsing belonging to numerical value;
Step 505: described equipment reads default value from device storage district;
Step 506: described equipment judges whether described second parsing numerical value is less than default value, if so, then performs step 509, otherwise performs step 507;
Step 507: described equipment reads described second and resolves character pattern data corresponding to numerical value, and shows described character pattern data by liquid crystal display screen;
Step 508: described equipment judges whether acknowledgement key is pressed in Preset Time, if so, then perform step 509, otherwise described equipment performs step 510 after cancelling signature operation;
Step 509: described equipment performs signature operation, performs step 510;
Step 510: described equipment returns to host computer after generating response, performs step 501;
Described response is signed successfully or failed response;
Step 511: described equipment performs other operational orders, returns to host computer after generating corresponding response, performs step 501.

Claims (11)

1. to the method that display information is screened, it is characterized in that, comprising:
Step 101: the instruction that equipment wait-receiving mode host computer sends;
Step 102: described equipment judges the type of the instruction received;
If what receive is instruction to be signed, then perform step 103;
If what receive is other operational orders, then perform step 109;
Step 103: described equipment is according to default message parsing method, message data in instruction is resolved, and judge that whether message format is legal, if, then described device parses obtains the second parsing numerical value, simultaneously according to resolving the first parsing numerical value obtained from instruction, obtains the described first pre-set buffer district of parsing belonging to numerical value, perform step 104, otherwise perform step 101 after host computer returns errored response;
Step 104: described equipment judges whether described second parsing numerical value is less than default value, if so, then performs step 107, otherwise performs step 105;
Step 105: described equipment reads described second and resolves character pattern data corresponding to numerical value, and shows described character pattern data by liquid crystal display screen;
Step 106: described equipment judges whether acknowledgement key is pressed in Preset Time, if so, then perform step 107, otherwise described equipment performs step 108 after cancelling signature operation;
Step 107: described equipment performs signature operation, performs step 108;
Step 108: described equipment returns to host computer after generating the second response, performs step 101;
Step 109: described equipment performs other operational orders, returns to host computer after generating corresponding response, performs step 101.
2. method according to claim 1, is characterized in that,
In described step 102, if what receive is instruction to be resolved, then perform steps A 1 to steps A 5;
Steps A 1: described equipment is according to default message parsing method, message data in instruction is resolved, and judge that whether message format is legal, if, then described equipment resolves numerical value according to parse from instruction first, obtain the described first pre-set buffer district of parsing belonging to numerical value, perform steps A 2, otherwise perform step 101 after host computer returns errored response;
Steps A 2: described equipment is resolved and obtained default value from the message data of instruction, is read corresponding character pattern data, and is shown by liquid crystal display screen;
Steps A 3: described equipment judges whether acknowledgement key is pressed in Preset Time, if so, then performs steps A 4, otherwise performs steps A 5;
Steps A 4: described default value is kept at first and presets in memory block by described equipment, performs steps A 5;
Steps A 5: described equipment returns to host computer after generating the first response, performs step 101.
3. method according to claim 2, is characterized in that,
Described steps A 2 to steps A 4 can replace with:
Step C1: described equipment parses default value, preset times and prefixed time interval from the message data of instruction, and is shown by liquid crystal display screen;
Step C2: described equipment judges whether acknowledgement key is pressed in Preset Time, if so, performs step C3, otherwise performs steps A 5;
Step C3: the record in described device clears pre-set buffer district;
Step C4: described default value, preset times and prefixed time interval are kept at first and preset in memory block by described equipment, perform steps A 5.
4. method according to claim 3, is characterized in that,
If when what step 102 received is instruction to be signed, then perform step S103 to step S107;
Step S103: described equipment is according to default message parsing method, message data in instruction is resolved, and judge that whether message format is legal, if, then described device parses obtains the second parsing numerical value and parsing time, simultaneously according to resolving the first parsing numerical value obtained, obtains the described first pre-set buffer district of parsing belonging to numerical value, perform step S104, otherwise perform step 101 after host computer returns errored response;
Step S104: described equipment judges whether described second parsing numerical value is less than default value, if so, then performs step 105, otherwise performs step S105;
Step S105: described equipment resolves numerical value using described second and the time of parsing records stored in described pre-set buffer district as one;
Step S106: the numerical value that described parsing time and the time difference of the time of the record in described pre-set buffer district are less than the record of prefixed time interval is added, obtains total value;
Step S107: judge whether described total value is greater than described default value, if so, then performs step 105, otherwise performs step 107.
5. method according to claim 4, is characterized in that,
Also comprise between described step S104 to described step S105:
Step a: whether described equipment judges to have living space in described pre-set buffer district and deposit described second parsing numerical value and the parsing time, if so, then performs step c, otherwise performs step b;
Step b: record minimum for sequence number in described pre-set buffer district is wiped by described equipment, performs step S105;
Step c: described equipment judges whether the second parsing numerical value is less than the ratio of default value and preset times, if so, then performs steps d, otherwise performs step S105;
Steps d: the numerical value of the last item record in pre-set buffer district and second is resolved numerical value and is added by described equipment, obtains the first total value;
Step e: the first total value and described parsing time are recorded the position stored in the last item record in pre-set buffer district as one by described equipment, performs step S106.
6. method according to claim 5, is characterized in that,
Described step b can replace with: record minimum for access times in described pre-set buffer district is wiped by described equipment.
7. method according to claim 1, is characterized in that,
In described step 102, if receive be instruction to be resolved, then perform step S1 to step S3;
Step S1: described equipment is according to default message parsing method, message data in instruction is resolved, and judge that whether message format is legal, if, then described equipment resolves numerical value according to parse from instruction first, obtain the described first pre-set buffer district of parsing belonging to numerical value, perform step S2, otherwise perform step 101 after host computer returns errored response;
Step S2: described equipment reads default value from device storage district;
Step S3: described equipment returns to host computer after generating the first response, performs step 101.
8. method according to claim 7, is characterized in that,
In described step 102, if what receive is instruction to be signed, then perform steps A 103 to steps A 108;
Steps A 103: described equipment, according to default message parsing method, is resolved the message data in instruction, and judge that whether message format is legal, if, then described device parses obtains the second parsing numerical value, performs steps A 104, otherwise perform step 101 after host computer returns errored response;
Steps A 104: described equipment judges whether described second parsing numerical value is less than default value, if so, then performs steps A 105, otherwise performs step 105;
Steps A 105: whether described equipment judges to have living space in described pre-set buffer district and deposit described second parsing numerical value, if so, then performs steps A 107, otherwise performs steps A 106;
Steps A 106: described equipment resolve described second numerical value with in pre-set buffer district finally stored in numerical value corresponding to record be added, obtain the first total value, and the first total value is kept at last stored in the position of record;
Steps A 107: all numerical value in pre-set buffer district are added, obtain the second total value;
Steps A 108: judge whether the second total value is greater than default value, if so, then performs step 105, otherwise performs step 107.
9. method according to claim 1, is characterized in that,
In described step 102, if when containing operation to be resolved in the instruction to be signed received, then also comprised between step 103 and step 104:
Step B1: described equipment is resolved and obtained default value from the message data of instruction, is read corresponding character pattern data, and is shown by liquid crystal display screen;
Step B2: described equipment judges whether acknowledgement key is pressed in Preset Time, if so, then performs step B3, otherwise performs step 105;
Step B3: described default value is kept at first and presets in memory block by described equipment, performs step 104.
10. method according to claim 1, is characterized in that,
Described second response is signed successfully or failed response.
11. according to the method in claim 2 or 3, it is characterized in that,
Described first response is the response of successfully resolved or failure.
CN201210579192.7A 2012-12-27 2012-12-27 Method for screening display information Expired - Fee Related CN103067175B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210579192.7A CN103067175B (en) 2012-12-27 2012-12-27 Method for screening display information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210579192.7A CN103067175B (en) 2012-12-27 2012-12-27 Method for screening display information

Publications (2)

Publication Number Publication Date
CN103067175A CN103067175A (en) 2013-04-24
CN103067175B true CN103067175B (en) 2015-04-15

Family

ID=48109646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210579192.7A Expired - Fee Related CN103067175B (en) 2012-12-27 2012-12-27 Method for screening display information

Country Status (1)

Country Link
CN (1) CN103067175B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103235911B (en) * 2013-04-27 2015-09-23 飞天诚信科技股份有限公司 A kind of endorsement method
CN103326863B (en) * 2013-06-24 2015-12-02 飞天诚信科技股份有限公司 A kind of endorsement method of electric signing tools

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101520880A (en) * 2009-03-27 2009-09-02 李东声 Electronic signing tool and information displaying method and information displaying system thereof
CN101562525A (en) * 2009-04-30 2009-10-21 北京飞天诚信科技有限公司 Method, device and system for signature
CN102737184A (en) * 2012-06-12 2012-10-17 飞天诚信科技股份有限公司 Method for safely displaying user-defined information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101520880A (en) * 2009-03-27 2009-09-02 李东声 Electronic signing tool and information displaying method and information displaying system thereof
CN101562525A (en) * 2009-04-30 2009-10-21 北京飞天诚信科技有限公司 Method, device and system for signature
CN102737184A (en) * 2012-06-12 2012-10-17 飞天诚信科技股份有限公司 Method for safely displaying user-defined information

Also Published As

Publication number Publication date
CN103067175A (en) 2013-04-24

Similar Documents

Publication Publication Date Title
CN104657451B (en) The processing method and processing device of the page
CN108334436A (en) Optimization method, device, equipment and the computer readable storage medium of application software
CN103631828A (en) Method and device for determining access path and method and system for determining page churn rate
CN103077019B (en) A kind of graphical parameter batch maintenance method and device
CN103067175B (en) Method for screening display information
CN105630187A (en) Method and apparatus for HTML page to call local keyboard in user terminal device
CN108491326A (en) Behavioral test recombination method, device and storage medium
CN108121565A (en) Generate the methods, devices and systems of instruction set encoding
CN103324563A (en) Method for checking terminal event of communication terminal and communication terminal thereof
CN106294162B (en) A kind of third party&#39;s component method for testing security based on data mining
CN104391865A (en) Method for recording operation logs based on trigger principle
CN106341731A (en) Method and device for responding to remote-control key of intelligent television
CN104360869A (en) Method for preventing underlying driver from intercepting messages
CN103065079B (en) Method for preventing fraudulent signing
CN106817419A (en) Data based on VoLTE AS network elements extract analytic method, device and service terminal
CN104954351A (en) Data detection method and apparatus
CN115412336B (en) Method and device for detecting tampering attack of coalition chain account book and electronic equipment
CN113609427B (en) System data resource extraction method and system under no-interface condition
CN102063506B (en) Service system host computer, decoding method thereof and service system
CN105113912A (en) Novel financial management fingerprint control cabinet
CN108845995A (en) Data processing method, device, storage medium and electronic device
CN105243022B (en) The performance data analysis method and device of host application software system
CN103297865B (en) The method and system of intelligent network service off-line reproduction
CN105429779A (en) Network business data automatic identification system and method
CN112699372A (en) Vulnerability processing method and device and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150415