CN109145010B - Information query method and device, storage medium and wearable device - Google Patents
Information query method and device, storage medium and wearable device Download PDFInfo
- Publication number
- CN109145010B CN109145010B CN201811000666.1A CN201811000666A CN109145010B CN 109145010 B CN109145010 B CN 109145010B CN 201811000666 A CN201811000666 A CN 201811000666A CN 109145010 B CN109145010 B CN 109145010B
- Authority
- CN
- China
- Prior art keywords
- information
- commodity
- product
- wearable device
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0623—Electronic shopping [e-shopping] by investigating goods or services
- G06Q30/0625—Electronic shopping [e-shopping] by investigating goods or services by formulating product or service queries, e.g. using keywords or predefined options
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请实施例公开了一种信息查询方法、装置、存储介质及穿戴式设备。该方法包括获取商品图像,根据所述商品图像获取商品成分信息;根据所述商品成分信息确定不适宜使用人群;通过穿戴式设备的显示部件显示不适宜使用人群及导致不适宜使用结果的成分信息。通过采用本申请的技术方案,可以在佩戴穿戴式设备的用户关注某一商品时,自动查询该商品对应的不适宜使用人群,并通过镜片显示不适宜使用人群及哪些成分不适宜,满足用户的实际需求,提高人机交互效率,丰富了穿戴式设备的功能。
The embodiments of the present application disclose an information query method, device, storage medium and wearable device. The method includes obtaining a product image, obtaining product ingredient information based on the product image; determining the group of people who are not suitable for use based on the product ingredient information; and displaying the group of people who are not suitable for use and the ingredient information that leads to the result of not suitable for use through the display component of the wearable device. By adopting the technical solution of the present application, when a user wearing a wearable device pays attention to a certain product, the group of people who are not suitable for use corresponding to the product can be automatically queried, and the group of people who are not suitable for use and which ingredients are not suitable can be displayed through the lens, thereby meeting the actual needs of users, improving the efficiency of human-computer interaction, and enriching the functions of wearable devices.
Description
技术领域technical field
本申请实施例涉及智能穿戴设备,尤其涉及一种信息查询方法、装置、存储介质及穿戴式设备。The embodiments of the present application relate to smart wearable devices, and in particular, to an information query method, device, storage medium, and wearable device.
背景技术Background technique
随着社会的进步及科技的发展,各种元器件的尺寸越来越小,使得其可用以集成在穿戴式设备上,进而,为用户的生活及工作等提供了诸多方面的便利。With the progress of society and the development of science and technology, the size of various components is getting smaller and smaller, so that they can be integrated into wearable devices, and further, provide many conveniences for users' life and work.
目前市场上的穿戴式设备通常可以像智能手机一样,具有独立的操作系统,可以运行应用程序。通过穿戴式设备可以解放用户的双手,为用户的生活、工作带来了极大的便利。然而,相关技术中的穿戴式设备存在功能比较单一的情况,不能与实际应用中的用户需求进行匹配。因此,相关技术中的穿戴式设备的功能需要优化。Wearable devices on the market today can often be like smartphones, with an independent operating system that can run applications. Wearable devices can liberate the hands of the user, which brings great convenience to the user's life and work. However, the wearable devices in the related art have relatively single functions, which cannot match the user requirements in practical applications. Therefore, the function of the wearable device in the related art needs to be optimized.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种信息查询方法、装置、存储介质及穿戴式设备,可以优化相关技术中穿戴式设备的功能。The embodiments of the present application provide an information query method, device, storage medium, and wearable device, which can optimize the functions of the wearable device in related technologies.
第一方面,本申请实施例提供了一种信息查询方法,应用于穿戴式设备,该方法包括:In a first aspect, an embodiment of the present application provides an information query method, which is applied to a wearable device, and the method includes:
获取商品图像,根据所述商品图像获取商品成分信息;Obtain a product image, and obtain product component information according to the product image;
根据所述商品成分信息确定不适宜使用人群;Determine unsuitable groups of people according to the product composition information;
通过所述穿戴式设备的显示部件显示不适宜使用人群及导致不适宜使用结果的成分信息。The display part of the wearable device displays unsuitable user groups and component information that causes unsuitable use results.
第二方面,本申请实施例还提供了一种信息查询装置,该装置包括:In a second aspect, an embodiment of the present application further provides an information query device, the device comprising:
成分信息获取模块,用于获取商品图像,根据所述商品图像获取商品成分信息;a component information acquisition module, configured to acquire a commodity image, and acquire commodity component information according to the commodity image;
人群确定模块,用于根据所述商品成分信息确定不适宜使用人群;a crowd determination module, configured to determine an unsuitable user crowd according to the commodity component information;
信息显示模块,用于通过穿戴式设备的显示部件显示不适宜使用人群及导致不适宜使用结果的成分信息。The information display module is used to display the information of the unsuitable users and the component information that leads to the unsuitable use result through the display part of the wearable device.
第三方面,本申请实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如本申请实施例所述的信息查询方法。In a third aspect, the embodiments of the present application further provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the information query method described in the embodiments of the present application.
第四方面,本申请实施例还提供了一种穿戴式设备,包括存储器、处理器及存储在存储器上并可在处理器运行的计算机程序,该处理器执行该计算机程序时实现如本申请实施例所述的信息查询方法。In a fourth aspect, an embodiment of the present application also provides a wearable device, including a memory, a processor, and a computer program stored on the memory and running on the processor, and the processor executes the computer program to realize the implementation of the present application The information query method described in the example.
本申请实施例提供一种信息查询方案,包括获取商品图像,根据所述商品图像获取商品成分信息;根据所述商品成分信息确定不适宜使用人群;通过穿戴式设备的显示部件显示不适宜使用人群及导致不适宜使用结果的成分信息。通过采用本申请的技术方案,可以在佩戴穿戴式设备的用户关注某一商品时,自动查询该商品对应的不适宜使用人群,并通过镜片显示不适宜使用人群及哪些成分不适宜,满足用户的实际需求,丰富了穿戴式设备的功能。An embodiment of the present application provides an information query solution, including acquiring a commodity image, acquiring commodity component information according to the commodity image; determining unsuitable users according to the commodity component information; displaying the unsuitable users through a display component of a wearable device and information on ingredients leading to unsuitable results. By adopting the technical solution of the present application, when a user wearing a wearable device pays attention to a certain commodity, the inappropriate user group corresponding to the commodity can be automatically inquired, and the inappropriate user group and which ingredients are displayed through the lens, so as to satisfy the user's requirements. The actual needs have enriched the functions of wearable devices.
附图说明Description of drawings
图1为本申请实施例提供的一种信息查询方法的流程图;1 is a flowchart of an information query method provided by an embodiment of the present application;
图2为本申请实施例提供的一种采用增强显示模块显示翻译后的商品成分的示意图;2 is a schematic diagram of using an enhanced display module to display translated commodity components according to an embodiment of the present application;
图3为本申请实施例提供的另一种信息查询方法的流程图;3 is a flowchart of another information query method provided by an embodiment of the present application;
图4为本申请实施例提供的一种信息查询装置的结构示意图;FIG. 4 is a schematic structural diagram of an information query apparatus provided by an embodiment of the present application;
图5为本申请实施例提供的一种穿戴式设备的结构示意图;FIG. 5 is a schematic structural diagram of a wearable device according to an embodiment of the present application;
图6为本申请实施例提供的又一种穿戴式设备的结构示意图;FIG. 6 is a schematic structural diagram of another wearable device provided by an embodiment of the present application;
图7为本申请实施例提供的一种穿戴式设备的示意实体图。FIG. 7 is a schematic solid diagram of a wearable device according to an embodiment of the present application.
具体实施方式Detailed ways
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。The present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all the structures related to the present application.
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in greater detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowchart depicts the steps as a sequential process, many of the steps may be performed in parallel, concurrently, or concurrently. Furthermore, the order of the steps can be rearranged. The process may be terminated when its operation is complete, but may also have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, subroutines, and the like.
需要说明的是,穿戴式设备可以包括佩戴于用户头部的电子设备,如智能眼镜及智能头盔等等。以智能眼镜为例,对穿戴式设备的结构进行简单介绍。智能眼镜包括眼镜框体和镜片。该眼镜框体包括镜腿和镜框。在眼镜框体上设有摄像头,如,在镜框上设有摄像头,或者,在镜腿与镜框相交的区域设置摄像头。可选的,在镜腿的内侧可以设有呼吸灯,呼吸灯可以是LED灯,并可以根据智能眼镜佩戴者心跳的频率进行闪烁。在镜腿上还设有触控区(如触控面板)及骨传导区。其中,触控区设置于镜腿的外侧,在触控区内设置触摸检测模块,用于检测用户的触摸操作。例如,采用触摸传感器模块检测用户的触摸操作,该触摸传感器模块在初始态为低电平,在有触摸操作时为高电平。在用户佩戴智能眼镜的场景下将镜腿靠近脸部的一侧规定为内侧,与内侧相对的远离脸部的一侧规定为外侧。在镜腿上靠近耳朵的位置设置骨传导区。其中,在骨传导区设置骨传导扬声器或骨传导传感器等骨传导部件。可选的,在镜腿靠近脸部太阳穴的位置设置心率传感器,用于获取佩戴智能眼镜用户的心率信息。在镜框上设置智能麦克风,可以智能识别当前所处环境噪音大小,可以基于环境噪音自动调节麦克风的性能。在镜框上还设有距离传感器及陀螺仪等。可选的,在镜框及鼻托上还设置有眼电图(简称为EOG)传感器,用于采集用户的眼睛状态。另外,在镜腿上还设置有微处理区,处理器设置于微处理区,分别与上述触摸检测模块、骨传导耳机、心率传感器、智能麦克风、距离传感器、陀螺仪、眼电图传感器等器件电连接,用于接收待处理数据,进行数据运算、数据处理并输出控制指令至对应的器件。需要说明的是,该智能眼镜可以通过互联网由云端下载多媒体资源进行播放,还可以通过与终端设备建立通信连接,由终端设备上获取多媒体资源,本申请对此并不作限定。It should be noted that the wearable device may include electronic devices worn on the user's head, such as smart glasses and smart helmets. Taking smart glasses as an example, the structure of the wearable device is briefly introduced. Smart glasses include a frame and lenses. The spectacle frame body includes temples and a frame. A camera is provided on the spectacle frame body, for example, a camera is provided on the spectacle frame, or a camera is arranged in the area where the temple and the spectacle frame intersect. Optionally, a breathing light may be provided on the inner side of the temple, the breathing light may be an LED light, and may flash according to the heartbeat frequency of the wearer of the smart glasses. A touch area (such as a touch panel) and a bone conduction area are also arranged on the temple. Wherein, the touch area is arranged on the outer side of the temple, and a touch detection module is arranged in the touch area to detect the user's touch operation. For example, a touch sensor module is used to detect a user's touch operation, and the touch sensor module is at a low level in an initial state and is at a high level when there is a touch operation. In the scenario where the user wears smart glasses, the side of the temple near the face is defined as the inner side, and the side opposite to the inner side that is far from the face is defined as the outer side. A bone conduction zone is set on the temple near the ear. Among them, bone conduction components such as bone conduction speakers or bone conduction sensors are arranged in the bone conduction area. Optionally, a heart rate sensor is set at a position where the temple is close to the temple of the face, so as to obtain the heart rate information of the user wearing the smart glasses. Setting a smart microphone on the frame can intelligently identify the noise level of the current environment and automatically adjust the performance of the microphone based on the ambient noise. There are also distance sensors and gyroscopes on the frame. Optionally, an electro-oculogram (abbreviated as EOG) sensor is also provided on the frame and the nose pad, which is used to collect the user's eye state. In addition, a micro-processing area is also provided on the temple, and the processor is arranged in the micro-processing area, which is respectively connected with the above-mentioned touch detection module, bone conduction earphone, heart rate sensor, smart microphone, distance sensor, gyroscope, EOG sensor and other devices. The electrical connection is used for receiving the data to be processed, performing data operation, data processing and outputting control instructions to the corresponding device. It should be noted that the smart glasses can download multimedia resources from the cloud through the Internet for playback, and can also obtain multimedia resources from the terminal device by establishing a communication connection with the terminal device, which is not limited in this application.
图1为本申请实施例提供的一种信息查询方法的流程图,该方法可以由信息查询装置来执行,其中,该装置可由软件和/或硬件实现,一般可集成在穿戴式设备中。如图1所示,该方法包括:1 is a flowchart of an information query method provided by an embodiment of the present application. The method may be executed by an information query apparatus, wherein the apparatus may be implemented by software and/or hardware, and may generally be integrated in a wearable device. As shown in Figure 1, the method includes:
步骤110、获取商品图像,根据所述商品图像获取商品成分信息。Step 110: Obtain a product image, and obtain product component information according to the product image.
需要说明的是,可以通过穿戴式设备上的摄像头获取商品图像。可选的,可以是在检测到图像获取事件触发时,执行获取商品图像的操作。其中,触发图像获取事件的触发条件有很多种,本申请实施例不作具体限定。例如,触发条件可以是检测到信息查询功能开启、检测到达到预设周期、检测到距离预设商品距离小于预设距离阈值或者检测到用户注视某一方向的时间超过预设时间阈值等。It should be noted that the product image can be obtained through the camera on the wearable device. Optionally, when an image acquisition event is detected to be triggered, the operation of acquiring the image of the product is performed. There are many trigger conditions for triggering the image acquisition event, which are not specifically limited in this embodiment of the present application. For example, the trigger condition may be detecting that the information query function is turned on, detecting that a preset period has been reached, detecting that the distance from a preset commodity is less than a preset distance threshold, or detecting that the user's gaze in a certain direction exceeds a preset time threshold, etc.
示例性的,可以在开启信息查询功能后,控制摄像头拍摄商品图像。又如,还可以是在开启信息查询功能后,控制摄像头按照预设周期拍摄用户关注的商品,得到商品图像。又如,可以通过穿戴式设备上的距离传感器检测用户与商品的距离,若该距离小于预设距离阈值,则控制摄像头拍摄商品图像。可选的,还可以是通过摄像头检测用户与商品的距离,若该距离小于预设距离阈值,则控制摄像头拍摄商品图像。又如,可以通过眼电图传感器检测眼睛状态,若检测到眼睛注视某一方向的时间超过预设时间阈值,则控制摄像头拍摄图像。可选的,还可以通过另一摄像头(设置于穿戴式设备镜框上任意可以拍摄到人眼的位置)拍摄人眼图像,该摄像头与拍摄商品图像的摄像头的设置位置不同。相应的,通过识别人眼图像检测注视动作。如,对人眼图像进行图像识别,通过图像处理算法确定瞳孔在眼睛中的相对位置数据,从而,计算出用户所观察的注视点的位置。在2秒后,再次获取一帧人眼图像,根据该人眼图像确定注视点。若该注视点的位置未发生变化,则将计数器加1。依次类推,在2秒后,再次获取一帧人眼图像,基于该人眼图像重新确定注视点。采用相似的方法,若连续3次注视点的位置均未变化,则控制摄像头拍摄图像。Exemplarily, after the information query function is enabled, the camera may be controlled to capture the image of the product. For another example, after the information query function is turned on, the camera may be controlled to photograph the product concerned by the user according to a preset period, so as to obtain the product image. For another example, the distance between the user and the commodity can be detected by a distance sensor on the wearable device, and if the distance is less than a preset distance threshold, the camera is controlled to capture an image of the commodity. Optionally, a camera may be used to detect the distance between the user and the commodity, and if the distance is less than a preset distance threshold, the camera is controlled to capture an image of the commodity. For another example, the state of the eye may be detected by an electro-oculogram sensor, and if it is detected that the time for which the eye is gazing in a certain direction exceeds a preset time threshold, the camera is controlled to capture an image. Optionally, another camera (arranged at any position on the wearable device frame where the human eye can be photographed) can also be used to capture the human eye image, and the installation position of the camera is different from that of the camera that captures the image of the product. Correspondingly, the gaze action is detected by recognizing the human eye image. For example, image recognition is performed on an image of the human eye, and the relative position data of the pupil in the eye is determined by an image processing algorithm, thereby calculating the position of the gaze point observed by the user. After 2 seconds, a frame of human eye image is acquired again, and the gaze point is determined according to the human eye image. If the position of the fixation point has not changed, the counter is incremented by 1. By analogy, after 2 seconds, a frame of human eye image is acquired again, and the gaze point is re-determined based on the human eye image. Using a similar method, if the position of the gaze point does not change for three consecutive times, the camera is controlled to capture an image.
示例性的,获取摄像头拍摄的图像,判断该图像是否包含商品信息,若是,则识别所述商品图像包含的文字信息,提取所述文字信息中代表商品成分的文字作为商品成分信息。Exemplarily, an image captured by a camera is acquired, and it is determined whether the image contains commodity information, and if so, the text information contained in the commodity image is identified, and text representing commodity components in the text information is extracted as commodity component information.
步骤120、根据所述商品成分信息确定不适宜使用人群。Step 120: Determine unsuitable users according to the commodity component information.
本申请实施例中,可以根据商品成分信息确定会因该商品成分引起不良反应的群体。可选的,可以在穿戴式设备内预置知识库,该知识库内存储用于制备食品或药品的原料以及可能因该原料引起不良反应的群体,且该知识库可以在联网的情况下自动更新。在获取商品成分信息后,基于该商品成分信息查询该知识库,基于查询结果确定不适宜使用该商品的人群,并获取成分信息、不适宜使用人群及使用后的不良反应发送至穿戴式设备的显示缓存模块。In the embodiments of the present application, groups that may cause adverse reactions due to the product components may be determined according to the product component information. Optionally, a knowledge base can be preset in the wearable device, and the knowledge base stores raw materials used for preparing food or medicine and groups that may cause adverse reactions due to the raw materials, and the knowledge base can be automatically connected to the Internet. renew. After obtaining the product composition information, the knowledge base is queried based on the product composition information, the group of people who are not suitable for using the product is determined based on the query result, and the composition information, the unsuitable people and the adverse reactions after use are obtained and sent to the wearable device. Show cache modules.
可选的,在获取商品成分信息后,还可以在线查询该商品成分对应的不适宜使用人群,并获取成分信息、不适宜使用人群及使用后的不良反应发送至穿戴式设备的显示缓存模块。Optionally, after obtaining the product component information, you can also inquire online about the unsuitable user population corresponding to the product component, and obtain the component information, the unsuitable user population and the adverse reaction after use and send it to the display cache module of the wearable device.
示例性的,可以通过查询穿戴式设备本地的知识库或者互联网的方式,确定不适宜使用所述商品成分信息中单个成分的第一类人群,将该第一类人群作为不适宜使用人群。可选的,还可以将所述商品成分信息包括的各个成分进行组合得到成分组合,基于成分组合查询知识库或互联网确定不适宜使用所述成分组合的第二类人群;将第二类人群与第一类人群进行比对,筛选出该第二类人群中不属于第一类人群的子群体,将该子群体添加至第一类人群作为不适宜使用人群。Exemplarily, by querying the local knowledge base of the wearable device or the Internet, it is possible to determine the first group of people who are not suitable for using a single component in the commodity component information, and the first group of people is regarded as the unsuitable people for use. Optionally, each component included in the commodity component information can also be combined to obtain a component combination, and a knowledge base or the Internet can be queried based on the component combination to determine the second group of people who are not suitable to use the component combination; The first group of people is compared, and a subgroup of the second group of people that does not belong to the first group of people is screened out, and the subgroup is added to the first group of people as inappropriate for use.
步骤130、通过所述穿戴式设备的显示部件显示不适宜使用人群及导致不适宜使用结果的成分信息。Step 130: Display the information on the unsuitable users and the component information that leads to the unsuitable use result through the display component of the wearable device.
示例性的,微投影组件由显示缓存模块中读取不适宜使用人群及导致不适宜使用结果的成分信息,通过投影的方式在镜片上显示不适宜使用人群及对应的成分信息。Exemplarily, the micro-projection component reads the unsuitable people and the component information that leads to the unsuitable use result from the display cache module, and displays the unsuitable people and the corresponding component information on the lens by means of projection.
可选的,有些穿戴式设备具有镜片,将镜片作为显示屏,可以由显示缓存模块中读取不适宜使用人群及导致不适宜使用结果的成分信息,并按照设定的刷新率刷新至镜片上进行显示。Optionally, some wearable devices have lenses, and the lenses are used as display screens. The display cache module can read information about unsuitable users and components that cause unsuitable use results, and refresh them on the lenses according to the set refresh rate. to display.
本实施例的技术方案,通过获取商品图像,根据所述商品图像获取商品成分信息;根据所述商品成分信息确定不适宜使用人群;通过穿戴式设备的显示部件显示不适宜使用人群及导致不适宜使用结果的成分信息,实现将打开搜索引擎、输入检索词及筛选检索结果的操作交由穿戴式设备后台处理,简化了人机交互流程。通过采用本申请的技术方案,可以在佩戴穿戴式设备的用户关注某一商品时,自动查询该商品对应的不适宜使用人群,并通过镜片显示不适宜使用人群及哪些成分不适宜,满足用户的实际需求,提高人机交互效率,丰富了穿戴式设备的功能。In the technical solution of this embodiment, the product image is obtained, and the product component information is obtained according to the product image; the unsuitable user group is determined according to the product component information; Using the component information of the results, the operations of opening the search engine, inputting search terms and filtering the search results are processed by the wearable device in the background, which simplifies the human-computer interaction process. By adopting the technical solution of the present application, when a user wearing a wearable device pays attention to a certain commodity, the inappropriate user group corresponding to the commodity can be automatically inquired, and the inappropriate user group and which ingredients are displayed through the lens, so as to satisfy the user's requirements. To meet the actual needs, improve the efficiency of human-computer interaction, and enrich the functions of wearable devices.
在一些实施例中,在识别所述商品图像包含的文字信息之后,还包括:判断所述文字信息是否属于预设语言类型;若否,则输出翻译提示信息;检测到用户输入的翻译请求,基于预设语言类型对所述商品成分信息进行翻译,通过镜片显示翻译后的商品成分信息。这样设置的好处在于,若用户在国外出差或旅游时需要为他人购买食品或药品,遇到因语言不熟悉而无法判断该商品是否适合购买的情况,则可以使用信息查询功能对商品上文字进行自动翻译,避免用户使用其它翻译应用程序(APP)对商品上的文字进行翻译,与用户的实际使用需求相匹配,进一步丰富了穿戴式设备的功能。In some embodiments, after identifying the text information contained in the product image, the method further includes: judging whether the text information belongs to a preset language type; if not, outputting translation prompt information; detecting a translation request input by the user, The commodity component information is translated based on the preset language type, and the translated commodity component information is displayed through the lens. The advantage of this setting is that if the user needs to buy food or medicine for others when he is on a business trip or travel abroad, and is unable to judge whether the product is suitable for purchase due to unfamiliar language, he can use the information query function to query the text on the product. Automatic translation prevents users from using other translation applications (APPs) to translate the text on the goods, matches the actual needs of users, and further enriches the functions of wearable devices.
在另一些实施例中,通过镜片显示翻译后的商品成分信息可以包括:获取预设的增强现实模型,并基于所述增强现实模型及翻译后的商品成分信息生成成分增强现实信息,通过镜片显示所述成分增强现实信息。图2为本申请实施例提供的一种采用增强显示模块显示翻译后的商品成分的示意图。穿戴式设备根据预设的优先级调用增强现实模型,如图2所示,增强现实模型为一块黑板。按照预设时间间隔逐个在黑板上显示翻译后的商品成分信息及对应的图形,在一个商品成分信息显示预设时长后,出现黑板擦将该商品成分信息擦除,显示下一个商品成分信息及对应的图形,实现采用小的显示区域形象地显示翻译后的商品成分信息,避免出现因显示翻译后的商品成分信息而影响用户观察周围环境的情况。如黑板上当前显示的商品成分是花生,显示花生的中文译文及图片,在t秒后,调用增强现实模型中的黑板擦及手指,以模拟手擦黑板的效果,通过黑板擦擦除花生对应的信息。在擦除干净后在黑板上显示下一个商品成分山楂的中文译文及图片,在t秒后,调用增强现实模型中的黑板擦及手指,通过黑板擦擦除山楂对应的信息,依次类推,逐个显示各个商品成分对应的中文译文及图片(若无对应图片,则可显示分子式或仅显示中文译文)。In other embodiments, displaying the translated commodity component information through the lens may include: acquiring a preset augmented reality model, and generating component augmented reality information based on the augmented reality model and the translated commodity component information, and displaying through the lens The ingredient augmented reality information. FIG. 2 is a schematic diagram of using an enhanced display module to display translated commodity components according to an embodiment of the present application. The wearable device calls the augmented reality model according to the preset priority, as shown in Figure 2, the augmented reality model is a blackboard. Display the translated product ingredient information and the corresponding graphics on the blackboard one by one according to the preset time interval. After a preset time period of displaying the product ingredient information, the blackboard eraser will appear to erase the product ingredient information, and the next product ingredient information and the corresponding graphics will be displayed. The corresponding graphics can use a small display area to visually display the translated product component information, so as to avoid the situation that the user's observation of the surrounding environment is affected by the display of the translated product component information. For example, the product ingredient currently displayed on the blackboard is peanuts, and the Chinese translation and pictures of peanuts are displayed. After t seconds, the blackboard eraser and fingers in the augmented reality model are called to simulate the effect of hand-wiping the blackboard. Information. After erasing, the Chinese translation and picture of the next product ingredient, Hawthorn, are displayed on the blackboard. After t seconds, the blackboard eraser and fingers in the augmented reality model are called to erase the information corresponding to the hawthorn through the blackboard eraser, and so on, one by one. Display the Chinese translation and pictures corresponding to each product component (if there is no corresponding picture, the molecular formula or only the Chinese translation can be displayed).
在另一些实施例中,在根据所述商品成分信息确定不适宜使用人群之后,还包括获取预设的对象类型;在所述对象类型与所述不适宜使用人群匹配时,执行通过穿戴式设备的显示部件显示不适宜使用人群及导致不适宜使用结果的成分信息的操作。例如,用户预先设置预设的对象类型是孕妇,表明其要购买的商品不能是不适宜孕妇使用的,此时,若基于商品成分信息查询得到的不适宜使用人群不包括孕妇,则可以提示用户可以购买,而无需执行通过所述穿戴式设备的显示部件显示不适宜使用人群及导致不适宜使用结果的成分信息的操作。这样设置的好处在于显示与预设的对象类型匹配的不适宜使用人群,减少因通过镜片进行显示对用户观察外界环境的视野的影响。In other embodiments, after determining an unsuitable user group according to the commodity component information, the method further includes acquiring a preset object type; when the object type matches the unsuitable user group, executing the wearable device The display part of the operation displays information on the unsuitable population and the ingredient information that leads to the unsuitable use result. For example, the preset object type preset by the user is pregnant women, indicating that the product he wants to buy cannot be unsuitable for pregnant women. It can be purchased without performing an operation of displaying, through the display part of the wearable device, information on the unsuitable user group and the ingredient information leading to the unsuitable use result. The advantage of this setting is to display the unsuitable user groups that match the preset object type, and reduce the impact on the user's field of vision for observing the external environment due to the display through the lens.
图3为本申请实施例提供的另一种信息查询方法的流程图,如图3所示,该方法包括:FIG. 3 is a flowchart of another information query method provided by an embodiment of the present application. As shown in FIG. 3 , the method includes:
步骤301、检测到图像获取事件触发,获取摄像头拍摄的商品图像。
步骤302、识别所述商品图像包含的文字信息,提取所述文字信息中代表商品成分的文字作为商品成分信息。Step 302 : Identify text information contained in the product image, and extract text representing product components in the text information as product component information.
步骤303、判断所述文字信息是否属于预设语言类型,若否,则执行步骤304,否则执行步骤306。
需要说明的是,穿戴式设备在检测到激活事件时,提示用户设置预设语言类型。其中,穿戴式设备在检测到用户输入注册信息时,确定检测到激活事件。It should be noted that, when the wearable device detects an activation event, it prompts the user to set a preset language type. Wherein, when the wearable device detects that the user inputs the registration information, it determines that an activation event is detected.
步骤304、输出翻译提示信息。
例如,穿戴式设备通过骨传导扬声器输出翻译提示信息,并驱动触控区上的触摸检测模块检测用户输入的翻译请求。需要说明的是,触摸检测模块在设定时间长度内未检测到用户操作会进入低功耗状态,并可以在检测到穿戴式设备的驱动指令或用户操作时,由低功耗状态切换为正常工作状态。For example, the wearable device outputs translation prompt information through the bone conduction speaker, and drives the touch detection module on the touch area to detect the translation request input by the user. It should be noted that the touch detection module will enter a low-power state if it does not detect a user operation within a set period of time, and can switch from a low-power state to a normal state when it detects a drive command or user operation of the wearable device. working status.
步骤305、检测到用户输入的翻译请求,基于预设语言类型对所述商品成分信息进行翻译,通过镜片显示翻译后的商品成分信息。Step 305: Detecting the translation request input by the user, translating the commodity component information based on the preset language type, and displaying the translated commodity component information through the lens.
示例性的,穿戴式设备在检测到翻译请求后,将商品成分信息翻译为预设语言类型对应的文字,并可以通过镜片按照翻译前的商品成分信息的顺序对应的显示翻译后的商品成分信息。可选的,还可以采用预设增强现实模型编辑该翻译后的商品成分信息,得到成分增强现实信息,通过镜片显示所述成分增强现实信息。Exemplarily, after detecting the translation request, the wearable device translates the commodity component information into text corresponding to the preset language type, and can display the translated commodity component information correspondingly in the order of the pre-translation commodity component information through the lens. . Optionally, a preset augmented reality model may also be used to edit the translated commodity component information to obtain component augmented reality information, and the component augmented reality information may be displayed through a lens.
步骤306、确定不适宜使用所述商品成分信息中单个成分的第一类人群。Step 306: Determine the first group of people who are not suitable to use a single component in the commodity component information.
步骤307、将所述商品成分信息包括的各个成分进行组合得到成分组合,确定不适宜使用所述成分组合的第二类人群,将所述第一类人群及第二类人群作为不适宜使用人群。Step 307: Combining each component included in the commodity component information to obtain a component combination, determining a second group of people who are not suitable to use the component combination, and taking the first and second groups of people as inappropriate people .
步骤308、获取预设的对象类型,判断所述对象类型与不适宜使用人群是否匹配,若是,则执行步骤309,否则,执行步骤314。Step 308: Acquire a preset object type, and determine whether the object type matches the unsuitable user group. If yes, go to step 309; otherwise, go to step 314.
步骤309、通过穿戴式设备的显示部件显示不适宜使用人群及导致不适宜使用结果的成分信息。
步骤310、获取佩戴穿戴式设备的用户的当前位置。Step 310: Obtain the current location of the user wearing the wearable device.
示例性的,基于穿戴式设备上预置的定位模块确定佩戴穿戴式设备用户的当前位置。如,可以通过GPS确定佩戴穿戴式设备的用户的当前位置。可选的,还可以提示用户语音输入当前店铺名称以及附近建筑物或道路的名称,基于用户输入的语音信息与电子地图进行匹配,从而确定佩戴穿戴式设备的用户的当前位置。Exemplarily, the current location of the user wearing the wearable device is determined based on a positioning module preset on the wearable device. For example, the current location of the user wearing the wearable device can be determined through GPS. Optionally, the user may also be prompted to input the name of the current store and the name of a nearby building or road by voice, and match the electronic map based on the voice information input by the user, thereby determining the current location of the user wearing the wearable device.
步骤311、基于所述商品图像预测适宜预设的对象类型使用的目标商品。
穿戴式设备根据商品图像确定用户预购买的商品类型,搜索该商品类型中不包含不适宜预设的对象类型使用的目标商品。例如,穿戴式设备获取当前商品包含的成分信息,确定成分A若被预设的对象类型的群体使用则会引发不良反应。穿戴式设备基于当前商品搜索其替代商品,且替代商品中不包含成分A,将搜索结果中的替代商品记为目标商品。The wearable device determines the product type pre-purchased by the user according to the product image, and searches for the target product that does not contain the target product that is not suitable for the preset object type. For example, the wearable device obtains the ingredient information contained in the current product, and determines that if ingredient A is used by a group of preset object types, it will cause adverse reactions. The wearable device searches for its substitute product based on the current product, and the substitute product does not contain ingredient A, and records the substitute product in the search result as the target product.
步骤312、基于所述当前位置查询预设范围内售卖所述目标商品的参考店铺,通过镜片显示所述参考店铺。Step 312: Query a reference store selling the target product within a preset range based on the current location, and display the reference store through a lens.
需要说明的是,预设范围可以是以当前位置为圆心,预设半径的圆周范围。该预设半径可以是系统默认值,也可以是用户根据实际情况自行设定的值。It should be noted that the preset range may be a circumference range with the current position as the center and the preset radius. The preset radius may be a system default value or a value set by the user according to the actual situation.
示例性的,穿戴式设备访问具有商铺点评数据的平台网站的服务器,获取预设范围内售卖目标商品的参考店铺,并通过镜片显示参考店铺的名称及地址等信息。Exemplarily, the wearable device accesses a server of a platform website with store review data, obtains a reference store that sells the target product within a preset range, and displays information such as the name and address of the reference store through the lens.
步骤313、在检测到用户输入的前往请求时,将所述前往请求对应的参考店铺作为目标店铺,显示由所述当前位置至目标店铺的导航信息。
需要说明的是,用户输入前往请求的方式有很多种,可以是点击、滑动操作,还可以是隔空手势,也可以是语音,还可以是预设头部或眼部动作等,本申请实施例并不作具体限定。例如,若显示参考店铺的相关信息后,检测到用户作用于触控区的点击操作或滑动操作,则确定检测到用户输入前往请求。又如,若通过摄像头检测到预设手势,则也可以确定检测到用户输入前往请求。再如,若检测到用户眨眼次数超过预设眨眼阈值,则可以确定检测到用户输入前往请求。It should be noted that there are many ways for the user to input the request to go, which can be a click, a sliding operation, an air gesture, a voice, or a preset head or eye action, etc. This application implements Examples are not specifically limited. For example, if the user's click operation or sliding operation on the touch area is detected after the relevant information of the reference store is displayed, it is determined that a user input request to go to is detected. For another example, if the preset gesture is detected through the camera, it can also be determined that a user input request to go is detected. For another example, if it is detected that the number of times the user blinks exceeds a preset blink threshold, it may be determined that a user input request to go is detected.
如果参考店铺有至少两家,则可以按照与当前位置的距离远近对参考店铺进行降序排序,显示排序后的参考店铺。可以在检测到用户输入的前往请求时,将排序第一的参考店铺作为目标店铺,规划由当前位置到目标店铺的路线,并对路线进行显示。If there are at least two reference stores, you can sort the reference stores in descending order according to the distance from the current location, and display the sorted reference stores. When a request to go to the user input is detected, the reference store ranked first can be used as the target store, a route from the current location to the target store can be planned, and the route can be displayed.
可选的,还可以根据用户输入的前往请求确定目标店铺。如采用上述方式对参考店铺进行排序,并显示降序排序后的参考店铺后,若检测到用户输入2次点击操作,则将排序第二的参考店铺作为目标店铺。类似的,若检测到用户点头2次,则将排序第二的参考店铺作为目标店铺。还可以是预先定义预设手势与店铺顺序的对应关系,在检测到某一预设手势时,确定与该预设手势对应的店铺的顺序,将该顺序对应的参考店铺作为目标店铺。Optionally, the target store may also be determined according to a request for going to the user input. For example, after the reference stores are sorted in the above manner and the reference stores sorted in descending order are displayed, if it is detected that the user inputs two click operations, the second reference store in the ranking will be used as the target store. Similarly, if it is detected that the user nods twice, the second-ranked reference store will be used as the target store. It is also possible to predefine the correspondence between the preset gestures and the order of stores. When a preset gesture is detected, the order of the stores corresponding to the preset gesture is determined, and the reference store corresponding to the order is used as the target store.
步骤314、输出肯定地提示信息,以提示用户可以购买。Step 314: Output affirmative prompt information to prompt the user that the purchase can be made.
本实施例的技术方案,通过在当前商品不适宜穿戴式设备中存储的预设对象类型使用时,获取佩戴穿戴式设备的用户的当前位置,并基于当前商品预测适宜预设的对象类型使用的目标商品;基于当前位置查询预设范围内售卖所述目标商品的参考店铺,通过镜片显示所述参考店铺,在检测到用户输入的前往请求时,将前往请求对应的参考店铺作为目标店铺,显示由当前位置至目标店铺的导航信息。采用上述技术方案,自动查询当前商品对应的不适宜使用人群,并通过镜片显示不适宜使用人群及哪些成分不适宜。此外,通过当前商品预测用户预购买的目标商品,并预先自动搜索附近可以购买到目标商品的参考店铺,以便在检测到用户输入前往请求目标店铺的前往请求时,规划由当前位置到目标店铺的路线,简化了人机交互步骤,可以更好的满足用户的实际使用需求,丰富了穿戴式设备的功能。The technical solution of this embodiment is to obtain the current position of the user wearing the wearable device when the current product is not suitable for the use of the preset object type stored in the wearable device, and predict the use of the preset object type suitable for the current product based on the current product. Target commodity; based on the current location, query the reference store that sells the target commodity within the preset range, and display the reference store through the lens. Navigation information from the current location to the target store. By adopting the above technical solution, the unsuitable user group corresponding to the current product is automatically inquired, and the unsuitable user group and which components are unsuitable are displayed through the lens. In addition, the target product that the user pre-purchased is predicted based on the current product, and the nearby reference stores where the target product can be purchased is automatically searched in advance, so that when it is detected that the user enters a request to go to the target store, it can plan the route from the current location to the target store. The route simplifies the human-computer interaction steps, can better meet the actual use needs of users, and enrich the functions of wearable devices.
图4为本申请实施例提供的一种信息查询装置的结构示意图。该装置可以通过软件和/或硬件实现,可被集成于穿戴式设备中,用于执行本申请实施例提供的信息查询方法。如图4所示,该装置包括:FIG. 4 is a schematic structural diagram of an information query apparatus provided by an embodiment of the present application. The apparatus may be implemented by software and/or hardware, and may be integrated into a wearable device for executing the information query method provided by the embodiments of the present application. As shown in Figure 4, the device includes:
成分信息获取模块410,用于获取商品图像,根据所述商品图像获取商品成分信息;A component
人群确定模块420,用于根据所述商品成分信息确定不适宜使用人群;a
信息显示模块430,用于通过穿戴式设备的显示部件显示不适宜使用人群及导致不适宜使用结果的成分信息。The
本申请实施例提供一种信息查询装置,可以在佩戴穿戴式设备的用户关注某一商品时,自动查询该商品对应的不适宜使用人群,并通过镜片显示不适宜使用人群及哪些成分不适宜,满足用户的实际需求,提高人机交互效率,丰富了穿戴式设备的功能。The embodiment of the present application provides an information query device, which can automatically query the unsuitable user group corresponding to the product when a user wearing a wearable device pays attention to a certain product, and display the unsuitable user group and which components are unsuitable through the lens, Meet the actual needs of users, improve the efficiency of human-computer interaction, and enrich the functions of wearable devices.
可选的,成分信息获取模块410具体用于:Optionally, the component
检测到图像获取事件触发,获取摄像头拍摄的商品图像;Detects the trigger of the image acquisition event, and acquires the image of the product captured by the camera;
识别所述商品图像包含的文字信息,提取所述文字信息中代表商品成分的文字作为商品成分信息。Character information contained in the product image is recognized, and characters representing product components in the text information are extracted as product component information.
可选的,还包括:Optionally, also include:
翻译模块,用于判在识别所述商品图像包含的文字信息之后,断所述文字信息是否属于预设语言类型;a translation module, configured to determine whether the text information belongs to a preset language type after identifying the text information contained in the product image;
若否,则输出翻译提示信息;If not, output translation prompt information;
检测到用户输入的翻译请求,基于预设语言类型对所述商品成分信息进行翻译,通过镜片显示翻译后的商品成分信息。The translation request input by the user is detected, the commodity component information is translated based on the preset language type, and the translated commodity component information is displayed through the lens.
可选的,翻译模块还用于:获取预设的增强现实模型,并基于所述增强现实模型及翻译后的商品成分信息生成成分增强现实信息,通过镜片显示所述成分增强现实信息。Optionally, the translation module is further configured to: acquire a preset augmented reality model, generate component augmented reality information based on the augmented reality model and the translated commodity component information, and display the component augmented reality information through a lens.
可选的,人群确定模块420具体用于:Optionally, the
确定不适宜使用所述商品成分信息中单个成分的第一类人群;Determine the first group of people who are inappropriate to use the single ingredient in the product ingredient information;
将所述商品成分信息包括的各个成分进行组合得到成分组合,确定不适宜使用所述成分组合的第二类人群;Combining each component included in the commodity component information to obtain a component combination, and determining a second group of people who are not suitable for using the component combination;
将所述第一类人群及第二类人群作为不适宜使用人群。The first group of people and the second group of people are regarded as inappropriate groups of people.
可选的,还包括:Optionally, also include:
对象匹配模块,用于在根据所述商品成分信息确定不适宜使用人群之后,获取预设的对象类型;an object matching module, configured to obtain a preset object type after determining the unsuitable user group according to the commodity component information;
在所述对象类型与所述不适宜使用人群匹配时,执行通过穿戴式设备的显示部件显示不适宜使用人群及导致不适宜使用结果的成分信息的操作。When the object type is matched with the unsuitable user group, an operation of displaying the unsuitable user group and the component information causing the unsuitable use result through the display part of the wearable device is performed.
可选的,还包括:Optionally, also include:
导航模块,用于在根据所述商品成分信息确定不适宜使用人群之后,若预设的对象类型属于所述不适宜使用人群,则获取佩戴穿戴式设备用户的当前位置;a navigation module, configured to acquire the current position of the wearable device user if the preset object type belongs to the inappropriate user group after determining the inappropriate user group according to the commodity component information;
基于所述商品图像预测适宜预设的对象类型使用的目标商品;Predicting a target commodity suitable for use by a preset object type based on the commodity image;
基于所述当前位置查询预设范围内售卖所述目标商品的参考店铺,通过镜片显示所述参考店铺;Querying a reference store selling the target product within a preset range based on the current location, and displaying the reference store through a lens;
在检测到用户输入的前往请求时,将所述前往请求对应的参考店铺作为目标店铺,显示由所述当前位置至目标店铺的导航信息。When a going request input by the user is detected, the reference store corresponding to the going request is taken as the target store, and the navigation information from the current position to the target store is displayed.
本申请实施例还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行信息查询方法,该方法包括:Embodiments of the present application also provide a storage medium containing computer-executable instructions, where the computer-executable instructions are used to execute an information query method when executed by a computer processor, and the method includes:
获取商品图像,根据所述商品图像获取商品成分信息;Obtain a product image, and obtain product component information according to the product image;
根据所述商品成分信息确定不适宜使用人群;Determine unsuitable groups of people according to the product composition information;
通过穿戴式设备的显示部件显示不适宜使用人群及导致不适宜使用结果的成分信息。The display part of the wearable device displays the information of the unsuitable users and the ingredients that lead to the unsuitable use results.
存储介质——任何的各种类型的存储器设备或存储设备。术语“存储介质”旨在包括:安装介质,例如CD-ROM、软盘或磁带装置;计算机系统存储器或随机存取存储器,诸如DRAM、DDR RAM、SRAM、EDO RAM,兰巴斯(Rambus)RAM等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等。存储介质可以还包括其它类型的存储器或其组合。另外,存储介质可以位于程序在其中被执行的第一计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网)连接到第一计算机系统。第二计算机系统可以提供程序指令给第一计算机用于执行。术语“存储介质”可以包括可以驻留在不同位置中(例如在通过网络连接的不同计算机系统中)的两个或更多存储介质。存储介质可以存储可由一个或多个处理器执行的程序指令(例如具体实现为计算机程序)。storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media, such as CD-ROMs, floppy disks, or tape devices; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc. ; non-volatile memory, such as flash memory, magnetic media (eg hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the first computer system in which the program is executed, or may be located in a second, different computer system connected to the first computer system through a network such as the Internet. The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations (eg, in different computer systems connected by a network). The storage medium may store program instructions (eg, embodied as a computer program) executable by one or more processors.
当然,本申请实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的信息查询操作,还可以执行本申请任意实施例所提供的信息查询方法中的相关操作。Of course, a storage medium containing computer-executable instructions provided by the embodiments of the present application, the computer-executable instructions of which are not limited to the information query operations as described above, and can also execute any of the information query methods provided by any embodiment of the present application. related operations.
本申请实施例提供了一种穿戴式设备,该穿戴式设备内具有操作系统,该穿戴式设备中可集成本申请实施例提供的信息查询装置。图5为本申请实施例提供的一种穿戴式设备的结构示意图。如图5所示,该穿戴式设备包括存储器510及处理器520。所述存储器510,用于存储计算机程序等;所述处理器520读取并执行所述存储器510中存储的计算机程序。所述处理器520在执行所述计算机程序时实现以下步骤:获取商品图像,根据所述商品图像获取商品成分信息;根据所述商品成分信息确定不适宜使用人群;通过所述穿戴式设备的显示部件显示不适宜使用人群及导致不适宜使用结果的成分信息。The embodiment of the present application provides a wearable device, the wearable device has an operating system in the wearable device, and the information query apparatus provided by the embodiment of the present application can be integrated in the wearable device. FIG. 5 is a schematic structural diagram of a wearable device according to an embodiment of the present application. As shown in FIG. 5 , the wearable device includes a
上述示例中列举的存储器及处理器均为穿戴式设备的部分元器件,所述穿戴式设备还可以包括其它元器件。图6为本申请实施例提供的又一种穿戴式设备的结构示意图,图7为本申请实施例提供的一种穿戴式设备的示意实体图。如图6及图7所示,该穿戴式设备可以包括:存储器601、处理器(CentralProcessing Unit,CPU)602(以下简称CPU)、显示部件603、触控面板604、心率检测模块605、距离传感器606、摄像头607、骨传导扬声器608、麦克风609、呼吸灯610和定位模块612。这些部件通过一个或多个通信总线或信号线611(以下又称内部传输线路)来通信。The memories and processors listed in the above examples are all components of the wearable device, and the wearable device may also include other components. FIG. 6 is a schematic structural diagram of another wearable device provided by an embodiment of the present application, and FIG. 7 is a schematic entity diagram of a wearable device provided by an embodiment of the present application. As shown in FIG. 6 and FIG. 7 , the wearable device may include: a
应该理解的是,图示穿戴式设备仅仅是一个范例,并且穿戴式设备可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the wearable device shown is merely an example, and that the wearable device may have more or fewer components than those shown in the figures, may combine two or more components, or may have Different part configurations. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
下面就本实施例提供的集成有信息查询装置的穿戴式设备进行详细的描述。该穿戴式设备以智能眼镜为例。The wearable device integrated with the information query device provided by this embodiment will be described in detail below. The wearable device takes smart glasses as an example.
存储器601,所述存储器601可以被CPU602访问,所述存储器601可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
显示部件603,可用于显示图像数据以及操作系统的操控界面,显示部件603嵌入在智能眼镜的镜框中,镜框内部设置有内部传输线路611,该内部传输线路611和显示部件603连接。The
触摸面板604,该触摸面板604设置在至少一个智能眼镜镜腿的外侧,用于获取触摸数据,触摸面板604通过内部传输线路611和CPU602连接。其中,触摸面板604可检测用户的手指滑动、点击操作,并相应的把检测到的数据传输至处理器602进行处理以生成对应的控制指令,示例性的,可以是左移指令、右移指令、上移指令、下移指令等。示例性的,显示部件603可显示处理器602传输的虚拟图像数据,该虚拟图像数据可相应的根据触摸面板604检测到的用户操作进行相应变化,具体的,可以是进行画面切换,当检测到左移指令或右移指令后相应的切换上一个或下一个虚拟图像画面;当显示部件603显示视频播放信息时,该左移指令可以是进行播放内容的回播,右移指令可以是进行播放内容的快进;当显示部件603显示的为可编辑文字内容时,该左移指令、右移指令、上移指令、下移指令可以是对光标的位移操作,即光标的位置可根据用户对触摸板的触摸操作而进行移动;当显示部件603显示的内容为游戏动画画面时,该左移指令、右移指令、上移指令、下移指令可以是对游戏中的对象进行控制,如飞机游戏中,可通过该左移指令、右移指令、上移指令、下移指令分别控制飞机的飞行方向;当显示部件603可显示不同频道的视频画面时,该左移指令、右移指令、上移指令、下移指令可进行不同频道的切换,其中,上移指令和下移指令可以是切换到预置频道(如用户使用的常用频道);当显示部件603显示静态图片时,该左移指令、右移指令、上移指令、下移指令可进行不同图片之间的切换,其中,左移指令可以是切换到上一幅图片,右移指令可以是切换至下一幅图,上移指令可以是切换到上一图集,下移指令可以是切换至下一图集。该触摸面板604还可用于对显示部件603的显示开关进行控制,示例性的,当长按压触摸面板604触摸区域时,显示部件603通电显示图像界面,当再次长按压触摸面板604触摸区域时,显示部件603断电,当显示部件603通电后,可通过在触摸面板604进行上滑和下滑操作以调节显示部件603中显示图像的亮度或分辨率。The
心率检测模组605,用于测得用户的心率数据,心率指每分钟的心跳次数,该心率检测模组605设置在镜腿内侧。具体的,该心率检测模组605可以是通过电脉冲测量的方式使用干性电极获取人体心电数据,根据心电数据中的振幅峰值确定心率大小;该心率检测模组605还可以是由采用光电法测量心率的光线发射和光线接收器组成,相应的,该心率检测模组605设置在镜腿底部,人体耳廓的耳垂处。心率检测模组605采集到心率数据后可相应的发送至处理器602中进行数据处理已得到佩戴者当前的心率值,在一个实施例中,处理器602在确定出用户的心率值后,可将该心率值实时显示在显示部件603中,可选的处理器602在确定出心率值较低(如小于50)或较高(如大于100)可相应的触发报警器,同时将该心率值和/或生成的报警信息通过通信模块发送至服务器。The heart
距离传感器606,可设置在镜框上,该距离传感器606用于感应人脸到镜框的距离,该距离传感器606可采用红外感应原理实现。具体的,该距离传感器606将采集的距离数据发送至处理器602,处理器602根据该距离数据控制显示部件603的亮暗。示例性的,当确定出距离传感器606采集到的距离小于5厘米时,处理器602相应的控制显示部件603处于点亮状态,当确定出距离传感器为探测到有物体靠近时,相应的控制显示部件604处于关闭状态。The
呼吸灯610,可设置在镜框的边缘,当显示部件603关闭显示画面时,该呼吸灯610可根据处理器602的控制而点亮呈渐变亮暗效果。The
摄像头607,可以是设置在镜框的上边框的位置,采集用户前方的图像数据的前摄像模块,还可以采集用户眼球信息的后摄像模块,也可以是二者的结合。具体的,摄像头607采集前方图像时,将采集的图像发送至处理器602识别、处理,并根据识别结果触发相应的触发事件。示例性的,当用户在家中佩戴该穿戴设备时,通过对采集的前方图像进行识别,如果识别到家具物品,则相应的查询是否存在对应的控制事件,如果存在,则相应的将该控制事件对应的控制界面显示在显示部件603中,用户可通过触摸面板604进行对应的家具物品的控制,其中该家具物品和智能眼镜通过蓝牙或无线自组网进行网络连接;当用户在户外佩戴该穿戴设备时,可相应的开启目标识别模式,该目标识别模式可用于识别特定的人,摄像头607将采集的图像发送至处理器602进行人脸识别处理,如果识别到设定的预设人脸,则相应的可通过智能眼镜集成的扬声器进行声音播报,该目标识别模式还可以用于识别不同的植物,例如,处理器602根据触摸面板604的触摸操作以记录摄像头607采集的当前图像并通过通信模块发送至服务器以进行识别,服务器对采集图像中的植物进行识别并反馈相关的植物名称、介绍至智能眼镜,并将反馈数据显示在显示部件603中。摄像头607还可以是用于采集用户眼部如眼球的图像,通过对眼球的转动的识别生成不同的控制指令,示例性的,如眼球向上转动生成上移控制指令,眼球向下转动生成下移控制指令,眼球向左转动生成左移控制指令,眼球向右转动生成右移控制指令,其中合格,显示部件603可显示处理器602传输的虚拟图像数据,该虚拟图像数据可相应的根据摄像头607检测到的用户眼球的移动变化生成的控制指令而改变,具体的,可以是进行画面切换,当检测到左移控制指令或右移控制指令后相应的切换上一个或下一个虚拟图像画面;当显示部件603显示视频播放信息时,该左移控制指令可以是进行播放内容的回播,右移控制指令可以是进行播放内容的快进;当显示部件603显示的为可编辑文字内容时,该左移控制指令、右移控制指令、上移控制指令、下移控制指令可以是对光标的位移操作,即光标的位置可根据用户对触摸板的触摸操作而进行移动;当显示部件603显示的内容为游戏动画画面时,该左移控制指令、右移控制指令、上移控制指令、下移控制指令可以是对游戏中的对象进行控制,如飞机游戏中,可通过该左移控制指令、右移控制指令、上移控制指令、下移控制指令分别控制飞机的飞行方向;当显示部件603可显示不同频道的视频画面时,该左移控制指令、右移控制指令、上移控制指令、下移控制指令可进行不同频道的切换,其中,上移控制指令和下移控制指令可以是切换到预置频道(如用户使用的常用频道);当显示部件603显示静态图片时,该左移控制指令、右移控制指令、上移控制指令、下移控制指令可进行不同图片之间的切换,其中,左移控制指令可以是切换到上一幅图片,右移控制指令可以是切换至下一幅图,上移控制指令可以是切换到上一图集,下移控制指令可以是切换至下一图集。The
骨传导扬声器608,骨传导扬声器608设置在至少一个镜腿的内壁侧,用于将接收到的处理器602发送的音频信号转换为振动信号。其中,骨传导扬声器608将声音通过颅骨传递至人体内耳,通过将音频的电信号转变为振动信号传递到颅骨耳蜗内,再被听觉神经所感知。通过骨传导扬声器608作为发声装置减少了硬件结构厚度,重量更轻,同时无电磁辐射也不会受到电磁辐射的影响,并且具备抗噪声、防水以及解放双耳的有点。The
麦克风609,可设置在镜框的下边框上,用于采集外部(用户、环境)声音并传输至处理器602进行处理。示例性的,麦克风609对用户发出的声音进行采集并通过处理器602进行声纹识别,如果识别为认证用户的声纹,则相应的可接收后续的语音控制,具体的,用户可发出语音,麦克风609将采集到的语音发送至处理器602进行识别以根据识别结果生成对应的控制指令,如“开机”、“关机”、“提升显示亮度”、“降低显示亮度”,处理器602后续根据该生成的控制指令执行对应的控制处理。The
定位模块612,可设置在镜腿边框上,用于获取佩戴智能眼镜用户的当前位置并传输至处理器602进行处理。The
本申请实施例提供的穿戴式设备,可以在佩戴穿戴式设备的用户关注某一商品时,自动查询该商品对应的不适宜使用人群,并通过镜片显示不适宜使用人群及哪些成分不适宜,满足用户的实际需求,提高人机交互效率,丰富了穿戴式设备的功能。The wearable device provided by the embodiment of the present application can automatically query the inappropriate user group corresponding to the commodity when the user wearing the wearable device pays attention to a certain commodity, and display the inappropriate user group and which components are not suitable through the lens. The actual needs of users, improve the efficiency of human-computer interaction, and enrich the functions of wearable devices.
上述实施例中提供的信息查询装置、存储介质及穿戴式设备可执行本申请任意实施例所提供的信息查询方法,具备执行该方法相应的功能模块和有益效果。未在上述实施例中详尽描述的技术细节,可参见本申请任意实施例所提供的信息查询方法。The information query device, storage medium, and wearable device provided in the above embodiments can execute the information query method provided by any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. For technical details not described in detail in the foregoing embodiments, reference may be made to the information query method provided by any embodiment of the present application.
注意,上述仅为本申请的较佳实施例及所运用技术原理。本领域技术人员会理解,本申请不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本申请的保护范围。因此,虽然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请构思的情况下,还可以包括更多其他等效实施例,而本申请的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present application and applied technical principles. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present application. Therefore, although the present application has been described in detail through the above embodiments, the present application is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present application. The scope is determined by the scope of the appended claims.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811000666.1A CN109145010B (en) | 2018-08-30 | 2018-08-30 | Information query method and device, storage medium and wearable device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811000666.1A CN109145010B (en) | 2018-08-30 | 2018-08-30 | Information query method and device, storage medium and wearable device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109145010A CN109145010A (en) | 2019-01-04 |
CN109145010B true CN109145010B (en) | 2020-09-29 |
Family
ID=64829252
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811000666.1A Active CN109145010B (en) | 2018-08-30 | 2018-08-30 | Information query method and device, storage medium and wearable device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109145010B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113918017B (en) * | 2021-10-11 | 2024-05-03 | 厦门顶尖电子有限公司 | Instruction input method based on identification scale weighing platform |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104345886A (en) * | 2014-10-09 | 2015-02-11 | 深圳码隆科技有限公司 | Intelligent glasses system for fashion experience and personalized fashion experience method |
CN104838326A (en) * | 2012-11-29 | 2015-08-12 | 微软公司 | Wearable food nutrition feedback system |
CN106502422A (en) * | 2016-11-23 | 2017-03-15 | 上海擎感智能科技有限公司 | Intelligent glasses and its control method, control device |
CN108415558A (en) * | 2018-02-02 | 2018-08-17 | 上海徕尼智能科技有限公司 | Intelligent glasses and intelligent search method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120229624A1 (en) * | 2011-03-08 | 2012-09-13 | Bank Of America Corporation | Real-time image analysis for providing health related information |
US9053483B2 (en) * | 2011-09-30 | 2015-06-09 | Microsoft Technology Licensing, Llc | Personal audio/visual system providing allergy awareness |
-
2018
- 2018-08-30 CN CN201811000666.1A patent/CN109145010B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104838326A (en) * | 2012-11-29 | 2015-08-12 | 微软公司 | Wearable food nutrition feedback system |
CN104345886A (en) * | 2014-10-09 | 2015-02-11 | 深圳码隆科技有限公司 | Intelligent glasses system for fashion experience and personalized fashion experience method |
CN106502422A (en) * | 2016-11-23 | 2017-03-15 | 上海擎感智能科技有限公司 | Intelligent glasses and its control method, control device |
CN108415558A (en) * | 2018-02-02 | 2018-08-17 | 上海徕尼智能科技有限公司 | Intelligent glasses and intelligent search method |
Also Published As
Publication number | Publication date |
---|---|
CN109145010A (en) | 2019-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12320977B2 (en) | Display system | |
CN112507799B (en) | Image recognition method based on eye movement fixation point guidance, MR glasses and medium | |
CN112181152B (en) | Advertisement pushing management method, device and application based on MR (magnetic resonance) glasses | |
US11507183B2 (en) | Resolving natural language ambiguities with respect to a simulated reality setting | |
EP3616050B1 (en) | Apparatus and method for voice command context | |
EP3485351B1 (en) | Command processing using multimodal signal analysis | |
EP3857340B1 (en) | Pupil modulation as a cognitive control signal | |
US10831268B1 (en) | Systems and methods for using eye tracking to improve user interactions with objects in artificial reality | |
US9342610B2 (en) | Portals: registered objects as virtualized, personalized displays | |
CN109254659A (en) | Wearable device control method and device, storage medium and wearable device | |
CN112034977A (en) | Method for MR intelligent glasses content interaction, information input and recommendation technology application | |
US20130342571A1 (en) | Mixed reality system learned input and functions | |
KR20160025578A (en) | Adaptive event recognition | |
CN109040462A (en) | Travel reminding method and device, storage medium and wearable device | |
CN109241900B (en) | Wearable device control method and device, storage medium and wearable device | |
WO2023043647A1 (en) | Interactions based on mirror detection and context awareness | |
CN109144263A (en) | Social householder method, device, storage medium and wearable device | |
CN109145010B (en) | Information query method and device, storage medium and wearable device | |
CN109101101B (en) | Wearable device control method, device, storage medium and wearable device | |
US20240319789A1 (en) | User interactions and eye tracking with text embedded elements | |
US12198261B2 (en) | Transitioning content in views of three-dimensional environments using alternative positional constraints | |
US20240200962A1 (en) | Providing directional awareness indicators based on context | |
US20250036206A1 (en) | Hand tracking based on wrist rotation and arm movement |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |