CN108958694A - Control method for computer - Google Patents

Control method for computer Download PDF

Info

Publication number
CN108958694A
CN108958694A CN201810688585.9A CN201810688585A CN108958694A CN 108958694 A CN108958694 A CN 108958694A CN 201810688585 A CN201810688585 A CN 201810688585A CN 108958694 A CN108958694 A CN 108958694A
Authority
CN
China
Prior art keywords
loudspeaker
distance
computer
case
control method
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.)
Withdrawn
Application number
CN201810688585.9A
Other languages
Chinese (zh)
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.)
Wuhu Saibo Information Technology Consulting Service Co ltd
Original Assignee
Wuhu Saibo Information Technology Consulting Service Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhu Saibo Information Technology Consulting Service Co ltd filed Critical Wuhu Saibo Information Technology Consulting Service Co ltd
Priority to CN201810688585.9A priority Critical patent/CN108958694A/en
Publication of CN108958694A publication Critical patent/CN108958694A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/011Emotion or mood input determined on the basis of sensed human body parameters such as pulse, heart rate or beat, temperature of skin, facial expressions, iris, voice pitch, brain activity patterns

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention provides a control method for a computer, and belongs to the technical field of computers. The control method comprises the following steps: detecting the environmental noise intensity of the area where the computer body is located; acquiring the type of audio output equipment of the computer body; judging whether the type of the audio output equipment is a loudspeaker; and under the condition that the environmental noise intensity is greater than the preset sound intensity threshold value and the type of the audio output equipment is a loudspeaker, controlling the computer body to reduce the playing volume of the loudspeaker. The control method can intelligently adjust the playing volume of the audio output equipment of the computer so as to provide the most comfortable sound environment for the user.

Description

