Disclosure of Invention
The embodiment of the invention discloses an astronomical knowledge learning method based on wearable equipment and the wearable equipment, which can improve the learning effect of astronomical knowledge.
The embodiment of the invention discloses a wearable device-based astronomical knowledge learning method, wherein the wearable device comprises an intelligent host and a host bracket, the intelligent host can automatically rotate when standing up relative to the host bracket, and the method comprises the following steps:
when the celestial body name input from the outside is detected, acquiring current positioning information and space state information of the wearable device, and acquiring relative position information of a target celestial body indicated by the celestial body name relative to the earth;
calculating to obtain a rotation angle and a target included angle according to the current positioning information, the space state information and the relative position information;
and controlling the intelligent host to automatically rotate when the intelligent host is opposite to the host bracket and adjusting the included angle between the intelligent host and the host bracket to be the target included angle, so that one side of the intelligent host faces the target celestial body, and the screen arranged on the other side of the intelligent host, which is right opposite to the one side, outputs the relevant information of the target celestial body.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the calculating, according to the current positioning information, the spatial state information, and the relative position information, a rotation angle and a target included angle includes:
acquiring the inclination angle of the intelligent host and the orientation information of one side of the intelligent host in the space state information;
calculating to obtain a rotation angle according to the current positioning information, the orientation information and the relative position information;
and calculating to obtain a target included angle according to the inclination angle and the relative position information.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the controlling the smart host to automatically rotate the rotation angle when standing up relative to the host support, and adjusting an included angle between the smart host and the host support to be the target included angle, so that a screen disposed on another side of the smart host, which is opposite to one side of the smart host when the other side faces the target celestial body, outputs information related to the target celestial body includes:
controlling the intelligent host to turn over so that the intelligent host is vertical to the plane of the host bracket when standing up;
controlling the intelligent host to automatically rotate the rotation angle according to a preset rotation mode when the intelligent host is perpendicular to the plane where the host bracket is located;
adjusting an included angle between one side of the intelligent host and the host bracket to be the target included angle so that the one side faces the target celestial body;
and acquiring related information of the target celestial body, and outputting the related information through a screen arranged on the other side of the intelligent host, which is opposite to the one side.
As an optional implementation manner, in a first aspect of the embodiments of the present invention, a shooting module is disposed on one side of the smart host, and the obtaining of the relevant information of the target celestial body and the outputting of the relevant information through a screen disposed on the other side of the smart host opposite to the one side includes:
acquiring a current image containing the target celestial body through the shooting module, and acquiring related information of the target celestial body;
fusing the virtual image corresponding to the relevant information with the current image based on an augmented reality technology to obtain a target image;
and outputting the target image through a screen arranged on the other side of the intelligent host, which is just opposite to the one side.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, before the obtaining, when the externally input celestial body name is detected, current location information and spatial state information of the wearable device, the method further includes:
when an input learning instruction is detected, acquiring voice in the environment where the wearable device is located through a microphone on the intelligent host;
converting the voice into text information, and identifying whether the text information contains target information related to astronomical knowledge;
and if so, acquiring the celestial body name matched with the target information.
A second aspect of an embodiment of the present invention discloses a wearable device, including an intelligent host and a host support, where the intelligent host can automatically rotate when standing up with respect to the host support, and the intelligent host includes:
the wearable device comprises a first acquisition unit, a second acquisition unit and a display unit, wherein the first acquisition unit is used for acquiring current positioning information and space state information of the wearable device when an externally input celestial body name is detected, and acquiring relative position information of a target celestial body indicated by the celestial body name relative to the earth;
the calculation unit is used for calculating to obtain a rotation angle and a target included angle according to the current positioning information, the space state information and the relative position information;
the control unit is used for controlling the intelligent host to rotate automatically when the host bracket is erected, and adjusting the included angle between the intelligent host and the host bracket to be the target included angle, so that one side of the intelligent host faces the target celestial body, and the other side of the intelligent host is opposite to the screen arranged on the other side of the intelligent host and used for outputting relevant information of the target celestial body.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the calculation unit includes:
the first acquiring subunit is used for acquiring the inclination angle of the intelligent host and the orientation information of one side of the intelligent host in the space state information;
the first calculating subunit is configured to calculate a rotation angle according to the current positioning information, the orientation information, and the relative position information;
and the second calculating subunit is used for calculating to obtain a target included angle according to the inclination angle and the relative position information.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the control unit includes:
the first control subunit is used for controlling the intelligent host to turn over so that the intelligent host is vertical to the plane where the host bracket is located when standing up;
the second control subunit is used for controlling the intelligent host to automatically rotate the rotation angle according to a preset rotation mode when the intelligent host is perpendicular to the plane where the host bracket is located;
the adjusting subunit is used for adjusting an included angle between one side of the intelligent host and the host bracket to be the target included angle so that the one side faces the target celestial body;
and the second acquisition subunit is used for acquiring the related information of the target celestial body and outputting the related information through a screen arranged on the other side of the intelligent host, which is just opposite to the one side.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, a shooting module is disposed on one side of the smart host, and the second obtaining subunit includes:
the acquisition module is used for acquiring a current image containing the target celestial body through the shooting module and acquiring related information of the target celestial body;
the fusion module is used for fusing the virtual image corresponding to the relevant information with the current image based on an augmented reality technology to obtain a target image;
and the output module is used for outputting the target image through a screen arranged on the other side of the intelligent host, and the one side of the screen is opposite to the other side of the intelligent host.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the smart host further includes:
the acquisition unit is used for acquiring the voice in the environment where the wearable device is located through a microphone on the intelligent host before acquiring the current positioning information and the space state information of the wearable device when the externally input celestial body name is detected and when the input learning instruction is detected;
the recognition unit is used for converting the voice into character information and recognizing whether the character information contains target information related to astronomical knowledge;
and the second acquisition unit is used for acquiring the celestial body name matched with the target information when the identification result of the identification unit is positive.
A third aspect of an embodiment of the present invention discloses another wearable device, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to perform part or all of the steps of any one of the methods of the first aspect.
A fourth aspect of the present embodiments discloses a computer-readable storage medium storing a program code, where the program code includes instructions for performing part or all of the steps of any one of the methods of the first aspect.
A fifth aspect of embodiments of the present invention discloses a computer program product, which, when run on a computer, causes the computer to perform some or all of the steps of any one of the methods of the first aspect.
A sixth aspect of the present embodiment discloses an application publishing platform, where the application publishing platform is configured to publish a computer program product, where the computer program product is configured to, when running on a computer, cause the computer to perform part or all of the steps of any one of the methods in the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, when the celestial body name input from the outside is detected, the current positioning information and the space state information of the wearable device are obtained, and the relative position information of the target celestial body relative to the earth, which is indicated by the celestial body name, is obtained; calculating to obtain a rotation angle and a target included angle according to the current positioning information, the space state information and the relative position information; and controlling the intelligent host to automatically rotate the rotating angle when the intelligent host stands up relative to the host bracket, and adjusting an included angle between the intelligent host and the host bracket to be a target included angle so as to output relevant information of the target celestial body by a screen arranged on the other side of the intelligent host opposite to one side when one side of the intelligent host faces the target celestial body. Therefore, by implementing the embodiment of the invention, the orientation of the intelligent host of the wearable device can be controlled, so that the inquired direction of the target celestial body is prompted to the user, and the relevant information of the target celestial body can be output by combining the actual direction of the target celestial body, so that the astronomical knowledge is combined with the actual environment where the user is located, and the learning effect of the user on the astronomical knowledge is improved.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the present invention, the terms "upper", "lower", "left", "right", "front", "rear", "top", "bottom", "inner", "outer", "center", "vertical", "horizontal", "lateral", "longitudinal", and the like indicate an orientation or positional relationship based on the orientation or positional relationship shown in the drawings. These terms are used primarily to better describe the invention and its embodiments and are not intended to limit the indicated devices, elements or components to a particular orientation or to be constructed and operated in a particular orientation.
Moreover, some of the above terms may be used to indicate other meanings besides the orientation or positional relationship, for example, the term "on" may also be used to indicate some kind of attachment or connection relationship in some cases. The specific meanings of these terms in the present invention can be understood by those skilled in the art as appropriate.
Furthermore, the terms "mounted," "disposed," "provided," "connected," and "connected" are to be construed broadly. For example, it may be a fixed connection, a removable connection, or a unitary construction; can be a mechanical connection, or an electrical connection; may be directly connected, or indirectly connected through intervening media, or may be in internal communication between two devices, elements or components. The specific meanings of the above terms in the present invention can be understood by those of ordinary skill in the art according to specific situations.
Furthermore, the terms "first," "second," and the like, are used primarily to distinguish one device, element, or component from another (the specific nature and configuration may be the same or different), and are not used to indicate or imply the relative importance or number of the indicated devices, elements, or components. "plurality" means two or more unless otherwise specified.
The technical solutions of the embodiments of the present invention will be further described with reference to the following embodiments and the accompanying drawings.
In order to better understand the wearable device-based astronomical knowledge learning method disclosed by the embodiment of the invention, a wearable device disclosed by the embodiment of the invention is introduced first. Referring to fig. 1 to fig. 3, a wearable device disclosed in an embodiment of the present invention may include:host computer support 10,rotatable part 20,intelligent host computer 30, thishost computer support 10 is equipped withcoupling portion 11, and thisrotatable part 20 includessupport coupling portion 21 and locates the first connectingportion 22 onsupport coupling portion 21, and thissupport coupling portion 21 andcoupling portion 11 coupling to makerotatable part 20 rotate relativelyhost computer support 10. Thisintelligent host 30 is equipped with second connectingportion 31, and oneside 32 ofintelligent host 30 just is to theopposite side 33 ofintelligent host 30, and second connectingportion 31 can be dismantled with first connectingportion 22 and be connected to realize thatintelligent host 30 is connected withrotating parts 20 or realize thatintelligent host 30 separates withrotating parts 20, and when second connectingportion 31 is connected with first connectingportion 22,intelligent host 30 can be rotatory relativelyhost computer support 10.
In the embodiment of the present invention, oneside 32 of thesmart host 30 may be provided with a shooting module (not labeled in the figure), theother side 33 of thesmart host 30 may also be provided with a shooting module (not labeled in the figure), theother side 33 of thesmart host 30 may be provided with a screen (not labeled in the figure), and optionally, oneside 32 of thesmart host 30 may also be provided with a screen (not labeled in the figure).
In the embodiment of the present invention, thesmart host 30 is used as a host of a wearable device with adjustable shooting angle, and not only includes an internal motherboard, a touch screen or a display screen for implementing touch and display functions, a battery for supplying power to the motherboard, the touch screen/the display screen, a shooting module for implementing the shooting function of thesmart host 30, a communication device (e.g., a wireless communication device, a bluetooth communication device, an infrared communication device, etc.) for implementing the communication function of thesmart host 30, a sensor (e.g., a gravity sensor, an acceleration sensor, a distance sensor, an air pressure sensor, an ultraviolet detector, a water playing detection and identification module) for implementing the detection function of thesmart host 30, a heart rate detector for implementing the heart rate detection of a user, a timer for implementing the timing function of thesmart host 30, and an element for identifying the identity of the user, such as a fingerprint module, a facial recognition module, and a microphone, speaker, etc. that enable audio input and/or output. It should be known that, inside each above-mentioned device, functional module all locatedintelligent host 30, and be connected with the mainboard electricity, realize the control to these devices, functional module through the mainboard, and then control it and realize corresponding function.
Therefore, in the embodiment of the present invention, thesmart host 30 is different from a traditional watch dial that only can implement functions of time display, timing, and the like.
It is understood that, in other embodiments, thehost bracket 20 may have a closed ring structure or a plate structure, and the embodiments of the present invention are not limited thereto.
Further, when thehost support 20 is a plate-shaped structure, one or more through holes may be disposed on thehost support 20, so that thesmart host 30 may detect various physiological characteristics including detecting the heart rate of the user through the through holes. The shape of the through hole may be circular, square, or oval, and the embodiment of the present invention is not limited.
Referring to fig. 4, fig. 4 is a flowchart illustrating an astronomical knowledge learning method based on a wearable device according to an embodiment of the present invention. The wearable device-based astronomical knowledge learning method described in fig. 4 can be applied to the wearable device described in the previous embodiment. As described in the previous embodiments, the wearable device includes a smart host and a host cradle, the smart host being capable of automatic rotation when set up against the host cradle. As shown in fig. 4, the wearable device-based astronomical knowledge learning method may include the steps of:
401. when the celestial body name input from the outside is detected, the intelligent host acquires the current positioning information and the space state information of the wearable device and acquires the relative position information of the target celestial body relative to the earth, wherein the relative position information is indicated by the celestial body name.
In the embodiment of the present invention, the celestial body name may be a name of any celestial body, and the user of the wearable device may input the celestial body name in a manner of text, voice, or the like.
For example, a screen of the intelligent host can output a text input box, and a user can input a celestial body name to be queried through the text input box; the intelligent host can also collect the sound in the environment where the wearable device is located through a microphone arranged on the intelligent host, and identifies the collected sound, and when the collected sound is detected to contain the voice corresponding to the celestial body name, the celestial body name corresponding to the voice can be determined to be the celestial body name which needs to be inquired and is input by the user; the intelligent host can also output a plurality of celestial body types through the screen so that a user can select a target celestial body type to be checked by clicking any celestial body type in the screen, and then the intelligent host can output one or more celestial body names contained in the target celestial body type so that the user can select a celestial body name to be checked by clicking any celestial body name in the screen. Therefore, the intelligent host can acquire the celestial body name input by the user in different modes, and the use experience of the intelligent host is improved.
In the embodiment of the invention, the current Positioning information of the wearable device can be positioned through a Global Positioning System (Global Positioning System), a Beidou satellite navigation System and the like, and the Positioning information can be longitude and latitude coordinates of the position where the wearable device is located. The spatial state information of the wearable device can be information such as the altitude and the inclination angle of the wearable device, and the spatial state information of the wearable device can be collected through nine sensors arranged on the wearable device. The intelligent host can acquire the position of the target celestial body relative to the earth, namely the relative position information of the target celestial body relative to the earth through the internet.
As an optional implementation manner, before the smart host performsstep 401, the following steps may also be performed:
when an astronomical knowledge learning instruction triggered by a user is detected, the intelligent host outputs a search page through a screen, wherein the search page can contain a character input box, and the character input box can be used for acquiring character information input by the user;
the intelligent host acquires character information input by a user through a search page, and judges whether the character information is matched with any celestial body through a semantic recognition technology;
if yes, the intelligent host machine determines the character information as a celestial body name;
if not, the intelligent host determines at least one candidate celestial body name matched with the text information through fuzzy search;
the intelligent host computer outputs the at least one candidate celestial body name and outputs prompt information, wherein the prompt information is used for prompting a user to select a target celestial body name to be searched from the at least one candidate celestial body name;
when a selection instruction input by a user is detected, the intelligent host determines the candidate celestial body name corresponding to the selection instruction from the at least one candidate celestial body name as the celestial body name needing to be searched.
By implementing the implementation mode, names of celestial bodies which the user wants to know can be obtained when the fact that the user needs to obtain astronomical knowledge is detected, when the names of the celestial bodies input by the user are inaccurate, at least one name of the celestial bodies can be determined through a fuzzy recognition technology for the user to select, the names of the celestial bodies which the user determines to be searched can be obtained finally, and accuracy of the names of the celestial bodies which need to be searched is guaranteed.
402. And the intelligent host calculates to obtain the rotation angle and the target included angle according to the current positioning information, the space state information and the relative position information.
In the embodiment of the invention, the intelligent host can calculate the current position of the target celestial body relative to the wearable device according to the relative position information of the target celestial body relative to the earth and the current positioning information of the wearable device on the earth, and can also acquire the current orientation of the wearable device from the space state information, so that the intelligent host can calculate a first included angle between the current position and the current orientation in a clockwise mode, and if the first included angle is less than or equal to 180 degrees, the first included angle can be determined as a rotation angle, and the rotation mode of the intelligent host is determined as clockwise rotation; if the first included angle is larger than 180 degrees, determining the difference obtained by subtracting the first included angle from 360 degrees as a rotation angle, and determining the rotation mode of the intelligent host as anticlockwise rotation; the rotation angle obtained through calculation in the above mode and the rotation mode of the intelligent host can control the intelligent host to rotate by the minimum angle, and then one side of the intelligent host can be towards the direction of the target celestial body.
In the embodiment of the invention, the target included angle can be calculated according to the altitude in the space state information, the inclination angle of the wearable device and the relative position information of the target celestial body relative to the earth, and when the included angle between the intelligent host and the host bracket is adjusted to be the target included angle, one side of the intelligent host can be opposite to the target celestial body. In addition, the intelligent host can detect whether the screen of the other side of the intelligent host is just facing to the face of the user of the wearable device through a camera module (such as a camera) or an infrared sensing module (such as an infrared sensor) and the like arranged on the other side, if not, an adjustment prompt can be output and used for prompting the user of the wearable device to adjust the height of the wearable device so that the user can see the content displayed on the screen of the intelligent host.
403. The intelligent host controls the intelligent host to automatically rotate the rotating angle when the intelligent host stands up relative to the host support, and adjusts the included angle between the intelligent host and the host support to be a target included angle, so that when one side of the intelligent host faces the target celestial body, the screen arranged on the other side of the intelligent host opposite to the one side outputs relevant information of the target celestial body.
In the embodiment of the invention, the intelligent host can control the intelligent host to rotate the rotation angle while adjusting the included angle between the intelligent host and the host bracket so as to achieve the purpose that the included angle between the intelligent host and the host is a target included angle and the intelligent host rotates the rotation angle; in addition, the intelligent host can also adjust the included angle between the intelligent host and the host bracket to the target included angle and then control the intelligent host to rotate the rotating angle so as to achieve the purpose that the included angle between the intelligent host and the host bracket is the target included angle and the rotating angle of the intelligent host.
In the embodiment of the invention, one side of the intelligent host can be arranged opposite to the screen of the intelligent host, and the other side of the intelligent host can be provided with the screen. The related information of the target celestial body can comprise information such as image-text introduction information and a three-dimensional model of the target celestial body, the intelligent host can output the related information of the target celestial body to a screen of the intelligent host, so that a user can directly learn related knowledge of the target celestial body through the screen of the intelligent host, and one side of the intelligent host faces the target celestial body, so that the user can more intuitively know the current position of the target celestial body relative to the user, and the interactivity of the user in learning the related astronomical knowledge of the target celestial body is improved.
As an alternative embodiment, the method for controlling the smart host to automatically rotate the rotation angle when the smart host stands up relative to the host bracket and adjusting the included angle between the smart host and the host bracket to the target included angle may include the following steps:
the intelligent host is controlled to automatically rotate in a preset rotating mode while the intelligent host is erected to adjust the included angle between the intelligent host and the host bracket until the included angle between the intelligent host and the host bracket is equal to the target included angle and the rotating angle of the intelligent host is equal to the calculated rotating angle; the preset rotation mode may be clockwise rotation or counterclockwise rotation.
The intelligent host can be controlled to automatically rotate in the process of adjusting the included angle between the intelligent host and the host bracket by the intelligent host, so that the processes of adjusting the included angle between the intelligent host and the host bracket and the rotating angle of the intelligent host are combined, and the adjustment efficiency of the intelligent host is improved.
In the method described in fig. 4, the relevant information of the target celestial body can be output in combination with the actual orientation of the target celestial body, so that the astronomical knowledge is combined with the real environment where the user is located, and the learning effect of the user on the astronomical knowledge is improved. In addition, the method described in fig. 4 is implemented, and the use experience of the intelligent host is improved. In addition, the method described in fig. 4 is implemented, and the accuracy of the celestial body name to be searched is ensured. In addition, the method described in fig. 4 can be implemented to improve the adjustment efficiency for the smart host.
Referring to fig. 5, fig. 5 is a flowchart illustrating another wearable device-based astronomical knowledge learning method according to an embodiment of the present invention. The wearable device-based astronomical knowledge learning method described in fig. 5 can be applied to the wearable device described in the previous embodiment. As described in the previous embodiments, the wearable device includes a smart host and a host stand, the smart host can automatically rotate when standing up relative to the host stand, and one side of the smart host is provided with a shooting module. As shown in fig. 5, the wearable device-based astronomical knowledge learning method may include the steps of:
501. when the celestial body name input from the outside is detected, the intelligent host acquires the current positioning information and the space state information of the wearable device and acquires the relative position information of the target celestial body relative to the earth, wherein the relative position information is indicated by the celestial body name.
502. And the intelligent host calculates to obtain the rotation angle and the target included angle according to the current positioning information, the space state information and the relative position information.
503. The intelligent host controls the intelligent host to turn over so that the intelligent host is perpendicular to the plane where the host bracket is located when standing up.
In the embodiment of the invention, the intelligent host can firstly control the intelligent host to turn around the coupling part between the intelligent host and the host bracket so that the included angle between the intelligent host and the host bracket is 90 degrees, namely the plane where the intelligent host and the host bracket are positioned is vertical, so that the intelligent host rotates in the current state with fewer obstacles, thereby improving the smoothness of the rotation of the intelligent host.
504. The intelligent host controls the intelligent host to automatically rotate the rotation angle according to a preset rotation mode when the intelligent host is perpendicular to the plane where the host bracket is located.
In the embodiment of the present invention, the smart host may obtain a rotation mode corresponding to the calculated rotation angle, where the rotation mode may be clockwise rotation or counterclockwise rotation.
505. The intelligent host adjusts an included angle between one side of the intelligent host and the host bracket to be a target included angle so that one side faces the target celestial body.
In the embodiment of the invention, one side of the intelligent host can be provided with the shooting module, and the intelligent host can shoot the target celestial body by adjusting the included angle between the intelligent host and the host bracket to be the target included angle.
506. The intelligent host acquires the relevant information of the target celestial body and outputs the relevant information through a screen arranged on the other side of the intelligent host, which is opposite to one side of the intelligent host.
In the embodiment of the present invention, by implementing thesteps 503 to 506, the intelligent host can be turned to a state perpendicular to the host bracket, and then the intelligent host is controlled to rotate by the rotation angle, and after the rotation of the intelligent host is finished, the included angle between the intelligent host and the host bracket is adjusted to be the target included angle.
As an alternative implementation, the method for acquiring the relevant information of the target celestial body by the smart host and outputting the relevant information through the screen arranged on the other side of the smart host opposite to the one side may include the following steps:
the intelligent host acquires a current image containing a target celestial body through the shooting module and acquires related information of the target celestial body;
the intelligent host fuses the virtual image corresponding to the relevant information with the current image based on the augmented reality technology to obtain a target image;
the intelligent host outputs a target image through a screen arranged on the other side of the intelligent host, and one side of the screen is opposite to the other side of the intelligent host.
By implementing the implementation mode, the current image containing the target celestial body can be acquired, and the virtual image of the information related to the target celestial body can be displayed in the current image through the augmented reality technology, so that a user can learn the information related to the target celestial body together with the virtual image when learning the information related to the target celestial body, and the interestingness of the process of learning the information related to the target celestial body is improved.
Optionally, the method for the intelligent host to fuse the virtual image corresponding to the related information with the current image based on the augmented reality technology to obtain the target image may include the following steps:
the intelligent host acquires the contents of text contents (such as text introduction contents and the like to the target celestial body), virtual images (such as images of the target celestial body in animation type and the like) and indication marks and the like in the related information;
the intelligent host identifies the position area of the target celestial body in the current image;
the intelligent host adds the virtual image to the position area of the current image based on the augmented reality technology, adds the text content to the area outside the position area in the current image, and associates the text content with the virtual image through the indicator in the current image to obtain a final target image.
By implementing the implementation mode, the position area of the target celestial body in the current image can be identified, the virtual image in the relevant information of the target celestial body is added into the position area, the text content aiming at the target celestial body can be added into the current image, and the text content is associated with the virtual image through the indicating mark, so that the user can more intuitively see the image of the target celestial body, can clearly know the information such as celestial body knowledge of the target celestial body, and the learning efficiency of the user on the target celestial body is improved.
Furthermore, the method for identifying the position area of the target celestial body in the current image by the intelligent host computer can further comprise the following steps:
the intelligent host identifies the current image and judges whether a celestial body image matched with the target celestial body is identified in the current image;
if so, the intelligent host sets an interpretation area corresponding to the celestial body image in the current image, adds the text content to the interpretation area based on the augmented reality technology, and associates the interpretation area with the celestial body image through an indication mark in the current image to obtain a final target image;
if not, the intelligent host identifies a sky area from the current image, determines a position area corresponding to the target celestial body from the sky area, and adds the virtual image to the position area of the current image based on the augmented reality technology, adds the text content to an area outside the position area in the current image, and associates the text content with the virtual image through the indication mark in the current image to obtain a final target image.
When the target celestial body is shot or not shot in the current image, the target celestial body can be displayed in the current image based on the augmented reality technology, and the knowledge content of the target celestial body is output, so that the generated target image not only contains the image of the target celestial body, but also contains introduction information of the target celestial body, and the information content contained in the target image is improved.
In the method described in fig. 5, the relevant information of the target celestial body can be output in combination with the actual orientation of the target celestial body, so that the astronomical knowledge is combined with the real environment where the user is located, and the learning effect of the user on the astronomical knowledge is improved. In addition, the method described in fig. 5 can be implemented to adjust the smart host more accurately. In addition, the method described in fig. 5 is implemented to enhance the interest of the learning process of the related information of the target celestial body. In addition, the method described in fig. 5 is implemented, and the learning efficiency of the user for the target celestial body is improved. In addition, implementing the method described in fig. 5 increases the amount of information contained in the target image.
Referring to fig. 6, fig. 6 is a flowchart illustrating another wearable device-based astronomical knowledge learning method according to an embodiment of the present invention. The wearable device-based astronomical knowledge learning method described in fig. 6 can be applied to the wearable device described in the previous embodiment. As described in the previous embodiments, the wearable device includes a smart host and a host cradle, the smart host being capable of automatic rotation when set up against the host cradle. As shown in fig. 6, the wearable device-based astronomical knowledge learning method may include the steps of:
601. when the input learning instruction is detected, the intelligent host collects voice in the environment where the wearable device is located through a microphone on the intelligent host.
In the embodiment of the present invention, the learning instruction may be input by a user triggering a physical key or a virtual key on the smart host, or may be input in a voice manner, which is not limited in the embodiment of the present invention. When the input learning instruction is detected, the user can be considered to input the celestial body name needing to be learned, therefore, the intelligent host can collect voice in the environment where the wearable device is located through a microphone arranged on the intelligent host, and the celestial body name input by the user in a voice mode is determined through voice recognition.
602. The intelligent host converts the voice into text information, identifies whether the text information contains target information related to astronomical knowledge, and if so, executes the steps 603-608; if not, the flow is ended.
In the embodiment of the invention, the intelligent host can convert the voice into the character information through the voice recognition technology, and then the intelligent host can analyze the character information through the semantic recognition technology, if the character information does not contain the information related to astronomical knowledge through analysis, the process is ended; if the analysis determines that the text information contains target information related to astronomical knowledge, executing thestep 603 to thestep 608; if the analysis determines that the text information contains two or more target information related to astronomical knowledge, the determined two or more target information may be sorted, and then steps 603 to 608 are sequentially performed.
603. And the intelligent host acquires the celestial body name matched with the target information.
In the embodiment of the invention, because the user of the wearable device usually does not know the proper names of the celestial bodies enough and the input celestial body names are not accurate enough, the intelligent host can acquire the celestial body names matched with the target information in a fuzzy search mode, so that the follow-up operation performed on the celestial body names is more accurate.
In the embodiment of the present invention, by implementingsteps 601 to 603, the voice in the environment where the wearable device is located can be collected through the microphone after the learning instruction input by the user is detected, so that the wearable device is prevented from collecting a large amount of invalid voices, the workload of the wearable device is reduced, and thus the data processing efficiency of the wearable device is improved.
604. When the celestial body name input from the outside is detected, the intelligent host acquires the current positioning information and the space state information of the wearable device and acquires the relative position information of the target celestial body relative to the earth, wherein the relative position information is indicated by the celestial body name.
605. The intelligent host acquires the inclination angle of the intelligent host and the orientation information of one side of the intelligent host in the space state information.
606. And the intelligent host calculates to obtain the rotation angle according to the current positioning information, the orientation information and the relative position information.
In the embodiment of the invention, the intelligent host can calculate the current position of the target celestial body relative to the wearable device according to the relative position information of the target celestial body relative to the earth and the current positioning information of the wearable device on the earth, and can also acquire the current orientation of the wearable device from the space state information, so that the intelligent host can calculate a first included angle and a second included angle between the current position and the current orientation, wherein the first included angle can be the included angle between the current position and the current orientation calculated in a clockwise mode, and the second included angle can be the included angle between the current position and the current orientation calculated in an anticlockwise mode; comparing the first included angle with the second included angle, if the first included angle is smaller than or equal to the second included angle, determining the first included angle as a rotating angle, and determining the rotating mode of the intelligent host as clockwise rotation; if the first included angle is larger than the second included angle, the second included angle can be determined as a rotating angle, and the rotating mode of the intelligent host is determined as anticlockwise rotation; the rotation angle obtained through calculation in the above mode and the rotation mode of the intelligent host can control the intelligent host to rotate by the minimum angle, and then one side of the intelligent host can be towards the direction of the target celestial body.
607. And the intelligent host calculates to obtain a target included angle according to the inclination angle and the relative position information.
In the embodiment of the invention, the intelligent host can acquire the third included angle between the target celestial body and the ecliptic surface of the earth from the relative position information of the target celestial body relative to the earth, the intelligent host can also determine the fourth included angle between the intelligent host and the ecliptic surface of the earth according to the inclination angle of the intelligent host, and then the intelligent host can calculate the target included angle between the intelligent host and the target celestial body according to the third included angle and the fourth included angle, so that after the intelligent host adjusts the included angle between the intelligent host and the host bracket to be the target included angle, one side of the intelligent host can be opposite to the target celestial body.
In the embodiment of the present invention, by implementingsteps 605 to 607, the altitude information of the current position of the wearable device and the current orientation information of the wearable device may be obtained from the collected spatial state information of the wearable device, the rotation angle may be calculated according to the current positioning information, the orientation information and the relative position information, and the target included angle may be calculated according to the altitude information and the relative position information, so that the calculated rotation angle and the target included angle are more accurate.
608. The intelligent host controls the intelligent host to automatically rotate the rotating angle when the intelligent host stands up relative to the host support, and adjusts the included angle between the intelligent host and the host support to be a target included angle, so that when one side of the intelligent host faces the target celestial body, the screen arranged on the other side of the intelligent host opposite to the one side outputs relevant information of the target celestial body.
In the method described in fig. 6, the relevant information of the target celestial body can be output in combination with the actual orientation of the target celestial body, so that the astronomical knowledge is combined with the real environment where the user is located, and the learning effect of the user on the astronomical knowledge is improved. In addition, the data processing efficiency of the wearable device is improved by implementing the method described in fig. 6. In addition, the method described in fig. 6 can be implemented to make the calculated rotation angle and the target included angle more accurate.
Referring to fig. 7, fig. 7 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention. As shown in fig. 7, the wearable device includes a smart host and a host cradle, the smart host being capable of automatic rotation when set up against the host cradle. As shown in fig. 7, the wearable device may include a smart host that includes:
a first obtainingunit 701, configured to, when an externally input celestial body name is detected, obtain current positioning information and spatial state information of the wearable device, and obtain relative position information of a target celestial body relative to the earth, which is indicated by the celestial body name.
As an optional implementation manner, the first obtainingunit 701 may further be configured to:
when an astronomical knowledge learning instruction triggered by a user is detected, outputting a search page through a screen, wherein the search page can contain a character input box which can be used for acquiring character information input by the user;
acquiring character information input by a user through a search page, and judging whether the character information is matched with any celestial body through a semantic recognition technology;
if yes, determining the character information as a celestial body name;
if not, determining at least one candidate celestial body name matched with the text information through fuzzy search;
outputting the at least one candidate celestial body name, and outputting prompt information, wherein the prompt information is used for prompting a user to select a target celestial body name to be searched from the at least one candidate celestial body name;
when a selection instruction input by a user is detected, determining the candidate celestial body name corresponding to the selection instruction as a celestial body name needing to be searched from the at least one candidate celestial body name.
By implementing the implementation mode, names of celestial bodies which the user wants to know can be obtained when the fact that the user needs to obtain astronomical knowledge is detected, when the names of the celestial bodies input by the user are inaccurate, at least one name of the celestial bodies can be determined through a fuzzy recognition technology for the user to select, the names of the celestial bodies which the user determines to be searched can be obtained finally, and accuracy of the names of the celestial bodies which need to be searched is guaranteed.
The calculatingunit 702 is configured to calculate to obtain a rotation angle and a target included angle according to the current positioning information, the spatial state information, and the relative position information acquired by the first acquiringunit 701.
And thecontrol unit 703 is configured to control the rotation angle obtained by the automaticrotation calculation unit 702 when the smart host stands up relative to the host bracket, and adjust an included angle between the smart host and the host bracket to be a target included angle, so that when one side of the smart host faces the target celestial body, information related to the target celestial body is output from a screen provided on the other side of the smart host opposite to the one side.
As an optional implementation manner, the manner in which thecontrol unit 703 controls the smart host to automatically rotate the rotation angle when standing up relative to the host bracket, and adjusts the included angle between the smart host and the host bracket to be the target included angle may specifically be:
controlling the intelligent host to automatically rotate according to a preset rotating mode while adjusting the included angle between the intelligent host and the host bracket in a standing mode until the included angle between the intelligent host and the host bracket is equal to the target included angle and the rotating angle of the intelligent host is equal to the calculated rotating angle; the preset rotation mode may be clockwise rotation or counterclockwise rotation.
The intelligent host can be controlled to automatically rotate in the process of adjusting the included angle between the intelligent host and the host bracket by the intelligent host, so that the processes of adjusting the included angle between the intelligent host and the host bracket and the rotating angle of the intelligent host are combined, and the adjustment efficiency of the intelligent host is improved.
Therefore, by implementing the wearable device described in fig. 7, the relevant information of the target celestial body can be output in combination with the actual position of the target celestial body, so that the astronomical knowledge is combined with the real environment where the user is located, and the learning effect of the user on the astronomical knowledge is improved. In addition, the wearable device described in fig. 7 is implemented, and the accuracy of the celestial body name needing to be searched is guaranteed. In addition, implementing the wearable device described in fig. 7 may improve the efficiency of the adjustment for the smart host.
Referring to fig. 8, fig. 8 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention. The wearable device shown in fig. 8 is optimized by the wearable device shown in fig. 7. Compared with the smart host included in the wearable device shown in fig. 7, one side of the smart host of the wearable device shown in fig. 8 is provided with a shooting module, and thecontrol unit 703 of the smart host included in the wearable device shown in fig. 8 may include:
and thefirst control subunit 7031 is configured to control the intelligent host to turn over, so that the intelligent host is perpendicular to a plane where the host bracket is located when the intelligent host stands up.
And thesecond control subunit 7032 is configured to automatically rotate the rotation angle obtained by thecalculation unit 702 according to a preset rotation mode when thefirst control subunit 7031 controls the plane where the intelligent host and the host bracket are located to be perpendicular to each other.
And the adjustingsubunit 7033 is configured to adjust an included angle between one side of the smart host and the host bracket to be a target included angle obtained by the calculatingunit 702, so that one side faces the target celestial body.
And a second obtainingsubunit 7034, configured to obtain relevant information of the target celestial body, and output the relevant information through a screen that is set on the other side of the intelligent host that is directly opposite to the side of the intelligent host that is adjusted by the adjustingsubunit 7033.
In the embodiment of the invention, the intelligent host can be firstly turned to be vertical to the host bracket, then the intelligent host is controlled to rotate by the rotation angle, and the included angle between the intelligent host and the host bracket is adjusted to be the target included angle after the rotation of the intelligent host is finished.
As an alternative embodiment, the second acquiringsubunit 7034 of the smart host included in the wearable device shown in fig. 8 may include:
theacquisition module 70341 is used for acquiring the current image containing the target celestial body through the shooting module and acquiring the relevant information of the target celestial body;
thefusion module 70342 is configured to fuse the virtual image corresponding to the relevant information acquired by theacquisition module 70341 with the current image based on an augmented reality technology to obtain a target image;
and theoutput module 70343 is used for outputting the target image obtained by thefusion module 70342 through a screen arranged on the other side of the intelligent host with one side facing the intelligent host.
By implementing the implementation mode, the current image containing the target celestial body can be acquired, and the virtual image of the information related to the target celestial body can be displayed in the current image through the augmented reality technology, so that a user can learn the information related to the target celestial body together with the virtual image when learning the information related to the target celestial body, and the interestingness of the process of learning the information related to the target celestial body is improved.
Optionally, thefusion module 70342 fuses the virtual image corresponding to the related information with the current image based on the augmented reality technology, and the manner of obtaining the target image may specifically be:
acquiring contents such as text contents (such as text introduction contents for a target celestial body) and virtual images (such as images of the target celestial body in animation type) in related information, and indicating marks;
identifying a position area of a target celestial body in a current image;
adding the virtual image to the position area of the current image based on the augmented reality technology, adding the text content to the area outside the position area in the current image, and associating the text content and the virtual image through the indicator in the current image to obtain a final target image.
By implementing the implementation mode, the position area of the target celestial body in the current image can be identified, the virtual image in the relevant information of the target celestial body is added into the position area, the text content aiming at the target celestial body can be added into the current image, and the text content is associated with the virtual image through the indicating mark, so that the user can more intuitively see the image of the target celestial body, can clearly know the information such as celestial body knowledge of the target celestial body, and the learning efficiency of the user on the target celestial body is improved.
Furthermore, the way that thefusion module 70342 identifies the position area of the target celestial body in the current image may specifically be:
identifying the current image, and judging whether a celestial body image matched with the target celestial body is identified in the current image;
if so, setting an interpretation region corresponding to the celestial body image in the current image, adding the text content to the interpretation region based on an augmented reality technology, and associating the interpretation region with the celestial body image through an indication mark in the current image to obtain a final target image;
if not, a sky area is identified from the current image, a position area corresponding to the target celestial body is determined from the sky area, so that the virtual image is added to the position area of the current image based on the augmented reality technology, the text content is added to an area outside the position area in the current image, and the text content and the virtual image are associated through the indication mark in the current image, and a final target image is obtained.
When the target celestial body is shot or not shot in the current image, the target celestial body can be displayed in the current image based on the augmented reality technology, and the knowledge content of the target celestial body is output, so that the generated target image not only contains the image of the target celestial body, but also contains introduction information of the target celestial body, and the information content contained in the target image is improved.
Therefore, by implementing the wearable device described in fig. 8, the relevant information of the target celestial body can be output in combination with the actual position of the target celestial body, so that the astronomical knowledge is combined with the real environment where the user is located, and the learning effect of the user on the astronomical knowledge is improved. In addition, the wearable device described in fig. 8 can be implemented to adjust the smart host more accurately. In addition, the wearable device described in fig. 8 is implemented, so that the interest of the related information learning process of the target celestial body is improved. In addition, the wearable device depicted in fig. 8 is implemented, and the learning efficiency of the user on the target celestial body is improved. In addition, implementing the wearable device described in fig. 8 increases the amount of information contained in the target image.
Referring to fig. 9, fig. 9 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention. The wearable device shown in fig. 9 is optimized by the wearable device shown in fig. 8. Compared to the smart host included in the wearable device shown in fig. 8, thecomputing unit 702 of the smart host included in the wearable device shown in fig. 9 may include:
the first obtaining sub-unit 7021 is configured to obtain the tilt angle of the smart host and the orientation information of one side of the smart host in the spatial state information obtained by the first obtainingunit 701.
Thefirst calculating subunit 7022 is configured to calculate a rotation angle according to the current positioning information acquired by the first acquiringunit 701, the orientation information acquired by the first acquiringsubunit 7021, and the relative position information.
And asecond calculating subunit 7023, configured to calculate to obtain a target included angle according to the inclination angle obtained by the first obtainingsubunit 7021 and the relative position information obtained by the first obtainingunit 701.
According to the embodiment of the invention, the altitude information of the current position of the wearable device and the current orientation information of the wearable device can be acquired from the acquired space state information of the wearable device, the rotation angle can be calculated according to the current positioning information, the orientation information and the relative position information, and the target included angle can be calculated according to the altitude information and the relative position information, so that the calculated rotation angle and the target included angle are more accurate.
As an optional implementation, the wearable device shown in fig. 9 may further include a smart host, where the smart host includes:
theacquisition unit 704 is used for acquiring the voice in the environment where the wearable device is located through a microphone on the intelligent host before acquiring the current positioning information and the spatial state information of the wearable device when an externally input celestial body name is detected and when an input learning instruction is detected;
therecognition unit 705 is configured to convert the voice collected by thecollection unit 704 into text information, and recognize whether the text information includes target information related to astronomical knowledge;
a second obtainingunit 706, configured to, when the result of the identification by theidentification unit 705 is yes, obtain a celestial body name matching the target information, and trigger the first obtainingunit 701 to perform a step of obtaining current location information and spatial state information of the wearable device.
By implementing the implementation mode, the voice in the environment where the wearable device is located can be collected through the microphone after the learning instruction input by the user is detected, the wearable device is prevented from collecting invalid voice in a large amount, the workload of the wearable device is reduced, and therefore the data processing efficiency of the wearable device is improved.
Therefore, by implementing the wearable device described in fig. 9, the relevant information of the target celestial body can be output in combination with the actual position of the target celestial body, so that the astronomical knowledge is combined with the real environment where the user is located, and the learning effect of the user on the astronomical knowledge is improved. In addition, the wearable device described in fig. 9 can be implemented to make the calculated rotation angle and the target included angle more accurate. In addition, the wearable device described in fig. 9 is implemented, so that the data processing efficiency of the wearable device is improved.
Referring to fig. 10, fig. 10 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention. As shown in fig. 10, the wearable device may include:
amemory 1001 in which executable program code is stored;
aprocessor 1002 coupled to amemory 1001;
theprocessor 1002 calls the executable program code stored in thememory 1001 to execute some or all of the steps of the method in the above embodiments of the method.
The embodiment of the invention also discloses a computer readable storage medium, wherein the computer readable storage medium stores program codes, wherein the program codes comprise instructions for executing part or all of the steps of the method in the above method embodiments.
Embodiments of the present invention also disclose a computer program product, wherein, when the computer program product is run on a computer, the computer is caused to execute part or all of the steps of the method as in the above method embodiments.
The embodiment of the present invention also discloses an application publishing platform, wherein the application publishing platform is used for publishing a computer program product, and when the computer program product runs on a computer, the computer is caused to execute part or all of the steps of the method in the above method embodiments.
It should be appreciated that reference throughout this specification to "an embodiment of the present invention" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrase "in embodiments of the invention" appearing in various places throughout the specification are not necessarily all referring to the same embodiments. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are exemplary and alternative embodiments, and that the acts and modules illustrated are not required in order to practice the invention.
In the embodiments provided herein, it should be understood that "B corresponding to a" means that B is associated with a from which B can be determined. It should also be understood, however, that determining B from a does not mean determining B from a alone, but may also be determined from a and/or other information.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by hardware instructions of a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other Memory, such as a magnetic disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
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 achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention 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 integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present invention, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of each embodiment of the present invention.
The wearable device and the astronomical knowledge learning method based on the wearable device disclosed by the embodiment of the invention are described in detail, a specific example is applied in the text to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.