CN115586825A - All-in-one machine and power supply control method and system thereof - Google Patents
All-in-one machine and power supply control method and system thereof Download PDFInfo
- Publication number
- CN115586825A CN115586825A CN202211129587.7A CN202211129587A CN115586825A CN 115586825 A CN115586825 A CN 115586825A CN 202211129587 A CN202211129587 A CN 202211129587A CN 115586825 A CN115586825 A CN 115586825A
- Authority
- CN
- China
- Prior art keywords
- microphone
- camera
- power supply
- control module
- sleep mode
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/266—Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Power Sources (AREA)
Abstract
The application discloses all-in-one machine and power control method and system thereof, the all-in-one machine comprises: a peripheral device comprising a storage component, a microphone, and a camera; a control module configured to include a sleep mode and a standby mode, in the standby mode, the control module turning off power to the storage component, the microphone, and the camera; in a sleep mode, the control module reserves the power supply of the storage component and closes the power supply of the microphone and the camera. By the method, the condition that privacy leakage is caused by calling the microphone and the camera by the background program when the all-in-one machine is in a sleep state can be avoided.
Description
Technical Field
The application relates to an intelligent device technology, in particular to an all-in-one machine and a power supply control method and system thereof.
Background
The popularization of random integrated machines, which are commonly used in classrooms and meeting rooms, currently designed integrated machines generally comprise a standby mode and a sleep (dormant) mode. In the standby mode, the power supply of the power management chip power supply of the key panel, the infrared receiver and the host chip is only reserved (in order to be started), and the power supply of the rest electronic components is cut off.
The inventors have found that in the current sleep mode, only the screen and speakers are turned off in order to maintain the running of the background program while saving power. Based on this situation, software running in the background may call a camera or a microphone, thereby creating a hidden danger of privacy disclosure.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the invention provides an all-in-one machine and a power supply control method and system thereof, so as to avoid privacy disclosure of equipment in a sleep mode.
In one aspect, an embodiment of the present application provides an all-in-one machine, including:
a peripheral device comprising a storage component, a microphone, and a camera;
a control module configured to include a sleep mode and a standby mode, the control module turning off power to the storage assembly, the microphone, and the camera in the standby mode; in a sleep mode, the control module reserves the power supply of the storage component and closes the power supply of the microphone and the camera.
In some embodiments, the control module is further configured to determine, by reading the USB device node list, a USB interface corresponding to the microphone and the camera according to an attribute of a device in the USB device node list, and implement power supply control over the microphone and the camera by controlling power supply to the USB interface.
In some embodiments, the control module checks a microphone and a camera in the list of USB device nodes each time it determines to enter sleep mode.
In some embodiments, an android system is mounted on the control module, a USB corresponding to the microphone and a USB corresponding to the camera, which are identified when the android system is initialized, record a text of a preset position, and when the control module determines to enter the sleep mode, the control module determines, according to contents in the text, that the USB interface requiring power supply shutdown is provided.
In some embodiments, the control module is further configured to control to turn off power to the bluetooth module when entering the sleep mode.
On the other hand, the embodiment of the application provides a power supply control method for an all-in-one machine, which comprises the following steps:
determining to enter a sleep mode;
closing the display screen;
closing the horn;
and judging whether a camera or a microphone exists, if so, closing the power supply of the existing camera and microphone to enter a sleep mode.
In some embodiments, the determining whether a camera or a microphone exists specifically includes:
and determining whether a microphone or a camera exists by reading the attribute of the equipment in the USB equipment node list.
In some embodiments, the power supply to the existing camera and microphone is turned off, in particular:
and the power supply of the microphone and the camera is turned off by disconnecting the power supply to the USB interface.
In some embodiments, the microphones and cameras in the USB device node list are checked each time it is determined to enter sleep mode.
On the other hand, the embodiment of the present application provides a power control system of an all-in-one machine, including:
a memory for storing a program;
and the processor is used for loading the program to execute the control method of the all-in-one machine.
The embodiment of the application is mainly applied to all-in-one machines comprising a storage component, a microphone and a camera, the all-in-one machines comprise a sleep mode and a standby mode, in the sleep mode, the power supply of the storage component is not turned off by equipment, so that a background can continuously run programs or store the current storage state, and the state before sleep can be directly recovered after the sleep state is released.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a peripheral of an all-in-one machine provided in an embodiment of the present application;
fig. 2 is a flowchart of a power supply control method of an all-in-one machine provided in an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be clearly and completely described below through embodiments with reference to the accompanying drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
In the description of the present invention, the meaning of a plurality is one or more, the meaning of a plurality is two or more, and the above, below, exceeding, etc. are understood as excluding the present numbers, and the above, below, within, etc. are understood as including the present numbers. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, unless otherwise specifically limited, the terms such as set forth and the like should be construed broadly, and those skilled in the art can reasonably determine the specific meanings of the above terms in combination with the detailed contents of the technical solutions.
In the description of the present invention, reference to the description of "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples", etc., means that a particular feature or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Referring to fig. 1 and 2, an embodiment of the present application discloses an all-in-one machine, including:
and the peripheral equipment comprises a storage component (a memory, an EMMC, a hard disk and the like), a microphone, a camera, a display screen, a loudspeaker and a communication module (such as Bluetooth, a network module and the like).
A control module configured to include a sleep mode and a standby mode, the control module turning off power to the storage assembly, the microphone, and the camera in the standby mode; in a sleep mode, the control module reserves the power supply of the storage component and closes the power supply of the microphone and the camera. The control module may refer to a module composed of one or more processors for implementing the above-described functions. It may be a combination including a master control chip and a power management chip. For example, the main control chip may be used to complete an interface for detecting connection between the camera and the microphone, and a main body for generating control instructions, and the power management chip is an object for actually controlling execution.
The main difference between the sleep mode and the standby mode is that the storage component is still in a power supply state in the sleep mode, and the processor may be in a low power consumption state and a normal active state in the sleep mode; this means that in the sleep state, the processor of the all-in-one machine can actually still perform operations, so that the background program can continue to operate in the screen-off state. If the camera (built-in or external) or the microphone (built-in or external) is called by the background program, it means that the user may be carelessly obtained private information by the background program, such as audio recording, video recording and the like.
Therefore, in the scheme, when the equipment enters the sleep mode, the power supply of the microphone and the camera is turned off, so that the input equipment cannot acquire field information. Therefore, the background program can be prevented from stealing and recording the field state. Meanwhile, the purpose of the sleep mode can be achieved by maintaining the power supply of the storage device, namely, the device can quickly recover the basic state before sleeping from the sleep state while saving the electric quantity.
It will be appreciated that in order to avoid shutting down important peripherals in a sleep state, such that some functions of the software that do not involve privacy problems cannot be used normally, it is necessary to shut down the power supply to the microphone and camera relatively accurately. Typically, both the microphone (array) and the camera are connected to the motherboard using a USB interface. Of course, it is not excluded that there are devices connected by I2C and common serial ports, and even different interfaces may be controlled by controlling the power supply.
In some embodiments, the control module is further configured to determine, by reading the USB device node list, a USB interface corresponding to the microphone and the camera according to an attribute of a device in the USB device node list, and implement power supply control over the microphone and the camera by controlling power supply to the USB interface. The control module checks the microphones and the cameras in the USB device node list each time it is determined to enter the sleep mode.
An android system and a windows system may be loaded in the all-in-one machine, the systems all include a USB device node list, which USB nodes are connected with the devices currently can be read by reading the USB device node list, and what the devices are can be determined according to the device attributes in the list. Then, the control module can prevent the camera or the microphone from being called by turning off the power supply of the corresponding USB interface. In the embodiment in this section, a manner of querying a node list of the USB device is used, which can determine the current device status on the spot, and perform detection before each sleep, so as to ensure the accuracy of the result.
In other embodiments, an android system is mounted on the control module, a USB corresponding to the microphone and a USB corresponding to the camera, which are identified when the android system is initialized, record a text in a preset position, and when the control module determines to enter the sleep mode, the control module determines, according to contents in the text, that the USB interface requiring power supply shutdown is provided. In the method, the actions of the android system during initialization are utilized, codes can be added into a code block of the initialization equipment, and USB interfaces corresponding to the accessed camera and the accessed microphone are recorded in a local document, so that the equipment list does not need to be read again during sleep, and the speed is higher when the camera and the microphone are closed.
In some embodiments, to address situations where bluetooth is directly connected to the device and not recognized as a camera/microphone, the control module may also be configured to control powering off the bluetooth module when entering the sleep mode.
Referring to fig. 2, an embodiment of the present application provides a power supply control method for an all-in-one machine, including:
s1, determining to enter a sleep mode.
And S2, closing the display screen. It may be the case for the liquid crystal display that its backlight is turned off and turning off the display may be the interruption of its power supply.
And S3, closing the horn. It is to be understood that turning off the horn may be turning off the horn, powering the power amplification board, turning it into a mute state, and the like, and it is to be understood that the order of steps S2 to S4 may be replaced or performed simultaneously. The present embodiment merely provides an example of the sequence.
And S4, judging whether a camera or a microphone exists, and if so, closing the power supply of the existing camera and microphone to enter a sleep mode.
Wherein, whether judge to have camera or microphone specifically is:
and determining whether a microphone or a camera exists by reading the attribute of the equipment in the USB equipment node list. In order to ensure that a camera or a microphone connected after the all-in-one machine is started is detected, the microphone and the camera in the USB device node list are checked when the all-in-one machine is determined to enter the sleep mode.
Closing the power supply of the existing camera and microphone, specifically:
and the power supply of the microphone and the camera is turned off by disconnecting the power supply to the USB interface.
The embodiment of the application provides a power control system of all-in-one machine, include:
a memory for storing a program;
and the processor is used for loading the program to execute the power supply control method of the all-in-one machine.
The integrated units described in this application may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solutions of the present application, which are essential or part of the technical solutions contributing to the prior art, or all or part of the technical solutions, may be embodied in the form of a software product stored in a storage medium, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a portable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. Those skilled in the art will appreciate that the present application is not limited to the particular embodiments described herein, but is capable of many obvious modifications, rearrangements and substitutions without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.
Claims (10)
1. An all-in-one machine, comprising:
a peripheral device comprising a storage component, a microphone, and a camera;
a control module configured to include a sleep mode and a standby mode, in the standby mode, the control module turning off power to the storage component, the microphone, and the camera; in a sleep mode, the control module reserves the power supply of the storage component and closes the power supply of the microphone and the camera.
2. The all-in-one machine of claim 1, wherein the control module is further configured to determine the USB interfaces corresponding to the microphone and the camera according to the attributes of the devices in the USB device node list by reading the USB device node list, and to control power supply to the microphone and the camera by controlling power supply to the USB interfaces.
3. The all-in-one machine of claim 2, wherein the control module checks a microphone and a camera in the list of USB device nodes each time it is determined to enter the sleep mode.
4. The all-in-one machine according to claim 1, wherein an android system is mounted on the control module, a USB corresponding to a microphone and a USB corresponding to a camera which are identified when the android system is initialized record a text at a preset position, and when the control module determines to enter a sleep mode, the control module determines to turn off a USB interface which needs to be powered according to contents in the text.
5. The all-in-one machine of claim 1, wherein the control module is further configured to control to turn off power supply to the bluetooth module when entering the sleep mode.
6. A method for controlling power supply of an all-in-one machine according to claim 1, characterized by comprising:
determining to enter a sleep mode;
closing the display screen;
closing the horn;
and judging whether a camera or a microphone exists, if so, closing the power supply of the existing camera and microphone to enter a sleep mode.
7. The power control method of the all-in-one machine according to claim 6, wherein the judging whether a camera or a microphone exists is specifically:
and determining whether a microphone or a camera exists by reading the attribute of the equipment in the USB equipment node list.
8. The method for controlling the power supply of the all-in-one machine according to claim 7, wherein the power supply of the existing camera and microphone is turned off, specifically:
and the power supply of the microphone and the camera is turned off by disconnecting the power supply to the USB interface.
9. The method for controlling the power supply of the all-in-one machine according to claim 7, wherein each time the sleep mode is determined to be entered, the microphones and the cameras in the USB device node list are checked.
10. A power control system of an all-in-one machine is characterized by comprising:
a memory for storing a program;
a processor for loading the program to execute the power control method of the all-in-one machine according to any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211129587.7A CN115586825A (en) | 2022-09-16 | 2022-09-16 | All-in-one machine and power supply control method and system thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211129587.7A CN115586825A (en) | 2022-09-16 | 2022-09-16 | All-in-one machine and power supply control method and system thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115586825A true CN115586825A (en) | 2023-01-10 |
Family
ID=84778530
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211129587.7A Pending CN115586825A (en) | 2022-09-16 | 2022-09-16 | All-in-one machine and power supply control method and system thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115586825A (en) |
-
2022
- 2022-09-16 CN CN202211129587.7A patent/CN115586825A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8001406B2 (en) | Method and apparatus for managing power of portable information device | |
JP5705999B2 (en) | Method and system for managing sleep state of an interrupt controller in a portable computing device | |
US8645671B2 (en) | Direct computing experience | |
CN109831700B (en) | Standby mode switching method and device, electronic equipment and storage medium | |
KR20120064096A (en) | Methods and systems for operating a computer via a low power adjunct processor | |
US11176228B2 (en) | Application interface display method, apparatus, and terminal, and storage medium | |
US20070126729A1 (en) | Method and apparatus for reducing power consumption in display area | |
US20050055591A1 (en) | Computer system and a control method thereof | |
US20200252686A1 (en) | Standby mode switching method, device, and storage medium | |
CN107168818A (en) | Terminal and brush machine failure recovery method | |
WO2020134566A1 (en) | Control method for doze mode of mobile terminal, storage medium and mobile terminal | |
CN111462785A (en) | Recording control method, recording control device, storage medium and mobile terminal | |
US11508423B2 (en) | Noise shielding circuit and chip | |
CN110109529B (en) | SD card power supply control method and device, storage medium and electronic equipment | |
WO2021196625A1 (en) | Method for formatting intelligent terminal and intelligent terminal thereof, and storage medium | |
CN108021301A (en) | A kind of volume adjusting method, terminal device and computer-readable recording medium | |
CN115586825A (en) | All-in-one machine and power supply control method and system thereof | |
KR101128251B1 (en) | Apparatus and method for controling power saving by devices of executed program | |
KR101792503B1 (en) | Computer system and method for controlling thereof | |
US20150370673A1 (en) | System and method for providing a communication channel to a power management integrated circuit in a pcd | |
KR102417186B1 (en) | Method for operating a notebook computer | |
CN103744741A (en) | Method for overcoming operation trouble of terminal and terminal | |
US11854500B2 (en) | Display brightness management for loading content | |
CN116700815B (en) | Hardware resource control method, electronic device and readable storage medium | |
KR101801571B1 (en) | Computer system and method for controlling thereof |
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 |