CN111698550A - Information display method and device, electronic equipment and medium - Google Patents
Information display method and device, electronic equipment and medium Download PDFInfo
- Publication number
- CN111698550A CN111698550A CN202010478340.0A CN202010478340A CN111698550A CN 111698550 A CN111698550 A CN 111698550A CN 202010478340 A CN202010478340 A CN 202010478340A CN 111698550 A CN111698550 A CN 111698550A
- Authority
- CN
- China
- Prior art keywords
- information
- target
- target video
- graphic code
- video
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47217—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4882—Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/854—Content authoring
- H04N21/8547—Content authoring involving timestamps for synchronizing content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
- H04N21/8586—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
技术领域technical field
本申请实施例涉及通信技术领域,尤其涉及一种信息显示的方法、装置、电子设备及介质。The embodiments of the present application relate to the field of communication technologies, and in particular, to a method, an apparatus, an electronic device, and a medium for displaying information.
背景技术Background technique
随着通信技术的逐渐发展,图形码凭借具有信息容量大、解码范围广和译码可靠性高等特点,在电子设备上的应用逐渐增多。例如,用户在观看视频时,视频的场景画面中可以存在图形码,以便于用户扫描图形码获取图形码的内容信息。With the gradual development of communication technology, the application of graphic codes in electronic equipment is gradually increasing due to the characteristics of large information capacity, wide decoding range and high decoding reliability. For example, when a user watches a video, a graphic code may exist in a scene picture of the video, so that the user can scan the graphic code to obtain content information of the graphic code.
但是,由于图形码存在于视频的场景画面中,所以用户若是想要查看图形码,只能是通过调整视频的播放进度,将当前播放的视频暂停在具有图形码的画面上,才可以查看图形码的信息内容。如果视频中存在多个图形码时,用户就只能频繁的调整视频的播放进度,才可以查看该视频中的多个图形码的内容信息,如此,用户的使用操作较为繁琐。However, since the graphics code exists in the scene screen of the video, if the user wants to view the graphics code, he can only view the graphics by adjusting the playback progress of the video and pausing the currently playing video on the screen with the graphics code. information content of the code. If there are multiple graphic codes in the video, the user can only frequently adjust the playback progress of the video before viewing the content information of the multiple graphic codes in the video. Thus, the user's operation is cumbersome.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种信息显示的方法、电子设备及介质,能够将视频中存在的图形码通过信息标识的方式显示在预设区域,使得用户可以更加方便的查看视频中的图形码,简化用户的操作。Embodiments of the present application provide an information display method, electronic device, and medium, which can display graphic codes existing in a video in a preset area by means of information identification, so that users can more conveniently view graphic codes in a video, simplifying user's actions.
第一方面,本申请实施例提供了一种信息显示的方法,应用于电子设备,包括:In a first aspect, an embodiment of the present application provides a method for displaying information, which is applied to an electronic device, including:
在播放目标视频的过程中,从目标视频的统一资源定位符(Uniform ResourceLocator,URL)或视频文件信息中查找信息标识;信息标识与目标视频中包括的图形码相关联;In the process of playing the target video, the information identification is searched from the uniform resource locator (Uniform ResourceLocator, URL) of the target video or the video file information; the information identification is associated with the graphic code included in the target video;
在查找到至少一个信息标识的情况下,在预设区域显示信息标识;In the case of finding at least one information identification, displaying the information identification in the preset area;
接收用户对信息标识的第一输入;receiving the first input of the information identifier by the user;
响应于第一输入,编辑信息标识。In response to the first input, the information identification is edited.
第二方面,本申请实施例提供了一种信息显示装置,包括:In a second aspect, an embodiment of the present application provides an information display device, including:
查询模块,用于在播放目标视频的过程中,从目标视频的统一资源定位符URL或视频文件信息中查找信息标识;信息标识与目标视频中包括的图形码相关联;The query module is used to find the information identification from the uniform resource locator URL of the target video or the video file information in the process of playing the target video; the information identification is associated with the graphic code included in the target video;
第一显示模块,用于在查找到至少一个信息标识的情况下,在预设区域显示信息标识;a first display module, configured to display the information identification in a preset area when at least one information identification is found;
第一接收模块,用于接收用户对信息标识的第一输入;a first receiving module, configured to receive the first input of the information identifier by the user;
编辑模块,用于响应于第一输入,编辑信息标识。The editing module is used for editing the information identification in response to the first input.
第三方面,本申请实施例提供了一种电子设备,包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行所述计算机程序时实现如第一方面所述的信息显示的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, the implementation of the first aspect is achieved. the steps of the method for displaying the information described.
第四方面,本申请实施例提供了一种可读存储介质,可读存储介质上存储计算机程序,计算机程序被处理器执行时实现如第一方面所述的信息显示的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the steps of the method for displaying information described in the first aspect are implemented.
在本申请实施例中,电子设备在播放目标视频的过程中,就可以将目标视频中存在的图形码通过信息标识的方式显示在预设区域,使得用户不再需要频繁的调整视频的播放进度,使视频画面停留在具有图形码的画面上,才可以查看该视频中的图形码,而是只需在预设区域内就可以查看到与目标视频中的图形码相关联的信息标识,从而简化了用户的操作,降低用户的操作繁琐程度,并且用户还可以通过对信息标识的输入,实现信息标识的自定义编辑,进而满足用户对于信息标识的不同需求。In the embodiment of the present application, during the process of playing the target video, the electronic device can display the graphic code existing in the target video in the preset area by means of information identification, so that the user no longer needs to frequently adjust the playback progress of the video. , so that the video picture stays on the picture with the graphic code, and then the graphic code in the video can be viewed, but the information identification associated with the graphic code in the target video can be viewed only in the preset area, thus The operation of the user is simplified, the complexity of the operation of the user is reduced, and the user can also realize the customized editing of the information identification through the input of the information identification, thereby meeting the different needs of the user for the information identification.
附图说明Description of drawings
从下面结合附图对本申请的具体实施方式的描述中可以更好地理解本申请其中,相同或相似的附图标记表示相同或相似的特征。The present application can be better understood from the following description of specific embodiments of the present application in conjunction with the accompanying drawings, wherein the same or similar reference numerals denote the same or similar features.
图1为本申请一个实施例提供的信息显示的方法的第一流程示意图;FIG. 1 is a first schematic flowchart of a method for displaying information provided by an embodiment of the present application;
图2为本申请一个实施例中提供的信息显示的方法的第二流程示意图;2 is a second schematic flowchart of a method for displaying information provided in an embodiment of the present application;
图3为本申请一个实施例提供的信息显示的方法的第三流程示意图;3 is a third schematic flowchart of a method for displaying information provided by an embodiment of the present application;
图4为本申请一个实施例提供的信息显示的方法的第四流程示意图;4 is a fourth schematic flowchart of a method for displaying information provided by an embodiment of the present application;
图5为本申请一个实施例提供的信息显示装置的结构示意图;FIG. 5 is a schematic structural diagram of an information display device provided by an embodiment of the present application;
图6为实现本申请各个实施例的一种电子设备的硬件结构示意图。FIG. 6 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
随着图形码被逐渐的应用在电子设备的各个使用场景下,便于用户查看图形码信息就显得尤为重要。在一些场景下,图形码会存在视频的播放画面中,用户在观看视频时,通过扫描画面中的图形码就可以获取图形码的内容信息。As graphic codes are gradually applied in various usage scenarios of electronic devices, it is particularly important to facilitate users to view graphic code information. In some scenarios, the graphic code will exist in the video playback screen, and the user can obtain the content information of the graphic code by scanning the graphic code in the screen when watching the video.
但是,由于视频播放画面会实时发生改变,极有可能是还没有等用户扫描图形码,视频的播放画面就已经发生了改变。因此,用户只能是将画面暂停,才可以通过扫描图形码获取图形码的内容信息。一旦视频中存在多个图形码,用户若是想要获取全部的图形码的内容信息,就只能频繁的调整视频的播放进度,才可以查看该视频中的多个图形码的内容信息,如此,用户的使用操作较为繁琐。However, since the video playback screen will change in real time, it is very likely that the video playback screen has changed before the user scans the graphic code. Therefore, the user can only obtain the content information of the graphic code by scanning the graphic code by suspending the screen. Once there are multiple graphic codes in the video, if the user wants to obtain the content information of all the graphic codes, he can only adjust the playback progress of the video frequently, and then he can view the content information of the multiple graphic codes in the video. In this way, The operation of the user is more complicated.
为了解决上述的问题,本申请实施例提供了一种使得用户可以更加方便的查看视频中存在的图形码,简化用户的操作的信息显示的方法、电子设备及介质。In order to solve the above problems, the embodiments of the present application provide a method, an electronic device and a medium for information display that enables a user to more conveniently view graphic codes existing in a video and simplifies the user's operation.
图1为本申请一个实施例提供的信息显示的方法的第一流程示意图。如图1所示,该应用于电子设备的信息显示的方法包括:FIG. 1 is a first schematic flowchart of a method for displaying information provided by an embodiment of the present application. As shown in Figure 1, the method for information display applied to an electronic device includes:
S110、在播放目标视频的过程中,从目标视频的URL或视频文件信息中查找信息标识。S110. In the process of playing the target video, look up the information identifier from the URL or video file information of the target video.
其中,信息标识与目标视频中的图形码相关联。信息标识可以是用来表示存在图形码的标签。图形码可以为二维码,也可以为条形码,在此不作任何限定。Wherein, the information identifier is associated with the graphic code in the target video. The information identification may be a label used to indicate the presence of a graphical code. The graphic code may be a two-dimensional code or a barcode, which is not limited herein.
在本申请的一些实施例中,若目标视频为本地视频,则用户通过查找视频文件信息,就可以播放该目标视频。因此,信息标识会被保存在本地视频的视频文件信息中,以便于后续用户在播放目标视频时,可以获取到信息标识。故,目标视频在播放的过程中,若目标视频为本地视频,电子设备可以是在目标视频的视频文件信息中查找信息标识。In some embodiments of the present application, if the target video is a local video, the user can play the target video by searching for video file information. Therefore, the information identifier will be stored in the video file information of the local video, so that the subsequent user can obtain the information identifier when playing the target video. Therefore, during the playback of the target video, if the target video is a local video, the electronic device may search for the information identifier in the video file information of the target video.
然而,若目标视频为在线视频,则用户则是通过目标视频的URL播放该目标视频,因此,信息标识会被保存在目标视频的URL内,后续用户在播放目标视频时,可以获取到信息标识。故,若目标视频为在线视频,电子设备则可以在目标视频的URL中查找信息标识。However, if the target video is an online video, the user plays the target video through the URL of the target video. Therefore, the information identifier will be stored in the URL of the target video, and the user can obtain the information identifier when playing the target video. . Therefore, if the target video is an online video, the electronic device can look up the information identifier in the URL of the target video.
S120、在查找到至少一个信息标识的情况下,在预设区域显示信息标识。S120. In the case that at least one information identifier is found, display the information identifier in a preset area.
在本申请的一些实施例中,若电子设备查找到目标视频中存在至少一个信息标识,则表示该目标视频中存在图形码,即可在预设区域显示信息标识。In some embodiments of the present application, if the electronic device finds that at least one information identifier exists in the target video, it means that there is a graphic code in the target video, and the information identifier can be displayed in the preset area.
在本申请的一些实施例中,预设区域可以是不遮挡目标视频播放画面的区域。例如,是播放画面的上面区域,还可以是目标视频的播放进度条。In some embodiments of the present application, the preset area may be an area that does not block the playback screen of the target video. For example, it is the upper area of the playback screen, or it can be the playback progress bar of the target video.
在本申请的一些实施例中,目标视频的播放画面是在目标视频处于播放过程中时,电子设备通过解码器对目标视频的解码和渲染操作得到。例如:目标视频在播放过程中,电子设备会启动解码器对目标视频进行解码处理,解码器在解码目标视频后会为每一帧视频帧生成一张位图(Bitmap),存放在解码器的缓存中。这样对于一个目标视频而言,解码器中缓存有多张位图。在播放视频的过程中,电子设备就会对每一张位图进行渲染,最终输出目标视频的播放画面。In some embodiments of the present application, the playback picture of the target video is obtained by the electronic device through decoding and rendering operations of the target video by the decoder when the target video is in the playback process. For example, during the playback of the target video, the electronic device will start the decoder to decode the target video. After decoding the target video, the decoder will generate a bitmap for each video frame, which is stored in the decoder's in cache. In this way, for a target video, there are multiple bitmaps cached in the decoder. In the process of playing the video, the electronic device will render each bitmap, and finally output the playing screen of the target video.
S130、接收用户的对信息标识的第一输入。S130. Receive a first input of the information identifier from the user.
其中,第一输入可以是点击输入,也可以是长按输入,也可以是进行一段信息的输入,在此不做任何限定。The first input may be a click input, a long-press input, or an input of a piece of information, which is not limited herein.
S140、响应于第一输入,编辑信息标识。S140. In response to the first input, edit the information identifier.
其中,编辑信息标识可以是删除信息标识,也可以是对该信息标识进行命名,还可以是编辑信息标识的查看权限。The editing information identifier may be deleting the information identifier, naming the information identifier, or editing the viewing authority of the information identifier.
例如,在用户对信息标识进行删除后,用户在将目标视频分享至其他的用户,并且在其他用户播放该分享的目标视频时,其他用户不会看到已经被分享者删除的信息标识,从而满足分享者对于目标视频的使用需求。For example, after the user deletes the information identifier, the user shares the target video with other users, and when other users play the shared target video, other users will not see the information identifier that has been deleted by the sharer, thus Meet the needs of the sharer for the use of the target video.
再如,将信息标识1命名为“重要”、“必扫”、“购物”、“支付”等名称,以便后续其他用户在播放该目标视频时,可以直接基于该信息标识的名称就了解该信息标识对应的图形码的内容和重要程度。For another example, name the information identifier 1 as "important", "must scan", "shopping", "payment", etc., so that when other users play the target video in the future, they can learn about the target video directly based on the name of the information identifier. The information identifies the content and importance of the corresponding graphic code.
又如,将信息标识1设置为仅用户A可查看,则在目标视频发送至用户A和用户B时,仅有用户A可以查看到信息标识1,而用户B却无法查看信息标识B。For another example, if the information identifier 1 is set to be viewable only by user A, when the target video is sent to user A and user B, only user A can view information identifier 1, but user B cannot view information identifier B.
此外,也可以是,在将信息标识1设置为仅用户A可查看时,在目标视频发送至用户A和用户B时,仅有用户A在播放目标视频时,才会显示信息标识1,而在用户B在播放目标视频时,就不会显示信息标识1。In addition, when the information identifier 1 is set to be viewable only by user A, when the target video is sent to user A and user B, only when user A is playing the target video, the information identifier 1 will be displayed, and When user B is playing the target video, the information identifier 1 will not be displayed.
在本申请实施例中,电子设备在播放目标视频的过程中,就可以将目标视频中存在的图形码通过信息标识的方式显示在预设区域,使得用户不再需要频繁的调整视频的播放进度,使视频画面停留在具有图形码的画面上,才可以查看该视频中的图形码,而是只需在预设区域内就可以查看到与目标视频中的图形码相关联的信息标识,从而简化了用户的操作,降低用户的操作繁琐程度,并且用户还可以通过对信息标识的输入,实现信息标识的自定义编辑,进而满足用户对于信息标识的不同需求。In the embodiment of the present application, during the process of playing the target video, the electronic device can display the graphic code existing in the target video in the preset area by means of information identification, so that the user no longer needs to frequently adjust the playback progress of the video. , so that the video picture stays on the picture with the graphic code, and then the graphic code in the video can be viewed, but the information identification associated with the graphic code in the target video can be viewed only in the preset area, thus The operation of the user is simplified, the complexity of the operation of the user is reduced, and the user can also realize the customized editing of the information identification through the input of the information identification, thereby meeting the different needs of the user for the information identification.
若目标视频中没有预先存在的信息标识时,本申请的一些实施例中还可以根据目标视频中存在的图形码,自动生成信息标识,并显示在预设区域,具体请参见图2。If there is no pre-existing information identifier in the target video, in some embodiments of the present application, the information identifier may be automatically generated according to the graphic code existing in the target video and displayed in a preset area, see FIG. 2 for details.
如图2所示,图2为本申请一个实施例中提供的信息显示的方法的第二流程示意图。该信息显示的方法包括:As shown in FIG. 2 , FIG. 2 is a second schematic flowchart of a method for displaying information provided in an embodiment of the present application. Methods of displaying this information include:
S210、在播放目标视频的过程中,从目标视频的URL或视频文件信息中查找信息标识。S210. In the process of playing the target video, look up the information identifier from the URL or video file information of the target video.
其中,信息标识与目标视频中包括的图形码相关联。Wherein, the information identification is associated with the graphic code included in the target video.
S220、在查找到至少一个信息标识的情况下,在预设区域显示信息标识。S220. In the case that at least one information identifier is found, display the information identifier in a preset area.
S230、接收用户对信息标识的第一输入。S230. Receive the first input of the information identifier by the user.
S240、响应于第一输入,编辑信息标识。S240. In response to the first input, edit the information identifier.
其中,S210至S240和S110至S140为相同的步骤,在此不再赘述。Wherein, S210 to S240 and S110 to S140 are the same steps, which will not be repeated here.
S250,在未查找到信息标识的情况下,从解码目标视频得到的视频帧中识别图形码。S250, in the case that no information identifier is found, identify the graphic code from the video frame obtained by decoding the target video.
在本申请的一些实施例中,若是没有在目标视频中的URL或视频文件信息中查找到信息标识,则可以进一步在解码目标视频得到的视频帧中识别图形码,以判断目标视频中是否存在图形码。In some embodiments of the present application, if no information identifier is found in the URL or video file information in the target video, a graphic code may be further identified in the video frame obtained by decoding the target video to determine whether the target video exists graphic code.
S260,在识别到图形码的情况下,基于图形码的目标信息,生成与图形码相关联的信息标识,并在预设区域显示与图形码相关联的信息标识。S260, when the graphic code is recognized, generate an information identifier associated with the graphic code based on the target information of the graphic code, and display the information identifier associated with the graphic code in a preset area.
在本申请的一些实施例中,若电子设备识别到目标视频中存在图形码的情况下,就可以基于图形码的目标信息,自动生成与该图形码相关联的信息标识,将信息标识记录至目标视频中,并在预设区域显示该生成的信息标识。In some embodiments of the present application, if the electronic device recognizes that there is a graphic code in the target video, it can automatically generate an information identifier associated with the graphic code based on the target information of the graphic code, and record the information identifier to In the target video, the generated information logo is displayed in the preset area.
其中,图形码的目标信息可以包括有图形码的目标时间戳和图形码的内容信息。目标时间戳为图形码对应的目标视频帧的时间戳,目标视频帧为视频帧中存在图形码的任一视频帧。The target information of the graphic code may include a target timestamp of the graphic code and content information of the graphic code. The target time stamp is the time stamp of the target video frame corresponding to the graphic code, and the target video frame is any video frame in which the graphic code exists in the video frame.
作为一个示例,例如,目标视频中的第1帧至第10帧中均存在图形码A。则在基于图形码的目标信息生成信息标识时,为了可以加快数据处理的效率以及避免预设区域显示过多重复的信息标识,可以选取第1帧至第10帧中的任意一帧作为图形码A的目标视频帧,该目标视频帧在整个目标视频中对应的目标时间戳即为该图形码的目标视频戳。As an example, for example, the graphic code A exists in the 1st frame to the 10th frame in the target video. Then, when generating the information identification based on the target information of the graphic code, in order to speed up the efficiency of data processing and avoid displaying too many repeated information identifications in the preset area, any frame from the first frame to the tenth frame can be selected as the graphic code. The target video frame of A, the target time stamp corresponding to the target video frame in the entire target video is the target video stamp of the graphics code.
在本申请实施例中,电子设备在目标视频中未查找到信息标识的情况下,还可以进一步对目标视频中是否存在图形码进行检测,并且在存在图形码的情况下,基于图形码的目标信息自动生成该图形码的信息标识,并显示在预设区域,使得用户不再需要频繁的调整视频的播放进度,使视频画面停留在具有图形码的画面上,才可以查看该视频中的图形码,而是只需在预设区域内就可以查看到与目标视频中的图形码相关联的信息标识,从而简化了用户的操作,降低了用户的操作繁琐程度,并且用户还可以通过对信息标识的输入,实现信息标识的自定义编辑,进而满足用户对于信息标识的不同需求。In the embodiment of the present application, in the case where the electronic device does not find the information identifier in the target video, it can further detect whether there is a graphic code in the target video, and if there is a graphic code, the target video based on the graphic code The information automatically generates the information mark of the graphic code and displays it in the preset area, so that the user no longer needs to frequently adjust the playback progress of the video, so that the video screen stays on the screen with the graphic code before viewing the graphics in the video. Instead, the information identification associated with the graphic code in the target video can be viewed only in the preset area, which simplifies the user's operation and reduces the complexity of the user's operation. The input of the logo realizes the customized editing of the information logo, thereby meeting the different needs of users for the information logo.
在本申请的一些实施例中,还可以将生成的信息标识记录至目标视频中。In some embodiments of the present application, the generated information identification may also be recorded in the target video.
例如,在目标视频为本地视频的情况下,电子设备在生成信息标识后可以是将信息标识记录至目标视频的视频文件信息中。如:<qcode time=”qtime”;content=”qcontent”/>,其中qcode、time、content为标识符;qtime为目标视频帧的时间、qcontent为图形码的内容信息。For example, in the case where the target video is a local video, after generating the information identifier, the electronic device may record the information identifier into the video file information of the target video. For example: <qcode time="qtime"; content="qcontent"/>, where qcode, time, and content are identifiers; qtime is the time of the target video frame, and qcontent is the content information of the graphic code.
在目标视频为在线视频的情况下,电子设备则可以将生成的信息标识记录至URL中,以便于后续电子设备可以直接查找到该目标视频中的信息标识。如:video_url?time=qtime;content=qcontent,其中time、content为标识符;video_url为目标视频的URL信息、qtime为目标视频帧的时间、qcontent为图形码的内容信息。In the case that the target video is an online video, the electronic device may record the generated information identifier in the URL, so that the subsequent electronic device can directly find the information identifier in the target video. Such as: video_url? time=qtime; content=qcontent, where time and content are identifiers; video_url is the URL information of the target video, qtime is the time of the target video frame, and qcontent is the content information of the graphic code.
在本申请实施例中,由于电子设备将生成的信息标识记录至目标视频中,因此该目标视频在重复播放时,电子设备可以直接查找到视频中存在的信息标识,不再需要再次生成信息标识,从而提高了电子设备的运行效率,电子设备的运行速度更快。In the embodiment of the present application, since the electronic device records the generated information identification into the target video, when the target video is played repeatedly, the electronic device can directly find the information identification existing in the video, and it is no longer necessary to generate the information identification again. , thereby improving the operating efficiency of the electronic equipment, and the operating speed of the electronic equipment is faster.
此外,为了使预设区域显示的信息标识更加简洁,在本申请的一些实施例中,若查找到多个信息标识或生成了多个信息标识,则电子设备可以在预设区域,按照信息标识对应的目标时间戳,显示信息标识。例如,可以是在目标视频的播放进度条上,按照信息标识对应的目标时间戳,显示信息标识。In addition, in order to make the information identifiers displayed in the preset area more concise, in some embodiments of the present application, if multiple information identifiers are found or generated, the electronic device can be in the preset area according to the information identifiers. Corresponding target timestamp, display information identification. For example, the information identifier may be displayed on the playback progress bar of the target video according to the target timestamp corresponding to the information identifier.
在本申请实施例中,在信息标识的数量为多个的情况下,由于按照目标时间戳会在预设区域按照信息标识对应的目标时间戳显示信息标识,使得用户不仅可以查看到图形码对应的信息标识,还可以了解到该图形码在视频中的播放进度,简化了用户的操作,降低用户的操作繁琐程度。In the embodiment of the present application, when the number of information identifiers is multiple, since the information identifiers are displayed in the preset area according to the target timestamps corresponding to the information identifiers, the user can not only view the corresponding graphics codes It can also know the playback progress of the graphic code in the video, which simplifies the user's operation and reduces the complexity of the user's operation.
在本申请的一些实施例中,在查找目标视频中是否存在图形码的时候,还可以对解码目标视频得到的视频帧一帧一帧进行查找,具体请参见图3。In some embodiments of the present application, when searching whether there is a graphic code in the target video, the video frame obtained by decoding the target video may also be searched frame by frame. For details, please refer to FIG. 3 .
如图3所示,图3为本申请一个实施例提供的信息显示的方法的第三流程示意图。该信息显示的方法,包括:As shown in FIG. 3 , FIG. 3 is a third schematic flowchart of a method for displaying information provided by an embodiment of the present application. The methods by which this information is displayed include:
S301、接收用户对目标视频的目标输入。S301. Receive a user's target input for a target video.
其中,目标输入为用户对播放目标视频的输入,如点击输入,按压输入等等。The target input is the user's input to play the target video, such as click input, press input, and so on.
S302、解码器解码目标视频,得到视频帧。S302. The decoder decodes the target video to obtain video frames.
S303、缓存视频帧。S303. Cache the video frame.
接下来,可以分别执行S304-S305和S306-S315。Next, S304-S305 and S306-S315 may be performed, respectively.
S304、渲染视频内容。S304. Render the video content.
S305、向用户展示目标视频的播放画面。S305 , displaying the playback screen of the target video to the user.
S306、判断是否存在信息标识。若存在信息标识,则执行S314,若不存在信息标识,则执行S307。S306. Determine whether there is an information identifier. If there is an information identifier, execute S314, and if there is no information identifier, execute S307.
可选的,若目标视频为在线视频,则可以是在目标视频的URL中查找信息标识;若目标视频为本地视频,则可以在目标视频的视频文件信息中查找信息标识。Optionally, if the target video is an online video, the information identifier may be searched in the URL of the target video; if the target video is a local video, the information identifier may be searched in the video file information of the target video.
S307,检查当前视频帧中是否存在图形码。若存在图形码,则执行S308,若不存在图形码,则执行S316。S307, check whether there is a graphics code in the current video frame. If there is a graphic code, go to S308, and if there is no graphic code, go to S316.
S308,解析图形码的目标信息。S308, parse the target information of the graphic code.
S309,当前图形码是否在目标视频中第一次出现。若是,则执行S310,若否,则执行S316。S309, whether the current graphic code appears for the first time in the target video. If yes, execute S310, if not, execute S316.
S310,生成信息标识。S310, generating an information identifier.
S311,判断目标视频是否为本地视频。若否,则执行S312,若是,则执行S313。S311, determine whether the target video is a local video. If not, execute S312, if yes, execute S313.
S312,将信息标识记录至目标视频的URL中。S312, record the information identifier into the URL of the target video.
S313,将信息标识记录至目标视频的视频文件信息中。S313, record the information identifier into the video file information of the target video.
S314,添加至视频播放器。S314, add to the video player.
S315,在播放进度条上显示信息标识。S315, displaying an information mark on the playback progress bar.
S316,结束当前视频帧的检测,进入下一帧视频帧,并返回至S307,直至当前视频帧为目标视频的最后一帧。S316, end the detection of the current video frame, enter the next frame of video frame, and return to S307 until the current video frame is the last frame of the target video.
S317,接收用户对信息标识的第一输入。S317: Receive the first input of the information identifier by the user.
S318,响应于第一输入,编辑信息标识。S318, in response to the first input, edit the information identification.
在本申请实施例中,电子设备在播放目标视频的过程中,就可以将目标视频中存在的图形码通过信息标识的方式显示在预设区域,使得用户不再需要频繁的调整视频的播放进度,使视频画面停留在具有图形码的画面上,才可以查看该视频中的图形码,而是只需在预设区域内就可以查看到与目标视频中的图形码相关联的信息标识,从而简化了用户的操作,降低用户的操作繁琐程度,并且用户还可以通过对信息标识的输入,实现信息标识的自定义编辑,进而满足用户对于信息标识的不同需求。In the embodiment of the present application, during the process of playing the target video, the electronic device can display the graphic code existing in the target video in the preset area by means of information identification, so that the user no longer needs to frequently adjust the playback progress of the video. , so that the video picture stays on the picture with the graphic code, and then the graphic code in the video can be viewed, but the information identification associated with the graphic code in the target video can be viewed only in the preset area, thus The operation of the user is simplified, the complexity of the operation of the user is reduced, and the user can also realize the customized editing of the information identification through the input of the information identification, thereby meeting the different needs of the user for the information identification.
在预设区域显示信息标识后,为了可以使用户及时了解到图形码的内容信息,在本申请的一些实施例中,还提供了另一种信息显示的方法,具体请参见图4所示的信息显示的方法的流程示意图。After the information identifier is displayed in the preset area, in order to enable the user to know the content information of the graphic code in time, in some embodiments of the present application, another information display method is also provided. For details, please refer to the method shown in FIG. 4 . Schematic flow diagram of the method of information display.
如图4所示,图4为本申请一个实施例提供的信息显示的方法的第四流程示意图。该信息显示的方法包括:As shown in FIG. 4 , FIG. 4 is a fourth schematic flowchart of a method for displaying information provided by an embodiment of the present application. Methods of displaying this information include:
S401、在播放目标视频的过程中,从目标视频的URL或视频文件信息中查找信息标识。S401. In the process of playing the target video, search for the information identifier from the URL or video file information of the target video.
S402、在查找到至少一个信息标识的情况下,在预设区域显示信息标识。S402. In the case that at least one information identifier is found, display the information identifier in a preset area.
S403、接收用户对信息标识的第一输入。S403. Receive the first input of the information identifier by the user.
S404、响应于第一输入,编辑信息标识。S404. In response to the first input, edit the information identifier.
S405、在未查找到信息标识的情况下,从解码目标视频得到的视频帧中识别图形码。S405. In the case where no information identifier is found, identify the graphic code from the video frame obtained by decoding the target video.
S406、在识别到图形码的情况下,基于图形码的目标信息,生成与图形码相关联的信息标识,并在预设区域显示与图形码相关联的信息标识。S406. In the case of identifying the graphic code, based on the target information of the graphic code, generate an information identifier associated with the graphic code, and display the information identifier associated with the graphic code in a preset area.
其中,S401至S406为与图2中的S210至S260相同的步骤,在此不再赘述。Wherein, S401 to S406 are the same steps as S210 to S260 in FIG. 2 , and are not repeated here.
S407、接收用户对信息标识的第三输入。S407: Receive a third input of the information identifier by the user.
其中,第三输入可以是点击输入,也可以是长按输入,在此不做任何限定。The third input may be a click input or a long press input, which is not limited herein.
S408、响应于第三输入,显示与信息标识相关联的图形码的内容信息。S408. In response to the third input, display the content information of the graphic code associated with the information identifier.
其中,图形码的内容信息可以是扫描图形码之后获取到的信息。The content information of the graphic code may be information obtained after scanning the graphic code.
在本申请的一些实施例中,还可以是电子设备在响应于用户的第三输入后,直接显示图形码。然后用户通过电子设备对其扫描在获取到对应的图形码的内容信息。例如,若图形码用来实现收付款功能,则电子设备在响应于用户的第三输入后,应直接显示该图形码,待用户扫描该图形码后才会进行收付款操作。In some embodiments of the present application, the electronic device may directly display the graphic code after responding to the user's third input. Then the user scans it through the electronic device to obtain the content information of the corresponding graphic code. For example, if the graphic code is used to realize the payment function, the electronic device should directly display the graphic code in response to the third input of the user, and the payment operation will not be performed until the user scans the graphic code.
在本申请实施例中,电子设备在播放目标视频的过程中,可以将目标视频中存在的图形码通过信息标识的方式显示在预设区域,使得用户不再需要频繁的调整视频的播放进度,使视频画面停留在具有图形码的画面上,才可以查看该视频中的图形码,而是只需在预设区域内就可以查看到与目标视频中的图形码相关联的信息标识,并且通过对信息标识进行输入,就可以直接查看与该信息标识相关联的图形码的内容信息,从而简化了用户的操作,降低了用户的操作繁琐程度。In the embodiment of the present application, in the process of playing the target video, the electronic device can display the graphic code existing in the target video in the preset area by means of information identification, so that the user no longer needs to frequently adjust the playback progress of the video, Only when the video picture stays on the picture with the graphic code, the graphic code in the video can be viewed, but the information identification associated with the graphic code in the target video can be viewed only in the preset area, and through By inputting the information identification, the content information of the graphic code associated with the information identification can be directly viewed, thereby simplifying the user's operation and reducing the complexity of the user's operation.
此外,请继续参见图3,在本申请的一些实施例中,信息显示的方法在S401之后,还可以如下步骤:In addition, please continue to refer to FIG. 3. In some embodiments of the present application, after S401, the method for displaying information may further include the following steps:
S409、在目标视频满足预设条件的情况下,按照预设显示方式显示提示信息。S409 , in the case that the target video satisfies the preset condition, display the prompt information according to the preset display mode.
其中,提示信息包括一下至少一项:目标视频中未被删除的信息标识和与目标视频中未被删除的信息标识相关联的图形码的内容信息。Wherein, the prompt information includes at least one of the following items: an undeleted information identifier in the target video and content information of a graphic code associated with the undeleted information identifier in the target video.
在一些实施例中,预设条件可以是目标视频结束播放,也可以是目标视频当前正在播放广告等等。预设显示方式可以是弹窗的方式,也可以是滚动显示的方式等等。In some embodiments, the preset condition may be that the target video finishes playing, or that the target video is currently playing an advertisement, or the like. The preset display mode may be a pop-up window mode, a scrolling mode mode, or the like.
在本申请实施例中,为了避免用户遗漏一些重要的图形码,可以是在不打扰用户正常观看视频的情况下,为用户生成提示信息,以便用户可以查看到目标视频中存在的图形码的内容信息,避免出现遗漏的情况。In this embodiment of the present application, in order to prevent the user from missing some important graphic codes, prompt information may be generated for the user without disturbing the user to watch the video normally, so that the user can view the content of the graphic code existing in the target video information to avoid omissions.
在本申请的一些实施例中,信息显示的方法在S404或S406之后,还可以如下步骤:In some embodiments of the present application, after S404 or S406, the method for displaying information may further include the following steps:
S410,接收用户对信息标识的第二输入。S410: Receive a second input of the information identifier by the user.
其中,第二输入可以是点击输入,也可以是长按输入,在此不做任何限定。The second input may be a click input or a long press input, which is not limited herein.
S411,响应于第二输入,确定与信息标识相关联的第二目标用户。S411, in response to the second input, determine a second target user associated with the information identifier.
S412,在用户将目标视频分享至包括第二目标用户的多个目标用户的情况下,信息标识仅在第二目标用户播放目标视频的情况下,被显示在第二目标用户对应的显示屏幕的预设区域。S412, when the user shares the target video to multiple target users including the second target user, the information identifier is displayed on the display screen corresponding to the second target user only when the second target user plays the target video Preset area.
在本申请实施例中,分享者在分享目标视频时可以对设置信息标识的分享权项,通过将信息标识和用户进行关联,使得只有与信息标识关联的用户才可以查看到关联的信息标识,不仅满足分享者对于目标视频的使用需求,还使分享者可以基于分享对象的特定需求分享目标视频中存在的信息标识。In the embodiment of the present application, the sharer can set the sharing right of the information identification when sharing the target video, and by associating the information identification with the user, only the user associated with the information identification can view the associated information identification, It not only meets the needs of the sharer for the use of the target video, but also enables the sharer to share the information identification existing in the target video based on the specific needs of the sharing object.
基于上述实施例提供的信息显示的方法的具体实现方式,相应地,本申请还提供了一种电子设备的具体实现方式。请参见图5。Based on the specific implementation manner of the information display method provided by the above embodiments, correspondingly, the present application also provides a specific implementation manner of an electronic device. See Figure 5.
图5为本申请一实施例提供的电子设备的结构示意图,该电子设备包括:FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the application, and the electronic device includes:
查询模块510,用于在播放目标视频的过程中,从目标视频的URL或视频文件信息中查找信息标识;信息标识与载入到目标视频中的图形码相关联;The
第一显示模块520,用于在查找到至少一个信息标识的情况下,在预设区域显示信息标识;The
第一接收模块530,用于接收用户对信息标识的第一输入;The
编辑模块540,用于响应于第一输入,编辑信息标识。The
在本申请实施例中,电子设备在播放目标视频的过程中,就可以将目标视频中存在的图形码通过信息标识的方式显示在预设区域,使得用户不再需要频繁的调整视频的播放进度,使视频画面停留在具有图形码的画面上,才可以查看该视频中的图形码,而是只需在预设区域内就可以查看到与目标视频中的图形码相关联的信息标识,从而简化了用户的操作,降低用户的操作繁琐程度,并且用户还可以通过对信息标识的输入,实现信息标识的自定义编辑,进而满足用户对于信息标识的不同需求。In the embodiment of the present application, during the process of playing the target video, the electronic device can display the graphic code existing in the target video in the preset area by means of information identification, so that the user no longer needs to frequently adjust the playback progress of the video. , so that the video picture stays on the picture with the graphic code, and then the graphic code in the video can be viewed, but the information identification associated with the graphic code in the target video can be viewed only in the preset area, thus The operation of the user is simplified, the complexity of the operation of the user is reduced, and the user can also realize the customized editing of the information identification through the input of the information identification, thereby meeting the different needs of the user for the information identification.
在本申请的一些实施例中,信息显示装置还包括:In some embodiments of the present application, the information display device further includes:
识别模块,用于在未查找到信息标识的情况下,在目标视频的视频帧中识别图形码;The identification module is used to identify the graphic code in the video frame of the target video when the information identification is not found;
第二显示模块,用于在识别到图形码的情况下,基于图形码的目标信息,在预设区域显示与图形码相关联的信息标识。The second display module is configured to display the information identification associated with the graphic code in the preset area based on the target information of the graphic code when the graphic code is recognized.
在本申请的一些实施例中,图形码的目标信息包括:图形码的目标时间戳和图形码的内容信息;In some embodiments of the present application, the target information of the graphic code includes: a target timestamp of the graphic code and content information of the graphic code;
其中,目标时间戳为图形码对应的目标视频帧的时间戳,目标视频帧为视频帧中存在图形码的任一视频帧。The target time stamp is the time stamp of the target video frame corresponding to the graphic code, and the target video frame is any video frame in which the graphic code exists in the video frame.
在本申请的一些实施例中,第一显示模块520具体用于:In some embodiments of the present application, the
在目标视频的播放进度条上显示信息标识。Display an information mark on the playback progress bar of the target video.
在本申请的一些实施例中,第一显示模块520具体还用于:In some embodiments of the present application, the
在信息标识的数量为多个的情况下,在目标视频的播放进度条上,按照信息标识对应的目标时间戳,显示信息标识。When the number of information identifiers is multiple, the information identifiers are displayed on the playback progress bar of the target video according to the target timestamp corresponding to the information identifiers.
在本申请的一些实施例中,编辑模块具体用于:In some embodiments of the present application, the editing module is specifically used for:
删除信息标识、命名信息标识或编辑信息标识的查看权限。View permission to delete a message ID, name a message ID, or edit a message ID.
在本申请的一些实施例中,信息显示装置还包括:In some embodiments of the present application, the information display device further includes:
第三显示模块,用于在目标视频的播放信息满足预设条件的情况下,按照预设显示方式显示提示信息;a third display module, configured to display prompt information according to a preset display mode when the playback information of the target video satisfies a preset condition;
提示信息包括以下至少一项:The prompt information includes at least one of the following:
目标视频中未被删除的信息标识;Information identifiers that have not been deleted in the target video;
与目标视频中未被删除的信息标识相关联的图形码的内容信息。Content information of the graphic code associated with the undeleted information identifier in the target video.
在本申请的一些实施例中,信息显示装置还包括:In some embodiments of the present application, the information display device further includes:
第二接收模块,用于接收用户对信息标识的第二输入;a second receiving module, configured to receive the second input of the information identifier by the user;
确定模块,用于响应于第二输入,确定与信息标识相关联的第二目标用户;a determining module for determining, in response to the second input, a second target user associated with the information identifier;
其中,在用户将目标视频分享至包括第二目标用户的多个目标用户的情况下,信息标识仅在第二目标用户播放目标视频的情况下,被显示在第二目标用户对应的显示屏幕的预设区域。Wherein, when the user shares the target video to multiple target users including the second target user, the information identifier is displayed on the display screen corresponding to the second target user only when the second target user plays the target video. Preset area.
本申请实施例提供的电子设备的各个模块具有实现图1至图4所示实施例的信息显示的方法/步骤的功能,且能达到与图1至图4所示实施例相应的技术效果,为简洁描述,在此不再赘述。Each module of the electronic device provided in the embodiment of the present application has the function of implementing the method/step of the information display of the embodiment shown in FIG. 1 to FIG. 4 , and can achieve the technical effect corresponding to the embodiment shown in FIG. 1 to FIG. 4 , For the sake of brevity, details are not repeated here.
图6为实现本申请各个实施例的一种电子设备的硬件结构示意图。FIG. 6 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present application.
该电子设备600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、接口单元608、存储器609、处理器610、以及电源611等部件。本领域技术人员可以理解,图6中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本申请实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The
其中,处理器610,用于在播放目标视频的过程中,从目标视频的URL或视频文件信息中查找信息标识;信息标识与目标视频中包括的图形码相关联,显示单元606用于在查找到至少一个信息标识的情况下,在预设区域显示信息标识,处理器610还用于控制用户输入单元607接收用户对信息标识的第一输入;响应于第一输入,编辑信息标识。Wherein, the
在本申请实施例中,电子设备在播放目标视频的过程中,就可以将目标视频中存在的图形码通过信息标识的方式显示在预设区域,使得用户不再需要频繁的调整视频的播放进度,使视频画面停留在具有图形码的画面上,才可以查看该视频中的图形码,而是只需在预设区域内就可以查看到与目标视频中的图形码相关联的信息标识,从而简化了用户的操作,降低用户的操作繁琐程度,并且用户还可以通过对信息标识的输入,实现信息标识的自定义编辑,进而满足用户对于信息标识的不同需求。In the embodiment of the present application, during the process of playing the target video, the electronic device can display the graphic code existing in the target video in the preset area by means of information identification, so that the user no longer needs to frequently adjust the playback progress of the video. , so that the video picture stays on the picture with the graphic code, and then the graphic code in the video can be viewed, but the information identification associated with the graphic code in the target video can be viewed only in the preset area, thus The operation of the user is simplified, the complexity of the operation of the user is reduced, and the user can also realize the customized editing of the information identification through the input of the information identification, thereby meeting the different needs of the user for the information identification.
应理解的是,本申请实施例中,射频单元601可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器610处理;另外,将上行的数据发送给基站。通常,射频单元601包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元601还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present application, the
电子设备通过网络模块602为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides the user with wireless broadband Internet access through the
音频输出单元603可以将射频单元601或网络模块602接收的或者在存储器609中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元603还可以提供与电子设备600执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元603包括扬声器、蜂鸣器以及受话器等。The
输入单元604用于接收音频或视频信号。输入单元604可以包括图形处理器(Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元606上。经图形处理器6041处理后的图像帧可以存储在存储器609(或其它存储介质)中或者经由射频单元601或网络模块602进行发送。麦克风6042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元601发送到移动通信基站的格式输出。The
电子设备600还包括至少一种传感器605,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板6061的亮度,接近传感器可在电子设备600移动到耳边时,关闭显示面板6061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器605还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The
显示单元606用于显示由用户输入的信息或提供给用户的信息。显示单元606可包括显示面板6061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板6061。The
用户输入单元607可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元607包括触控面板6071以及其他输入设备6072。触控面板6071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板6071上或在触控面板6071附近的操作)。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器610,接收处理器610发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板6071。除了触控面板6071,用户输入单元607还可以包括其他输入设备6072。具体地,其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The
进一步的,触控面板6071可覆盖在显示面板6061上,当触控面板6071检测到在其上或附近的触摸操作后,传送给处理器610以确定触摸事件的类型,随后处理器610根据触摸事件的类型在显示面板6061上提供相应的视觉输出。在一些实施例中,虽然触控面板6071与显示面板6061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板6071与显示面板6061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the
接口单元608为外部装置与电子设备600连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元608可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备600内的一个或多个元件或者可以用于在电子设备600和外部装置之间传输数据。The
存储器609可用于存储软件程序以及各种数据。存储器609可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器609可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
处理器610是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器609内的软件程序和/或模块,以及调用存储在存储器609内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器610可包括一个或多个处理单元;优选的,处理器610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。The
电子设备600还可以包括给各个部件供电的电源611(比如电池),优选的,电源611可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The
另外,电子设备600包括一些未示出的功能模块,在此不再赘述。In addition, the
优选的,本申请实施例还提供一种电子设备,包括处理器610,存储器609,存储在存储器609上并可在所述处理器610上运行的计算机程序,该计算机程序被处理器610执行时实现上述信息显示的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present application further provides an electronic device, including a
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述信息显示的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the foregoing method embodiment for displaying information can be achieved, and can achieve the same The technical effect, in order to avoid repetition, will not be repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disk.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.
Claims (18)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010478340.0A CN111698550B (en) | 2020-05-29 | 2020-05-29 | Information display method, device, electronic equipment and medium |
| PCT/CN2021/095440 WO2021238837A1 (en) | 2020-05-29 | 2021-05-24 | Information display method and apparatus, electronic device, medium and program product |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010478340.0A CN111698550B (en) | 2020-05-29 | 2020-05-29 | Information display method, device, electronic equipment and medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111698550A true CN111698550A (en) | 2020-09-22 |
| CN111698550B CN111698550B (en) | 2023-08-15 |
Family
ID=72478942
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010478340.0A Active CN111698550B (en) | 2020-05-29 | 2020-05-29 | Information display method, device, electronic equipment and medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN111698550B (en) |
| WO (1) | WO2021238837A1 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112565864A (en) * | 2020-11-30 | 2021-03-26 | 成都新潮传媒集团有限公司 | Graphic code presentation method and device and computer equipment |
| WO2021238837A1 (en) * | 2020-05-29 | 2021-12-02 | 维沃移动通信有限公司 | Information display method and apparatus, electronic device, medium and program product |
| CN113923515A (en) * | 2021-09-29 | 2022-01-11 | 马上消费金融股份有限公司 | Video production method and device, electronic equipment and storage medium |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114332299B (en) * | 2021-12-31 | 2025-09-09 | 北京有竹居网络技术有限公司 | House type diagram processing method and device, readable storage medium and electronic equipment |
| CN119629428B (en) * | 2024-11-20 | 2026-02-03 | 网易(杭州)网络有限公司 | Video sharing method and device, electronic equipment and storage medium |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080285940A1 (en) * | 2007-05-18 | 2008-11-20 | Kulas Charles J | Video player user interface |
| CN105898597A (en) * | 2015-12-31 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Video play interface interaction method, server and video terminal |
| CN106529638A (en) * | 2016-11-11 | 2017-03-22 | 深圳天珑无线科技有限公司 | Information processing method and device |
| CN109769133A (en) * | 2019-02-19 | 2019-05-17 | 上海七牛信息技术有限公司 | Two dimensional code analytic method, device and readable storage medium storing program for executing in video display process |
| CN110297943A (en) * | 2019-07-05 | 2019-10-01 | 联想(北京)有限公司 | Adding method, device, electronic equipment and the storage medium of label |
| CN110443330A (en) * | 2019-07-31 | 2019-11-12 | 维沃移动通信有限公司 | A code scanning method, device, mobile terminal and storage medium |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2014232426A (en) * | 2013-05-29 | 2014-12-11 | 株式会社東芝 | Character input method, electronic apparatus and program |
| CN106358092B (en) * | 2015-07-13 | 2019-11-26 | 阿里巴巴集团控股有限公司 | Information processing method and device |
| CN110399574B (en) * | 2018-04-19 | 2024-09-13 | 腾讯科技(深圳)有限公司 | Information jump method and device and electronic device |
| CN111698550B (en) * | 2020-05-29 | 2023-08-15 | 维沃移动通信有限公司 | Information display method, device, electronic equipment and medium |
-
2020
- 2020-05-29 CN CN202010478340.0A patent/CN111698550B/en active Active
-
2021
- 2021-05-24 WO PCT/CN2021/095440 patent/WO2021238837A1/en not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080285940A1 (en) * | 2007-05-18 | 2008-11-20 | Kulas Charles J | Video player user interface |
| CN105898597A (en) * | 2015-12-31 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Video play interface interaction method, server and video terminal |
| CN106529638A (en) * | 2016-11-11 | 2017-03-22 | 深圳天珑无线科技有限公司 | Information processing method and device |
| CN109769133A (en) * | 2019-02-19 | 2019-05-17 | 上海七牛信息技术有限公司 | Two dimensional code analytic method, device and readable storage medium storing program for executing in video display process |
| CN110297943A (en) * | 2019-07-05 | 2019-10-01 | 联想(北京)有限公司 | Adding method, device, electronic equipment and the storage medium of label |
| CN110443330A (en) * | 2019-07-31 | 2019-11-12 | 维沃移动通信有限公司 | A code scanning method, device, mobile terminal and storage medium |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2021238837A1 (en) * | 2020-05-29 | 2021-12-02 | 维沃移动通信有限公司 | Information display method and apparatus, electronic device, medium and program product |
| CN112565864A (en) * | 2020-11-30 | 2021-03-26 | 成都新潮传媒集团有限公司 | Graphic code presentation method and device and computer equipment |
| CN112565864B (en) * | 2020-11-30 | 2022-09-16 | 成都新潮传媒集团有限公司 | Graphic code presentation method and device, computer equipment and storage medium |
| CN113923515A (en) * | 2021-09-29 | 2022-01-11 | 马上消费金融股份有限公司 | Video production method and device, electronic equipment and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2021238837A1 (en) | 2021-12-02 |
| CN111698550B (en) | 2023-08-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111698550B (en) | Information display method, device, electronic equipment and medium | |
| CN107580147B (en) | A notification message management method and mobile terminal | |
| CN110674662B (en) | Scanning method and terminal equipment | |
| CN109543099B (en) | Content recommendation method and terminal equipment | |
| KR102721049B1 (en) | Methods of displaying and transmitting information, electronic devices therefor | |
| CN109240577B (en) | Screen capturing method and terminal | |
| WO2021083168A1 (en) | Video sharing method and electronic device | |
| CN108616772B (en) | Bullet screen display method, terminal and server | |
| CN111444540A (en) | Display method, electronic device and medium | |
| CN107911735A (en) | An audio and video playback processing method, device and terminal | |
| CN109753202B (en) | Screen capturing method and mobile terminal | |
| CN111383175A (en) | Image acquisition method and electronic device | |
| CN110087149A (en) | A kind of video image sharing method, device and mobile terminal | |
| CN111596819A (en) | Unread message processing method and electronic equipment | |
| CN110673770A (en) | Message display method and terminal equipment | |
| CN110855921B (en) | Video recording control method and electronic equipment | |
| CN108600079A (en) | A chat record display method and mobile terminal | |
| CN110471711A (en) | Application program preloading method and terminal device | |
| CN111399792B (en) | A content sharing method and electronic device | |
| CN109672845B (en) | Video call method and device and mobile terminal | |
| CN108647063A (en) | A kind of method and terminal of display object | |
| CN108536355A (en) | A kind of message display method and mobile terminal | |
| CN109063079B (en) | Webpage labeling method and electronic equipment | |
| CN111523286A (en) | Picture display method and electronic equipment | |
| CN108491143B (en) | Object movement control method and mobile terminal |
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 |