One kind being used for computer control method
Technical field
The present invention relates to field of computer technology, are used for computer control method more particularly to one kind.
Background technique
With the improvement of living standards, computer comes into every household as most basic household electrical appliance, while also becoming Most basic office equipment.In order to meet the growing needs of people, computer is also stronger towards performance, function is more, more The direction of hommization is developed.
For amusement and recreation or need of work, no matter being in or office, people are frequently necessary to by calculating machine sowing Put some audio files or video file.But it is necessary to considering when home or office has the generation of other sound simultaneously Whether the broadcast sound volume of the according to the actual situation audio output apparatus of appropriate adjustment computer is needed.As colleagues chat in office It when, in order to avoid interfere other work together exchange, broadcast sound volume should be reduced.
Summary of the invention
The object of the present invention is to provide one kind to be used for computer control method, which being capable of intelligent regulating calculation The broadcast sound volume of the audio output apparatus of machine, to provide the user with the acoustic environment of the most comfortable.
To achieve the goals above, the present invention provides a kind of for computer control method, which includes: to connect Receive the control instruction of the user of computer body;In the case where receiving control instruction, computer body region is detected Environmental noise level;Judge whether environmental noise level is greater than preset audio intensity threshold;Judging environmental noise level In the case where greater than preset audio intensity threshold, the type of the audio output apparatus of computer body is obtained;Judge that audio is defeated Whether the type of equipment is loudspeaker out;In the case where judging the type of audio output apparatus for loudspeaker, computer is controlled Ontology is to reduce the broadcast sound volume of loudspeaker.
Preferably, control method further include: in the case where the type of audio output apparatus is loudspeaker, detect user The distance between computer body;According to the broadcast sound volume of the big minor adjustment loudspeaker of distance.
Preferably, specifically included according to the broadcast sound volume of the big minor adjustment loudspeaker of distance: judge distance whether be greater than away from From threshold value;In the case where judgement distance is greater than distance threshold, judge whether distance is in enlarging state or reduces state;? In the case that judgement distance is greater than distance threshold and is in enlarging state, computer body is controlled to increase the broadcasting sound of loudspeaker Amount;In the case where judgement distance is greater than distance threshold and is in reduction state, computer body is controlled to reduce loudspeaker Broadcast sound volume.
Preferably, control method further include: the heart rate of real-time detection user;Judge whether heart rate is lower than default heart rate; In the case where judging that heart rate is lower than default heart rate, computer is controlled to reduce the broadcast sound volume of loudspeaker.
Preferably, control method further include: in the case where judging the type of audio output apparatus for loudspeaker, obtain Real-time time;Judge whether real-time time is more than preset time;In the case where judging that real-time time is more than preset time, control Computer is to reduce the broadcast sound volume of loudspeaker.
Through the above technical solutions, the control system first detects environmental noise level before opening audio output apparatus, According to the type adjustment broadcast sound volume of environmental noise level and audio output apparatus, the audiovisual ring of the most comfortable can be provided the user with Border.
Other features and advantages of the present invention will the following detailed description will be given in the detailed implementation section.
Detailed description of the invention
The drawings are intended to provide a further understanding of the invention, and constitutes part of specification, with following tool Body embodiment is used to explain the present invention together, but is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart for computer control method according to an embodiment of the present invention;
Fig. 2 is a kind of flow chart for computer control method according to an embodiment of the present invention;
Fig. 3 is a kind of flow chart for computer control method according to an embodiment of the present invention;
Fig. 4 is a kind of flow chart for computer control method according to an embodiment of the present invention;
Fig. 5 is a kind of structural block diagram of control system for computer according to an embodiment of the present invention;
Fig. 6 is a kind of structural block diagram of control system for computer according to an embodiment of the present invention;
Fig. 7 is a kind of structural block diagram of control system for computer according to an embodiment of the present invention;
Fig. 8 is a kind of structural block diagram of control system for computer according to an embodiment of the present invention.
Specific embodiment
Below in conjunction with attached drawing, detailed description of the preferred embodiments.It should be understood that this place is retouched The specific embodiment stated is merely to illustrate and explain the present invention, and is not intended to restrict the invention.
Fig. 1 is a kind of flow chart for computer control method according to an embodiment of the present invention.Such as Fig. 1 institute Show, provides one kind for computer control method in one embodiment of the present invention, which may include:
In step s101, the control instruction of the user of computer body is received;
In step s 102, in the case where receiving control instruction, the environment of detection computer body region is made an uproar Sound intensity degree;
In step s 103, judge whether environmental noise level is greater than preset audio intensity threshold;
In step S104, in the case where judging that environmental noise level is greater than preset audio intensity threshold, meter is obtained The type of the audio output apparatus of calculation machine ontology;
In step s105, whether the type for judging audio output apparatus is loudspeaker;
In step s 106, in the case where judging the type of audio output apparatus for loudspeaker, computer body is controlled To reduce the broadcast sound volume of loudspeaker.
Before the audio output apparatus of computer body is opened, user issues the control of detection indoor environment noise intensity Instruction.Indoor environment noise, which for example can be colleague or household, chats and generates, if audio output apparatus selects loudspeaker, but It is that should just reduce the broadcast sound volume of loudspeaker at this time in order to avoid influencing exchange.
Fig. 2 is a kind of flow chart for computer control method according to an embodiment of the present invention.Such as Fig. 2 institute Show, provides one kind for computer control method, compared with control method shown in FIG. 1 in one embodiment of the present invention Compared with the control method can also include:
In step S207, in the case where the type of audio output apparatus is loudspeaker, user and computer sheet are detected The distance between body;
In step S208, according to the broadcast sound volume of the big minor adjustment loudspeaker of distance.
Specifically, it can wrap according to the broadcast sound volume of the big minor adjustment loudspeaker of distance between user and computer body It includes:
Judge whether distance is greater than distance threshold;
In the case where judgement distance is greater than distance threshold, judge whether distance is in enlarging state or reduces state;
In the case where judgement distance is greater than distance threshold and is in enlarging state, computer body is controlled to increase loudspeaking The broadcast sound volume of device;
In the case where judgement distance is greater than distance threshold and is in reduction state, computer body is controlled to reduce loudspeaking The broadcast sound volume of device.
Heart rate can react the mood of user to a certain extent, and under normal circumstances, the heart rate of user is lower, then show to use The mood at family is more low, is suitable for soft, quiet music environment.
Fig. 3 is a kind of flow chart for computer control method according to an embodiment of the present invention.Such as Fig. 3 institute Show, provides one kind for computer control method, compared with control method shown in Fig. 2 in one embodiment of the present invention Compared with the control method can also include:
In step S309, the heart rate of real-time detection user;
In step s310, judge whether heart rate is lower than default heart rate;
In step S311, in the case where judging that heart rate is lower than default heart rate, computer is controlled to reduce loudspeaker Broadcast sound volume.
It, at dead of night, should be appropriate in order to avoid influencing the people of surrounding if the audio output apparatus that user selects is loudspeaker Reduce the broadcast sound volume of loudspeaker.
Fig. 4 is a kind of flow chart for computer control method according to an embodiment of the present invention.Such as Fig. 4 institute Show, provides one kind for computer control method, compared with control method shown in FIG. 1 in one embodiment of the present invention Compared with the control method can also include:
In step S 407, in the case where the type of audio output apparatus is loudspeaker, real-time time is obtained;
In step S408, judge whether real-time time is more than preset time;
In step S409, in the case where judging that real-time time is more than preset time, computer is controlled to reduce loudspeaking The broadcast sound volume of device.
Preset time for example can be 11 o'clock of night.
It will be appreciated by those skilled in the art that in any one of the above in computer control method, reducing or Before person increases the broadcast sound volume of loudspeaker, the current broadcast sound volume of loudspeaker all should be first obtained, and judge current broadcasting Whether volume is more than or less than for the preset broadcast sound volume of the situation, needs to reduce or increase broadcasting for loudspeaker in judgement In the case where playback amount, relevant operation can be just executed.
Fig. 5 is a kind of structural block diagram of control system for computer according to an embodiment of the present invention.Such as Fig. 5 It is shown, a kind of control system for computer is provided in one embodiment of the present invention, which may include:
Sound transducer 10 generates and sends finger for detecting the environmental noise level of 30 region of computer body Show the noise detecting signal of environmental noise level;
Controller 20 connect with sound transducer 10 and computer body 30 respectively, is used for:
Receive the control instruction of the user of computer body 30;
In the case where receiving control instruction, start sound transducer 10;
Noise detecting signal is received by sound transducer 10 to obtain environmental noise level;
Judge whether environmental noise level is greater than preset audio intensity threshold;
In the case where judging that environmental noise level is greater than preset audio intensity threshold, the sound of computer body 30 is obtained The type of frequency output equipment;
Whether the type for judging audio output apparatus is loudspeaker;
In the case where judging the type of audio output apparatus for loudspeaker, computer body 30 is controlled to reduce loudspeaker Broadcast sound volume.
Fig. 6 is a kind of structural block diagram of control system for computer according to an embodiment of the present invention.Such as Fig. 6 It is shown, a kind of control system for computer is provided in one embodiment of the present invention, with control system phase shown in fig. 5 Compare, which can also include:
Range sensor 40 generates and sends instruction distance for detecting the distance between user and computer body 30 Distance detect signal;
Controller 20 is further used for:
In the case where judging the type of audio output apparatus for loudspeaker, start range sensor 40;
Distance detection signal is received, to obtain distance;
According to the broadcast sound volume of the big minor adjustment loudspeaker of distance.
In one embodiment of the present invention, it is specifically included according to the broadcast sound volume of the big minor adjustment loudspeaker of distance:
Judge whether distance is greater than distance threshold;
In the case where judgement distance is greater than distance threshold, judge whether distance is in enlarging state or reduces state;
In the case where judgement distance is greater than distance threshold and is in enlarging state, controls computer body 30 and raised with increasing The broadcast sound volume of sound device;
In the case where judgement distance is greater than distance threshold and is in reduction state, controls computer body 30 and raised with reducing The broadcast sound volume of sound device.
In one embodiment of the present invention, controller 20 can also be further used for:
In the case where the type of audio output apparatus is earphone, judge whether the broadcast sound volume of earphone is more than broadcast sound volume Threshold value;
In the case where judging that the broadcast sound volume of earphone is more than broadcast sound volume threshold value, control computer body 30 generates instruction The excessive warning instruction of broadcast sound volume, and issue language.
Fig. 7 is a kind of structural block diagram of control system for computer according to an embodiment of the present invention.Such as Fig. 7 It is shown, a kind of control system for computer is provided in one embodiment of the present invention, with control system phase shown in fig. 6 Compare, which can also include:
Motion bracelet 60 generates and sends the heart rate detection signal of instruction heart rate for the heart rate of real-time detection user;
Controller 20 is further used for:
Heart rate detection signal is received, to obtain heart rate;
Judge whether heart rate is lower than default heart rate;
In the case where judging that heart rate is lower than default heart rate, computer body 30 is controlled to reduce the broadcasting sound of loudspeaker Amount.
Fig. 8 is a kind of structural block diagram of control system for computer according to an embodiment of the present invention.Such as Fig. 8 It is shown, a kind of control system for computer is provided in one embodiment of the present invention, with control system phase shown in Fig. 7 Compare, which can also include:
Electronic clock 70;
Controller 20 is further used for:
In the case where judging the type of audio output apparatus for loudspeaker, real-time time is obtained by electronic clock 70;
Judge whether real-time time is more than preset time;
In the case where judging that real-time time is more than preset time, computer body 30 is controlled to reduce the broadcasting of loudspeaker Volume.
In one embodiment of the present invention, a kind of computer is additionally provided, which for example may include:
Above-mentioned computer body 30;And
Any one above-mentioned is used for the control system of computer.
By above embodiment, the control method and control system first detect environment before opening audio output apparatus Noise intensity can provide the user with most easypro according to the type adjustment broadcast sound volume of environmental noise level and audio output apparatus Suitable audio visual environment.
Optional embodiment of the invention is described in detail in conjunction with attached drawing above, still, the present invention is not limited to it is above-mentioned can The detail in embodiment is selected, within the scope of the technical concept of the present invention, technical solution of the present invention can be carried out more Kind simple variant, these simple variants all belong to the scope of protection of the present invention.
It is further to note that specific technical features described in the above specific embodiments, in not lance In the case where shield, it can be combined in any appropriate way.In order to avoid unnecessary repetition, embodiment of the present invention To various combinations of possible ways, no further explanation will be given.
In addition, various embodiments of the present invention can be combined randomly, as long as it is without prejudice to originally The thought of invention embodiment equally should be considered as embodiment of the present invention disclosure of that.

