CN104503658A - Application interface display method and terminal - Google Patents
Application interface display method and terminal Download PDFInfo
- Publication number
- CN104503658A CN104503658A CN201410763316.6A CN201410763316A CN104503658A CN 104503658 A CN104503658 A CN 104503658A CN 201410763316 A CN201410763316 A CN 201410763316A CN 104503658 A CN104503658 A CN 104503658A
- Authority
- CN
- China
- Prior art keywords
- display area
- terminal
- application interface
- display screen
- target application
- 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
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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本发明实施例公开了一种应用界面显示方法及终端,其中所述应用界面显示方法包括:扫描保护外套上的条码标签,获取显示区域定位信息;根据所述显示区域定位信息在终端显示屏中确定与所述保护外套上的可视窗区域相对应的显示区域;检测到所述保护外套扣合到所述终端显示屏上时,根据所述显示区域自适应调整目标应用界面,并在所述显示区域显示所述目标应用界面。采用本发明可使终端适应多种带有可视窗口的保护外套,用户可选的保护外套种类更加丰富,提高了用户体验。
The embodiment of the present invention discloses an application interface display method and a terminal, wherein the application interface display method includes: scanning the barcode label on the protective jacket to obtain display area positioning information; Determine the display area corresponding to the visible window area on the protective cover; when it is detected that the protective cover is fastened to the display screen of the terminal, adaptively adjust the target application interface according to the display area, and The display area displays the target application interface. By adopting the present invention, the terminal can be adapted to various protective covers with visible windows, and the types of protective covers that users can choose are more abundant, which improves user experience.
Description
技术领域technical field
本发明涉及终端技术领域,尤其涉及一种应用界面显示方法及终端。The present invention relates to the technical field of terminals, in particular to an application interface display method and a terminal.
背景技术Background technique
随着通信技术的不断发展,现在的终端如手机、平板电脑或掌上电脑等,机身越来越薄,屏幕占机身比例越来越高,使得机身及屏幕易碎,因此人们为了保护终端或者美化终端设计了与终端相应的保护套。终端在Android(安卓)系统下通常都支持保护套模式,在保护套模式下,合上保护套时终端能自动锁屏,打开保护套时终端能自动解锁,并且保护套上带有可视窗口时还能在窗口位置显示特定应用界面,在应用界面中提供一些终端插件,如时间插件、天气插件等,还可提供用户进行一些简单的操作,如接听电话、拒接电话等。现有技术中,对于某个型号的终端的保护套需要定制,并且通常终端只支持一种具有规则可视窗口的保护套,并且一般可视窗口都是规则的矩形或者圆形,使得用户可选保护套种类单一乏味,影响了用户体验。With the continuous development of communication technology, the body of current terminals such as mobile phones, tablet computers or handheld computers is getting thinner and thinner, and the proportion of the screen to the body is getting higher and higher, making the body and screen fragile. Therefore, in order to protect The terminal or beautification terminal is designed with a protective cover corresponding to the terminal. The terminal usually supports the protective cover mode under the Android (Android) system. In the protective cover mode, the terminal can automatically lock the screen when the protective cover is closed, and the terminal can automatically unlock when the protective cover is opened, and the protective cover has a visible window. It can also display a specific application interface at the window position, provide some terminal plug-ins in the application interface, such as time plug-in, weather plug-in, etc., and also provide users with some simple operations, such as answering calls, rejecting calls, etc. In the prior art, the protective cover of a certain type of terminal needs to be customized, and usually the terminal only supports a protective cover with regular visible windows, and generally the visible windows are regular rectangles or circles, so that users can The selection of protective cases is single and boring, which affects the user experience.
发明内容Contents of the invention
本发明实施例提供了一种应用界面显示方法及终端,可使终端适应多种带有可视窗口的保护外套,使用户可选的保护外套种类更加丰富,提高了用户体验。Embodiments of the present invention provide an application interface display method and a terminal, which can adapt the terminal to various protective covers with visible windows, enrich the types of protective covers that users can choose, and improve user experience.
本发明实施例提供了一种应用界面显示方法,所述方法包括:An embodiment of the present invention provides a method for displaying an application interface, the method comprising:
扫描保护外套上的条码标签,获取显示区域定位信息;Scan the barcode label on the protective jacket to obtain the positioning information of the display area;
根据所述显示区域定位信息在终端显示屏中确定与所述保护外套上的可视窗区域相对应的显示区域;determining a display area corresponding to the visible window area on the protective coat in the terminal display screen according to the display area positioning information;
检测到所述保护外套扣合到所述终端显示屏上时,根据所述显示区域自适应调整目标应用界面,并在所述显示区域显示所述目标应用界面。When it is detected that the protective cover is fastened to the display screen of the terminal, the target application interface is adaptively adjusted according to the display area, and the target application interface is displayed in the display area.
相应的,本发明实施例提供了一种终端,所述终端包括:Correspondingly, an embodiment of the present invention provides a terminal, and the terminal includes:
扫描单元,用于扫描保护外套上的条码标签,获取显示区域定位信息;The scanning unit is used to scan the barcode label on the protective jacket to obtain the positioning information of the display area;
确定单元,用于根据所述显示区域定位信息在终端显示屏中确定与所述保护外套上的可视窗区域相对应的显示区域;A determining unit, configured to determine a display area corresponding to the visible window area on the protective jacket in the terminal display screen according to the display area positioning information;
检测单元,用于检测所述保护外套是否扣合到所述终端显示屏上;a detection unit, configured to detect whether the protective jacket is fastened to the terminal display screen;
调整单元,用于所述检测单元检测到所述保护外套扣合到所述终端显示屏上时,根据所述显示区域自适应调整目标应用界面,并在所述显示区域显示所述目标应用界面;an adjustment unit, configured to adaptively adjust the target application interface according to the display area when the detection unit detects that the protective coat is fastened to the terminal display screen, and display the target application interface in the display area ;
显示单元,用于在所述显示区域显示所述目标应用界面。A display unit, configured to display the target application interface in the display area.
本发明实施例可扫描保护外套上的条码标签,获取显示区域定位信息,还可根据所述显示区域定位信息在终端显示屏中确定与所述保护外套上的可视窗区域相对应的显示区域,进而在检测到所述保护外套扣合到所述终端显示屏上时,根据所述显示区域自适应调整目标应用界面,并在所述显示区域显示所述目标应用界面,使得终端能适应多种带有可视窗口的保护外套,用户可选的保护外套种类更加丰富,提高了用户体验。In the embodiment of the present invention, the barcode label on the protective coat can be scanned to obtain display area positioning information, and the display area corresponding to the visible window area on the protective coat can be determined on the terminal display screen according to the display area positioning information, Furthermore, when it is detected that the protective cover is fastened to the display screen of the terminal, the target application interface is adaptively adjusted according to the display area, and the target application interface is displayed in the display area, so that the terminal can adapt to various With a protective jacket with a visible window, the user can choose more types of protective jackets, which improves the user experience.
附图说明Description of drawings
为了更清楚地说明本发明实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present invention. Ordinary technicians can also obtain other drawings based on these drawings on the premise of not paying creative work.
图1是本发明实施例提供的一种应用界面显示方法流程示意图;FIG. 1 is a schematic flowchart of a method for displaying an application interface provided by an embodiment of the present invention;
图2是本发明实施例提供的另一种应用界面显示方法流程示意图;Fig. 2 is a schematic flowchart of another method for displaying an application interface provided by an embodiment of the present invention;
图3是本发明实施例提供的一种终端结构示意图;FIG. 3 is a schematic structural diagram of a terminal provided by an embodiment of the present invention;
图4是本发明实施例提供的确定单元结构示意图;Fig. 4 is a schematic structural diagram of a determination unit provided by an embodiment of the present invention;
图5是本发明实施例提供的调整单元结构示意图;Fig. 5 is a schematic structural diagram of an adjustment unit provided by an embodiment of the present invention;
图6是本发明实施例提供的终端和保护外套结构示意图;Fig. 6 is a schematic structural diagram of a terminal and a protective jacket provided by an embodiment of the present invention;
图7是本发明实施例提供的保护外套模式下应用界面显示效果一示意图;Fig. 7 is a schematic diagram of the display effect of the application interface in the protective jacket mode provided by the embodiment of the present invention;
图8是本发明实施例提供的保护外套模式下应用界面显示效果二示意图。FIG. 8 is a schematic diagram of the second display effect of the application interface in the protective jacket mode provided by the embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
具体实现中,本发明实施例中所提及的终端包括但不限于:智能手机(如Android手机、IOS手机)、平板电脑、笔记本电脑、掌上电脑、穿戴式智能设备等电子设备。In a specific implementation, the terminals mentioned in the embodiments of the present invention include, but are not limited to: electronic devices such as smart phones (such as Android phones, IOS phones), tablet computers, notebook computers, palmtop computers, and wearable smart devices.
下面将结合图1到图8对本发明实施例提供的一种应用界面显示方法及终端进行具体描述。A method for displaying an application interface and a terminal provided by an embodiment of the present invention will be described in detail below with reference to FIG. 1 to FIG. 8 .
参见图1,是本发明实施例提供的一种应用界面显示方法流程示意图,如图所示的应用界面显示方法可包括以下步骤:Referring to FIG. 1 , it is a schematic flowchart of a method for displaying an application interface provided by an embodiment of the present invention. The method for displaying an application interface as shown in the figure may include the following steps:
S101,扫描保护外套上的条码标签,获取显示区域定位信息。S101. Scan the barcode label on the protective jacket to acquire positioning information of the display area.
具体实现中,需预先根据终端的形状及尺寸大小设计与终端相匹配的保护外套,如图6所示,图6为本发明实施例提供的终端和保护外套结构示意图,该保护外套的前盖上带有合适的可视窗区域,该可视窗区域可以是由透明材料形成的,也可是镂空的,然后确定与该可视窗区域相匹配的终端显示屏上的显示区域的显示区域定位信息,并确定该显示区域定位信息的编码码制,最后将该显示区域定位信息进行编码存储到条码标签中,并将该条码标签粘贴到保护外套上。条码标签包括一维码标签或二维码标签,常见的一维码编码码制包括:UPC、Code 3 of9或Code 128等,常见的二维码编码码制包括PDF417、QR Code或Code 49等。In the specific implementation, it is necessary to design a protective cover that matches the terminal in advance according to the shape and size of the terminal, as shown in Figure 6. Figure 6 is a schematic structural diagram of the terminal and the protective cover provided by the embodiment of the present invention. The front cover of the protective cover There is a suitable visible window area on the screen, and the visible window area can be formed of a transparent material or hollowed out, and then determine the display area positioning information of the display area on the terminal display screen that matches the visible window area, and Determine the coding code system of the positioning information of the display area, and finally encode and store the positioning information of the display area into a barcode label, and paste the barcode label on the protective coat. Barcode labels include one-dimensional code labels or two-dimensional code labels. Common one-dimensional code coding systems include: UPC, Code 3 of9 or Code 128, etc. Common two-dimensional code coding systems include PDF417, QR Code or Code 49, etc. .
例如首先生产形状大小与终端相匹配的带有可视窗区域的保护外套,然后将该保护外套前盖扣合到终显示屏上,确定该保护外套前盖扣合后终端显示屏上与该可视窗区域重合的部分,该重合的部分即为与该可视窗区域相匹配的终端显示屏上的显示区域,然后确定该显示区域在终端上的定位信息,最后使用QR编码将该定位信息编码并存储到二维码标签中。For example, first produce a protective cover with a visible window area that matches the shape and size of the terminal, and then fasten the front cover of the protective cover to the final display screen. After the front cover of the protective cover is fastened, it is determined that the terminal display screen is consistent with the visible window area. The overlapped part of the window area is the display area on the terminal display screen that matches the viewable window area, then determine the positioning information of the display area on the terminal, and finally use the QR code to encode the positioning information and send Stored in the QR code label.
如上述所举实例所述,若该显示区域定位信息存储在二维码标签中,用户若欲使用终端中与该保护外套相匹配的保护外套模式,需首先打开终端提供的保护外套设置模式,并在该设置模式下开启终端的二维码扫描功能,例如扫一扫功能,扫描保护外套上的二维码标签,并将获取到的二维码标签信息解码从而得到显示区域定位信息。As mentioned in the above example, if the positioning information of the display area is stored in the two-dimensional code label, if the user wants to use the protective cover mode that matches the protective cover in the terminal, he must first open the protective cover setting mode provided by the terminal. And in this setting mode, turn on the QR code scanning function of the terminal, such as the scan function, scan the QR code label on the protective jacket, and decode the obtained QR code label information to obtain the display area positioning information.
S102,根据所述显示区域定位信息在终端显示屏中确定与所述保护外套上的可视窗区域相对应的显示区域。S102. Determine, on the display screen of the terminal, a display area corresponding to the visible window area on the protective cover according to the display area positioning information.
具体实现中,显示区域定位信息用以定位终端显示屏上与可视窗区域相匹配的显示区域,使保护外套上的可视窗区域与终端显示屏上的显示区域相对应,从而通过可视窗区域显示显示区域中的应用界面。In a specific implementation, the display area positioning information is used to locate the display area matching the visible window area on the terminal display screen, so that the visible window area on the protective cover corresponds to the display area on the terminal display screen, so that the visible window area displays App interface in display area.
在本发明实施例中,可预先基于终端显示屏建立坐标系,例如,在矩形的终端显示屏上,以终端显示屏上的中心点为坐标原点,以终端显示屏的横边缘线的中线为Y轴,以终端显示屏的竖边缘线的中线为X轴建立终端显示屏坐标系。又如,以终端显示屏上的边角顶点作为坐标原点,具体可为以左上角顶点或者左下角顶点作为坐标原点,以终端显示屏的竖边缘线的延长线作为Y轴,以横边缘线的延长线作为X轴建立终端显示屏坐标系。因此可在显示区域定位信息中记录显示区域在终端显示屏坐标系中的具体坐标信息,以确定显示区域在终端显示屏上的位置及形状。In the embodiment of the present invention, a coordinate system can be established in advance based on the terminal display screen. For example, on a rectangular terminal display screen, the center point on the terminal display screen is the coordinate origin, and the center line of the horizontal edge line of the terminal display screen is the For the Y axis, the terminal display screen coordinate system is established with the center line of the vertical edge line of the terminal display screen as the X axis. As another example, the corner vertex on the terminal display screen is used as the coordinate origin, specifically, the upper left corner vertex or the lower left corner vertex is used as the coordinate origin, the extension line of the vertical edge line of the terminal display screen is used as the Y axis, and the horizontal edge line is used as the Y axis. The extension line of is used as the X axis to establish the coordinate system of the terminal display screen. Therefore, specific coordinate information of the display area in the coordinate system of the terminal display screen can be recorded in the display area positioning information to determine the position and shape of the display area on the terminal display screen.
例如,显示区域为矩形,则该显示区域定位信息中可包含该矩形显示区域的四个顶点坐标,终端按预设的坐标点连接顺序连接四个顶点则可确定该显示区域;若该显示区域定位信息包含该矩形显示区域的中心点坐标信息,及该矩形显示区域的长度和宽度信息,即可根据该矩形显示区域的中心点坐标及长度和宽度确定该矩形显示区域的在终端显示屏中的位置及形状大小。又如,显示区域为圆形,则该显示区域定位信息中可包含该圆形显示区域的圆心点坐标信息及半径长度,因此可根据该圆形显示区域的圆心点坐标确定该圆形显示区域的位置,根据该圆形显示区域的半径确定该圆形显示区域的大小从而确定在终端显示屏上的该圆形显示区域。For example, if the display area is a rectangle, the positioning information of the display area may include the coordinates of the four vertices of the rectangular display area, and the terminal may determine the display area by connecting the four vertices according to the preset coordinate point connection sequence; if the display area The positioning information includes the coordinate information of the center point of the rectangular display area, and the length and width information of the rectangular display area, so that the location of the rectangular display area in the terminal display screen can be determined according to the center point coordinates, length, and width of the rectangular display area. position and size. For another example, if the display area is circular, the display area positioning information may include the coordinate information of the center point of the circular display area and the radius length, so the circular display area may be determined according to the coordinates of the center point of the circular display area The size of the circular display area is determined according to the radius of the circular display area so as to determine the circular display area on the display screen of the terminal.
S103,检测到所述保护外套扣合到所述终端显示屏上时,根据所述显示区域自适应调整目标应用界面,并在所述显示区域显示所述目标应用界面。S103. When it is detected that the protective cover is fastened to the display screen of the terminal, adaptively adjust a target application interface according to the display area, and display the target application interface in the display area.
具体实现中,可在终端中增加特殊的元件例如:磁敏感元件(霍尔元件)、光敏感元件(光感应器),在保护外套中增加相应的特殊材料,如:磁铁、避光材料,便于终端检测保护外套是否已经扣合到终端的显示屏上。In the specific implementation, special components such as: magnetic sensitive elements (Hall elements), light sensitive elements (light sensors) can be added to the terminal, and corresponding special materials can be added to the protective jacket, such as: magnets, light-shielding materials, It is convenient for the terminal to detect whether the protective cover has been fastened to the display screen of the terminal.
当终端检测到保护外套扣合到终端显示屏上时,将当前终端显示屏中的显示的应用界面作为目标应用界面,根据所述显示区域的位置及形状大小,自适应的调整目标应用界面在终端显示屏上的位置及形状大小直到与显示区域相匹配并在所述显示区域显示所述目标应用界面,从而在保护外套扣合到所述终端显示屏上时,目标应用界面能通过保护外套的可视窗区域展示给用户。进一步的,存储所述目标应用界面自适应调整之后的位置参数和形状参数,用以下一次检测到所述保护外套扣合到所述终端显示屏上时,在所述显示区域显示所述目标应用界面。When the terminal detects that the protective jacket is fastened to the terminal display screen, the application interface displayed on the current terminal display screen is used as the target application interface, and the target application interface is adaptively adjusted according to the position and shape of the display area. The position, shape and size on the terminal display screen are matched with the display area and the target application interface is displayed in the display area, so that when the protective cover is fastened to the terminal display screen, the target application interface can pass through the protective cover The visible window area of the window is displayed to the user. Further, the position parameter and shape parameter after the adaptive adjustment of the target application interface are stored, so as to display the target application in the display area when it is detected that the protective cover is fastened to the terminal display screen next time interface.
所述目标应用界面显示所述终端的应用程序图标、背景图片、短信信息和/或来电信息等等,用户可获取目标应用界面展示的信息或进行某些简单的操作,如接听电话、拒听电话等。用户可在保外套设置模式下,在终端提供的应用界面材料库中选取一个合适的应用界面作为目标应用界面。如图7所示,图7是本发明实施例提供的保护外套模式下应用界面显示效果一示意图,用户可在该目标应用界面中添加一些简单的应用程序图标,例如:联系人、短信、拍照等应用程序的图标,还可添加常用的功能插件如:时间插件、天气插件等。如图8所示,图8是本发明实施例提供的保护外套模式下应用界面显示效果二示意图,目标应用界面还可显示一些实时信息:如来电信息、未读短信信息、未读邮件信息等并在该信息下提供简单的功能操作选项,例如,在来电信息下提供接听、拒接选项可供用户在接收到来电时选择接听来电或者拒接来电;又如,在未读短信信息下提供打开、取消或者删除选项,用户选择打开选项时便可打开该短信进行进一步的阅读、回复或转发等操作,选择取消选项时便可取消该未读短信信息的显示,选择删除选项便可删除该条未读信息。The target application interface displays the terminal's application program icons, background pictures, SMS messages and/or incoming call information, etc., and the user can obtain the information displayed on the target application interface or perform some simple operations, such as answering calls, rejecting calls, etc. telephone etc. The user can select an appropriate application interface from the application interface material library provided by the terminal as the target application interface in the protection cover setting mode. As shown in Figure 7, Figure 7 is a schematic diagram of the display effect of the application interface in the protective jacket mode provided by the embodiment of the present invention. The user can add some simple application program icons in the target application interface, such as: contacts, text messages, photos You can also add commonly used function plug-ins such as: time plug-in, weather plug-in, etc. As shown in Figure 8, Figure 8 is a schematic diagram of the second application interface display effect under the protective jacket mode provided by the embodiment of the present invention, and the target application interface can also display some real-time information: such as incoming call information, unread SMS information, unread email information, etc. And provide simple function operation options under this information, for example, under the incoming call information, provide answer and reject options for users to choose to answer the incoming call or reject the incoming call; another example, provide under the unread SMS information Open, cancel or delete options. When the user selects the open option, he can open the text message for further reading, replying or forwarding operations. When the cancel option is selected, the display of the unread text message information can be canceled. unread messages.
可选的,若终端未检测到所述保护外套扣合到所述终端显示屏上时,终端显示屏中显示用户预设的常规应用界面。Optionally, if the terminal does not detect that the protective cover is fastened to the terminal display screen, a conventional application interface preset by the user is displayed on the terminal display screen.
本发明实施例通过扫描保护外套上的条码标签,获取显示区域定位信息;进而根据所述显示区域定位信息在终端显示屏中确定与所述保护外套上的可视窗区域相对应的显示区域;在检测到所述保护外套扣合到所述终端显示屏上时,根据所述显示区域自适应调整目标应用界面,并在所述显示区域显示所述目标应用界面,使得终端能适应多种带有不同可视窗口的保护外套,用户可选的保护外套更加丰富,提高了用户体验。In the embodiment of the present invention, the display area positioning information is obtained by scanning the barcode label on the protective coat; and then according to the display area positioning information, the display area corresponding to the visible window area on the protective coat is determined on the terminal display screen; When it is detected that the protective cover is fastened to the display screen of the terminal, adaptively adjust the target application interface according to the display area, and display the target application interface in the display area, so that the terminal can adapt to various Protective jackets for different visible windows, user-selectable protective jackets are more abundant, which improves user experience.
参见图2,是本发明实施例提供的另一种应用界面显示方法流程示意图,如图所示的应用界面显示方法可包括以下步骤:Referring to FIG. 2 , it is a schematic flowchart of another method for displaying an application interface provided by an embodiment of the present invention. The method for displaying an application interface as shown in the figure may include the following steps:
S201,扫描保护外套上的条码标签,获取显示区域定位信息,所述定位信息包括所述显示区域的位置参数和形状参数。S201. Scan the barcode label on the protective jacket to acquire positioning information of the display area, where the positioning information includes position parameters and shape parameters of the display area.
具体实现中,条码标签包括一维码标签和二维码标签,条码技术属于自动识别技术,一维码标签可存储的信息量较少更多的使用于商品识别、货单跟踪、图书管理领域,二维码标签可存储的信息量要大于一维码标签,占用的空间尺寸更易调整,并且在条码部分损坏的情况下也能被读取,因此在实际生产过程中,可选择二维码标签存储该显示区域定位信息。In the specific implementation, barcode labels include one-dimensional code labels and two-dimensional code labels. Barcode technology belongs to automatic identification technology. One-dimensional code labels can store less information and are more used in the fields of commodity identification, inventory tracking, and book management. , the amount of information that can be stored in a two-dimensional code label is greater than that of a one-dimensional code label, and the size of the occupied space is easier to adjust, and it can also be read when part of the barcode is damaged. Therefore, in the actual production process, you can choose a two-dimensional code The tag stores the positioning information of the display area.
本实施例所描述的保护外套带有与终端相匹配的可视窗区域,该可视窗区域可以是由透明材料形成的,也可是镂空的。在生产该保护外套时确定与该可视窗区域相匹配的终端显示屏上的显示区域的显示区域定位信息,并将该显示区域定位信息进行编码存储到条码标签中,最后将该条码标签粘贴到保护外套上。若该显示区域定位信息存储在二维码标签中,在用户初次使用某一款保护外套时,若欲使用终端中与该保护外套相匹配的保护外套模式,需首先打开终端提供的保护外套设置模式,然后在该设置模式下开启终端的条码扫描功能,例如扫一扫功能,扫描保护外套上粘贴的二维码标签,将获取到的二维码标签信息解码从而得到显示区域定位信息。The protective cover described in this embodiment has a visible window area that matches the terminal, and the visible window area may be formed of a transparent material or hollowed out. When producing the protective coat, determine the display area positioning information of the display area on the terminal display screen matched with the visible window area, and encode and store the display area positioning information in the barcode label, and finally paste the barcode label on the Protective coat on. If the positioning information of the display area is stored in the QR code label, when the user uses a certain protective cover for the first time, if he wants to use the protective cover mode that matches the protective cover in the terminal, he must first open the protective cover settings provided by the terminal. mode, and then enable the barcode scanning function of the terminal in this setting mode, such as the scan function, scan the QR code label pasted on the protective jacket, and decode the obtained QR code label information to obtain the display area positioning information.
本步骤中所述定位信息包括所述显示区域的位置参数和形状参数,所述位置参数用于在步骤S202中确定显示区域在终端显示屏上的位置,所述形状参数用于在步骤S203中确定显示区域的形状。The positioning information in this step includes position parameters and shape parameters of the display area, the position parameters are used to determine the position of the display area on the terminal display screen in step S202, and the shape parameters are used to determine the position of the display area on the terminal display screen in step S203 Determines the shape of the display area.
S202,根据所述显示区域的位置参数确定所述显示区域在所述终端显示屏上的位置。S202. Determine the position of the display area on the display screen of the terminal according to the position parameter of the display area.
在具体实现中,可预先基于终端显示屏建立坐标系,例如,在矩形的终端显示屏上,以终端显示屏上的中心点为坐标原点,以终端显示屏的横边缘线的中线为Y轴,以终端显示屏的竖边缘线的中线为X轴建立终端显示屏坐标系。因此可在显示区域定位信息中记录显示区域在终端显示屏坐标系中的具体坐标信息,以确定显示区域在终端显示屏上的位置及形状。In a specific implementation, a coordinate system can be established in advance based on the terminal display screen. For example, on a rectangular terminal display screen, the center point on the terminal display screen is the coordinate origin, and the center line of the horizontal edge line of the terminal display screen is the Y axis. , establish the coordinate system of the terminal display screen with the center line of the vertical edge line of the terminal display screen as the X-axis. Therefore, specific coordinate information of the display area in the coordinate system of the terminal display screen can be recorded in the display area positioning information to determine the position and shape of the display area on the terminal display screen.
例如,保护外套相匹配的显示区域为矩形的显示区域,则可以在显示区域定位信息中记录该矩形显示区域的中心点坐标(即该矩形显示区域的位置参数),即可在获取到显示区域的定位信息时确定该矩形显示区域的中心点在终端显示屏上的位置,若在显示区域定位信息中还包括该矩形显示区域的长度和宽度信息(即该矩形显示区域的形状参数),则继续通过步骤S203完全确定该矩形显示区域在终端显示屏上的位置及形状大小。For example, if the display area matched by the protective coat is a rectangular display area, the coordinates of the center point of the rectangular display area (that is, the position parameter of the rectangular display area) can be recorded in the display area positioning information, and the display area can be acquired When determining the position of the center point of the rectangular display area on the display screen of the terminal, if the display area positioning information also includes the length and width information of the rectangular display area (that is, the shape parameters of the rectangular display area), then Continue to step S203 to fully determine the position and shape of the rectangular display area on the terminal display screen.
S203,根据所述显示区域的形状参数确定所述显示区域的形状。S203. Determine the shape of the display area according to the shape parameter of the display area.
具体实现中,若所述显示区域为圆形显示区域,则显示区域定位信息可包括该圆形显示区域的圆心坐标和半径长度,其中圆心坐标即为该圆形显示区域的位置参数,而半径长度即为该圆形显示区域的形状参数,因此在步骤S202中可确定该圆形显示区域的圆心在终端显示屏上的位置,然后根据半径长度获取一系列到圆心坐标点的距离为半径长度的点,这些点所形成的轨迹的闭合区域即为该圆形显示区域,因此可以完全确定该圆形显示区域在终端显示屏上的位置及形状大小。In specific implementation, if the display area is a circular display area, the display area positioning information may include the center coordinates and radius length of the circular display area, where the center coordinates are the position parameters of the circular display area, and the radius The length is the shape parameter of the circular display area, so in step S202, the position of the center of the circular display area on the terminal display screen can be determined, and then a series of distances to the coordinate points of the center of the circle can be obtained according to the radius length as the radius length The closed area of the trajectory formed by these points is the circular display area, so the position, shape and size of the circular display area on the terminal display screen can be completely determined.
通过步骤S202和步骤S203显示区域将完全与保护外套的可视窗区域匹配。Through steps S202 and S203, the display area will completely match the visible window area of the protective jacket.
S204,检测到所述保护外套扣合到所述终端显示屏上时,将所述目标应用界面在所述终端显示屏上的位置参数调整到与所述显示区域的位置参数相匹配。S204. When it is detected that the protective cover is snapped onto the terminal display screen, adjust the position parameter of the target application interface on the terminal display screen to match the position parameter of the display area.
具体实现中,可在终端中增加特殊的元件例如:磁敏感元件(霍尔元件)、光敏感元件(光感应器),在保护外套中增加相应的特殊材料,如:磁铁、避光材料,便于终端检测保护外套是否已经扣合到终端的显示屏上。所述目标应用界面显示所述终端的应用程序图标、背景图片、短信信息和/或来电信息等等。In the specific implementation, special components such as: magnetic sensitive elements (Hall elements), light sensitive elements (light sensors) can be added to the terminal, and corresponding special materials can be added to the protective jacket, such as: magnets, light-shielding materials, It is convenient for the terminal to detect whether the protective cover has been fastened to the display screen of the terminal. The target application interface displays application program icons, background pictures, short message information and/or incoming call information of the terminal, and the like.
当终端检测到所述保护外套扣合到所述终端显示屏上时,将当前终端显示屏中的显示的应用界面作为目标应用界面,根据所述显示区域在终端的位置参数调整目标应用界面的位置参数,使二者在终端显示屏上的位置相重合。例如,所述显示区域为矩形显示区域,其中心点与终端显示屏上的中心点重合,则将目标应用界面的中心点调整到与终端显示屏上的中心点重合即可。When the terminal detects that the protective cover is snapped onto the terminal display screen, the application interface currently displayed on the terminal display screen is used as the target application interface, and the target application interface is adjusted according to the position parameters of the display area in the terminal. Position parameters, so that the positions of the two on the terminal display screen coincide. For example, if the display area is a rectangular display area, and its center point coincides with the center point on the terminal display screen, then the center point of the target application interface can be adjusted to coincide with the center point on the terminal display screen.
用户可在保外套设置模式下,在终端提供的应用界面材料库中选取一个合适的应用界面作为目标应用界面。如图7所示,图7是本发明实施例提供的保护外套模式下应用界面显示效果一示意图,用户可在该应用界面中添加一些简单的应用程序图标,例如:联系人、短信、拍照等应用程序的图标,还可添加常用的功能插件如:时间插件、天气插件等。如图8所示,图8是本发明实施例提供的保护外套模式下应用界面显示效果二示意图,目标应用界面还可显示一些实时信息:如来电信息、未读短信信息、未读邮件信息等并在该信息下提供简单的功能操作选项,例如,在来电信息下提供接听、拒接选项可供用户在接收到来电时选择接听来电或者拒接来电;又如,在未读短信信息下提供打开、取消或者删除选项,用户选择打开选项时便可打开该短信进行进一步的阅读、回复或转发等操作,选择取消选项时便可取消该未读短信信息的显示,选择删除选项便可删除该条未读信息。The user can select an appropriate application interface from the application interface material library provided by the terminal as the target application interface in the protection cover setting mode. As shown in Figure 7, Figure 7 is a schematic diagram of the display effect of the application interface in the protective jacket mode provided by the embodiment of the present invention. The user can add some simple application program icons in the application interface, such as: contacts, text messages, photos, etc. The icon of the application program can also add commonly used function plug-ins such as: time plug-in, weather plug-in, etc. As shown in Figure 8, Figure 8 is a schematic diagram of the second application interface display effect under the protective jacket mode provided by the embodiment of the present invention, and the target application interface can also display some real-time information: such as incoming call information, unread SMS information, unread email information, etc. And provide simple function operation options under this information, for example, under the incoming call information, provide answer and reject options for users to choose to answer the incoming call or reject the incoming call; another example, provide under the unread SMS information Open, cancel or delete options. When the user selects the open option, he can open the text message for further reading, replying or forwarding operations. When the cancel option is selected, the display of the unread text message information can be canceled. unread messages.
S205,将所述目标应用界面在所述终端显示屏上的形状参数调整到与所述显示区域的形状参数相匹配。S205. Adjust the shape parameters of the target application interface on the display screen of the terminal to match the shape parameters of the display area.
具体实现中,在步骤S204所举的实例中,若该矩形显示区域的形状参数为该矩形区域的长度和宽度,则在本步骤中终端则可将目标应用界面的长度和宽度调整到跟该矩形显示区域的长度和宽度相同,还可将目标应用界面中显示的功能图标及相关信息进行一定比例的调整以适应调整后的目标应用界面,让用户看起来更加舒适。又如,显示区域为圆形,则该圆形显示区域的形状参数为该圆形显示区域的半径长度,则在本步骤中终端可以将目标应用界面的形状调整成为半径长度跟该圆形显示区域半径长度相同的圆形。In the specific implementation, in the example given in step S204, if the shape parameters of the rectangular display area are the length and width of the rectangular area, then in this step, the terminal can adjust the length and width of the target application interface to match the length and width of the rectangular display area. The length and width of the rectangular display area are the same, and the function icons and related information displayed in the target application interface can also be adjusted to a certain proportion to adapt to the adjusted target application interface, making the user look more comfortable. For another example, if the display area is a circle, then the shape parameter of the circular display area is the radius length of the circular display area, then in this step, the terminal can adjust the shape of the target application interface to be the same as the radius length of the circular display area. A circle whose area radius is the same length.
通过步骤S204和步骤S205目标应用界面将完全匹配显示区域。Through steps S204 and S205, the target application interface will completely match the display area.
S206,在所述显示区域显示所述目标应用界面。S206. Display the target application interface in the display area.
通过本步骤,用户则可以在在保护外套扣合在终端显示屏上时,通过保护外套的可视窗区域获取目标应用界面上显示的信息,如时间信息,天气信息;或者操作目标应用界面上提供的一些简单的功能,如在有来电的时候选择接听电话或者拒接电话,减少用户在使用终端时频繁的打开和扣合终端的保护外套,节约用户的时间。Through this step, the user can obtain the information displayed on the target application interface through the visible window area of the protective cover when the protective cover is fastened on the terminal display screen, such as time information and weather information; or operate the information provided on the target application interface. Some simple functions, such as choosing to answer the call or reject the call when there is an incoming call, reduce the frequent opening and closing of the terminal's protective jacket by the user when using the terminal, saving the user's time.
本发明实施例通过扫描保护外套上的条码标签,获取显示区域定位信息,所述定位信息包括所述显示区域的位置参数和形状参数;进而根据所述显示区域的位置参数确定所述显示区域在所述终端显示屏上的位置,根据所述显示区域的形状参数确定所述显示区域的形状;然后将所述目标应用界面在所述终端显示屏上的位置参数调整到与所述显示区域的位置参数相匹配,将所述目标应用界面在所述终端显示屏上的形状参数调整到与所述显示区域的形状参数相匹配;最后检测到所述保护外套扣合到所述终端显示屏上时,在所述显示区域显示所述目标应用界面,使得终端能适应具有不同可视窗口的保护外套,增加了保护外套与终端匹配的灵活性,使用户可选的保护外套更加丰富。In the embodiment of the present invention, by scanning the barcode label on the protective coat, the positioning information of the display area is obtained, and the positioning information includes the position parameters and shape parameters of the display area; The position on the display screen of the terminal, determining the shape of the display area according to the shape parameters of the display area; then adjusting the position parameter of the target application interface on the display screen of the terminal to the same position as the display area The position parameters are matched, and the shape parameters of the target application interface on the terminal display screen are adjusted to match the shape parameters of the display area; finally, it is detected that the protective coat is fastened to the terminal display screen When the target application interface is displayed in the display area, the terminal can adapt to protective covers with different visible windows, which increases the flexibility of matching the protective cover and the terminal, and enriches the optional protective covers for the user.
参见图3,本发明实施例提供的一种终端结构示意图,如图所示终端至少可以包括:扫描单元301,确定单元302,检测单元303,调整单元304,显示单元305。Referring to FIG. 3 , a schematic structural diagram of a terminal provided by an embodiment of the present invention, as shown in the figure, the terminal may at least include: a scanning unit 301 , a determining unit 302 , a detecting unit 303 , an adjusting unit 304 , and a display unit 305 .
扫描单元301,用于扫描保护外套上的条码标签,获取显示区域定位信息。The scanning unit 301 is configured to scan the barcode label on the protective jacket to obtain positioning information of the display area.
具体现实中,需预先根据终端的形状及尺寸大小设计与终端相匹配的保护外套,如图6所示,图6为本发明实施例提供的终端和保护外套结构示意图,该保护外套的前盖上带有合适的可视窗区域,该可视窗区域可以是由透明材料形成的,也可是镂空的,然后确定与该可视窗区域相匹配的终端显示屏上的显示区域的显示区域定位信息,并确定该显示区域定位信息的编码码制,最后将该显示区域定位信息进行编码存储到条码标签中,并将该条码标签粘贴到保护外套上。条码标签包括一维码标签或二维码标签,常见的一维码编码码制包括:UPC、Code 3 of9或Code 128等,常见的二维码编码码制包括PDF417、QR Code或Code 49等。In practice, it is necessary to design a protective cover that matches the terminal in advance according to the shape and size of the terminal, as shown in Figure 6, which is a schematic structural diagram of the terminal and the protective cover provided by the embodiment of the present invention. The front cover of the protective cover There is a suitable visible window area on the screen, and the visible window area can be formed of a transparent material or hollowed out, and then determine the display area positioning information of the display area on the terminal display screen that matches the visible window area, and Determine the coding code system of the positioning information of the display area, and finally encode and store the positioning information of the display area into a barcode label, and paste the barcode label on the protective coat. Barcode labels include one-dimensional code labels or two-dimensional code labels. Common one-dimensional code coding systems include: UPC, Code 3 of9 or Code 128, etc. Common two-dimensional code coding systems include PDF417, QR Code or Code 49, etc. .
例如首先生产形状大小与终端相匹配带有可视窗区域的保护外套,然后将该保护外套前盖扣合到终显示屏上,确定该保护外套前盖扣合后终端显示屏与该可视窗区域重合的部分,该重合的部分即为与该可视窗区域相匹配的终端显示屏上的显示区域,然后确定该显示区域在终端显示屏上的定位信息,最后使用QR编码将该定位信息编码并存储到二维码标签中。For example, first produce a protective cover with a visible window area matching the shape and size of the terminal, and then fasten the front cover of the protective cover to the final display screen, and determine that the terminal display screen and the visible window area are connected after the front cover of the protective cover is fastened. The overlapping part, the overlapping part is the display area on the terminal display screen that matches the visible window area, then determine the positioning information of the display area on the terminal display screen, and finally use the QR code to encode the positioning information and Stored in the QR code label.
如上述所举实例所述,若该显示区域定位信息存储在二维码标签中,用户欲使用终端中与该保护外套相匹配的保护外套模式之前,需首先打开终端提供的保护外套设置模式,并在该设置模式下开启终端的二维码扫描功能,例如扫一扫功能,扫描单元301则扫描保护外套上的二维码标签获取二维码信息,然后将获取到的二维码信息解码从而得到显示区域定位信息。As mentioned in the above example, if the positioning information of the display area is stored in the two-dimensional code label, before the user wants to use the protective cover mode that matches the protective cover in the terminal, he must first open the protective cover setting mode provided by the terminal. And turn on the QR code scanning function of the terminal in this setting mode, such as the scan function, the scanning unit 301 scans the QR code label on the protective jacket to obtain the QR code information, and then decodes the obtained QR code information In this way, the positioning information of the display area is obtained.
确定单元302,用于根据所述显示区域定位信息在终端显示屏中确定与所述保护外套上的可视窗区域相对应的显示区域。The determining unit 302 is configured to determine a display area corresponding to the visible window area on the protective cover in the display screen of the terminal according to the display area positioning information.
具体实现中,显示区域定位信息用以定位终端显示屏上与可视窗区域相匹配的显示区域,使保护外套上的可视窗区域与终端显示屏上的显示区域相对应,从而通过可视窗区域显示显示区域中的应用界面。In a specific implementation, the display area positioning information is used to locate the display area matching the visible window area on the terminal display screen, so that the visible window area on the protective cover corresponds to the display area on the terminal display screen, so that the visible window area displays App interface in display area.
在本发明实施例中,可预先基于终端显示屏建立坐标系,例如,在矩形的终端显示屏上,以终端显示屏上的中心点为坐标原点,以终端显示屏的横边缘线的中线为Y轴,以终端显示屏的竖边缘线的中线为X轴建立终端显示屏坐标系。又如,以终端显示屏上的边角顶点作为坐标原点,具体可为以左上角顶点或者左下角顶点作为坐标原点,以终端显示屏的竖边缘线的延长线作为Y轴,以横边缘线的延长线作为X轴建立终端显示屏坐标系。因此可在显示区域定位信息中记录显示区域在终端显示屏坐标系中的具体坐标信息,确定单元302便可根据其具体坐标信息确定显示区域在终端显示屏上的位置及形状。In the embodiment of the present invention, a coordinate system can be established in advance based on the terminal display screen. For example, on a rectangular terminal display screen, the center point on the terminal display screen is the coordinate origin, and the center line of the horizontal edge line of the terminal display screen is the For the Y axis, the terminal display screen coordinate system is established with the center line of the vertical edge line of the terminal display screen as the X axis. As another example, the corner vertex on the terminal display screen is used as the coordinate origin, specifically, the upper left corner vertex or the lower left corner vertex is used as the coordinate origin, the extension line of the vertical edge line of the terminal display screen is used as the Y axis, and the horizontal edge line is used as the Y axis. The extension line of is used as the X axis to establish the coordinate system of the terminal display screen. Therefore, the specific coordinate information of the display area in the terminal display screen coordinate system can be recorded in the display area positioning information, and the determining unit 302 can determine the position and shape of the display area on the terminal display screen according to the specific coordinate information.
例如,该显示区域为矩形,则该显示区域定位信息中可包含该矩形显示区域的四个顶点坐标,按预设的坐标点连接顺序连接四个顶点则可确定该矩形显示区域;若显示区域定位信息包含该矩形显示区域的中心点坐标及长度和宽度,确定单元302即可根据中心点坐标及长度和宽度确定该矩形显示区域的在终端显示屏中的位置及形状大小。又如,该显示区域为圆形,则显示区域定位信息中可包含该圆形显示区域的圆心点坐标信息,还包含该圆形显示区域的半径长度,因此确定单元302可根据圆心点坐标和半径长度确定该圆形显示区域在终端显示屏上的位置和大小。For example, if the display area is a rectangle, the positioning information of the display area can include the coordinates of four vertices of the display area of the rectangle, and the four vertices can be connected according to the preset coordinate point connection order to determine the display area of the rectangle; if the display area The positioning information includes the coordinates of the center point and the length and width of the rectangular display area, and the determining unit 302 can determine the position and shape of the rectangular display area in the terminal display screen according to the coordinates of the center point, the length, and the width. For another example, if the display area is circular, the display area positioning information may include the coordinate information of the center point of the circular display area, and also include the radius length of the circular display area, so the determination unit 302 may base the center point coordinates and The radius length determines the position and size of the circular display area on the terminal display screen.
检测单元303,用于检测所述保护外套是否扣合到所述终端显示屏上。The detection unit 303 is configured to detect whether the protective jacket is fastened to the display screen of the terminal.
具体实现中,可在终端中增加特殊的元件例如:磁敏感元件(霍尔元件)、光敏感元件(光感应器),在保护外套中增加相应的特殊材料,如:磁铁、避光材料,便于检测单元303检测保护外套是否已经扣合到终端的显示屏上。In the specific implementation, special components such as: magnetic sensitive elements (Hall elements), light sensitive elements (light sensors) can be added to the terminal, and corresponding special materials can be added to the protective jacket, such as: magnets, light-shielding materials, It is convenient for the detection unit 303 to detect whether the protective cover has been fastened to the display screen of the terminal.
调整单元304,用于所述检测单元303检测到所述保护外套扣合到所述终端显示屏上时,根据所述显示区域自适应调整目标应用界面。The adjustment unit 304 is configured to adaptively adjust the target application interface according to the display area when the detection unit 303 detects that the protective cover is fastened to the display screen of the terminal.
具体实现中,当检测单元303检测到保护外套扣合到终端显示屏上时,将当前终端显示屏中的显示的应用界面作为目标应用界面。调整单元304根据所述显示区域的位置及形状大小,自适应的调整目标应用界面在终端显示屏上的位置及形状大小直到与显示区域相匹配并在所述显示区域显示所述目标应用界面,从而在保护外套扣合到所述终端显示屏上时,目标应用界面能通过保护外套的可视窗区域展示给用户。所述目标应用界面显示所述终端的应用程序图标、背景图片、短信信息和/或来电信息等等,用户获取目标应用界面展示的信息或进行某些简单的操作,如接听电话、拒听电话等。In a specific implementation, when the detection unit 303 detects that the protective cover is fastened to the display screen of the terminal, the application interface currently displayed on the display screen of the terminal is used as the target application interface. The adjustment unit 304 adaptively adjusts the position and shape of the target application interface on the display screen of the terminal according to the position and shape of the display area until it matches the display area and displays the target application interface in the display area, Therefore, when the protective cover is fastened onto the terminal display screen, the target application interface can be displayed to the user through the visible window area of the protective cover. The target application interface displays application program icons, background pictures, SMS messages and/or incoming call information of the terminal, etc., and the user obtains the information displayed on the target application interface or performs some simple operations, such as answering a call or rejecting a call wait.
用户可在保外套设置模式下,在终端提供的应用界面材料库中选取一个合适的应用界面作为目标应用界面。如图7所示,图7是本发明实施例提供的保护外套模式下应用界面显示效果一示意图,用户可在该目标应用界面中添加一些简单的应用程序图标,例如:联系人、短信、拍照等应用程序的图标,还可添加常用的功能插件如:时间插件、天气插件等。如图8所示,图8是本发明实施例提供的保护外套模式下应用界面显示效果二示意图,目标应用界面还可显示一些实时信息:如来电信息、未读短信信息、未读邮件信息等并在该信息下提供简单的功能操作选项,例如,在来电信息下提供接听、拒接选项可供用户在接收到来电时选择接听来电或者拒接来电;又如,在未读短信信息下提供打开、取消或者删除选项,用户选择打开选项时便可打开该短信进行进一步的阅读、回复或转发等操作,选择取消选项时便可取消该未读短信信息的显示,选择删除选项便可删除该条未读信息。The user can select an appropriate application interface from the application interface material library provided by the terminal as the target application interface in the protection cover setting mode. As shown in Figure 7, Figure 7 is a schematic diagram of the display effect of the application interface in the protective jacket mode provided by the embodiment of the present invention. The user can add some simple application program icons in the target application interface, such as: contacts, text messages, photos You can also add commonly used function plug-ins such as: time plug-in, weather plug-in, etc. As shown in Figure 8, Figure 8 is a schematic diagram of the second application interface display effect under the protective jacket mode provided by the embodiment of the present invention, and the target application interface can also display some real-time information: such as incoming call information, unread SMS information, unread email information, etc. And provide simple function operation options under this information, for example, under the incoming call information, provide answer and reject options for users to choose to answer the incoming call or reject the incoming call; another example, provide under the unread SMS information Open, cancel or delete options. When the user selects the open option, he can open the text message for further reading, replying or forwarding operations. When the cancel option is selected, the display of the unread text message information can be canceled. unread messages.
显示单元305,用于在所述显示区域显示所述目标应用界面。The display unit 305 is configured to display the target application interface in the display area.
通过显示单元305在所述显示区域显示所述目标应用界面,用户则可以在在保护外套扣合在终端显示屏上时,通过保护外套的可视窗区域获取目标应用界面上显示的信息,如时间信息,天气信息;甚至可以操作目标应用界面上提供的一些简单功能,如在有来电的时候选择接听电话或者拒接电话,减少用户在欲使用终端时频繁的打开和关闭终端的保护外套,节约用户的时间。By displaying the target application interface in the display area by the display unit 305, the user can obtain the information displayed on the target application interface through the visible window area of the protective cover when the protective cover is fastened on the terminal display screen, such as time Information, weather information; even some simple functions provided on the target application interface can be operated, such as choosing to answer the call or reject the call when there is an incoming call, reducing the frequent opening and closing of the terminal’s protective jacket when the user wants to use the terminal, saving user's time.
本发明实施例通过扫描保护外套上的条码标签,获取显示区域定位信息,进而根据所述显示区域定位信息在终端显示屏中确定与所述保护外套上的可视窗区域相对应的显示区域,在检测到所述保护外套扣合到所述终端显示屏上时,根据所述显示区域自适应调整目标应用界面,并在所述显示区域显示所述目标应用界面,使得终端能适应多种带有不同可视窗口的保护外套,使用户可选的保护外套更加丰富,提高了用户体验。In the embodiment of the present invention, the display area positioning information is obtained by scanning the barcode label on the protective coat, and then the display area corresponding to the visible window area on the protective coat is determined on the terminal display screen according to the display area positioning information, and the When it is detected that the protective cover is fastened to the display screen of the terminal, adaptively adjust the target application interface according to the display area, and display the target application interface in the display area, so that the terminal can adapt to various The protective jackets with different visible windows make the optional protective jackets more abundant and improve the user experience.
进一步的参见图4,本发明实施例提供的确定单元结构示意图,所述确定单元302可包括:第一确定子单元3201,第二确定子单元3202。Further referring to FIG. 4 , which is a schematic structural diagram of a determination unit provided by an embodiment of the present invention, the determination unit 302 may include: a first determination subunit 3201 and a second determination subunit 3202 .
第一确定子单元3201,用于根据所述显示区域的位置参数确定所述显示区域在所述终端显示屏上的位置。The first determination subunit 3201 is configured to determine the position of the display area on the display screen of the terminal according to the position parameter of the display area.
在具体实现中,可预先基于终端显示屏建立坐标系,例如,在矩形的终端显示屏上,以终端显示屏上的中心点为坐标原点,以终端显示屏的横边缘线的中线为Y轴,以终端显示屏的竖边缘线的中线为X轴建立终端显示的坐标系。例如,保护外套相匹配的显示区域为矩形的显示区域,在基于终端显示屏建立的某一确定的坐标系下,可以在显示区域定位信息中记录该矩形显示区域的中心点坐标(即显示区域的位置参数),即可在扫描单元301获取到显示区域的定位信息时,第一确定子单元3201确定该矩形显示区域的中心点在终端显示屏上的位置,若在显示区域定位信息中还包括该矩形显示区域的长度和宽度信息(即显示区域的形状参数),则继续通过第二确定子单元3202确定该矩形显示区域的形状,从而完全确定该矩形显示区域在终端显示屏上的位置及形状大小。In a specific implementation, a coordinate system can be established in advance based on the terminal display screen. For example, on a rectangular terminal display screen, the center point on the terminal display screen is the coordinate origin, and the center line of the horizontal edge line of the terminal display screen is the Y axis. , establish a terminal display coordinate system with the center line of the vertical edge line of the terminal display screen as the X-axis. For example, the display area matched by the protective coat is a rectangular display area. Under a certain coordinate system established based on the terminal display screen, the coordinates of the center point of the rectangular display area can be recorded in the display area positioning information (that is, the display area position parameter), that is, when the scanning unit 301 obtains the positioning information of the display area, the first determination subunit 3201 determines the position of the center point of the rectangular display area on the terminal display screen, if the positioning information of the display area is also Including the length and width information of the rectangular display area (that is, the shape parameters of the display area), then continue to determine the shape of the rectangular display area through the second determining subunit 3202, so as to completely determine the position of the rectangular display area on the terminal display screen and shape and size.
第二确定子单元3202,用于根据所述显示区域的形状参数确定所述显示区域的形状。The second determination subunit 3202 is configured to determine the shape of the display area according to the shape parameters of the display area.
具体实现中,若所述显示区域为圆形显示区域,则显示区域定位信息可包括该圆形显示区域的圆心坐标和半径长度,其中圆心坐标即为该圆形显示区域的位置参数,而半径长度即为该圆形显示区域的形状参数,因此第一确定子单元3201可确定该圆形显示区域的圆心在终端显示屏上的位置,第二确定子单元3202根据半径长度获取一系列到圆心坐标点的距离为半径长度的点,这些点所形成的轨迹的闭合区域即为该圆形显示区域,因此第二确定子单元3202可确定该圆形显示区域在终端显示屏上的形状大小。In specific implementation, if the display area is a circular display area, the display area positioning information may include the center coordinates and radius length of the circular display area, where the center coordinates are the position parameters of the circular display area, and the radius The length is the shape parameter of the circular display area, so the first determination subunit 3201 can determine the position of the center of the circular display area on the terminal display screen, and the second determination subunit 3202 obtains a series of parameters to the center of the circle according to the radius length. The distance between the coordinate points is the point of the radius length, and the closed area of the trajectory formed by these points is the circular display area, so the second determining subunit 3202 can determine the shape and size of the circular display area on the terminal display screen.
进一步的参见图5,本发明实施例提供的调整单元结构示意图,所述调整单元303可包括:第一调整子单元3301,第二调整子单元3302。Further referring to FIG. 5 , which is a schematic structural diagram of an adjustment unit provided by an embodiment of the present invention, the adjustment unit 303 may include: a first adjustment subunit 3301 and a second adjustment subunit 3302 .
第一调整子单元3301,用于将所述目标应用界面在所述终端显示屏上的位置参数调整到与所述显示区域的位置参数相匹配。The first adjusting subunit 3301 is configured to adjust the position parameter of the target application interface on the display screen of the terminal to match the position parameter of the display area.
当检测单元303检测到所述保护外套扣合到所述终端显示屏上时,将当前终端显示屏中的显示的应用界面作为目标应用界面,第一调整子单元3301根据显示区域的位置参数调整目标应用界面的位置参数,使二者在终端显示屏上的位置相重合。例如,所述显示区域为矩形显示区域,其中心点与终端显示屏上的中心点重合,则将目标应用界面的中心点调整到与终端显示屏上的中心点重合即可。When the detection unit 303 detects that the protective cover is snapped onto the terminal display screen, the application interface currently displayed on the terminal display screen is used as the target application interface, and the first adjustment subunit 3301 adjusts the application interface according to the position parameters of the display area. The position parameter of the target application interface, so that the positions of the two on the terminal display screen coincide. For example, if the display area is a rectangular display area, and its center point coincides with the center point on the terminal display screen, then the center point of the target application interface can be adjusted to coincide with the center point on the terminal display screen.
第二调整子单元3302,用于将所述目标应用界面在所述终端显示屏上的形状参数调整到与所述显示区域的形状参数相匹配。The second adjustment subunit 3302 is configured to adjust the shape parameters of the target application interface on the display screen of the terminal to match the shape parameters of the display area.
具体实现中,若矩形显示区域的形状参数为该矩形区域的长度和宽度,则第二调整子单元3302可将目标应用界面的长度和宽度调整到跟该矩形显示区域的长度和宽度相同,还可将目标应用界面中显示的功能图标及相关信息进行一定比例的调整以适应调整后的目标应用界面,让用户看起来更加舒适。又如,显示区域为圆形,则该圆形显示区域的形状参数为该圆形显示区域的半径长度,则第二调整子单元3302将目标应用界面的形状调整成为半径程度跟该圆形显示区域半径长度相同的圆形。In specific implementation, if the shape parameter of the rectangular display area is the length and width of the rectangular area, the second adjustment subunit 3302 can adjust the length and width of the target application interface to be the same as the length and width of the rectangular display area, and also The function icons and related information displayed on the target application interface can be adjusted to a certain proportion to adapt to the adjusted target application interface, so that the user looks more comfortable. For another example, if the display area is a circle, then the shape parameter of the circular display area is the radius length of the circular display area, and then the second adjustment subunit 3302 adjusts the shape of the target application interface to be equal to the radius of the circular display area. A circle whose area radius is the same length.
通过上述实施例的描述,本发明实施例可扫描保护外套上的条码标签,获取显示区域定位信息,还可根据所述显示区域定位信息在终端显示屏中确定与所述保护外套上的可视窗区域相对应的显示区域,进而在检测到所述保护外套扣合到所述终端显示屏上时,根据所述显示区域自适应调整目标应用界面,并在所述显示区域显示所述目标应用界面。使得终端能适应多种带有可视窗口的保护外套,使用户可选的保护外套更加丰富,提高了用户体验。Through the description of the above embodiments, the embodiment of the present invention can scan the barcode label on the protective jacket to obtain the display area positioning information, and can also determine the visible window on the terminal display screen according to the display area positioning information. A display area corresponding to the area, and then when it is detected that the protective jacket is fastened to the terminal display screen, adaptively adjust the target application interface according to the display area, and display the target application interface in the display area . This enables the terminal to adapt to various protective covers with visible windows, enriches the optional protective covers for users, and improves user experience.
以上对本发明实施例公开的一种应用界面显示方法及终端进行了详细介绍,以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。An application interface display method and a terminal disclosed in the embodiments of the present invention have been introduced in detail above. What is disclosed above is only a preferred embodiment of the present invention. Of course, it cannot be used to limit the scope of rights of the present invention. The equivalent changes made by the claims still belong to the scope covered by the present invention.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410763316.6A CN104503658B (en) | 2014-12-12 | 2014-12-12 | Application interface display method and terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410763316.6A CN104503658B (en) | 2014-12-12 | 2014-12-12 | Application interface display method and terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104503658A true CN104503658A (en) | 2015-04-08 |
| CN104503658B CN104503658B (en) | 2017-08-01 |
Family
ID=52945059
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410763316.6A Expired - Fee Related CN104503658B (en) | 2014-12-12 | 2014-12-12 | Application interface display method and terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104503658B (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105516478A (en) * | 2015-12-02 | 2016-04-20 | 广东欧珀移动通信有限公司 | Display method and display apparatus for mobile terminal |
| CN106339190A (en) * | 2015-07-10 | 2017-01-18 | 三星电子株式会社 | An apparatus and method for a hybrid secondary screen smart cover with e-ink |
| CN106775244A (en) * | 2016-12-19 | 2017-05-31 | 深圳天珑无线科技有限公司 | A kind of application display method and device |
| WO2017193476A1 (en) * | 2016-05-13 | 2017-11-16 | 中兴通讯股份有限公司 | Method and device for automatically adapting display window of mobile terminal, and protection case |
| CN108255557A (en) * | 2018-01-10 | 2018-07-06 | 深圳市欧信计算机通信科技有限公司 | The broken screen emergency method of mobile terminal and its system |
| CN108510457A (en) * | 2018-03-28 | 2018-09-07 | 京东方科技集团股份有限公司 | Image correction method, device, display equipment |
| CN110928629A (en) * | 2019-11-22 | 2020-03-27 | 深圳传音控股股份有限公司 | Display method, mobile terminal and computer-readable storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100147737A1 (en) * | 2009-08-21 | 2010-06-17 | Otter Products, Llc | Protective cushion cover for an electronic device |
| CN202436342U (en) * | 2012-02-20 | 2012-09-19 | 中山市海普尔商贸发展有限公司 | A leather case with screen film protection |
| CN102867165A (en) * | 2012-09-19 | 2013-01-09 | 腾讯科技(深圳)有限公司 | Method and associated device for providing and storing two-dimension code information, and associated device |
| CN103747134A (en) * | 2013-12-23 | 2014-04-23 | 宇龙计算机通信科技(深圳)有限公司 | User interface display method and terminal |
| CN103945382A (en) * | 2014-04-29 | 2014-07-23 | 中国联合网络通信集团有限公司 | Parameter configuration method and device of application terminal |
-
2014
- 2014-12-12 CN CN201410763316.6A patent/CN104503658B/en not_active Expired - Fee Related
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100147737A1 (en) * | 2009-08-21 | 2010-06-17 | Otter Products, Llc | Protective cushion cover for an electronic device |
| CN202436342U (en) * | 2012-02-20 | 2012-09-19 | 中山市海普尔商贸发展有限公司 | A leather case with screen film protection |
| CN102867165A (en) * | 2012-09-19 | 2013-01-09 | 腾讯科技(深圳)有限公司 | Method and associated device for providing and storing two-dimension code information, and associated device |
| CN103747134A (en) * | 2013-12-23 | 2014-04-23 | 宇龙计算机通信科技(深圳)有限公司 | User interface display method and terminal |
| CN103945382A (en) * | 2014-04-29 | 2014-07-23 | 中国联合网络通信集团有限公司 | Parameter configuration method and device of application terminal |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106339190A (en) * | 2015-07-10 | 2017-01-18 | 三星电子株式会社 | An apparatus and method for a hybrid secondary screen smart cover with e-ink |
| CN106339190B (en) * | 2015-07-10 | 2021-06-29 | 三星电子株式会社 | Device and method for hybrid secondary screen smart cover using electronic ink |
| CN105516478A (en) * | 2015-12-02 | 2016-04-20 | 广东欧珀移动通信有限公司 | Display method and display apparatus for mobile terminal |
| WO2017193476A1 (en) * | 2016-05-13 | 2017-11-16 | 中兴通讯股份有限公司 | Method and device for automatically adapting display window of mobile terminal, and protection case |
| CN106775244A (en) * | 2016-12-19 | 2017-05-31 | 深圳天珑无线科技有限公司 | A kind of application display method and device |
| CN108255557A (en) * | 2018-01-10 | 2018-07-06 | 深圳市欧信计算机通信科技有限公司 | The broken screen emergency method of mobile terminal and its system |
| CN108510457A (en) * | 2018-03-28 | 2018-09-07 | 京东方科技集团股份有限公司 | Image correction method, device, display equipment |
| CN110928629A (en) * | 2019-11-22 | 2020-03-27 | 深圳传音控股股份有限公司 | Display method, mobile terminal and computer-readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104503658B (en) | 2017-08-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104503658B (en) | Application interface display method and terminal | |
| US9294596B2 (en) | Display of an electronic device supporting multiple operation modes | |
| US11169703B2 (en) | Method for displaying graphical user interface and mobile terminal | |
| US10387484B2 (en) | Mobile device for displaying a topographical area defined by a barcode | |
| US8866777B2 (en) | Device, method, and storage medium storing program | |
| US10222928B2 (en) | Electronic device | |
| KR20170056841A (en) | Mobile terminal and method for controlling the same | |
| KR20150146236A (en) | Method for processing fingerprint and electronic device thereof | |
| EP2849046B1 (en) | Electronic device and method for handling incoming call of the same | |
| US20130201211A1 (en) | Mobile terminal and controlling method thereof | |
| CN107562877A (en) | Display methods, device and the device shown for view data of view data | |
| US20170131884A1 (en) | Mobile device messaging application | |
| US20170017391A1 (en) | Electronic device having cover and method for controlling display thereof | |
| CN105549811A (en) | Terminal interface display method and device based on protective cover window | |
| KR20100001601A (en) | Portable terminal capable of sensing proximity touch | |
| CN108009563B (en) | Image processing method and device and terminal | |
| US20160349940A1 (en) | Menu item selection on a handheld device display | |
| KR20160034685A (en) | Method and apparatus for inputting object in a electronic device | |
| KR101708303B1 (en) | Method for transmitting information and mobile terminal using this method | |
| KR20150089282A (en) | Method, system and server for forecasting weather | |
| CN108932692B (en) | Method and device for acquiring bill information | |
| US11249615B2 (en) | Device and process to transition a smart phone to a feature phone | |
| KR101623184B1 (en) | Helpline method using nfc, system and nfc tag for performing the method | |
| KR101801576B1 (en) | Mobile terminal and method for controlling display | |
| KR101750315B1 (en) | Mobile device and method for controlling the mobile device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
| CP01 | Change in the name or title of a patent holder | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170801 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |