Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
In the embodiment of the disclosure, complex and various functions of the AR glasses can be realized through a small number of simple line control keys.
Fig. 1 is a schematic flowchart of a method for controlling augmented reality glasses according to an embodiment of the present disclosure. The drive-by-wire of the AR glasses is provided with an increase key, a decrease key and a function key. As shown in fig. 1, the process of augmented reality glasses control includes:
Step 101: and under the condition that the triggering state information of the function keys meets the set mode switching condition, switching the current function mode of the augmented reality glasses and operating according to the triggering state information of the function keys.
AR glasses have a variety of functions, such as: the functions of camera shooting, picture taking and video recording, face recognition, license plate recognition, identification card recognition, picture taking or video browsing and the like. The operation of the function can be controlled by corresponding different keys to different functions, but the space on the AR glasses is smaller, and the functions that the AR glasses can realize are more, so that in the embodiment of the disclosure, some functions on the AR glasses can be realized by the keys on the line control of the AR glasses, and some functions can be realized by the terminal bound with the AR glasses and the keys on the line control of the AR glasses together.
Therefore, when the trigger state information of the function keys on the drive-by-wire of the AR glasses meets the set mode switching condition, the key drive-by-wire process on the AR glasses can be entered, namely the current function mode of the augmented reality glasses can be switched and operated according to the trigger state information of the function keys. Wherein, the triggering status information may include: point touch, triggering for a time longer than a set time, or triggering twice or more within a set time. For example: the increasing key is touched, or the function key is triggered, and the triggering time exceeds 4 seconds, or the decreasing key is triggered twice within 1.5 seconds, and the like, which are the triggering state information corresponding to each key.
For example: and triggering the function key on the drive-by-wire of the AR glasses, wherein the triggered time exceeds the set time, for example, 3 seconds, and then determining that the triggering state information of the function key on the drive-by-wire of the AR glasses meets the set mode switching condition. Or, the function key on the drive-by-wire of the AR glasses is continuously triggered twice or more within 1 second, and it may also be determined that the trigger state information of the function key on the drive-by-wire of the AR glasses satisfies the set mode switching condition.
Therefore, the drive-by-wire process of the key can be entered under the condition that the triggering state information of the function key meets the set mode switching condition. The function mode capable of being controlled by a line can be configured on the AR glasses in advance, and the function mode comprises the following steps: the first set of functional modes, the second set of functional modes, and the third set of functional modes … may be configured to determine the functional mode to be configured based on the specific implementation of each function. The first set function mode may be a default function mode.
For example: the AR glasses are provided with the function mode capable of being controlled by the wire, and the function mode comprises the following steps: the system comprises the following steps of shooting, photographing and recording, face recognition, license plate recognition and the like, wherein the shooting function mode is a default function mode, namely the shooting function mode can be realized after AR glasses are started.
In this way, when it is determined that the trigger state information of the function key satisfies the set mode switching condition, once the function key is touched, the function key can be switched cyclically in the configured function mode capable of being controlled by the wire. For example: after the AR glasses are started, the camera shooting function mode is operated, so that the trigger state information of the function key can be determined to meet the set mode switching condition after the function key on the line control is pressed for a long time for more than three seconds, therefore, after the function key is touched, the current function mode can be switched to the camera video recording function mode, and the function key is not triggered in 3 seconds and operates to the camera video recording function mode. If the function key is touched twice, three times or four times within 3 seconds, the current function mode can be respectively switched into a face recognition function mode, a license plate recognition function mode and a camera function mode, namely, the function key is switched circularly in the configured function mode capable of being controlled by wires.
The AR glasses can be operated according to the switched current function mode, once the switched current function mode is operated, if switching needs to be continued, it still needs to be determined whether the trigger state information of the function key satisfies the set mode switching condition? When it is determined that the trigger state information of the function key satisfies the set mode switching condition, the current function mode may be switched continuously, and at this time, the default function is the function mode before switching, for example: the AR glasses operate the face recognition function, if the function keys are continuously triggered twice within two seconds, the set mode switching condition is met, at the moment, the default function is the face recognition function, if the function keys are touched once and are not continuously triggered within three seconds, the current function mode can be switched to the license plate recognition function, and the license plate recognition function is operated.
Step 102: and under the condition that the increasing key is determined to be touched, the current set variable parameter value in the current function mode is increased upwards according to the set gear value.
Step 103: and under the condition that the reduction key is determined to be touched, the current set variable parameter value in the current function mode is reduced in a downward jump mode according to the set gear value.
The current function mode is determined by the function key on the drive-by-wire of the AR glasses, at the moment, the increasing key on the drive-by-wire is touched, the current set variable parameter value under the current function mode can be increased in a jumping-up mode according to the set gear value, and the decreasing key on the drive-by-wire is touched, the current set variable parameter value under the current function mode can be decreased in a jumping-down mode according to the set gear value.
The function key on the line control of the AR glasses may determine one, two or more parameters of the line control in each function mode, that is, corresponding to one or more of the first setting variable parameter, the second setting variable parameter, the third setting variable parameter …, and the like, where the first setting variable parameter may be determined as a default variable parameter, that is, when the function mode starts to operate, the corresponding first setting variable is controlled.
In this way, when the functional mode is started and operated, the increasing button on the drive-by-wire is touched, the first setting variable parameter value can be increased by one gear, and if the decreasing button is touched, the first setting variable parameter value can be decreased by one gear. For example: the current function mode is a camera shooting function mode, and the corresponding first setting variable parameter is volume, so that the volume value can be increased by one gear if the increasing key is touched, and can be decreased by one gear if the decreasing key is touched. Or, if the current function mode is a license plate recognition function mode, the corresponding first setting variable parameter is brightness, so that the brightness value can be increased by one gear if the increase key is touched, and can be decreased by one gear if the decrease key is touched.
Under the condition that variable parameter values corresponding to gears are different, the increase button is triggered until the maximum variable parameter value is set, namely the highest gear, and the decrease button is triggered until the minimum variable parameter value is set, namely the lowest gear.
For example, when the current function mode is a photographing and recording function mode, the first setting variable parameter is a mode parameter, and corresponding gears are a photographing function and a recording function, respectively, so that if the additional key is touched by a point, the photographing function and the recording function can be cyclically selected in an upward jumping manner, and if the additional key is touched by a point, the photographing function and the recording function can be cyclically selected in a downward jumping manner.
For the condition that the current function mode has two or more setting variable parameters, only the default first setting variable parameter cannot be controlled, so that when the current function mode is the first setting function mode, the current setting variable parameter can be replaced from the first setting variable parameter to the second setting variable parameter under the conditions that the adding key is determined to be triggered and the triggering state information meets the switching condition of the first setting parameter; or, the current set variable parameter is replaced from the second set variable parameter to the first set variable parameter.
When the current function mode is the first set function mode, the current set variable parameter can be replaced from the first set variable parameter to a third set variable parameter under the condition that the reduction key is determined to be triggered and the trigger state information meets the second set parameter switching condition; or, the current set variable parameter and thus the third set variable parameter are replaced with the first set variable parameter. The first setting parameter switching condition and the second setting parameter switching condition may be the same or different.
For example: when the current function mode is the first setting function mode, namely the camera shooting function, the current setting variable parameter can be volume, at this moment, an increase key on the drive-by-wire is triggered, and the triggering time exceeds 3 seconds, the condition that the increase key meets the first setting parameter switching condition can be determined, at this moment, the current setting variable parameter can be switched from the volume to the brightness, namely the brightness is the second setting variable parameter. Thus, the increase button is triggered or the decrease button is touched, and the brightness value is increased or decreased in an upward or downward jump according to the set gear value. Similarly, if the AR glasses operate the camera shooting function and the current set variable parameter is brightness, the increase button on the drive-by-wire is triggered, and the triggering time exceeds 3 seconds, the brightness adjustment can be quitted, namely the current set variable parameter is switched from brightness to volume.
Or, if the AR glasses operate the camera function and the current setting variable parameter is the volume, at this time, the decrease key on the drive-by-wire is continuously triggered twice within 1 second, it may be determined that the trigger state information of the decrease key satisfies the second setting parameter switching condition, the current setting variable parameter may be switched from the volume to the talk-back parameter, and at this time, the talk-back parameter is the third setting variable parameter. Thus, the increase button is triggered or the decrease button is touched, and the talkback volume value is increased or decreased in an upward or downward jump manner according to the set gear value. Similarly, if the AR glasses operate the camera function and the current setting variable parameter is the talk-back parameter, and at this time, the decrease key on the drive-by-wire is continuously triggered twice within 1 second, it can be determined that the trigger state information of the decrease key satisfies the second setting parameter switching condition, and the current setting variable parameter can be switched from the talk-back parameter to the volume.
In the line control process of the AR glasses, the increase key or the decrease key is touched, which is to control the current set variable parameter value in the current function mode, at this time, the function key is touched, which is generally invalid, but the present invention is not limited thereto, and for some set function modes, in the running process, the function key on the line control is touched, which may perform corresponding control, for example: and the AR glasses are used for performing the photographing and video recording functions, increasing the number of the keys to be triggered or reducing the number of the keys to be touched, and setting the current variable parameter as a mode parameter, so that the upward jump type or the downward jump type cyclic selection between the photographing function and the video recording function can be realized, and when the function keys are touched, corresponding operation actions can be executed. If the mode parameter is the photographing function, the function key can execute the determination of the selected picture when touched. If the mode parameter is the video recording function, the function key is touched, and the action of starting or ending the video recording can be executed. Therefore, in some embodiments of the present disclosure, when the current function mode is the second setting function mode, the method may further include: and determining the current operation action in the second set function mode according to the trigger state information of the function key, and executing the current operation action.
When general AR glasses start operation, what the operation is default function mode, be first setting function mode promptly, for example can the operation function mode of making a video recording after AR glasses start, and when AR glasses operate other setting function modes, for example: the shooting and video recording function mode and the license plate recognition function mode can be controlled to directly return to the first set function mode on the line control. In some embodiments of the present disclosure, when the current function mode is not the first setting function mode, in a case that it is determined that the reduction key is triggered and the trigger state information satisfies the setting exit condition, the method further includes: and switching the current function mode into a first set function mode. For example: when the AR glasses operate in a photographing and video recording function mode or a license plate recognition function mode, if the reduction keys on the drive-by-wire are triggered and the triggering time is longer than 3 seconds, the AR glasses can be switched to the photographing function mode to operate.
And when the functional mode after the switching is first when setting for the functional mode, after the functional mode of switching augmented reality glasses, still include: and determining the first set variable parameter value as the current set variable parameter value. When the AR glasses are switched to operate the first setting function mode, the first setting variable parameter is controlled by wire.
In practical application, when it is determined that the trigger state information of the function key satisfies the set mode switching condition, the AR display content and the AR display position parameter may be further determined, AR display is performed based on the AR display content and the AR display position parameter, and further, the updated AR display content and the updated AR display position parameter are determined based on the trigger state information of the add key, the drop key and the function key in the drive-by-wire and the current AR display content, and the AR display is updated based on the updated AR display content and the updated AR display position parameter.
For example, if the function key on the line control of the AR glasses is triggered and the triggered time exceeds a set time period, for example, 3 seconds, it may be determined that the trigger state information of the function key on the AR glasses satisfies the set mode switching condition. At this time, AR display content may be generated, which may include at least one of: the device comprises a mode list, a variable parameter value adjustment schematic diagram and a mode parameter list.
The display position of the AR display content may be set below the field of view, above the field of view, or other set positions, for example, a mode list, which may be arranged horizontally, and the current default function is set at the first position in the mode list. The AR display position parameters may include a corresponding area of AR display content in an effective pixel area in a current pixel coordinate system of the AR device, where the current pixel coordinate system is a pixel coordinate system determined based on a frame image currently acquired by the AR device, and the determination method of the pixel coordinate system is different for the AR device for video perspective and the AR device for optical perspective. The AR display position parameter may be a corresponding coordinate of an AR display content boundary point. This can reduce the amount of information to be stored and avoid waste of storage space.
In some examples, updated AR display content and updated AR display position parameters may be determined based on the trigger state information of the add key, the subtract key, and the function key, and the current AR display content, and the AR display may be updated based on the updated AR display content and the updated AR display position parameters.
For example, after the mode switching condition is satisfied, if the function key is touched once and is not touched again within three seconds, it may be determined that the mode switching is to be performed, and at this time, the switched function mode is determined, the selected cursor of the mode list may be adjusted to the selected and switched function mode, and the AR display position parameter is unchanged, and the AR display is continued.
In some examples, if the add key or the subtract key is touched, and the trigger state information does not satisfy the first setting parameter switching condition or the second setting parameter switching condition, determining a variable parameter value adjustment diagram corresponding to the current setting parameter, adding, in the AR display content, the AR content corresponding to the variable parameter value adjustment diagram, and determining a selected position of a selected cursor on the variable parameter value adjustment diagram based on a trigger result of the add key or the subtract key, for example, the variable parameter value adjustment diagram is a variable parameter value adjustment diagram corresponding to a volume, and after the add key or the subtract key is triggered, the volume is 10, selecting 10 the selected cursor in the variable parameter value adjustment diagram. And adding a variable parameter value to adjust the display position corresponding to the schematic diagram in the AR display position parameter.
When the increase key or the decrease key is touched, and the trigger state information meets the first set parameter switching condition or the second set parameter switching condition, determining a current corresponding variable parameter list, adding AR content corresponding to the variable list in AR display content, and determining the selected position of the selected cursor on the variable list based on the trigger result of the increase key or the decrease key. For example, the variable parameter list may include three variable parameters of brightness, talkback, and volume, and according to the trigger result, it is determined that the talkback should be selected at present, and then the selected position of the selected cursor is set on the talkback. And adding a display position corresponding to the variable parameter list in the AR display position parameter.
For example, when the current function mode is a photographing and recording function mode, the first setting variable parameter is a mode parameter, and corresponding gears are a photographing function and a recording function, respectively, so that if the additional key is touched by a point, the photographing function and the recording function can be cyclically selected in an upward jumping manner, and if the additional key is touched by a point, the photographing function and the recording function can be cyclically selected in a downward jumping manner. At this time, the current corresponding mode parameter list may be determined according to the trigger result of the add key or the subtract key, the AR content corresponding to the mode parameter list is added to the AR display content, and the selected position of the selected cursor on the variable list is determined based on the trigger result of the add key or the subtract key. For example, the mode parameter list may include a photographing function and a recording function, and if it is determined that the photographing function should be selected at present according to the trigger result, the selected position of the selected cursor is set on the photographing function. And adding a display position corresponding to the variable parameter list in the AR display position parameter. In other examples, based on the trigger state information of the add key, the subtract key, and the function key, when new AR content needs to be added to the AR display content, the original AR content may be deleted, and in the AR display position parameter, the display position corresponding to the original AR content may be deleted. For example, when the mode parameter list is displayed, the mode list is deleted to avoid that the displayed picture is too crowded to influence the display control effect.
Therefore, in the embodiment of the disclosure, the control process of the drive-by-wire can be visualized through the AR display, so that the control of the user on the functions of the AR glasses can be more convenient.
In addition, by arranging the line control of the increase key, the decrease key and the function key on the AR glasses, the switching of various functions of the AR glasses can be realized, for example: make a video recording, take a picture video recording, face identification, license plate discernment etc to need not the control of the terminal that AR glasses bound, like this, through a small amount of simple drive-by-wire buttons, realize the complicated manifold function of AR glasses, improve the intelligence and the user experience of AR glasses.
Of course, the functions of the AR glasses are not only those controlled by the push-to-wire, but with the development of intelligent technology, the AR glasses also have many functions, for example: some of the functions may require the terminal bound to the AR glasses to set parameter data or perform other control, so that the current function mode of the AR glasses may be determined after the terminal sends an operation instruction to the AR glasses. For example: and starting AR navigation on the terminal bound with the AR glasses, and inputting a destination, wherein the terminal can generate a corresponding operation instruction and send the operation instruction to the AR glasses, so that the AR glasses operate a corresponding current function mode, namely AR navigation, according to the received operation instruction. Or, photo browsing is started on a terminal bound by the AR glasses, so that the terminal can generate a corresponding operation instruction and send the operation instruction to the AR glasses, and the AR glasses operate the photo browsing according to the received operation instruction. It can be seen that the current function mode of operation is determined according to the received operation instruction, and at this time, the current operation information corresponding to the current trigger state information of the add key, the subtract key or the function key in the current function mode can be determined according to the corresponding relationship among the stored function mode, the key trigger state information and the operation work information, and the operation is performed according to the current operation work information, wherein the operation instruction is generated by the terminal bound with the augmented reality glasses.
Since the functions of the AR glasses are various, the correspondence between the key trigger state information and the operation work information in each function mode can be stored in advance, then the current operation work information corresponding to the current trigger state information of the add key, the subtract key, or the function key in the current function mode is determined according to the stored correspondence, and the operation is performed according to the current operation work information.
Table 1 shows a correspondence relationship between a function mode, key trigger state information, and operation work information provided in the embodiment of the present disclosure.
TABLE 1
As shown in table 1, after determining the current function mode and the current trigger state information of each key, the corresponding current operation work information may be determined according to table 1, and thus, the operation may be performed according to the current operation work information.
For example: the terminal sends an operation instruction carrying the identification card identification function mode, so that the AR glasses can determine the identification card identification function mode and operate according to the received operation instruction, at the moment, if the increase key is triggered and the triggering time exceeds 3 seconds, the current operation work information can be determined according to the table 1 to adjust the brightness, and the corresponding control can be continued according to the point contact of the increase key and the decrease key.
Therefore, according to the instruction of the terminal and the line control of the keys, other functions of the AR glasses can be realized, the situation that the complexity of the line control is too high due to the fact that all the functions are switched and controlled through the line control is avoided, and the user experience is influenced due to the fact that the selection time is too long when the functions are switched is avoided.
The following operational flows are integrated into the specific embodiments to illustrate the control method provided by the embodiments of the present invention.
In one embodiment of the disclosure, an increase key (+), a decrease key (-) and a function key () are configured on the drive-by-wire of the AR glasses. And stores the correspondence between the functional mode, the key trigger state information, and the operation work information, for example, as shown in table 1. The functional modes with the wire control configuration comprise: the system comprises the following steps of shooting, shooting and recording, face recognition, license plate recognition and the like, wherein the shooting function mode is a default function mode, namely the first set function mode is the shooting function mode, and the second set function mode is the shooting and recording function mode.
Fig. 2 is a schematic flowchart of a method for controlling augmented reality glasses according to an embodiment of the present disclosure. As shown in fig. 2, the process of augmented reality glasses control includes:
step 201: is it determined whether the current functional mode is determined according to the received operation instruction? If not, go to step 202, and if so, go to step 214.
Step 202: determine whether the function button is triggered, and trigger time exceeds 3 seconds? If so, go to step 203, otherwise, go to step 204.
Step 203: and switching the current function mode of the augmented reality glasses and operating according to the trigger state information of the function keys. Proceed to step 205
For example: the current function mode is a camera shooting function mode, within 2 seconds, the function key is touched once, the current function mode is switched to a camera shooting and video recording function mode, and if the function key is touched three times within 2 seconds, the current function mode is directly switched to a license plate recognition function mode.
Step 204: determine whether the current functional mode is the picture-taking and video-recording mode? If so, go to step 205, otherwise, go to step 206.
Step 205: and switching on or off the photo selection or video recording according to the trigger state information of the function keys. Proceed to step 206
Step 206: is the add button determined to be touched? If yes, go to step 207, otherwise, go to step 208.
Step 207: and (5) performing jump-up increase on the current set variable parameter value in the current function mode according to the set gear position value, and turning to step 210.
Step 208: determine whether the add button is triggered in the camera function mode, and trigger time exceeds 3 seconds? If so, go to step 209, otherwise, go to step 210.
Step 209: and switching the current setting variable parameter between the first setting variable parameter and the second setting variable parameter. Proceed to step 210.
Step 210: is it determined whether the reduction key is touched? If so, go to step 211, otherwise, go to step 212.
Step 211: and (5) performing descending reduction on the current set variable parameter value in the current function mode according to the set gear position value, and ending the process.
Step 212: determine whether the button is triggered in the camera shooting mode, and trigger time exceeds 3 seconds? If yes, go to step 213, otherwise, this process ends.
Step 213: and switching the current setting variable parameter between the first setting variable parameter and the third setting variable parameter. The process is finished.
Step 214: and determining current operation working information corresponding to the current trigger state information of the increase key, the decrease key or the function key in the current function mode according to the corresponding relation among the stored function mode, the key trigger state information and the operation working information, and operating according to the current operation working information.
And determining current operation working information corresponding to the current trigger state information of the increase key, the decrease key or the function key according to the table 1, and operating according to the current operation working information.
Therefore, in the embodiment, by configuring the line control with the additional keys, the reduction keys and the function keys for the AR glasses, various functions of the AR glasses can be realized, the size of the AR glasses is further reduced, and the intelligence and the user experience of the AR glasses are improved.
In one embodiment of the disclosure, the line control on the AR glasses is provided with an increase key (+), a decrease key (-) and a function key (tangle-solidup). The functional modes with the wire control configuration comprise: the method comprises the steps of shooting, shooting and recording, face recognition, license plate recognition and the like, wherein the shooting function mode is a default function mode, and a terminal bound with the AR glasses can generate an operation instruction carrying the function mode, namely the current function mode of the AR glasses can be determined according to the operation instruction generated by the terminal.
In this embodiment, no matter whether the current function mode is through-wire by the key or determined according to the operation instruction generated by the terminal, the corresponding relationship between the function mode, the key trigger state information, and the operation work information may be saved.
Table 2 shows a correspondence relationship between the functional mode, the key trigger state information, and the operation work information provided in the embodiment of the present disclosure.
TABLE 2
Fig. 3 is a schematic flowchart of a method for controlling augmented reality glasses according to an embodiment of the present disclosure. As shown in fig. 3, the process of augmented reality glasses control includes:
Step 301: and determining the current functional mode and the current key triggering state information of the keys.
Wherein, the keys on the wire control comprise an increase key, a decrease key or a function key. The key triggering state information includes: touching, triggering and triggering time is more than 3 seconds, or triggering twice within 1 second. The current function mode may be a preset function mode that can be controlled by wire, or determined according to an operation instruction transmitted from the terminal.
Step 302: and determining the current operation working information corresponding to the current functional mode and the current key triggering state information according to the corresponding relation among the stored functional mode, the key triggering state information and the operation working information.
As shown in table 2, if the current function mode is photo browsing and the current trigger state information is adding key point touch, it may be determined that the current operation work information is displaying the next picture. And if the current function mode is to shoot the video in the video and the current trigger state information is to perform key point touch, determining that the current operation working information is to start the video.
Step 303: and operating according to the current operating work information.
For example: the AR glasses may display the next picture, or start recording, or stop recording, etc.
It can be seen that, in the embodiment of the present disclosure, the corresponding relationship between the function mode, the key trigger state information, and the operation work information is stored, so that, no matter whether the function mode of the AR glasses is controlled by the key of the drive-by-wire or determined according to the received operation instruction generated by the terminal, the current operation work information corresponding to the current function mode and the current key trigger state information can be queried and operated, so that the function control of the AR glasses can be quickly and simply implemented, multiple functions of the AR glasses can be implemented, the size of the AR glasses is further reduced, and the intelligence and the user experience of the AR glasses are improved.
An apparatus for augmented reality glasses control may be constructed according to a method for augmented reality glasses control.
Fig. 4 is a schematic structural diagram of an augmented reality glasses control device according to an embodiment of the present disclosure. The line control of the augmented reality glasses is configured with an increase key, a decrease key and a function key, as shown in fig. 4, the augmented reality glasses control device may include: a function switching unit 100, an increase control unit 200, and a decrease control unit 300.
And a function switching unit 100 configured to switch and operate a current function mode of the augmented reality glasses according to the trigger state information of the function key, in a case where it is determined that the trigger state information of the function key satisfies the set mode switching condition.
And an increase control unit 200 configured to, in a case where it is determined that the increase key is touched, jump up a value of a currently set variable parameter in the current function mode according to the set gear position value.
And a reduction control unit 300 configured to perform a down-step reduction of a currently set variable parameter value in the current function mode according to the set gear position value in a case where it is determined that the reduction key is touched.
In some embodiments of the present disclosure, when the current function mode is the first setting function mode, in a case that it is determined that the add key is triggered and the trigger state information satisfies the first setting parameter switching condition, the add control unit 200 is further configured to replace the current setting variable parameter from the first setting variable parameter to the second setting variable parameter; or, the current set variable parameter is replaced from the second set variable parameter to the first set variable parameter.
In some embodiments of the present disclosure, when the current function mode is the first setting function mode, in a case that it is determined that the reduction key is triggered and the trigger state information satisfies the second setting parameter switching condition, the reduction control unit 300 is further configured to replace the current setting variable parameter from the first setting variable parameter to a third setting variable parameter; or, the current setting variable parameter is replaced from the third setting variable parameter to the first setting variable parameter.
In some embodiments of the present disclosure, when the current function mode is the first setting function mode, the function switching unit is further configured to determine the first setting variable parameter as the current setting variable parameter.
In some embodiments of the disclosure, the apparatus further comprises: the AR display unit is configured to determine corresponding augmented reality AR display content and AR display position parameters under the condition that the trigger state information of the function key is determined to meet the set mode switching condition, and AR display is carried out based on the AR display content and the AR display position parameters;
and determining updated AR display content and updated AR display position parameters based on the trigger state information of the increase key, the decrease key and the function key and the current AR display content, and updating the AR display based on the updated AR display content and the updated AR display position parameters.
In some embodiments of the disclosure, the apparatus further comprises: and the function execution unit is configured to determine the current operation action in the second set function mode according to the trigger state information of the function key when the current function mode is the second set function mode, and execute the current operation action.
In some embodiments of the present disclosure, further comprising: and the function returning unit is configured to switch the current function mode to the first set function mode under the condition that the reduction key is determined to be triggered and the trigger state information meets the set exit condition when the current function mode is not the first set function mode.
In some embodiments of the present disclosure, further comprising: and the matching operation unit is configured to determine current operation work information corresponding to the current trigger state information of the increase key, the decrease key or the function key in the current function mode according to the corresponding relation among the stored function mode, the key trigger state information and the operation work information under the condition that the current function mode of operation is determined according to the received operation instruction, and operate according to the current operation work information, wherein the operation instruction is generated by a terminal bound with the augmented reality glasses.
It can be seen that in this embodiment, dispose the drive-by-wire that increases the button, reduces button and function button on the AR glasses, can realize the multiple functions of AR glasses, like this, through a small amount of simple drive-by-wire buttons, realize the complicated diversified function of AR glasses, improve the intelligence and the user experience of AR glasses. In addition, the control process of the drive-by-wire is visualized through AR display, so that the control of the AR glasses function by a user can be more convenient.
The embodiment of the present disclosure also provides a computer-readable storage medium storing computer-executable instructions configured to execute the above augmented reality glasses control method.
The disclosed embodiments also provide a computer program product comprising a computer program stored on a computer-readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the above-described augmented reality glasses control method.
The computer-readable storage medium described above may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
An embodiment of the present disclosure further provides an electronic device, a structure of which is shown in fig. 5, including:
at least one processor (processor)1000, one processor 1000 being illustrated in FIG. 5; and a memory (memory)1001, and may further include a Communication Interface (Communication Interface)1002 and a bus 1003. The processor 100, the communication interface 1002, and the memory 1001 may communicate with each other via the bus 1003. Communication interface 1002 may be used for the transfer of information. The processor 1000 may call the logic instructions in the memory 1001 to perform the augmented reality glasses control method of the above-described embodiment.
In addition, the logic instructions in the memory 1001 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products.
The memory 1001 is a computer readable storage medium and can be used for storing software programs, computer executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 1000 executes functional applications and data processing by running software programs, instructions and modules stored in the memory 1001, that is, implements the augmented reality glasses control method in the above method embodiment.
The memory 1001 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 1001 may include a high-speed random access memory and may also include a nonvolatile memory.
The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes one or more instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium comprising: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes, and may also be a transient storage medium.
The above description and drawings sufficiently illustrate embodiments of the disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. The scope of the disclosed embodiments includes the full ambit of the claims, as well as all available equivalents of the claims. As used in this application, although the terms "first," "second," etc. may be used in this application to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, unless the meaning of the description changes, so long as all occurrences of the "first element" are renamed consistently and all occurrences of the "second element" are renamed consistently. The first and second elements are both elements, but may not be the same element. Furthermore, the words used in the specification are words of description only and are not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this application is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, the terms "comprises" and/or "comprising," when used in this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method or apparatus that comprises the element. In this document, each embodiment may be described with emphasis on differences from other embodiments, and the same and similar parts between the respective embodiments may be referred to each other. For methods, products, etc. of the embodiment disclosures, reference may be made to the description of the method section for relevance if it corresponds to the method section of the embodiment disclosure.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software may depend upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments. It can be clearly understood by the skilled person that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, apparatuses, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units may be merely a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. 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, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to implement the present embodiment. In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.