Claims (5)

1. one kind is used for computer control method characterized by comprising
Receive the control instruction of the user of computer body;
In the case where receiving the control instruction, the environmental noise level of computer body region is detected;
Judge whether the environmental noise level is greater than preset audio intensity threshold;
In the case where judging that the environmental noise level is greater than preset audio intensity threshold, the computer body is obtained The type of audio output apparatus;
Whether the type for judging the audio output apparatus is loudspeaker;
In the case where judging the type of the audio output apparatus for loudspeaker, it is described to reduce to control the computer body The broadcast sound volume of loudspeaker.
2. control method according to claim 1, which is characterized in that further include:
In the case where the type of the audio output apparatus is loudspeaker, detect between the user and the computer body Distance;
According to the broadcast sound volume of loudspeaker described in the big minor adjustment of the distance.
3. control method according to claim 2, which is characterized in that raised described in the big minor adjustment according to the distance The broadcast sound volume of sound device specifically includes:
Judge whether the distance is greater than distance threshold;
In the case where judging that the distance is greater than distance threshold, judge whether the distance is in enlarging state or reduces shape State;
In the case where judging that the distance is greater than distance threshold and is in enlarging state, the computer body is controlled to increase The broadcast sound volume of the loudspeaker;
In the case where judging that the distance is greater than distance threshold and is in reduction state, the computer body is controlled to reduce The broadcast sound volume of the loudspeaker.
4. control method as claimed in any of claims 1 to 3, which is characterized in that further include:
The heart rate of user described in real-time detection;
Judge whether the heart rate is lower than default heart rate;
In the case where judging that the heart rate is lower than default heart rate, the computer is controlled to reduce the loudspeaker or described The broadcast sound volume of earphone.
5. control method according to claim 1, further includes:
In the case where the type of the audio output apparatus is loudspeaker, real-time time is obtained;
Judge whether the real-time time is more than preset time;
In the case where judging that the real-time time is more than preset time, the computer is controlled to reduce broadcasting for the loudspeaker Playback amount.
CN201810688585.9A 2018-06-28 2018-06-28 Control method for computer Withdrawn CN108958694A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810688585.9A CN108958694A (en) 2018-06-28 2018-06-28 Control method for computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810688585.9A CN108958694A (en) 2018-06-28 2018-06-28 Control method for computer

