CN109726552A - A kind of control method, device and electronic equipment - Google Patents

A kind of control method, device and electronic equipment Download PDF

Info

Publication number
CN109726552A
CN109726552A CN201811635568.5A CN201811635568A CN109726552A CN 109726552 A CN109726552 A CN 109726552A CN 201811635568 A CN201811635568 A CN 201811635568A CN 109726552 A CN109726552 A CN 109726552A
Authority
CN
China
Prior art keywords
data processing
processing request
electronic equipment
use state
request
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
CN201811635568.5A
Other languages
Chinese (zh)
Other versions
CN109726552B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201811635568.5A priority Critical patent/CN109726552B/en
Publication of CN109726552A publication Critical patent/CN109726552A/en
Application granted granted Critical
Publication of CN109726552B publication Critical patent/CN109726552B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present disclosure discloses a kind of control method, device and electronic equipment, method includes: acquisition data processing request, obtains use state parameter, wherein use state parameter can be used for use state locating for characterization of electronic equipment;If use state parameter meets condition, forbid responding the data processing request;If use state parameter is unsatisfactory for condition, response data processing request.The disclosure can be different according to electronic equipment use state, to the data processing request in electronic equipment use different control modes.

Description

A kind of control method, device and electronic equipment
Technical field
This disclosure relates to electronic technology field more particularly to a kind of control method, device and electronic equipment.
Background technique
With the continuous development of electronic technology, the application of various applications in the electronic device is also more and more.Currently, in electricity In sub- equipment, often have to apply to execute on backstage and do not meet the instruction of user's intention, is easy to make electronic equipment to there is potential danger Evil.
Summary of the invention
In view of this, the disclosure provides a kind of control method, device and electronic equipment, it can be different according to electronic equipment Use state uses different control modes to the data processing request in electronic equipment.
Present disclose provides a kind of control methods, comprising:
Obtain data processing request;
Use state parameter is obtained, the use state parameter can be used for use state locating for characterization of electronic equipment;
If the use state parameter meets condition, forbid responding the data processing request;
If the use state parameter is unsatisfactory for the condition, the data processing request is responded.
The above method, it is preferable that the acquisition data processing request includes:
Obtain data transfer request.
The above method, it is preferable that the acquisition use state parameter includes:
The generation for characterizing the data processing request is obtained whether according to the parameter for inputting operation from input unit;
Correspondingly, if the generation for characterizing the data processing request is not according to the input behaviour from the input unit Make, forbids responding the data processing request;
Correspondingly, if the generation for characterizing the data processing request is according to the input behaviour from the output device Make, responds the data processing request.
The above method, it is preferable that the acquisition use state parameter includes:
The use state parameter of output device is obtained, the use state parameter of the output device is for characterizing the output Whether device is in running order;
Correspondingly, if output device described in the use state parameter characterization of the output device is in off working state, Forbid responding the data processing request;
Correspondingly, being rung if output device described in the use state parameter characterization of the output device is in running order Answer the data processing request.
The above method, it is preferable that obtaining the data processing request includes: to obtain in the case where outputting content information The data processing request;
Wherein after the response data processing request, further includes: the prompt that output is different from the content information is believed Breath, the prompt information have responded the data processing request for characterizing.
The above method, it is preferable that output be different from the content information prompt information include:
If the content information is the information of the first application, and the data processing request is that the second application generates, Then output is different from the prompt information of the content information;
Wherein, first application and second application are different.
The above method, it is preferable that described to forbid after responding the data processing request, further includes:
Record application and/or access parameter;
If the use state parameter is unsatisfactory for condition, the application and/or access parameter of the record are exported.
A kind of control device, comprising:
Request unit, for obtaining data processing request;
Parameter acquiring unit, for obtaining use state parameter, the use state parameter can be used for characterization of electronic equipment Locating use state;
Forbid unit, if meeting condition for the use state parameter, forbids responding the data processing request;
Response unit responds the data processing request if being unsatisfactory for the condition for the use state parameter.
Above-mentioned control device, it is preferable that the request unit is specifically used for:
Obtain data transfer request.
Above-mentioned control device, it is preferable that the parameter acquiring unit is specifically used for:
The generation for characterizing the data processing request is obtained whether according to the parameter for inputting operation from input unit
Correspondingly, if the generation for characterizing the data processing request is not according to the input behaviour from the input unit Make, it is described that unit is forbidden to be specifically used for: to forbid responding the data processing request;
Correspondingly, if the generation for characterizing the data processing request is according to the input behaviour from the output device Make, the response unit is specifically used for: responding the data processing request.
Above-mentioned control device, it is preferable that the parameter acquiring unit is specifically used for:
The use state parameter of output device is obtained, the use state parameter of the output device is for characterizing the output Whether device is in running order;
Correspondingly, if output device described in the use state parameter characterization of the output device is in off working state, It is described that unit is forbidden to be specifically used for: to forbid responding the data processing request;
Correspondingly, if output device described in the use state parameter characterization of the output device is in running order, institute It states response unit to be specifically used for: responding the data processing request.
Above-mentioned control device, it is preferable that the parameter acquiring unit is specifically used for:
In the case where outputting content information, the data processing request is obtained;
Further include:
Prompt information output unit, for after responding the data processing request, output to be different from the content information Prompt information, the prompt information for characterize has responded the data processing request.
Above-mentioned control device, it is preferable that the prompt information output unit is specifically used for:
If the content information is the information of the first application, and the data processing request is that the second application generates, Then output is different from the prompt information of the content information;
Wherein, first application and second application are different.
Above-mentioned control device, it is preferable that further include:
Recording unit, for forbidding after responding the data processing request, record application and/or access parameter;
Further include:
Output unit exports the application of the record and/or visits if being unsatisfactory for condition for the use state parameter Ask parameter.
A kind of electronic equipment, comprising:
Memory runs generated data for storing application program and application program;
Processor, for running the application program to obtain data processing request;The processor is also used to be made With state parameter, the use state parameter can be used for use state locating for characterization of electronic equipment;
The processor is forbidden responding the data processing and be asked if being also used to the use state parameter meets condition It asks;
The processor responds the data processing if being also used to the use state parameter is unsatisfactory for the condition Request.
It can be seen from the above technical proposal that a kind of control method disclosed in the disclosure, is getting data processing request When, the state of electronic equipment is judged by the parameter that can be used for use state locating for characterization of electronic equipment of acquisition, when making When meeting condition with state parameter, forbid response data processing request, when use state parameter is unsatisfactory for condition, response data Processing request;Use state that can be different according to electronic equipment uses different controls to the data processing request of electronic equipment Mode processed.
Detailed description of the invention
In order to illustrate more clearly of the embodiment of the present disclosure or technical solution in the prior art, 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 Disclosed some embodiments for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
FIG. 1 to FIG. 8 is a kind of implementation flow chart of control method embodiment disclosed in the disclosure;
Fig. 9~Figure 16 is a kind of realization structural schematic diagram of control device embodiment disclosed in the disclosure;
Figure 17 is the realization structural schematic diagram of a kind of electronic equipment embodiment disclosed in the disclosure.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present disclosure, the technical solution in the embodiment of the present disclosure is carried out clear, complete Site preparation description, it is clear that described embodiment is only disclosure a part of the embodiment, instead of all the embodiments.It is based on Embodiment in the disclosure, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment belongs to the range of disclosure protection.
As shown in Figure 1, a kind of implementation flow chart of the control method embodiment 1 provided for the disclosure, this method are suitable for It is able to carry out in the electronic equipment of data processing, such as mobile phone, pad or laptop, correspondingly, the method in the present embodiment It may comprise steps of:
Step 101 obtains data processing request;
Electronic equipment can execute corresponding control when obtaining data processing request to request in the present embodiment.Wherein, it obtains Data processing request include that can make electronic equipment there are the requests of potential hazard, or electronic equipment will not be made there are potential danger Harmful request.Such as, when data processing request, which meets user, to be intended to, the data processing request of acquisition will not be such that electronic equipment exists It is potentially hazardous;When data processing request, which does not meet user, to be intended to, the data processing request of acquisition can be such that electronic equipment exists It is potentially hazardous.Wherein, the data processing request of acquisition can be initiated by that can establish communication linkage with electronic equipment, Such as, server etc. can also be initiated by that can establish the input unit of connection with electronic equipment, e.g., keyboard, mouse etc..When When needing to handle the data of electronic equipment, data processing request is generated.
Step 102 obtains use state parameter, wherein use state parameter can be used to make locating for characterization of electronic equipment Use state;
After obtaining data processing request, the use state ginseng that energy characterization of electronic equipment is presently in state is further obtained Number.Such as, use parameter of the electronic equipment under black state is obtained, or obtains use ginseng of the electronic equipment under bright screen state Number.Wherein, it can judge that electronic equipment is currently at use state or non-working condition by the use state parameter of acquisition.? In the present embodiment, the use state or non-working condition being presently in by electronic equipment can judge the data processing obtained Whether request meets the intention of user.
If step 103, use state parameter meet condition, forbid response data processing request;
In the present embodiment, when the use state parameter of acquisition meets condition, controlling electronic devices forbids response to obtain at this time The data processing request obtained.Wherein, use state parameter meets condition, and characterization is not at this time if response data processing request, is inconsistent The intention at family is shared, making electronic equipment, there are potentially hazardous.For example, electronic equipment is at non-working condition (black state) Under, request of data be not killed virus automatically by Client-initiated to electronic equipment, automatic compressed data, be automatically deleted data, or It is automatic to establish search index etc., in this case, if response data is requested, there can be waste electronics processors The problems such as energy, electric energy or network bandwidth.Therefore, in this case, meeting controlling electronic devices forbids response data processing to ask It asks, so as to effectively avoid making electronic equipment from there is harm.
If step 104, use state parameter are unsatisfactory for condition, response data processing request.
In the present embodiment, when the use state parameter of acquisition is unsatisfactory for condition, controlling electronic devices response at this time is obtained Data processing request.Wherein, use state parameter is unsatisfactory for condition, and characterization is at this time if response data processing request, meets The data processing of user is intended to, and under such state, electronic equipment can be made to carry out normal data processing.For example, when deleting When the request of data is initiated by user, electronic equipment response data removal request, will not be such that electronic equipment is compromised at this time.
In conclusion in the above-described embodiments, when getting data processing request, can be used to characterize electricity by acquisition The parameter of use state locating for sub- equipment judges that the state of electronic equipment forbids responding when state parameter meets condition Data processing request, when state parameter is unsatisfactory for condition, response data processing request;It can make according to electronic equipment is different With state, judge whether data processing request meets user's intention, when data processing request does not meet user's intention, control electricity Sub- equipment forbids response data processing request, effectively prevents that electronic equipment is made to there are problems that potential hazard.
As shown in Fig. 2, a kind of implementation flow chart of the control method embodiment 2 provided for the disclosure, this method are suitable for It is able to carry out in the electronic equipment of data processing, such as mobile phone, pad or laptop, correspondingly, the method in the present embodiment It may comprise steps of:
Step 201 obtains data transfer request;
Electronic equipment can execute corresponding control when obtaining data transfer request to request in the present embodiment.Wherein, number It can be used for uplink transmission data in the electronic device and/or downlink transmission data according to transmission request.For example, data transfer request is used Data in downloading electronic equipment, or application transport for that will download is into electronic equipment.
Wherein, the data transfer request of acquisition includes that can make electronic equipment there are the requests of potential hazard, or will not make electricity There are the requests of potential hazard for sub- equipment.Such as, when data transfer request meets when user is intended to (for example, data transfer request is By the request of the picture in Client-initiated downloading electronic equipment picture library), the data transfer request of acquisition will not make electronic equipment There are potentially hazardous;When data transfer request is not met when user is intended to (for example, data transfer request is initiated by user Downloading electronic equipment picture library in picture request), the data transfer request of acquisition can make electronic equipment there is potential danger Evil.
Wherein, the data transfer request of acquisition can be initiated by that can establish communication linkage with electronic equipment, e.g., clothes Business device can also be initiated by that can establish the input unit of connection with electronic equipment, e.g., keyboard, mouse etc..When needs are in electricity When carrying out data transmission in sub- equipment, data transfer request is generated.
Step 202 obtains use state parameter, wherein use state parameter can be used to make locating for characterization of electronic equipment Use state;
After obtaining data transfer request, the use state ginseng that energy characterization of electronic equipment is presently in state is further obtained Number.Such as, use parameter of the electronic equipment under black state is obtained, or obtains use ginseng of the electronic equipment under bright screen state Number.Wherein, it can judge that electronic equipment is currently at use state or non-working condition by the use state parameter of acquisition.? In the present embodiment, the use state or non-working condition being presently in by electronic equipment can judge the data obtained transmission Whether request meets the intention of user.
If step 203, use state parameter meet condition, forbid response data transmission request;
In the present embodiment, when the use state parameter of acquisition meets condition, controlling electronic devices forbids response to obtain at this time The data transfer request obtained.Wherein, use state parameter meets condition, and characterization is not at this time if response data transmission request, is inconsistent The intention at family is shared, making electronic equipment, there are potentially hazardous.For example, data transfer request is downloaded by Client-initiated Data in electronic equipment or by the application transport of downloading to electronic equipment, in this case, if response data transmission is asked It asks, the harm that private data in the electronic device is compromised can be deposited, or there is malice for the application transport of downloading to electricity The harm of sub- equipment.Therefore, in this case, meeting controlling electronic devices forbids response data transmission request, so as to have Effect avoid making electronic equipment by private data leakage harm or malicious downloading application transport to electronic equipment harm.
If step 204, use state parameter are unsatisfactory for condition, response data transmission request.
In the present embodiment, when the use state parameter of acquisition is unsatisfactory for condition, controlling electronic devices response at this time is obtained Data transfer request.Wherein, use state parameter is unsatisfactory for condition, at this time if response data transmission request, meets user Data transmit and be intended to, under such state, electronic equipment can be made to carry out normal data transmission.For example, data transmission is asked Seeking Truth is by the data in Client-initiated downloading electronic equipment or by the application transport of downloading to electronic equipment, in such case Under, if response data transmission request, will not be such that electronic equipment is compromised.
In conclusion in the above-described embodiments, when getting data transfer request, can be used to characterize electricity by acquisition The parameter of use state locating for sub- equipment judges that the state of electronic equipment forbids responding when state parameter meets condition Data transfer request, when state parameter is unsatisfactory for condition, response data transmission request;Condition can be met in state parameter When, forbid responding uplink transmission data and/or downlink transmission data, effectively avoid private data in electronic equipment by Leakage, and effectively avoids the application transport by malicious downloading into electronic equipment, correspondingly, can state parameter not When meeting condition, normal response data transmission request.
It should be noted that in the above-described embodiments, it, can when judging whether the use state parameter obtained meets condition With by the use state parameter for judging to obtain, whether the generation of characterize data processing request is operated from the input of input unit, When acquisition electronic equipment use state parameter characterize data processing request generation from user to the defeated of input unit When entering to operate, that is, the data processing request that electronic equipment obtains is not to be generated by user to the input operation of input unit, this When, the use state parameter of acquisition meets condition, and controlling electronic devices forbids response data processing request;When the electronics of acquisition is set When the generation of standby use state parameter characterization data processing request operates the input of input unit from user, that is, electronics The data processing request that equipment obtains is to be generated by user to the input operation of input unit, at this point, the use state obtained Parameter is unsatisfactory for condition, the processing request of controlling electronic devices response data;Concrete implementation mode is illustrated in fig. 3 shown below.
In addition, in the above-described embodiments, when judging whether the use state parameter obtained meets condition, can also pass through Judge whether the use state parameter of the output device obtained characterizes that output device is in running order, when the output device of acquisition Use state parameter characterization output device when being not in working condition, at this point, the use state parameter obtained meets condition, control Electronic equipment processed forbids response data processing request;When the use state parameter characterization output device of the output device of acquisition is in When working condition, at this point, the use state parameter obtained is unsatisfactory for condition, the processing request of controlling electronic devices response data;Tool The implementation of body is illustrated in fig. 4 shown below.
In addition, in the above-described embodiments, when judging whether the use state parameter obtained meets condition, can also pass through Judge whether the generation of characterize data processing request operates the use state parameter obtained from the input of input unit simultaneously, with And judge whether the use state parameter of the output device obtained characterizes that output device is in running order, when the electronics of acquisition is set The generation that characterize data processing is not requested of standby use state parameter operates the input of input unit from user, and obtain When the use state parameter characterization output device of output device is not in working condition, at this point, the use state parameter obtained is full Sufficient condition, controlling electronic devices forbid response data processing request;When the use state parameter characterization number of the electronic equipment of acquisition The input of input unit is operated from user according to the generation of processing request, and/or the use state ginseng of the output device obtained When number characterization output device is in running order, at this point, the use state parameter obtained is unsatisfactory for condition, controlling electronic devices is rung Answer data processing request;Concrete implementation mode is illustrated in fig. 5 shown below.
As shown in figure 3, a kind of implementation flow chart of the control method embodiment 3 provided for the disclosure, this method are suitable for It is able to carry out in the electronic equipment of data processing, such as mobile phone, pad or laptop, correspondingly, the method in the present embodiment It may comprise steps of:
Step 301 obtains data processing request;
Electronic equipment can execute corresponding control when obtaining data processing request to request in the present embodiment.Wherein, it obtains Data processing request include that can make electronic equipment there are the requests of potential hazard, or electronic equipment will not be made there are potential danger Harmful request.Such as, when data processing request, which meets user, to be intended to, the data processing request of acquisition will not be such that electronic equipment exists It is potentially hazardous;When data processing request, which does not meet user, to be intended to, the data processing request of acquisition can be such that electronic equipment exists It is potentially hazardous.
Wherein, the request of acquisition can be used for handling the data of electronic equipment, e.g., to the data in electronic equipment It the processing such as deleted, compressed, or carrying out the processing such as uplink transmission data and/or downlink transmission data in the electronic device.
Wherein, the request of acquisition can be initiated by that can establish communication linkage with electronic equipment, e.g., server etc., It can also be initiated by the way that the input unit of connection can be established with electronic equipment, e.g., keyboard, mouse etc..When needing to set to electronics When standby data are handled, data processing request is generated.
Whether what step 302, acquisition characterize data processing were requested generates according to the ginseng for inputting operation from input unit Number;
It after obtaining data processing request, further gets parms, wherein the parameter of acquisition can characterize the data of generation Whether processing request is according to the input operation from input unit.For example, whether the request of data that characterization generates is defeated according to keyboard Enter, mouse input, touch track input, space gesture inputs or the input operation of all kinds of input units acquisitions such as voice input.
Wherein, judge the generation of data processing request whether according to the input from input unit in the parameter by obtaining When operation, it can be judged by the mark of the parameter to acquisition.For example, showing this when the parameter identification got is 1 When data processing request generated by input to input unit operation.Such as, user inputs downloading electronic equipment figure by voice The operation of piece generates the request of picture in downloading electronic equipment.When the parameter identification got is 0, show the data obtained Processing request is not to operate generation by the input of input unit.Such as, number is initiated by the server communicated to connect with electronic equipment It is requested according to processing.
It should be noted that the input unit is local device, it does not include communication device, such as: antenna, network interface card or indigo plant The communication devices such as tooth.
If the generation of step 303, characterize data processing request is forbidden according to the input operation from input unit Response data processing request;
In the present embodiment, when the data processing request that electronic equipment is got is operated by the input to input unit When generation, electronic equipment is forbidden responding the data transfer request got at this time.Such as, when the downloading electronic equipment picture got Request, be not when being inputted to generate by input unit by user, to forbid responding asking for from electronic equipment download pictures at this time It asks, can effectively avoid the picture in consumer electronic devices from being compromised at this time.Alternatively, asking when the upload application got It asks, is not when being inputted to generate by input unit by user, to forbid responding the request that application is uploaded to electronic equipment at this time, this When can effectively avoid the application transport by malicious downloading into electronic equipment.
If the generation of step 304, characterize data processing request is according to the input operation from input unit, number of responses It is requested according to processing.
In the present embodiment, when the data processing request that electronic equipment is got is produced by the input operation to input unit When raw, electronic equipment responds the data transfer request got at this time.Such as, asking when the downloading electronic equipment picture got It asks, is when being inputted to generate by input unit by user, to respond the request of the download pictures from electronic equipment at this time, can be realized The demand of user's download pictures.Alternatively, being to be inputted to generate by input unit by user when the request of the upload application got When, the request that application is uploaded to electronic equipment is responded at this time, can be realized the application installation of user demand to electronic equipment.
It should be noted that in the present embodiment, it is unsatisfactory for condition in use state parameter, response data processing request In the process, it if electronic equipment use state occurs again when meeting Parameter Conditions, can continue to execute at response data at this time Reason request, can also be by response data processing request pause, until continuing when electronic equipment use state is unsatisfactory for Parameter Conditions Execute response data processing request.For example, when user generates the request of downloading electronic equipment picture by input unit, if During downloading electronic equipment picture, there is blank screen in electronic equipment, can continue to download electronic equipment picture at this time, until Downloading is completed, and can also suspend downloading electronic equipment picture at this time, is continuing to download electronic equipment when electronic equipment bright screen Picture.
In conclusion in the above-described embodiments, by judging the generation of data processing request whether from input unit Input operation uses different control modes to the data processing request in electronic equipment according to different judging results, only When input operation of the generation of data processing request from input unit, data are only worked as in the processing request of ability response data When operate by user to the input of input unit, the processing of ability response data is requested for the generation of processing request, effectively prevent with In the unwitting situation in family, privacy is invaded, and the user experience is improved.
As shown in figure 4, a kind of implementation flow chart of the control method embodiment 4 provided for the disclosure, this method are suitable for It is able to carry out in the electronic equipment of data processing, such as mobile phone, pad or laptop, correspondingly, the method in the present embodiment It may comprise steps of:
Step 401 obtains data processing request;
Electronic equipment can execute corresponding control when obtaining data processing request to request in the present embodiment.Wherein, it obtains Data processing request include that can make electronic equipment there are the requests of potential hazard, or electronic equipment will not be made there are potential danger Harmful request.Such as, when data processing request, which meets user, to be intended to, the data processing request of acquisition will not be such that electronic equipment exists It is potentially hazardous;When data processing request, which does not meet user, to be intended to, the data processing request of acquisition can be such that electronic equipment exists It is potentially hazardous.Wherein, data of the request of acquisition for electronic equipment are handled, e.g., to the data in electronic equipment It the processing such as deleted, compressed, or carrying out the processing such as uplink transmission data and/or downlink transmission data in the electronic device. Wherein, the request of acquisition can be initiated by that can establish communication linkage with electronic equipment, and e.g., server etc. can also lead to Cross the input unit initiation that connection can be established with electronic equipment, e.g., keyboard, mouse etc..When needing the data to electronic equipment When being handled, data processing request is generated.
Step 402, the use state parameter for obtaining output device, wherein the use state parameter of output device is used for table Whether in running order levy output device;
After obtaining data processing request, the use state parameter of output device is further obtained.Wherein, the output Device is multi-media output device, e.g., image output device or audio output device etc..Pass through the use of the output device of acquisition State parameter can judge that current output device is in running order or off working state.For example, when the use state obtained Parameter characterization image output device shows that image output device is in running order when exporting image at this time;Alternatively, when obtaining Use state parameter characterization audio output device when exporting audio, show that audio output device is in running order at this time.
Step 403, output device use state parameter characterization output device be in off working state, forbid response data Processing request;
When output device is in off working state, forbid response data processing request at this time.That is, when output device is in When off working state, show that user is not currently using electronic equipment, at this time if response data processing request can have electronics Risk of the equipment by malicious requests.Such as, when electronic equipment is in black state, and does not have audio output, if rung at this time The request that data should be deleted may result in the unwitting situation of user, the data in electronic equipment accidentally deleted.
Step 404, the use state parameter characterization output device of output device are in running order, and response data processing is asked It asks.
When output device is in running order, the request of response data processing at this time.That is, when output device is in work shape When state, show user currently using electronic equipment, the request of response data processing at this time.Such as, when user is being set by electronics When standby viewing video, the request that the video resource that will acquire is uploaded to electronic equipment can be responded at this time.
It should be noted that in the present embodiment, the mistake of response data processing request in running order in output device Cheng Zhong can continue to execute response data processing request if output device enters off working state at this time, can also be by sound Data processing request is answered to suspend, until continuing to execute response data processing request when output device is again at working condition.Example Such as, when user is when watching video by image output device, and being downloaded simultaneously to the video of viewing, if regarded in downloading During frequency, image output device enters off working state, can continue foradownloaded video at this time, until downloading is completed, at this time Foradownloaded video can also be suspended, continuing foradownloaded video when image output device is again at working condition.
In conclusion in the above-described embodiments, by judging whether output device is in running order, being sentenced according to different Disconnected result uses different control modes to the data processing request in electronic equipment, only when output device is in running order When, the processing request of ability response data effectively prevents in the unwitting situation of user, privacy is invaded, and user is improved Experience.
As shown in figure 5, a kind of implementation flow chart of the control method embodiment 5 provided for the disclosure, this method are suitable for It is able to carry out in the electronic equipment of data processing, such as mobile phone, pad or laptop, correspondingly, the method in the present embodiment It may comprise steps of:
Step 501 obtains data processing request;
Electronic equipment can execute corresponding control when obtaining data processing request to request in the present embodiment.Wherein, it obtains Data processing request include that can make electronic equipment there are the requests of potential hazard, or electronic equipment will not be made there are potential danger Harmful request.Such as, when data processing request, which meets user, to be intended to, the data processing request of acquisition will not be such that electronic equipment exists It is potentially hazardous;When data processing request, which does not meet user, to be intended to, the data processing request of acquisition can be such that electronic equipment exists It is potentially hazardous.
Wherein, the request of acquisition can be used for handling the data of electronic equipment, e.g., to the data in electronic equipment It the processing such as deleted, compressed, or carrying out the processing such as uplink transmission data and/or downlink transmission data in the electronic device.
Wherein, the request of acquisition can be initiated by that can establish communication linkage with electronic equipment, e.g., server etc., It can also be initiated by the way that the input unit of connection can be established with electronic equipment, e.g., keyboard, mouse etc..When needing to set to electronics When standby data are handled, data processing request is generated.
Whether what step 502, acquisition characterize data processing were requested generates according to the ginseng for inputting operation from input unit Number;
It after obtaining data processing request, further gets parms, wherein the parameter of acquisition can characterize the data of generation Whether processing request is according to the input operation from input unit.For example, whether the request of data that characterization generates is defeated according to keyboard Enter, mouse input, touch track input, space gesture inputs or the input operation of all kinds of input units acquisitions such as voice input.
Wherein, judge the generation of data processing request whether according to the input from input unit in the parameter by obtaining When operation, it can be judged by the mark of the parameter to acquisition.For example, showing this when the parameter identification got is 1 When data processing request generated by input to input unit operation.Such as, user inputs downloading electronic equipment figure by voice The operation of piece generates the request of picture in downloading electronic equipment.When the parameter identification got is 0, show the data obtained Processing request is not to operate generation by the input of input unit.Such as, number is initiated by the server communicated to connect with electronic equipment It is requested according to processing.
It should be noted that the input unit is local device, it does not include communication device, such as: antenna, network interface card or indigo plant The communication devices such as tooth.
Step 503, the use state parameter for obtaining output device, wherein the use state parameter of output device is used for table Whether in running order levy output device;
After obtaining data processing request, the use state parameter of output device is further obtained.Wherein, the output Device is multi-media output device, e.g., image output device or audio output device etc..Pass through the use of the output device of acquisition State parameter can judge that current output device is in running order or off working state.For example, when the use state obtained Parameter characterization image output device shows that image output device is in running order when exporting image at this time;Alternatively, when obtaining Use state parameter characterization audio output device when exporting audio, show that audio output device is in running order at this time.
If the generation of step 504, characterize data processing request is not input operation of the foundation from input unit, and defeated The use state parameter characterization output device of device is in off working state out, forbids response data processing request;
It after obtaining data processing request, further gets parms, wherein the parameter of acquisition can characterize the data of generation Whether processing request is according to the input operation from input unit.For example, whether the request of data that characterization generates is defeated according to keyboard Enter, mouse input, touch track input, space gesture inputs or the input operation of all kinds of input units acquisitions such as voice input.
Meanwhile judging whether output device is in running order by the use state parameter of the output device of acquisition, when When output device is in off working state, show that user is not currently using electronic equipment.
When the generation of characterize data processing request is not (e.g., to obtain downloading electricity according to the input operation from input unit The request of picture in sub- equipment is not to operate generation by the input of input unit by user), and the use shape of output device (e.g., image output device does not export image or audio output at this time when state parameter characterization output device is in off working state Device does not export audio at this time), show at this time if response data processing request, does not meet the intention of user, electronics can be made to set It is standby that there are potentially hazardous.Such as, the picture in electronic equipment is downloaded at this time, there can be the electronics in the unwitting situation of user Picture in equipment is compromised.
If step 505, characterize data processing request generation according to from input unit input operation and/or it is defeated The use state parameter characterization output device of device is in running order out, response data processing request.
When the generation of characterize data processing request is according to the input operation from input unit, e.g., what electronic equipment obtained Data processing request is the request for downloading the picture in electronic equipment generated by user by the input operation of input unit, At this point, at this time if response data processing request, meets user's intention, will not making electronic equipment, there are potentially hazardous.Alternatively, The use state parameter characterization output device of output device is in running order, and e.g., it is defeated that user is watching image output device Video out is the response data processing request in the case where user knows at this point, showing that electronic equipment is used in user, Will not making electronic equipment, there are potentially hazardous.Alternatively, when the generation of characterize data processing request is according to from input unit Input operation, and device out use state parameter characterization output device it is in running order when, e.g., the number that electronic equipment obtains It is requested according to processing, is the request for inputting the picture in the downloading electronic equipment that operation generates by user by input unit, and User is watching the video of image output device output at this time, at this point, showing that user is used at electronic equipment and data Reason request is issued by user, is the response data processing request in the case where user knows, electronic equipment will not be made to exist latent Harm.
It should be noted that in the above-described embodiments, coming from input unit in the generation foundation of characterize data processing request Input operation, and the use state parameter characterization output device of output device is in running order, response data processing request During, if output device enters off working state, response data processing request can be suspended at this time, until output device When being again introduced into working condition, data processing request is proceeded to respond to.
On the basis of above-mentioned output device in running order response data processing request embodiment, there is output content In the case where information, the prompt information different from content information can also be further exported, for prompting user to respond in time Data processing request;Concrete implementation mode is illustrated in fig. 6 shown below.
As shown in fig. 6, a kind of implementation flow chart of the control method embodiment 6 provided for the disclosure, this method are suitable for It is able to carry out in the electronic equipment of data processing, such as mobile phone, pad or laptop, correspondingly, the method in the present embodiment It may comprise steps of:
Step 601, in the case where outputting content information, obtain data processing request;
It, can be to request when electronic equipment obtains data processing request in the case where outputting content information in the present embodiment Execute corresponding control.Wherein, outputting content information refers to that current electronic device is passing through output device output information, e.g., The video in Video Applications is exported by multi-media output device.
Wherein, the data processing request of acquisition includes that can make electronic equipment there are the requests of potential hazard, or will not make electricity There are the requests of potential hazard for sub- equipment.Such as, when data processing request, which meets user, to be intended to, the data processing request of acquisition is not Making electronic equipment, there are potentially hazardous;When data processing request, which does not meet user, to be intended to, the data processing request of acquisition Making electronic equipment, there are potentially hazardous.
Wherein, data of the request of acquisition for electronic equipment are handled, and e.g., are carried out to the data in electronic equipment The processing such as deletion, compression, or the processing such as uplink transmission data and/or downlink transmission data is carried out in the electronic device.Wherein, The request of acquisition can be initiated by that can establish communication linkage with electronic equipment, and e.g., server etc. can also be by can The input unit for establishing connection with electronic equipment is initiated, e.g., keyboard, mouse etc..When needing at the data to electronic equipment When reason, data processing request is generated.
Step 602, the use state parameter for obtaining output device, wherein the use state parameter of output device is used for table Whether in running order levy output device;
After obtaining data processing request, the use state parameter of output device is further obtained.Wherein, the output Device is multi-media output device, e.g., image output device or audio output device etc..Pass through the use of the output device of acquisition State parameter can judge that current output device is in running order or off working state.For example, when the use state obtained Parameter characterization image output device shows that image output device is in running order when exporting image at this time;Alternatively, when obtaining Use state parameter characterization audio output device when exporting audio, show that audio output device is in running order at this time.
Step 603, the use state parameter characterization output device of output device are in running order, and response data processing is asked It asks;
When output device outputting content information is in running order, the request of response data processing at this time.That is, when output dress When setting in running order, show user currently using electronic equipment, the request of response data processing at this time.Such as, when user just When watching video by electronic equipment, the request that the video resource that will acquire is uploaded to electronic equipment can be responded at this time.
It should be noted that in the present embodiment, the mistake of response data processing request in running order in output device Cheng Zhong can continue to execute response data processing request if output device enters off working state at this time, can also be by sound Data processing request is answered to suspend, until continuing to execute response data processing request when output device is again at working condition.Example Such as, when user is when watching video by image output device, and being downloaded simultaneously to the video of viewing, if regarded in downloading During frequency, image output device enters off working state, can continue foradownloaded video at this time, until downloading is completed, at this time Foradownloaded video can also be suspended, continuing foradownloaded video when image output device is again at working condition.
Step 604, output are different from the prompt information of content information, wherein prompt information is for characterizing response data Processing request.
It is in running order in output device outputting content information, and after response data processing request, further export table The prompt information of the sign request of response data processing.It should be noted that the content of the prompt information of output is different from output dress Set the content of output.Such as, when the content information of output device output is video information, data processing request is downloading electronic equipment When picture, at this point, the prompt information of output is that characterization is downloading electronic equipment picture.It should be noted that the prompt of output The content of information is different from the content that output device exports, but the type of the prompt information exported can be with output device output The type of content information is identical.For example, can will be characterized just at this time when the content information of output device output is video information Show that on an electronic device, the content in prompting frame is in the form of prompting frame in the prompt information of downloading electronic equipment picture " just in download pictures ".Alternatively, when the content information of output device output is audio-frequency information, as audio output device is being broadcast It puts the music on, can export the prompt information that characterization is downloading electronic equipment picture in the form of audio at this time, e.g., output The audio of " just in download pictures ".The type phase for the content information that the type of the prompt information of output is exported with output device Match, the data processing request that user knows current electronic device response can be easily facilitated.
In conclusion on the basis of the above embodiments, the present embodiment further after response data processing request, exports Different from the prompt information of the content information of output device output, can be known currently convenient for user by the prompt information exported The data processing request of electronic equipment response, further the user experience is improved.
Specifically, one of implementation that above-mentioned output is different from the prompt information of content information may is that when defeated Content information out is the information of the first application, and data processing request is when generating different from the second application of the first application, Just output is different from the prompt information of content information.That is, only when the application of outputting content information and generation data processing request Using it is different when, response data processing request after, just export different from content information prompt information;Concrete implementation side Formula is illustrated in fig. 7 shown below.
As shown in fig. 7, a kind of control method embodiment 7 provided on the basis of above method embodiment 6 for the disclosure Implementation flow chart, this method is suitable for the electronic equipment for being able to carry out data processing, such as mobile phone, pad or laptop Deng correspondingly, the method in the present embodiment may comprise steps of:
Step 701, in the case where outputting content information, obtain data processing request;
Step 702, the use state parameter for obtaining output device, wherein the use state parameter of output device is used for table Whether in running order levy output device;
Step 703, the use state parameter characterization output device of output device are in running order, and response data processing is asked It asks;
If step 704, content information are the information of the first application, and data processing request is that the second application generates, Then output is different from the prompt information of content information, wherein and prompt information has responded the data processing request for characterizing, the One application and the second application are different.
In the information that the content information of output device output is the first application, data processing request is that the second application generates, And after response data processing request, further output characterizes the prompt information of the request of response data processing.For example, output device The content information of output is the video information of Video Applications, and data processing request is the acquisition chat record generated by social application Request when, export " obtaining chat record " prompt information.That is, in the present embodiment, if output device The content information of output is the information of the first application, and data processing request is also that the first application generates, at this time in response data After processing request, prompt information will not be generated.For example, the content information in output device output is believed for the video of Video Applications Breath, when data processing request is the related resource that Video Applications obtain video information, due to that will not be made at this time to the privacy of user At infringement, therefore, to avoid user, when watching video, constantly pop-up obtains the prompt information of video information related resource, After response data processing request, prompt information will not be generated, while protecting privacy of user, further improves user's body It tests.
It should be noted that the content of the prompt information of output is different from the content of output device output.Such as, when output fills The content information for setting output is video information, when data processing request is downloading electronic equipment picture, at this point, the prompt letter of output Breath is downloading electronic equipment picture for characterization.
It should be noted that the content of the prompt information of output is different from the content that output device exports, but what is exported mentions Show that the type of information can be identical as the type of content information that output device exports.For example, when the content of output device output When information is video information, the prompt information that characterization is downloading electronic equipment picture can be shown in the form of prompting frame at this time Show on an electronic device, the content in prompting frame is " just in download pictures ".Alternatively, when the content information of output device output is When audio-frequency information, if audio output device is playing music, characterization can downloaded into mentioning for electronic equipment picture at this time Show that information is exported in the form of audio, e.g., exports the audio of " just in download pictures ".By the type of the prompt information of output with it is defeated The type of the content information of device output matches out, can easily facilitate user and know at the data of current electronic device response Reason request.
In the above-described embodiment, after forbidding response data processing request, it can also further record and be prohibited to respond Application and/or access parameter in request of data, and the application of record and/or access parameter are exported and checked for user.It needs Illustrate, when exporting the application recorded and/or accessing parameter, can be record instant output later, be also possible to work as and obtain The use state parameter obtained is unsatisfactory for exporting again when condition again.One such specific implementation is illustrated in fig. 8 shown below.
As shown in figure 8, a kind of control method embodiment 8 provided on the basis of above method embodiment 1 for the disclosure Implementation flow chart, this method is suitable for the electronic equipment for being able to carry out data processing, such as mobile phone, pad or laptop Deng, correspondingly, method in the present embodiment is after step 103 forbids response data processing request, can with the following steps are included:
Step 801, record application and/or access parameter;
After forbidding response data processing request, the application being prohibited in response data request can also be further recorded And/or access parameter.For example, data processing request is to download the chat record of social application, forbidding downloading social application After chat record, the chat record information of the social application and the social application is recorded.Alternatively, output processing request The external address parameter of the application will be transmitted after forbidding application transport to electronic equipment for transmission application to electronic equipment It is recorded.
Based on the above embodiments, in concrete implementation mode, the data processing when electronic equipment is got can be Request is not when being generated by the input operation to input unit, at this point it is possible to which further record is prohibited response data request In application and/or access parameter.It can also be that working as output device is in off working state, forbid response data processing request Afterwards, further record is prohibited application and/or access parameter in response data request.
If step 802, state parameter are unsatisfactory for condition, the application and/or access parameter of record are exported.
When state parameter is unsatisfactory for condition, in energy response data processing request, exports and response data processing is being forbidden to ask The application and/or access parameter recorded after asking.
By again can response data processing request when, export the application that records after forbidding response data processing request And/or access parameter, can know specifically which data processing request is prohibited to respond convenient for user, and relative to record Just the application and/or access parameter of output record immediately later, can further function as and save electronics processors performance Effect.For example, when user reuses electronic equipment, by the social application of record and the chat record information of social application The case where being shown, being known convenient for user by unauthorized access.
Based on the above embodiments, in concrete implementation mode, it can be electronic equipment and be again at characterize data When the generation of reason request is input operation of the foundation from input unit, what output recorded after forbidding response data processing request Using and/or access parameter.It can also be when output device is again at working condition, output is forbidding response data to handle The application and/or access parameter recorded after request.
It should be noted that can also be after record application and/or access parameter in concrete implementation mode, and When by record application and/or access parameter output, that is, without exporting record again until state parameter is unsatisfactory for condition Using and/or access parameter, convenient for user's timely learning by unauthorized access the case where.
As shown in figure 9, a kind of structural schematic diagram of the control device embodiment 1 provided for the disclosure, the control device is suitable For being able to carry out in the electronic equipment of data processing, such as mobile phone, pad or laptop, correspondingly, in the present embodiment Control device may include:
Request unit 901, for obtaining data processing request;
Electronic equipment can execute corresponding control when obtaining data processing request to request in the present embodiment.Wherein, it obtains Data processing request include that can make electronic equipment there are the requests of potential hazard, or electronic equipment will not be made there are potential danger Harmful request.Such as, when data processing request, which meets user, to be intended to, the data processing request of acquisition will not be such that electronic equipment exists It is potentially hazardous;When data processing request, which does not meet user, to be intended to, the data processing request of acquisition can be such that electronic equipment exists It is potentially hazardous.Wherein, the data processing request of acquisition can be initiated by that can establish communication linkage with electronic equipment, Such as, server etc. can also be initiated by that can establish the input unit of connection with electronic equipment, e.g., keyboard, mouse etc..When When needing to handle the data of electronic equipment, data processing request is generated.
Parameter acquiring unit 902, for obtaining use state parameter, wherein use state parameter can be used to characterize electronics Use state locating for equipment;
After obtaining data processing request, the use state ginseng that energy characterization of electronic equipment is presently in state is further obtained Number.Such as, use parameter of the electronic equipment under black state is obtained, or obtains use ginseng of the electronic equipment under bright screen state Number.Wherein, it can judge that electronic equipment is currently at use state or non-working condition by the use state parameter of acquisition.? In the present embodiment, the use state or non-working condition being presently in by electronic equipment can judge the data processing obtained Whether request meets the intention of user.
Forbid unit 903, if meeting condition for use state parameter, forbids response data processing request;
In the present embodiment, when the use state parameter of acquisition meets condition, controlling electronic devices forbids response to obtain at this time The data processing request obtained.Wherein, use state parameter meets condition, and characterization is not at this time if response data processing request, is inconsistent The intention at family is shared, making electronic equipment, there are potentially hazardous.For example, electronic equipment is at non-working condition (black state) Under, request of data be not killed virus automatically by Client-initiated to electronic equipment, automatic compressed data, be automatically deleted data, or It is automatic to establish search index etc., in this case, if response data is requested, there can be waste electronics processors The problems such as energy, electric energy or network bandwidth.Therefore, in this case, meeting controlling electronic devices forbids response data processing to ask It asks, so as to effectively avoid making electronic equipment from there is harm.
Response unit 904, if being unsatisfactory for condition, response data processing request for use state parameter.
In the present embodiment, when the use state parameter of acquisition is unsatisfactory for condition, controlling electronic devices response at this time is obtained Data processing request.Wherein, use state parameter is unsatisfactory for condition, and characterization is at this time if response data processing request, meets The data processing of user is intended to, and under such state, electronic equipment can be made to carry out normal data processing.For example, when deleting When the request of data is initiated by user, electronic equipment response data removal request, will not be such that electronic equipment is compromised at this time.It is comprehensive It is upper described, in the above-described embodiments, when getting data processing request, pass through capable of being used for locating for characterization of electronic equipment for acquisition The parameter of use state judge the state of electronic equipment, when state parameter meets condition, response data processing is forbidden to ask It asks, when state parameter is unsatisfactory for condition, response data processing request;Use state that can be different according to electronic equipment, sentences Whether disconnected data processing request meets user's intention, and when data processing request does not meet user's intention, controlling electronic devices is prohibited Only response data processing request, effectively prevents that electronic equipment is made to there are problems that potential hazard.
As shown in Figure 10, a kind of structural schematic diagram of the control device embodiment 2 provided for the disclosure, the control device are suitable For being able to carry out in the electronic equipment of data processing, such as mobile phone, pad or laptop, correspondingly, in the present embodiment Control device may include:
Request unit 1001, for obtaining data transfer request;
Electronic equipment can execute corresponding control when obtaining data transfer request to request in the present embodiment.Wherein, number It can be used for uplink transmission data in the electronic device and/or downlink transmission data according to transmission request.For example, data transfer request is used Data in downloading electronic equipment, or application transport for that will download is into electronic equipment.
Wherein, the data transfer request of acquisition includes that can make electronic equipment there are the requests of potential hazard, or will not make electricity There are the requests of potential hazard for sub- equipment.Such as, when data transfer request meets when user is intended to (for example, data transfer request is By the request of the picture in Client-initiated downloading electronic equipment picture library), the data transfer request of acquisition will not make electronic equipment There are potentially hazardous;When data transfer request is not met when user is intended to (for example, data transfer request is initiated by user Downloading electronic equipment picture library in picture request), the data transfer request of acquisition can make electronic equipment there is potential danger Evil.
Wherein, the data transfer request of acquisition can be initiated by that can establish communication linkage with electronic equipment, e.g., clothes Business device can also be initiated by that can establish the input unit of connection with electronic equipment, e.g., keyboard, mouse etc..When needs are in electricity When carrying out data transmission in sub- equipment, data transfer request is generated.
Parameter acquiring unit 1002, for obtaining use state parameter, wherein use state parameter can be used to characterize electronics Use state locating for equipment;
After obtaining data transfer request, the use state ginseng that energy characterization of electronic equipment is presently in state is further obtained Number.Such as, use parameter of the electronic equipment under black state is obtained, or obtains use ginseng of the electronic equipment under bright screen state Number.Wherein, it can judge that electronic equipment is currently at use state or non-working condition by the use state parameter of acquisition.? In the present embodiment, the use state or non-working condition being presently in by electronic equipment can judge the data obtained transmission Whether request meets the intention of user.
Forbid unit 1003, if meeting condition for use state parameter, forbids response data transmission request;
In the present embodiment, when the use state parameter of acquisition meets condition, controlling electronic devices forbids response to obtain at this time The data transfer request obtained.Wherein, use state parameter meets condition, and characterization is not at this time if response data transmission request, is inconsistent The intention at family is shared, making electronic equipment, there are potentially hazardous.For example, data transfer request is downloaded by Client-initiated Data in electronic equipment or by the application transport of downloading to electronic equipment, in this case, if response data transmission is asked It asks, the harm that private data in the electronic device is compromised can be deposited, or there is malice for the application transport of downloading to electricity The harm of sub- equipment.Therefore, in this case, meeting controlling electronic devices forbids response data transmission request, so as to have Effect avoid making electronic equipment by private data leakage harm or malicious downloading application transport to electronic equipment harm.
Response unit 1004, if being unsatisfactory for condition, response data transmission request for use state parameter.
In the present embodiment, when the use state parameter of acquisition is unsatisfactory for condition, controlling electronic devices response at this time is obtained Data transfer request.Wherein, use state parameter is unsatisfactory for condition, at this time if response data transmission request, meets user Data transmit and be intended to, under such state, electronic equipment can be made to carry out normal data transmission.For example, data transmission is asked Seeking Truth is by the data in Client-initiated downloading electronic equipment or by the application transport of downloading to electronic equipment, in such case Under, if response data transmission request, will not be such that electronic equipment is compromised.
In conclusion in the above-described embodiments, when getting data transfer request, can be used to characterize electricity by acquisition The parameter of use state locating for sub- equipment judges that the state of electronic equipment forbids responding when state parameter meets condition Data transfer request, when state parameter is unsatisfactory for condition, response data transmission request;Condition can be met in state parameter When, forbid responding uplink transmission data and/or downlink transmission data, effectively avoid private data in electronic equipment by Leakage, and effectively avoids the application transport by malicious downloading into electronic equipment, correspondingly, can state parameter not When meeting condition, normal response data transmission request.
It should be noted that in the above-described embodiments, it, can when judging whether the use state parameter obtained meets condition With by the use state parameter for judging to obtain, whether the generation of characterize data processing request is operated from the input of input unit, When acquisition electronic equipment use state parameter characterize data processing request generation from user to the defeated of input unit When entering to operate, that is, the data processing request that electronic equipment obtains is not to be generated by user to the input operation of input unit, this When, the use state parameter of acquisition meets condition, and controlling electronic devices forbids response data processing request;When the electronics of acquisition is set When the generation of standby use state parameter characterization data processing request operates the input of input unit from user, that is, electronics The data processing request that equipment obtains is to be generated by user to the input operation of input unit, at this point, the use state obtained Parameter is unsatisfactory for condition, the processing request of controlling electronic devices response data;Concrete implementation mode is illustrated in fig. 11 shown below.
In addition, in the above-described embodiments, when judging whether the use state parameter obtained meets condition, can also pass through Judge whether the use state parameter of the output device obtained characterizes that output device is in running order, when the output device of acquisition Use state parameter characterization output device when being not in working condition, at this point, the use state parameter obtained meets condition, control Electronic equipment processed forbids response data processing request;When the use state parameter characterization output device of the output device of acquisition is in When working condition, at this point, the use state parameter obtained is unsatisfactory for condition, the processing request of controlling electronic devices response data;Tool The implementation of body is illustrated in fig. 12 shown below.
In addition, in the above-described embodiments, when judging whether the use state parameter obtained meets condition, can also pass through Judge whether the generation of characterize data processing request operates the use state parameter obtained from the input of input unit simultaneously, with And judge whether the use state parameter of the output device obtained characterizes that output device is in running order, when the electronics of acquisition is set The generation that characterize data processing is not requested of standby use state parameter operates the input of input unit from user, and obtain When the use state parameter characterization output device of output device is not in working condition, at this point, the use state parameter obtained is full Sufficient condition, controlling electronic devices forbid response data processing request;When the use state parameter characterization number of the electronic equipment of acquisition The input of input unit is operated from user according to the generation of processing request, and/or the use state ginseng of the output device obtained When number characterization output device is in running order, at this point, the use state parameter obtained is unsatisfactory for condition, controlling electronic devices is rung Answer data processing request;Concrete implementation mode is illustrated in fig. 13 shown below.
As shown in figure 11, a kind of structural schematic diagram of the control device embodiment 3 provided for the disclosure, the control device are suitable For being able to carry out in the electronic equipment of data processing, such as mobile phone, pad or laptop, correspondingly, in the present embodiment Control device may include:
Request unit 1101, for obtaining data processing request;
Electronic equipment can execute corresponding control when obtaining data processing request to request in the present embodiment.Wherein, it obtains Data processing request include that can make electronic equipment there are the requests of potential hazard, or electronic equipment will not be made there are potential danger Harmful request.Such as, when data processing request, which meets user, to be intended to, the data processing request of acquisition will not be such that electronic equipment exists It is potentially hazardous;When data processing request, which does not meet user, to be intended to, the data processing request of acquisition can be such that electronic equipment exists It is potentially hazardous.
Wherein, the request of acquisition can be used for handling the data of electronic equipment, e.g., to the data in electronic equipment It the processing such as deleted, compressed, or carrying out the processing such as uplink transmission data and/or downlink transmission data in the electronic device.
Wherein, the request of acquisition can be initiated by that can establish communication linkage with electronic equipment, e.g., server etc., It can also be initiated by the way that the input unit of connection can be established with electronic equipment, e.g., keyboard, mouse etc..When needing to set to electronics When standby data are handled, data processing request is generated.
Parameter acquiring unit 1102, for whether obtaining the generation of characterize data processing request according to from input unit Input the parameter of operation;
It after obtaining data processing request, further gets parms, wherein the parameter of acquisition can characterize the data of generation Whether processing request is according to the input operation from input unit.For example, whether the request of data that characterization generates is defeated according to keyboard Enter, mouse input, touch track input, space gesture inputs or the input operation of all kinds of input units acquisitions such as voice input.
Wherein, judge the generation of data processing request whether according to the input from input unit in the parameter by obtaining When operation, it can be judged by the mark of the parameter to acquisition.For example, showing this when the parameter identification got is 1 When data processing request generated by input to input unit operation.Such as, user inputs downloading electronic equipment figure by voice The operation of piece generates the request of picture in downloading electronic equipment.When the parameter identification got is 0, show the data obtained Processing request is not to operate generation by the input of input unit.Such as, number is initiated by the server communicated to connect with electronic equipment It is requested according to processing.
It should be noted that the input unit is local device, it does not include communication device, such as: antenna, network interface card or indigo plant The communication devices such as tooth.
Forbid unit 1103, if the generation for characterize data processing request is not according to the input from input unit Response data processing request is forbidden in operation;
In the present embodiment, when the data processing request that electronic equipment is got is operated by the input to input unit When generation, electronic equipment is forbidden responding the data transfer request got at this time.Such as, when the downloading electronic equipment picture got Request, be not when being inputted to generate by input unit by user, to forbid responding asking for from electronic equipment download pictures at this time It asks, can effectively avoid the picture in consumer electronic devices from being compromised at this time.Alternatively, asking when the upload application got It asks, is not when being inputted to generate by input unit by user, to forbid responding the request that application is uploaded to electronic equipment at this time, this When can effectively avoid the application transport by malicious downloading into electronic equipment.
Response unit 1104, if the generation for characterize data processing request is according to the input behaviour from input unit Make, response data processing request.
In the present embodiment, when the data processing request that electronic equipment is got is produced by the input operation to input unit When raw, electronic equipment responds the data transfer request got at this time.Such as, asking when the downloading electronic equipment picture got It asks, is when being inputted to generate by input unit by user, to respond the request of the download pictures from electronic equipment at this time, can be realized The demand of user's download pictures.Alternatively, being to be inputted to generate by input unit by user when the request of the upload application got When, the request that application is uploaded to electronic equipment is responded at this time, can be realized the application installation of user demand to electronic equipment.
It should be noted that in the present embodiment, it is unsatisfactory for condition in use state parameter, response data processing request In the process, it if electronic equipment use state occurs again when meeting Parameter Conditions, can continue to execute at response data at this time Reason request, can also be by response data processing request pause, until continuing when electronic equipment use state is unsatisfactory for Parameter Conditions Execute response data processing request.For example, when user generates the request of downloading electronic equipment picture by input unit, if During downloading electronic equipment picture, there is blank screen in electronic equipment, can continue to download electronic equipment picture at this time, until Downloading is completed, and can also suspend downloading electronic equipment picture at this time, is continuing to download electronic equipment when electronic equipment bright screen Picture.
In conclusion in the above-described embodiments, by judging the generation of data processing request whether from input unit Input operation uses different control modes to the data processing request in electronic equipment according to different judging results, only When input operation of the generation of data processing request from input unit, data are only worked as in the processing request of ability response data When operate by user to the input of input unit, the processing of ability response data is requested for the generation of processing request, effectively prevent with In the unwitting situation in family, privacy is invaded, and the user experience is improved.
As shown in figure 12, a kind of structural schematic diagram of the control device embodiment 4 provided for the disclosure, the control device are suitable For being able to carry out in the electronic equipment of data processing, such as mobile phone, pad or laptop, correspondingly, in the present embodiment Control device may include:
Request unit 1201, for obtaining data processing request;
Electronic equipment can execute corresponding control when obtaining data processing request to request in the present embodiment.Wherein, it obtains Data processing request include that can make electronic equipment there are the requests of potential hazard, or electronic equipment will not be made there are potential danger Harmful request.Such as, when data processing request, which meets user, to be intended to, the data processing request of acquisition will not be such that electronic equipment exists It is potentially hazardous;When data processing request, which does not meet user, to be intended to, the data processing request of acquisition can be such that electronic equipment exists It is potentially hazardous.Wherein, data of the request of acquisition for electronic equipment are handled, e.g., to the data in electronic equipment It the processing such as deleted, compressed, or carrying out the processing such as uplink transmission data and/or downlink transmission data in the electronic device. Wherein, the request of acquisition can be initiated by that can establish communication linkage with electronic equipment, and e.g., server etc. can also lead to Cross the input unit initiation that connection can be established with electronic equipment, e.g., keyboard, mouse etc..When needing the data to electronic equipment When being handled, data processing request is generated.
Parameter acquiring unit 1202, for obtaining the use state parameter of output device, wherein output device uses shape Whether state parameter is in running order for characterizing output device;
After obtaining data processing request, the use state parameter of output device is further obtained.Wherein, the output Device is multi-media output device, e.g., image output device or audio output device etc..Pass through the use of the output device of acquisition State parameter can judge that current output device is in running order or off working state.For example, when the use state obtained Parameter characterization image output device shows that image output device is in running order when exporting image at this time;Alternatively, when obtaining Use state parameter characterization audio output device when exporting audio, show that audio output device is in running order at this time.
Forbid unit 1203, the use state parameter characterization output device for output device is in off working state, prohibits Only response data processing request;
When output device is in off working state, forbid response data processing request at this time.That is, when output device is in When off working state, show that user is not currently using electronic equipment, at this time if response data processing request can have electronics Risk of the equipment by malicious requests.Such as, when electronic equipment is in black state, and does not have audio output, if rung at this time The request that data should be deleted may result in the unwitting situation of user, the data in electronic equipment accidentally deleted.
Response unit 1204, the use state parameter characterization output device for output device is in running order, response Data processing request.
When output device is in running order, the request of response data processing at this time.That is, when output device is in work shape When state, show user currently using electronic equipment, the request of response data processing at this time.Such as, when user is being set by electronics When standby viewing video, the request that the video resource that will acquire is uploaded to electronic equipment can be responded at this time.
It should be noted that in the present embodiment, the mistake of response data processing request in running order in output device Cheng Zhong can continue to execute response data processing request if output device enters off working state at this time, can also be by sound Data processing request is answered to suspend, until continuing to execute response data processing request when output device is again at working condition.Example Such as, when user is when watching video by image output device, and being downloaded simultaneously to the video of viewing, if regarded in downloading During frequency, image output device enters off working state, can continue foradownloaded video at this time, until downloading is completed, at this time Foradownloaded video can also be suspended, continuing foradownloaded video when image output device is again at working condition.
In conclusion in the above-described embodiments, by judging whether output device is in running order, being sentenced according to different Disconnected result uses different control modes to the data processing request in electronic equipment, only when output device is in running order When, the processing request of ability response data effectively prevents in the unwitting situation of user, privacy is invaded, and user is improved Experience.
As shown in figure 13, a kind of structural schematic diagram of the control device embodiment 5 provided for the disclosure, the control device are suitable For being able to carry out in the electronic equipment of data processing, such as mobile phone, pad or laptop, correspondingly, in the present embodiment Control device may include:
Request unit 1301, for obtaining data processing request;
Electronic equipment can execute corresponding control when obtaining data processing request to request in the present embodiment.Wherein, it obtains Data processing request include that can make electronic equipment there are the requests of potential hazard, or electronic equipment will not be made there are potential danger Harmful request.Such as, when data processing request, which meets user, to be intended to, the data processing request of acquisition will not be such that electronic equipment exists It is potentially hazardous;When data processing request, which does not meet user, to be intended to, the data processing request of acquisition can be such that electronic equipment exists It is potentially hazardous.
Wherein, the request of acquisition can be used for handling the data of electronic equipment, e.g., to the data in electronic equipment It the processing such as deleted, compressed, or carrying out the processing such as uplink transmission data and/or downlink transmission data in the electronic device.
Wherein, the request of acquisition can be initiated by that can establish communication linkage with electronic equipment, e.g., server etc., It can also be initiated by the way that the input unit of connection can be established with electronic equipment, e.g., keyboard, mouse etc..When needing to set to electronics When standby data are handled, data processing request is generated.
Parameter acquiring unit 1302, for whether obtaining the generation of characterize data processing request according to from input unit Input the parameter of operation;
After obtaining data processing request, further get parms, wherein the parameter of acquisition can characterize at the data of generation Whether reason request is according to the input operation from input unit.For example, characterization generate request of data whether according to keyboard input, The input operation of all kinds of input unit acquisitions such as mouse input, touch track input, space gesture input or voice input.
Wherein, judge the generation of data processing request whether according to the input from input unit in the parameter by obtaining When operation, it can be judged by the mark of the parameter to acquisition.For example, showing this when the parameter identification got is 1 When data processing request generated by input to input unit operation.Such as, user inputs downloading electronic equipment figure by voice The operation of piece generates the request of picture in downloading electronic equipment.When the parameter identification got is 0, show the data obtained Processing request is not to operate generation by the input of input unit.Such as, number is initiated by the server communicated to connect with electronic equipment It is requested according to processing.
It should be noted that the input unit is local device, it does not include communication device, such as: antenna, network interface card or indigo plant The communication devices such as tooth.
Parameter acquiring unit 1302 is also used to obtain the use state parameter of output device, wherein the use of output device Whether state parameter is in running order for characterizing output device;
After obtaining data processing request, the use state parameter of output device is further obtained.Wherein, the output Device is multi-media output device, e.g., image output device or audio output device etc..Pass through the use of the output device of acquisition State parameter can judge that current output device is in running order or off working state.For example, when the use state obtained Parameter characterization image output device shows that image output device is in running order when exporting image at this time;Alternatively, when obtaining Use state parameter characterization audio output device when exporting audio, show that audio output device is in running order at this time.
Forbid unit 1303, if the generation for characterize data processing request is not according to the input from input unit Operation, and the use state parameter characterization output device of output device is in off working state, forbids response data processing request;
It after obtaining data processing request, further gets parms, wherein the parameter of acquisition can characterize the data of generation Whether processing request is according to the input operation from input unit.For example, whether the request of data that characterization generates is defeated according to keyboard Enter, mouse input, touch track input, space gesture inputs or the input operation of all kinds of input units acquisitions such as voice input.
Meanwhile judging whether output device is in running order by the use state parameter of the output device of acquisition, when When output device is in off working state, show that user is not currently using electronic equipment.
When the generation of characterize data processing request is not (e.g., to obtain downloading electricity according to the input operation from input unit The request of picture in sub- equipment is not to operate generation by the input of input unit by user), and the use shape of output device (e.g., image output device does not export image or audio output at this time when state parameter characterization output device is in off working state Device does not export audio at this time), show at this time if response data processing request, does not meet the intention of user, electronics can be made to set It is standby that there are potentially hazardous.Such as, the picture in electronic equipment is downloaded at this time, there can be the electronics in the unwitting situation of user Picture in equipment is compromised.
Response unit 1304, if the generation for characterize data processing request is according to the input behaviour from input unit Make and/or the use state parameter characterization output device of output device is in running order, response data processing request.
When the generation of characterize data processing request is according to the input operation from input unit, e.g., what electronic equipment obtained Data processing request is the request for downloading the picture in electronic equipment generated by user by the input operation of input unit, At this point, at this time if response data processing request, meets user's intention, will not making electronic equipment, there are potentially hazardous.Alternatively, The use state parameter characterization output device of output device is in running order, and e.g., it is defeated that user is watching image output device Video out is the response data processing request in the case where user knows at this point, showing that electronic equipment is used in user, Will not making electronic equipment, there are potentially hazardous.Alternatively, when the generation of characterize data processing request is according to from input unit Input operation, and device out use state parameter characterization output device it is in running order when, e.g., the number that electronic equipment obtains It is requested according to processing, is the request for inputting the picture in the downloading electronic equipment that operation generates by user by input unit, and User is watching the video of image output device output at this time, at this point, showing that user is used at electronic equipment and data Reason request is issued by user, is the response data processing request in the case where user knows, electronic equipment will not be made to exist latent Harm.
It should be noted that in the above-described embodiments, coming from input unit in the generation foundation of characterize data processing request Input operation, and the use state parameter characterization output device of output device is in running order, response data processing request During, if output device enters off working state, response data processing request can be suspended at this time, until output device When being again introduced into working condition, data processing request is proceeded to respond to.
On the basis of above-mentioned output device in running order response data processing request embodiment, there is output content In the case where information, the prompt information different from content information can also be further exported, for prompting user to respond in time Data processing request;Concrete implementation mode is illustrated in fig. 14 shown below.
As shown in figure 14, a kind of structural schematic diagram of the control device embodiment 6 provided for the disclosure, the control device are suitable For being able to carry out in the electronic equipment of data processing, such as mobile phone, pad or laptop, correspondingly, in the present embodiment Control device may include:
Request unit 1401, for obtaining data processing request in the case where outputting content information;
It, can be to request when electronic equipment obtains data processing request in the case where outputting content information in the present embodiment Execute corresponding control.Wherein, outputting content information refers to that current electronic device is passing through output device output information, e.g., The video in Video Applications is exported by multi-media output device.
Wherein, the data processing request of acquisition includes that can make electronic equipment there are the requests of potential hazard, or will not make electricity There are the requests of potential hazard for sub- equipment.Such as, when data processing request, which meets user, to be intended to, the data processing request of acquisition is not Making electronic equipment, there are potentially hazardous;When data processing request, which does not meet user, to be intended to, the data processing request of acquisition Making electronic equipment, there are potentially hazardous.
Wherein, data of the request of acquisition for electronic equipment are handled, and e.g., are carried out to the data in electronic equipment The processing such as deletion, compression, or the processing such as uplink transmission data and/or downlink transmission data is carried out in the electronic device.Wherein, The request of acquisition can be initiated by that can establish communication linkage with electronic equipment, and e.g., server etc. can also be by can The input unit for establishing connection with electronic equipment is initiated, e.g., keyboard, mouse etc..When needing at the data to electronic equipment When reason, data processing request is generated.
Parameter acquiring unit 1402, for obtaining the use state parameter of output device, wherein output device uses shape Whether state parameter is in running order for characterizing output device;
After obtaining data processing request, the use state parameter of output device is further obtained.Wherein, the output Device is multi-media output device, e.g., image output device or audio output device etc..Pass through the use of the output device of acquisition State parameter can judge that current output device is in running order or off working state.For example, when the use state obtained Parameter characterization image output device shows that image output device is in running order when exporting image at this time;Alternatively, when obtaining Use state parameter characterization audio output device when exporting audio, show that audio output device is in running order at this time.
Response unit 1403, the use state parameter characterization output device for output device is in running order, response Data processing request;
When output device outputting content information is in running order, the request of response data processing at this time.That is, when output dress When setting in running order, show user currently using electronic equipment, the request of response data processing at this time.Such as, when user just When watching video by electronic equipment, the request that the video resource that will acquire is uploaded to electronic equipment can be responded at this time.
It should be noted that in the present embodiment, the mistake of response data processing request in running order in output device Cheng Zhong can continue to execute response data processing request if output device enters off working state at this time, can also be by sound Data processing request is answered to suspend, until continuing to execute response data processing request when output device is again at working condition.Example Such as, when user is when watching video by image output device, and being downloaded simultaneously to the video of viewing, if regarded in downloading During frequency, image output device enters off working state, can continue foradownloaded video at this time, until downloading is completed, at this time Foradownloaded video can also be suspended, continuing foradownloaded video when image output device is again at working condition.
Prompt information output unit 1404, for exporting the prompt information for being different from content information, wherein prompt information is used In the characterization request of response data processing.
It is in running order in output device outputting content information, and after response data processing request, further export table The prompt information of the sign request of response data processing.It should be noted that the content of the prompt information of output is different from output dress Set the content of output.Such as, when the content information of output device output is video information, data processing request is downloading electronic equipment When picture, at this point, the prompt information of output is that characterization is downloading electronic equipment picture.It should be noted that the prompt of output The content of information is different from the content that output device exports, but the type of the prompt information exported can be with output device output The type of content information is identical.For example, can will be characterized just at this time when the content information of output device output is video information Show that on an electronic device, the content in prompting frame is in the form of prompting frame in the prompt information of downloading electronic equipment picture " just in download pictures ".Alternatively, when the content information of output device output is audio-frequency information, as audio output device is being broadcast It puts the music on, can export the prompt information that characterization is downloading electronic equipment picture in the form of audio at this time, e.g., output The audio of " just in download pictures ".The type phase for the content information that the type of the prompt information of output is exported with output device Match, the data processing request that user knows current electronic device response can be easily facilitated.
In conclusion on the basis of the above embodiments, the present embodiment further after response data processing request, exports Different from the prompt information of the content information of output device output, can be known currently convenient for user by the prompt information exported The data processing request of electronic equipment response, further the user experience is improved.
Specifically, one of implementation that above-mentioned output is different from the prompt information of content information may is that when defeated Content information out is the information of the first application, and data processing request is when generating different from the second application of the first application, Just output is different from the prompt information of content information.That is, only when the application of outputting content information and generation data processing request Using it is different when, response data processing request after, just export different from content information prompt information;Concrete implementation side Formula is illustrated in fig. 15 shown below.
As shown in figure 15, a kind of structural schematic diagram of the control device embodiment 7 provided for the disclosure, the control device are suitable For being able to carry out in the electronic equipment of data processing, such as mobile phone, pad or laptop, correspondingly, in the present embodiment Control device may include:
Request unit 1501, for obtaining data processing request in the case where outputting content information;
Parameter acquiring unit 1502, for obtaining the use state parameter of output device, wherein output device uses shape Whether state parameter is in running order for characterizing output device;
Response unit 1503, the use state parameter characterization output device for output device is in running order, response Data processing request;
Prompt information output unit 1504, if for content information being the information of the first application, and data processing request It is that the second application generates, then output is different from the prompt information of content information, wherein prompt information has responded institute for characterizing Data processing request is stated, the first application and second application are different.
In the information that the content information of output device output is the first application, data processing request is that the second application generates, And after response data processing request, further output characterizes the prompt information of the request of response data processing.For example, output device The content information of output is the video information of Video Applications, and data processing request is the acquisition chat record generated by social application Request when, export " obtaining chat record " prompt information.That is, in the present embodiment, if output device The content information of output is the information of the first application, and data processing request is also that the first application generates, at this time in response data After processing request, prompt information will not be generated.For example, the content information in output device output is believed for the video of Video Applications Breath, when data processing request is the related resource that Video Applications obtain video information, due to that will not be made at this time to the privacy of user At infringement, therefore, to avoid user, when watching video, constantly pop-up obtains the prompt information of video information related resource, After response data processing request, prompt information will not be generated, while protecting privacy of user, further improves user's body It tests.
It should be noted that the content of the prompt information of output is different from the content of output device output.Such as, when output fills The content information for setting output is video information, when data processing request is downloading electronic equipment picture, at this point, the prompt letter of output Breath is downloading electronic equipment picture for characterization.
It should be noted that the content of the prompt information of output is different from the content that output device exports, but what is exported mentions Show that the type of information can be identical as the type of content information that output device exports.For example, when the content of output device output When information is video information, the prompt information that characterization is downloading electronic equipment picture can be shown in the form of prompting frame at this time Show on an electronic device, the content in prompting frame is " just in download pictures ".Alternatively, when the content information of output device output is When audio-frequency information, if audio output device is playing music, characterization can downloaded into mentioning for electronic equipment picture at this time Show that information is exported in the form of audio, e.g., exports the audio of " just in download pictures ".By the type of the prompt information of output with it is defeated The type of the content information of device output matches out, can easily facilitate user and know at the data of current electronic device response Reason request.
In the above-described embodiment, after forbidding response data processing request, it can also further record and be prohibited to respond Application and/or access parameter in request of data, and the application of record and/or access parameter are exported and checked for user.It needs Illustrate, when exporting the application recorded and/or accessing parameter, can be record instant output later, be also possible to work as and obtain The use state parameter obtained is unsatisfactory for exporting again when condition again.One such specific implementation is illustrated in fig. 16 shown below.
As shown in figure 16, a kind of control device embodiment 7 provided on the basis of control device embodiment 1 for the disclosure Structural schematic diagram, the control device is suitable for the electronic equipment for being able to carry out data processing, such as mobile phone, pad or notebook Computer etc., correspondingly, the control device in the present embodiment can also include: on the basis of control device embodiment 1
Recording unit 1601, for recording application and/or access parameter;
After forbidding response data processing request, the application being prohibited in response data request can also be further recorded And/or access parameter.For example, data processing request is to download the chat record of social application, forbidding downloading social application After chat record, the chat record information of the social application and the social application is recorded.Alternatively, output processing request The external address parameter of the application will be transmitted after forbidding application transport to electronic equipment for transmission application to electronic equipment It is recorded.
Based on the above embodiments, in concrete implementation mode, the data processing when electronic equipment is got can be Request is not when being generated by the input operation to input unit, at this point it is possible to which further record is prohibited response data request In application and/or access parameter.It can also be that working as output device is in off working state, forbid response data processing request Afterwards, further record is prohibited application and/or access parameter in response data request.
Output unit 1602 exports the application and/or access parameter of record if being unsatisfactory for condition for state parameter.
When state parameter is unsatisfactory for condition, in energy response data processing request, exports and response data processing is being forbidden to ask The application and/or access parameter recorded after asking.
By again can response data processing request when, export the application that records after forbidding response data processing request And/or access parameter, can know specifically which data processing request is prohibited to respond convenient for user, and relative to record Just the application and/or access parameter of output record immediately later, can further function as and save electronics processors performance Effect.For example, when user reuses electronic equipment, by the social application of record and the chat record information of social application The case where being shown, being known convenient for user by unauthorized access.
Based on the above embodiments, in concrete implementation mode, it can be electronic equipment and be again at characterize data When the generation of reason request is input operation of the foundation from input unit, what output recorded after forbidding response data processing request Using and/or access parameter.It can also be when output device is again at working condition, output is forbidding response data to handle The application and/or access parameter recorded after request.
It should be noted that can also be after record application and/or access parameter in concrete implementation mode, and When by record application and/or access parameter output, that is, without exporting record again until state parameter is unsatisfactory for condition Using and/or access parameter, convenient for user's timely learning by unauthorized access the case where.
As shown in figure 17, the structural schematic diagram of a kind of electronic equipment provided for the disclosure, the electronic equipment can be, such as The equipment such as mobile phone, pad or laptop, correspondingly, electronic equipment may include: in embodiment
Memory 1701 runs generated data for storing application program and application program;
Processor 1702, for running the application program to obtain data processing request;
Electronic equipment can execute corresponding control when obtaining data processing request to request in the present embodiment.Wherein, it obtains Data processing request include that can make electronic equipment there are the requests of potential hazard, or electronic equipment will not be made there are potential danger Harmful request.Such as, when data processing request, which meets user, to be intended to, the data processing request of acquisition will not be such that electronic equipment exists It is potentially hazardous;When data processing request, which does not meet user, to be intended to, the data processing request of acquisition can be such that electronic equipment exists It is potentially hazardous.Wherein, the data processing request of acquisition can be initiated by that can establish communication linkage with electronic equipment, Such as, server etc. can also be initiated by that can establish the input unit of connection with electronic equipment, e.g., keyboard, mouse etc..When When needing to handle the data of electronic equipment, data processing request is generated.
Processor 1702, for obtaining use state parameter, wherein use state parameter can be used for characterization of electronic equipment institute The use state at place;
After obtaining data processing request, the use state ginseng that energy characterization of electronic equipment is presently in state is further obtained Number.Such as, use parameter of the electronic equipment under black state is obtained, or obtains use ginseng of the electronic equipment under bright screen state Number.Wherein, it can judge that electronic equipment is currently at use state or non-working condition by the use state parameter of acquisition.? In the present embodiment, the use state or non-working condition being presently in by electronic equipment can judge the data processing obtained Whether request meets the intention of user.
Processor 1702 forbids response data processing request if meeting condition for use state parameter;
In the present embodiment, when the use state parameter of acquisition meets condition, controlling electronic devices forbids response to obtain at this time The data processing request obtained.Wherein, use state parameter meets condition, and characterization is not at this time if response data processing request, is inconsistent The intention at family is shared, making electronic equipment, there are potentially hazardous.For example, electronic equipment is at non-working condition (black state) Under, request of data be not killed virus automatically by Client-initiated to electronic equipment, automatic compressed data, be automatically deleted data, or It is automatic to establish search index etc., in this case, if response data is requested, there can be waste electronics processors The problems such as energy, electric energy or network bandwidth.Therefore, in this case, meeting controlling electronic devices forbids response data processing to ask It asks, so as to effectively avoid making electronic equipment from there is harm.
Processor 1702, if being unsatisfactory for condition, response data processing request for use state parameter.
In the present embodiment, when the use state parameter of acquisition is unsatisfactory for condition, controlling electronic devices response at this time is obtained Data processing request.Wherein, use state parameter is unsatisfactory for condition, and characterization is at this time if response data processing request, meets The data processing of user is intended to, and under such state, electronic equipment can be made to carry out normal data processing.For example, when deleting When the request of data is initiated by user, electronic equipment response data removal request, will not be such that electronic equipment is compromised at this time.
In conclusion in the above-described embodiments, when getting data processing request, can be used to characterize electricity by acquisition The parameter of use state locating for sub- equipment judges that the state of electronic equipment forbids responding when state parameter meets condition Data processing request, when state parameter is unsatisfactory for condition, response data processing request;It can make according to electronic equipment is different With state, judge whether data processing request meets user's intention, when data processing request does not meet user's intention, control electricity Sub- equipment forbids response data processing request, effectively prevents that electronic equipment is made to there are problems that potential hazard.
It should be noted that the principle of other implementations of electronic equipment disclosed in the disclosure and control method embodiment 2~8 is identical, and details are not described herein.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of the present disclosure.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or the scope of the present disclosure.Therefore, the disclosure It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of control method, comprising:
Obtain data processing request;
Use state parameter is obtained, the use state parameter can be used for use state locating for characterization of electronic equipment;
If the use state parameter meets condition, forbid responding the data processing request;
If the use state parameter is unsatisfactory for the condition, the data processing request is responded.
2. according to the method described in claim 1, the acquisition data processing request includes:
Obtain data transfer request.
3. according to the method described in claim 1, the acquisition use state parameter includes:
The generation for characterizing the data processing request is obtained whether according to the parameter for inputting operation from input unit;Accordingly , if the generation for characterizing the data processing request is not to forbid responding according to the input operation from the input unit The data processing request;
Correspondingly, if the generation for characterizing the data processing request is rung according to the input operation from the output device Answer the data processing request.
4. according to the method described in claim 1, the acquisition use state parameter includes:
The use state parameter of output device is obtained, the use state parameter of the output device is for characterizing the output device It is whether in running order;Correspondingly, if output device described in the use state parameter characterization of the output device is in non- Working condition forbids responding the data processing request;
Correspondingly, responding institute if output device described in the use state parameter characterization of the output device is in running order State data processing request.
5. according to the method described in claim 4, the acquisition data processing request includes: the feelings in outputting content information Under condition, the data processing request is obtained;
Wherein after the response data processing request, further includes: output is different from the prompt information of the content information, institute State prompt information for characterize responded the data processing request.
6. according to the method described in claim 5, the prompt information that output is different from the content information includes:
If the content information is the information of the first application, and the data processing request is that the second application generates, then defeated It is different from the prompt information of the content information out;
Wherein, first application and second application are different.
7. according to the method described in claim 1, described forbid after responding the data processing request, further includes:
Record application and/or access parameter;
If the use state parameter is unsatisfactory for condition, the application and/or access parameter of the record are exported.
8. a kind of control device, comprising:
Request unit, for obtaining data processing request;
Parameter acquiring unit, for obtaining use state parameter, the use state parameter can be used for locating for characterization of electronic equipment Use state;
Forbid unit, if meeting condition for the state parameter, forbids responding the data processing request;
Response unit responds the data processing request if being unsatisfactory for the condition for the state parameter.
9. control device according to claim 8, further includes:
Recording unit, for forbidding after responding the data processing request, record application and/or access parameter;
Output unit exports the application and/or access parameter of the record if being unsatisfactory for condition for the state parameter.
10. a kind of electronic equipment, comprising:
Memory runs generated data for storing application program and application program;
Processor, for running the application program to obtain data processing request;
The processor, is also used to obtain use state parameter, and the use state parameter can be used for locating for characterization of electronic equipment Use state;
The processor is forbidden responding the data processing request if being also used to the use state parameter meets condition;
The processor responds the data processing request if being also used to the use state parameter is unsatisfactory for the condition.
CN201811635568.5A 2018-12-29 2018-12-29 Control method and device and electronic equipment Active CN109726552B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811635568.5A CN109726552B (en) 2018-12-29 2018-12-29 Control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811635568.5A CN109726552B (en) 2018-12-29 2018-12-29 Control method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN109726552A true CN109726552A (en) 2019-05-07
CN109726552B CN109726552B (en) 2021-09-14

