CN116700645A - Multimedia information display method, electronic device, and computer-readable storage medium - Google Patents
Multimedia information display method, electronic device, and computer-readable storage medium Download PDFInfo
- Publication number
- CN116700645A CN116700645A CN202210177343.XA CN202210177343A CN116700645A CN 116700645 A CN116700645 A CN 116700645A CN 202210177343 A CN202210177343 A CN 202210177343A CN 116700645 A CN116700645 A CN 116700645A
- Authority
- CN
- China
- Prior art keywords
- multimedia information
- altitude
- parameter
- display area
- target
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T13/00—Animation
- G06T13/20—3D [Three Dimensional] animation
- G06T13/60—3D [Three Dimensional] animation of natural phenomena, e.g. rain, snow, water or plants
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
技术领域technical field
本发明实施例涉及但不限于终端技术领域,尤其涉及一种多媒体信息显示方法、电子设备及计算机可读存储介质。Embodiments of the present invention relate to but are not limited to the technical field of terminals, and in particular, relate to a method for displaying multimedia information, electronic equipment, and a computer-readable storage medium.
背景技术Background technique
在终端的使用过程中,可以显示用户设定的或者系统自带的图像,例如,显示用户根据自身喜好而设置的桌面壁纸和锁屏壁纸、在桌面小组件或者应用界面中显示对应的图像等。During the use of the terminal, images set by the user or built-in by the system can be displayed, for example, displaying the desktop wallpaper and lock screen wallpaper set by the user according to their own preferences, displaying corresponding images in desktop widgets or application interfaces, etc. .
但是,终端在显示用户设定的或者系统自带的图像时,只能固定显示该图像,使得视觉效果固定,显示效果较差,不利于用户的使用体验。However, when the terminal displays an image set by the user or provided by the system, it can only display the image fixedly, so that the visual effect is fixed and the display effect is poor, which is not conducive to user experience.
发明内容Contents of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics described in detail in this article. This summary is not intended to limit the scope of the claims.
本发明实施例提供了一种多媒体信息显示方法、电子设备及计算机可读存储介质,能够优化智能终端的显示效果,增强视觉效果,从而有利于提高用户的使用体验。Embodiments of the present invention provide a multimedia information display method, an electronic device, and a computer-readable storage medium, which can optimize the display effect of an intelligent terminal and enhance the visual effect, thereby helping to improve user experience.
第一方面,本发明实施例提供了一种多媒体信息显示方法,应用于电子设备,包括:确定目标显示区域;获取海拔变化参数;根据所述海拔变化参数获取第一多媒体信息;将所述第一多媒体信息更新至所述目标显示区域。In the first aspect, an embodiment of the present invention provides a method for displaying multimedia information, which is applied to an electronic device, including: determining a target display area; acquiring an altitude change parameter; acquiring first multimedia information according to the altitude change parameter; The first multimedia information is updated to the target display area.
第二方面,本发明实施例还提供了一种电子设备,包括:区域确定单元,用于确定目标显示区域;参数获取单元,用于获取海拔变化参数;信息获取单元,用于根据所述海拔变化参数获取第一多媒体信息;信息更新单元,用于将所述第一多媒体信息更新至所述目标显示区域。In the second aspect, the embodiment of the present invention also provides an electronic device, including: an area determination unit, configured to determine a target display area; a parameter acquisition unit, configured to acquire an altitude change parameter; an information acquisition unit, configured to The first multimedia information is obtained by changing the parameters; an information updating unit is configured to update the first multimedia information to the target display area.
第三方面,本发明实施例还提供了一种电子设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上所述的多媒体信息显示方法。In a third aspect, an embodiment of the present invention also provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and operable on the processor, and the above-mentioned computer program is implemented when the processor executes the computer program. The multimedia information display method.
第四方面,本发明实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行如上所述的多媒体信息显示方法。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium storing computer-executable instructions, and the computer-executable instructions are used to execute the above-mentioned method for displaying multimedia information.
第五方面,本发明实施例还提供了一种计算机程序产品,包括计算机程序或计算机指令,所述计算机程序或所述计算机指令存储在计算机可读存储介质中,计算机设备的处理器从所述计算机可读存储介质读取所述计算机程序或所述计算机指令,所述处理器执行所述计算机程序或所述计算机指令,使得所述计算机设备执行如上所述的多媒体信息显示方法。In the fifth aspect, an embodiment of the present invention further provides a computer program product, including a computer program or a computer instruction, the computer program or the computer instruction is stored in a computer-readable storage medium, and the processor of the computer device reads from the The computer-readable storage medium reads the computer program or the computer instruction, and the processor executes the computer program or the computer instruction, so that the computer device executes the multimedia information display method as described above.
本发明实施例包括:确定目标显示区域;获取海拔变化参数;根据海拔变化参数获取第一多媒体信息;将第一多媒体信息更新至目标显示区域。因此,可以根据用户所处的海拔高度而动态更新目标显示区域所显示的多媒体信息,使得目标显示区域所显示的多媒体信息能够跟随用户的位置变化而进行变化,丰富了多媒体信息的显示方式,从而能够优化智能终端的显示效果,增强视觉效果,有利于提高用户的使用体验。The embodiment of the present invention includes: determining the target display area; acquiring altitude change parameters; acquiring first multimedia information according to the altitude change parameters; and updating the first multimedia information to the target display area. Therefore, the multimedia information displayed in the target display area can be dynamically updated according to the altitude of the user, so that the multimedia information displayed in the target display area can change with the change of the user's position, which enriches the display mode of the multimedia information, thereby The display effect of the smart terminal can be optimized, the visual effect can be enhanced, and the user experience can be improved.
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
附图说明Description of drawings
附图用来提供对本发明技术方案的进一步理解,并且构成说明书的一部分,与本发明的实施例一起用于解释本发明的技术方案,并不构成对本发明技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solution of the present invention, and constitute a part of the description, and are used together with the embodiments of the present invention to explain the technical solution of the present invention, and do not constitute a limitation to the technical solution of the present invention.
图1是本发明一个实施例提供的多媒体信息显示方法的流程图;FIG. 1 is a flowchart of a multimedia information display method provided by an embodiment of the present invention;
图2是本发明一个实施例提供的第一多媒体信息以文字描述为表现形式的示例图;Fig. 2 is an example diagram of the first multimedia information provided by an embodiment of the present invention in the form of text description;
图3是图1中步骤S130的一种示例性方法的流程图;Fig. 3 is a flowchart of an exemplary method of step S130 in Fig. 1;
图4是本发明一个实施例提供的第一多媒体信息以景物图像为表现形式的示例图;Fig. 4 is an example diagram of the first multimedia information provided by an embodiment of the present invention in the form of a scene image;
图5是图1中步骤S130的另一种示例性方法的流程图;FIG. 5 is a flowchart of another exemplary method of step S130 in FIG. 1;
图6是图1中步骤S130的另一种示例性方法的流程图;FIG. 6 is a flowchart of another exemplary method of step S130 in FIG. 1;
图7是本发明一个实施例提供的多媒体信息更新前的标记元素在第一位置的示例图;FIG. 7 is an example diagram of a mark element at a first position before multimedia information is updated according to an embodiment of the present invention;
图8是本发明一个实施例提供的多媒体信息更新过程中的标记元素在其它位置的示例图;Fig. 8 is an example diagram of marking elements in other positions during the update process of multimedia information provided by an embodiment of the present invention;
图9是本发明一个实施例提供的多媒体信息更新后标记元素在第二位置的示例图;Fig. 9 is an example diagram of a tag element at a second position after multimedia information is updated according to an embodiment of the present invention;
图10是本发明一个实施例提供的更新多媒体信息的流程图;Fig. 10 is a flow chart of updating multimedia information provided by an embodiment of the present invention;
图11是本发明一个实施例提供的电子设备的结构示意图。Fig. 11 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
需要说明的是,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于流程图中的顺序执行所示出或描述的步骤。说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than in the flowchart. The terms "first", "second" and the like in the specification and claims and the above drawings are used to distinguish similar objects, and not necessarily used to describe a specific sequence or sequence.
本发明提供了一种多媒体信息显示方法、电子设备及计算机可读存储介质,确定目标显示区域;获取海拔变化参数;根据海拔变化参数获取第一多媒体信息;将第一多媒体信息更新至目标显示区域。因此,本发明实施例所提供的方案可以根据用户所处的海拔高度而动态更新目标显示区域所显示的多媒体信息,使得目标显示区域所显示的多媒体信息能够跟随用户的位置变化而进行变化,丰富了多媒体信息的显示方式,从而能够优化智能终端的显示效果,增强视觉效果,有利于提高用户的使用体验。The present invention provides a multimedia information display method, electronic equipment and a computer-readable storage medium. The target display area is determined; the altitude change parameter is acquired; the first multimedia information is acquired according to the altitude change parameter; and the first multimedia information is updated. to the target display area. Therefore, the solution provided by the embodiment of the present invention can dynamically update the multimedia information displayed in the target display area according to the altitude of the user, so that the multimedia information displayed in the target display area can change with the change of the user's location, enriching The display mode of multimedia information is improved, so that the display effect of the smart terminal can be optimized, the visual effect can be enhanced, and the user experience can be improved.
下面结合附图,对本发明实施例作进一步阐述。The embodiments of the present invention will be further described below in conjunction with the accompanying drawings.
参照图1,图1是本发明一个实施例提供的多媒体信息显示方法的流程图,该多媒体信息显示方法应用于电子设备,该多媒体信息显示方法可以包括但不限于步骤S110、步骤S120、步骤S130和步骤S140。Referring to FIG. 1, FIG. 1 is a flow chart of a multimedia information display method provided by an embodiment of the present invention. The multimedia information display method is applied to an electronic device. The multimedia information display method may include but not limited to step S110, step S120, and step S130 and step S140.
步骤S110:确定目标显示区域。Step S110: Determine the target display area.
需要说明的是,目标显示区域可以是电子设备的整个屏幕,也可以是电子设备的屏幕中的局部位置,例如,该电子设备的桌面小组件在屏幕中的位置、某一应用界面在屏幕中的位置等,又或者,该目标显示区域也可以是在一个图库中,在此不做具体限定。需要说明的是,该目标显示区域也可以是与该电子设备相互连接的其他电子设备的目标显示区域,比如与该电子设备连接的智能手表、平板或者手机等等,在此不做具体限制。It should be noted that the target display area may be the entire screen of the electronic device, or a partial position on the screen of the electronic device, for example, the position of the desktop widget of the electronic device on the screen, or the position of a certain application interface on the screen. location, etc., or, the target display area may also be in a gallery, which is not specifically limited here. It should be noted that the target display area may also be a target display area of other electronic devices connected to the electronic device, such as a smart watch, a tablet, or a mobile phone connected to the electronic device, which is not specifically limited here.
步骤S120:获取海拔变化参数。Step S120: Obtain an altitude change parameter.
需要说明的是,获取海拔变化参数的方式有很多,比如根据高度计获取海拔变化参数;或者是将气压计获取到的气压值转化为海拔变化参数;又或者是监测用户步数,通过步数与海拔高度之间的函数关系而转换得到海拔变化参数;又或者通过可以建立设备的使用时长与海拔变化参数的函数关系或者是点亮屏幕的次数与海拔变化参数的函数关系而间接得到海拔变化参数;又或者使用某个设备的应用功能直接获取得到海拔变化参数;又或者是采用其他能够;又或者是通过与该电子设备连接的其他电子设备获取该海拔变化参数,比如通过与该电子设备连接的智能手表、平板或者手机等获取该海拔变化参数,在此不做具体限制。需要说明的是,上述的高度计、气压计等,均可以为内置于该电子设备或者与该电子设备连接的其他电子设备中的功能部件。It should be noted that there are many ways to obtain the altitude change parameters, such as obtaining the altitude change parameters according to the altimeter; or converting the air pressure value obtained by the barometer into the altitude change parameters; Altitude change parameters can be obtained by converting the functional relationship between altitudes; or the altitude change parameters can be obtained indirectly by establishing the functional relationship between the use time of the device and the altitude change parameter or the functional relationship between the number of times the screen is lit and the altitude change parameter ; or use the application function of a certain device to directly obtain the altitude change parameter; or use other methods; or obtain the altitude change parameter through other electronic devices connected to the electronic device, such as by connecting The altitude change parameter can be obtained by smart watches, tablets or mobile phones, etc., and no specific limitation is set here. It should be noted that the above-mentioned altimeter, barometer, etc. may be functional components built into the electronic device or other electronic devices connected to the electronic device.
步骤S130:根据海拔变化参数获取第一多媒体信息。Step S130: Obtain the first multimedia information according to the altitude change parameter.
本步骤中,由于在步骤S120中获取到了海拔变化参数,因此可以根据海拔变化参数获取第一多媒体信息,以便于后续步骤可以将第一多媒体信息更新至目标显示区域,达到随着用户所在位置的变化而更新多媒体信息的目的。In this step, since the altitude change parameter is obtained in step S120, the first multimedia information can be obtained according to the altitude change parameter, so that the first multimedia information can be updated to the target display area in subsequent steps to achieve The purpose of updating multimedia information due to changes in the user's location.
步骤S140:将第一多媒体信息更新至目标显示区域。Step S140: Update the first multimedia information to the target display area.
本步骤中,由于在步骤S130中获取到第一多媒体信息,因此可以将第一多媒体信息更新至目标显示区域,从而能够动态更新目标显示区域所显示的多媒体信息。In this step, since the first multimedia information is acquired in step S130, the first multimedia information can be updated to the target display area, so that the multimedia information displayed in the target display area can be dynamically updated.
需要说明的是,第一多媒体信息的表现形式可以是文字描述、行为轨迹、行为状态、路径图像、路径动画、声音、视频等。需要说明的是,将第一多媒体信息更新至目标显示区域可以是将多媒体信息添加至目标显示区域进行显示或者播放,也可以是将该第一多媒体信息与该目标显示区域关联进行显示或者播放等,在此不做具体限制。其中,如图2所示,图2为第一多媒体信息以文字描述为表现形式的示例图,在此不做具体限制。It should be noted that the representation form of the first multimedia information may be text description, behavior track, behavior state, path image, path animation, sound, video and so on. It should be noted that updating the first multimedia information to the target display area may be adding the multimedia information to the target display area for display or playing, or associating the first multimedia information with the target display area. Display or play, etc., are not specifically limited here. Wherein, as shown in FIG. 2 , FIG. 2 is an example diagram in which the first multimedia information is expressed in text description, and no specific limitation is made here.
还需要说明的是,第一多媒体信息可以包括其他信息,例如时间、季节信息、天气信息、运动步数、或电量信息等。第一多媒体信息还可以进一步根据时间、季节信息、天气信息、运动步数或电量信息等对应地进行更新,在此不做具体限制。It should also be noted that the first multimedia information may include other information, such as time, season information, weather information, exercise steps, or battery information. The first multimedia information may be further updated correspondingly according to time, season information, weather information, number of exercise steps or power information, etc., and no specific limitation is set here.
本实施例中,通过采用包括有上述步骤S110至步骤S140的多媒体信息显示方法,首先确定目标显示区域,接着获取海拔变化参数,根据该海拔变化参数获取第一多媒体信息,最后将第一多媒体信息更新至目标显示区域,因此,本发明实施例可以根据用户所处的海拔高度而动态更新目标显示区域所显示的多媒体信息,使得目标显示区域所显示的多媒体信息能够跟随用户的位置变化而进行变化,丰富了多媒体信息的显示方式,从而能够优化智能终端的显示效果,增强视觉效果,有利于提高用户的使用体验。In this embodiment, by adopting the multimedia information display method including the above steps S110 to S140, the target display area is first determined, then the altitude change parameter is obtained, the first multimedia information is obtained according to the altitude change parameter, and finally the first multimedia information is obtained. The multimedia information is updated to the target display area. Therefore, the embodiment of the present invention can dynamically update the multimedia information displayed in the target display area according to the user's altitude, so that the multimedia information displayed in the target display area can follow the user's position. The display mode of multimedia information is enriched, so that the display effect of the smart terminal can be optimized, the visual effect can be enhanced, and the user experience can be improved.
在一实施例中,如图3所示,在目标显示区域显示有第二多媒体信息,第二多媒体信息和第一多媒体信息对应于不同的海拔参数的情况下,对步骤S130进行进一步的说明,该步骤S130可以包括但不限于有步骤S210。In one embodiment, as shown in FIG. 3 , when the second multimedia information is displayed in the target display area, and the second multimedia information and the first multimedia information correspond to different altitude parameters, the step S130 is further described, and this step S130 may include but not limited to step S210.
步骤S210:当海拔变化参数大于预设阈值,获取第二多媒体信息所对应的第二海拔参数,根据第二海拔参数和海拔变化参数计算得到第一海拔参数,根据第一海拔参数获取第一多媒体信息。Step S210: When the altitude change parameter is greater than the preset threshold, obtain the second altitude parameter corresponding to the second multimedia information, calculate the first altitude parameter according to the second altitude parameter and the altitude change parameter, and obtain the second altitude parameter according to the first altitude parameter. - multimedia information.
需要说明的是,第一多媒体信息的表现形式和第二多媒体信息的表现形式均可以是文字、行为轨迹、行为状态、路径图像、景物图像、路径动画、声音、视频等,在此不做具体限制。比如,当第一多媒体信息的表现形式和第二多媒体信息的表现形式均景物图像时,可以根据第二多媒体信息中的景物获取该景物所对应的第二海拔参数,并根据第二海拔参数和海拔变化参数计算得到第一海拔参数,并将该第一海拔参数转化成对应的景物图像,该景物图像即为第一多媒体信息,第一多媒体信息如图4所示,本实施例对此不作具体限制。It should be noted that both the expression form of the first multimedia information and the expression form of the second multimedia information can be text, behavior track, behavior state, path image, scene image, path animation, sound, video, etc., in There is no specific limitation here. For example, when the expression form of the first multimedia information and the expression form of the second multimedia information are both scene images, the second altitude parameter corresponding to the scene can be obtained according to the scene in the second multimedia information, and Calculate the first altitude parameter according to the second altitude parameter and the altitude change parameter, and convert the first altitude parameter into a corresponding scene image, which is the first multimedia information, as shown in the figure 4, this embodiment does not specifically limit it.
需要说明的是,第二多媒体信息和第一多媒体信息对应于不同的海拔参数的情况多种,比如第二多媒体信息和第一多媒体信息分别对应于不同山体的不同海拔参数,或者第二多媒体信息和第一多媒体信息分别对应于同一山体的不同海拔参数等等,本实施例对此不做具体限制。比如,当第二多媒体信息和第一多媒体信息分别对应于同一山体的不同海拔参数,且第一多媒体信息的表现形式和第二多媒体信息的表现形式均为景物图像时,第一多媒体信息可以为A山体中位置变化前景物的图像,第二多媒体信息可以为A山体中位置变化后景物的图像;或者,当第二多媒体信息和第一多媒体信息分别对应于不同山体的不同海拔参数,且第一多媒体信息的表现形式和第二多媒体信息的表现形式均为景物图像时,第一多媒体信息可以为A山体景物的图像,第二多媒体信息可以为B山体景物的图像。It should be noted that there are many cases where the second multimedia information and the first multimedia information correspond to different altitude parameters. For example, the second multimedia information and the first multimedia information correspond to different altitude parameters of different mountains. The altitude parameter, or the second multimedia information and the first multimedia information respectively correspond to different altitude parameters of the same mountain body, etc., which are not specifically limited in this embodiment. For example, when the second multimedia information and the first multimedia information respectively correspond to different altitude parameters of the same mountain, and the representation forms of the first multimedia information and the representation form of the second multimedia information are both scene images , the first multimedia information may be an image of a foreground object whose position changes in A mountain, and the second multimedia information may be an image of a scene after a position change in A mountain; or, when the second multimedia information and the first When the multimedia information corresponds to different altitude parameters of different mountains, and the representation forms of the first multimedia information and the representation form of the second multimedia information are both scene images, the first multimedia information may be A mountain For the image of the scene, the second multimedia information may be an image of the scene of the B mountain.
需要说明的是,预设阈值可以是一个具体的数值,比如10米或者20米,或者其他取值,预设阈值也可以是一个数值区间,比如0至20米,或者0至40米,或者其他区间,在此不做具体限制。还需要说明的是,在实际应用当中,可能会由于检测误差导致海拔变化参数发生了变化,但实际上用户没有移动,因此,设定预设阈值可以避免误检。比如,假设海拔变化参数是通过将气压计转化得到的,由于影响气压的因素有温度、湿度和高度,当用户所在位置没有发生改变时,若第二多媒体信息是在没有下雨的时候获取到的,而气压计是在下暴雨的时候读取到的,那么读取气压计的时候用户所在位置的温度和适度都发生了变化,从而导致气压值改变,那么通过气压值转换得到的海拔变化参数为非零的数值,因此会发生误检的情况,所以,设定预设阈值可以避免误检。It should be noted that the preset threshold can be a specific value, such as 10 meters or 20 meters, or other values, and the preset threshold can also be a numerical range, such as 0 to 20 meters, or 0 to 40 meters, or Other intervals are not specifically limited here. It should also be noted that in practical applications, the altitude change parameter may change due to detection errors, but the user does not actually move. Therefore, setting a preset threshold can avoid false detection. For example, assuming that the altitude change parameter is obtained by converting the barometer, since the factors affecting the air pressure include temperature, humidity and altitude, when the user's location does not change, if the second multimedia information is when it is not raining Obtained, and the barometer is read when it is raining, then when reading the barometer, the temperature and moderateness of the user's location have changed, resulting in a change in the air pressure value, then the altitude obtained by converting the air pressure value If the variable parameter is a non-zero value, false detection will occur. Therefore, setting a preset threshold can avoid false detection.
还需要说明的是,海拔变化参数的计量单位可以有很多,比如米、千米、公里或者其他计量单位,可以根据实际情况进行选择,在此不做具体限制。It should also be noted that there may be many units of measurement for the altitude change parameter, such as meters, kilometers, kilometers or other units of measurement, which may be selected according to actual conditions, and are not specifically limited here.
本实施例中,由于第二多媒体信息和第一多媒体信息对应于不同的海拔参数,因此,当海拔变化参数大于预设阈值,可以获取第二多媒体信息所对应的第二海拔参数,根据该第二海拔参数和该海拔变化参数计算得到第一海拔参数,根据第一海拔参数获取第一多媒体信息,为后续步骤将第一多媒体信息更新至目标显示区域做准备。本发明实施例达到了根据用户所处的海拔高度而动态更新目标显示区域所显示的多媒体信息的目的,使得目标显示区域所显示的多媒体信息能够跟随用户的位置变化而进行变化,丰富了多媒体信息的显示方式,从而能够优化智能终端的显示效果,增强视觉效果,有利于提高用户的使用体验。In this embodiment, since the second multimedia information and the first multimedia information correspond to different altitude parameters, when the altitude change parameter is greater than the preset threshold, the second multimedia information corresponding to the second multimedia information can be obtained. The altitude parameter, the first altitude parameter is calculated according to the second altitude parameter and the altitude change parameter, the first multimedia information is obtained according to the first altitude parameter, and the first multimedia information is updated to the target display area for subsequent steps. Prepare. The embodiment of the present invention achieves the purpose of dynamically updating the multimedia information displayed in the target display area according to the user's altitude, so that the multimedia information displayed in the target display area can change with the change of the user's location, enriching the multimedia information The display method can optimize the display effect of the smart terminal, enhance the visual effect, and help improve the user experience.
在一可选的实施例中,当预设阈值为一个具体的数值20米时,而海拔变化参数为400米,海拔变化参数大于预设阈值,因此,可以获取第二多媒体信息所对应的第二海拔参数,假设第二海拔参数为1000米,根据第二海拔参数和海拔变化参数计算得到第一海拔参数1400米,根据该第一海拔参数1400米可以获取第一多媒体信息。In an optional embodiment, when the preset threshold is a specific value of 20 meters, and the altitude change parameter is 400 meters, the altitude change parameter is greater than the preset threshold, therefore, the second multimedia information corresponding to Assuming that the second altitude parameter is 1000 meters, the first altitude parameter 1400 meters is calculated according to the second altitude parameter and the altitude change parameter, and the first multimedia information can be obtained according to the first altitude parameter 1400 meters.
在一实施例中,如图5所示,在目标显示区域显示有第二多媒体信息,第二多媒体信息和第一多媒体信息对应于相同的海拔参数的情况下,对步骤S130进行进一步的说明,该步骤S130可以包括但不限于有步骤S310。In one embodiment, as shown in FIG. 5 , when the second multimedia information is displayed in the target display area, and the second multimedia information and the first multimedia information correspond to the same altitude parameter, the step S130 is further described, and this step S130 may include but not limited to step S310.
步骤S310:当海拔变化参数小于或等于预设阈值,获取第二多媒体信息所对应的第二海拔参数,根据第二海拔参数获取第一多媒体信息。Step S310: when the altitude change parameter is less than or equal to the preset threshold, acquire the second altitude parameter corresponding to the second multimedia information, and acquire the first multimedia information according to the second altitude parameter.
本步骤中,由于第二多媒体信息和第一多媒体信息对应于相同的海拔参数,因此,当海拔变化参数小于或等于预设阈值时,可以获取第二多媒体信息所对应的第二海拔参数,并根据第二海拔参数获取第一多媒体信息,为后续步骤将第一多媒体信息更新至目标显示区域做准备。本发明实施例达到了根据用户所处的海拔高度而动态更新目标显示区域所显示的多媒体信息的目的,使得目标显示区域所显示的多媒体信息能够跟随用户的位置变化而进行变化,丰富了多媒体信息的显示方式,从而能够优化智能终端的显示效果,增强视觉效果,有利于提高用户的使用体验。In this step, since the second multimedia information and the first multimedia information correspond to the same altitude parameter, when the altitude change parameter is less than or equal to the preset threshold, the altitude corresponding to the second multimedia information can be obtained. second altitude parameter, and obtain the first multimedia information according to the second altitude parameter, making preparations for updating the first multimedia information to the target display area in subsequent steps. The embodiment of the present invention achieves the purpose of dynamically updating the multimedia information displayed in the target display area according to the user's altitude, so that the multimedia information displayed in the target display area can change with the change of the user's location, enriching the multimedia information The display method can optimize the display effect of the smart terminal, enhance the visual effect, and help improve the user experience.
需要说明的是,第二多媒体信息和第一多媒体信息对应于相同的海拔参数的情况有很多,比如,第二多媒体信息和第一多媒体信息可以表示为处于同一山体上相同的海拔参数的不同角度的多媒体信息,或者第二多媒体信息和第一多媒体信息可以表示为处于相同海拔高度的不同山体上相同的海拔参数的多媒体信息,又或者第二多媒体信息和第一多媒体信息可以表示为处于不同海拔高度的不同山体上相同的海拔参数的多媒体信息,在此不做具体限制。It should be noted that there are many cases where the second multimedia information and the first multimedia information correspond to the same altitude parameter. For example, the second multimedia information and the first multimedia information may be represented as being on the same mountain Multimedia information at different angles with the same altitude parameter, or the second multimedia information and the first multimedia information can be expressed as multimedia information with the same altitude parameter on different mountains at the same altitude, or the second multimedia information The media information and the first multimedia information may be expressed as multimedia information with the same altitude parameter on different mountains at different altitudes, and no specific limitation is set here.
在一可选的实施例中,假设第二多媒体信息和第一多媒体信息可以表示为处于同一山体上相同的海拔参数的不同角度的多媒体信息,第一多媒体信息的表现形式和第二多媒体信息的表现形式均景物图像,且预设阈值为0米,当海拔变化参数为0米时,海拔变化参数等于预设阈值,若第二多媒体信息显示的是A山体的海拔高度为3000米所在位置的朝阳面的景象,而第一多媒体信息显示的是A山体的海拔高度为3000米所在位置的背阴面的景象,本发明实施例对此不作具体限制。In an optional embodiment, assuming that the second multimedia information and the first multimedia information can be expressed as multimedia information at different angles with the same altitude parameter on the same mountain, the expression form of the first multimedia information The expression form of the second multimedia information is a scene image, and the preset threshold is 0 meters. When the altitude change parameter is 0 meters, the altitude change parameter is equal to the preset threshold. If the second multimedia information displays A The scene on the sunny side of the mountain where the altitude is 3,000 meters, and the first multimedia information shows the scene on the shady side of the mountain where the altitude of A is 3,000 meters, which is not specifically limited in the embodiment of the present invention .
在一可选的实施例中,假设第二多媒体信息和第一多媒体信息可以表示为处于相同海拔高度的不同山体上相同的海拔参数的多媒体信息,第一多媒体信息的表现形式和第二多媒体信息的表现形式均景物图像,且预设阈值为10米,当海拔变化参数为0米时,海拔变化参数小于预设阈值,若A山峰和B山峰的海拔高度均为6000米,那么第二多媒体信息可以是显示A山峰上海拔参数为5000米所在位置的图像,第一多媒体信息可以是显示B山峰上海拔参数为5000米所在位置的图像,本发明实施例对此不作具体限制。In an optional embodiment, assuming that the second multimedia information and the first multimedia information can be expressed as multimedia information with the same altitude parameter on different mountains at the same altitude, the performance of the first multimedia information The form and the expression form of the second multimedia information are both scene images, and the preset threshold is 10 meters. When the altitude change parameter is 0 meters, the altitude change parameter is less than the preset threshold. is 6,000 meters, then the second multimedia information may be an image showing the location of the mountain peak A with an altitude parameter of 5,000 meters, and the first multimedia information may be an image showing the location of the mountain peak B with an altitude parameter of 5,000 meters. The embodiment of the invention does not specifically limit this.
在一可选的实施例中,假设第二多媒体信息和第一多媒体信息可以表示为处于不同海拔高度的不同山体上相同的海拔参数的多媒体信息,且第一多媒体信息的表现形式和第二多媒体信息的表现形式均行为轨迹,当海拔变化参数等于预设阈值时,若当前海拔参数为4000米,A山体的山顶的海拔高度为4000米,B山体的山顶的海拔高度为8000米,并且B山体的半山腰的海拔高度为4000米,则第二多媒体信息显示的是用户从A山体的峰顶到A山体的山脚的行为轨迹,而第一多媒体信息显示的是用户从B山体的山脚到B山体的半山腰的行为轨迹,本发明实施例对此不作具体限制。In an optional embodiment, it is assumed that the second multimedia information and the first multimedia information can be expressed as multimedia information with the same altitude parameter on different mountains at different altitudes, and the first multimedia information Both the form of expression and the form of expression of the second multimedia information are track. When the altitude change parameter is equal to the preset threshold, if the current altitude parameter is 4000 meters, the altitude of the top of the mountain A is 4000 meters, and the altitude of the top of the mountain B is 4000 meters. The altitude is 8,000 meters, and the altitude of the halfway up the mountain of B is 4,000 meters, then the second multimedia information shows the user's behavior trajectory from the peak of the A mountain to the foot of the A mountain, and the first multimedia information The volume information shows the behavior trajectory of the user from the foot of the mountain B to the halfway up the mountain B, which is not specifically limited in the embodiment of the present invention.
在一实施例中,如图6所示,在目标显示区域显示有第二多媒体信息,第二多媒体信息可以包括背景元素和标记元素,或者可以单独包括标记元素或背景元素,又或者可以包括其他可以标记第二多媒体信息的元素等等,在此不做具体限制。其中,背景元素可以包括目标路径,而标记元素可以叠加显示于目标路径上。在该标记元素对应于第三海拔参数的情况下,对步骤S130进行进一步的说明,该步骤S130可以包括但不限于有步骤S410、步骤S420、步骤S430和步骤S440。In one embodiment, as shown in FIG. 6, second multimedia information is displayed in the target display area, and the second multimedia information may include background elements and mark elements, or may include mark elements or background elements alone, and Or it may include other elements capable of marking the second multimedia information, etc., which are not specifically limited here. Wherein, the background element may include the target path, and the mark element may be superimposed on the target path. In the case that the mark element corresponds to the third altitude parameter, step S130 is further described, and the step S130 may include but not limited to step S410, step S420, step S430 and step S440.
步骤S410:获取目标路径的长度值。Step S410: Obtain the length value of the target path.
需要说明的是,目标路径可以是曲线路径,也可以是直线路径等等,其中,曲线路径可以是闭合的曲线路径,也可以是非闭合的曲线路径,在此不做具体限制。It should be noted that the target path may be a curved path or a straight path, etc., wherein the curved path may be a closed curved path or an open curved path, which is not specifically limited here.
步骤S420:获取标记元素在目标路径中的第一位置。Step S420: Obtain the first position of the mark element in the target path.
需要说明的是,第一位置可以是目标路径的起始位置,也可以是目标路径的其他位置,在此不做具体限制。It should be noted that the first location may be the starting location of the target path, or other locations of the target path, which is not specifically limited here.
步骤S430:根据海拔变化参数、第三海拔参数、长度值和第一位置,计算得到标记元素在目标路径中的第二位置。Step S430: Calculate the second position of the marker element in the target path according to the altitude change parameter, the third altitude parameter, the length value and the first position.
本步骤中,由于在步骤S120、步骤S410和步骤S420中获取到了海拔变化参数、目标路径长度的长度值和标记元素在目标路径中的第一位置,又因为标记元素对应于第三海拔参数,因此,可以根据海拔变化参数、第三海拔参数、长度值和第一位置,计算得到标记元素在目标路径中的第二位置,为后续步骤中得到第一多媒体信息做准备。In this step, since the altitude change parameter, the length value of the target path length and the first position of the mark element in the target path are obtained in step S120, step S410 and step S420, and because the mark element corresponds to the third altitude parameter, Therefore, the second position of the marker element in the target path can be calculated according to the altitude change parameter, the third altitude parameter, the length value and the first position, so as to prepare for obtaining the first multimedia information in a subsequent step.
需要说明的是,第二位置可以是目标路径的起始位置或者终点位置,也可以是目标路径的其他位置,当第二位置为目标路径的起始位置时,说明用户并没有移动,在此不做具体限制。It should be noted that the second location may be the starting location or the ending location of the target path, or other locations of the target path. When the second location is the starting location of the target path, it means that the user has not moved. Here No specific restrictions are made.
在一可选的实施例中,可以采用如下公式(1)计算得到标记元素在目标路径中的第二位置M,即:In an optional embodiment, the second position M of the marking element in the target path can be calculated by using the following formula (1), namely:
其中,在公式(1)中,L表示目标路径的长度值,H表示标记元素对应的第三海拔参数,h表示海拔变化参数。Wherein, in the formula (1), L represents the length value of the target path, H represents the third altitude parameter corresponding to the mark element, and h represents the altitude change parameter.
需要说明的是,在目标路径中标记元素从第一位置到第二位置M的路径轨迹可以以动画的形式表示,其中,该路径轨迹是由标记元素叠加显示得到的,即是说,路径轨迹中的其它位置的图示也可以随参数的变化而通过公式(1)计算得到,其中,多媒体信息更新前的标记元素在第一位置(即第二多媒体信息)的图示如图7所示,多媒体信息更新过程中的标记元素在其它位置的图示如图8所示,多媒体信息更新后标记元素在第二位置的图像(即第一多媒体信息)如图9所示。It should be noted that the path trajectory of the marker element from the first position to the second position M in the target path can be represented in the form of animation, wherein the path trajectory is obtained by superimposing and displaying the marker elements, that is to say, the path trajectory The illustrations of other positions in can also be calculated by the formula (1) with the change of parameters, wherein, the illustration of the mark element at the first position (that is, the second multimedia information) before the multimedia information is updated is shown in Figure 7 As shown in FIG. 8 , an image of the mark element at other positions during the update of the multimedia information is shown in FIG. 9 , and an image of the mark element at the second position (namely the first multimedia information) after the update of the multimedia information is shown in FIG. 9 .
在一实施例中,如图10所示,图10为更新多媒体信息的流程图,更新多媒体信息具体步骤如下:In one embodiment, as shown in FIG. 10, FIG. 10 is a flowchart of updating multimedia information, and the specific steps of updating multimedia information are as follows:
步骤一:将第一次使用的状态自动设为海拔为0的状态,目标显示区域以动画的形式展示初始状态,初始状态路径为0;Step 1: Automatically set the state used for the first time to the state where the altitude is 0, and the target display area displays the initial state in the form of animation, and the path of the initial state is 0;
步骤二:为目标匹配一个路径曲线,曲线长度为L;Step 2: Match a path curve for the target, the length of the curve is L;
步骤三:查找到每一个的海拔高度H;Step 3: Find the altitude H of each one;
步骤四:监测到海拔高度发生变化,获取高度变化的绝对值h;Step 4: Monitor the altitude change and obtain the absolute value h of the altitude change;
步骤五:通过计算(h/H)×L得到值m;Step 5: Obtain the value m by calculating (h/H)×L;
步骤六:目标位置的动画路径到达m,其它位置的图示也跟随这个参数发生变化;Step 6: The animation path of the target position reaches m, and the icons of other positions also change according to this parameter;
步骤七:在一些关键节点,动画可以加入更多的效果,例如临近目标的节点;Step 7: At some key nodes, more effects can be added to the animation, such as nodes close to the target;
步骤八:进入下一个阶段。Step Eight: Go to the next stage.
需要说明的是,本实施例中的步骤与上述如图6所示实施例的步骤S410至步骤S440,具有相同的技术原理以及相同的技术效果,关于本实施例的技术原理以及技术效果,可以参照上述如图6所示实施例中的相关描述说明,为了避免内容重复冗余,此处不再赘述。It should be noted that the steps in this embodiment have the same technical principle and the same technical effect as the steps S410 to S440 in the above embodiment shown in FIG. 6 , and the technical principle and technical effect of this embodiment can be Referring to the relevant descriptions in the above embodiment shown in FIG. 6 , in order to avoid redundant content, details are not repeated here.
步骤S440:将标记元素显示于第二位置,得到第一多媒体信息。Step S440: Display the mark element at the second position to obtain the first multimedia information.
本步骤中,由于在步骤S430计算得到了标记元素在目标路径中的第二位置,因此,可以将该标记元素显示于第二位置,从而得到了第一多媒体信息,以便后续步骤中将目标显示区域显示的第二多媒体信息更新成第一多媒体信息。In this step, since the second position of the marking element in the target path is obtained through calculation in step S430, the marking element can be displayed at the second position, thereby obtaining the first multimedia information, so that in subsequent steps, the The second multimedia information displayed in the target display area is updated to the first multimedia information.
需要说明的是,第一多媒体信息可以包括由标记元素叠加而得到行为轨迹和背景元素等,其中,背景元素可以是山峰、太阳、云朵、雨水或者阳光光线等,可以丰富显示效果,在此不做具体限制。It should be noted that the first multimedia information may include behavior tracks and background elements obtained by superimposing mark elements, wherein the background elements may be mountain peaks, the sun, clouds, rain or sunlight, etc., which can enrich the display effect. There is no specific limitation here.
需要说明的是,在第二多媒体信息中的背景元素可以是山峰、太阳、云朵、雨水或者阳光光线等,可以丰富显示效果。除此之外,第二多媒体信息还可以包括统时间、天气信息、运动步数、电量信息等等,在此不做具体限制。It should be noted that the background elements in the second multimedia information can be mountain peaks, the sun, clouds, rain or sunlight, etc., which can enrich the display effect. In addition, the second multimedia information may also include statistical time, weather information, exercise steps, battery information, etc., which are not specifically limited here.
本实施例中,通过采用步骤S410至步骤S440的多媒体信息显示方法,首先可以获取目标路径的长度值,再获取标记元素在目标路径中的第一位置,接着根据海拔变化参数、第三海拔参数、长度值和第一位置,可以计算得到标记元素在目标路径中的第二位置,最后将标记元素显示于第二位置,得到第一多媒体信息,因此,本发明实施例可以根据用户的行为轨迹而动态得到新的多媒体信息,使得目标显示区域所显示的多媒体信息能够跟随用户的位置变化而进行变化,丰富了多媒体信息的显示方式,从而能够优化智能终端的显示效果,增强视觉效果,有利于提高用户的使用体验。In this embodiment, by adopting the multimedia information display method from step S410 to step S440, firstly, the length value of the target path can be obtained, and then the first position of the marking element in the target path can be obtained, and then according to the altitude change parameter, the third altitude parameter , the length value and the first position, the second position of the mark element in the target path can be calculated, and finally the mark element is displayed at the second position to obtain the first multimedia information. Therefore, the embodiment of the present invention can be based on the user's Dynamically obtain new multimedia information based on the behavior track, so that the multimedia information displayed in the target display area can change with the change of the user's position, which enriches the display mode of multimedia information, thereby optimizing the display effect of the smart terminal and enhancing the visual effect. It is beneficial to improve the user experience.
在一实施例中,确定目标显示区域的具体步骤有:In one embodiment, the specific steps for determining the target display area include:
检测电子设备的当前运行状态;Detect the current operating status of electronic equipment;
当前运行状态为预设的目标运行状态,根据目标运行状态确定目标显示区域。The current operating state is a preset target operating state, and the target display area is determined according to the target operating state.
需要说明的是,预设的目标运行状态可以是锁屏状态、息屏状态或者响应于触发信号而在目标显示区域中显示第二多媒体信息的运行状态等,在此不做具体限制。比如,检测某一电子设备当前运行状态,若该电子设备的屏幕处于解锁的状态,点击该电子设备中的某一应用软件,该应用软件打开后的整个屏幕或者屏幕中的局部位置显示第二多媒体信息的运行状态,其中,“点击该电子设备中的某一应用软件”中的“点击”会产生对应的触发信号;或者,该电子设备锁屏状态下的壁纸在屏幕中所处的位置为目标显示区域;又或者,该电子设备息屏状态下的壁纸在屏幕中所处的位置为目标显示区域,其中,该壁纸可以是动态壁纸,也是可以是静态壁纸,本发明实施例对此不作具体限制。It should be noted that the preset target running state may be a screen-locked state, a screen-off state, or a running state in which the second multimedia information is displayed in the target display area in response to a trigger signal, and is not specifically limited here. For example, to detect the current running state of an electronic device, if the screen of the electronic device is unlocked, click on an application software in the electronic device, the entire screen or a part of the screen after the application software is opened will display the second The running state of multimedia information, wherein, "click" in "click an application software in the electronic device" will generate a corresponding trigger signal; or, the wallpaper in the lock screen state of the electronic device is in the screen The position of the wallpaper is the target display area; or, the position of the wallpaper in the off-screen state of the electronic device on the screen is the target display area, wherein the wallpaper can be a dynamic wallpaper or a static wallpaper. There is no specific limitation on this.
在一实施例中,当该当前运行状态为息屏状态,在海拔变化参数大于预设阈值的情况下,当检测到预设触发条件被触发,可以将第一多媒体信息更新至目标显示区域,在此不做具体限制。例如,假设电子设备为手机,手机的当前运行状态为息屏状态,若获取到的海拔变化参数大于预设阈值时,将手机抬起,或者当手机的前置摄像头捕抓到用户的眼睛或者面部等时,第一多媒体信息将自动更新至手机的目标显示区域,其中,“抬起”动作和“捕抓用户的眼睛或者面部等”均为预设触发条件,当然,预设触发条件还可以是其他能够触发电子设备在目标显示区域显示第一多媒体信息的指令信息、操作动作等,本发明实施例对此不作具体限制。In an embodiment, when the current running state is the off-screen state and the altitude change parameter is greater than the preset threshold, when it is detected that the preset trigger condition is triggered, the first multimedia information can be updated to the target display The area is not specifically limited here. For example, suppose the electronic device is a mobile phone, and the current operating state of the mobile phone is the off-screen state. If the obtained altitude change parameter is greater than the preset threshold, the mobile phone is lifted up, or when the front camera of the mobile phone captures the user's eyes or When the face is waiting, the first multimedia information will be automatically updated to the target display area of the mobile phone. Among them, the "lifting" action and "catching the user's eyes or face" are preset trigger conditions. Of course, the preset trigger The condition may also be other instruction information, operation actions, etc. that can trigger the electronic device to display the first multimedia information in the target display area, which is not specifically limited in this embodiment of the present invention.
此外,本发明的另一个实施例还提供了一种电子设备,该电子设备包括:In addition, another embodiment of the present invention also provides an electronic device, which includes:
区域确定单元,用于确定目标显示区域;an area determining unit, configured to determine a target display area;
参数获取单元,用于获取海拔变化参数;A parameter acquisition unit, configured to acquire an altitude change parameter;
信息获取单元,用于根据海拔变化参数获取第一多媒体信息;an information acquiring unit, configured to acquire first multimedia information according to an altitude change parameter;
信息更新单元,用于将第一多媒体信息更新至目标显示区域。An information updating unit, configured to update the first multimedia information to the target display area.
需要说明的是,目标显示区域可以是整个屏幕,也可以是屏幕中的局部位置,例如,该电子设备的桌面小组件在屏幕中的位置、某一应用界面在屏幕中的位置等,又或者,该目标显示区域也可以是在一个图库中,在此不做具体限定。需要说明的是,该目标显示区域也可以是与该电子设备相互连接的其他电子设备的目标显示区域,比如与该电子设备连接的智能手表、平板或者手机等等,在此不做具体限制。It should be noted that the target display area may be the entire screen, or a partial position on the screen, for example, the position of the desktop widget of the electronic device on the screen, the position of a certain application interface on the screen, etc., or , the target display area may also be in a gallery, which is not specifically limited here. It should be noted that the target display area may also be a target display area of other electronic devices connected to the electronic device, such as a smart watch, a tablet, or a mobile phone connected to the electronic device, which is not specifically limited here.
需要说明的是,参数获取单元获取海拔变化参数的方式有很多,比如当参数获取单元为高度计时,根据高度计获取海拔变化参数;或者当参数获取单元包括气压计时,将气压计获取到的气压值转化为海拔变化参数;又或者当参数获取单元包括计步器时,可以监测用户步数,通过步数与海拔高度之间的函数关系而转换得到海拔变化参数;又或者是参数获取单元为某个设备的可以直接获取得到海拔变化参数的应用功能;又或者是通过与该电子设备连接的其他电子设备获取该海拔变化参数,比如通过与该电子设备连接的智能手表、平板或者手机等,在此不做具体限制。需要说明的是,上述的高度计、气压计等,均可以为内置于该电子设备或者与该电子设备连接的其他电子设备中的功能部件。It should be noted that there are many ways for the parameter acquisition unit to obtain the altitude change parameter. For example, when the parameter acquisition unit is an altimeter, the altitude change parameter is obtained according to the altimeter; or when the parameter acquisition unit includes a barometer, the air pressure value obtained by the barometer is converted into altitude change parameters; or when the parameter acquisition unit includes a pedometer, the number of steps of the user can be monitored, and the altitude change parameter can be converted through the functional relationship between the number of steps and the altitude; or the parameter acquisition unit is a certain The application function of a device that can directly obtain the altitude change parameter; or obtain the altitude change parameter through other electronic devices connected to the electronic device, such as through a smart watch, tablet or mobile phone connected to the electronic device, etc., in There is no specific limitation here. It should be noted that the above-mentioned altimeter, barometer, etc. may be functional components built into the electronic device or other electronic devices connected to the electronic device.
需要说明的是,第一多媒体信息的表现形式可以是文字描述、行为轨迹、行为状态、路径图像、路径动画、声音、视频等。需要说明的是,将第一多媒体信息更新至目标显示区域可以是将多媒体信息添加至目标显示区域进行显示或者播放,也可以是将该第一多媒体信息与该目标显示区域关联进行显示或者播放等,在此不做具体限制。其中,如图2所示,图2为第一多媒体信息以文字描述为表现形式的示例图,在此不做具体限制。It should be noted that the representation form of the first multimedia information may be text description, behavior track, behavior state, path image, path animation, sound, video and so on. It should be noted that updating the first multimedia information to the target display area may be adding the multimedia information to the target display area for display or playing, or associating the first multimedia information with the target display area. Display or play, etc., are not specifically limited here. Wherein, as shown in FIG. 2 , FIG. 2 is an example diagram in which the first multimedia information is expressed in text description, and no specific limitation is made here.
还需要说明的是,第一多媒体信息可以包括其他信息,例如时间、季节信息、天气信息、运动步数、电量信息等等。第一多媒体信息还可以进一步根据时间、季节信息、天气信息、运动步数或者电量信息等对应地进行更新,在此不做具体限制。It should also be noted that the first multimedia information may include other information, such as time, season information, weather information, exercise steps, battery information and so on. The first multimedia information may be further updated correspondingly according to time, season information, weather information, number of exercise steps or power information, etc., and no specific limitation is set here.
本实施例中,可以通过区域确定单元确定目标显示区域,再通过参数获取单元获取海拔变化参数,信息获取单元可以接收来自参数获取单元的海拔变化参数,并根据海拔变化参数获取第一多媒体信息,最后信息更新单元将该第一多媒体信息更新至目标显示区域,因此,本发明实施例可以根据用户所处的海拔高度而动态更新目标显示区域所显示的多媒体信息,使得目标显示区域所显示的多媒体信息能够跟随用户的位置变化而进行变化,丰富了多媒体信息的显示方式,从而能够优化智能终端的显示效果,增强视觉效果,有利于提高用户的使用体验。In this embodiment, the target display area can be determined by the area determination unit, and then the altitude change parameter can be acquired by the parameter acquisition unit. The information acquisition unit can receive the altitude change parameter from the parameter acquisition unit, and acquire the first multimedia display according to the altitude change parameter. information, and finally the information update unit updates the first multimedia information to the target display area. Therefore, the embodiment of the present invention can dynamically update the multimedia information displayed in the target display area according to the altitude of the user, so that the target display area The displayed multimedia information can change with the change of the user's position, which enriches the display mode of the multimedia information, thereby optimizing the display effect of the smart terminal, enhancing the visual effect, and helping to improve the user experience.
在一实施例中,在目标显示区域显示有第二多媒体信息,第二多媒体信息和第一多媒体信息对应于不同的海拔参数的情况下,信息获取单元包括:In an embodiment, when the target display area displays second multimedia information, and the second multimedia information and the first multimedia information correspond to different altitude parameters, the information acquisition unit includes:
第一获取子单元,用于当海拔变化参数大于预设阈值,获取第二多媒体信息所对应的第二海拔参数,根据第二海拔参数和海拔变化参数计算得到第一海拔参数,根据第一海拔参数获取第一多媒体信息。The first obtaining subunit is used to obtain the second altitude parameter corresponding to the second multimedia information when the altitude change parameter is greater than the preset threshold, calculate the first altitude parameter according to the second altitude parameter and the altitude change parameter, and obtain the first altitude parameter according to the second altitude parameter. An altitude parameter acquires the first multimedia information.
需要说明的是,第一多媒体信息的表现形式和第二多媒体信息的表现形式均可以是文字、行为轨迹、行为状态、路径图像、景物图像、路径动画、声音、视频等,在此不做具体限制。比如,当第一多媒体信息的表现形式和第二多媒体信息的表现形式均景物图像时,可以根据第二多媒体信息中的景物获取该景物所对应的第二海拔参数,并根据第二海拔参数和海拔变化参数计算得到第一海拔参数,并将该第一海拔参数转化成对应的景物图像,该景物图像即为第一多媒体信息,本实施例对此不作具体限制。It should be noted that both the expression form of the first multimedia information and the expression form of the second multimedia information can be text, behavior track, behavior state, path image, scene image, path animation, sound, video, etc., in There is no specific limitation here. For example, when the expression form of the first multimedia information and the expression form of the second multimedia information are both scene images, the second altitude parameter corresponding to the scene can be obtained according to the scene in the second multimedia information, and Calculate the first altitude parameter according to the second altitude parameter and the altitude change parameter, and convert the first altitude parameter into a corresponding scene image, which is the first multimedia information, which is not specifically limited in this embodiment .
需要说明的是,第二多媒体信息和第一多媒体信息对应于不同的海拔参数的情况多种,比如第二多媒体信息和第一多媒体信息分别对应于不同山体的不同海拔参数,或者第二多媒体信息和第一多媒体信息分别对应于同一山体的不同海拔参数等等,本实施例对此不做具体限制。比如,当第二多媒体信息和第一多媒体信息分别对应于同一山体的不同海拔参数,且第一多媒体信息的表现形式和第二多媒体信息的表现形式均为景物图像时,第一多媒体信息可以为A山体中位置变化前景物的图像,第二多媒体信息可以为A山体中位置变化后景物的图像;或者,当第二多媒体信息和第一多媒体信息分别对应于不同山体的不同海拔参数,且第一多媒体信息的表现形式和第二多媒体信息的表现形式均为景物图像时,第一多媒体信息可以为A山体景物的图像,第二多媒体信息可以为B山体景物的图像。It should be noted that there are many cases where the second multimedia information and the first multimedia information correspond to different altitude parameters. For example, the second multimedia information and the first multimedia information correspond to different altitude parameters of different mountains. The altitude parameter, or the second multimedia information and the first multimedia information respectively correspond to different altitude parameters of the same mountain body, etc., which are not specifically limited in this embodiment. For example, when the second multimedia information and the first multimedia information respectively correspond to different altitude parameters of the same mountain, and the representation forms of the first multimedia information and the representation form of the second multimedia information are both scene images , the first multimedia information may be an image of a foreground object whose position changes in A mountain, and the second multimedia information may be an image of a scene after a position change in A mountain; or, when the second multimedia information and the first When the multimedia information corresponds to different altitude parameters of different mountains, and the representation forms of the first multimedia information and the representation form of the second multimedia information are both scene images, the first multimedia information may be A mountain For the image of the scene, the second multimedia information may be an image of the scene of the B mountain.
需要说明的是,预设阈值可以是一个具体的数值,比如10米或者20米,或者其他取值,预设阈值也可以是一个数值区间,比如0至20米,或者0至40米,或者其他区间,在此不做具体限制。还需要说明的是,在实际应用当中,可能会由于检测误差导致海拔变化参数发生了变化,但实际上用户没有移动,因此,设定预设阈值可以避免误检。比如,假设海拔变化参数是通过将气压计转化得到的,由于影响气压的因素有温度、湿度和高度,当用户所在位置没有发生改变时,若第二多媒体信息是在没有下雨的时候获取到的,而气压计是在下暴雨的时候读取到的,那么读取气压计的时候用户所在位置的温度和适度都发生了变化,从而导致气压值改变,那么通过气压值转换得到的海拔变化参数为非零的数值,因此会发生误检的情况,所以,设定预设阈值可以避免误检。It should be noted that the preset threshold can be a specific value, such as 10 meters or 20 meters, or other values, and the preset threshold can also be a numerical range, such as 0 to 20 meters, or 0 to 40 meters, or Other intervals are not specifically limited here. It should also be noted that in practical applications, the altitude change parameter may change due to detection errors, but the user does not actually move. Therefore, setting a preset threshold can avoid false detection. For example, assuming that the altitude change parameter is obtained by converting the barometer, since the factors affecting the air pressure include temperature, humidity and altitude, when the user's location does not change, if the second multimedia information is when it is not raining Obtained, and the barometer is read when it is raining, then when reading the barometer, the temperature and moderateness of the user's location have changed, resulting in a change in the air pressure value, then the altitude obtained by converting the air pressure value If the variable parameter is a non-zero value, false detection will occur. Therefore, setting a preset threshold can avoid false detection.
还需要说明的是,海拔变化参数的计量单位可以有很多,比如米、千米、公里或者其他计量单位,可以根据实际情况进行选择,在此不做具体限制。It should also be noted that there may be many units of measurement for the altitude change parameter, such as meters, kilometers, kilometers or other units of measurement, which may be selected according to actual conditions, and are not specifically limited here.
本实施例中,可以在海拔变化参数大于预设阈值的情况下,通过第一获取子单元获取第二多媒体信息所对应的第二海拔参数,根据第二海拔参数和海拔变化参数计算得到第一海拔参数,根据第一海拔参数获取第一多媒体信息。因此,本发明实施例达到了根据用户所处的海拔高度而动态更新目标显示区域所显示的多媒体信息的目的,使得目标显示区域所显示的多媒体信息能够跟随用户的位置变化而进行变化,丰富了多媒体信息的显示方式,从而能够优化智能终端的显示效果,增强视觉效果,有利于提高用户的使用体验。In this embodiment, when the altitude change parameter is greater than the preset threshold, the second altitude parameter corresponding to the second multimedia information can be acquired by the first acquisition subunit, and calculated according to the second altitude parameter and the altitude change parameter The first altitude parameter is to acquire the first multimedia information according to the first altitude parameter. Therefore, the embodiment of the present invention achieves the purpose of dynamically updating the multimedia information displayed in the target display area according to the user's altitude, so that the multimedia information displayed in the target display area can change as the user's location changes, enriching the The display mode of multimedia information can optimize the display effect of the smart terminal, enhance the visual effect, and help improve the user experience.
在一实施例中,在目标显示区域显示有第二多媒体信息,第二多媒体信息和第一多媒体信息对应于相同的海拔参数的情况下,信息获取单元包括:In an embodiment, when the target display area displays the second multimedia information, and the second multimedia information and the first multimedia information correspond to the same altitude parameter, the information obtaining unit includes:
第二获取子单元,用于当海拔变化参数小于或者等于预设阈值,获取第二多媒体信息所对应的第二海拔参数,根据第二海拔参数获取第一多媒体信息。The second acquiring subunit is configured to acquire a second altitude parameter corresponding to the second multimedia information when the altitude change parameter is less than or equal to a preset threshold, and acquire the first multimedia information according to the second altitude parameter.
在本实施例中,可以在海拔变化参数小于或者等于预设阈值的情况下,通过第二获取子单元获取第二多媒体信息所对应的第二海拔参数,根据第二海拔参数获取第一多媒体信息。因此,本发明实施例达到了根据用户所处的海拔高度而动态更新目标显示区域所显示的多媒体信息的目的,使得目标显示区域所显示的多媒体信息能够跟随用户的位置变化而进行变化,丰富了多媒体信息的显示方式,从而能够优化智能终端的显示效果,增强视觉效果,有利于提高用户的使用体验。In this embodiment, when the altitude change parameter is less than or equal to the preset threshold, the second altitude parameter corresponding to the second multimedia information can be acquired by the second acquisition subunit, and the first altitude parameter can be acquired according to the second altitude parameter. multimedia information. Therefore, the embodiment of the present invention achieves the purpose of dynamically updating the multimedia information displayed in the target display area according to the user's altitude, so that the multimedia information displayed in the target display area can change as the user's location changes, enriching the The display mode of multimedia information can optimize the display effect of the smart terminal, enhance the visual effect, and help improve the user experience.
需要说明的是,第二多媒体信息和第一多媒体信息对应于相同的海拔参数的情况有很多,比如,第二多媒体信息和第一多媒体信息可以表示为处于同一山体上相同的海拔参数的不同角度的多媒体信息,或者第二多媒体信息和第一多媒体信息可以表示为处于相同海拔高度的不同山体上相同的海拔参数的多媒体信息,又或者第二多媒体信息和第一多媒体信息可以表示为处于不同海拔高度的不同山体上相同的海拔参数的多媒体信息,在此不做具体限制。It should be noted that there are many cases where the second multimedia information and the first multimedia information correspond to the same altitude parameter. For example, the second multimedia information and the first multimedia information may be represented as being on the same mountain Multimedia information at different angles with the same altitude parameter, or the second multimedia information and the first multimedia information can be expressed as multimedia information with the same altitude parameter on different mountains at the same altitude, or the second multimedia information The media information and the first multimedia information may be expressed as multimedia information with the same altitude parameter on different mountains at different altitudes, and no specific limitation is set here.
在一实施例中,在目标显示区域显示有第二多媒体信息,第二多媒体信息包括背景元素和标记元素,背景元素包括目标路径,标记元素叠加显示于目标路径,标记元素对应于第三海拔参数的情况下,信息获取单元包括:In one embodiment, the second multimedia information is displayed in the target display area, the second multimedia information includes a background element and a mark element, the background element includes a target path, the mark element is superimposed on the target path, and the mark element corresponds to In the case of the third altitude parameter, the information acquisition unit includes:
长度获取单元,用于获取目标路径的长度值;A length acquisition unit, configured to acquire the length value of the target path;
位置获取单元,用于获取标记元素在目标路径中的第一位置;a position acquiring unit, configured to acquire the first position of the tag element in the target path;
位置计算单元,用于根据海拔变化参数、第三海拔参数、长度值和第一位置,计算得到标记元素在目标路径中的第二位置;A position calculation unit, configured to calculate the second position of the marker element in the target path according to the altitude change parameter, the third altitude parameter, the length value and the first position;
第三获取子单元,用于将标记元素显示于第二位置,得到第一多媒体信息。The third obtaining subunit is configured to display the mark element at the second position to obtain the first multimedia information.
在本实施例中,可以通过长度获取单元获取目标路径的长度值,通过位置获取单元获取标记元素在目标路径中的第一位置,然后位置计算单元根据海拔变化参数、第三海拔参数、长度值和第一位置,计算得到标记元素在目标路径中的第二位置,最后第三获取子单元将标记元素显示于第二位置,得到第一多媒体信息,因此,本发明实施例可以根据用户的行为轨迹而动态得到新的多媒体信息,使得目标显示区域所显示的多媒体信息能够跟随用户的位置变化而进行变化,丰富了多媒体信息的显示方式,从而能够优化智能终端的显示效果,增强视觉效果,有利于提高用户的使用体验。In this embodiment, the length value of the target path can be acquired by the length acquisition unit, the first position of the marking element in the target path can be acquired by the position acquisition unit, and then the position calculation unit can obtain the target path according to the altitude change parameter, the third altitude parameter, and the length value and the first position, the second position of the marking element in the target path is calculated, and finally the third acquisition subunit displays the marking element at the second position to obtain the first multimedia information. Therefore, the embodiment of the present invention can be based on the user Dynamically obtain new multimedia information based on the user's behavior trajectory, so that the multimedia information displayed in the target display area can change with the user's position, enriching the display mode of multimedia information, thereby optimizing the display effect of smart terminals and enhancing visual effects , which is conducive to improving the user experience.
需要说明的是,第二多媒体信息可以包括背景元素和标记元素,或者可以单独包括标记元素或背景元素,又或者可以包括其他可以标记第二多媒体信息的元素等等,在此不做具体限制,其中,背景元素可以包括目标路径,而标记元素可以叠加显示于目标路径上。It should be noted that the second multimedia information may include a background element and a mark element, or may include a mark element or a background element alone, or may include other elements that can mark the second multimedia information, etc. With specific limitations, the background element may include the target path, and the marker element may be superimposed on the target path.
在一可选的实施例中,目标显示区域以动画的表现形式展示标记元素的行为轨迹,假设第一位置的路径为0,目标路径的长度值为L,标记元素对应的第三海拔参数为H,现监测到海拔高度发生变化,获取高度变化的绝对值h,即海拔变化参数为h,则可以采用如下公式(1)计算得到标记元素在目标路径中的第二位置M,即:In an optional embodiment, the target display area displays the behavior track of the marker element in the form of animation, assuming that the path at the first position is 0, the length of the target path is L, and the third altitude parameter corresponding to the marker element is H, now the altitude change is detected, and the absolute value h of the altitude change is obtained, that is, the altitude change parameter is h, then the second position M of the marker element in the target path can be calculated by using the following formula (1), namely:
需要说明的是,在目标路径中标记元素从第一位置到第二位置M的路径轨迹可以以动画的形式表示,其中,该路径轨迹是由标记元素叠加显示得到的,即是说,路径轨迹中的其它位置的图示也可以随参数的变化而通过公式(1)计算得到,其中,多媒体信息更新前的标记元素在第一位置(即第二多媒体信息)的图示如图7所示,多媒体信息更新过程中的标记元素在其它位置的图示如图8所示,多媒体信息更新后标记元素在第二位置的图像(即第一多媒体信息)如图9所示。It should be noted that the path trajectory of the marker element from the first position to the second position M in the target path can be represented in the form of animation, wherein the path trajectory is obtained by superimposing and displaying the marker elements, that is to say, the path trajectory The illustrations of other positions in can also be calculated by the formula (1) with the change of parameters, wherein, the illustration of the mark element at the first position (that is, the second multimedia information) before the multimedia information is updated is shown in Figure 7 As shown in FIG. 8 , an image of the mark element at other positions during the update of the multimedia information is shown in FIG. 9 , and an image of the mark element at the second position (namely the first multimedia information) after the update of the multimedia information is shown in FIG. 9 .
需要说明的是,目标路径可以是曲线路径,也可以是直线路径等等,其中,曲线路径可以是闭合的曲线路径,也可以是非闭合的曲线路径,在此不做具体限制。It should be noted that the target path may be a curved path or a straight path, etc., wherein the curved path may be a closed curved path or an open curved path, which is not specifically limited here.
需要说明的是,第一位置可以是目标路径的起始位置,也可以是目标路径的其他位置,在此不做具体限制。It should be noted that the first location may be the starting location of the target path, or other locations of the target path, which is not specifically limited here.
需要说明的是,第二位置可以是目标路径的起始位置或者终点位置,也可以是目标路径的其他位置,当第二位置为目标路径的起始位置时,说明用户并没有移动,在此不做具体限制。It should be noted that the second location may be the starting location or the ending location of the target path, or other locations of the target path. When the second location is the starting location of the target path, it means that the user has not moved. Here No specific restrictions are made.
在一实施例中,区域确定单元包括:In one embodiment, the area determination unit includes:
状态检测单元,用于检测电子设备的前运行状态;A state detection unit, used to detect the previous running state of the electronic equipment;
区域确定子单元,用于当前运行状态为预设的目标运行状态,根据该目标运行状态确定目标显示区域。The area determining subunit is used for determining the target display area according to the target operating state where the current operating state is a preset target operating state.
在一实施例中,目标运行状态可以包括如下之一:In an embodiment, the target operating state may include one of the following:
(1)锁屏状态;(1) Lock screen status;
(2)息屏状态;(2) The state of the screen;
(3)响应于触发信号而在目标显示区域中显示第二多媒体信息的运行状态。(3) Displaying the running state of the second multimedia information in the target display area in response to the trigger signal.
在一可行的实施例中,假设目标运行状态为第(3)点的状态,即响应于触发信号而在目标显示区域显示第二多媒体信息的运行状态,可以通过状态检测单元检测电子设备当前运行状态,若该的电子设备的当前运行状态为解锁的状态,点击该电子设备中的应用软件,该应用软件打开后整个屏幕或者屏幕中的局部位置显示第二多媒体信息的运行状态,则区域确定子单元可以确定目标显示区域为该应用软件打开后整个屏幕或者屏幕中的局部位置,当海拔变化参数大于预设阈值时,可以将第一多媒体信息更新至该目标显示区域,其中,“点击该电子设备中的该应用软件”中的“点击”会产生对应的触发信号,本发明实施例对此不作具体限制。In a feasible embodiment, assuming that the target operating state is the state of point (3), that is, the operating state of the second multimedia information is displayed in the target display area in response to the trigger signal, and the electronic device can be detected by the state detection unit Current running state, if the current running state of the electronic device is unlocked, click on the application software in the electronic device, the entire screen or a partial position in the screen will display the running state of the second multimedia information after the application software is opened , the area determination subunit can determine that the target display area is the entire screen or a partial position in the screen after the application software is opened, and when the altitude change parameter is greater than a preset threshold, the first multimedia information can be updated to the target display area , wherein the "click" in "click the application software in the electronic device" will generate a corresponding trigger signal, which is not specifically limited in this embodiment of the present invention.
在一可行的实施例中,假设目标运行状态为第(1)中状态,即锁屏状态,通过状态检测单元检测到该电子设备当前运行状态为锁屏状态,该当前运行状态为预设的目标运行状态,则区域确定子单元可以确定目标显示区域为锁屏壁纸在屏幕中所处的位置,当海拔变化参数大于预设阈值时,可以将第一多媒体信息更新至该目标显示区域,其中,该壁纸可以是动态壁纸,也是可以是静态壁纸,本发明实施例对此不作具体限制。In a feasible embodiment, assuming that the target running state is the state in (1), that is, the lock screen state, the state detection unit detects that the current running state of the electronic device is the lock screen state, and the current running state is the preset In the target running state, the area determination subunit can determine that the target display area is the position of the lock screen wallpaper on the screen, and when the altitude change parameter is greater than a preset threshold, the first multimedia information can be updated to the target display area , where the wallpaper may be a dynamic wallpaper or a static wallpaper, which is not specifically limited in this embodiment of the present invention.
在一可行的实施例中,假设目标运行状态为第(2)中状态,即息屏状态,通过状态检测单元检测到该电子设备所处状态为息屏状态,该当前运行状态为预设的目标运行状态,则区域确定子单元可以确定目标显示区域为息屏壁纸在屏幕中所处的位置,当海拔变化参数大于预设阈值时,可以将第一多媒体信息更新至该目标显示区域,其中,该壁纸可以是动态壁纸,也是可以是静态壁纸,本发明实施例对此不作具体限制。In a feasible embodiment, assuming that the target operating state is the state in (2), that is, the off-screen state, the state detection unit detects that the electronic device is in the off-screen state, and the current operating state is the preset In the target running state, the area determination subunit can determine that the target display area is the position of the screen wallpaper on the screen, and when the altitude change parameter is greater than the preset threshold, the first multimedia information can be updated to the target display area , where the wallpaper may be a dynamic wallpaper or a static wallpaper, which is not specifically limited in this embodiment of the present invention.
在一实施例中,当该当前运行状态为息屏状态,在海拔变化参数大于预设阈值的情况下,当检测到预设触发条件被触发,可以将第一多媒体信息更新至目标显示区域,在此不做具体限制。例如,假设电子设备为手机,手机的当前运行状态为息屏状态,若获取到的海拔变化参数大于预设阈值时,将手机抬起,或者当手机的前置摄像头捕抓到用户的眼睛或者面部等时,第一多媒体信息将自动更新至手机的目标显示区域,其中,“抬起”动作和“捕抓用户的眼睛或者面部等”均为预设触发条件,当然,预设触发条件还可以是其他能够触发电子设备在目标显示区域显示第一多媒体信息的指令信息、操作动作等,本发明实施例对此不作具体限制。In an embodiment, when the current running state is the off-screen state and the altitude change parameter is greater than the preset threshold, when it is detected that the preset trigger condition is triggered, the first multimedia information can be updated to the target display The area is not specifically limited here. For example, suppose the electronic device is a mobile phone, and the current operating state of the mobile phone is the off-screen state. If the obtained altitude change parameter is greater than the preset threshold, the mobile phone is lifted up, or when the front camera of the mobile phone captures the user's eyes or When the face is waiting, the first multimedia information will be automatically updated to the target display area of the mobile phone. Among them, the "lifting" action and "catching the user's eyes or face" are preset trigger conditions. Of course, the preset trigger The condition may also be other instruction information, operation actions, etc. that can trigger the electronic device to display the first multimedia information in the target display area, which is not specifically limited in this embodiment of the present invention.
需要说明的是,电子设备可以是装置,也可以是终端中的部件、集成电路或者是芯片等,当电子设备为装置时,该装置可以是移动电子设备,比如手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人、计算机(ultra-mobile personalcomputer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,也可以为非移动电子设备,本发明实施例不作具体限定。本发明实施例有利于帮助年长的用户独立操作电子设备,当该电子设备为移动电子设备时,年长的用户可以通过他人的帮助独立使用该电子设备,使得受助人可以不受时间或者空间的限制在他人的帮助下操作电子设备,非常灵活且高效,有利于提高用户体验。It should be noted that an electronic device may be a device, or a component in a terminal, an integrated circuit, or a chip, etc. When the electronic device is a device, the device may be a mobile electronic device, such as a mobile phone, a tablet computer, a notebook computer, Handheld computers, vehicle-mounted electronic devices, wearable devices, ultra-mobile personal computers, computers (ultra-mobile personalcomputer, UMPC), netbooks, or personal digital assistants (personal digital assistant, PDA), etc., may also be non-mobile electronic devices, and the present invention implements Examples are not specifically limited. Embodiments of the present invention are beneficial to help elderly users to operate electronic devices independently. When the electronic device is a mobile electronic device, the elderly user can use the electronic device independently with the help of others, so that the recipient can Space constraints Operating electronic devices with the help of others is very flexible and efficient, which is conducive to improving user experience.
还需要说明的是,电子设备可以为具有操作系统的装置,其中该操作系统可以为安卓(Android)操作系统,可以为IOS(Input Output System,输入输出系统)操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。It should also be noted that the electronic device can be a device with an operating system, where the operating system can be an Android (Android) operating system, an IOS (Input Output System, input and output system) operating system, or other possible The operating system is not specifically limited in this embodiment of the present invention.
需要说明的是,由于本实施例的电子设备能够实现如前面任意实施例的多媒体信息显示方法,因此本实施例的电子设备与前面任意实施例的多媒体信息显示方法,具有相同的技术原理以及相同的技术效果,为了避免内容重复冗余,此处不再赘述。It should be noted that since the electronic device in this embodiment can implement the multimedia information display method in any of the preceding embodiments, the electronic device in this embodiment has the same technical principle and the same In order to avoid repetitive and redundant content, the technical effects will not be repeated here.
另外,参照图11所示,本发明的一个实施例还提供了一种电子设备,该电子设备200包括存储器202、处理器201及存储在存储器202上并可在处理器201上运行的计算机程序。In addition, as shown in FIG. 11 , an embodiment of the present invention also provides an electronic device, the electronic device 200 includes a memory 202, a processor 201, and a computer program stored in the memory 202 and operable on the processor 201. .
处理器201和存储器202可以通过总线或者其他方式连接。The processor 201 and the memory 202 may be connected through a bus or other means.
存储器202作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序以及非暂态性计算机可执行程序。此外,存储器202可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施方式中,存储器202可选包括相对于处理器201远程设置的存储器,这些远程存储器可以通过网络连接至该处理器201。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 202, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. In addition, the memory 202 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some implementations, the memory 202 may optionally include memories that are remotely located relative to the processor 201, and these remote memories may be connected to the processor 201 through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
需要说明的是,本实施例中的电子设备200,可以为例如图1所示实施例中的的电子设备,这些实施例均属于相同的发明构思,因此这些实施例具有相同的实现原理以及技术效果,此处不再详述。It should be noted that the electronic device 200 in this embodiment can be, for example, the electronic device in the embodiment shown in FIG. effect, which will not be described in detail here.
实现上述实施例的多媒体信息显示方法所需的非暂态软件程序以及指令存储在存储器202中,当被处理器201执行时,执行上述实施例中的多媒体信息显示方法,例如,执行以上描述的图1中的方法步骤S110至S140、图3中的方法步骤S210、图5中的方法步骤S310、图6中的方法步骤S410至S440。The non-transitory software programs and instructions required to realize the multimedia information display method of the above-mentioned embodiment are stored in the memory 202, and when executed by the processor 201, the multimedia information display method in the above-mentioned embodiment is executed, for example, the above-described Method steps S110 to S140 in FIG. 1 , method steps S210 in FIG. 3 , method steps S310 in FIG. 5 , and method steps S410 to S440 in FIG. 6 .
以上所描述的设备实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
此外,本发明的一个实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个处理器或控制器执行,例如,被上述设备实施例中的一个处理器执行,可使得上述处理器执行上述实施例中的多媒体信息显示方法,例如,执行以上描述的图1中的方法步骤S110至S140、图3中的方法步骤S210、图5中的方法步骤S310、图6中的方法步骤S410至S440。In addition, an embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by a processor or a controller, for example, by the above-mentioned Execution by a processor in the device embodiment can cause the above processor to execute the multimedia information display method in the above embodiment, for example, execute the method steps S110 to S140 in FIG. 1 and the method steps S210 in FIG. 3 described above, Method step S310 in FIG. 5 , method steps S410 to S440 in FIG. 6 .
此外,本发明的一个实施例还提供了一种计算机程序产品,包括计算机程序或计算机指令,计算机程序或计算机指令存储在计算机可读存储介质中,计算机设备的处理器从计算机可读存储介质读取计算机程序或计算机指令,处理器执行计算机程序或计算机指令,使得计算机设备执行上述实施例中的多媒体信息显示方法,例如,执行以上描述的图1中的方法步骤S110至S140、图3中的方法步骤S210、图5中的方法步骤S310、图6中的方法步骤S410至S440。In addition, an embodiment of the present invention also provides a computer program product, including computer programs or computer instructions, the computer programs or computer instructions are stored in a computer-readable storage medium, and the processor of the computer device reads the computer-readable storage medium from the computer-readable storage medium. Take the computer program or computer instruction, the processor executes the computer program or computer instruction, so that the computer device executes the multimedia information display method in the above-mentioned embodiment, for example, executes the method steps S110 to S140 in Fig. 1 described above, and the method steps in Fig. 3 Method step S210 , method step S310 in FIG. 5 , method steps S410 to S440 in FIG. 6 .
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统可以被实施为软件、固件、硬件及其适当的组合。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those skilled in the art can understand that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware and an appropriate combination thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit . Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As known to those of ordinary skill in the art, the term computer storage media includes both volatile and nonvolatile media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. permanent, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tape, magnetic disk storage or other magnetic storage devices, or can Any other medium used to store desired information and which can be accessed by a computer. In addition, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
以上是对本发明的较佳实施进行了具体说明,但本发明并不局限于上述实施方式,熟悉本领域的技术人员在不违背本发明精神的前提下还可作出种种的等同变形或替换,这些等同的变形或替换均包含在本发明权利要求所限定的范围内。The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above-mentioned implementation, and those skilled in the art can also make various equivalent deformations or replacements without violating the spirit of the present invention. Equivalent modifications or replacements are all within the scope defined by the claims of the present invention.
Claims (10)
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210177343.XA CN116700645A (en) | 2022-02-24 | 2022-02-24 | Multimedia information display method, electronic device, and computer-readable storage medium |
JP2024541076A JP2024546198A (en) | 2022-02-24 | 2022-12-01 | Multimedia information display method, electronic device, and computer-readable storage medium |
PCT/CN2022/135977 WO2023160104A1 (en) | 2022-02-24 | 2022-12-01 | Multimedia information display method, and electronic device and computer-readable storage medium |
MX2024010277A MX2024010277A (en) | 2022-02-24 | 2022-12-01 | MULTIMEDIA INFORMATION DISPLAY METHOD, AND ELECTRONIC DEVICE AND COMPUTER-READABLE STORAGE MEDIUM. |
AU2022443249A AU2022443249A1 (en) | 2022-02-24 | 2022-12-01 | Multimedia information display method, and electronic device and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210177343.XA CN116700645A (en) | 2022-02-24 | 2022-02-24 | Multimedia information display method, electronic device, and computer-readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116700645A true CN116700645A (en) | 2023-09-05 |
Family
ID=87764600
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210177343.XA Pending CN116700645A (en) | 2022-02-24 | 2022-02-24 | Multimedia information display method, electronic device, and computer-readable storage medium |
Country Status (5)
Country | Link |
---|---|
JP (1) | JP2024546198A (en) |
CN (1) | CN116700645A (en) |
AU (1) | AU2022443249A1 (en) |
MX (1) | MX2024010277A (en) |
WO (1) | WO2023160104A1 (en) |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3267463B2 (en) * | 1995-01-23 | 2002-03-18 | 松下電器産業株式会社 | Landscape display device |
JP3851187B2 (en) * | 2002-02-28 | 2006-11-29 | アルパイン株式会社 | Height difference and altitude display method and apparatus |
JP2004325777A (en) * | 2003-04-24 | 2004-11-18 | Masahiro Abe | Road information system of on-vehicle navigation and road information measurement method therefor, road surface altitude value measurement system, and navigation using the same system |
JP2007101526A (en) * | 2005-09-06 | 2007-04-19 | Sony Corp | Apparatus, method, and program for detecting speed and position and navigation system |
JP2013231634A (en) * | 2012-04-27 | 2013-11-14 | Hitachi Consumer Electronics Co Ltd | Position information providing system, navigation system, and terminal device |
JP2014041046A (en) * | 2012-08-22 | 2014-03-06 | Sharp Corp | Terminal device, information processing method, and program |
WO2014047250A1 (en) * | 2012-09-20 | 2014-03-27 | Google Inc. | Detecting road weather conditions |
CN107576333B (en) * | 2013-06-07 | 2020-08-11 | 横滨橡胶株式会社 | Travel route display device, travel route display method, and travel route display program |
MY184651A (en) * | 2014-01-20 | 2021-04-14 | Pillay Venkateshwara | A system for mapping and tracking ground targets |
CN105716608A (en) * | 2015-11-23 | 2016-06-29 | 南京华苏科技股份有限公司 | Positioning and display method of motion trajectories in building |
WO2017193252A1 (en) * | 2016-05-09 | 2017-11-16 | 深圳市沃特沃德股份有限公司 | Apparatus, system and method for recording and presenting animal movement track |
CN108061552A (en) * | 2016-11-09 | 2018-05-22 | 杭州植嘉科技有限公司 | A kind of method that outdoor sports path creates and reappears |
JP6805871B2 (en) * | 2017-02-16 | 2020-12-23 | トヨタ自動車株式会社 | Image processing device |
ES2946003T3 (en) * | 2017-05-02 | 2023-07-11 | Huawei Tech Co Ltd | Method and electronic device for processing notices |
JP7081825B2 (en) * | 2019-06-20 | 2022-06-07 | 株式会社テクノクラフト | Height difference display system |
-
2022
- 2022-02-24 CN CN202210177343.XA patent/CN116700645A/en active Pending
- 2022-12-01 MX MX2024010277A patent/MX2024010277A/en unknown
- 2022-12-01 WO PCT/CN2022/135977 patent/WO2023160104A1/en active Application Filing
- 2022-12-01 JP JP2024541076A patent/JP2024546198A/en active Pending
- 2022-12-01 AU AU2022443249A patent/AU2022443249A1/en active Pending
Also Published As
Publication number | Publication date |
---|---|
AU2022443249A1 (en) | 2024-09-19 |
JP2024546198A (en) | 2024-12-17 |
MX2024010277A (en) | 2024-08-28 |
WO2023160104A1 (en) | 2023-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102077305B1 (en) | Method and apparatus for providing contents including augmented reality information | |
CN111381909B (en) | Page display method and device, terminal equipment and storage medium | |
KR20230095895A (en) | Method and apparatus for processing metadata | |
US10521468B2 (en) | Animated seek preview for panoramic videos | |
US20170185215A1 (en) | Method for controlling content and electronic device thereof | |
CN112422804B (en) | Video special effect generation method and terminal | |
CN102012805B (en) | Custom cursor realization method and device | |
CN109815462B (en) | Text generation method and terminal equipment | |
CN103309560A (en) | Method and terminal for displaying information on multiple interfaces | |
CN108427533A (en) | The method of electronic equipment and environment for determining electronic equipment | |
CN104536990B (en) | A kind of image display method and terminal | |
CN112380929B (en) | Method and device for acquiring highlight segments, electronic equipment and storage medium | |
CN118568289B (en) | Target positioning method and related equipment | |
KR102439786B1 (en) | Method for sharing content information and electronic device thereof | |
CN107977276A (en) | A kind of based reminding method of Changes in weather, device and mobile terminal | |
CN108230014A (en) | Electronic device and the method that webpage is shown using electronic device | |
US20150009363A1 (en) | Video tagging method | |
CN105549989A (en) | Method and system for dynamically setting shortcut operation | |
CN112199534A (en) | Sticker recommendation method and device, electronic equipment and storage medium | |
CN113747073B (en) | Video shooting method and device and electronic equipment | |
RU2608470C2 (en) | User data update method and device | |
CN112163062B (en) | Data processing method and device, computer equipment and storage medium | |
US20130229440A1 (en) | State aware tile visualization | |
CN116700645A (en) | Multimedia information display method, electronic device, and computer-readable storage medium | |
US20150112997A1 (en) | Method for content control and electronic device thereof |
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 |