Publications (1)

Publication Number Publication Date
CN108958694A true CN108958694A (en) 2018-12-07

Family

ID=64487605

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810688585.9A Withdrawn CN108958694A (en) 2018-06-28 2018-06-28 Control method for computer

Country Status (1)

Country Link
CN (1) CN108958694A (en)

Similar Documents

Publication Publication Date Title
RU2630683C2 (en) Method and device for switching modes
CN109780699B (en) Rotating speed control method and device
US10705791B2 (en) Volume adjustment method and terminal
CN108369805B (en) Voice interaction method and device and intelligent terminal
US12032419B2 (en) Thermal management systems for electronic devices and related methods
US20140078404A1 (en) Method and system for automatically adjusting television volume, television set and television remote controller
JP2011118822A (en) Electronic apparatus, speech detecting device, voice recognition operation system, and voice recognition operation method and program
WO2015165180A1 (en) Method and system for controlling television volume
JP2015126869A (en) Sleep aid system and sleep aid method
US9601128B2 (en) Communication apparatus and voice processing method therefor
CN106572411A (en) Noise cancelling control method and relevant device
CN113949956B (en) Noise reduction processing method and device, electronic equipment, earphone and storage medium
CN106970774A (en) A kind of volume adjustment device and method, a kind of terminal
CN112015365A (en) Volume adjustment method and device and electronic equipment
US11232781B2 (en) Information processing device, information processing method, voice output device, and voice output method
CN113542963B (en) Sound mode control method, device, electronic equipment and storage medium
CN103676704B (en) Buzzer output control method and device
CN108897520A (en) Control system for computer
CN107734130A (en) A kind of adjust automatically terminal tone method, apparatus and terminal
CN108874361A (en) Control method for computer
CN108958694A (en) Control method for computer
CN111365813B (en) Air conditioner and control method thereof
CN108897518A (en) Control method for computer
CN108897519A (en) Control system for computer
CN114283773A (en) Method and apparatus for reducing environmental noise for voice device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20181207