CN109508551A - A kind of safe system switching method, device, electronic equipment and storage medium - Google Patents

A kind of safe system switching method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109508551A
CN109508551A CN201811325184.3A CN201811325184A CN109508551A CN 109508551 A CN109508551 A CN 109508551A CN 201811325184 A CN201811325184 A CN 201811325184A CN 109508551 A CN109508551 A CN 109508551A
Authority
CN
China
Prior art keywords
information
electronic equipment
status information
general
security system
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
CN201811325184.3A
Other languages
Chinese (zh)
Other versions
CN109508551B (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.)
China Electronics Technology Network Security Technology Co ltd
Original Assignee
Chengdu Westone Information Industry Inc
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 Chengdu Westone Information Industry Inc filed Critical Chengdu Westone Information Industry Inc
Priority to CN201811325184.3A priority Critical patent/CN109508551B/en
Publication of CN109508551A publication Critical patent/CN109508551A/en
Application granted granted Critical
Publication of CN109508551B publication Critical patent/CN109508551B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/606Protecting data by securing the transmission between two devices or processes

Abstract

This disclosure relates to a kind of safe system switching method, device, electronic equipment and readable storage medium storing program for executing, the system switching method is applied to the electronic equipment with dual system, it is different from the prior art, can the disclosure be detached from the Rule of judgment of security system to general-purpose system using the different parameter in multiple sources as judgement simultaneously, the specially status information of the status information of virtual controlling switch output and physical control switches output, to be detached from security system, the status information of these two types of switch outputs must be distorted simultaneously, and these two types of switches are to provide respectively from software and hardware angle, it distorts simultaneously and must also distort mode using different to different types of control switch, only one mode of distorting of voucher cannot achieve the purpose for making electronic equipment be detached from security system, therefore data transmission is safer.Apply the device, electronic equipment and readable storage medium storing program for executing of the system switching method also beneficial effect having the same.

Description

A kind of safe system switching method, device, electronic equipment and storage medium
Technical field
This application involves data security transmission technical field, in particular to a kind of safe system switching method, device, electricity Sub- equipment and computer readable storage medium.
Background technique
Under existing mobile communication mechanism, the electronic equipments such as mobile terminal usually enter information into the collected information of equipment By do not apply any processing, Correspondent Node is transmitted in the form of plaintext, therefore, can be with when stealing or intercepting there are third party Directly obtain the data of plaintext.Since third party steals or intercepts caused by can not preventing because of mobile communication technology characteristic, just only It can be that meaningless data this aspect is studied from the data for how making it steal or intercept.
Encryption, is exactly a kind of simple and easy and effective method, exists to the data transmitted under mobile communication mechanism It is encrypted in some way before transmission, transmits it under mobile communications network in the form of ciphertext, accordingly even when by third Side steals or intercepts, and also can obtain the meaningless messy code of a pile due to not no correct manner of decryption.
Usually obtaining in the related technology built-in encryption program or by way of adding encryption chip can be with ciphertext form The electronic equipment of data is transmitted, and can be selected under the mode for encrypting or not encrypting according to the actual situation, but possess two The electronic equipment of kind of data processing method by another problem faced be then how safety in cipher mode and non-encrypted mode Between switch over.Once switching mode setting it is bad or there are loopholes, it is easy to rogue program invasion under with user not Informed mode is detached from cipher mode, and then attacker is facilitated to obtain clear data.
Therefore, how cipher mode is detached in a manner of non-encrypted by more safe and reliable scheme, protected as far as possible The safe transmission for hindering data, is those skilled in the art's urgent problem to be solved.
Summary of the invention
Purpose of this disclosure is to provide a kind of safe system switching method, which is applied to have double systems The electronic equipment of system enters information into security system that the collected information of equipment is transmitted with ciphertext form and respectively in plain text The general-purpose system of form transmission, is different from the prior art, and the disclosure is used as using the different parameter in multiple sources simultaneously judges energy No disengaging security system to the Rule of judgment of general-purpose system, the specially status information of virtual controlling switch output and entity controls The status information for switching output, to be detached from security system, it is necessary to while the status information of these two types of switch outputs is distorted, and this Two classes switch is to provide respectively from software and hardware angle, while distorting must also be to different types of control switch using not Same distorts mode, and only one mode of distorting of voucher cannot achieve the purpose for making electronic equipment be detached from security system, therefore data pass It is defeated safer.
To achieve the goals above, the disclosure provides a kind of safe system switching method, is applied to electronic equipment, this is System switching method include:
The status information for obtaining virtual controlling switch and physical control switches output respectively, obtains first state information and the Two-state information;
Simultaneously according to the first state information and second status information, it is determined whether will be in the electronic equipment System where information input equipment is switched to general-purpose system by security system;
Wherein, the electronic equipment under the security system, by the collected information of the information input equipment with close The form of text is sent to Correspondent Node;Electronic equipment under the general-purpose system collects the message input device Information the Correspondent Node is sent in the form of plaintext.
Optionally, while according to the first state information and second status information, it is determined whether by the electronics The system where information input equipment in equipment is switched to general-purpose system by security system, comprising:
Judge the first state information and second status information whether and meanwhile it is corresponding meet the first preset requirement and Second preset requirement;
If correspondence meets first preset requirement and institute simultaneously for the first state information and second status information The second preset requirement is stated, then the system where the information input equipment is switched to the general system by the security system System;
If the first state information and second status information be corresponding simultaneously meet first preset requirement and Second preset requirement, then keeping the information input equipment to be currently located system is that the security system is constant.
Optionally, the system switching method further include:
When the system that the information input equipment is currently located is the general-purpose system, the first state information is judged Simultaneously whether correspondence meets first preset requirement and second preset requirement with second status information;
If the first state information and second status information be corresponding simultaneously meet first preset requirement and Second preset requirement, then the system where the information input equipment is switched back into the safety by the general-purpose system is System.
Optionally, the system switching method further include:
Obtain the identification marking that the electronic equipment is presently in interface;
The status information of the virtual controlling switch output is adjusted according to the identification marking.
Optionally, the status information include for indicating the character string of different conditions, electric signal, in control instruction extremely One item missing.
Optionally, while according to the first state information and second status information, it is determined whether by the electronics The system where information input equipment in equipment is switched to general-purpose system by security system, comprising:
When the status information is the electric signal for indicating different conditions, by the first electric signal and the second electric signal point Not as an input signal of OR circuit;
Determined whether the system where the information input equipment according to the output signal of the OR circuit by described Security system is switched to the general-purpose system.
Optionally, determined whether according to the output signal of the OR circuit by the system where the information input equipment The general-purpose system is switched to by the security system, comprising:
It whether is that low level is determined the system where the information input equipment by the peace according to the output signal Total system is switched to the general-purpose system;Wherein, the OR circuit is only just exported when two input signals are low level Low level.
To achieve the above object, the disclosure additionally provides a kind of safe system switching device, the system switching device packet It includes:
State information acquisition unit, for obtaining the state letter of virtual controlling switch and physical control switches output respectively Breath, obtains first state information and the second status information;
Security system is detached from judging unit, for simultaneously according to the first state information and second status information, Determine whether the system where the information input equipment in the electronic equipment being switched to general-purpose system by security system;
Wherein, the electronic equipment under the security system, by the collected information of the information input equipment with close The form of text is sent to Correspondent Node;Electronic equipment under the general-purpose system collects the message input device Information the Correspondent Node is sent in the form of plaintext.
Optionally, the security system disengaging judging unit includes:
It is required to meet judgement subelement, for whether simultaneously to judge the first state information and second status information It is corresponding to meet the first preset requirement and the second preset requirement;
Security system is detached from subelement, corresponding simultaneously full for working as the first state information and second status information When foot first preset requirement and second preset requirement, by the system where the information input equipment by the safety System is switched to the general-purpose system;
Security system maintains subelement, for not corresponding to simultaneously when the first state information and second status information When meeting first preset requirement and second preset requirement, the information input equipment is kept to be currently located system as institute It is constant to state security system.
Optionally, the system switching system further include:
General-purpose system maintains judging unit, and the system for being currently located when the information input equipment is the general system When system, judge the first state information and second status information whether and meanwhile it is corresponding meet first preset requirement and Second preset requirement;
General-purpose system is detached from unit, corresponding simultaneously full for working as the first state information and second status information When foot first preset requirement and second preset requirement, by the system where the information input equipment by described general System switches back into the security system.
Optionally, the system switching system further include:
Interface identification marking acquiring unit, the identification marking for being presently in interface for obtaining the electronic equipment;
Virtual controlling switching-state information adjustment unit is switched for adjusting the virtual controlling according to the identification marking The status information of output.
Optionally, the security system disengaging judging unit includes:
OR circuit uses subelement, for inciting somebody to action when the status information is the electric signal for indicating different conditions The input signal of first electric signal and the second electric signal respectively as OR circuit;
OR circuit characteristic judgment sub-unit, for being determined whether according to the output signal of the OR circuit by the letter System where breath input equipment is switched to the general-purpose system by the security system.
Optionally, the OR circuit characteristic judgment sub-unit includes:
Output signal low level judgment module, for whether being that low level is determined the information according to the output signal System where input equipment is switched to the general-purpose system by the security system;Wherein, the OR circuit is only at two Low level is just exported when input signal is low level.
To achieve the above object, the disclosure additionally provides a kind of electronic equipment, which includes:
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize as described in above content System switching method.
To achieve the above object, also a kind of computer readable storage medium of the disclosure, is stored thereon with computer program, should The system switching method as described in above content is realized when program is executed by processor.
According to the above-mentioned technical solution, present disclose provides a kind of safe system switching method, the system switching sides Method is applied to the electronic equipment with dual system, respectively enters information into what the collected information of equipment was transmitted with ciphertext form Security system and the general-purpose system transmitted with plaintext version, are different from the prior art, and the disclosure is different using multiple sources simultaneously Parameter can be detached from the Rule of judgment of security system to general-purpose system, the specially shape of virtual controlling switch output as judgement The status information of state information and physical control switches output, to be detached from security system, it is necessary to while it is defeated to distort these two types of switches Status information out, and these two types of switches are to provide respectively from software and hardware angle, while distorting must also be to not of the same race For the control switch of class using different modes of distorting, only one mode of distorting of voucher, which cannot achieve, makes electronic equipment be detached from security system Purpose, therefore data transmission it is safer.
The disclosure also provides a kind of safe system switching device, electronic equipment and computer-readable storage medium simultaneously Matter, beneficial effect having the same, details are not described herein.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart for system switching method applied to electronic equipment that the embodiment of the present disclosure provides;
Fig. 2 is the flow chart for the system switching method that the another kind that the embodiment of the present disclosure provides is applied to electronic equipment;
Fig. 3 is that one kind that the embodiment of the present disclosure provides can switch between not homologous ray safely for realizing electronic equipment OR circuit structural schematic diagram;
Fig. 4 is a kind of flow chart for switching method based on OR circuit that the embodiment of the present disclosure provides;
Fig. 5 is a kind of structural block diagram for system switching device applied to electronic equipment that the embodiment of the present disclosure provides;
Fig. 6 is the refinement structural block diagram that a kind of security system that the embodiment of the present disclosure provides is detached from judging unit 200;
Fig. 7 is the block diagram for a kind of electronic equipment 300 that the embodiment of the present disclosure provides.
Specific embodiment
The core of the application is to provide a kind of safe system switching method, device, electronic equipment and computer-readable Storage medium, the system switching method are applied to the electronic equipment with dual system, respectively enter information into equipment and collect The information security system transmitted with ciphertext form and the general-purpose system transmitted with plaintext version, be different from the prior art, this public affairs The Rule of judgment of security system to general-purpose system is opened while can be detached from using the different parameter in multiple sources as judgement, specifically The status information of status information and physical control switches output for virtual controlling switch output must to be detached from security system The status information of these two types of switch outputs must be distorted simultaneously, and these two types of switches are to provide respectively from software and hardware angle, Distorting simultaneously must also be to different types of control switch using different modes of distorting, and only one mode of distorting of voucher cannot achieve Electronic equipment is set to be detached from the purpose of security system, therefore data transmission is safer.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art All other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Embodiment one
Referring to Figure 1, Fig. 1 is a kind of stream for system switching method applied to electronic equipment that the embodiment of the present disclosure provides Cheng Tu, it should be noted that electronic equipment applied by scheme provided in this embodiment is a kind of with security system and general The electronic equipment of the two systems of system, specifically, the electronic equipment under security system, can enter information into equipment acquisition To information Correspondent Node is sent in the form of ciphertext;Electronic equipment under general-purpose system can enter information into device Collected information is sent to Correspondent Node in the form of plaintext.Certainly, which can be used as information transmitting apparatus It uses, similarly can be used as information receiving device use, that is, the ciphertext received will be decrypted using security system, be received To plaintext will use general-purpose system directly carry out passing to user.I.e. the electronic equipment can be flexible under different application scene It is switched between encrypting non-encrypted two systems, how the program is specifically a kind of safer carries out between two systems The method of switching comprising following steps:
S101: obtaining the status information of virtual controlling switch and physical control switches output respectively, obtains first state letter Breath and the second status information;
This step is intended to obtain the state letter that virtual controlling switch and physical control switches on the electronic equipment export respectively Breath, herein and it is subsequent will use first state information indicate virtual controlling switch output status information, use the second state believe Cease the status information of presentation-entity control switch output.
Wherein, virtual controlling switch can be used for by one of the operating system offer being installed in the electronic equipment in safety The control switch switched between system and general-purpose system.Specifically, virtual controlling switch can be by the operating system sheet pre-installed Body provides, and application program, plug-in unit, the executable script that can also be installed on by the later period in the operating system etc. provide;The entity Control switch is entity pressing control switch, touch control switch, the sliding control switch being set on the electronic equipment Any one in, can be the electronic equipment inherently has standard configuration in production, is also possible to by can be with the electronics Equipment establishes the attached reality that the interface (such as Mini-USB, Type-C, 3.5mm earphone interface etc.) of physical data connection is expanded out Body control switch, and the physical control switches can flexibly be set to the electronic equipment according to the demand of practical application scene Any position.
The specific implementation form of above-mentioned virtual controlling switch and virtual controlling switch is not especially limited, if possesses reality Body hardware be differentiate virtual controlling switch or physical control switches both control switches define condition, and do not limit virtual The quantity of control switch and physical control switches can select most suitable design parameter according to practical application scene.
Wherein, the form of expression of the status information is varied, can be used for indicate different conditions character string, At least one of in the various forms such as electric signal, control instruction, herein and it is not specifically limited, it is subsequent to be provided for electric signal A kind of specific embodiment, refers to subsequent embodiment.
S102: while according to first state information and the second status information, it is determined whether the information in electronic equipment is defeated System where entering equipment is switched to general-purpose system by security system.
On the basis of S101, this step is intended to while according to the first state information and the second status information got Particular state parameter is switched to general-purpose system by security system to determine the need for the system where entering information into equipment, It can be carried out the switching of system to need the status information of two kinds of control switches output to meet corresponding preset requirement just simultaneously, into And encrypted transmission is realized under security system, plaintext transmission is realized under general-purpose system.
Wherein, which is the various equipment for collecting externally input information in the electronic equipment, packet Camera, microphone, keyboard are included, correspondingly, its information category that can be acquired respectively is image category information, voice category information, text Word category information.The purpose for changing the system where the information input equipment is to change the subsequent processing side of the various information of output Formula, because of the step of security system increases encryption compared to general-purpose system more and other additional steps relevant to encryption, That is, which system switched to, will just it use the processing mode of which system to the collected information of information input equipment It is handled, and is finally transmitted to Correspondent Node.
Specifically, the system where equipment whether can be entered information into is switched to the judgement of general-purpose system by security system Condition can be pre-set, for example, can be the specific of the status information that virtual controlling switch and physical control switches export The identical preset requirement of parameter setting, i.e. first state information and the second status information are consistent with unified preset requirement simultaneously When, just general-purpose system can be switched to by security system;It can also be respectively virtual controlling switch and physical control switches output The design parameter of status information set different preset requirements, and only when first state information and the second status information are right simultaneously When should meet corresponding preset requirement, just general-purpose system can be switched to by security system.Which kind of is specifically chosen, it can be according to reality Demand flexible choice under application scenarios, herein and is not specifically limited.
It should be noted that in order to ensure as far as possible electronic equipment user data can by the transmission of safety, The electronic equipment is by default under security system, i.e., information input equipment will be defaulted and be taken over by security system, by default pair The collected information of information input equipment is encrypted, and Correspondent Node is transmitted in the form of ciphertext.Therefore, this step will Emphasis description such as how tightened up requirement is detached from security system to the general-purpose system without encryption.
Further, if having met the condition for being detached from security system to general-purpose system by judgement, above-mentioned judgement will also be held Continuous to carry out, if monitoring, the condition for being detached from security system no longer meets again, will switch back into security system, timely to ensure data The safety of transmission.
Based on the above-mentioned technical proposal, a kind of safe system switching method provided by the embodiments of the present application, system switching Method is applied to the electronic equipment with dual system, respectively enters information into the collected information of equipment and is transmitted with ciphertext form Security system and with plaintext version transmit general-purpose system, be different from the prior art, the disclosure simultaneously using multiple sources not Can same parameter be detached from the Rule of judgment of security system to general-purpose system as judgement, and specially virtual controlling switch exports The status information of status information and physical control switches output, to be detached from security system, it is necessary to while distorting these two types of switches The status information of output, and these two types of switches are to provide respectively from software and hardware angle, while distorting must also be to difference For the control switch of type using different modes of distorting, only one mode of distorting of voucher, which cannot achieve, makes electronic equipment be detached from safety system The purpose of system, therefore data transmission is safer.
Embodiment two
Fig. 2 is referred to, Fig. 2 is the system switching method that the another kind that the embodiment of the present disclosure provides is applied to electronic equipment Flow chart, compared to embodiment one, the present embodiment will provide how one kind specifically determines whether that the switching between system can be carried out Mode, specifically includes the following steps:
S201: obtaining the status information of virtual controlling switch and physical control switches output respectively, obtains first state letter Breath and the second status information;
This step lance S101 is identical, has no change, and associated description information can be found in S101, and details are not described herein.
S202: judge first state information and the second status information whether and meanwhile corresponding meet the first preset requirement and second Preset requirement;
The status information of as virtual controlling switch output is preset to be detached from the two of security system for discriminating whether to meet One in a precondition is the first preset requirement, for physical control switches output status information it is preset for differentiate be It is no meet be detached from security system two preconditions in the other is the second preset requirement.In other words, first state is believed Corresponding first preset requirement is ceased, the second status information corresponding second requires, this step is intended to judge whether first state information is full Whether whether the second preset requirement and this two meet simultaneously for the first preset requirement of foot, the second status information.
S203: the system where entering information into equipment is switched to general-purpose system by security system;
This step is established on the basis of the judging result of S202 is above-mentioned two judgements while meeting, that is, is met information System where input equipment is switched to the condition of general-purpose system by security system, illustrates to have already been through making for the electronic equipment The double verification of user is that it voluntarily needs to change data transfer mode, therefore can execute information is defeated under maximum probability System where entering equipment is switched to the operation of general-purpose system by security system.
S204: keeping information input equipment to be currently located system is that security system is constant;
This step establish the judging result of S202 be above-mentioned two judgement not simultaneously meet on the basis of, specifically include as Under it is several may: first state information be unsatisfactory for the first preset requirement, the second status information meet the second preset requirement;First shape State information meets the first preset requirement, the second status information is unsatisfactory for the second status information;First state information is unsatisfactory for first Preset requirement, the second status information are unsatisfactory for the second preset requirement.It is unsatisfactory for entering information into the system where equipment by pacifying Total system switches to the condition of general-purpose system, it may be possible to virtual controlling switch has been distorted after by malicious intrusions in the electronic equipment The status information of output or the mode that physical control switches output state information is maliciously had adjusted by other people, therefore, this programme can Sufficiently defend it is existing steal or interception mode under to the electronic equipment processing data mode carry out malicious modification.
S205: judge first state information and the second status information whether and meanwhile corresponding meet the first preset requirement and second Preset requirement;
On the basis of S203, this step will be by monitoring whether to continue to meet that security system is switched to general-purpose system Condition (consistent with the Rule of judgment of S202), to switch back into security system once again in once ungratified situation.
S206: keeping information input equipment to be currently located system is that general-purpose system is constant;
This step is established on the basis of the judging result of S205 is two judgements while meeting, i.e., explanation is current good The condition for meeting and security system being switched to general-purpose system is maintained, therefore information input equipment will be kept to be currently located system and be General-purpose system is constant.
S207: the system where entering information into equipment switches back into security system by general-purpose system.
This step is established on the basis of the judging result in S205 is that two judgements do not meet simultaneously, i.e., explanation is current not It can keep meeting the condition that security system is switched to general-purpose system well, therefore illustrate no longer to meet security system The condition for switching to general-purpose system, the system where needing to enter information into equipment switch back into security system by general-purpose system, with Guarantee the safe transmission of data as far as possible.
The present embodiment provide through the above technical solution it is a kind of in combination with virtual controlling switch and physical control switches, Come whether comprehensive distinguishing can enter information into the mode that equipment place system is switched to general-purpose system by security system, and also logical Cross whether the Rule of judgment that real-time monitoring switches to after general-purpose system changes place system is timely switched back into safety System provides a kind of safer system switching method, more fully to ensure the safe transmission of data.
Embodiment three
Fig. 3 and Fig. 4 are referred to, Fig. 3 is that one kind that the embodiment of the present disclosure provides can be safely not for realizing electronic equipment The structural schematic diagram of the OR circuit switched between homologous ray;Fig. 4 is that one kind that the embodiment of the present disclosure provides is based on or door is electric The flow chart of the switching method on road, a kind of specific implementation of the present embodiment as embodiment two, by means of OR circuit Special characteristics realizes this purpose, comprising the following steps:
S401: using the second electric signal of the first electric signal sum as an input signal of OR circuit;
As shown in figure 3, the status information of virtual controlling switch output will serve as the first electricity when being embodied in electric signal The status information of signal, physical control switches output will serve as the second electric signal when being embodied in electric signal, and by first The input signal of electric signal and the second electric signal respectively as OR circuit.
The special characteristics of the OR circuit utilized is described the present embodiment herein, OR circuit is one shaped like figure The logic circuit of " OR circuit " printed words is labeled in 3, one kind as inclusive-OR operation during embodiment logical operation is specific Gate circuit exists or operation is applied when in the performance of electric signal, will have the property that, in two had input terminal, As long as the electric signal of any input terminal input is high level (logical one), the unique output having will export one and be The electric signal of high level (logical one);Only when all low levels of electric signal (logical zero) inputted in two input terminals, The electric signal of its output end output is just low level (logical zero), reference can be made to table 1:
1 OR circuit of table exports corresponding table
Virtual controlling switch output Physical control switches output OR circuit output
High level High level High level
High level Low level High level
Low level High level High level
Low level Low level Low level
S402: whether the output signal for judging OR circuit is low level;
On the basis of S401, whether the present embodiment may be used whether electric signal that OR circuit exports is low level The Rule of judgment that general-purpose system is switched to enter information into the system where equipment by security system, can obtain or door according to table 1 Circuit output low level needs virtual controlling switch and physical control switches to need to export low level, it should be noted that Virtual controlling switch and the electric signal default of physical control switches output are all high level, that is to say, that are switched to system logical With system, virtual controlling switch and physical control switches is needed to be adjusted the level state of the electric signal that it is exported simultaneously to low electricity It is flat, it is achieved in double verification and tightened up system switching.
S403: the system where entering information into equipment is switched to general-purpose system by security system;
On the basis of the electric signal that the judging result of S402 is OR circuit output is low level, therefore this step is established Meet the condition that the system where entering information into equipment is switched to general-purpose system by security system.
S404: keeping information input equipment to be currently located system is that security system is constant;
On the basis of the electric signal that the judging result of S402 is OR circuit output is high level, therefore this step is established It is unsatisfactory for the condition that the system where entering information into equipment is switched to general-purpose system by security system, will continue to keep information defeated Entering equipment to be currently located system is that security system is constant.
S405: whether the output signal for judging OR circuit is low level;
This step is established on the basis of S403, it is intended to judge whether the item for having occurred being unsatisfactory for being maintained under general-purpose system Part still judges whether the output signal of OR circuit is low level.
S406: keeping information input equipment to be currently located system is that general-purpose system is constant;
This step is established on the basis of the electric signal that the judging result of S405 is OR circuit output is still low level, Illustrate to meet the condition for being continually maintained in general-purpose system, therefore it is general-purpose system that information input equipment will be kept, which to be currently located system, It is constant.
S407: the system where entering information into equipment switches back into security system by general-purpose system.
The foundation of this step is no longer low level in the electric signal that the judging result of S405 is OR circuit output, but is changed On the basis of high level, illustrate no longer to meet the condition for being continually maintained in general-purpose system, therefore can execute to enter information into and set The step of system at standby place switches back into security system by general-purpose system.
The present embodiment is given a kind of specific by the characteristic of OR circuit with one of embodiment two the next embodiment Implementation.
Example IV
On the basis of above-mentioned any embodiment, the present embodiment will combine the electronic equipment because the difference at locating interface is to void It influences caused by the status information of quasi- control switch output to describe the above process, it is appreciated that, with intelligent mobile terminal For, including following interface scenario: screen lock state, standby mode, use state, it can also be by use state further according to locating mould Formula be finely divided (such as silent mode, can in mode, ring tone modes etc.), i.e. the status information of virtual controlling switch output Design parameter will be related to interface locating for the electronic equipment, scene, specifically, can be identified according to possessed by locating interface It identifies to adjust the design parameter of the status information of virtual controlling switch output.It further, is to realize to automatically switch, it can be with Different identification markings is preset for different interfaces, scene in advance, which will be used for virtual controlling switching state output Reference conditions when information, and establish one include every kind of identification marking and virtual controlling switch output phase answer it is right between status information The mapping table that should be related to, so as to the subsequent shape that can automatically adjust virtual controlling switch output according to the mapping table State information.
It may particularly include scene used below: when user is in standby without using mobile phone, mobile phone, screen lock state, dials When cipher telegram of combatting smuggling words or progress secret business processing, the status information of control virtual controlling switch output is the telecommunications of high level Number, no matter which kind of status information physical control switches will export at this time, under the action of OR circuit, can always export high electricity It is flat, at this point, the information input equipments such as camera and microphone of the mobile phone will be taken over by security system, and add under security system Close collected information, and Correspondent Node is transmitted in the form of ciphertext.And only manually adjusting virtual controlling switch output Status information is low level, and physical control switches are also manually adjusted output low level Shi Caihui and switch to general-purpose system.
Because situation is complicated, it can not enumerate and be illustrated, those skilled in the art should be able to recognize according to the application The basic skills principle combination actual conditions of offer may exist many examples, in the case where not paying enough creative works, It should within the scope of protection of this application.
Embodiment five
Fig. 5 is referred to, Fig. 5 is a kind of knot for system switching device applied to electronic equipment that the embodiment of the present disclosure provides Structure block diagram, the system switching device may include:
State information acquisition unit 100, for obtaining the state of virtual controlling switch and physical control switches output respectively Information obtains first state information and the second status information;
Security system is detached from judging unit 200, for simultaneously according to first state information and the second status information, determination to be System where the no information input equipment by electronic equipment is switched to general-purpose system by security system;
Wherein, the electronic equipment under security system enters information into the collected information of equipment in the form of ciphertext It is sent to Correspondent Node;Electronic equipment under general-purpose system enters information into the collected information of device with the shape of plaintext Formula is sent to Correspondent Node.
Wherein, it may include (reference can be made to Fig. 6) which, which is detached from judging unit 200:
Be required to meet judgement subelement, for judge first state information and the second status information whether and meanwhile corresponding meet First preset requirement and the second preset requirement;
Security system is detached from subelement, is used to correspond to meet first in advance simultaneously when first state information and the second status information If it is required that the system where entering information into equipment is switched to general-purpose system by security system when with the second preset requirement;
Security system maintains subelement, for not corresponding to simultaneously when first state information and the second status information and meeting first When preset requirement and the second preset requirement, keeping information input equipment to be currently located system is that security system is constant.
Further, which can also include:
General-purpose system maintains judging unit, when the system for being currently located when information input equipment is general-purpose system, sentences Whether disconnected first state information and the second status information correspond to simultaneously meets the first preset requirement and the second preset requirement;
General-purpose system is detached from unit, is used to not correspond to simultaneously when first state information and the second status information and meet first in advance If it is required that the system where entering information into equipment switches back into security system by general-purpose system when with the second preset requirement.
Further, which can also include:
Interface identification marking acquiring unit, the identification marking for being presently in interface for obtaining electronic equipment;
Virtual controlling switching-state information adjustment unit, for adjusting the shape of virtual controlling switch output according to identification marking State information.
Wherein, security system disengaging judging unit 200 may include:
OR circuit uses subelement, for when status information is the electric signal for indicating different conditions, by first The input signal of electric signal and the second electric signal respectively as OR circuit;
OR circuit characteristic judgment sub-unit, determines whether to enter information into and sets for the output signal according to OR circuit The system at standby place is switched to general-purpose system by security system.
Wherein, which may include:
Output signal low level judgment module, for whether being that low level determination enters information into equipment according to output signal The system at place is switched to general-purpose system by security system;Wherein, OR circuit is only when two input signals are low level Just export low level.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 7 is the block diagram of a kind of electronic equipment 300 shown according to an exemplary embodiment.As shown in fig. 7, the electronics is set Standby 300 may include: processor 301, memory 302.The electronic equipment 300 can also include multimedia component 303, and information is defeated Enter/information output one or more of (I/O) interface 304 and communication component 305.
Wherein, processor 301 is used to control the integrated operation of the electronic equipment 300, to complete above-mentioned to be applied to electronics The all or part of the steps in data transmission method in equipment;Memory 302 is for storing various types of data to support In the operation of the electronic equipment 300, these data for example may include any application for operating on the electronic equipment 300 The instruction of program or method and the relevant data of application program, for example, contact data, the message of transmitting-receiving, picture, audio, Video etc..The memory 302 can be real by any kind of volatibility or non-volatile memory device or their combination It is existing, for example, static random access memory (Static RandomAccess Memory, abbreviation SRAM), electrically erasable Read-only memory (Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM), can Erasable programmable read-only memory (EPROM) (Erasable Programmable Read-Only Memory, abbreviation EPROM) may be programmed Read-only memory (Programmable Read-Only Memory, abbreviation PROM), read-only memory (Read-Only Memory, abbreviation ROM), magnetic memory, flash memory, disk or CD.
Multimedia component 303 may include screen and audio component.Wherein screen for example can be touch screen, audio component For output and/or input audio signal.For example, audio component may include a microphone, microphone is for receiving outside Audio signal.The received audio signal can be further stored in memory 302 or be sent by communication component 305.Sound Frequency component further includes at least one loudspeaker, is used for output audio signal.I/O interface 304 is processor 301 and other interface moulds Interface is provided between block, other above-mentioned interface modules can be keyboard, mouse, button etc..These buttons can be virtual push button Or entity button.Communication component 305 is for carrying out wired or wireless communication between the electronic equipment 300 and other equipment.Nothing Line communication, such as Wi-Fi, bluetooth, near-field communication (Near Field Communication, abbreviation NFC), 2G, 3G or 4G, or The combination of one or more of they, therefore the corresponding communication component 305 may include: Wi-Fi module, bluetooth module, NFC module.
In one exemplary embodiment, electronic equipment 300 can be by one or more application specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), digital signal processor (Digital Signal Processor, abbreviation DSP), digital signal processing appts (Digital Signal Processing Device, Abbreviation DSPD), programmable logic device (Programmable Logic Device, abbreviation PLD), field programmable gate array (Field Programmable Gate Array, abbreviation FPGA), controller, microcontroller, microprocessor or other electronics member Part is realized, for executing the above-mentioned data transmission method provided.
In a further exemplary embodiment, a kind of computer readable storage medium including program instruction is additionally provided, it should The step of above-mentioned data transmission method is realized when program instruction is executed by processor.For example, the computer readable storage medium can Think the above-mentioned memory 302 for being stored with program instruction, above procedure instruction can be executed by the processor 301 of electronic equipment 300 To complete above system switching method.

Claims (10)

1. a kind of safe system switching method, which is characterized in that be applied to electronic equipment, the system switching method includes:
The status information for obtaining virtual controlling switch and physical control switches output respectively, obtains first state information and the second shape State information;
Simultaneously according to the first state information and second status information, it is determined whether by the information in the electronic equipment System where input equipment is switched to general-purpose system by security system;
Wherein, the electronic equipment under the security system, by the collected information of the information input equipment with ciphertext Form is sent to Correspondent Node;Electronic equipment under the general-purpose system, by the collected letter of the message input device Breath is sent to the Correspondent Node in the form of plaintext.
2. system according to claim 1 switching method, which is characterized in that while according to the first state information and institute State the second status information, it is determined whether switch the system where the information input equipment in the electronic equipment by security system To general-purpose system, comprising:
Judge the first state information and second status information whether and meanwhile corresponding meet the first preset requirement and second Preset requirement;
Meet first preset requirement and described the if the first state information and second status information be corresponding simultaneously System where the information input equipment is then switched to the general-purpose system by the security system by two preset requirements;
Meet first preset requirement and described if the first state information and second status information be corresponding simultaneously Second preset requirement, then keeping the information input equipment to be currently located system is that the security system is constant.
3. system switching method according to claim 2, which is characterized in that further include:
When the system that the information input equipment is currently located is the general-purpose system, the first state information and institute are judged State the second status information whether and meanwhile correspondence meet first preset requirement and second preset requirement;
Meet first preset requirement and described if the first state information and second status information be corresponding simultaneously System where the information input equipment is then switched back into the security system by the general-purpose system by the second preset requirement.
4. system according to claim 1 switching method, which is characterized in that further include:
Obtain the identification marking that the electronic equipment is presently in interface;
The status information of the virtual controlling switch output is adjusted according to the identification marking.
5. system switching method according to any one of claims 1 to 4, which is characterized in that the status information includes using At least one of in the character string of expression different conditions, electric signal, control instruction.
6. system switching method according to claim 5, which is characterized in that while according to the first state information and institute State the second status information, it is determined whether switch the system where the information input equipment in the electronic equipment by security system To general-purpose system, comprising:
When the status information is the electric signal for indicating different conditions, the first electric signal and the second electric signal are made respectively For an input signal of OR circuit;
Determined whether the system where the information input equipment according to the output signal of the OR circuit by the safety System is switched to the general-purpose system.
7. system switching method according to claim 6, which is characterized in that the output signal according to the OR circuit is true It is fixed whether the system where the information input equipment to be switched to the general-purpose system by the security system, comprising:
It whether is that low level is determined the system where the information input equipment by the safety system according to the output signal System is switched to the general-purpose system;Wherein, the OR circuit only just exports low electricity when two input signals are low level It is flat.
8. a kind of safe system switching device, which is characterized in that the system switching device includes:
State information acquisition unit is obtained for obtaining the status information of virtual controlling switch and physical control switches output respectively To first state information and the second status information;
Security system is detached from judging unit, for according to the first state information and second status information, determining simultaneously Whether the system where the information input equipment in the electronic equipment is switched to general-purpose system by security system;
Wherein, the electronic equipment under the security system, by the collected information of the information input equipment with ciphertext Form is sent to Correspondent Node;Electronic equipment under the general-purpose system, by the collected letter of the message input device Breath is sent to the Correspondent Node in the form of plaintext.
9. a kind of electronic equipment characterized by comprising
Virtual controlling switch and physical control switches, are used for output state information;
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize described in any one of claim 1 to 7 System switching method the step of.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt Processor realizes system switching method as described in any one of claim 1 to 7 when executing.
CN201811325184.3A 2018-11-08 2018-11-08 Safe system switching method and device, electronic equipment and storage medium Active CN109508551B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811325184.3A CN109508551B (en) 2018-11-08 2018-11-08 Safe system switching method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811325184.3A CN109508551B (en) 2018-11-08 2018-11-08 Safe system switching method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109508551A true CN109508551A (en) 2019-03-22
CN109508551B CN109508551B (en) 2023-01-06

Family

ID=65747846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811325184.3A Active CN109508551B (en) 2018-11-08 2018-11-08 Safe system switching method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109508551B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770561A (en) * 2008-12-29 2010-07-07 郑州大学 Switching method and control switching system thereof of radio frequency identification device (RFID) multi-protocol reader-writer
CN101893684A (en) * 2010-02-10 2010-11-24 哈尔滨工业大学 BIST general basic test module based on system on chip SOC and test system thereof and test method applying same
CN104079414A (en) * 2014-07-18 2014-10-01 成都卫士通信息产业股份有限公司 Encryptor authentication method and device with identity authentication mechanism
CN104486336A (en) * 2014-12-12 2015-04-01 冶金自动化研究设计院 Device for safely isolating and exchanging industrial control networks
CN104680089A (en) * 2013-11-29 2015-06-03 联想(北京)有限公司 Electronic device and system switching method
CN106095629A (en) * 2016-06-01 2016-11-09 李素霞 A kind of self-help multifunctional computer troubleshooting system
CN108681677A (en) * 2018-05-14 2018-10-19 深圳市永达电子信息股份有限公司 Based on the double net computer methods of USB interface security isolation, apparatus and system
US10108800B1 (en) * 2017-01-10 2018-10-23 Gbs Laboratories, Llc ARM processor-based hardware enforcement of providing separate operating system environments for mobile devices with capability to employ different switching methods

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770561A (en) * 2008-12-29 2010-07-07 郑州大学 Switching method and control switching system thereof of radio frequency identification device (RFID) multi-protocol reader-writer
CN101893684A (en) * 2010-02-10 2010-11-24 哈尔滨工业大学 BIST general basic test module based on system on chip SOC and test system thereof and test method applying same
CN104680089A (en) * 2013-11-29 2015-06-03 联想(北京)有限公司 Electronic device and system switching method
CN104079414A (en) * 2014-07-18 2014-10-01 成都卫士通信息产业股份有限公司 Encryptor authentication method and device with identity authentication mechanism
CN104486336A (en) * 2014-12-12 2015-04-01 冶金自动化研究设计院 Device for safely isolating and exchanging industrial control networks
CN106095629A (en) * 2016-06-01 2016-11-09 李素霞 A kind of self-help multifunctional computer troubleshooting system
US10108800B1 (en) * 2017-01-10 2018-10-23 Gbs Laboratories, Llc ARM processor-based hardware enforcement of providing separate operating system environments for mobile devices with capability to employ different switching methods
CN108681677A (en) * 2018-05-14 2018-10-19 深圳市永达电子信息股份有限公司 Based on the double net computer methods of USB interface security isolation, apparatus and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
YUE SHI等: "An Enhanced Security Framework of Software Defined Network Based on Attribute-based Encryption", 《网页在线公开:HTTPS://IEEEXPLORE.IEEE.ORG/STAMP/STAMP.JSP?TP=&ARNUMBER=8248425》 *
姬宣德等: "基于DSP的由硬件决定开关模式的SVPWM技术", 《工矿自动化》 *
汪书林等: "开关切换非线性系统的同步方法研究", 《电测与仪表》 *

Also Published As

Publication number Publication date
CN109508551B (en) 2023-01-06

Similar Documents

Publication Publication Date Title
US11132275B2 (en) Accessory communication control
CN105303659B (en) A kind of gate inhibition's personal identification method and device based on ultrasonic wave
WO2021121125A1 (en) Control method for smart home devices and medium and terminal thereof
US9882915B2 (en) Device control method, device control system
CN105357262B (en) Apparatus control method and device
CN105682253A (en) Method and equipment for communication establishment, terminal and computer readable storage medium
CN106331970B (en) Hearing device and method of updating a hearing device
US7284123B2 (en) Secure communication system and method for integrated mobile communication terminals comprising a short-distance communication module
MXPA96006339A (en) Communication method and device
JP2004007638A (en) Encryption and setting in proximity network
CN112533202B (en) Identity authentication method and device
CN104636645A (en) Method and device for controlling data accessing
EP3139564B1 (en) Encryption coding module
CN109286634A (en) A kind of data transmission method, device, electronic equipment and readable storage medium storing program for executing
JP3446203B2 (en) Extension control system
KR20150030739A (en) Authentication system preserving secret data confidentiality
CN109508551A (en) A kind of safe system switching method, device, electronic equipment and storage medium
US20240064519A1 (en) Method and apparatus for verifying personal identification number pin code
WO2015111444A1 (en) Wireless communication system, communication terminal, security management server, device management server, and wireless communication method therein
CN108595984A (en) A kind of control method and mobile terminal of mobile terminal
CN108769989B (en) Wireless network connection method, wireless access device and equipment
JP2008118419A (en) Repeater, radio communication terminal, communication system, and communication method and program
CN114040366B (en) Bluetooth connection encryption method with high network communication security
CN114449020B (en) Operation method of operation equipment based on control terminal, electronic equipment and storage medium
CN101902257A (en) Remote setting method for mobile terminal

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: No. 333, Yunhua Road, high tech Zone, Chengdu, Sichuan 610041

Patentee after: China Electronics Technology Network Security Technology Co.,Ltd.

Address before: No. 333, Yunhua Road, high tech Zone, Chengdu, Sichuan 610041

Patentee before: CHENGDU WESTONE INFORMATION INDUSTRY Inc.