CN107515564B - Mirror display mode control method, device, equipment and storage medium - Google Patents

Mirror display mode control method, device, equipment and storage medium Download PDF

Info

Publication number
CN107515564B
CN107515564B CN201710700689.2A CN201710700689A CN107515564B CN 107515564 B CN107515564 B CN 107515564B CN 201710700689 A CN201710700689 A CN 201710700689A CN 107515564 B CN107515564 B CN 107515564B
Authority
CN
China
Prior art keywords
information
audio
instruction information
mirror surface
mirror
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.)
Active
Application number
CN201710700689.2A
Other languages
Chinese (zh)
Other versions
CN107515564A (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201710700689.2A priority Critical patent/CN107515564B/en
Priority to PCT/CN2017/116795 priority patent/WO2019033666A1/en
Publication of CN107515564A publication Critical patent/CN107515564A/en
Application granted granted Critical
Publication of CN107515564B publication Critical patent/CN107515564B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/02Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • 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/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Automation & Control Theory (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a method, a device and equipment for controlling a display mode of a mirror surface and a storage medium. The method comprises the following steps: detecting the distance between a user and the mirror surface through a sensor according to a preset frequency; if the distance is smaller than the preset distance, acquiring current audio information; acquiring instruction information corresponding to the audio information according to the audio information and a pre-stored mapping table comprising audio sample information and instruction information; according to the technical scheme, the intelligent control of the display screen can be realized through voice recognition and analysis when a user is in front of the mirror surface, no manual operation is needed, interaction is more convenient and fast, and user experience is improved.

Description

Mirror display mode control method, device, equipment and storage medium
Technical Field
The present invention relates to an intelligent terminal technology, and in particular, to a method, an apparatus, a device, and a storage medium for controlling a display mode of a mirror.
Background
In the modern society, people have higher and higher requirements on electronic equipment, and hope that the functions of electronic products are richer, so that mirror display products appear in the visual field of people. The mirror surface display product is formed by embedding a display screen in glass with a mirror surface effect, and the mirror surface imaging effect of the area is reduced due to the display brightness and the rendering content of the display screen.
Some mirror display products on the market adopt the following method for solving the above problems, one method is as follows: the glass in the area of the display screen does not have the mirror surface coating effect, namely the glass in the area of the display screen does not have the mirror surface imaging capability, so that the whole mirror surface product has a leak in the visual imaging; the other way is as follows: the glass in the area where the display screen is located is coated with the mirror surface, and when the mirror surface effect imaging is needed, the screen brightness is reduced, or the display screen equipment is directly closed.
The two methods have the defects that the operation is not intelligent enough, the achieved full-mirror-effect imaging is defective (the imaging area of the whole mirror surface is small in the area of the display screen or the imaging effect of the display screen area is poor), the mode of closing the display screen needs to manually press the power key to wake up, and the physical examination is poor.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for controlling a display mode of a mirror surface, which can realize intelligent control on a display screen through voice recognition and analysis when a user is in front of the mirror surface, do not need any manual operation, are more convenient and faster in interaction and improve user experience.
In a first aspect, an embodiment of the present invention provides a method for controlling a display mode of a mirror, including:
detecting the distance between a user and the mirror surface through a sensor according to a preset frequency;
if the distance is smaller than the preset distance, acquiring current audio information;
acquiring instruction information corresponding to the audio information according to the audio information and a pre-stored mapping table comprising audio sample information and instruction information;
and switching the display mode of a display screen embedded in the mirror surface according to the instruction information, wherein the display area of the display screen is provided with a mirror surface coating film.
Further, before detecting the distance between the user and the mirror surface through the sensor according to the preset frequency, the method further includes:
establishing a mapping table about the corresponding relation between the instruction information and the audio sample information;
according to the audio information and a pre-stored mapping table comprising audio sample information and instruction information, acquiring instruction information corresponding to the audio information, specifically:
and matching in the mapping table according to the audio information, searching for audio sample information with the similarity reaching a preset threshold value, and acquiring instruction information corresponding to the audio sample information.
Further, before detecting the distance between the user and the mirror surface through the sensor according to the preset frequency, the method further includes:
establishing a first database of noise waveforms in an environment in which the mirror is located;
according to the audio information and a pre-stored mapping table comprising audio sample information and instruction information, acquiring instruction information corresponding to the audio information, specifically:
acquiring the waveform of the audio information, and removing a noise waveform in a database from the waveform of the audio information to form denoised audio information;
and acquiring instruction information corresponding to the denoised audio information according to the denoised audio information and a preset mapping table comprising audio sample information and instruction information.
Further, the pre-stored audio sample information includes: and complete audio sample information corresponding to the instruction information and lost audio sample information corresponding to the instruction information.
In a second aspect, an embodiment of the present invention further provides an apparatus for controlling a display mode of a mirror, where the apparatus includes:
the detection module is used for detecting the distance between a user and the mirror surface through the sensor according to a preset frequency;
the acquisition module is used for acquiring the current audio information if the distance is smaller than the preset distance;
the matching module is used for acquiring instruction information corresponding to the audio information according to the audio information and a pre-stored mapping table comprising audio sample information and instruction information;
and the switching module is used for switching the display mode of the display screen embedded in the mirror surface according to the instruction information, wherein the display area of the display screen is provided with a mirror surface coating film.
Further, the method also comprises the following steps:
the mapping table establishing unit is used for establishing a mapping table related to the corresponding relation between the instruction information and the audio sample information before detecting the distance between the user and the mirror surface through the sensor according to the preset frequency;
the matching module is specifically configured to:
and matching in the mapping table according to the audio information, searching for audio sample information with the similarity reaching a preset threshold value, and acquiring instruction information corresponding to the audio sample information.
Further, the method also comprises the following steps:
the first database establishing unit is used for establishing a first database related to the noise waveform in the environment where the mirror surface is located before the distance between the user and the mirror surface is detected through the sensor according to the preset frequency;
the matching module is specifically configured to:
acquiring the waveform of the audio information, and removing a noise waveform in a database from the waveform of the audio information to form denoised audio information;
and acquiring instruction information corresponding to the denoised audio information according to the denoised audio information and a preset mapping table comprising audio sample information and instruction information.
Further, the pre-stored audio sample information includes: and complete audio sample information corresponding to the instruction information and lost audio sample information corresponding to the instruction information.
In a third aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method for controlling the display mode of the mirror according to any one of the embodiments of the present invention when executing the computer program.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the method for controlling the display mode of the mirror according to any one of the embodiments of the present invention.
The embodiment of the invention detects the distance between a user and the mirror surface through the sensor according to the preset frequency; if the distance is smaller than the preset distance, acquiring current audio information; acquiring instruction information corresponding to the audio information according to the audio information and a pre-stored mapping table comprising audio sample information and instruction information; the display mode of the display screen embedded in the mirror surface is switched according to the instruction information, wherein the display area of the display screen is provided with the mirror surface coating film, intelligent control over the display screen can be achieved through voice recognition and analysis when a user is in front of the mirror surface, no manual operation is needed, interaction is more convenient, and user experience is improved.
Drawings
FIG. 1 is a flowchart illustrating a method for controlling a display mode of a mirror according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for controlling a display mode of a mirror according to a second embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a control apparatus for controlling a display mode of a mirror according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device in the fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a method for controlling a display mode of a mirror in a first embodiment of the present invention, where the present embodiment is applicable to a situation of controlling the display mode of the mirror, and the method can be executed by a device for controlling the display mode of the mirror in the first embodiment of the present invention, and the device can be implemented in a software and/or hardware manner, as shown in fig. 1, and the method specifically includes the following steps:
and S110, detecting the distance between the user and the mirror surface through a sensor according to a preset frequency.
The preset frequency is a frequency set according to the acquisition requirement, may be a frequency set by the user according to the habit of the user, or may be an empirical value obtained according to experience, and this embodiment is not limited thereto.
Wherein the sensor may be an infrared sensor. For example, if the sensor is an infrared sensor, the distance between the user and the mirror surface may be acquired according to the intensity of infrared light received by the infrared pair tube.
The sensor may be placed in a position embedded in the boundary of the mirror, for example, the sensor may be placed in a position embedded in the center of the upper boundary of the mirror.
Specifically, the distance between the user and the mirror surface is detected through a sensor embedded on the mirror surface according to a preset frequency.
And S120, if the distance is smaller than the preset distance, acquiring the current audio information.
The preset distance is a critical value obtained according to experience, and if the distance between the user and the mirror reaches the preset distance, the user can be determined to be standing in front of the mirror.
Wherein the audio information is acquired by a microphone.
Specifically, if the distance between the user and the mirror surface is less than the preset distance, the audio information is acquired through the microphone.
And S130, acquiring instruction information corresponding to the audio information according to the audio information and a pre-stored mapping table comprising the audio sample information and the instruction information.
The pre-stored audio sample information is an audio signal or an audio waveform pre-stored to a local or a server.
Specifically, the acquired audio information is matched with pre-stored audio sample information, the audio sample information matched with the audio information is acquired, and then instruction information corresponding to the audio sample information is acquired.
In a specific example, the preset distance is 1 meter, when the sensor detects that the distance between the user and the mirror surface is 0.5 meter, and the distance between the user and the mirror surface is smaller than the preset distance, the audio information a starts to be acquired, the audio information is matched with the audio sample information which is stored to the local in advance, and if the audio sample information B which is stored locally is found to be matched with the acquired audio information a, the instruction information corresponding to the audio sample information B which is stored locally is acquired.
And S140, switching the display mode of the display screen embedded in the mirror surface according to the instruction information, wherein the display area of the display screen is provided with the mirror surface coating.
Wherein, the mirror surface is glass with mirror surface effect. Specifically, a display screen is embedded in glass with a mirror surface effect, and the glass in a display area of the display screen is provided with a mirror surface coating film.
The transmittance and reflectance of the mirror-surface plating film are set to optimum values, and may be, for example, 70% transmittance and 30% reflectance. When the transmittance is high, the content displayed in the display area of the display screen can be seen through the mirror surface; when the reflectance is high, the mirror surface is a mirror, and the content displayed in the display area of the display screen cannot be seen. Therefore, the transmittance and reflectance of the mirror coating film need to be optimized according to a plurality of tests to achieve the best effect.
The display mode of the display screen can be a mirror display mode and a normal display mode, the mirror display mode is that the display screen is in a low brightness or black screen state, and the device corresponding to the display screen can be in a dormant state, a shutdown state or a normal working state. The normal display mode is that the display screen is in a normal working state, and the equipment corresponding to the display screen is in a normal working state.
In a specific example, the audio information is matched with audio sample information stored in advance to the local, and if the locally stored audio sample information B is found to be matched with the acquired audio information a, the instruction information "switch mirror mode" corresponding to the locally stored audio sample information B is acquired. And switching the display mode of the display screen to a mirror display mode, namely adjusting the state of the display screen to a black screen state. The mirror surface then functions as a mirror.
In a specific example, the audio sample information and the instruction information corresponding to the audio sample information are stored in advance, for example, the word "magic mirror" is used as an instruction for switching to the bright screen mode, and "i want to look at the mirror" is used as an instruction for switching to the mirror mode, and is stored in the database. And identifying and acquiring user audio information by the microphone, analyzing the sound data, and triggering corresponding operation if the audio information A is matched with the audio sample information B and the instruction information of the audio information A is analyzed to be instruction information corresponding to the audio sample information B. For example, in a mirror surface touch display product (hereinafter referred to as a magic mirror), when the information of the display screen needs to be viewed, a voice command of the magic mirror is spoken, and the backlight of the display screen is turned on. When looking into the mirror, the instruction of 'i look into the mirror' is spoken, and the backlight of the display screen is controlled to be turned off.
According to the technical scheme of the embodiment, the mirror mode and the non-mirror mode are switched without triggering the system to wake up in a sleep mode, so that the switching state is very quick, and long-time waiting is not needed. The mirror mode switching is realized through the voice command without touching a screen, and fingerprints are prevented from being left on the mirror.
According to the technical scheme of the embodiment, the distance between a user and the mirror surface is detected through a sensor according to the preset frequency; if the distance is smaller than the preset distance, acquiring current audio information; acquiring instruction information corresponding to the audio information according to the audio information and a pre-stored mapping table comprising audio sample information and instruction information; the display mode of the display screen embedded in the mirror surface is switched according to the instruction information, wherein the display area of the display screen is provided with the mirror surface coating film, intelligent control over the display screen can be achieved through voice recognition and analysis when a user is in front of the mirror surface, no manual operation is needed, interaction is more convenient, and user experience is improved.
Example two
Fig. 2 is a flowchart of a method for controlling a display mode of a mirror in a second embodiment of the present invention, where the first embodiment is optimized based on the first embodiment, in the present embodiment, before detecting a distance between a user and the mirror through a sensor according to a preset frequency, the method further includes: establishing a mapping table about the corresponding relation between the instruction information and the audio sample information; according to the audio information and a pre-stored mapping table comprising audio sample information and instruction information, acquiring instruction information corresponding to the audio information, specifically: and matching in the mapping table according to the audio information, searching for audio sample information with the similarity reaching a preset threshold value, and acquiring instruction information corresponding to the audio sample information.
As shown in fig. 2, the method of this embodiment specifically includes the following steps:
s210, establishing a mapping table about the corresponding relation between the instruction information and the audio sample information.
Wherein, the instruction information is an instruction for controlling the display screen. For example, it may be: the method comprises the following steps of switching mirror modes, starting up, shutting down, turning on a display screen backlight and the like.
Specifically, a mapping table regarding the correspondence of command information and audio sample information is established. For example, the audio sample information corresponding to the instruction information "switch mirror mode" may be "i want to look in the mirror"; the audio sample information corresponding to the instruction information of turning on the backlight of the display screen is 'magic mirror'.
And S220, detecting the distance between the user and the mirror surface through a sensor according to a preset frequency.
And S230, if the distance is smaller than the preset distance, acquiring the audio information.
S240, matching is carried out in the mapping table according to the audio information, the audio sample information with the similarity reaching the preset threshold value is found out, and the instruction information corresponding to the audio sample information is obtained.
The preset threshold is a critical value obtained according to experience, and if the similarity between the audio sample information and the audio information reaches the preset threshold, it can be determined that the instruction information corresponding to the audio sample information is the instruction information corresponding to the audio information.
And S250, switching the display mode of the display screen embedded in the mirror surface according to the instruction information, wherein the glass of the display area of the display screen is provided with a mirror surface coating film.
Optionally, before detecting the distance between the user and the mirror surface through the sensor according to the preset frequency, the method further includes:
establishing a first database of noise waveforms in an environment in which the mirror is located;
the noise waveform in the environment where the mirror is located may be a noise waveform with a high frequency of occurrence obtained by measuring the noise waveform in the environment where the mirror is located for multiple times, or may be a waveform of noise that easily appears in audio information obtained according to experience, which is not limited in this embodiment.
According to the audio information and a pre-stored mapping table comprising audio sample information and instruction information, acquiring instruction information corresponding to the audio information, specifically:
acquiring the waveform of the audio information, and removing a noise waveform in a database from the waveform of the audio information to form denoised audio information;
specifically, one or more noise waveforms included in the database are removed from the waveform of the acquired audio information to form the denoised audio information, for example, the type of the environmental noise is determined according to the condition of the waveform of the acquired audio information, a waveform corresponding to the type of the environmental noise is further found in the database, and a waveform corresponding to the type of the environmental noise in the database is removed from the audio information to form the denoised audio information.
And acquiring instruction information corresponding to the denoised audio information according to the denoised audio information and a preset mapping table comprising audio sample information and instruction information.
Optionally, the pre-stored audio sample information includes: and complete audio sample information corresponding to the instruction information and lost audio sample information corresponding to the instruction information.
And the audio sample information after loss is acquired when the voice information is not completely captured after loss. For example, the pre-stored audio sample information includes "magic mirror off", or "mirror off".
In a specific example, the use environment of the mirror surface touch display product (hereinafter referred to as "magic mirror") often has background noise, and the voice of the user communicating with other people can also cause interference, so that the success rate of switching the mirror surface mode by voice recognition can be improved by the following means: the preset voice command for switching to the mirror mode is as follows: "magic mirror off"; the voice instruction for switching to the display mode is: "magic mirror". The magic mirror searches the current state of the magic mirror, and if the current mirror mode is the mirror mode, the magic mirror is in a standby state of switching the display mode; if the display state is already present, the magic mirror is in the switched mirror mode standby state. The magic mirror is provided with an infrared distance sensor, whether a user is in front of the magic mirror can be judged, the distance between the user and the magic mirror can be judged, the set distance threshold value is 1 meter, the user is within the radius range of 1 meter of the magic mirror, the magic mirror is considered to be in a used state, and otherwise, the magic mirror is in a non-use state. Magic mirror is gone up additional windshield of microphone (porous sponge), and multiple ambient noise template is prestored to first database: such as water flow noise, hair dryer motor noise, razor noise, etc. When the microphone receives audio information (original sound input information), the waveform of the obtained audio information contains the audio information waveform of a user and the environmental noise waveform, and various noise waveforms are removed from the original audio information waveform by traversing the first database to achieve the denoising effect. When the magic mirror is in a standby state for switching the display mode and a user is within 1 meter of the radius of the magic mirror, if voice instructions such as 'magic mirror' or 'mirror magic mirror' or 'magic mirror' are included in voice signals captured by the microphone (the above example represents the situation that audio information is damaged and captured incompletely), the magic mirror is switched from the mirror mode to the display mode, the display screen is bright, and the user can view the content of the display screen. Similarly, when the magic mirror is in a mirror surface mode switching standby state and a user is within 1 meter of the radius of the magic mirror, if voice signals captured by the microphone include voice instructions such as 'magic mirror off' or 'mirror off', the magic mirror is switched from the display mode to the mirror surface mode, and the display screen is turned off.
According to the technical scheme of the embodiment, the distance between the user and the mirror surface is detected through the sensor according to the preset frequency; if the distance is smaller than the preset distance, acquiring current audio information; acquiring instruction information corresponding to the audio information according to the audio information and a pre-stored mapping table comprising audio sample information and instruction information; the display mode of the display screen embedded in the mirror surface is switched according to the instruction information, wherein the display area of the display screen is provided with the mirror surface coating film, intelligent control over the display screen can be achieved through voice recognition and analysis when a user is in front of the mirror surface, no manual operation is needed, interaction is more convenient, and user experience is improved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a control device for a display mode of a mirror in a third embodiment of the present invention. The present embodiment may be applied to the case of controlling the display mode of the mirror, the apparatus may be implemented in a software and/or hardware manner, and the apparatus may be integrated in any device providing the function of controlling the display mode of the mirror, as shown in fig. 3, where the apparatus for controlling the display mode of the mirror specifically includes: a detection module 310, an acquisition module 320, a matching module 330, and a switching module 340.
The detection module 310 is configured to detect a distance between a user and the mirror surface through a sensor according to a preset frequency;
an obtaining module 320, configured to obtain current audio information if the distance is smaller than a preset distance;
the matching module 330 is configured to obtain instruction information corresponding to the audio information according to the audio information and a pre-stored mapping table that includes audio sample information and instruction information;
and the switching module 340 is configured to switch a display mode of a display screen embedded in the mirror according to the instruction information, where a display area of the display screen is provided with a mirror coating.
Optionally, the method further includes:
the mapping table establishing unit is used for establishing a mapping table related to the corresponding relation between the instruction information and the audio sample information before detecting the distance between the user and the mirror surface through the sensor according to the preset frequency;
the matching module is specifically configured to:
and matching in the mapping table according to the audio information, searching for audio sample information with the similarity reaching a preset threshold value, and acquiring instruction information corresponding to the audio sample information.
Optionally, the method further includes:
the first database establishing unit is used for establishing a first database related to the noise waveform in the environment where the mirror surface is located before the distance between the user and the mirror surface is detected through the sensor according to the preset frequency;
the matching module is specifically configured to:
acquiring the waveform of the audio information, and removing a noise waveform in a database from the waveform of the audio information to form denoised audio information;
and acquiring instruction information corresponding to the denoised audio information according to the denoised audio information and a preset mapping table comprising audio sample information and instruction information.
Optionally, the pre-stored audio sample information includes: and complete audio sample information corresponding to the instruction information and lost audio sample information corresponding to the instruction information.
According to the technical scheme of the embodiment, the distance between the user and the mirror surface is detected through the sensor according to the preset frequency; if the distance is smaller than the preset distance, acquiring current audio information; acquiring instruction information corresponding to the audio information according to the audio information and a pre-stored mapping table comprising audio sample information and instruction information; the display mode of the display screen embedded in the mirror surface is switched according to the instruction information, wherein the display area of the display screen is provided with the mirror surface coating film, intelligent control over the display screen can be achieved through voice recognition and analysis when a user is in front of the mirror surface, no manual operation is needed, interaction is more convenient, and user experience is improved.
Example four
Fig. 4 is a schematic structural diagram of a computer device in the fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in FIG. 4 is only one example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 4, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), and may also communicate with one or more devices that enable a user to interact with the computer device 12, and/or with any devices (e.g., network card, modem, etc.) that enable the computer device 12 to communicate with one or more other computing devices, such communication may occur via AN input/output (I/O) interface 22. additionally, computer device 12 in this embodiment, display 24 may not exist as a separate entity, but is embedded in a mirror, the display surface of display 24 and the mirror visually blending together when the display surface of display 24 is not displayed, and computer device 12 may also communicate with one or more networks (e.g., local area network (L), Wide Area Network (WAN) and/or public network, such as the Internet) via network adapter 20. As shown, network adapter 20 communicates with other modules of computer device 12 via bus 18. it should be understood that although not shown, other modules of computer device 12 may include, a computer device 12, a redundant array of disk drive system, a disk drive, a redundant array of storage device, and/or other like, including, a disk drive system, a disk drive, and/or other computer device.
The processing unit 16 executes various functional applications and data processing by running a program stored in the system memory 28, for example, implementing a control method of the display mode of the mirror provided by the embodiment of the present invention: detecting the distance between a user and the mirror surface through a sensor according to a preset frequency; if the distance is smaller than the preset distance, acquiring current audio information; acquiring instruction information corresponding to the audio information according to the audio information and a pre-stored mapping table comprising audio sample information and instruction information; and switching the display mode of a display screen embedded in the mirror surface according to the instruction information, wherein the display area of the display screen is provided with a mirror surface coating film.
EXAMPLE five
An embodiment five of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for controlling a display mode of a mirror surface, as provided in all inventive embodiments of the present application: detecting the distance between a user and the mirror surface through a sensor according to a preset frequency; if the distance is smaller than the preset distance, acquiring current audio information; acquiring instruction information corresponding to the audio information according to the audio information and a pre-stored mapping table comprising audio sample information and instruction information; and switching the display mode of a display screen embedded in the mirror surface according to the instruction information, wherein the display area of the display screen is provided with a mirror surface coating film.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including AN object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. A method for controlling a display mode of a mirror, comprising:
detecting the distance between a user and the mirror surface through a sensor according to a preset frequency;
if the distance is smaller than the preset distance, acquiring current audio information;
acquiring instruction information corresponding to the audio information according to the audio information and a pre-stored mapping table comprising audio sample information and instruction information;
switching the display mode of a display screen embedded in the mirror surface according to the instruction information, wherein the display area of the display screen is provided with a mirror surface coating film;
wherein, before detecting the distance between the user and the mirror surface through the sensor according to the preset frequency, the method further comprises the following steps:
establishing a mapping table about the corresponding relation between the instruction information and the audio sample information;
according to the audio information and a pre-stored mapping table comprising audio sample information and instruction information, acquiring instruction information corresponding to the audio information, specifically:
and matching in the mapping table according to the audio information, searching for audio sample information with the similarity reaching a preset threshold value, and acquiring instruction information corresponding to the audio sample information.
2. The control method of claim 1, wherein before detecting the distance from the mirror surface to the user by the sensor at the preset frequency, further comprising:
establishing a first database of noise waveforms in an environment in which the mirror is located;
matching the audio information with a pre-stored mapping table comprising audio sample information and instruction information according to the audio information to obtain instruction information corresponding to the audio information, specifically:
acquiring the waveform of the audio information, and removing a noise waveform in a database from the waveform of the audio information to form denoised audio information;
and acquiring instruction information corresponding to the denoised audio information according to the denoised audio information and a preset mapping table comprising audio sample information and instruction information.
3. The control method according to claim 1, wherein the pre-stored audio sample information comprises: and complete audio sample information corresponding to the instruction information and lost audio sample information corresponding to the instruction information.
4. A control device for a display mode of a mirror surface, comprising:
the detection module is used for detecting the distance between a user and the mirror surface through the sensor according to a preset frequency;
the acquisition module is used for acquiring the current audio information if the distance is smaller than the preset distance;
the matching module is used for acquiring instruction information corresponding to the audio information according to the audio information and a pre-stored mapping table comprising audio sample information and instruction information;
the switching module is used for switching the display mode of a display screen embedded in the mirror surface according to the instruction information, wherein the display area of the display screen is provided with a mirror surface coating film;
wherein, still include:
the mapping table establishing unit is used for establishing a mapping table related to the corresponding relation between the instruction information and the audio sample information before detecting the distance between the user and the mirror surface through the sensor according to the preset frequency;
the matching module is specifically configured to:
and matching in the mapping table according to the audio information, searching for audio sample information with the similarity reaching a preset threshold value, and acquiring instruction information corresponding to the audio sample information.
5. The control device according to claim 4, characterized by further comprising:
the first database establishing unit is used for establishing a first database related to the noise waveform in the environment where the mirror surface is located before the distance between the user and the mirror surface is detected through the sensor according to the preset frequency;
the matching module is specifically configured to:
acquiring the waveform of the audio information, and removing a noise waveform in a database from the waveform of the audio information to form denoised audio information;
and acquiring instruction information corresponding to the denoised audio information according to the denoised audio information and a preset mapping table comprising audio sample information and instruction information.
6. The control apparatus of claim 4, wherein the pre-stored audio sample information comprises: and complete audio sample information corresponding to the instruction information and lost audio sample information corresponding to the instruction information.
7. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1-3 when executing the program.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-3.
CN201710700689.2A 2017-08-16 2017-08-16 Mirror display mode control method, device, equipment and storage medium Active CN107515564B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710700689.2A CN107515564B (en) 2017-08-16 2017-08-16 Mirror display mode control method, device, equipment and storage medium
PCT/CN2017/116795 WO2019033666A1 (en) 2017-08-16 2017-12-17 Method, device, and apparatus, for controlling mirror display mode, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710700689.2A CN107515564B (en) 2017-08-16 2017-08-16 Mirror display mode control method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN107515564A CN107515564A (en) 2017-12-26
CN107515564B true CN107515564B (en) 2020-08-07

Family

ID=60723330

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710700689.2A Active CN107515564B (en) 2017-08-16 2017-08-16 Mirror display mode control method, device, equipment and storage medium

Country Status (2)

Country Link
CN (1) CN107515564B (en)
WO (1) WO2019033666A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102955663A (en) * 2011-08-18 2013-03-06 冠捷投资有限公司 Operation method of mirror display with mirror and advertising function
CN103479140A (en) * 2013-09-10 2014-01-01 北京恒华伟业科技股份有限公司 Intelligent mirror
CN105138192A (en) * 2015-08-13 2015-12-09 北京建新宏业科技有限公司 Device, method and system for social contact during period of hairdressing and beauty
CN204931075U (en) * 2015-07-20 2016-01-06 华南师范大学 Intelligent mirror

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201278256Y (en) * 2008-09-03 2009-07-22 鸿富锦精密工业(深圳)有限公司 Electronic photo frame with mirror function
CN203088393U (en) * 2013-02-04 2013-07-31 河北工业大学 House furnishing wireless monitoring multifunctional mirror based on voice control
CN104461006A (en) * 2014-12-17 2015-03-25 卢晨华 Internet intelligent mirror based on natural user interface
CN106343833B (en) * 2016-09-08 2018-01-30 深圳市元征科技股份有限公司 A kind of Intelligent mirror

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102955663A (en) * 2011-08-18 2013-03-06 冠捷投资有限公司 Operation method of mirror display with mirror and advertising function
CN103479140A (en) * 2013-09-10 2014-01-01 北京恒华伟业科技股份有限公司 Intelligent mirror
CN204931075U (en) * 2015-07-20 2016-01-06 华南师范大学 Intelligent mirror
CN105138192A (en) * 2015-08-13 2015-12-09 北京建新宏业科技有限公司 Device, method and system for social contact during period of hairdressing and beauty

Also Published As

Publication number Publication date
CN107515564A (en) 2017-12-26
WO2019033666A1 (en) 2019-02-21

Similar Documents

Publication Publication Date Title
US10983596B2 (en) Gesture recognition method, device, electronic device, and storage medium
US10810413B2 (en) Wakeup method, apparatus and device based on lip reading, and computer readable medium
US20190228217A1 (en) Method, apparatus and device for waking up voice interaction function based on gesture, and computer readable medium
CN107886944B (en) Voice recognition method, device, equipment and storage medium
CN107527630B (en) Voice endpoint detection method and device and computer equipment
KR20180081356A (en) Method for processing distortion of fingerprint image and apparatus thereof
CN108280431B (en) Face recognition processing method, face recognition processing device and intelligent terminal
CN109835260B (en) Vehicle information display method, device, terminal and storage medium
US11423880B2 (en) Method for updating a speech recognition model, electronic device and storage medium
CN103916647A (en) Gesture pre-processing of video stream with hold-off period to reduce platform power
US11580781B2 (en) Method and apparatus for waking up device, electronic device, and storage medium
CN104902143A (en) Resolution-ratio-based image de-noising method and device
CN108665769B (en) Network teaching method and device based on convolutional neural network
CN116109572A (en) Workpiece edge weak defect detection method and device and electronic equipment
CN116188379A (en) Edge defect detection method, device, electronic equipment and storage medium
WO2020103462A1 (en) Video search method and apparatus, computer device, and storage medium
CN113780163A (en) Page loading time detection method and device, electronic equipment and medium
CN107515564B (en) Mirror display mode control method, device, equipment and storage medium
CN112149570B (en) Multi-person living body detection method, device, electronic equipment and storage medium
CN111985417A (en) Functional component identification method, device, equipment and storage medium
CN109510896B (en) Proximity sensor selection method and device, storage medium and electronic device
CN108536686B (en) Picture translation method, device, terminal and storage medium
CN114943872A (en) Training method and device of target detection model, target detection method and device, medium and equipment
US11238863B2 (en) Query disambiguation using environmental audio
CN112347982A (en) Video-based unsupervised difficult case data mining method, device, medium and equipment

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200409

Address after: 510530 Guangdong city of Guangzhou province YUNPU Whampoa district four Road No. 6

Applicant after: Guangzhou Shiyuan Electronic Technology Company Limited

Address before: 510530, No. four, 6, Po Po Road, Yun Po Industrial Zone, Whampoa District, Guangzhou, Guangdong

Applicant before: Guangzhou Shiyuan Electronic Technology Company Limited

Applicant before: GUANGZHOU RUIXIN ELECTRONICS Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant