CN108269091A - standby processing method, device, system and computer readable storage medium - Google Patents

standby processing method, device, system and computer readable storage medium Download PDF

Info

Publication number
CN108269091A
CN108269091A CN201810075277.9A CN201810075277A CN108269091A CN 108269091 A CN108269091 A CN 108269091A CN 201810075277 A CN201810075277 A CN 201810075277A CN 108269091 A CN108269091 A CN 108269091A
Authority
CN
China
Prior art keywords
host
shield
standby processing
key
press status
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.)
Granted
Application number
CN201810075277.9A
Other languages
Chinese (zh)
Other versions
CN108269091B (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.)
Beijing Minghua Alliance Technology Co Ltd
Original Assignee
Beijing Minghua Alliance Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Minghua Alliance Technology Co Ltd filed Critical Beijing Minghua Alliance Technology Co Ltd
Priority to CN201810075277.9A priority Critical patent/CN108269091B/en
Publication of CN108269091A publication Critical patent/CN108269091A/en
Application granted granted Critical
Publication of CN108269091B publication Critical patent/CN108269091B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3821Electronic credentials
    • G06Q20/38215Use of certificates or encrypted proofs of transaction rights
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management

Abstract

The invention discloses a kind of standby processing methods, and applied to U-shield, the standby processing method includes the following steps:U-shield monitors the interrupt signal that host is sent when in waiting key-press status;When listening to the interrupt signal that the host is sent, the waiting key-press status is exited;Corresponding abnormal prompt information is sent to the host, so that the host is when receiving the abnormal prompt information, control enters standby mode.The invention also discloses a kind of standby processing unit, system and computer readable storage mediums.The present invention improves the reliability interacted between U-shield and host.

Description

