CN108269091B - Standby processing method, device and system and computer readable storage medium - Google Patents

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

Info

Publication number
CN108269091B
CN108269091B CN201810075277.9A CN201810075277A CN108269091B CN 108269091 B CN108269091 B CN 108269091B CN 201810075277 A CN201810075277 A CN 201810075277A CN 108269091 B CN108269091 B CN 108269091B
Authority
CN
China
Prior art keywords
host
shield
waiting
interrupt signal
key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810075277.9A
Other languages
Chinese (zh)
Other versions
CN108269091A (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 Union Technology Co ltd
Original Assignee
Beijing Minghua Union 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 Union Technology Co ltd filed Critical Beijing Minghua Union 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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • Shielding Devices Or Components To Electric Or Magnetic Fields (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a standby processing method which is applied to a U shield and comprises the following steps: when the U shield is in a key waiting state, monitoring an interrupt signal sent by a host; when an interrupt signal sent by the host computer is monitored, the state of waiting the key is exited; and sending corresponding abnormal prompt information to the host, so that the host can be controlled to enter a standby mode when receiving the abnormal prompt information. The invention also discloses a standby processing device, a system and a computer readable storage medium. The invention improves the interaction reliability between the U shield and the host.

Description

Standby processing method, device and system and computer readable storage medium
Technical Field
The present invention relates to the field of U-shield technologies, and in particular, to a method, an apparatus, a system, and a computer-readable storage medium for standby processing.
Background
The U shield is used as a high-level security tool, a micro intelligent card processor is arranged in the U shield, and the data on the network is encrypted, decrypted and digitally signed by adopting a 1024-bit asymmetric key algorithm, so that the confidentiality, authenticity, integrity and security of the transaction on the network are ensured. After the host sends a command to the U shield, the host cannot stand by when the U shield is in a waiting key state. Therefore, the reliability of the interaction between the U shield and the host needs to be improved.
Disclosure of Invention
The invention mainly aims to provide a standby processing method, a standby processing device, a standby processing system and a computer readable storage medium, and aims to solve the technical problem that the interaction between a U shield and a host is not high in reliability in the prior art.
In order to achieve the above object, the present invention provides a standby processing method, which is applied to a U shield, and the standby processing method includes the following steps:
when the U shield is in a key waiting state, monitoring an interrupt signal sent by a host;
when an interrupt signal sent by the host computer is monitored, the state of waiting the key is exited;
and sending corresponding abnormal prompt information to the host, so that the host can be controlled to enter a standby mode when receiving the abnormal prompt information.
Preferably, the step of exiting the waiting key state when the interrupt signal sent by the host is monitored comprises:
when an interrupt signal sent by the host is monitored, recording a corresponding preset interrupt mark;
and exiting the waiting key state according to the recorded preset interrupt mark.
Preferably, after the step of exiting the waiting key status according to the recorded preset interrupt flag, the method further includes:
and deleting the preset interrupt mark.
Preferably, the step of sending the corresponding exception prompting message to the host includes:
and sending a preset error code to the host.
Preferably, after the step of exiting the waiting key state when the interrupt signal sent by the host is monitored, the method further includes:
the USB sleep mode is initiated.
Preferably, the interrupt signal is a suspend signal.
In order to achieve the above object, the present invention also provides a standby processing apparatus including: a memory, a processor and a standby handler stored on the memory and executable on the processor, the standby handler when executed by the processor implementing the steps of the standby processing method as described above.
Furthermore, to achieve the above object, the present invention also provides a computer readable storage medium, which stores a standby processing program, and when the standby processing program is executed by a processor, the standby processing program realizes the steps of the standby processing method as described above.
In addition, to achieve the above object, the present invention further provides a standby processing system, which includes a U shield and a host, wherein:
the U shield is used for monitoring an interrupt signal sent by the host when the U shield is in a waiting key state, exiting the waiting key state when the interrupt signal sent by the host is monitored, and sending corresponding abnormal prompt information to the host;
and the host is used for sending the interrupt signal to the U shield and controlling the host to enter a standby mode when the abnormal prompt information sent by the U shield is received.
According to the scheme provided by the invention, when the U shield is in the waiting key state, the interrupt signal sent by the host is monitored, once the interrupt signal sent by the host is monitored, the current waiting key state is exited, and the corresponding abnormal prompt message is sent to the host, and the host is controlled to enter the standby mode when receiving the abnormal prompt message sent by the U shield, namely the host enters the standby mode when the U shield is in the waiting key state, so that the interaction reliability between the U shield and the host is improved.
Drawings
Fig. 1 is a schematic structural diagram of a hardware operating environment of a U shield according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a standby processing method according to a first embodiment of the present invention;
fig. 3 is a detailed flowchart illustrating that the standby processing method exits from the waiting key state when an interrupt signal sent by the host is monitored according to the second embodiment of the present invention;
fig. 4 is a flowchart illustrating a standby processing method according to a third embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The solution of the embodiment of the invention is mainly as follows: when the U shield is in the waiting key state, the interrupt signal sent by the host is monitored, once the interrupt signal sent by the host is monitored, the current waiting key state is exited, and corresponding abnormal prompt information is sent to the host. By the technical scheme of the embodiment of the invention, the problem of low reliability of interaction between the U shield and the host is solved.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a hardware operating environment of a U shield according to an embodiment of the present invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
As shown in fig. 1, the U shield may include: a processor 1001, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the U-shield configuration shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a standby handler.
The processor 1001 and the memory 1005 in the U shield of the present invention may be provided in a standby processing apparatus, which calls a standby processing program stored in the memory 1005 through the processor 1001 and performs the following operations:
when the U shield is in a key waiting state, monitoring an interrupt signal sent by a host;
when an interrupt signal sent by the host computer is monitored, the state of waiting the key is exited;
and sending corresponding abnormal prompt information to the host, so that the host can be controlled to enter a standby mode when receiving the abnormal prompt information.
Further, the processor 1001 may call the standby handler stored in the memory 1005, and also perform the following operations:
when an interrupt signal sent by the host is monitored, recording a corresponding preset interrupt mark;
and exiting the waiting key state according to the recorded preset interrupt mark.
Further, the processor 1001 may call the standby handler stored in the memory 1005, and also perform the following operations:
and deleting the preset interrupt mark.
Further, the processor 1001 may call the standby handler stored in the memory 1005, and also perform the following operations:
and sending a preset error code to the host.
Further, the processor 1001 may call the standby handler stored in the memory 1005, and also perform the following operations:
the USB sleep mode is initiated.
According to the scheme, when the U shield is in the waiting key state, the interrupt signal sent by the host is monitored, once the interrupt signal sent by the host is monitored, the current waiting key state is exited, the corresponding abnormal prompt message is sent to the host, and the host is controlled to enter the standby mode when receiving the abnormal prompt message sent by the U shield, namely the host enters the standby mode when the U shield is in the waiting key state, so that the interaction reliability between the U shield and the host is improved.
Based on the above hardware structure, embodiments of the standby processing method of the present invention are provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a standby processing method according to a first embodiment of the present invention.
In a first embodiment, the standby processing method is applied to a U shield, and includes the following steps:
step S10, when the U shield is in a waiting key state, monitoring an interrupt signal sent by the host;
step S20, when the interrupt signal sent by the host computer is monitored, the waiting key state is exited;
step S30, sending a corresponding exception prompting message to the host, so that the host is controlled to enter a standby mode when receiving the exception prompting message.
The U shield is used as a high-level security tool, a micro intelligent card processor is arranged in the U shield, and the data on the network is encrypted, decrypted and digitally signed by adopting a 1024-bit asymmetric key algorithm, so that the confidentiality, authenticity, integrity and security of the transaction on the network are ensured. After the host sends a command to the U shield, the host cannot stand by when the U shield is in a waiting key state. Moreover, after receiving the standby command, the host removes the peripheral and other operations, and when the user operates the host, for example, operates a mouse or a keyboard, the host does not perform any response processing, and the user cannot solve the problem by operating the host, thereby causing troubles to the user.
After analysis, when the U shield waits for a user to press a key, if the host operating system is in a dormant state, the host operating system waits for the U shield application to call the relevant drive of the host operating system to complete, the relevant drive waits for the U shield to return response data, and the U shield waits for the user to press a key, so that the host operating system cannot normally enter the dormant state, and after the host operating system receives a dormant instruction, the peripheral devices such as a keyboard and a mouse are removed, so that the keyboard and the mouse are out of order, and the user cannot operate the host through the keyboard and the mouse.
In this embodiment, when the U-shield is inserted into the host, and is powered on and initialized, and then interacts with the host, it should be noted that the host includes but is not limited to a PC (personal computer), a notebook computer, and other terminal devices, and the host sends a corresponding APDU (Application Protocol Data Unit) command to the U-shield. And when the U shield receives an APDU command sent by the host, the U shield displays corresponding user key prompt information and enters a key waiting state. For example, corresponding user key prompt information is displayed on the U shield liquid crystal screen, so that when the user views the user key prompt information, the user performs corresponding key operation on the U shield.
And when the U shield is in a key waiting state, if the key operation of a user is received, processing the key request, executing corresponding response operation, and feeding back corresponding response data to the host. Or if the key operation of the user is not received within a period of time, corresponding response data is also fed back to the host. For example, a corresponding preset waiting time is preset, and if the key operation of the user is not received within the preset waiting time, corresponding response data is fed back to the host.
In this embodiment, when the U shield initializes a USB (Universal Serial Bus) module, the configuration enters into an interrupt when receiving an interrupt signal issued by the host system. Optionally, the interrupt signal is a suspend signal. When the U shield is in a key waiting state, if the host needs to enter a standby mode, the host sends a corresponding preset interrupt signal to the U shield. And when the U shield is in a key waiting state, the U shield monitors an interrupt signal sent by the host, and if the interrupt signal is not monitored, the U shield continues to be in a key waiting state to wait for a user to press a key. Optionally, within the preset waiting time, as long as the key operation of the user is not received, the U shield always monitors the interrupt signal sent by the host.
And when the U shield monitors the interrupt signal sent by the host, the U shield exits the current waiting key state and sends corresponding abnormal prompt information to the host. For example, a predetermined error code is sent to the host.
When the host receives the abnormal prompt information sent by the U shield, the host controls to enter a standby mode. Still taking the above listed example as an example, when the host receives the error code sent by the U-shield, the host controls to enter the standby mode.
Therefore, through the scheme of the embodiment, the host can be controlled to enter the standby mode even when the U shield is in the waiting key state. After the host computer enters the standby mode, the user can control the host computer according to the own requirement, thereby solving the abnormal problem caused by the host computer being unable to stand by when the U shield is in the waiting key state, and greatly improving the user experience.
According to the scheme provided by the embodiment, when the U shield is in the waiting key state, the interrupt signal sent by the host is monitored, once the interrupt signal sent by the host is monitored, the current waiting key state is exited, and the corresponding abnormal prompt message is sent to the host.
Further, as shown in fig. 3, a second embodiment of the standby processing method of the present invention is proposed based on the first embodiment, and in this embodiment, the step S20 includes:
step S21, when the interrupt signal sent by the host computer is monitored, recording the corresponding preset interrupt mark;
and step S22, exiting the waiting key state according to the recorded preset interrupt mark.
In this embodiment, when the U shield listens to an interrupt signal sent by the host, record a corresponding preset interrupt flag, for example, record a corresponding suspend interrupt flag.
And when the U shield is in the waiting key state, inquiring whether a preset interrupt mark is recorded in real time or at regular time, and if the preset interrupt mark is inquired to be recorded, exiting the current waiting key state according to the recorded preset interrupt mark. For example, when the U shield inquires the recorded suspend interrupt flag, the current standby key state is exited according to the suspend interrupt flag.
Further, after the step S22, the method further includes:
and a, deleting the preset interrupt mark.
Further, in order to avoid that the U shield mistakenly exits the waiting key state, when the U shield queries the recorded preset interrupt flag, the U shield deletes the recorded preset interrupt flag after exiting the current waiting key state. Therefore, the situation that the U shield is in the waiting key state next time and mistakenly exits the waiting key state due to the fact that the preset interrupt mark recorded before is inquired when the preset interrupt mark is inquired is avoided.
Further, after the step S20, the method further includes:
and b, starting the USB bus sleep mode.
Further, when the U shield inquires that the preset interrupt mark is recorded, and exits from the current waiting key state according to the recorded preset interrupt mark, the U shield starts the USB bus sleep mode and enters the low power consumption mode, so that the power consumption of the U shield is reduced.
According to the scheme provided by the embodiment, when the U shield monitors the interrupt signal sent by the host, the corresponding preset interrupt flag is recorded, and once the preset interrupt flag is inquired to be recorded, the U shield exits from the current waiting key state to enable the host to stand by, and after exiting from the current waiting key state, the recorded preset interrupt flag is deleted. Therefore, the situation that the U shield is in the waiting key state next time and the U shield is mistakenly quitted from the waiting key state due to the fact that the preset interrupt mark recorded before is inquired is avoided, and therefore control accuracy is improved.
Further, a third embodiment of the standby processing method of the present invention is provided, and referring to fig. 4, fig. 4 is a flowchart illustrating the third embodiment of the standby processing method of the present invention.
In a third embodiment, the standby processing method is applied to a host, and includes the following steps:
step S40, the host sends a preset interrupt signal to the U shield, so that the U shield exits the current waiting key state when receiving the interrupt signal, and sends corresponding abnormal prompt information to the host;
and step S50, when the abnormal prompt information sent by the U shield is received, controlling to enter a standby mode.
In this embodiment, when the U shield is inserted into the host, and after power-on initialization, during the process of interacting with the host, the host sends a corresponding APDU command to the U shield. And when the U shield receives an APDU command sent by the host, the U shield displays corresponding user key prompt information and enters a key waiting state. For example, corresponding user key prompt information is displayed on the U shield liquid crystal screen, so that when the user views the user key prompt information, the user performs corresponding key operation on the U shield.
And when the U shield is in a key waiting state, if the key operation of a user is received, processing the key request, executing corresponding response operation, and feeding back corresponding response data to the host. Or if the key operation of the user is not received within a period of time, corresponding response data is also fed back to the host. For example, a corresponding preset waiting time is preset, and if the key operation of the user is not received within the preset waiting time, corresponding response data is fed back to the host.
In addition, in this embodiment, when the U shield initializes the USB module, the configuration enters into the interrupt when receiving the interrupt signal issued by the host system, so that the U shield records the preset interrupt flag according to the interrupt signal in the interrupt program. Optionally, the interrupt signal is a suspend signal. When the U shield is in a key waiting state, if the host needs to enter a standby mode, the host sends a corresponding preset interrupt signal to the U shield. And when the U shield is in a key waiting state, the U shield monitors an interrupt signal sent by the host, and if the interrupt signal is not monitored, the U shield continues to be in a key waiting state to wait for a user to press a key. Optionally, within the preset waiting time, as long as the key operation of the user is not received, the U shield always monitors the interrupt signal sent by the host.
And when the U shield monitors the interrupt signal sent by the host, the U shield exits the current waiting key state and sends corresponding abnormal prompt information to the host. For example, a predetermined error code is sent to the host.
When the host receives the abnormal prompt information sent by the U shield, the host controls to enter a standby mode. Still taking the above listed example as an example, when the host receives the error code sent by the U-shield, the host controls to enter the standby mode.
Therefore, through the scheme of the embodiment, the host can be controlled to enter the standby mode even when the U shield is in the waiting key state. After the host computer enters the standby mode, the user can control the host computer according to the own requirement, thereby solving the abnormal problem caused by the host computer being unable to stand by when the U shield is in the waiting key state, and greatly improving the user experience.
According to the scheme provided by the embodiment, when the U shield is in the waiting key state, the interrupt signal sent by the host is monitored, once the interrupt signal sent by the host is monitored, the current waiting key state is exited, and the corresponding abnormal prompt message is sent to the host.
In addition, the embodiment of the invention also provides a standby processing system.
In this embodiment, the standby processing system includes a U shield and a host, where:
the U shield is used for monitoring an interrupt signal sent by the host when the U shield is in a waiting key state, exiting the waiting key state when the interrupt signal sent by the host is monitored, and sending corresponding abnormal prompt information to the host;
and the host is used for sending the interrupt signal to the U shield and controlling the host to enter a standby mode when the abnormal prompt information sent by the U shield is received.
In this embodiment, the U shield and the host constitute a corresponding standby processing system, and when the U shield is inserted into the host, and is initialized by power-on, and interacts with the host, the host sends a corresponding APDU command to the U shield. And when the U shield receives an APDU command sent by the host, the U shield displays corresponding user key prompt information and enters a key waiting state. For example, corresponding user key prompt information is displayed on the U shield liquid crystal screen, so that when the user views the user key prompt information, the user performs corresponding key operation on the U shield.
And when the U shield is in a key waiting state, if the key operation of a user is received, processing the key request, executing corresponding response operation, and feeding back corresponding response data to the host. Or if the key operation of the user is not received within a period of time, corresponding response data is also fed back to the host. For example, a corresponding preset waiting time is preset, and if the key operation of the user is not received within the preset waiting time, corresponding response data is fed back to the host.
In addition, in this embodiment, when the U shield initializes the USB module, the configuration enters into the interrupt when receiving the interrupt signal issued by the host system. Optionally, the interrupt signal is a suspend signal. When the U shield is in a key waiting state, if the host needs to enter a standby mode, the host sends a corresponding preset interrupt signal to the U shield. And when the U shield is in a key waiting state, the U shield monitors an interrupt signal sent by the host, and if the interrupt signal is not monitored, the U shield continues to be in a key waiting state to wait for a user to press a key. Optionally, within the preset waiting time, as long as the key operation of the user is not received, the U shield always monitors the interrupt signal sent by the host.
And when the U shield monitors the interrupt signal sent by the host, the U shield exits the current waiting key state and sends corresponding abnormal prompt information to the host. For example, a predetermined error code is sent to the host.
When the host receives the abnormal prompt information sent by the U shield, the host controls to enter a standby mode. Still taking the above listed example as an example, when the host receives the error code sent by the U-shield, the host controls to enter the standby mode.
Therefore, through the scheme of the embodiment, the host can be controlled to enter the standby mode even when the U shield is in the waiting key state. After the host computer enters the standby mode, the user can control the host computer according to the own requirement, thereby solving the abnormal problem caused by the host computer being unable to stand by when the U shield is in the waiting key state, and greatly improving the user experience.
According to the scheme provided by the embodiment, when the U shield is in the waiting key state, the interrupt signal sent by the host is monitored, once the interrupt signal sent by the host is monitored, the current waiting key state is exited, and the corresponding abnormal prompt message is sent to the host.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a standby processing program is stored on the computer-readable storage medium, and when executed by a processor, the standby processing program implements the following operations:
when the U shield is in a key waiting state, monitoring an interrupt signal sent by a host;
when an interrupt signal sent by the host computer is monitored, the state of waiting the key is exited;
and sending corresponding abnormal prompt information to the host, so that the host can be controlled to enter a standby mode when receiving the abnormal prompt information.
Further, the standby handler, when executed by the processor, further performs the following:
when an interrupt signal sent by the host is monitored, recording a corresponding preset interrupt mark;
and exiting the waiting key state according to the recorded preset interrupt mark.
Further, the standby handler, when executed by the processor, further performs the following:
and deleting the preset interrupt mark.
Further, the standby handler, when executed by the processor, further performs the following:
and sending a preset error code to the host.
Further, the standby handler, when executed by the processor, further performs the following:
the USB sleep mode is initiated.
According to the scheme provided by the embodiment, when the U shield is in the waiting key state, the interrupt signal sent by the host is monitored, once the interrupt signal sent by the host is monitored, the current waiting key state is exited, and the corresponding abnormal prompt message is sent to the host.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a terminal, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A standby processing method is applied to a U shield, and is characterized by comprising the following steps:
when the U shield is in a key waiting state, monitoring an interrupt signal sent by a host, wherein the interrupt signal is a suspend signal;
when an interrupt signal sent by the host computer is monitored, the state of waiting the key is exited;
and sending corresponding abnormal prompt information to the host, so that the host can be controlled to enter a standby mode when receiving the abnormal prompt information.
2. The standby processing method according to claim 1, wherein the step of exiting the waiting key state when the interrupt signal transmitted from the host is monitored comprises:
when an interrupt signal sent by the host is monitored, recording a corresponding preset interrupt mark;
and exiting the waiting key state according to the recorded preset interrupt mark.
3. The standby processing method according to claim 2, wherein after the step of exiting the waiting key state according to the recorded preset interrupt flag, further comprising:
and deleting the preset interrupt mark.
4. The standby processing method according to claim 1, wherein the step of sending the corresponding exception prompting message to the host includes:
and sending a preset error code to the host.
5. The standby processing method according to claim 1, wherein after the step of exiting the waiting key state when the interrupt signal sent by the host is monitored, the method further comprises:
the USB sleep mode is initiated.
6. A standby processing system, comprising a USB key and a host, wherein:
the U shield is used for monitoring an interrupt signal sent by the host when the U shield is in a waiting key state, exiting the waiting key state when the interrupt signal sent by the host is monitored, and sending corresponding abnormal prompt information to the host;
and the host is used for sending the interrupt signal to the U shield and controlling the host to enter a standby mode when the abnormal prompt information sent by the U shield is received.
7. A standby processing apparatus, comprising: memory, a processor and a standby handler stored on the memory and executable on the processor, the standby handler when executed by the processor implementing the steps of the standby processing method according to any of claims 1-5.
8. A computer-readable storage medium, having stored thereon a standby handler, which when executed by a processor, implements the steps of the standby processing method according to any one of claims 1-5.
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 CN108269091A (en) 2018-07-10
CN108269091B true 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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447867A (en) * 2008-12-31 2009-06-03 中国建设银行股份有限公司 Method for managing digital certificate and system
CN202512607U (en) * 2012-04-13 2012-10-31 吴宾 Novel online bank electronic password card
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
CN105376067A (en) * 2015-12-18 2016-03-02 恒宝股份有限公司 Method and system for digital signatures

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100576798C (en) * 2007-11-09 2009-12-30 田永革 A kind of improved USB auth method
CN101183456B (en) * 2007-12-18 2012-05-23 中国工商银行股份有限公司 Encryption device, system and method for encryption, identification using the encryption device
CN201322932Y (en) * 2008-12-30 2009-10-07 中国工商银行股份有限公司 USBKey safety protection device
CN101847132B (en) * 2010-05-11 2011-08-17 北京飞天诚信科技有限公司 Method for implementing serial FLASH memory and switch multiplexing I/O line and key device
CN103246839B (en) * 2013-04-27 2015-10-28 飞天诚信科技股份有限公司 A kind of method of work of intelligent cipher key equipment
CN104361298B (en) * 2014-10-30 2017-10-10 中国人民解放军信息工程大学 The method and apparatus of Information Security
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
CN104811455B (en) * 2015-05-18 2018-05-04 成都卫士通信息产业股份有限公司 A kind of cloud computing identity identifying method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447867A (en) * 2008-12-31 2009-06-03 中国建设银行股份有限公司 Method for managing digital certificate and system
CN202512607U (en) * 2012-04-13 2012-10-31 吴宾 Novel online bank electronic password card
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
CN105376067A (en) * 2015-12-18 2016-03-02 恒宝股份有限公司 Method and system for digital signatures

Also Published As

Publication number Publication date
CN108269091A (en) 2018-07-10

Similar Documents

Publication Publication Date Title
US10642549B2 (en) Communication apparatus having direct wireless communication function and method for controlling communication apparatus
US8174716B2 (en) Image forming apparatus and image forming system
US9648190B2 (en) Image forming apparatus that performs user authentication by wireless communication, method of controlling the same, and storage medium
US20140071476A1 (en) Server system, method for printing system, and storage medium
US20130179825A1 (en) System and method of managing states of computer screen and controlling mobile communication terminal
KR101636552B1 (en) Host apparatus and server connected to image forming apparatus and print method thereof
US20150160897A1 (en) Print control appratus and print control program
US10203914B2 (en) Printing apparatus operable in service mode for work performed by service engineer
EP3299981B1 (en) Image forming apparatus, method for controlling image forming apparatus, and storage medium
US9628640B2 (en) Method for initial setup of image forming apparatus using near field communication and image forming apparatus for performing the same
CN108269091B (en) Standby processing method, device and system and computer readable storage medium
CN109445698B (en) Method and device for querying multi-chip flash state and computer readable storage medium
US9077837B2 (en) Image processing apparatus
US10306098B2 (en) Image processing system, image processing device and non-transitory readable recording medium
JP6397200B2 (en) Management server, data processing method, and program
US9128738B2 (en) Information processing program and information processing method
US20150222782A1 (en) Device control apparatus and control method thereof
CN110673897A (en) Physical key function control method and device and computer readable storage medium
CN106776057B (en) Event processing method and device
CN109144589A (en) A kind of hard disk loading method and relevant apparatus
CN115576612B (en) External device adaptation method and device, intelligent terminal and readable storage medium
JP2013069265A (en) Control method for usb terminal and device for executing the same
CN110837629B (en) Software starting method, terminal and readable storage medium
CN110442415B (en) Terminal application style switching and controlling method, display terminal, server and system
US20200341695A1 (en) Information processing system, mobile terminal, and storage medium

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