Family

ID=66296055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811635568.5A Active CN109726552B (en) 2018-12-29 2018-12-29 Control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN109726552B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013079010A1 (en) * 2011-11-29 2013-06-06 腾讯科技(深圳)有限公司 Processing method and device in application running
CN103488939A (en) * 2013-08-30 2014-01-01 小米科技有限责任公司 Method, device and terminal for prompting user
CN104135561A (en) * 2013-07-08 2014-11-05 腾讯科技(深圳)有限公司 Method and device of reminding user of flow of terminal as well as terminal
CN104423871A (en) * 2013-09-10 2015-03-18 联想(北京)有限公司 Information processing method and electronic device
CN107944277A (en) * 2017-11-21 2018-04-20 广东欧珀移动通信有限公司 Using the control method of startup, device, storage medium and intelligent terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013079010A1 (en) * 2011-11-29 2013-06-06 腾讯科技(深圳)有限公司 Processing method and device in application running
CN104135561A (en) * 2013-07-08 2014-11-05 腾讯科技(深圳)有限公司 Method and device of reminding user of flow of terminal as well as terminal
CN103488939A (en) * 2013-08-30 2014-01-01 小米科技有限责任公司 Method, device and terminal for prompting user
CN104423871A (en) * 2013-09-10 2015-03-18 联想(北京)有限公司 Information processing method and electronic device
CN107944277A (en) * 2017-11-21 2018-04-20 广东欧珀移动通信有限公司 Using the control method of startup, device, storage medium and intelligent terminal

Also Published As

Publication number Publication date
CN109726552B (en) 2021-09-14

Similar Documents

Publication Publication Date Title
CN109711168B (en) Behavior-based service identification method, behavior-based service identification device, behavior-based service identification equipment and readable storage medium
CN109510849B (en) Cloud-storage account authentication method and device
CN103118031B (en) Log in method and the electronic equipment of application account
CN103679007B (en) A kind of manage the method for application program authority, device and mobile device
WO2016127426A1 (en) Method and apparatus for displaying application and picture, and electronic device
CN108323239A (en) Recording, playback method, record screen terminal and the playback terminal of film recording
CN105574437B (en) Method and device for protecting privacy information and electronic equipment
WO2018120884A1 (en) Method and system for controlling mobile device by pc terminal
CN106709347B (en) Using the method and device of operation
CN106415501A (en) Companion application for activity cooperation
CN109190369A (en) A kind of camera control method, terminal and computer storage medium
CN109005180B (en) Miniature movable evidence obtaining black box system
CN105635122A (en) Wifi access method and device and electronic equipment
CN109063504B (en) Private file access method, mobile terminal and storage medium
CN103812996B (en) A kind of information cuing method, device and terminal
CN107533618A (en) Protect data from unwarranted access
CN106169042A (en) The method and device of administration authority
CN110430280A (en) Account automatic logging method and system, storage medium and cloud desktop server
EP3021250B1 (en) Electronic device and method for suggesting response manual in occurrence of denial
CN103324874A (en) Verification method and electronic device
CN107678798A (en) A kind of SIM card fast initializing method, device and computer-readable recording medium
CN108769175A (en) Remote real machine access control method, device, storage medium and electronic equipment
CN108123961A (en) Information processing method, apparatus and system
CN107729765A (en) Management method, device, storage medium and the electronic equipment of multi-medium data
US20160110531A1 (en) Information processing apparatus, terminal apparatus and information processing method

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