Nothing Special   »   [go: up one dir, main page]

CN109976837A - The information processing method and electronic equipment of a kind of electronic equipment - Google Patents

The information processing method and electronic equipment of a kind of electronic equipment Download PDF

Info

Publication number
CN109976837A
CN109976837A CN201910249497.3A CN201910249497A CN109976837A CN 109976837 A CN109976837 A CN 109976837A CN 201910249497 A CN201910249497 A CN 201910249497A CN 109976837 A CN109976837 A CN 109976837A
Authority
CN
China
Prior art keywords
instruction
electronic device
executing
component
processing unit
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
CN201910249497.3A
Other languages
Chinese (zh)
Other versions
CN109976837B (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 CN201910249497.3A priority Critical patent/CN109976837B/en
Publication of CN109976837A publication Critical patent/CN109976837A/en
Application granted granted Critical
Publication of CN109976837B publication Critical patent/CN109976837B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

This application discloses the information processing method of a kind of electronic equipment and electronic equipments, this method comprises: the electronic equipment receives the first instruction in the first state, detect use environment information by least one detecting means;According to the use environment information at least with first instruction of first operating mode of electronic equipment or the response of the second operating mode of the electronic equipment, wherein, it include: to execute first instruction with first operating mode response, first instruction, and to the corresponding implementing result of user feedback;It include: to execute first instruction with second operating mode response, first instruction, without making the electronic equipment continue to keep the first state to the corresponding implementing result of user feedback, and after having executed first instruction.This method can make electronic equipment according to practical service environment using corresponding operating mode, so as to save valuable system resource.

Description

Information processing method of electronic equipment and electronic equipment
Technical Field
The present invention relates to the field of information processing for electronic devices such as computers, and more particularly, to an information processing method for an electronic device and an electronic device.
Background
When receiving and processing instructions, electronic devices such as computers are usually completely started, all components are in working states to execute the instructions and realize corresponding functions, and whether feedback is needed to be performed on a user is not considered, for example, when receiving a mail, a processor receives the mail and enables a display to display that the mail is received, so as to prompt the user whether to check or even send corresponding prompt sound, but if the user is in the rest time at night, the user does not want to process the mail and does not want to be disturbed, so that the electronic devices consume a large amount of system resources (particularly, the electronic devices are disturbed by the cooperative work of all components to cause resource waste), and the user experience is poor.
Disclosure of Invention
The embodiment of the application aims to provide an information processing method of an electronic device and the electronic device.
The embodiment of the application adopts the following technical scheme: an information processing method of an electronic device, comprising:
the electronic equipment receives a first instruction in a first state and detects the using environment information through at least one detecting means;
responding to the first instruction with at least the first operating mode of the electronic device or the second operating mode of the electronic device according to the usage environment information, wherein,
responding to the first instruction in the first operating mode includes: executing the first instruction, and feeding back a corresponding execution result to a user; wherein executing the first instruction specifically includes: executing, by a central processing unit of the electronic device, the first instruction; or executing the first instruction through a control component of a first part of the electronic equipment corresponding to the first instruction, wherein the control component is different from the central processor;
responding to the first instruction in the second operating mode includes: executing the first instruction without feeding back a corresponding execution result to a user, and keeping the electronic equipment in the first state after the first instruction is executed; wherein executing the first instruction specifically includes: executing, by a central processing unit of the electronic device, the first instruction; or, the first instruction is executed through a control component of the first component corresponding to the first instruction, the control component is different from the central processing unit, and the first component can be separated from the central processing unit to independently operate.
Preferably, the receiving, by the electronic device, the first instruction in the first state, and the detecting the usage environment information by at least one detecting means includes:
receiving the first instruction, and starting a detection process to detect the environmental parameters of the real environment in a preset spatial range; and/or the presence of a gas in the gas,
and detecting whether the target object exists in the preset space range.
Preferably, the first state is a standby state, the executing the first instruction without feeding back a corresponding execution result to a user, and after the executing the first instruction, the causing the electronic device to continue to maintain the first state includes:
and executing the first instruction, but not feeding back a corresponding execution result to a user in the form of sound, image and/or vibration, and keeping the electronic equipment in the standby state after the first instruction is executed.
Preferably, the method further comprises:
when the control component of the first component fails to execute the first instruction, a first signal is sent to the central processing unit, so that the central processing unit at least performs one of the following actions:
the using environment information is detected through at least one detection means;
said responding to said first instruction.
Preferably, the responding to the first instruction at least in the first operation mode of the electronic device or the second operation mode of the electronic device according to the usage environment information includes: when the using environment information does not meet the preset environment requirement, responding to the first instruction in a second working mode of the electronic equipment; accordingly, the method can be used for solving the problems that,
the executing the first instruction by a control component of the first component corresponding to the first instruction, where the control component is different from the central processing unit, and the first component can operate independently from the central processing unit, specifically including:
executing the first instruction through a control component of the first component corresponding to the first instruction, and prohibiting a second component of the electronic equipment from starting, wherein the second component is used for feeding back to a user, and a starting effect determined according to preset regulations is not adaptive to the using environment information.
Preferably, the executing the first instruction by the control component of the first component corresponding to the first instruction, and the prohibiting the second component of the electronic device from being activated includes:
and when the user environment represented by the using environment information is a first preset environment in a non-working state, prohibiting the starting of a display, an audio device and a vibration component of at least one piece of electronic equipment.
Preferably, the receiving, by the electronic device, the first instruction in the first state, and the detecting the usage environment information by at least one detecting means includes:
receiving the first instruction, and detecting the object by one detector or a plurality of detectors of different types, wherein the detectors have respective corresponding use priorities;
and if the detection results of a plurality of detectors are different, determining the detection results according to the weights of the detectors.
Preferably, the detecting the usage environment information by at least one detecting means includes:
shooting an image in the preset space range through a first detector, and analyzing the image to determine whether the target object exists; or,
and transmitting electromagnetic waves to the preset space range through a second detector, and judging whether a target object exists in the preset space range according to corresponding transmission information.
Preferably, the receiving, by the electronic device, the first instruction in the first state includes:
receiving a local instruction sent by a preset program matched with the first state; or,
and receiving a remote instruction based on a preset network.
An embodiment of the present application further provides an electronic device, including:
the detection module is configured to receive a first instruction in a first state and detect the using environment information through at least one detection means;
a processing module configured to respond to the first instruction in at least the electronic device first operating mode or the electronic device second operating mode based on the environmental information, wherein,
responding to the first instruction in the first operating mode includes: executing the first instruction, and feeding back a corresponding execution result to a user; wherein executing the first instruction specifically includes: executing, by a central processing unit of the electronic device, the first instruction; or executing the first instruction through a control component of a first part of the electronic equipment corresponding to the first instruction, wherein the control component is different from the central processor;
responding to the first instruction in the second operating mode includes: executing the first instruction without feeding back a corresponding execution result to a user, and keeping the electronic equipment in the first state after the first instruction is executed; wherein executing the first instruction specifically includes: executing, by a central processing unit of the electronic device, the first instruction; or, the first instruction is executed through a control component of the first component corresponding to the first instruction, the control component is different from the central processing unit, and the first component can be separated from the central processing unit to independently operate.
The beneficial effects of the embodiment of the application at least comprise: the electronic equipment can adopt the corresponding working mode according to the actual use environment, thereby saving precious system resources, completing the task corresponding to the first instruction by only calling partial resources, improving the processing efficiency, and not disturbing a user in the process of executing the instruction.
Drawings
Fig. 1 is a flowchart of an information processing method of an electronic device according to an embodiment of the present application;
FIG. 2 is a flowchart of one embodiment of step S1 of FIG. 1 according to the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Various aspects and features of the present application are described herein with reference to the drawings.
It will be understood that various modifications may be made to the embodiments of the present application. Accordingly, the foregoing description should not be construed as limiting, but merely as exemplifications of embodiments. Those skilled in the art will envision other modifications within the scope and spirit of the application.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and, together with a general description of the application given above and the detailed description of the embodiments given below, serve to explain the principles of the application.
These and other characteristics of the present application will become apparent from the following description of preferred forms of embodiment, given as non-limiting examples, with reference to the attached drawings.
It should also be understood that, although the present application has been described with reference to some specific examples, a person of skill in the art shall certainly be able to achieve many other equivalent forms of application, having the characteristics as set forth in the claims and hence all coming within the field of protection defined thereby.
The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely exemplary of the application, which can be embodied in various forms. Well-known and/or repeated functions and constructions are not described in detail to avoid obscuring the application of unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present application in virtually any appropriately detailed structure.
The specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the application.
An information processing method of an electronic device in an embodiment of the present application, where the electronic device may be a computer or other devices, may be applied to the electronic device, and as shown in fig. 1, the method includes the following steps:
s1, the electronic device receives the first command in the first state, and detects the usage environment information by at least one detection means. The first state may not be an operating state after the electronic device is completely started, and may be, for example, a state in which the electronic device is in a standby state or a sleep state, or a state in which a part of components of the electronic device are in standby state and another part of components of the electronic device are in sleep state. The user can send a first instruction to the electronic equipment in a first state, for example, the first instruction is sent to the electronic equipment through a network, or the sending time is preset and the first instruction is sent at the sending time, after the electronic equipment receives the first instruction, the electronic equipment does not immediately respond to the first instruction, but detects the using environment information through one or more detection means, and the using environment information can be used for representing the environment state of the user in the process of using the electronic equipment, for example, after the user has a rest at night, the corresponding environment state is the rest environment state at night, and the using environment information can also represent the state; for another example, when the electronic device is in the first state, the user is not beside the electronic device, the usage environment information may also be used to represent that the environment where the electronic device is located is in an unattended state, so that the electronic device may determine the current usage environment of the user by using the environment information. Of course, the specific detection means can be set according to the user's needs, for example, the detection device installed on the electronic device is used to detect and feed back the detected usage environment information to the electronic device.
S2, responding to the first command with at least a first operation mode of the electronic device or a second operation mode of the electronic device according to the usage environment information, wherein,
responding to the first command in the first operating mode includes: executing the first instruction, and feeding back a corresponding execution result to a user; wherein executing the first instruction specifically includes: executing the first instruction by a central processing unit of the electronic equipment; or executing the first instruction through a control component of a first part of the electronic equipment corresponding to the first instruction, wherein the control component is different from the central processing unit;
responding to the first command in the second operating mode includes: executing the first instruction without feeding back a corresponding execution result to the user, and keeping the electronic equipment in the first state after the first instruction is executed; wherein executing the first instruction specifically includes: executing the first instruction by a central processing unit of the electronic equipment; or the first instruction is executed through a control assembly of the first component corresponding to the first instruction, the control assembly is different from the central processing unit, and the first component can be separated from the central processing unit to independently operate.
Specifically, different electronic devices using the environment information may respond to the first instruction in different operation modes, and the specific processing manner of the electronic devices after the different operation modes respond to the first instruction is different. The operation mode may be preset, and the specific operation mode may be associated with the usage environment in advance, such as a first operation mode associated with a first usage environment characterized by the usage environment information, a second operation mode associated with a second usage environment characterized by the usage environment information, and so on.
In one embodiment, the electronic device responding to the first instruction in the first operating mode comprises: and executing the first instruction, feeding back a corresponding execution result to the user, and feeding back the corresponding execution result to the user by displaying an image, making a sound or feeding back the execution result to the user in a vibration mode, so that the user can know the process of the electronic equipment responding to the first instruction, the result after the first instruction is executed and other information. Wherein executing the first instruction specifically includes: executing the first instruction by a central processing unit of the electronic equipment; or executing the first instruction through a control component of the first part of the electronic equipment corresponding to the first instruction, wherein the control component is different from the central processor. On one hand, the central processing unit may execute the first instruction after being started, and certainly, the central processing unit may also invoke other components related to executing the first instruction to assist in executing the first instruction, for example, the first instruction is to send an email to the electronic device, the electronic device receives the email after responding to the first instruction and may automatically perform an email reply operation on the email, and the process may be executed by the central processing unit and display the whole process on the display to feed back to the user. On the other hand, the first instruction is executed through the control assembly of the first component, the central processing unit is not required to execute the first instruction, and the first component can be separated from the central processing unit to independently operate, so that the electronic device can execute the first instruction through calling the first component related to the first instruction partially without starting the central processing unit, and a corresponding execution result is fed back to a user after the control assembly of the first component executes the first instruction. If the first instruction requests the electronic device to send out a buzzing alarm, the audio device can be driven to respond to the first instruction at the moment, and the audio device does not need to be called to respond to the first instruction after the central processing unit is started. Therefore, the electronic equipment can save precious system resources, can complete the task corresponding to the first instruction by only calling part of the resources, and improves the processing efficiency.
In another embodiment, the electronic device responding to the first instruction in the second operating mode includes: and executing the first instruction without feeding back a corresponding execution result to the user, and keeping the electronic equipment in the first state after the first instruction is executed. Specifically, during execution of the first instruction, the user may be fed back by making a sound or vibration without displaying an image. For example, the use environment information indicates that the user is in a rest state at this time, the electronic device responds to the first instruction in the second working mode without feeding back a corresponding execution result to the user, so that the electronic device does not disturb the user; for example, the usage environment information indicates that the user is not located near the electronic device when the electronic device receives the first instruction, and the electronic device does not need to feed back a corresponding execution result to the user after responding to the first instruction in the second working mode, thereby further saving limited system resources. And after the first instruction is executed, the electronic equipment continues to keep the first state. If the electronic device receives the first instruction for processing the e-mail when in the dormant state, the first instruction can be executed to receive the e-mail, and the electronic device can continuously keep the dormant state after receiving (or receiving and replying) the e-mail, thereby further reducing the resource consumption. In addition, in the process that the electronic device responds to the first instruction in the second working mode, on one hand, the first instruction can be executed after the central processing unit of the electronic device is started, and certainly, the central processing unit can also call other components related to the execution of the first instruction to assist in executing the first instruction, for example, the first instruction is to send an email to the electronic device, the electronic device receives the email after responding to the first instruction and can automatically reply the email, and the process can be executed by the central processing unit and does not feed back the process of processing the email to the user in a display or sound mode, so that the user is prevented from being disturbed or system resources can be saved when the user is not beside the electronic device; on the other hand, the first instruction is executed through the control assembly of the first component, the central processing unit is not required to execute the first instruction, and the first component can be separated from the central processing unit to independently operate, so that the electronic device can execute the first instruction through calling the first component related to the first instruction by part without starting the central processing unit, and a corresponding execution result is not fed back to a user after the control assembly of the first component executes the first instruction. If the first instruction is an instruction for requiring the electronic device to receive the e-mail, the corresponding storage device can execute the first instruction to receive the e-mail without calling the storage device to receive the e-mail after being started by the central processing unit, and the display is not started to display the execution process in the execution process. This enables the electronic device to complete the task corresponding to the first instruction by only calling part of the resources, and does not disturb the user.
In an embodiment of the present application, the electronic device receives a first instruction in a first state, and detecting the usage environment information by at least one detecting means includes the following steps: receiving a first instruction, and starting a detection process to detect the environmental parameters of the real environment in a preset spatial range; and/or detecting whether the target object exists in the preset space range. Specifically, before receiving the first instruction, the detection device may not detect the usage environment information, and further, the detection device does not need to be turned off, so that system resource overhead is saved. On one hand, the detecting device detects environmental parameters of the real environment in the preset space range, such as the brightness, the sound wave intensity, the use place, the use time and other parameters of the real environment of the electronic device used by the user, and the real scene of the electronic device used by the user can be accurately judged through the environmental parameters of the real environment, so that the corresponding working mode can be selected more pertinently. On the other hand, the detection device may further detect whether the target object exists in a preset space range, where the target object may be the user himself or another person, the preset space range may be a space range predefined by the user according to needs or hardware capabilities, such as a room or a small area, and the presence of the target object is determined within the range, and if the target object does not exist, the user himself or herself may select a corresponding working mode to respond to the first instruction, and if the user himself or herself may select the second working mode to respond to the first instruction, but does not need to feed back a corresponding execution result to the user.
In an embodiment of the application, the first state is a standby state, the executing the first instruction without feeding back a corresponding execution result to the user, and after the executing the first instruction, the causing the electronic device to continue to maintain the first state includes: and executing the first instruction, but not feeding back a corresponding execution result to the user in the form of sound, image and/or vibration, and keeping the electronic equipment in a standby state after the first instruction is executed. The first state is a standby state, that is, when the electronic device is in the standby state, the electronic device receives the first instruction and executes the first instruction, and does not feed back a corresponding execution result to the user in the form of sound, image and/or vibration, so as to avoid disturbing the user, for example, when the user is in a night rest state, the electronic device in the standby state receives an instruction for responding to the sent electronic mail, the electronic device can receive the electronic mail and also can send a corresponding receipt mail to the electronic mail, but does not start a display to display the whole response process, so as to avoid disturbing the user, and to save system resources of the electronic device (avoid starting the display).
In one embodiment of the present application, the method further comprises the steps of: when the control component of the first component fails to execute the first instruction, a first signal is sent to the central processing unit, so that the central processing unit at least executes one of the following actions:
the using environment information is detected through at least one detection means;
the responding first instruction.
Specifically, the first component may work independently from the central processing unit, when the control component of the first component fails to execute the first instruction, which may be caused by a failure of the first component to execute the first instruction, and the first component may need support of other components (e.g., a third component) of the electronic device, which may require a unified configuration of the central processing unit, so as to ensure that the first instruction can be successfully executed, in this embodiment, when the control component of the first component fails to execute the first instruction, a first signal is sent to the central processing unit, the central processing unit drives the detecting device and detects the usage environment information through at least one detecting means, determines the usage environment information, and responds to the first instruction according to the usage environment information, wherein a component related to the first instruction may be coordinated in the process of responding to the first instruction, such as calling the first component and the third component to execute the first instruction together, the phenomenon of execution failure is avoided. In another embodiment, after receiving the first signal, the cpu may not detect the usage environment information, but directly respond to the first instruction, so as to ensure that the first instruction can be successfully executed, thereby avoiding a failure event from occurring again.
In an embodiment of the application, said responding to the first instruction at least in the first operation mode of the electronic device or the second operation mode of the electronic device according to the usage environment information includes: and when the using environment information does not meet the preset environment requirement, responding to the first instruction by the second working mode of the electronic equipment. For example, the preset environment requirement is a normal working environment, when the usage environment information indicates that the current usage environment is a rest environment at night, the electronic device will respond to the first instruction in the second working mode, and the preset environment requirement may be set according to the actual needs of the user, such as the above normal working environment or any environment within a preset time period, and if the environment indicated by the obtained usage environment information is not the above environment, the electronic device responds to the first instruction in the second working mode, correspondingly,
the first instruction is executed through a control assembly of a first component corresponding to the first instruction, the control assembly is different from the central processing unit, and the first component can be separated from the central processing unit to independently operate, and specifically comprises: and executing the first instruction through a control component of the first component corresponding to the first instruction, and prohibiting a second component of the electronic equipment from starting, wherein the second component is used for feeding back to a user, and the starting effect determined according to preset regulations is not adaptive to the use environment information. Specifically, since each component can be separated from the central processing unit to operate independently, the first instruction can be executed only through the first component, and the second component is prohibited from being started, the second component is a component for feeding back to the user, and is a component with a starting effect that is not adapted to the use environment information, for example, the use environment information indicates that the current use environment is a night rest environment, so that after the instruction for playing the audio file is received, the audio equipment can be prohibited from being started, wherein the audio equipment (the user feeds back the execution result to the user) is not adapted to the night rest environment, and therefore the influence on the user and other people after the audio equipment is started is avoided.
In one embodiment, the executing the first instruction by the control component of the first component corresponding to the first instruction, and the disabling the second component of the electronic device includes: and when the user environment represented by the using environment information is a first preset environment in a non-working state, the display, the audio equipment and the vibration part of at least one electronic equipment are prohibited from being started. The first preset environment may be a rest environment, a leave-on environment, or a use environment when the user is not beside the electronic device, and may of course be an environment set by the user as desired, in which the control component of the first component executes the first instruction, and activation of components such as the display, the audio device, and the vibration component, which may feed back to the user a result of executing the first instruction, may be prohibited.
In an embodiment of the present application, as shown in fig. 2, the receiving, by the electronic device, a first instruction in a first state, and detecting the usage environment information by at least one detecting means includes:
s11, receiving the first command, detecting the object by one detector or a plurality of detectors of different types, wherein the detectors have respective corresponding priorities. The detector can be of various types, and each detection mode is used for detecting the target object, for example, an infrared detector detects the target object through infrared rays, or a camera shoots a preset range and analyzes an image to achieve the detection purpose. The detectors have their respective priorities, which can be used preferentially, for example, the infrared detectors can be used preferentially to perform detection tasks if the infrared detectors have higher priorities, although the priorities can be adjusted according to the needs of users.
S12, if the detection results of the detectors are different, determining the detection result according to the weights of the detectors. The detectors have respective weights, and the detection result of the detector with the higher weight has higher reliability, and if the detection results of the plurality of detectors are different, the detection result of the detector with the higher weight can be used as the final detection result. Of course, the weights for the individual detectors can be set by the user in advance, depending on experience or hardware configuration.
In an embodiment of the present application, the detecting the usage environment information by at least one detecting means includes: shooting an image in a preset space range through a first detector, and analyzing the image to determine whether a target object exists; or, the electromagnetic wave is transmitted to the preset space range through the second detector, and whether the target object exists in the preset space range is judged according to the corresponding transmission information. For example, in one aspect, the first detector may include a camera and a corresponding analyzing system (hardware and/or software), the camera (which may be hidden and extends out of the housing of the electronic device during use) captures an image within a predetermined spatial range and sends the image to the analyzing system, and the analyzing system may analyze the image to determine whether the target object is present within the predetermined spatial range. On the other hand, the second detector may be an infrared detector, which sends an infrared signal (a kind of electromagnetic wave) to the predetermined spatial range, and determines whether the target object exists in the predetermined spatial range according to the feedback signal.
In an embodiment of the present application, the receiving, by the electronic device, the first instruction in the first state includes: receiving a local instruction sent by a preset program matched with the first state; or receiving a remote instruction based on a preset network. Specifically, the first instruction may be sent locally from the electronic device, specifically, sent by a preset program preset on the electronic device, where the preset program may be sent by a user through control, or may be sent automatically at a preset time point (for example, a time-telling instruction, where a user drives an audio device to time). In addition, the first instruction can be sent out remotely through a network so that the electronic equipment can receive the first instruction, for example, the electronic equipment needs to process the electronic mail when a counterpart sends the electronic mail through the network.
An embodiment of the present application further provides an electronic device, where the electronic device may be a computer or other device, and as shown in fig. 3, the electronic device includes:
the detection module is configured to receive a first instruction in a first state, and detect the using environment information through at least one detection means. The first state may not be an operating state after the electronic device is completely started, and may be, for example, a state in which the electronic device is in a standby state or a sleep state, or a state in which a part of components of the electronic device are in standby state and another part of components of the electronic device are in sleep state. The user can send a first instruction to the electronic equipment in a first state, for example, the first instruction is sent to the electronic equipment through a network, or the sending time is preset and the first instruction is sent at the sending time, after the detection module receives the first instruction, the detection module does not immediately respond to the first instruction, but detects the using environment information through one or more detection means, and the using environment information can be used for representing the environment state of the user in the process of using the electronic equipment, for example, after the user has a rest at night, the corresponding environment state is the rest environment state at night, and the using environment information can also represent the state; for another example, when the electronic device is in the first state, the user is not beside the electronic device, the usage environment information may also be used to represent that the environment where the electronic device is located is in an unattended state, so that the electronic device may determine the current usage environment of the user by using the environment information. Of course, the specific detection means can be set according to the user's needs, for example, the detection module utilizes the detection device installed on the electronic device to detect and feed back the detected usage environment information to the electronic device,
a processing module configured to respond to the first instruction with at least a first mode of operation of the electronic device or a second mode of operation of the electronic device based on the context information, wherein,
responding to the first command in the first operating mode includes: executing the first instruction, and feeding back a corresponding execution result to a user; wherein executing the first instruction specifically includes: executing the first instruction by a central processing unit of the electronic equipment; or executing the first instruction through a control component of a first part of the electronic equipment corresponding to the first instruction, wherein the control component is different from the central processing unit;
responding to the first command in the second operating mode includes: executing the first instruction without feeding back a corresponding execution result to the user, and keeping the electronic equipment in the first state after the first instruction is executed; wherein executing the first instruction specifically includes: executing the first instruction by a central processing unit of the electronic equipment; or the first instruction is executed through a control assembly of the first component corresponding to the first instruction, the control assembly is different from the central processing unit, and the first component can be separated from the central processing unit to independently operate.
Specifically, different processing modules according to the usage environment information may respond to the first instruction in different operation modes, and the specific processing manner of the electronic device after the different operation modes respond to the first instruction is also different. The operation mode may be preset, and the specific operation mode may be associated with the usage environment in advance, such as a first operation mode associated with a first usage environment characterized by the usage environment information, a second operation mode associated with a second usage environment characterized by the usage environment information, and so on.
In one embodiment, the processing module responding to the first instruction in the first operating mode comprises: and executing the first instruction, feeding back a corresponding execution result to the user, and feeding back the corresponding execution result to the user through displaying an image, making a sound or feeding back the execution result to the user in a vibration mode, so that the user can know the process of the processing module responding to the first instruction, the result after the first instruction is executed and other information. Wherein executing the first instruction specifically includes: executing the first instruction by a central processing unit of the electronic equipment; or executing the first instruction through a control component of the first part of the electronic equipment corresponding to the first instruction, wherein the control component is different from the central processor. On one hand, the central processing unit may execute the first instruction after being started, and certainly, the central processing unit may also invoke other components related to executing the first instruction to assist in executing the first instruction, for example, the first instruction is to send an email to the electronic device, the processing module receives the email and may automatically perform an email reply operation on the email after responding to the first instruction, and the process may be executed by the central processing unit and display the entire process on the display to feed back to the user. On the other hand, the first instruction is executed through the control assembly of the first component, the central processing unit is not required to execute the first instruction, and the first component can be separated from the central processing unit to independently operate, so that the electronic device can execute the first instruction through calling the first component related to the first instruction partially without starting the central processing unit, and a corresponding execution result is fed back to a user after the control assembly of the first component executes the first instruction. If the first instruction requests the electronic device to send out a buzzing alarm, the audio device can be driven to respond to the first instruction at the moment, and the audio device does not need to be called to respond to the first instruction after the central processing unit is started. Therefore, the electronic equipment can save precious system resources, can complete the task corresponding to the first instruction by only calling part of the resources, and improves the processing efficiency.
In another embodiment, the processing module responding to the first instruction in the second mode of operation includes: and executing the first instruction without feeding back a corresponding execution result to the user, and keeping the electronic equipment in the first state after the first instruction is executed. Specifically, during execution of the first instruction, the user may be fed back by making a sound or vibration without displaying an image. For example, the use environment information indicates that the user is in a rest state at the moment, the processing module responds to the first instruction in the second working mode without feeding back a corresponding execution result to the user, so that the electronic equipment does not disturb the user; for example, the usage environment information indicates that the user is not located near the electronic device when the electronic device receives the first instruction, and the electronic device does not need to feed back a corresponding execution result to the user after responding to the first instruction in the second working mode, thereby further saving limited system resources. And after the first instruction is executed, the electronic equipment continues to keep the first state. If the electronic device receives the first instruction for processing the e-mail when in the dormant state, the first instruction can be executed to receive the e-mail, and the electronic device can continuously keep the dormant state after receiving (or receiving and replying) the e-mail, thereby further reducing the resource consumption. In addition, in the process that the processing module responds to the first instruction in the second working mode, on one hand, the first instruction can be executed after the central processing unit of the electronic device is started, and certainly, the central processing unit can also call other components related to the execution of the first instruction to assist in executing the first instruction, for example, the first instruction is to send an email to the electronic device; on the other hand, the first instruction is executed through the control assembly of the first component, the central processing unit is not required to execute the first instruction, and the first component can be separated from the central processing unit to independently operate, so that the electronic device can execute the first instruction through calling the first component related to the first instruction by part without starting the central processing unit, and a corresponding execution result is not fed back to a user after the control assembly of the first component executes the first instruction. If the first instruction is an instruction for requiring the electronic device to receive the e-mail, the corresponding storage device can execute the first instruction to receive the e-mail without calling the storage device to receive the e-mail after being started by the central processing unit, and the display is not started to display the execution process in the execution process. This enables the electronic device to complete the task corresponding to the first instruction by only calling part of the resources, and does not disturb the user.
The above embodiments are only exemplary embodiments of the present application, and are not intended to limit the present application, and the protection scope of the present application is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present application and such modifications and equivalents should also be considered to be within the scope of the present application.

Claims (10)

1. An information processing method of an electronic device, comprising:
the electronic equipment receives a first instruction in a first state and detects the using environment information through at least one detecting means;
responding to the first instruction with at least the first operating mode of the electronic device or the second operating mode of the electronic device according to the usage environment information, wherein,
responding to the first instruction in the first operating mode includes: executing the first instruction, and feeding back a corresponding execution result to a user; wherein executing the first instruction specifically includes: executing, by a central processing unit of the electronic device, the first instruction; or executing the first instruction through a control component of a first part of the electronic equipment corresponding to the first instruction, wherein the control component is different from the central processor;
responding to the first instruction in the second operating mode includes: executing the first instruction without feeding back a corresponding execution result to a user, and keeping the electronic equipment in the first state after the first instruction is executed; wherein executing the first instruction specifically includes: executing, by a central processing unit of the electronic device, the first instruction; or, the first instruction is executed through a control component of the first component corresponding to the first instruction, the control component is different from the central processing unit, and the first component can be separated from the central processing unit to independently operate.
2. The method of claim 1, wherein the electronic device receives a first command in a first state, and detecting the usage environment information by at least one detecting means comprises:
receiving the first instruction, and starting a detection process to detect the environmental parameters of the real environment in a preset spatial range; and/or the presence of a gas in the gas,
and detecting whether the target object exists in the preset space range.
3. The method of claim 1, wherein the first state is a standby state, the executing the first instruction without feeding back a corresponding execution result to a user, and the continuing to maintain the first state of the electronic device after the executing the first instruction comprises:
and executing the first instruction, but not feeding back a corresponding execution result to a user in the form of sound, image and/or vibration, and keeping the electronic equipment in the standby state after the first instruction is executed.
4. The method of claim 1, further comprising:
when the control component of the first component fails to execute the first instruction, a first signal is sent to the central processing unit, so that the central processing unit at least performs one of the following actions:
the using environment information is detected through at least one detection means;
said responding to said first instruction.
5. The method of claim 1, wherein said responding to the first instruction in at least the electronic device first operating mode or the electronic device second operating mode based on the usage environment information comprises: when the using environment information does not meet the preset environment requirement, responding to the first instruction in a second working mode of the electronic equipment; accordingly, the method can be used for solving the problems that,
the executing the first instruction by a control component of the first component corresponding to the first instruction, where the control component is different from the central processing unit, and the first component can operate independently from the central processing unit, specifically including:
executing the first instruction through a control component of the first component corresponding to the first instruction, and prohibiting a second component of the electronic equipment from starting, wherein the second component is used for feeding back to a user, and a starting effect determined according to preset regulations is not adaptive to the using environment information.
6. The method of claim 5, the executing the first instruction by a control component of the first component corresponding to the first instruction, and inhibiting activation of a second component of the electronic device comprising:
and when the user environment represented by the using environment information is a first preset environment in a non-working state, prohibiting the starting of a display, an audio device and a vibration component of at least one piece of electronic equipment.
7. The method of claim 2, wherein the electronic device receives a first command in a first state, and detecting the usage environment information by at least one detecting means comprises:
receiving the first instruction, and detecting the object by one detector or a plurality of detectors of different types, wherein the detectors have respective corresponding use priorities;
and if the detection results of a plurality of detectors are different, determining the detection results according to the weights of the detectors.
8. The method of claim 7, wherein the detecting the usage environment information by at least one detecting means comprises:
shooting an image in the preset space range through a first detector, and analyzing the image to determine whether the target object exists; or,
and transmitting electromagnetic waves to the preset space range through a second detector, and judging whether a target object exists in the preset space range according to corresponding transmission information.
9. The method of claim 1, the electronic device receiving a first instruction in a first state comprising:
receiving a local instruction sent by a preset program matched with the first state; or,
and receiving a remote instruction based on a preset network.
10. An electronic device, comprising:
the detection module is configured to receive a first instruction in a first state and detect the using environment information through at least one detection means;
a processing module configured to respond to the first instruction in at least the electronic device first operating mode or the electronic device second operating mode based on the environmental information, wherein,
responding to the first instruction in the first operating mode includes: executing the first instruction, and feeding back a corresponding execution result to a user; wherein executing the first instruction specifically includes: executing, by a central processing unit of the electronic device, the first instruction; or executing the first instruction through a control component of a first part of the electronic equipment corresponding to the first instruction, wherein the control component is different from the central processor;
responding to the first instruction in the second operating mode includes: executing the first instruction without feeding back a corresponding execution result to a user, and keeping the electronic equipment in the first state after the first instruction is executed; wherein executing the first instruction specifically includes: executing, by a central processing unit of the electronic device, the first instruction; or, the first instruction is executed through a control component of the first component corresponding to the first instruction, the control component is different from the central processing unit, and the first component can be separated from the central processing unit to independently operate.
CN201910249497.3A 2019-03-29 2019-03-29 Information processing method of electronic equipment and electronic equipment Active CN109976837B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910249497.3A CN109976837B (en) 2019-03-29 2019-03-29 Information processing method of electronic equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910249497.3A CN109976837B (en) 2019-03-29 2019-03-29 Information processing method of electronic equipment and electronic equipment

Publications (2)

Publication Number Publication Date
CN109976837A true CN109976837A (en) 2019-07-05
CN109976837B CN109976837B (en) 2022-05-31

Family

ID=67081655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910249497.3A Active CN109976837B (en) 2019-03-29 2019-03-29 Information processing method of electronic equipment and electronic equipment

Country Status (1)

Country Link
CN (1) CN109976837B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798388A (en) * 2019-11-05 2020-02-14 杭州行至云起科技有限公司 Communication control method and gateway
CN111158775A (en) * 2019-12-30 2020-05-15 联想(北京)有限公司 Processing method and electronic device
CN113127287A (en) * 2019-12-31 2021-07-16 北京车和家信息技术有限公司 Processor control method and device and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120297305A1 (en) * 2011-05-17 2012-11-22 Microsoft Corporation Presenting or sharing state in presence
CN103259825A (en) * 2012-02-21 2013-08-21 腾讯科技(深圳)有限公司 Method and device for message pushing
CN104796275A (en) * 2014-01-21 2015-07-22 腾讯科技(深圳)有限公司 Abnormal state processing method, system and device
CN105116992A (en) * 2015-09-24 2015-12-02 北京金山安全软件有限公司 Method and device for controlling screen state of electronic equipment
CN105549835A (en) * 2014-10-28 2016-05-04 联想(北京)有限公司 Information processing method and electronic device
CN105872746A (en) * 2015-11-26 2016-08-17 乐视网信息技术(北京)股份有限公司 Muting method according to use scenes and terminal device
WO2016175396A1 (en) * 2015-04-27 2016-11-03 Lg Electronics Inc. Mobile terminal and control method therefor
CN106998422A (en) * 2016-01-26 2017-08-01 陈征 A kind of automatic identification is taken on the sly the apparatus and method of camera lens
CN107911445A (en) * 2017-11-14 2018-04-13 维沃移动通信有限公司 A kind of information push method, mobile terminal and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120297305A1 (en) * 2011-05-17 2012-11-22 Microsoft Corporation Presenting or sharing state in presence
CN103259825A (en) * 2012-02-21 2013-08-21 腾讯科技(深圳)有限公司 Method and device for message pushing
CN104796275A (en) * 2014-01-21 2015-07-22 腾讯科技(深圳)有限公司 Abnormal state processing method, system and device
CN105549835A (en) * 2014-10-28 2016-05-04 联想(北京)有限公司 Information processing method and electronic device
WO2016175396A1 (en) * 2015-04-27 2016-11-03 Lg Electronics Inc. Mobile terminal and control method therefor
CN105116992A (en) * 2015-09-24 2015-12-02 北京金山安全软件有限公司 Method and device for controlling screen state of electronic equipment
CN105872746A (en) * 2015-11-26 2016-08-17 乐视网信息技术(北京)股份有限公司 Muting method according to use scenes and terminal device
CN106998422A (en) * 2016-01-26 2017-08-01 陈征 A kind of automatic identification is taken on the sly the apparatus and method of camera lens
CN107911445A (en) * 2017-11-14 2018-04-13 维沃移动通信有限公司 A kind of information push method, mobile terminal and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
律智坚 等: "消息推送在移动高级应用中的研究与实现", 《广东电力》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798388A (en) * 2019-11-05 2020-02-14 杭州行至云起科技有限公司 Communication control method and gateway
CN110798388B (en) * 2019-11-05 2021-11-02 杭州行至云起科技有限公司 Communication control method and gateway
CN111158775A (en) * 2019-12-30 2020-05-15 联想(北京)有限公司 Processing method and electronic device
CN113127287A (en) * 2019-12-31 2021-07-16 北京车和家信息技术有限公司 Processor control method and device and electronic equipment
CN113127287B (en) * 2019-12-31 2024-05-10 北京车和家信息技术有限公司 Control method and device of processor and electronic equipment

Also Published As

Publication number Publication date
CN109976837B (en) 2022-05-31

Similar Documents

Publication Publication Date Title
CN109976837B (en) Information processing method of electronic equipment and electronic equipment
CN112313742B (en) Adjusting assistant responsiveness based on characteristics of a multi-assistant environment
US11373646B2 (en) Household appliance control method, device and system, and intelligent air conditioner by determining user sound source location based on analysis of mouth shape
CN110459221B (en) Method and device for multi-device cooperative voice interaction
CN112740626B (en) Method and apparatus for providing notification by causing a plurality of electronic devices to cooperate
US20180182392A1 (en) Method for performing voice control on device with microphone array, and device thereof
CN111869185B (en) Generating IoT-based notifications and providing commands that cause an automated helper client of a client device to automatically render the IoT-based notifications
US10291768B2 (en) Information processing method and user equipment
CN110363888B (en) Door lock management method and device, electronic equipment and readable storage medium
US20220238091A1 (en) Selective noise cancellation
KR20220003625A (en) Performance detection method, apparatus, electronic device, computer readable medium and computer program product
CN113938734A (en) Smart television control method, device and equipment based on radar and storage medium
US8694445B1 (en) Triggering attract mode for devices using viewability conditions and detected proximity of human to device
CN113064384A (en) Intelligent household appliance, cloud server and method for monitoring abnormity
WO2014132824A1 (en) Portable terminal device
CN116088992B (en) Click control method and system based on image recognition and voice recognition
US20200267350A1 (en) Electronic apparatus, control method, and recording medium
JP2017046188A (en) Control device, control system, and program
US20190386844A1 (en) Drawing performance improvement for an external video output device
Takahashi et al. Improvement of automatic fire extinguisher system for residential use
CN117031973A (en) Household appliance control method, device, equipment and storage medium
CN112712675A (en) Earthquake early warning method, device, system and computer readable storage medium
CN110636456A (en) Method and device for receiving operation instruction and method and device for sending operation instruction
US20210166688A1 (en) Device and method for performing environmental analysis, and voice-assistance device and method implementing same
CN112295235A (en) Processing method and processing device

Legal Events

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