CN110989833B - Control method, AR device and computer readable storage medium - Google Patents

Control method, AR device and computer readable storage medium Download PDF

Info

Publication number
CN110989833B
CN110989833B CN201911167797.3A CN201911167797A CN110989833B CN 110989833 B CN110989833 B CN 110989833B CN 201911167797 A CN201911167797 A CN 201911167797A CN 110989833 B CN110989833 B CN 110989833B
Authority
CN
China
Prior art keywords
transparency
dimming glass
application program
information
glass
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
CN201911167797.3A
Other languages
Chinese (zh)
Other versions
CN110989833A (en
Inventor
李洪伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201911167797.3A priority Critical patent/CN110989833B/en
Publication of CN110989833A publication Critical patent/CN110989833A/en
Application granted granted Critical
Publication of CN110989833B publication Critical patent/CN110989833B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/01Head-up displays
    • G02B27/017Head mounted
    • G02B27/0172Head mounted characterised by optical features

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Optics & Photonics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a control method, AR equipment and a computer-readable storage medium, wherein the method is applied to the AR equipment, the AR equipment at least comprises dimming glass arranged on an optical machine, and the control method comprises the following steps: acquiring attribute information of an application program operated by a foreground of an intelligent terminal which is in communication connection with the intelligent terminal; determining an adjusting instruction corresponding to the attribute information, wherein the adjusting instruction is used for adjusting the transparency of the dimming glass; and adjusting the transparency of the dimming glass according to the adjusting instruction.

Description

Control method, AR device and computer readable storage medium
Technical Field
The embodiment of the application relates to the technical field of augmented reality, and relates to but is not limited to a control method, an AR device and a computer-readable storage medium.
Background
In order to combine with Reality, an Augmented Reality (AR) device is usually added with a layer of transparent glass outside an optical machine, fig. 1 is a schematic structural diagram of an AR device in the prior art, as shown in fig. 1, the AR device includes: an optical machine 101 and a transparent glass 102, wherein the transparent glass 102 is disposed on the optical machine 101. When the optical machine is used, a user can see the virtual picture displayed by the optical machine, and simultaneously can see the surrounding environment through the transparent glass. However, in many applications, the characteristics of the application determine that the application does not need to be combined with the surrounding environment when the application is used, and the change and intensity of the light of the surrounding environment screen may interfere with the virtual screen. For example, when watching a video, an environment without a surrounding environment picture is rather suitable. In the prior art, when the surrounding environment picture is not needed, the user needs to shield the transparent glass by using an object, the use is inconvenient, and the shielding effect is poor.
Disclosure of Invention
The embodiment of the application provides a control method, an AR device and a computer readable storage medium.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a control method, which is applied to an AR device, where the AR device at least includes a light control glass disposed on an optical machine, and the control method includes:
acquiring attribute information of an application program operated by a foreground of an intelligent terminal which is in communication connection with the intelligent terminal;
determining an adjusting instruction corresponding to the attribute information, wherein the adjusting instruction is used for adjusting the transparency of the dimming glass;
and adjusting the transparency of the dimming glass according to the adjusting instruction.
In a second aspect, an embodiment of the present application further provides an AR device, including:
an optical machine;
the dimming glass is arranged on the optical machine;
a processor; and
a memory for storing a computer program operable on the processor;
wherein the computer program realizes the steps of the control method when executed by a processor.
In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and the computer-executable instructions are configured to execute the steps of the control method.
According to the control method, the AR device and the computer-readable storage medium provided by the embodiment of the application, the AR device determines an adjusting instruction corresponding to attribute information by acquiring the attribute information (such as category information, identification and information generated when an application program interface is called) of an application program which runs in a foreground of an intelligent terminal (such as a smart phone) which establishes communication connection with the AR device, and adjusts the transparency of the dimming glass according to the adjusting instruction. Therefore, the transparency of the dimming glass can be automatically controlled according to the attribute information of the application program, so that the manual operation of a user can be reduced, and the convenience in use of the AR equipment is improved.
Drawings
In the drawings, which are not necessarily drawn to scale, like reference numerals may describe similar components in different views. Like reference numerals having different letter suffixes may represent different examples of similar components. The drawings illustrate generally, by way of example, but not by way of limitation, various embodiments discussed herein.
FIG. 1 is a schematic diagram of an AR device in the prior art;
fig. 2 is a schematic structural diagram of an AR device according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a control method according to an embodiment of the present application;
fig. 4 is a schematic transparency diagram of a light control glass provided by an embodiment of the present application when being powered on and not powered on;
fig. 5 is a schematic flowchart of a control method according to an embodiment of the present application;
fig. 6 is a schematic flowchart of a control method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a control device according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an AR device according to an embodiment of the present application.
Detailed Description
In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the attached drawings, the described embodiments should not be considered as limiting the present application, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
The following description will be added if a similar description of "first \ second \ third" appears in the application file, and in the following description, the terms "first \ second \ third" merely distinguish similar objects and do not represent a specific ordering for the objects, and it should be understood that "first \ second \ third" may be interchanged under certain circumstances in a specific order or sequence, so that the embodiments of the application described herein can be implemented in an order other than that shown or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
The embodiment of the present application provides a control method, and the method provided in the embodiment may be implemented by a computer program, where the computer program completes each step in the method provided in the embodiment when being executed. In some embodiments, the computer program may be executed by a processor of an AR device, and fig. 2 is a schematic structural diagram of the AR device provided in the embodiments of the present application, as shown in fig. 2, where the AR device at least includes: ray apparatus 201 and dimming glass 202, wherein, ray apparatus 201 mainly used carries out the projection with virtual content to in refracting the projection light to human eyeball, realize the enlargeing and the people's eye receipt of AR projection picture, dimming glass 202 sets up on ray apparatus 201, makes AR equipment can combine with the reality through dimming glass. In the embodiment of the present application, the transparency of the light control glass 202 can be changed.
Fig. 3 is a schematic flowchart of a control method provided in an embodiment of the present application, and as shown in fig. 3, the method includes the following steps:
step S301, the AR equipment acquires attribute information of an application program which runs in a foreground of the intelligent terminal and is in communication connection with the AR equipment.
In the embodiment of the application, the AR device may be AR glasses or an AR head-mounted display device. In this embodiment, the intelligent terminal may be in communication connection with the AR device through a mobile network, or in communication connection with the AR device through bluetooth, Wireless local area network (WiFi), infrared, or the like.
In the embodiment of the application, the intelligent terminal needs to support the operation of the AR application in the system thereof, and the intelligent terminal can be a smart phone, a tablet computer, a desktop computer, a personal computer, wearable equipment (such as a smart watch, a smart bracelet and the like) and the like.
In this embodiment, the attribute information at least includes one of the following: the class information of the application program, the identification of the application program and the information generated when the application program calls the driving interface. Illustratively, the category information characterizes whether the application program interacts with the real world, and further the category information of the application program may include: the first category information and the second category information, the application program identification can be the name and icon of the application program, and the information generated when the application program calls the interface can be a current signal.
Step S302, the AR device determines an adjustment instruction corresponding to the attribute information.
In an embodiment of the application, the adjusting instruction is used for adjusting the transparency of the dimming glass. Transparency can be characterized by light transmittance, for example, the transparency of a privacy glass includes: the light-adjusting glass comprises a first transparency and a second transparency, and the light transmittance of the light-adjusting glass at the first transparency is smaller than that of the light-adjusting glass at the second transparency. For example, in the first transparency, the light transmittance may be 0 or 5%. In the second transparency, the light transmittance may be 100% or 90%. Fig. 4 is a schematic view of whether the dimming glass provided in the embodiment of the present application can present the ambient image under different transparency levels, where 401 in fig. 4 is that the dimming glass can present the ambient image under the second transparency level, and as shown in 401, when the dimming glass is at the second transparency level, the user can see the ambient image through the dimming glass, that is, the dimming glass can be considered as being in the transparent state. The 402 light control glass in fig. 4 cannot present the picture of the surrounding environment at the first transparency, as shown in 402, when the light control glass is at the first transparency, the user cannot see the picture of the surrounding environment through the light control glass, that is, the light control glass can be considered as the shielding state.
In the embodiment of the application, the basic principle of the dimming glass for adjusting the transparency is that a material layer with variable transparency is added in the glass, and the transparency of the dimming glass can be changed under the power-on and power-off conditions, so that the transparency of the dimming glass can be set to be a first transparency under the condition that the AR device powers on the dimming glass, and the transparency of the dimming glass can be set to be a second transparency under the condition that the AR device does not power on the dimming glass. Of course, in some embodiments, it may be set that the transparency of the dimming glass is the first transparency when the AR device powers on the dimming glass, and the transparency of the dimming glass is the second transparency when the AR device does not power on the dimming glass.
In the embodiment of the application, the corresponding relationship between the attribute information and the adjustment instruction can be established in advance. For example: establishing a corresponding relation between the application program identification and the adjusting instruction; and establishing a corresponding relation between the category information and the adjusting instruction. In some embodiments, this may be based on information generated when an application calls a driver interface, which when received, determines that the adjustment command is to change the current transparency.
In the embodiment of the application, because the corresponding relationship between the attribute information and the adjustment instruction is established, when the attribute information is determined, the corresponding adjustment instruction can be determined according to the corresponding relationship.
And step S303, the AR equipment adjusts the transparency of the dimming glass according to the adjusting instruction.
When the AR device obtains the adjustment instruction, the transparency of the dimming glass may be adjusted according to the adjustment instruction, for example, when the adjustment instruction is used to adjust the transparency of the dimming glass to a first transparency, and the transparency of the dimming glass is set to the first transparency when the AR device powers on the dimming glass, the adjustment instruction may be an instruction for controlling to power on the dimming glass.
According to the control method provided by the embodiment of the application, the AR equipment acquires the attribute information of the currently running application program of the intelligent terminal (such as a smart phone) which establishes communication connection with the AR equipment, so that the adjusting instruction corresponding to the attribute information is determined, and the transparency of the dimming glass is adjusted according to the adjusting instruction. Thus, the transparency of the dimming glass is automatically controlled according to the attribute information of the application program. Therefore, the transparency of the dimming glass can be automatically controlled according to the attribute information of the application program, so that the manual operation of a user can be reduced, and the convenience in use of the AR equipment is improved.
In some embodiments, when the attribute information includes category information of the application, step S302: the AR device determines the adjustment instruction corresponding to the attribute information, and the method can be realized by the following steps:
step S302a1, the AR device determines the target transparency of the light control glass according to the category information of the application program and the preset first corresponding relationship.
In an embodiment of the present application, the first correspondence is a correspondence between category information of an application program and a target transparency, and the category information represents whether the application program interacts with the real world.
In the embodiment of the application, the category information includes first category information and second category information, where the application program corresponding to the first category information does not interact with the real world, and the application program corresponding to the second category information interacts with the real world. Correspondingly, the first corresponding relationship includes: the first category information corresponds to a first transparency and the second category information corresponds to a second transparency. When the transparency of the light control glass is the first transparency, the light control glass can be considered to be in the shielding state, and when the transparency of the light control glass is the second transparency, the light control glass can be considered to be in the transparent state. In the embodiment of the application, the user can not see the surrounding environment through the dimming glass in the shielding state, and the user can see the surrounding environment through the dimming glass in the transparent state.
For example, the application program run by the foreground is a video playing application program, and since the video playing application program is an application program that does not interact with the real world, the category information of the video playing application program is first category information, and then it can be obtained according to the first corresponding relationship that the target transparency of the light-dimming glass is determined to be the first transparency when the application program run by the foreground is the video playing application program. When the application program running in the foreground is the application program of the production process, and the application program of the production process is the application program needing to interact with the real world, the category information of the application program of the production process is the second category information, and then the target transparency of the dimming glass is determined to be the second transparency according to the first corresponding relation when the application program running in the foreground is the application program of the production process.
Step S302a2, the AR device determines an adjustment instruction according to the target transparency.
In the embodiment of the application, when the target transparency is the first transparency, the adjustment instruction is determined to adjust the transparency of the dimming glass to the first transparency. Further, when the transparency of the dimming glass is set to the first transparency in the case where the AR device powers on the dimming glass, the adjustment instruction may be an instruction to control to power on the dimming glass; when the transparency of the privacy glass is set to the first transparency with the AR device not powering the privacy glass, then the adjustment instruction may be an instruction to control to power down the privacy glass.
When the target transparency is the second transparency, determining an adjusting instruction to adjust the transparency of the dimming glass to the second transparency. Further, when the transparency of the dimming glass is the second transparency in a case where the AR device is set to power on the dimming glass, the adjustment instruction may be an instruction to control the power on of the dimming glass; when the transparency of the light control glass is set to the second transparency in the absence of current with the AR device not powering the light control glass, the adjustment instruction may be an instruction to control to power down the light control glass.
In some embodiments, before step S302a1, a corresponding relationship between the category information of the application program and the target transparency needs to be established, and in an actual implementation process, the corresponding relationship may be established according to steps S1 to S2 described below, which is described below in connection with each step.
S1, the AR device establishes a first correspondence between the first category information and the first transparency.
In an embodiment of the application, the application program corresponding to the first category information does not interact with the real world, and when the dimming glass is the first transparency, the dimming glass is in a shielding state.
Illustratively, the video playing application, the desktop office application, the application of the non-AR game do not generally interact with the real world, and therefore the video playing application, the desktop office application, the application of the non-AR game are categorized into the first category of information.
S2, the AR device establishes a first correspondence between the second category information and the second transparency.
In an embodiment of the application, the application program corresponding to the second category information interacts with the real world, and when the dimming glass is the second transparency, the dimming glass is in a transparent state.
Illustratively, the educational training application, the production flow application, and the AR game application typically need to interact with the real world, and thus are categorized into the second category of information.
In some embodiments, when the attribute information includes information generated when the application calls the driver interface, step S302: the AR device determines the adjustment instruction corresponding to the attribute information, and the method can be realized by the following steps:
in step S302B1, the AR device obtains the current transparency of the light control glass.
In this embodiment of the application, the light control glass is connected to the controller of the AR device, and then when step S302B1 is implemented, the current between the light control glass and the controller of the AR device may be obtained, so as to obtain the current transparency of the light control glass. For example, in the case that the AR device is set to normally power on the light control glass, the transparency of the light control glass is a first transparency, and in the case that the AR device is not set to power on the light control glass, the transparency of the light control glass is a second transparency, at this time, if a current can be detected in a circuit between the light control glass and the AR device controller, the current transparency of the light control glass can be obtained as the first transparency, and if no current is detected in the circuit between the light control glass and the AR device controller, the current transparency of the light control glass can be obtained as the first transparency.
Step S302B2, when receiving the information generated when the application calls the driver interface, the AR device determines an adjustment instruction according to the current transparency.
In the embodiment of the present application, the adjustment instruction is used to change the current transparency. For example, when the current transparency is a first transparency, the adjusting instruction is to adjust the dimming glass to a second transparency.
In the embodiment of the application, the control circuit interface of the dimming glass is connected to the controller of the AR device and is exposed to the application program through the system driver, so that when the AR device receives the application program calling interface information, the representation application program adjusts the current transparency of the dimming glass, and at this time, an adjustment instruction can be determined according to the current transparency.
In some embodiments, when the attribute information includes an application identification, step S302: the AR device determines the adjustment instruction corresponding to the attribute information, and the method can be realized by the following steps:
and step S302C1, determining the target transparency of the dimming glass according to the application program identification and a preset second corresponding relation.
In this embodiment of the application, the application identifier may be an icon of the application or a name of the application.
And step S302C2, determining an adjusting instruction according to the target transparency.
In the embodiment of the application, when the acquired attribute information includes the application program identifier, the target transparency can be determined according to the second corresponding relationship, so that the adjustment instruction is further determined according to the target transparency.
In the embodiment of the present application, the second correspondence is a correspondence between an application identifier and a target transparency. In some embodiments, prior to step S302C1, the method further comprises:
and establishing a second corresponding relation between the application program identification and the target transparency.
Illustratively, the identifications of the video playing application, the desktop office application, and the application of the non-AR game are respectively associated with a first transparency. And respectively corresponding the identifiers of the application program of the educational training, the application program of the production process and the AR game application program to a second transparency.
An embodiment of the present application further provides a control method, and fig. 5 is a schematic flowchart of the control method provided in the embodiment of the present application, and as shown in fig. 5, the method includes:
step S501, the AR equipment acquires attribute information of an application program which runs in a foreground of the intelligent terminal and is in communication connection with the AR equipment.
Step S502, the AR device determines an adjustment instruction corresponding to the attribute information, where the adjustment instruction is used to adjust the transparency of the light control glass.
In step S503, the AR device outputs the prompt information.
The prompt information is used for prompting a user whether to adjust the transparency of the dimming glass. Illustratively, the prompt message may be a picture projected to the front of the user through the optical machine, and the user may click on the display content in the picture to respond to the prompt message. In some embodiments, the AR device is provided with a key for responding whether to adjust the transparency of the dimming glass, the AR device may emit a prompt sound, and when the user hears the prompt sound, the user operates the key to implement the response to the prompt information.
In step S504, the AR device receives response information for the prompt information, and determines whether the response information is to adjust the transparency of the light modulation glass.
When the received response information is to adjust the transparency of the light control glass, step S505 is executed, and when the received response information is not to adjust the transparency of the light control glass, step S506 is executed.
In some embodiments, a key may be provided on the AR device that may enable manual control of the transparency of the privacy glass to be the first transparency or the second transparency. When the user operates the key, the AR equipment controls the dimming glass to adjust to the corresponding transparency.
And step S505, the AR equipment adjusts the transparency of the dimming glass according to the adjusting instruction.
In step S506, the AR device maintains the current transparency of the privacy glass.
According to the control method provided by the embodiment of the application, the AR equipment sends prompt information through acquiring the attribute information of the application program running on the foreground of the intelligent terminal and establishing communication with the AR equipment, when the adjustment instruction is determined through the attribute information, a user can determine whether to adjust the application program, and when the user selects to adjust the application program, the AR equipment automatically adjusts the transparency of the dimming glass according to the adjustment instruction, so that the adjustment of the dimming glass is ensured to meet the actual needs of the user.
An embodiment of the present application provides a control method, and fig. 6 is a schematic flowchart of the control method provided in the embodiment of the present application, and as shown in fig. 6, the method includes:
step S601, the AR equipment acquires the attribute information of the application program operated by the intelligent terminal foreground which establishes communication connection with the AR equipment.
Step S602, the AR device determines an adjustment instruction corresponding to the attribute information, where the adjustment instruction is used to adjust the transparency of the light control glass.
In step S603, the AR device determines whether the transparency of the light control glass to be adjusted by the adjustment instruction is the same as the current transparency of the light control glass.
In this embodiment of the application, when the adjustment instruction is to adjust the transparency of the light control glass to be different from the current transparency of the light control glass, step S604 is executed. When the adjusting instruction is to adjust the transparency of the light control glass to be the same as the current transparency of the light control glass, step S605 is executed.
And step S604, the AR equipment adjusts the transparency of the dimming glass according to the adjusting instruction.
In step S605, the AR device maintains the current transparency of the light control glass.
According to the control method provided by the embodiment of the application, the AR equipment obtains the attribute information of the application program which runs on the foreground of the intelligent terminal and establishes communication with the AR equipment, and when the adjusting instruction is determined through the attribute information, the transparency of the dimming glass to be adjusted by the adjusting instruction is judged whether to be the same as the current transparency or not, so that the transparency of the dimming glass is automatically adjusted.
The embodiment of the application further provides a control method, which is applied to the AR glasses, and compared with the existing AR glasses, the AR glasses replace the outer layer transparent glass of the existing AR glasses with the dimming glass. The basic principle of the light modulation glass for adjusting transparency is to add a material layer with variable transparency in the glass, and the transparency of the light modulation glass can be rapidly changed under the power-on and power-off conditions.
In the embodiment of the application, the control system of the AR glasses provides two modes through the interface: the scene automatic mode and the manual mode control the dimming glass to enter the transparent mode or the shielding mode through a system driving interface of the dimming proportion.
In the scene automatic mode, there may be two implementation modes:
the first implementation mode is as follows: the control system automatically adjusts the transparency or the shading of the dimming glass according to the category of the application program.
In the embodiment of the application, when the application program is an application which cannot interact with the real world, the dimming glass is adjusted to be in the shielding mode.
Illustratively, video playback/desktop office/non-AR gaming is classified as an application that does not interact with the real world.
In the embodiment of the application, when the type of the application program is overlapped with the real world, the dimming glass is adjusted to be in the transparent mode.
Illustratively, educational training/production flow/AR games, etc. are relegated to applications that will interact with the real world. For example, for an application program for producing a flow control, a user needs to see the current state of the device, and some operation instructions are superimposed on a real image during the application process, in which case the dimming glass is adjusted to a transparent mode.
And a second implementation mode: the control system provides a control interface for the application program, so that the application program controls the dimming glass to be in a transparent mode or a shielding mode.
In the manual mode, the user manually selects shielding or transparency, and the control system correspondingly controls the dimming glass to enter the corresponding mode.
The method provided by the embodiment of the application can dynamically control the transparency of the glasses, so that a user can obtain better glasses use experience in a scene needing to shield a real picture without manually shielding by using an object.
Based on the foregoing embodiments, the present application provides a control apparatus, where each module included in the apparatus and each unit included in each module may be implemented by a processor in a computer device; of course, the implementation can also be realized through a specific logic circuit; in the implementation process, the processor may be a Central Processing Unit (CPU), a Microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Fig. 7 is a schematic structural diagram of a control device provided in an embodiment of the present application, and as shown in fig. 7, the control device 700 is applied to an AR device, the AR device at least includes a light control glass disposed on an optical machine, and the device includes:
the obtaining module 701 is configured to obtain attribute information of an application program that runs in a foreground of the intelligent terminal and is in communication connection with the obtaining module.
A determining module 702, configured to determine an adjusting instruction corresponding to the attribute information, where the adjusting instruction is used to adjust transparency of the light control glass.
The first adjusting module 703 is configured to adjust the transparency of the light control glass according to the adjusting instruction.
In some embodiments, the attribute information includes at least one of: the class information of the application program, the identification of the application program and the information generated when the application program calls the driving interface.
In some embodiments, when the attribute information includes category information of an application, the determining module 702 includes:
the first determining unit is used for determining the target transparency of the dimming glass according to the category information of the application program and a preset first corresponding relation, wherein the first corresponding relation is the corresponding relation between the category information of the application program and the target transparency, and the category information represents whether the application program interacts with the real world or not.
And the second determining unit is used for determining an adjusting instruction according to the target transparency.
In some embodiments, the control device 700 further comprises:
the first establishing module is used for establishing a first corresponding relation between the first category information and the first transparency.
The second establishing module is used for establishing a first corresponding relation between second category information and second transparency, wherein the application program corresponding to the first category information does not interact with the real world, when the dimming glass is in the first transparency, the dimming glass is in a shielding state, when the dimming glass is in the second transparency, the application program corresponding to the second category information interacts with the real world, and when the dimming glass is in the second transparency, the dimming glass is in a transparent state.
In some embodiments, when the attribute information includes information generated when an application calls a driver interface, the determining module 702 includes:
and the acquisition unit is used for acquiring the current transparency of the dimming glass.
And the third determining unit is used for determining an adjusting instruction according to the current transparency when receiving the information generated when the application program calls the driving interface, wherein the adjusting instruction is used for changing the current transparency.
In some embodiments, when the attribute information includes an application identification, the determining module 702 includes:
and the fourth determining unit is used for determining the target transparency of the dimming glass according to the application program identifier and a preset second corresponding relationship, wherein the second corresponding relationship is the corresponding relationship between the application program identifier and the target transparency.
And the fifth determining unit is used for determining an adjusting instruction according to the target transparency.
In some embodiments, the control device 700 further comprises:
and the output module is used for outputting prompt information, and the prompt information is used for prompting a user whether to adjust the transparency of the dimming glass.
And the receiving module is used for receiving response information aiming at the prompt information.
When the received response information is that the transparency of the dimming glass is not adjusted, the current transparency of the dimming glass is maintained.
In some embodiments, the control device 700 further comprises:
and the judging module is used for judging whether the transparency of the dimming glass to be adjusted by the adjusting instruction is the same as the current transparency of the dimming glass.
And the second adjusting module is used for adjusting the transparency of the dimming glass according to the adjusting instruction when the adjusting instruction is to adjust the transparency of the dimming glass to be different from the current transparency of the dimming glass.
The above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be noted that, in the embodiment of the present application, if the control method is implemented in the form of a software functional module and sold or used as a standalone product, the control method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof contributing to the prior art 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) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Accordingly, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program is implemented to implement the steps in the control method provided in the above embodiment when executed by a processor.
Based on the foregoing embodiments, an AR device is provided in the embodiments of the present application, fig. 8 is a schematic diagram of a composition structure of the AR device, and as shown in fig. 8, the AR device 800 includes: a processor 801, at least one communication bus 802, a privacy glass 803, an optical engine 804, at least one external communication interface 805, and a memory 806. Wherein the communication bus 802 is configured to enable connective communication between these components. The light control glass 803 is disposed on the optical machine, and the external communication interface 805 may include a standard wired interface and a wireless interface. Wherein the processor 801 is configured to execute the program of the control method stored in the memory 806 to realize the steps in the control method provided by the above embodiments
Here, it should be noted that: the description of the AR device embodiment is similar to the description of the method, and has the same beneficial effects as the method embodiment, and therefore, the description thereof is omitted. For technical details that are not disclosed in the embodiments of the image processing apparatus of the present application, those skilled in the art should refer to the description of the embodiments of the method of the present application for understanding, and for the sake of brevity, will not be described again here.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing an AC to perform all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The above description is only for the embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (9)