Standby processing method, device, system and computer readable storage medium
Technical field
The present invention relates to U-shield technical field more particularly to a kind of standby processing method, device, systems and computer-readable Storage medium.
Background technology
U-shield is as a kind of high-level security tool, its built-in miniature smartcard processor, using 1024 unsymmetrical key Online data are encrypted in algorithm, decrypt and digital signature, it is ensured that confidentiality, authenticity, integrality and the peace of online transaction Quan Xing.After host is sent to U-shield orders, when U-shield is in and waits for key-press status, host can not carry out standby.Therefore, U-shield The reliability interacted between host is to be improved.
Invention content
It is a primary object of the present invention to propose a kind of standby processing method, device, system and computer-readable storage medium Matter, it is intended to solve the technical issues of reliability interacted between U-shield and host in the prior art is not high.
To achieve the above object, the present invention provides a kind of standby processing method, applied to U-shield, the standby processing method Include the following steps:
U-shield monitors the interrupt signal that host is sent when in waiting key-press status;
When listening to the interrupt signal that the host is sent, the waiting key-press status is exited;
Corresponding abnormal prompt information is sent to the host, so that the host is receiving the abnormal prompt information When, control enters standby mode.
Preferably, it is described when listening to the interrupt signal that the host is sent, exit the step for waiting for key-press status Suddenly include:
When listening to the interrupt signal that the host is sent, corresponding preset interrupt flag is recorded;
According to the preset interrupt flag of record, the waiting key-press status is exited.
Preferably, the preset interrupt flag according to record was exited after described the step of waiting for key-press status, It further includes:
Delete the preset interrupt flag.
Preferably, the corresponding abnormal prompt information of transmission to the step of host, includes:
Default error code is sent to the host.
Preferably, it is described when listening to the interrupt signal that the host is sent, exit the step for waiting for key-press status After rapid, further include:
Start USB universal serial bus suspend modes.
Preferably, the interrupt signal is suspend pending signals.
In addition, to achieve the above object, the present invention also proposes a kind of standby processing unit, the standby processing unit packet It includes:Memory, processor and the standby processing routine that can be run on the memory and on the processor is stored in, it is described The step of standby processing method as described above is realized when standby processing routine is performed by the processor.
In addition, to achieve the above object, the present invention also proposes a kind of computer readable storage medium, described computer-readable Standby processing routine is stored on storage medium, treating as described above is realized when the standby processing routine is executed by processor The step of machine processing method.
In addition, to achieve the above object, the present invention also proposes a kind of standby processing system, and the standby processing system includes U-shield and host, wherein:
The U-shield, in wait for key-press status when, the interrupt signal that the host is sent is monitored, when listening to During the interrupt signal that the host is sent, the waiting key-press status is exited, and sends corresponding abnormal prompt information to described Host;
The host for sending the interrupt signal to the U-shield, and is receiving the described different of the U-shield transmission During normal prompt message, control enters standby mode.
Scheme proposed by the present invention, when U-shield is in and waits for key-press status, by monitoring the interrupt signal of host transmission, Once listening to the interrupt signal of host transmission, then current waiting key-press status is exited, and send corresponding abnormal prompt letter Breath is to host, and for host in the abnormal prompt information for receiving U-shield transmission, control is into standby mode namely realizes in U-shield In waiting under key-press status, host enters standby mode, and this improves the reliabilities interacted between U-shield and host.
Description of the drawings
Fig. 1 is the structure diagram of the hardware running environment of U-shield that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of standby processing method first embodiment of the present invention;
Fig. 3 be in standby processing method second embodiment of the present invention when the interrupt signal for listening to host transmission, Exit the refinement flow diagram for waiting for key-press status;
Fig. 4 is the flow diagram of standby processing method 3rd embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The solution of the embodiment of the present invention is mainly:When U-shield is in and waits for key-press status, sent by monitoring host Interrupt signal, once listening to the interrupt signal of host transmission, then exit current waiting key-press status, and send corresponding Abnormal prompt information to host, host in the abnormal prompt information for receiving U-shield transmission, control into standby mode namely It realizes in the case where U-shield is in and waits for key-press status, host enters standby mode.Technical solution through the embodiment of the present invention, solution The problem of reliability interacted between U-shield and host of having determined is not high.
With reference to Fig. 1, Fig. 1 is the structure diagram of the hardware running environment of U-shield that the embodiment of the present invention is related to.
In subsequent description, using for representing that the suffix of such as " module ", " component " or " unit " of element is only Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
As shown in Figure 1, the U-shield can include:Processor 1001, communication bus 1002, user interface 1003, network interface 1004th, memory 1005.Wherein, communication bus 1002 is used to implement the connection communication between these components.User interface 1003 It can include display screen (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include Standard wireline interface and wireless interface.Network interface 1004 can optionally include standard wireline interface and wireless interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or the memory (non-of stabilization ), such as magnetic disk storage volatilememory.Memory 1005 optionally can also be independently of aforementioned processor 1001 Storage device.
It will be understood by those skilled in the art that the U-shield structure shown in Fig. 1 does not form the restriction to U-shield, can include Certain components or different components arrangement are either combined than illustrating more or fewer components.
As shown in Figure 1, it can lead to as in a kind of memory 1005 of computer storage media including operating system, network Believe module, Subscriber Interface Module SIM and standby processing routine.
Processor 1001, memory 1005 in U-shield of the present invention can be arranged in standby processing unit, the standby place Reason device calls the standby processing routine stored in memory 1005 by processor 1001, and performs following operate:
U-shield monitors the interrupt signal that host is sent when in waiting key-press status;
When listening to the interrupt signal that the host is sent, the waiting key-press status is exited;
Corresponding abnormal prompt information is sent to the host, so that the host is receiving the abnormal prompt information When, control enters standby mode.
Further, processor 1001 can call the standby processing routine stored in memory 1005, also perform following Operation:
When listening to the interrupt signal that the host is sent, corresponding preset interrupt flag is recorded;
According to the preset interrupt flag of record, the waiting key-press status is exited.
Further, processor 1001 can call the standby processing routine stored in memory 1005, also perform following Operation:
Delete the preset interrupt flag.
Further, processor 1001 can call the standby processing routine stored in memory 1005, also perform following Operation:
Default error code is sent to the host.
Further, processor 1001 can call the standby processing routine stored in memory 1005, also perform following Operation:
Start USB universal serial bus suspend modes.
The present embodiment through the above scheme, when U-shield is in and waits for key-press status, believe by the interruption sent by monitoring host Number, once listening to the interrupt signal of host transmission, then current waiting key-press status is exited, and send corresponding abnormal prompt Information is to host, and for host in the abnormal prompt information for receiving U-shield transmission, control is into standby mode namely realizes in U Shield, which is in, to be waited under key-press status, and host enters standby mode, and this improves the reliabilities interacted between U-shield and host.
Based on above-mentioned hardware configuration, standby processing method embodiment of the present invention is proposed.
With reference to Fig. 2, Fig. 2 is the flow diagram of standby processing method first embodiment of the present invention.
In the first embodiment, the standby processing method is applied to U-shield, includes the following steps:
Step S10, U-shield monitor the interrupt signal that host is sent when in waiting key-press status;
Step S20 when listening to the interrupt signal that the host is sent, exits the waiting key-press status;
Step S30 sends corresponding abnormal prompt information to the host, so that the host is receiving the exception During prompt message, control enters standby mode.
U-shield is as a kind of high-level security tool, its built-in miniature smartcard processor, using 1024 unsymmetrical key Online data are encrypted in algorithm, decrypt and digital signature, it is ensured that confidentiality, authenticity, integrality and the peace of online transaction Quan Xing.After host is sent to U-shield orders, when U-shield is in and waits for key-press status, host can not carry out standby.Also, host It, can the operations such as peripheral hardware removal are main when user manipulates host, such as when operation mouse or keyboard after receiving standby command Machine is simultaneously handled without any response, and user can not be solved the problems, such as by operating host, so as to bring puzzlement to user.
Through analysis, when U-shield waits for user key-press, it will appear master if at this moment host operating system will enter dormant state Machine operating system waits for U-shield application call host operating system associated drives to complete, and associated drives can then wait for U-shield to return to sound Data are answered, the phenomenon that U-shield then waits for user key-press, so as to cause host operating system that can not normally enter suspend mode, and main After machine operating system receives dormancy instruction, the peripheral hardwares such as keyboard and mouse are removed, lead to keyboard and mouse etc. " failure ", user can not lead to Cross the operation host such as keyboard and mouse.
In the present embodiment, it after U-shield insertion host, power-up initializing, during being interacted with host, needs Bright, host includes but not limited to the terminal devices such as PC (personal computer), laptop, and host sends corresponding APDU (Application Protocol Data Unit, Application Protocol Data Unit) is ordered to U-shield.When U-shield receives host hair During the APDU orders sent, U-shield shows corresponding user key-press prompt message, and enters and wait for key-press status.For example, in U-shield liquid The brilliant corresponding user key-press prompt message of screen display, so that user is when viewing the user key-press prompt message, in U-shield Perform corresponding button operation.
Under being in U-shield and waiting for key-press status, if receiving the button operation of user, button request is handled, is performed Corresponding response operation, and corresponding response data is fed back to host.If alternatively, do not receive user always in one section of duration Button operation, also feed back corresponding response data to host.For example, default waiting time accordingly is pre-set, if at this It does not receive the button operation of user in default waiting time always, then feeds back corresponding response data to host.
Also, in the present embodiment, U-shield initialization USB (Universal Serial Bus, universal serial bus) module When, it is configured when receiving the interrupt signal that host system issues and enters interruption.Optionally, which hangs for suspend Play signal.Under being in U-shield and waiting for key-press status, if host needs to enter standby mode, host sends corresponding preset Interrupt signal is to U-shield.In the case where U-shield is in and waits for key-press status, U-shield monitors the interrupt signal that host is sent, if in not hearing Break signal, then U-shield keep waiting key-press status, wait for user key-press.Optionally, within default waiting time, as long as not The button operation of user is received, U-shield monitors the interrupt signal of host transmission always.
When U-shield listens to the interrupt signal of host transmission, U-shield exits current waiting key-press status, and sends corresponding Abnormal prompt information to host.For example, preset error code is sent to host.
When host receives the abnormal prompt information of U-shield transmission, host computer control enters standby mode.Still enumerated with above-mentioned For example, when host receives the error code of U-shield transmission, host computer control enters standby mode.
Therefore, scheme through this embodiment even if in the case where U-shield is in and waits for key-press status, can also control host to enter Standby mode.After host enters standby mode, user can manipulate host according to oneself demand, so as to solve at U-shield In waiting under key-press status, host can not it is standby caused by abnormal problem, substantially increase user experience.
Scheme provided in this embodiment, when U-shield is in and waits for key-press status, the interruption sent by monitoring host is believed Number, once listening to the interrupt signal of host transmission, then current waiting key-press status is exited, and send corresponding abnormal prompt Information is to host, and for host in the abnormal prompt information for receiving U-shield transmission, control is into standby mode namely realizes in U Shield, which is in, to be waited under key-press status, and host enters standby mode, this improves the reliability interacted between U-shield and host, and then Improve user experience.
Further, as shown in figure 3, proposing standby processing method second embodiment of the present invention based on first embodiment, In the present embodiment, the step S20 includes:
Step S21 when listening to the interrupt signal that the host is sent, records corresponding preset interrupt flag;
Step S22 according to the preset interrupt flag of record, exits the waiting key-press status.
In the present embodiment, when U-shield listens to the interrupt signal of host transmission, corresponding preset interrupt flag, example are recorded Such as, corresponding suspend interrupt flags are recorded.
For U-shield when under waiting key-press status, in real time or whether timing inquiry has recorded preset interrupt flag, if inquiry To preset interrupt flag is had recorded, then according to the preset interrupt flag of record, current waiting key-press status is exited.For example, work as U When shield inquires the suspend interrupt flags of record, according to the suspend interrupt flags, current waiting key-press status is exited.
Further, it after the step S22, further includes:
Step a deletes the preset interrupt flag.
Further, in order to avoid U-shield accidentally exits waiting key-press status, when U-shield inquires the preset interrupt flag of record, It exits after current waiting key-press status, the preset interrupt flag of U-shield deletion record.In this way, U-shield is avoided at next time In waiting for key-press status, when inquiring preset interrupt flag, due to inquiring the preset interrupt flag recorded before, so as to accidentally exit The situation of key-press status is waited for occur.
Further, it after the step S20, further includes:
Step b starts usb bus suspend mode.
Further, there is preset interrupt flag, and according to the preset interrupt flag of record, exit when U-shield inquires record After current waiting key-press status, U-shield starts usb bus suspend mode, into low-power consumption mode, so as to reduce the work(of U-shield Consumption.
Scheme provided in this embodiment when U-shield listens to the interrupt signal of host transmission, records corresponding preset interruption Label, and once inquiring record has preset interrupt flag, U-shield exits current waiting key-press status, so that host is standby, and After current waiting key-press status is exited, the preset interrupt flag of deletion record.It is in this way, avoiding U-shield in next time Key-press status is waited for, due to inquiring the preset interrupt flag recorded before, so as to accidentally exit the situation for waiting for key-press status, because This, improves the accuracy of control.
Further, standby processing method 3rd embodiment of the present invention is proposed, with reference to Fig. 4, Fig. 4 is the standby processing of the present invention The flow diagram of method 3rd embodiment.
In the third embodiment, the standby processing method is applied to host, includes the following steps:
Step S40, host sends preset interrupt signal to U-shield, so that the U-shield is receiving the interrupt signal When, current waiting key-press status is exited, and send corresponding abnormal prompt information to the host;
Step S50, when receiving the abnormal prompt information that the U-shield is sent, control enters standby mode.
In the present embodiment, after U-shield insertion host, power-up initializing, during being interacted with host, host is sent Corresponding APDU orders are to U-shield.When U-shield receives the APDU orders of host transmission, U-shield shows corresponding user key-press prompting Information, and enter and wait for key-press status.For example, in the corresponding user key-press prompt message of U-shield liquid crystal screen display, for user When viewing the user key-press prompt message, corresponding button operation is performed in U-shield.
Under being in U-shield and waiting for key-press status, if receiving the button operation of user, button request is handled, is performed Corresponding response operation, and corresponding response data is fed back to host.If alternatively, do not receive user always in one section of duration Button operation, also feed back corresponding response data to host.For example, default waiting time accordingly is pre-set, if at this It does not receive the button operation of user in default waiting time always, then feeds back corresponding response data to host.
Also, in the present embodiment, when U-shield initializes USB module, configuration, which is worked as, receives the interrupt signal that host system issues When enter interruption, so that U-shield records preset interrupt flag in interrupt routine according to interrupt signal.Optionally, the interrupt signal For suspend pending signals.Under being in U-shield and waiting for key-press status, if host needs to enter standby mode, host is sent Corresponding preset interrupt signal is to U-shield.In the case where U-shield is in and waits for key-press status, U-shield monitors the interrupt signal that host is sent, if Interrupt signal is not heard, then U-shield keeps waiting key-press status, waits for user key-press.Optionally, in default waiting time Interior, as long as not receiving the button operation of user, U-shield monitors the interrupt signal of host transmission always.
When U-shield listens to the interrupt signal of host transmission, U-shield exits current waiting key-press status, and sends corresponding Abnormal prompt information to host.For example, preset error code is sent to host.
When host receives the abnormal prompt information of U-shield transmission, host computer control enters standby mode.Still enumerated with above-mentioned For example, when host receives the error code of U-shield transmission, host computer control enters standby mode.
Therefore, scheme through this embodiment even if in the case where U-shield is in and waits for key-press status, can also control host to enter Standby mode.After host enters standby mode, user can manipulate host according to oneself demand, so as to solve at U-shield In waiting under key-press status, host can not it is standby caused by abnormal problem, substantially increase user experience.
Scheme provided in this embodiment, when U-shield is in and waits for key-press status, the interruption sent by monitoring host is believed Number, once listening to the interrupt signal of host transmission, then current waiting key-press status is exited, and send corresponding abnormal prompt Information is to host, and for host in the abnormal prompt information for receiving U-shield transmission, control is into standby mode namely realizes in U Shield, which is in, to be waited under key-press status, and host enters standby mode, this improves the reliability interacted between U-shield and host, and then Improve user experience.
In addition, the embodiment of the present invention also proposes a kind of standby processing system.
In the present embodiment, standby processing system includes U-shield and host, wherein:
The U-shield, in wait for key-press status when, the interrupt signal that the host is sent is monitored, when listening to During the interrupt signal that the host is sent, the waiting key-press status is exited, and sends corresponding abnormal prompt information to described Host;
The host for sending the interrupt signal to the U-shield, and is receiving the described different of the U-shield transmission During normal prompt message, control enters standby mode.
In the present embodiment, corresponding standby processing system is formed by U-shield and host, when U-shield is inserted into host, power-up initializing Afterwards, during being interacted with host, host sends corresponding APDU orders to U-shield.When U-shield receives host transmission During APDU orders, U-shield shows corresponding user key-press prompt message, and enters and wait for key-press status.For example, in U-shield liquid crystal display The upper corresponding user key-press prompt message of display, so that user is when viewing the user key-press prompt message, performs in U-shield Corresponding button operation.
Under being in U-shield and waiting for key-press status, if receiving the button operation of user, button request is handled, is performed Corresponding response operation, and corresponding response data is fed back to host.If alternatively, do not receive user always in one section of duration Button operation, also feed back corresponding response data to host.For example, default waiting time accordingly is pre-set, if at this It does not receive the button operation of user in default waiting time always, then feeds back corresponding response data to host.
Also, in the present embodiment, when U-shield initializes USB module, configuration, which is worked as, receives the interrupt signal that host system issues When enter interruption.Optionally, which is suspend pending signals.Under being in U-shield and waiting for key-press status, if main Machine needs to enter standby mode, then host sends corresponding preset interrupt signal to U-shield.In the case where U-shield is in and waits for key-press status, U-shield monitors the interrupt signal that host is sent, if not hearing interrupt signal, U-shield keeps waiting key-press status, waits for use Family button.Optionally, within default waiting time, as long as not receiving the button operation of user, U-shield monitors host transmission always Interrupt signal.
When U-shield listens to the interrupt signal of host transmission, U-shield exits current waiting key-press status, and sends corresponding Abnormal prompt information to host.For example, preset error code is sent to host.
When host receives the abnormal prompt information of U-shield transmission, host computer control enters standby mode.Still enumerated with above-mentioned For example, when host receives the error code of U-shield transmission, host computer control enters standby mode.
Therefore, scheme through this embodiment even if in the case where U-shield is in and waits for key-press status, can also control host to enter Standby mode.After host enters standby mode, user can manipulate host according to oneself demand, so as to solve at U-shield In waiting under key-press status, host can not it is standby caused by abnormal problem, substantially increase user experience.
Scheme provided in this embodiment, when U-shield is in and waits for key-press status, the interruption sent by monitoring host is believed Number, once listening to the interrupt signal of host transmission, then current waiting key-press status is exited, and send corresponding abnormal prompt Information is to host, and for host in the abnormal prompt information for receiving U-shield transmission, control is into standby mode namely realizes in U Shield, which is in, to be waited under key-press status, and host enters standby mode, this improves the reliability interacted between U-shield and host, and then Improve user experience.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium On be stored with standby processing routine, following operation is realized when the standby processing routine is executed by processor:
U-shield monitors the interrupt signal that host is sent when in waiting key-press status;
When listening to the interrupt signal that the host is sent, the waiting key-press status is exited;
Corresponding abnormal prompt information is sent to the host, so that the host is receiving the abnormal prompt information When, control enters standby mode.
Further, following operation is also realized when the standby processing routine is executed by processor:
When listening to the interrupt signal that the host is sent, corresponding preset interrupt flag is recorded;
According to the preset interrupt flag of record, the waiting key-press status is exited.
Further, following operation is also realized when the standby processing routine is executed by processor:
Delete the preset interrupt flag.
Further, following operation is also realized when the standby processing routine is executed by processor:
Default error code is sent to the host.
Further, following operation is also realized when the standby processing routine is executed by processor:
Start USB universal serial bus suspend modes.
Scheme provided in this embodiment, when U-shield is in and waits for key-press status, the interruption sent by monitoring host is believed Number, once listening to the interrupt signal of host transmission, then current waiting key-press status is exited, and send corresponding abnormal prompt Information is to host, and for host in the abnormal prompt information for receiving U-shield transmission, control is into standby mode namely realizes in U Shield, which is in, to be waited under key-press status, and host enters standby mode, and this improves the reliabilities interacted between U-shield and host.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements not only include those elements, and And it further includes other elements that are not explicitly listed or further includes intrinsic for this process, method, article or system institute Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this Also there are other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone, Computer, terminal or network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made directly or indirectly is used in other relevant skills Art field, is included within the scope of the present invention.

Claims (9)

1. a kind of standby processing method, applied to U-shield, which is characterized in that the standby processing method includes the following steps:
U-shield monitors the interrupt signal that host is sent when in waiting key-press status;
When listening to the interrupt signal that the host is sent, the waiting key-press status is exited;
Corresponding abnormal prompt information is sent to the host, so that the host is when receiving the abnormal prompt information, Control enters standby mode.
2. standby processing method as described in claim 1, which is characterized in that described when the interruption for listening to the host transmission During signal, exit it is described waiting key-press status the step of include:
When listening to the interrupt signal that the host is sent, corresponding preset interrupt flag is recorded;
According to the preset interrupt flag of record, the waiting key-press status is exited.
3. standby processing method as claimed in claim 2, which is characterized in that preset interrupt according to record is marked Note is exited after described the step of waiting for key-press status, is further included:
Delete the preset interrupt flag.
4. standby processing method as described in claim 1, which is characterized in that described to send corresponding abnormal prompt information to institute The step of stating host includes:
Default error code is sent to the host.
5. standby processing method as described in claim 1, which is characterized in that described when the interruption for listening to the host transmission During signal, exit after described the step of waiting for key-press status, further include:
Start USB universal serial bus suspend modes.
6. such as claim 1-5 any one of them standby processing methods, which is characterized in that the interrupt signal is suspend Pending signal.
7. a kind of standby processing system, which is characterized in that the standby processing system includes U-shield and host, wherein:
The U-shield, it is described when listening to for when in waiting key-press status, monitoring the interrupt signal that the host is sent During the interrupt signal that host is sent, the waiting key-press status is exited, and send corresponding abnormal prompt information to the host;
The host for sending the interrupt signal to the U-shield, and is carried in the exception for receiving the U-shield transmission When showing information, control enters standby mode.
8. a kind of standby processing unit, which is characterized in that the standby processing unit includes:It memory, processor and is stored in On the memory and the standby processing routine that can run on the processor, the standby processing routine is by the processor The step of standby processing method as described in any one of claim 1-6 is realized during execution.
9. a kind of computer readable storage medium, which is characterized in that standby place is stored on the computer readable storage medium Program is managed, the standby processing as described in any one of claim 1-6 is realized when the standby processing routine is executed by processor The step of method.
CN201810075277.9A 2018-01-25 2018-01-25 Standby processing method, device and system and computer readable storage medium Active CN108269091B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810075277.9A CN108269091B (en) 2018-01-25 2018-01-25 Standby processing method, device and system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810075277.9A CN108269091B (en) 2018-01-25 2018-01-25 Standby processing method, device and system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108269091A true CN108269091A (en) 2018-07-10
CN108269091B CN108269091B (en) 2022-03-29

Family

ID=62776912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810075277.9A Active CN108269091B (en) 2018-01-25 2018-01-25 Standby processing method, device and system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108269091B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150409A (en) * 2007-11-09 2008-03-26 田永革 Improved USB identity validation technology
CN101183456A (en) * 2007-12-18 2008-05-21 中国工商银行股份有限公司 Encryption device, system and method for encryption, identification using the encryption device
CN101447867A (en) * 2008-12-31 2009-06-03 中国建设银行股份有限公司 Method for managing digital certificate and system
CN201322932Y (en) * 2008-12-30 2009-10-07 中国工商银行股份有限公司 USBKey safety protection device
CN101847132A (en) * 2010-05-11 2010-09-29 北京飞天诚信科技有限公司 Method for implementing serial FLASH memory and switch multiplexing I/O line and key device
CN202512607U (en) * 2012-04-13 2012-10-31 吴宾 Novel online bank electronic password card
CN103246839A (en) * 2013-04-27 2013-08-14 飞天诚信科技股份有限公司 Method for operating intelligent secret key equipment
CN103632080A (en) * 2013-11-06 2014-03-12 国家电网公司 Mobile data application safety protection system and mobile data application safety protection method based on USBKey
CN103944730A (en) * 2014-04-25 2014-07-23 天地融科技股份有限公司 Data security interactive system
CN104361298A (en) * 2014-10-30 2015-02-18 中国人民解放军信息工程大学 Method and device for information safety and confidentiality
CN104484591A (en) * 2014-12-15 2015-04-01 天津光电聚能专用通信设备有限公司 Safety mouse control system based on RFID (Radio Frequency Identification)
CN104735085A (en) * 2015-04-15 2015-06-24 上海汉邦京泰数码技术有限公司 Terminal two-factor secure login protection method
CN104811455A (en) * 2015-05-18 2015-07-29 成都卫士通信息产业股份有限公司 Cloud computing identity authentication method
CN105376067A (en) * 2015-12-18 2016-03-02 恒宝股份有限公司 Method and system for digital signatures

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150409A (en) * 2007-11-09 2008-03-26 田永革 Improved USB identity validation technology
CN101183456A (en) * 2007-12-18 2008-05-21 中国工商银行股份有限公司 Encryption device, system and method for encryption, identification using the encryption device
CN201322932Y (en) * 2008-12-30 2009-10-07 中国工商银行股份有限公司 USBKey safety protection device
CN101447867A (en) * 2008-12-31 2009-06-03 中国建设银行股份有限公司 Method for managing digital certificate and system
CN101847132A (en) * 2010-05-11 2010-09-29 北京飞天诚信科技有限公司 Method for implementing serial FLASH memory and switch multiplexing I/O line and key device
CN202512607U (en) * 2012-04-13 2012-10-31 吴宾 Novel online bank electronic password card
CN103246839A (en) * 2013-04-27 2013-08-14 飞天诚信科技股份有限公司 Method for operating intelligent secret key equipment
CN103632080A (en) * 2013-11-06 2014-03-12 国家电网公司 Mobile data application safety protection system and mobile data application safety protection method based on USBKey
CN103944730A (en) * 2014-04-25 2014-07-23 天地融科技股份有限公司 Data security interactive system
CN104361298A (en) * 2014-10-30 2015-02-18 中国人民解放军信息工程大学 Method and device for information safety and confidentiality
CN104484591A (en) * 2014-12-15 2015-04-01 天津光电聚能专用通信设备有限公司 Safety mouse control system based on RFID (Radio Frequency Identification)
CN104735085A (en) * 2015-04-15 2015-06-24 上海汉邦京泰数码技术有限公司 Terminal two-factor secure login protection method
CN104811455A (en) * 2015-05-18 2015-07-29 成都卫士通信息产业股份有限公司 Cloud computing identity authentication method
CN105376067A (en) * 2015-12-18 2016-03-02 恒宝股份有限公司 Method and system for digital signatures

Also Published As

Publication number Publication date
CN108269091B (en) 2022-03-29

Similar Documents

Publication Publication Date Title
US10438004B2 (en) Dual-system electronic apparatus and terminal
WO2022001900A1 (en) Information sending method and apparatus, and electronic device
WO2016101384A1 (en) Dual-system switch based data security processing method and apparatus
EP2989585B1 (en) Apparatus and method for notifying of security information in electronic device and computer-readable recording medium for the same
US9658748B2 (en) System and method of managing states of computer screen and controlling mobile communication terminal
CN103597805B (en) For promoting the technology of the interactive operation between annex and multiple equipment
WO2018049912A1 (en) Data transmission method and related devices
CN106527899A (en) Full-screen playing mode control method and mobile terminal
CN112217890B (en) Remote assistance method, device, computer equipment and storage medium
CN111818469B (en) Calling method, calling device, electronic equipment and network equipment
CN102811283A (en) Terminal communication display method and terminal thereof
CN107835984B (en) Thermal mitigation user experience
US20200245133A1 (en) Method for automatically encrypting short message, storage device and mobile terminal
CN110989816B (en) Application processing method and device and storage medium
CN112929254A (en) Message processing method and device and electronic equipment
CN108269091A (en) standby processing method, device, system and computer readable storage medium
WO2013189273A1 (en) Method and device for monitoring preconfigured operation in mobile terminal
US9253641B2 (en) Apparatus and method for sharing output data in portable terminal
JP6286505B2 (en) Security chat service providing method, security chat service providing system, communication terminal, and chat application
CN108495302A (en) SIM card initializes accelerated method, mobile terminal and readable storage medium storing program for executing
CN111444539B (en) Authority processing method and device, storage medium and terminal
CN104657152B (en) Data transfer management method and electronic equipment
CN109246281B (en) Incoming call answering method, system, server and storage medium
CN113950043A (en) Communication method, communication apparatus, storage medium, and terminal
CN109918257B (en) Hard disk exception handling method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant