



技术领域technical field
本公开的实施例涉及计算机技术领域,更具体地,涉及一种窗口显示方法、装置、终端及存储介质。Embodiments of the present disclosure relate to the field of computer technologies, and more particularly, to a window display method, apparatus, terminal, and storage medium.
背景技术Background technique
目前,在应用窗口的横屏模式下,调用输入法时,输入窗口通常也是横屏显示的,或者根据输入法自身的功能进行适配。At present, in the landscape mode of the application window, when the input method is invoked, the input window is usually also displayed in landscape, or is adapted according to the function of the input method itself.
目前的这种窗口显示方式,横屏输入窗口对应用窗口进行大面积的遮挡,在用户体验以及显示美感上并不令人满意。In the current window display mode, the horizontal input window blocks a large area of the application window, which is unsatisfactory in terms of user experience and display aesthetics.
发明内容SUMMARY OF THE INVENTION
提供该发明内容部分以便以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。该发明内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。This Summary is provided to introduce concepts in a simplified form that are described in detail in the Detailed Description section that follows. This summary section is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to be used to limit the scope of the claimed technical solution.
为解决上述问题,本公开提供了一种窗口显示方法、装置、终端及存储介质,用以在横屏模式下显示竖屏内容的输入窗口。In order to solve the above problems, the present disclosure provides a window display method, device, terminal and storage medium, which are used to display an input window of vertical screen content in a horizontal screen mode.
本公开的实施例提供了一种窗口显示方法,所述窗口显示方法包括:更改屏幕的显示方向设置;设置与输入窗口对应的所述屏幕的尺寸参数;响应于预设操作,所述屏幕横向显示应用窗口,并且在所述应用窗口上存在竖向显示的所述输入窗口。An embodiment of the present disclosure provides a window display method, the window display method includes: changing a display orientation setting of a screen; setting a size parameter of the screen corresponding to an input window; in response to a preset operation, the screen is landscaped An application window is displayed, and there is the input window displayed vertically on the application window.
本公开的实施例还提供了一种窗口显示装置,所述窗口显示装置包括:屏幕参数设定模块,配置为更改屏幕的显示方向设置以及设置与输入窗口对应的所述屏幕的尺寸参数;显示模块,配置为响应于预设操作,使所述屏幕横向显示应用窗口,并且在所述应用窗口上竖向显示所述输入窗口。An embodiment of the present disclosure also provides a window display device, the window display device includes: a screen parameter setting module, configured to change the display orientation setting of the screen and set the size parameter of the screen corresponding to the input window; display The module is configured to, in response to a preset operation, cause the screen to horizontally display an application window, and vertically display the input window on the application window.
根据本公开的另一实施例,提供了一种终端,所述终端包括:至少一个存储器和至少一个处理器;其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器所存储的程序代码以执行上述程序窗口显示方法。According to another embodiment of the present disclosure, a terminal is provided, the terminal includes: at least one memory and at least one processor; wherein, the memory is used for storing program codes, and the processor is used for calling all the memory in the memory. Stored program code to execute the above-mentioned program window display method.
根据本公开的又一实施例,提供了一种计算机存储介质,所述计算机存储介质存储有程序代码,所述程序代码用于执行上述程序窗口显示方法。According to yet another embodiment of the present disclosure, a computer storage medium is provided, and the computer storage medium stores a program code, and the program code is used to execute the above-mentioned program window display method.
本公开的实施例通过调整屏幕的显示方向设置以及与输入窗口对应的所述屏幕的尺寸参数,使得在横屏模式下显示竖屏模式下的输入窗口,减少了输入窗口对应用窗口的显示内容的遮挡,提升了用户体验和显示美感。In the embodiments of the present disclosure, by adjusting the display orientation setting of the screen and the size parameter of the screen corresponding to the input window, the input window in the portrait mode is displayed in the landscape mode, and the display content of the input window to the application window is reduced. occlusion, which improves the user experience and display aesthetics.
附图说明Description of drawings
为了更清楚地说明本公开实施例中的方案,下面将对实施例描述中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the solutions in the embodiments of the present disclosure more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
图1示出了目前的窗口显示的示意图。Figure 1 shows a schematic diagram of the current window display.
图2示出了本公开的实施例的一种窗口显示方法的流程图。FIG. 2 shows a flowchart of a window display method according to an embodiment of the present disclosure.
图3示出了本公开的实施例的窗口显示的示意图。FIG. 3 shows a schematic diagram of a window display of an embodiment of the present disclosure.
图4示出了本公开的实施例的窗口显示装置的示意图。FIG. 4 shows a schematic diagram of a window display device according to an embodiment of the present disclosure.
图5示出了适于用来实现本公开的实施例的电子设备的结构示意图。FIG. 5 shows a schematic structural diagram of an electronic device suitable for implementing embodiments of the present disclosure.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for the purpose of A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes, and are not intended to limit the protection scope of the present disclosure.
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and/or in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this regard.
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。As used herein, the term "including" and variations thereof are open-ended inclusions, ie, "including but not limited to". The term "based on" is "based at least in part on." The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below.
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。It should be noted that concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or interdependence.
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modifications of "a" and "a plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless the context clearly indicates otherwise, they should be understood as "one or a plurality of". multiple".
目前,在终端的应用窗口的横屏模式下,调用输入法时,输入窗口通常也是横屏显示的,或者根据输入法自身的功能进行适配。如图1所示,在屏幕10横屏显示应用窗口11并且启动输入时,输入窗口12对应用窗口11进行大面积的遮挡,影响了用户的体验,有待进一步改善。At present, in the landscape mode of the application window of the terminal, when the input method is invoked, the input window is usually also displayed in landscape, or is adapted according to the function of the input method itself. As shown in FIG. 1 , when the
在本公开中,以手机作为终端的实例进行说明,以更好地理解本公开。但是应该理解,本公开中的终端可以包括但不限于诸如移动电话、智能手机、笔记本电脑、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置、车载终端设备、车载显示终端、车载电子后视镜等等的移动终端设备以及诸如数字TV、台式计算机等等的固定终端设备。In the present disclosure, a mobile phone is taken as an example of the terminal for description, so as to better understand the present disclosure. However, it should be understood that the terminals in the present disclosure may include, but are not limited to, such as mobile phones, smart phones, notebook computers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), navigation devices, vehicle-mounted terminals Mobile terminal equipment such as equipment, vehicle display terminal, vehicle electronic rearview mirror, etc., and fixed terminal equipment such as digital TV, desktop computer, etc.
如图2所示,本公开的实施例提供了一种窗口显示方法,包括步骤S101,更改屏幕的显示方向设置。在一些实施例中,更改屏幕的显示方向设置包括将屏幕的横向显示参数更改为竖向显示参数。在一些实施例中,通过更改终端的系统中的配置来实现,例如,在方向配置中,ORIENTATION_PORTRAIT是竖屏,ORIENTATION_LANDSCAPE是横屏,可以将横屏的设置更改为竖屏的设置。在另一示例中,通过修改显示信息设置来更改屏幕的显示方向设置。即,可以采用将屏幕的显示方向由横向更改为竖向的任何方式。应该理解,本公开的横向指的是屏幕的横向宽度较大的方向上的显示,而竖向是屏幕的横向宽度较窄的显示方式。As shown in FIG. 2 , an embodiment of the present disclosure provides a method for displaying a window, including step S101 , changing the display orientation setting of the screen. In some embodiments, changing the display orientation setting of the screen includes changing a landscape display parameter of the screen to a portrait display parameter. In some embodiments, it is implemented by changing the configuration in the system of the terminal. For example, in the orientation configuration, ORIENTATION_PORTRAIT is a portrait screen, and ORIENTATION_LANDSCAPE is a landscape screen, and the setting of the landscape screen can be changed to the setting of the portrait screen. In another example, the display orientation setting of the screen is changed by modifying the display information setting. That is, any way to change the display orientation of the screen from landscape to portrait can be used. It should be understood that the horizontal direction of the present disclosure refers to the display in a direction with a larger horizontal width of the screen, and the vertical direction refers to a display manner in which the horizontal width of the screen is narrower.
本公开的方法还包括步骤S102,设置与输入窗口对应的屏幕的尺寸参数。在一些实施例中,设置与输入窗口对应的屏幕的尺寸参数包括设置与输入窗口对应的屏幕的宽度和高度。在步骤S101中已经将横屏显示的应用窗口告知系统为竖向的,通过在S102中设置该竖向屏幕的尺寸参数,就可以确定输入窗口对应的尺寸参数,例如,输入窗口的宽度和高度。同样地,这可以在显示信息中设置。The method of the present disclosure further includes step S102, setting a size parameter of the screen corresponding to the input window. In some embodiments, setting the size parameters of the screen corresponding to the input window includes setting the width and height of the screen corresponding to the input window. In step S101, the system has been informed that the application window displayed on the horizontal screen is vertical. By setting the size parameter of the vertical screen in S102, the size parameter corresponding to the input window can be determined, for example, the width and height of the input window. . Again, this can be set in the display message.
本公开的方法还包括步骤S103,响应于预设操作,屏幕横向显示应用窗口,并且在应用窗口上存在竖向显示的输入窗口。在一些实施例中,预设操作包括能够触发应用的横向显示并且触发输入窗口的显示的一个或多个操作。例如,预设操作包括打开应用窗口的操作、旋转屏幕的操作和触发进行输入的操作。打开应用窗口的操作包括但不限于语音指令、点击等操作。这些操作可以通过一个操作完成,也可以通过多个操作来完成。通过以上设置,在应用窗口横屏显示时,输入窗口是竖向显示的并且可以悬浮于应用窗口之上。The method of the present disclosure further includes step S103 , in response to the preset operation, the screen displays the application window horizontally, and there is an input window displayed vertically on the application window. In some embodiments, the preset operations include one or more operations capable of triggering landscape display of the application and triggering display of the input window. For example, the preset operations include an operation of opening an application window, an operation of rotating the screen, and an operation of triggering input. The operation of opening the application window includes but is not limited to operations such as voice commands and clicks. These operations can be done in one operation or in multiple operations. With the above settings, when the application window is displayed horizontally, the input window is displayed vertically and can be suspended above the application window.
如图3所述,在应用窗口11横屏显示时,输入窗口12竖向浮置于应用窗口11之上。通过调整屏幕的显示方向设置以及与输入窗口对应的所述屏幕的尺寸参数,使得在横屏模式下显示竖屏模式下的输入窗口,减少了输入窗口对应用窗口的显示内容的遮挡,提升了用户体验和显示美感。As shown in FIG. 3 , when the
在一些实施例中,输入窗口12可以随着应用窗口11的缩放而缩放。例如,在应用窗口11缩小一定比例之后,输入窗口12可以缩小相应的比例。In some embodiments, the
在一些实施例中,相对于横向显示的应用窗口11,输入窗口12显示在屏幕10的两侧中的任一侧。例如,如图3所示,输入窗口12显示在屏幕10的右侧。在一些实施例中,输入窗口12显示在屏幕10的左侧。通常地,屏幕的两侧的显示内容相对较少,通过使输入窗口12显示在屏幕10的两侧中的任一侧,可以减少输入窗口12对应用窗口11的显示内容的遮挡。In some embodiments, the
在一些实施例中,可以通过对应用窗口11的显示内容的识别,将输入窗口12显示在对应用窗口11的显示内容影响最小的区域。例如,可以通过对应用窗口11的显示内容进行截图检测,进而比较横向上的输入窗口12的显示维度内的应用窗口11的显示内容,进而选择将输入窗口12显示在对应用窗口11的显示内容影响最小的区域。优选地,将输入窗口12显示在应用窗口11的空白区域内。应该理解,通过截图功能来检测仅是示例性的,可以采用任何其他合适的方式。通过将输入窗口12显示在对应用窗口11的显示内容影响最小的区域,可以使得输入窗口12对应用窗口11的显示内容的遮挡最小化。In some embodiments, the
本公开的实施例还提供了一种窗口显示装置400,包括屏幕参数设定模块401和显示模块402。屏幕参数设定模块401配置为更改屏幕的显示方向设置以及设置与输入窗口对应的所述屏幕的尺寸参数。显示模块402配置为响应于预设操作,使屏幕横向显示应用窗口,并且在应用窗口上竖向显示输入窗口。The embodiment of the present disclosure also provides a window display device 400 , which includes a screen parameter setting module 401 and a display module 402 . The screen parameter setting module 401 is configured to change the display orientation setting of the screen and set the size parameter of the screen corresponding to the input window. The display module 402 is configured to, in response to the preset operation, cause the screen to display the application window horizontally, and vertically display the input window on the application window.
在一些实施例中,预设操作包括能够触发应用的横向显示并且触发输入窗口的显示的一个或多个操作。例如,预设操作包括打开应用窗口的操作、旋转屏幕的操作和触发进行输入的操作。打开应用窗口的操作包括但不限于语音指令、点击等操作。这些操作可以通过一个操作完成,也可以通过多个操作来完成。另外,其他的一些描述可以在方法的描述中找到,在此不再重复。In some embodiments, the preset operations include one or more operations capable of triggering landscape display of the application and triggering display of the input window. For example, the preset operations include an operation of opening an application window, an operation of rotating the screen, and an operation of triggering input. The operation of opening the application window includes but is not limited to operations such as voice commands and clicks. These operations can be done in one operation or in multiple operations. In addition, some other descriptions can be found in the description of the method, which will not be repeated here.
此外,本公开还提供一种终端,包括:至少一个存储器和至少一个处理器;其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器所存储的程序代码以执行上述窗口显示方法。In addition, the present disclosure also provides a terminal, comprising: at least one memory and at least one processor; wherein the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the above window Display method.
此外,本公开还提供一种计算机存储介质,该计算机存储介质存储有程序代码,程序代码用于执行上述窗口显示方法。In addition, the present disclosure also provides a computer storage medium, where program codes are stored in the computer storage medium, and the program codes are used to execute the above-mentioned window display method.
在一些实施例中,本公开的实施例通过调整屏幕的显示方向设置以及与输入窗口对应的所述屏幕的尺寸参数,使得在横屏模式下显示竖屏模式下的输入窗口,减少了输入窗口对应用窗口的显示内容的遮挡,提升了用户体验和显示美感。在本公开中,实现了在应用窗口的横屏模式下让输入窗口像处于竖屏模式那样显示,进而减少了对应用窗口的显示内容的遮挡并且提升了显示美感。In some embodiments, the embodiments of the present disclosure reduce the number of input windows by adjusting the display orientation setting of the screen and the size parameter of the screen corresponding to the input window, so that the input window in the portrait mode is displayed in the landscape mode. The occlusion of the displayed content of the application window improves the user experience and display aesthetics. In the present disclosure, in the landscape mode of the application window, the input window is displayed as if it is in the portrait mode, thereby reducing the occlusion of the displayed content of the application window and improving the display aesthetics.
下面参考图5,其示出了适于用来实现本公开实施例的电子设备500的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图5示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Referring next to FIG. 5 , it shows a schematic structural diagram of an
如图5所示,电子设备500可以包括处理装置(例如中央处理器、图形处理器等)501,其可以根据存储在只读存储器(ROM)502中的程序或者从存储装置506加载到随机访问存储器(RAM)503中的程序而执行各种适当的动作和处理。在RAM 503中,还存储有电子设备500操作所需的各种程序和数据。处理装置501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(I/O)接口505也连接至总线504。As shown in FIG. 5 , an
通常,以下装置可以连接至I/O接口505:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置506;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置507;包括例如磁带、硬盘等的存储装置506;以及通信装置509。通信装置509可以允许电子设备500与其他设备进行无线或有线通信以交换数据。虽然图5示出了具有各种装置的电子设备500,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Typically, the following devices may be connected to the I/O interface 505:
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置609从网络上被下载和安装,或者从存储装置506被安装,或者从ROM 502被安装。在该计算机程序被处理装置501执行时,执行本公开实施例的方法中限定的上述功能。In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network via the communication device 609 , or from the
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, electrical wire, optical fiber cable, RF (radio frequency), etc., or any suitable combination of the foregoing.
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText TransferProtocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the client and server can communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium (eg, a communications network) interconnected. Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet (eg, the Internet), and peer-to-peer networks (eg, ad hoc peer-to-peer networks), as well as any currently known or future development network of.
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device.
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:获取至少两个网际协议地址;向节点评价设备发送包括所述至少两个网际协议地址的节点评价请求,其中,所述节点评价设备从所述至少两个网际协议地址中,选取网际协议地址并返回;接收所述节点评价设备返回的网际协议地址;其中,所获取的网际协议地址指示内容分发网络中的边缘节点。The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: acquires at least two Internet Protocol addresses; A node evaluation request for an Internet Protocol address, wherein the node evaluation device selects an Internet Protocol address from the at least two Internet Protocol addresses and returns it; receives the Internet Protocol address returned by the node evaluation device; wherein the obtained The Internet Protocol address indicates an edge node in the content distribution network.
或者,上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:接收包括至少两个网际协议地址的节点评价请求;从所述至少两个网际协议地址中,选取网际协议地址;返回选取出的网际协议地址;其中,接收到的网际协议地址指示内容分发网络中的边缘节点。Alternatively, the above computer-readable medium carries one or more programs, and when the above one or more programs are executed by the electronic device, the electronic device: receives a node evaluation request including at least two Internet Protocol addresses; From the at least two Internet Protocol addresses, the Internet Protocol address is selected; the selected Internet Protocol address is returned; wherein, the received Internet Protocol address indicates an edge node in the content distribution network.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and This includes conventional procedural programming languages - such as the "C" language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一获取单元还可以被描述为“获取至少两个网际协议地址的单元”。The units involved in the embodiments of the present disclosure may be implemented in a software manner, and may also be implemented in a hardware manner. Wherein, the name of the unit does not constitute a limitation of the unit itself under certain circumstances, for example, the first obtaining unit may also be described as "a unit that obtains at least two Internet Protocol addresses".
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chips (SOCs), Complex Programmable Logical Devices (CPLDs) and more.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
根据本公开的一个或多个实施例,提供了一种窗口显示方法,所述窗口显示方法包括:更改屏幕的显示方向设置;设置与输入窗口对应的所述屏幕的尺寸参数;响应于预设操作,所述屏幕横向显示应用窗口,并且在所述应用窗口上存在竖向显示的所述输入窗口。According to one or more embodiments of the present disclosure, there is provided a window display method, the window display method comprising: changing a display orientation setting of a screen; setting a size parameter of the screen corresponding to an input window; responding to a preset operation, the screen displays an application window horizontally, and there is the input window displayed vertically on the application window.
根据本公开的一个或多个实施例,更改所述屏幕的显示方向设置包括将所述屏幕的横向显示参数更改为竖向显示参数。According to one or more embodiments of the present disclosure, changing the display orientation setting of the screen includes changing a landscape display parameter of the screen to a portrait display parameter.
根据本公开的一个或多个实施例,设置与所述输入窗口对应的所述屏幕的尺寸参数包括设置与所述输入窗口对应的所述屏幕的宽度和高度。According to one or more embodiments of the present disclosure, setting a size parameter of the screen corresponding to the input window includes setting a width and height of the screen corresponding to the input window.
根据本公开的一个或多个实施例,所述预设操作包括能够触发应用的横向显示并且触发输入窗口的显示的一个或多个操作。According to one or more embodiments of the present disclosure, the preset operations include one or more operations capable of triggering the horizontal display of the application and triggering the display of the input window.
根据本公开的一个或多个实施例,所述输入窗口随着所述应用窗口的缩放而缩放。According to one or more embodiments of the present disclosure, the input window is scaled as the application window is scaled.
根据本公开的一个或多个实施例,相对于横向显示的所述应用窗口,所述输入窗口显示在所述屏幕的两侧中的任一侧。According to one or more embodiments of the present disclosure, the input window is displayed on either side of the screen with respect to the application window displayed in landscape orientation.
根据本公开的一个或多个实施例,通过对所述应用窗口的显示内容的识别,将所述输入窗口显示在对所述应用窗口的显示内容影响最小的区域。According to one or more embodiments of the present disclosure, by identifying the display content of the application window, the input window is displayed in an area that has the least impact on the display content of the application window.
根据本公开的一个或多个实施例,还提供了一种窗口显示装置,所述窗口显示装置包括:屏幕参数设定模块,配置为更改屏幕的显示方向设置以及设置与输入窗口对应的所述屏幕的尺寸参数;显示模块,配置为响应于预设操作,使所述屏幕横向显示应用窗口,并且在所述应用窗口上竖向显示所述输入窗口。According to one or more embodiments of the present disclosure, there is also provided a window display device, the window display device comprising: a screen parameter setting module configured to change the display orientation setting of the screen and set the The size parameter of the screen; the display module is configured to, in response to a preset operation, cause the screen to display an application window horizontally, and vertically display the input window on the application window.
根据本公开的一个或多个实施例,提供了一种终端,所述终端包括:至少一个存储器和至少一个处理器;其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器所存储的程序代码以执行上述窗口显示方法。According to one or more embodiments of the present disclosure, a terminal is provided, the terminal includes: at least one memory and at least one processor; wherein the memory is used for storing program codes, and the processor is used for calling the The program code stored in the memory is used to execute the above-mentioned window display method.
根据本公开的一个或多个实施例,提供了一种计算机存储介质,所述计算机存储介质存储有程序代码,所述程序代码用于执行上述窗口显示方法。According to one or more embodiments of the present disclosure, there is provided a computer storage medium storing program codes for executing the above-mentioned window display method.
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, and should also cover, without departing from the above-mentioned disclosed concept, the technical solutions formed by the above-mentioned technical features or Other technical solutions formed by any combination of its equivalent features. For example, a technical solution is formed by replacing the above features with the technical features disclosed in the present disclosure (but not limited to) with similar functions.
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。Additionally, although operations are depicted in a particular order, this should not be construed as requiring that the operations be performed in the particular order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, although the above discussion contains several implementation-specific details, these should not be construed as limitations on the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。Although the subject matter has been described in language specific to structural features and/or logical acts of method, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911058943.9ACN110795196A (en) | 2019-10-31 | 2019-10-31 | Window display method, device, terminal and storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911058943.9ACN110795196A (en) | 2019-10-31 | 2019-10-31 | Window display method, device, terminal and storage medium |
| Publication Number | Publication Date |
|---|---|
| CN110795196Atrue CN110795196A (en) | 2020-02-14 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911058943.9APendingCN110795196A (en) | 2019-10-31 | 2019-10-31 | Window display method, device, terminal and storage medium |
| Country | Link |
|---|---|
| CN (1) | CN110795196A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111953846A (en)* | 2020-08-11 | 2020-11-17 | 深圳传音控股股份有限公司 | Interface layout adjusting method, terminal device and computer-readable storage medium |
| CN112256173A (en)* | 2020-10-20 | 2021-01-22 | 北京字节跳动网络技术有限公司 | Window display method and device of electronic equipment, terminal and storage medium |
| CN114816606A (en)* | 2021-01-28 | 2022-07-29 | 北京字节跳动网络技术有限公司 | Self-adaptive adjusting method and device of window scale, electronic equipment and medium |
| WO2022252972A1 (en)* | 2021-05-31 | 2022-12-08 | 华为技术有限公司 | Window display method and electronic device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1206887A (en)* | 1998-08-04 | 1999-02-03 | 英业达股份有限公司 | How to change the position of the input window according to the position of the cursor |
| CN101482765A (en)* | 2006-04-28 | 2009-07-15 | 三星电子株式会社 | Method and apparatus to control screen orientation of user interface of portable device |
| US20090244099A1 (en)* | 2008-03-28 | 2009-10-01 | Valalik Jason | Switch methods and systems for input interfaces |
| JP2012256153A (en)* | 2011-06-08 | 2012-12-27 | Panasonic Corp | Character input device and portable terminal |
| US20140059449A1 (en)* | 2012-08-27 | 2014-02-27 | Samsung Electronics Co., Ltd. | Method and apparatus for processing user input |
| CN104615336A (en)* | 2015-02-15 | 2015-05-13 | 联想(北京)有限公司 | Information processing method and electronic equipment |
| CN106610771A (en)* | 2016-12-12 | 2017-05-03 | 广州神马移动信息科技有限公司 | Method and device for generating and adaptively rotating speech recognition interface |
| CN107102806A (en)* | 2017-01-25 | 2017-08-29 | 维沃移动通信有限公司 | A kind of split screen input method and mobile terminal |
| CN107566632A (en)* | 2017-08-29 | 2018-01-09 | 广东欧珀移动通信有限公司 | Input method interface display method, device and terminal |
| CN107678658A (en)* | 2017-10-26 | 2018-02-09 | 北京百度网讯科技有限公司 | Data inputting method and device for terminal device |
| CN107835305A (en)* | 2017-10-26 | 2018-03-23 | 北京百度网讯科技有限公司 | Data inputting method and device for the terminal device with screen |
| CN108491127A (en)* | 2018-03-12 | 2018-09-04 | 广东欧珀移动通信有限公司 | Interface of input method display methods, device, terminal and storage medium |
| CN109375983A (en)* | 2018-12-20 | 2019-02-22 | 广东金赋科技股份有限公司 | The method of input method window adjust automatically in terminal |
| CN110244996A (en)* | 2019-05-14 | 2019-09-17 | 苏宁智能终端有限公司 | A kind of method, apparatus and terminal of transverse screen display terminal adaptation vertical screen application program |
| CN110244895A (en)* | 2019-06-20 | 2019-09-17 | 北京字节跳动网络技术有限公司 | Control method, apparatus, the mobile terminal, storage medium of input method banner position |
| CN110262718A (en)* | 2019-06-20 | 2019-09-20 | 北京字节跳动网络技术有限公司 | Input method window setting method, device, mobile terminal, storage medium |
| US20190294306A1 (en)* | 2018-03-26 | 2019-09-26 | Baidu Online Network Technology (Beijing) Co., Ltd. | Method and device for displaying application function information, and terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1206887A (en)* | 1998-08-04 | 1999-02-03 | 英业达股份有限公司 | How to change the position of the input window according to the position of the cursor |
| CN101482765A (en)* | 2006-04-28 | 2009-07-15 | 三星电子株式会社 | Method and apparatus to control screen orientation of user interface of portable device |
| US20090244099A1 (en)* | 2008-03-28 | 2009-10-01 | Valalik Jason | Switch methods and systems for input interfaces |
| JP2012256153A (en)* | 2011-06-08 | 2012-12-27 | Panasonic Corp | Character input device and portable terminal |
| US20140059449A1 (en)* | 2012-08-27 | 2014-02-27 | Samsung Electronics Co., Ltd. | Method and apparatus for processing user input |
| CN104615336A (en)* | 2015-02-15 | 2015-05-13 | 联想(北京)有限公司 | Information processing method and electronic equipment |
| CN106610771A (en)* | 2016-12-12 | 2017-05-03 | 广州神马移动信息科技有限公司 | Method and device for generating and adaptively rotating speech recognition interface |
| CN107102806A (en)* | 2017-01-25 | 2017-08-29 | 维沃移动通信有限公司 | A kind of split screen input method and mobile terminal |
| CN107566632A (en)* | 2017-08-29 | 2018-01-09 | 广东欧珀移动通信有限公司 | Input method interface display method, device and terminal |
| CN107678658A (en)* | 2017-10-26 | 2018-02-09 | 北京百度网讯科技有限公司 | Data inputting method and device for terminal device |
| CN107835305A (en)* | 2017-10-26 | 2018-03-23 | 北京百度网讯科技有限公司 | Data inputting method and device for the terminal device with screen |
| CN108491127A (en)* | 2018-03-12 | 2018-09-04 | 广东欧珀移动通信有限公司 | Interface of input method display methods, device, terminal and storage medium |
| US20190294306A1 (en)* | 2018-03-26 | 2019-09-26 | Baidu Online Network Technology (Beijing) Co., Ltd. | Method and device for displaying application function information, and terminal |
| CN109375983A (en)* | 2018-12-20 | 2019-02-22 | 广东金赋科技股份有限公司 | The method of input method window adjust automatically in terminal |
| CN110244996A (en)* | 2019-05-14 | 2019-09-17 | 苏宁智能终端有限公司 | A kind of method, apparatus and terminal of transverse screen display terminal adaptation vertical screen application program |
| CN110244895A (en)* | 2019-06-20 | 2019-09-17 | 北京字节跳动网络技术有限公司 | Control method, apparatus, the mobile terminal, storage medium of input method banner position |
| CN110262718A (en)* | 2019-06-20 | 2019-09-20 | 北京字节跳动网络技术有限公司 | Input method window setting method, device, mobile terminal, storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111953846A (en)* | 2020-08-11 | 2020-11-17 | 深圳传音控股股份有限公司 | Interface layout adjusting method, terminal device and computer-readable storage medium |
| CN112256173A (en)* | 2020-10-20 | 2021-01-22 | 北京字节跳动网络技术有限公司 | Window display method and device of electronic equipment, terminal and storage medium |
| CN114816606A (en)* | 2021-01-28 | 2022-07-29 | 北京字节跳动网络技术有限公司 | Self-adaptive adjusting method and device of window scale, electronic equipment and medium |
| CN114816606B (en)* | 2021-01-28 | 2024-04-02 | 抖音视界有限公司 | Self-adaptive adjustment method and device of window graduated scale, electronic equipment and medium |
| WO2022252972A1 (en)* | 2021-05-31 | 2022-12-08 | 华为技术有限公司 | Window display method and electronic device |
| Publication | Publication Date | Title |
|---|---|---|
| CN110795196A (en) | Window display method, device, terminal and storage medium | |
| CN110427150A (en) | Display methods, device, electronic equipment and the computer-readable medium of application program | |
| CN111291244B (en) | Housing information display method, device, terminal and storage medium | |
| CN112256231B (en) | Volume control method, device, terminal and storage medium | |
| JP7617939B2 (en) | Sticker processing method and device | |
| US20220391229A1 (en) | Icon updating method and apparatus, and electronic device | |
| WO2024212839A1 (en) | Card layout method and apparatus, medium and electronic device | |
| CN111783010B (en) | Webpage blank page monitoring method, device, terminal and storage medium | |
| CN117492615A (en) | Information display methods, devices, electronic equipment and storage media | |
| CN109710167A (en) | Soft keyboard control method, device and terminal | |
| CN116319932A (en) | Training method, device, equipment and storage medium of content push model | |
| CN111324835A (en) | Method, apparatus, electronic device, and storage medium for rendering user interface components | |
| CN111596992B (en) | Navigation bar display method and device and electronic equipment | |
| CN111290812B (en) | Display method, device, terminal and storage medium of application control | |
| CN111258582B (en) | Window rendering method and device, computer equipment and storage medium | |
| US12405758B2 (en) | Display method and apparatus for information, electronic device, and program product | |
| CN111274513B (en) | Window display method, device, terminal and storage medium | |
| CN114089891B (en) | Display control method, device and electronic device | |
| CN115600964A (en) | Voice approval method, device and related equipment | |
| CN113660699A (en) | A kind of intelligent cluster networking method, device and electronic equipment | |
| WO2021068964A1 (en) | Window arrangement method and device, terminal and storage medium | |
| CN111399730A (en) | Image processing method, image processing device, electronic equipment and computer readable storage medium | |
| CN112256173A (en) | Window display method and device of electronic equipment, terminal and storage medium | |
| CN110807164A (en) | Automatic image area adjusting method and device, electronic equipment and computer readable storage medium | |
| CN111783390B (en) | Dimension label adjusting method and device and electronic equipment |
| 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 | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20200214 | |
| RJ01 | Rejection of invention patent application after publication |