1. A control method is applied to AR equipment, the AR equipment at least comprises dimming glass arranged on an optical machine, and the control method comprises the following steps:
acquiring attribute information of an application program which is operated in a foreground of an intelligent terminal and is in communication connection with the intelligent terminal, wherein the attribute information at least comprises one of the following items: the method comprises the steps of obtaining category information of an application program, identification of the application program and information generated when the application program calls a driving interface;
determining an adjusting instruction corresponding to the attribute information, wherein the adjusting instruction is used for adjusting the transparency of the dimming glass, and the transparency at least comprises a first transparency in a transparent state and a second transparency in a shielding state;
and adjusting the transparency of the dimming glass according to the adjusting instruction.
2. The method of claim 1, when the attribute information includes category information of an application program, the determining an adjustment instruction corresponding to the attribute information includes:
determining the target transparency of the dimming glass according to the category information of the application program and a preset first corresponding relation, wherein the first corresponding relation is the corresponding relation between the category information of the application program and the target transparency, and the category information represents whether the application program interacts with the real world or not;
and determining an adjusting instruction according to the target transparency.
3. The method of claim 2, further comprising:
establishing a first corresponding relation between the first category information and the first transparency;
establishing a first corresponding relation between second category information and second transparency, wherein an application program corresponding to the first category information does not interact with the real world, the dimming glass is in a shielding state when the transparency of the dimming glass is the first transparency, the application program corresponding to the second category information interacts with the real world, and the dimming glass is in a transparent state when the transparency of the dimming glass is the second transparency.
4. The method of claim 1, when the attribute information includes information generated when an application calls a driver interface, the determining an adjustment instruction corresponding to the attribute information includes:
acquiring the current transparency of the dimming glass;
and when receiving information generated when the application program calls a driving interface, determining an adjusting instruction according to the current transparency, wherein the adjusting instruction is used for changing the current transparency.
5. The method of claim 1, wherein when the attribute information comprises an application identifier, the determining an adjustment instruction corresponding to the attribute information comprises
Determining the target transparency of the dimming glass according to the application program identifier and a preset second corresponding relation, wherein the second corresponding relation is the corresponding relation between the application program identifier and the target transparency;
and determining an adjusting instruction according to the target transparency.
6. The control method according to any one of claims 1 to 5, the method further comprising:
outputting prompt information, wherein the prompt information is used for prompting a user whether to adjust the transparency of the dimming glass;
receiving response information aiming at the prompt information;
when the received response information is that the transparency of the dimming glass is not adjusted, the current transparency of the dimming glass is maintained.
7. The control method according to any one of claims 1 to 5, the method further comprising:
judging whether the transparency of the dimming glass to be adjusted by the adjusting instruction is the same as the current transparency of the dimming glass or not;
when the adjusting instruction is to adjust the transparency of the dimming glass to be different from the current transparency of the dimming glass, the transparency of the dimming glass is adjusted according to the adjusting instruction.
8. An AR device, characterized by comprising at least:
an optical machine;
the dimming glass is arranged on the optical machine;
a processor; and
a memory for storing a computer program operable on the processor;
wherein the computer program realizes the steps of the control method of any one of claims 1 to 7 when executed by a processor.
9. A computer-readable storage medium having stored thereon computer-executable instructions configured to perform the steps of the control method of any of the preceding claims 1 to 7.
CN201911167797.3A 2019-11-25 2019-11-25 Control method, AR device and computer readable storage medium Active CN110989833B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911167797.3A CN110989833B (en) 2019-11-25 2019-11-25 Control method, AR device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911167797.3A CN110989833B (en) 2019-11-25 2019-11-25 Control method, AR device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110989833A CN110989833A (en) 2020-04-10
CN110989833B true CN110989833B (en) 2021-10-22

Family

ID=70086690

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911167797.3A Active CN110989833B (en) 2019-11-25 2019-11-25 Control method, AR device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110989833B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105093535B (en) * 2015-09-01 2018-12-14 联想(北京)有限公司 A kind of head-mounted display apparatus
CN108614635A (en) * 2016-12-12 2018-10-02 北京康得新创科技股份有限公司 The control method and device of virtual reality device, virtual reality device
US20180180882A1 (en) * 2016-12-23 2018-06-28 Raja Singh Tuli Augmented Reality Eyewear
CN107065185A (en) * 2017-03-30 2017-08-18 联想(北京)有限公司 A kind of control method and electronic equipment
CN206805041U (en) * 2017-06-13 2017-12-26 深圳市光场视觉有限公司 A kind of vision conversion equipment of adjustable light transmittance
US10401657B2 (en) * 2018-01-05 2019-09-03 Intel Corporation Head mount displays for mixed reality
CN109005283B (en) * 2018-06-29 2021-05-14 Oppo(重庆)智能科技有限公司 Method, device, terminal and storage medium for displaying notification message

Also Published As

Publication number Publication date
CN110989833A (en) 2020-04-10

Similar Documents

Publication Publication Date Title
US12014663B2 (en) Dark mode display interface processing method, electronic device, and storage medium
KR102310130B1 (en) A wearable electronic devcie
US9953615B2 (en) Display apparatus and control method thereof
US10025098B2 (en) Electronic glasses and method for correcting color blindness
JP2020503599A (en) Display device and control method thereof
US20180308453A1 (en) Display control method and device, and computer readable storage medium
CN108510929B (en) Display device and control method thereof
CN108572724B (en) System and method for safety and environmental control based on virtual reality helmet usage
CN107993604A (en) The adjusting method and equipment of a kind of display screen
CN105204734A (en) Brightness control method and system
US10061479B2 (en) Display system, information processing apparatus, computer readable recording medium, and power source control method
US20150269709A1 (en) Display Method And Electronic Apparatus
CN112905280B (en) Page display method, device, equipment and storage medium
CN103929546A (en) Method and device for protecting eyes of user based on intelligent terminal
EP1804230A2 (en) Liquid crystal television receiver with liquid crystal panel and its illumination apparatus, liquid crystal display, electric device, liquid crystal projector, and liquid crystal display control method for controlling liquid crystal display
CN113613028A (en) Live broadcast data processing method, device, terminal, server and storage medium
CN113407270A (en) Display method and device of electronic equipment and storage medium
CN110989833B (en) Control method, AR device and computer readable storage medium
CN112905096B (en) Display control method, device, terminal equipment and storage medium
KR20140078914A (en) Electronic apparatus and method of driving a display
US20220244794A1 (en) Routing input to on-screen display
CN114840114B (en) Display control method, device and storage medium
US20210397398A1 (en) Method, Device and System for Configuring Display Screen
KR101603573B1 (en) Apparatus and Method for Determining User Customized Color, Lighting Apparatus and Lighting System
CN113797538B (en) Method, device, terminal and storage medium for sight display

Legal Events

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