WO2017096910A1 - 自适应调整办公软件的显示比例的方法和系统 - Google Patents

自适应调整办公软件的显示比例的方法和系统 Download PDF

Info

Publication number
WO2017096910A1
WO2017096910A1 PCT/CN2016/090745 CN2016090745W WO2017096910A1 WO 2017096910 A1 WO2017096910 A1 WO 2017096910A1 CN 2016090745 W CN2016090745 W CN 2016090745W WO 2017096910 A1 WO2017096910 A1 WO 2017096910A1
Authority
WO
WIPO (PCT)
Prior art keywords
office software
display
ratio
display ratio
target
Prior art date
Application number
PCT/CN2016/090745
Other languages
English (en)
French (fr)
Inventor
马正
王东杰
Original Assignee
广州视睿电子科技有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 广州视睿电子科技有限公司 filed Critical 广州视睿电子科技有限公司
Publication of WO2017096910A1 publication Critical patent/WO2017096910A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • G06F3/1462Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay with means for detecting differences between the image stored in the host and the images displayed on the remote displays

Definitions

  • the present invention relates to the field of terminal display technologies, and in particular, to a method and system for adaptively adjusting a display ratio of an office software. Background technique
  • various office software can be run on these terminal devices, including document processing software (such as WORD, Microsoft Office Word, word processing software designed by Microsoft Corporation, spreadsheet report software (such as Excel, Microsoft Excel, one of the components of Microsoft Office designed by Microsoft Corporation), presentation software (such as PPT, Microsoft Office PowerPoint, Microsoft Corporation) Design presentation software), mail, web pages and more.
  • document processing software such as WORD, Microsoft Office Word, word processing software designed by Microsoft Corporation
  • spreadsheet report software such as Excel, Microsoft Excel, one of the components of Microsoft Office designed by Microsoft Corporation
  • presentation software such as PPT, Microsoft Office PowerPoint, Microsoft Corporation
  • mail web pages and more. Since the size and display ratio of different terminal devices are different, each office software runs on the terminal device, and the file itself of each office software is set to a corresponding display ratio when creating or editing, and the terminal device is The display characteristics do not necessarily meet the requirements of the display scale of the file itself.
  • the purpose of the embodiments of the present invention is to provide a method and a system for adaptively adjusting the display ratio of the office software, which can improve the display effect of the office software on the terminal device, and solve the display configuration of the office software and the display of the terminal device. Problems such as missing images and black borders caused by mismatched features.
  • a method for adaptively adjusting the display ratio of an office software comprising the steps of:
  • a system for adaptively adjusting the display ratio of office software including:
  • a monitoring module configured to monitor target office software, and obtain a current display ratio of the target office software when the target office software is in operation;
  • the obtaining module is configured to obtain an optimal display ratio of the current terminal
  • an adjustment module configured to send a scaling adjustment instruction to the target office software, to adjust a display ratio of the target office software to the optimal display ratio, where the proportional adjustment instruction includes the optimal display ratio information.
  • the target office software is monitored, and when the target office software is monitored, the current display ratio of the target office software is obtained, and is sent to the target office software.
  • the ratio adjustment instruction adjusts the display ratio of the target office software to the optimal display ratio of the current terminal, so that the terminal user does not know how to adjust the display ratio of the target office software or does not adjust the display ratio of the target office software.
  • the display ratio of the target office software can be adaptively adjusted to the optimal display ratio of the current terminal, so that the target office software is on the terminal according to the optimal display ratio of the terminal.
  • the display improves the display effect of the office software on the terminal device, and solves the problems of missing images and displaying black edges caused by mismatch between the display configuration of the office software and the display characteristics of the terminal device.
  • 1 is a schematic flow chart of a method for adaptively adjusting a display ratio of an office software according to the present invention in an embodiment
  • 2 is a schematic flow chart of a method for adaptively adjusting a display ratio of an office software in a specific example
  • FIG. 3 is a schematic flow chart of a method for adaptively adjusting a display ratio of an office software in another specific example
  • Fig. 4 is a block diagram showing the structure of a system for adaptively adjusting the display ratio of the office software of the present invention in one embodiment. detailed description
  • Fig. 1 is a flow chart showing the method of adaptively adjusting the display ratio of the office software of the present invention in one embodiment. As shown in FIG. 1, the method in this embodiment includes the following steps:
  • Step S101 monitoring the target office software, and acquiring the current display ratio of the target office software when the target office software is in the running state is monitored;
  • Step S102 Obtain an optimal display ratio of the current terminal
  • Step S103 Send a proportional adjustment instruction to the target office software, adjust a display ratio of the target office software to the optimal display ratio, and include the optimal display ratio information in the proportional adjustment instruction.
  • the target office software is monitored, and when the target office software is monitored, the current display ratio of the target office software is obtained, and is sent to the target office software.
  • the ratio adjustment instruction adjusts the display ratio of the target office software to the optimal display ratio of the current terminal, so that the terminal user does not know how to adjust the display ratio of the target office software or does not adjust the display ratio of the target office software.
  • the display ratio of the target office software can be adaptively adjusted to the optimal display ratio of the current terminal, so that the target office software is on the terminal according to the optimal display ratio of the terminal. Display, thereby improving the display effect of the office software on the terminal device, and solving the problem due to the office
  • the image display configuration of the software does not match the display characteristics of the terminal device, resulting in missing images, black borders, and the like.
  • the task manager of the terminal may include process information of all software in the terminal running period. Therefore, in a specific example, the monitoring may be performed in the following manner:
  • step S102 the optimal display ratio of the current terminal is obtained, and different manners may be used in combination with actual needs.
  • the display resolution of the currently located terminal is obtained, and the display resolution of the currently existing terminal is taken as the optimal display ratio. Since the display resolution of the current terminal directly reflects the display effect when it is displayed, the display resolution of the current terminal can be directly used as the optimal display ratio.
  • the BIOS can read the EDID information of the display of the current terminal through the I2C of the HDMI interface, and the EDID information determines the aspect ratio of the display screen of the current terminal, and The aspect ratio of the display screen of the current terminal is determined as the optimal display ratio. Since the optimum resolution of the terminal is related to the display size of the display screen of the terminal, the aspect ratio of the display screen of the terminal can be used as the optimum display ratio.
  • the above optimal display ratio may be preset ratio information.
  • the pre-set ratio information may be stored after being obtained in two of the above two examples, or may be set by default based on configuration information of the mainstream-based display.
  • the Microsoft office software since the Microsoft office software has a COM component developed externally, the external program is allowed to read the related enumeration settings in the office software. Therefore, in the embodiment of the present invention,
  • the above target office software is software developed by Microsoft such as PPT software, EXCE1 software, WORD software, etc.
  • the current display ratio of the target office software can be obtained through the office COM component, and the proportional adjustment instruction can be sent to the target office software through the office COM component. .
  • the following is an example of setting and storing the optimal display ratio in advance, and determining the optimal display ratio in real time during the adaptive adjustment process, and combining two specific examples for detailed description.
  • FIG. 2 is a schematic flowchart diagram of a method for adaptively adjusting the display ratio of the office software in a specific example.
  • the optimal display ratio is set when the terminal is operated for the first time in the method of the embodiment. The example is explained.
  • the method in this specific example includes the steps:
  • Step S201 When the current terminal is running, obtain the display resolution of the current terminal and/or the aspect ratio of the display screen of the current terminal, and display the display resolution of the current terminal and/or the display of the current terminal.
  • the aspect ratio of the screen is determined as the optimal display ratio of the current terminal, and the determined optimal display ratio is stored.
  • the BIOS of the PC module of the current terminal can be accessed (Basic Input Output System, basic input and output). system). Since the BIOS is a set of programs that are solidified onto a ROM (Read-Only Memory) chip on the motherboard of the computer, the program that holds the most important basic input and output of the computer, the self-test after boot, and the system self-starting program , can Specific information for reading and writing system settings from CMOS (a readable and writable parallel or serial FLASH chip on the motherboard, which is used to save the BIOS's hardware configuration and user settings for certain parameters), can provide the terminal with The lowest level, the most direct hardware setup and control.
  • CMOS a readable and writable parallel or serial FLASH chip on the motherboard, which is used to save the BIOS's hardware configuration and user settings for certain parameters
  • the BIOS can read the display of the terminal through an I2C (Inter-Integrated Circuit, a two-wire serial bus) interface of HDMI (High Definition Multimedia Interface, a digital video/audio interface technology) interface.
  • I2C Inter-Integrated Circuit, a two-wire serial bus
  • HDMI High Definition Multimedia Interface, a digital video/audio interface technology
  • EDID Extended Display Identification Data
  • the optimal display ratio can be stored for use in the subsequent adaptive adjustment process.
  • Step S202 Obtain all processes running in the task manager.
  • the Task Manager provides information about the performance of the terminal and shows the details of the programs and processes running on the terminal. Therefore, the Task Manager can get all the processes that are currently running on the terminal.
  • Step S203 Determine whether the target office software is running according to the process in the task manager, and if it is running, proceed to step S204.
  • the task manager can obtain all the processes that the current terminal is running, and thus can determine whether there is a process of the target office software among all the processes, and if so, the target office software is considered to be running.
  • Step S204 Obtain a current display ratio of the target office software.
  • Microsoft's office software has a COM component that is developed externally, allowing external programs to read related enumeration settings in the office software, such as the display ratio in the PPT. Therefore, in the embodiment of the present invention, in the case where the target office software is software developed by Microsoft Corporation, for example, PPT, the office COM component can be used to obtain the page size instruction, and the current page size of the target office software can be obtained, based on The page size determines the current display scale.
  • Step S205 Acquire an optimal display ratio of the currently located terminal stored in the above step S201.
  • Step S206 Send a proportional adjustment instruction to the target office software, adjust a display ratio of the target office software to the optimal display ratio, and include the optimal display ratio information in the proportional adjustment instruction.
  • the COM component developed by Microsoft's office software also supports external software to give commands to adjust the display ratio of the PPT. Therefore, the office COM component can be used to run the command to set the page size.
  • the PPT page displays the setting of the scale, such as the display scale in the PPT.
  • the instruction in a specific example can be: Concrete Example 2
  • FIG. 3 is a flow chart showing a method of adaptively adjusting the display ratio of the office software in another specific example.
  • the example is to determine the optimal display ratio in real time during the adaptive adjustment process.
  • the method in the specific example includes the steps of:
  • Step S301 Obtain all processes running in the task manager
  • Step S302 judging whether the target office software is running according to the process in the task manager, if it is running, proceeding to step S303;
  • Step S303 Obtain a current display ratio of the target office software.
  • Step S305 Send a scaling adjustment instruction to the target office software, adjust a display ratio of the target office software to the optimal display ratio, and include the optimal display ratio information in the proportional adjustment instruction.
  • FIG. 4 is a schematic structural diagram of the system in an embodiment.
  • the system for adaptively adjusting the display ratio of the office software in the embodiment includes: a monitoring module 401, configured to monitor the target office software, and obtain the target office when the target office software is detected to be in a running state. The current display ratio of the software;
  • the obtaining module 402 is configured to obtain an optimal display ratio of the current terminal
  • the adjustment module 403 is configured to send a scaling adjustment instruction to the target office software, and adjust a display ratio of the target office software to the optimal display ratio, where the proportional adjustment instruction includes the optimal display ratio information.
  • the foregoing monitoring module 401 may include:
  • the process monitoring module 4011 is configured to obtain all processes that are currently running in the terminal, where the process may be to obtain all running processes in the task manager of the current terminal.
  • the target determining module 4012 is configured to: when it is detected that the process of the target office software exists in all the processes, determine that the target office software is in a running state;
  • the ratio acquisition module 4013 is configured to acquire a current display ratio of the target office software when the target determination module determines that the target office software is in an operating state.
  • the obtaining module 402 can obtain the optimal display ratio of the current terminal, and can have different manners according to actual needs.
  • the obtaining module 402 can obtain the display resolution of the terminal currently located, and use the display resolution of the current terminal as the optimal display ratio. Since the display resolution of the current terminal directly reflects the display effect when it is displayed, the display resolution of the current terminal can be directly used as the optimal display ratio.
  • the obtaining module 402 can access the BIOS of the current terminal, and read the EDID information of the display of the current terminal based on the BIOS through the I2C of the HDMI interface, where the EDID information determines the aspect ratio of the display screen of the current terminal. And determining the aspect ratio of the display screen of the current terminal as the optimal display ratio. Since the optimum resolution of the terminal is related to the display size of the display screen of the terminal, the aspect ratio of the display screen of the terminal can be used as the optimum display ratio.
  • the above optimal display ratio may be preset ratio information.
  • the preset ratio information may be obtained after being obtained according to two of the above two examples, or may be stored.
  • the configuration information based on the mainstream display is set by default.
  • the target office software is PPT software
  • the monitoring module 401 or the proportional acquisition module 4013 can obtain the current display ratio of the target office software through the office COM component, and the adjustment module 403 can use the office COM component to the target office software. Send the scale adjustment command.
  • the optimal display ratio may be obtained in real time, or may be determined and stored in advance, and the following two methods are exemplified.
  • the specific working process may be:
  • the obtaining module 402 obtains the display resolution of the current terminal or the aspect ratio of the display screen of the current terminal, and the current terminal is located.
  • the display resolution or the aspect ratio of the display screen of the current terminal is determined as the optimal display ratio of the current terminal, and the determined optimal display ratio is stored.
  • the monitoring module 401 monitors the target office software, and when the target office software is in the running state, obtains the current display ratio of the target office software, and the adjustment module 403 sends a proportional adjustment instruction to the target office software. And adjusting a display ratio of the target office software to the optimal display ratio, where the ratio adjustment instruction includes information of an optimal display ratio stored by the acquisition module 402.
  • the specific working process may be: the monitoring module 401 monitors the target office software, and when the target office software is in the running state, obtains the current display ratio of the target office software, and the obtaining module 402 obtains the current The display resolution of the terminal or the aspect ratio of the display of the current terminal, and determine the display resolution of the current terminal or the aspect ratio of the display of the current terminal as the optimal display ratio of the current terminal, and adjust The module 403 sends a proportional adjustment instruction to the target office software, and adjusts the display ratio of the target office software to The optimal display ratio is included, and the ratio adjustment instruction includes information of the optimal display ratio determined by the acquisition module 402.
  • the system of the embodiment of the present invention can be run on the terminal device by means of independent application software, and can be boot-on and self-run, and the terminal user does not need to actively start, thereby autonomously displaying the proportion of the target office software. Make adaptive adjustments.
  • the method and system of the embodiments of the present invention as described above can be widely applied to terminal devices such as an interactive smart tablet, an electronic whiteboard, a conference-oriented conference machine, such as an interactive smart tablet for education, an electronic whiteboard, and the like. It can also be applied to mobile smart terminals when possible.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

一种自适应调整办公软件显示比例的方法及系统,该方法包括步骤:对目标办公软件进行监测,在监测到目标办公软件处于运行状态时,获取该目标办公软件当前的显示比例(S101);获取当前所在终端的最佳显示比例(S102);向所述目标办公软件发送比例调整指令,将所述目标办公软件的显示比例调整为所述最佳显示比例,所述比例调整指令中包括所述最佳显示比例信息(S103)。本方法可以自适应地将目标办公软件的显示比例调整为当前所在终端的最佳显示比例,使目标办公软件按照该终端的最佳显示比例在该终端上显示,从而提高了办公软件在终端设备上的显示效果,解决了因办公软件的显示配置与终端设备的显示特性不匹配所导致的图像缺失、显示黑边等问题。

Description

自适应调整办公软件的显示比例的方法和系统
技术领域
本发明涉及终端显示技术领域,特别是涉及一种自适应调整办公软件显示 比例的方法及系统。 背景技术
随着各种终端设备(如交互式智能平板、电子白板、面向会议的会议机等) 的广泛应用和技术发展,在这些终端设备上可以运行各种办公软件, 包括文档 处理软件 (如 WORD, Microsoft Office Word,微软公司设计的文字处理软件)、 表格报表软件 (如 Excel, Microsoft Excel, 微软公司设计的办公软件 Microsoft office的组件之一)、 演示文稿软件 (如 PPT, Microsoft Office PowerPoint, 微 软公司设计的演示文稿软件)、 邮件、 网页等等。 由于各不同的终端设备的尺 寸、 显示屏比例等有不同, 各办公软件在终端设备上运行时, 而各办公软件的 文件本身在创建或编辑时会设定了相应的显示比例,终端设备的显示特性不一 定满足该文件本身的显示比例的要求,但目前的终端设备在对文件进行显示时, 都是直接基于文件自身的配置对该文件进行显示,因此所显示出来的未必是最 佳的显示结果, 以 PPT为例, 可能会出现图像缺失、 显示黑边等问题, 从而 影响到终端设备对这类办公软件的文件展示,这类办公软件的文件在终端设备 上并不能以最佳显示效果进行显示。 发明内容
基于此,本发明实施例的目的在于提供一种自适应调整办公软件显示比例 的方法及系统, 其可以提高办公软件在终端设备上的显示效果,解决因办公软 件的显示配置与终端设备的显示特性不匹配所导致的图像缺失、显示黑边等问 题。
为达到上述目的, 本发明实施例采用以下技术方案: 一种自适应调整办公软件显示比例的方法, 包括步骤:
对目标办公软件进行监测, 在监测到目标办公软件处于运行状态时, 获取 该目标办公软件当前的显示比例;
获取当前所在终端的最佳显示比例;
向所述目标办公软件发送比例调整指令,将所述目标办公软件的显示比例 调整为所述最佳显示比例, 所述比例调整指令中包括所述最佳显示比例信息。
一种自适应调整办公软件显示比例的系统, 包括:
监测模块, 用于对目标办公软件进行监测,在监测到目标办公软件处于运 行状态时, 获取该目标办公软件当前的显示比例;
获取模块, 用于获取当前所在终端的最佳显示比例;
调整模块, 用于向所述目标办公软件发送比例调整指令,将所述目标办公 软件的显示比例调整为所述最佳显示比例,所述比例调整指令中包括所述最佳 显示比例信息。
根据如上所述的本发明实施例的方案, 其是对目标办公软件进行监测, 在 监测到目标办公软件处于运行状态时, 获取该目标办公软件当前的显示比例, 并通过向该目标办公软件发送比例调整指令来将目标办公软件的显示比例调 整为当前所在终端的最佳显示比例, 从而, 终端用户在不知道如何调整目标办 公软件的显示比例或者是没有对目标办公软件的显示比例进行调整的情况下, 基于本发明实施例的方案,可以自适应地将目标办公软件的显示比例调整为当 前所在终端的最佳显示比例,使目标办公软件的按照该终端的最佳显示比例在 该终端上展示, 从而提高了办公软件在终端设备上的显示效果,解决了因办公 软件的显示配置与终端设备的显示特性不匹配所导致的图像缺失、显示黑边等 问题。 附图说明
图 1 是一个实施例中本发明的自适应调整办公软件显示比例的方法的流 程示意图; 图 2 是一个具体示例中的自适应调整办公软件显示比例的方法的流程示 意图;
图 3 是另一个具体示例中的自适应调整办公软件显示比例的方法的流程 示意图;
图 4 一个实施例中本发明的自适应调整办公软件显示比例的系统的结构 示意图。 具体实施方式
为使本发明的目的、技术方案及优点更加清楚明白, 以下结合附图及实施 例, 对本发明进行进一步的详细说明。应当理解, 此处所描述的具体实施方式 仅仅用以解释本发明, 并不限定本发明的保护范围。
图 1 中示出了一个实施例中本发明的自适应调整办公软件显示比例的方 法的流程示意图。 如图 1所示, 本实施例中的方法包括步骤:
步骤 S101 : 对目标办公软件进行监测, 在监测到目标办公软件处于运行 状态时, 获取该目标办公软件当前的显示比例;
步骤 S102: 获取当前所在终端的最佳显示比例;
步骤 S103: 向所述目标办公软件发送比例调整指令, 将所述目标办公软 件的显示比例调整为所述最佳显示比例,所述比例调整指令中包括所述最佳显 示比例信息。
根据如上所述的本发明实施例的方案, 其是对目标办公软件进行监测, 在 监测到目标办公软件处于运行状态时, 获取该目标办公软件当前的显示比例, 并通过向该目标办公软件发送比例调整指令来将目标办公软件的显示比例调 整为当前所在终端的最佳显示比例, 从而, 终端用户在不知道如何调整目标办 公软件的显示比例或者是没有对目标办公软件的显示比例进行调整的情况下, 基于本发明实施例的方案,可以自适应地将目标办公软件的显示比例调整为当 前所在终端的最佳显示比例,使目标办公软件的按照该终端的最佳显示比例在 该终端上展示, 从而提高了办公软件在终端设备上的显示效果,解决了因办公 软件的显示配置与终端设备的显示特性不匹配所导致的图像缺失、显示黑边等 问题。
其中, 上述步骤 S101中对目标办公软件进行监测时, 考虑到终端的任务 管理器会包含有终端运行期的所有软件的进程信息,因此,在一个具体示例中, 可以通过下述方式进行监测:
获取当前所在终端正在运行中的所有进程,具体可以是获取当前所在终端 的任务管理器中的正在运行中的所有进程;
在监测到所述所有进程中存在所述目标办公软件的进程时,判定监测到所 述目标办公软件处于运行状态。
在上述步骤 S102中获取当前所在终端的最佳显示比例, 结合实际需要的 不同, 可以有不同方式。
在其中一个示例中, 可以是获取当前所在终端的显示分辨率, 并将当前所 在终端的显示分辨率作为所述最佳显示比例。由于当前所在终端的显示分辨率 直接反映了其在显示时的显示效果,因而可以将当前所在终端的显示分辨率直 接作为所述最佳显示比例。
在另一个示例中, 可以通过访问当前所在终端的 BIOS , 基于 BIOS通过 HDMI接口的 I2C读取当前所在终端的显示器的 EDID信息, 所述 EDID信息 确定当前所在终端的显示屏的长宽比例,并将当前所在终端的显示屏的长宽比 例确定为所述最佳显示比例。由于终端的最佳分辨率跟终端的显示屏的显示尺 寸有关, 因而可以将终端的显示屏的长宽比例作为所述最佳显示比例。
在另一个实例中, 上述最佳显示比例可以为预先设置的比例信息。该预先 设置的比例信息可以是按照上述两种示例中的两种方式得到后存储的,也可以 是基于主流的显示器的配置信息默认设定的。
基于本发明实施例的方案,可以实现对各种目标办公软件的显示比例进行 自适应调整, 例如 PPT软件。
以 PPT软件为例, 由于微软的 office软件具有对外开发的 COM组件, 允 许外部程序读取 office 软件中的相关枚举设置, 因此, 在本发明实施例中, 在 上述目标办公软件为 PPT软件、 EXCE1软件、 WORD软件等微软开发的软件 时, 可以通过 office COM组件获取目标办公软件当前的显示比例, 而且可以 通过 office COM组件向所述目标办公软件发送比例调整指令。
以下以事先设置并存储最佳显示比例、以及自适应调整过程中实时确定最 佳显示比例为例, 结合其中两个具体示例进行详细说明。
具体示例一
图 2 中示出了一个具体示例中的自适应调整办公软件显示比例的方法的 流程示意图,在该具体示例中, 是以本实施例方法初次在终端运行时就设定好 最佳显示比例为例进行说明。
如图 2所示, 该具体示例中的方法包括步骤:
步骤 S201 : 首次在当前所在终端运行时, 获取当前所在终端的显示分辨 率和 /或当前所在终端的显示屏的长宽比例, 并将当前所在终端的显示分辨率 和 /或当前所在终端的显示屏的长宽比例确定为当前所在终端的最佳显示比例, 并将确定的该最佳显示比例进行存储。
在获取当前所在终端的显示分辨率时, 可以采用各种可能的方式进行, 各 种终端系统都会存在相应的机制来提供对当前所在终端的显示分辨率的查询。 以 Windows (微软公司研发的操作系统) 为例, 在采用 C#编程设计语言的情 况下, 通过运行指令:
_screenWidth = SystemParameters.PrimaryScreenWidth;
_screenHeight = SystemParameters.PrimaryScreenHeight;
就可以获得 windows 的显示分辨率, 从而可以将该显示分辨率作为当前 所在终端的最佳显示比例。
在获取当前所在终端的显示屏的长宽比例时,也可以采用各种可能的方式 进行,在其中一个示例中,可以通过访问当前所在终端的 PC模块的 BIOS(Basic Input Output System, 基本输入输出系统)。 由于 BIOS是一组固化到计算机内 主板上一个 ROM (Read-Only Memory, 只读存储器) 芯片上的程序, 保存着 计算机最重要的基本输入输出的程序、开机后自检程序和系统自启动程序, 可 以从 CMOS (主板上的一块可读写的并行或串行 FLASH 芯片, 是用来保存 BIOS的硬件配置和用户对某些参数的设定) 中读写系统设置的具体信息, 能 够为终端提供最底层的、最直接的硬件设置和控制。因此,可以通过访问 BIOS, 使 BIOS通过 HDMI (High Definition Multimedia Interface, 一种数字化视频 / 音频接口技术) 接口的 I2C (Inter-Integrated Circuit, 一种两线式串行总线) 读取终端的显示器的 EDID (Extended Display Identification Data, 扩展显示标 识数据)。 由于 EDID是显示驱动板和显示器所能支持的分辨率和显示格式的 信息, 读取到 EDID, 就知道当前显示屏的长宽比, 可以将当前显示屏的长宽 比作为当前所在终端的最佳显示比例。
在采用上述两种方式终端任何一种获得最佳显示比例后,可将该最佳显示 比例予以存储, 以便于后续自适应调整过程中使用。
步骤 S202: 获取任务管理器中正在运行的所有进程。
任务管理器提供了有关终端的性能的信息,并显示了终端上所运行的程序 和进程的详细信息, 因此, 通过任务管理器可以获得当前所在终端正在运行的 所有进程。
步骤 S203: 根据任务管理器中的进程判断目标办公软件是否在运行, 若 在运行, 则进入步骤 S204。
如上所述, 通过任务管理器可以获得当前所在终端正在运行的所有进程, 因而可以判断出这些所有进程中是否存在目标办公软件的进程, 如果存在, 则 认为目标办公软件正在运行。
步骤 S204: 获取该目标办公软件当前的显示比例。
以微软公司开发的 PPT为例,微软的 office软件具有对外开发的 COM组 件, 允许外部程序读取 office 软件中的相关枚举设置, 例如 PPT中的显示比 例。 因此, 在本发明实施例中, 在目标办公软件为微软公司开发的软件为例, 例如 PPT, 则可以通过 office COM组件运行获取页面尺寸的指令, 就可以获 取目标办公软件当前的页面尺寸, 基于页面尺寸可以确定当前的显示比例。
步骤 S205 : 获取上述步骤 S201中存储的当前所在终端的最佳显示比例。 步骤 S206: 向所述目标办公软件发送比例调整指令, 将所述目标办公软 件的显示比例调整为所述最佳显示比例,所述比例调整指令中包括所述最佳显 示比例信息。
以微软公司开发的 PPT为例, 微软的 office软件对外开发的 COM组件, 还支持外部软件给其命令以调整 PPT的显示比例,因此,可以通过 office COM 组件运行设置页面尺寸的指令, 就可以完成 PPT页面显示比例的设置, 例如 PPT中的显示比例。 一个具体示例中的该指令可以为: 具体示例二
图 3 中示出了另一个具体示例中的自适应调整办公软件显示比例的方法 的流程示意图,在该具体示例中, 是以在自适应调整过程中实时确定最佳显示 比例为例进行说明。
如图 3所示, 该具体示例中的方法包括步骤:
步骤 S301 : 获取任务管理器中正在运行的所有进程;
步骤 S302: 根据任务管理器中的进程判断目标办公软件是否在运行, 若 在运行, 则进入步骤 S303 ;
步骤 S303: 获取该目标办公软件当前的显示比例;
步骤 S304: 获取当前所在终端的显示分辨率和 /或当前所在终端的显示屏 的长宽比例, 并将当前所在终端的显示分辨率和 /或当前所在终端的显示屏的 长宽比例确定为当前所在终端的最佳显示比例;
步骤 S305: 向所述目标办公软件发送比例调整指令, 将所述目标办公软 件的显示比例调整为所述最佳显示比例,所述比例调整指令中包括所述最佳显 示比例信息。
该具体示例中的各具体实现方式可以与上述具体示例一中的相同。 基于与上述方法相同的思想,本发明实施例还提供一种自适应调整办公软 件显示比例的系统, 图 4中示出了一个实施例中该系统的结构示意图。 如图 4所示, 本实施例中的自适应调整办公软件显示比例的系统包括: 监测模块 401, 用于对目标办公软件进行监测, 在监测到目标办公软件处 于运行状态时, 获取该目标办公软件当前的显示比例;
获取模块 402, 用于获取当前所在终端的最佳显示比例;
调整模块 403, 用于向所述目标办公软件发送比例调整指令, 将所述目标 办公软件的显示比例调整为所述最佳显示比例,所述比例调整指令中包括所述 最佳显示比例信息。
如图 4所示, 在一个具体示例中, 上述监测模块 401可以包括:
进程监测模块 4011, 用于获取当前所在终端正在运行中的所有进程, 具 体可以是获取当前所在终端的任务管理器中的正在运行中的所有进程;
目标判定模块 4012, 用于在监测到所述所有进程中存在所述目标办公软 件的进程时, 判定监测到所述目标办公软件处于运行状态;
比例获取模块 4013, 用于在目标判定模块判定所述目标办公软件处于运 行状态时, 获取所述目标办公软件当前的显示比例。
上述获取模块 402在获取当前所在终端的最佳显示比例,结合实际需要的 不同, 可以有不同方式。
在其中一个示例中, 获取模块 402可以获取当前所在终端的显示分辨率, 并将当前所在终端的显示分辨率作为所述最佳显示比例。由于当前所在终端的 显示分辨率直接反映了其在显示时的显示效果,因而可以将当前所在终端的显 示分辨率直接作为所述最佳显示比例。
在另一个示例中,获取模块 402可以访问当前所在终端的 BIOS,基于 BIOS 通过 HDMI接口的 I2C读取当前所在终端的显示器的 EDID信息, 所述 EDID 信息确定当前所在终端的显示屏的长宽比例,并将当前所在终端的显示屏的长 宽比例确定为所述最佳显示比例。由于终端的最佳分辨率跟终端的显示屏的显 示尺寸有关, 因而可以将终端的显示屏的长宽比例作为所述最佳显示比例。
在另一个实例中, 上述最佳显示比例可以为预先设置的比例信息。该预先 设置的比例信息可以是按照上述两种示例中的两种方式得到后存储的,也可以 是基于主流的显示器的配置信息默认设定的。
基于本发明实施例的方案,可以实现对各种目标办公软件的显示比例进行 自适应调整, 例如 PPT软件。
以 PPT软件为例, 由于微软的 office软件具有对外开发的 COM组件, 允 许外部程序读取 office 软件中的相关枚举设置, 因此, 在本发明实施例中, 在 上述目标办公软件为 PPT软件、 EXCEL软件、 WORD软件等微软开发的软件 时, 监测模块 401或者比例获取模块 4013, 可以通过 office COM组件获取目 标办公软件当前的显示比例, 而且调整模块 403可以通过 office COM组件向 所述目标办公软件发送比例调整指令。
如上所述, 上述调整模块 403在发送比例调整指令时, 所包含的最佳显示 比例可以是实时获取到的, 也可以是事先确定并存储的, 以下结合这两种方式 进行举例说明。
在其中一个实现方式中, 具体的工作过程可以是: 首次在当前所在终端运 行时,获取模块 402获取当前所在终端的显示分辨率或者当前所在终端的显示 屏的长宽比例,并将当前所在终端的显示分辨率或者当前所在终端的显示屏的 长宽比例确定为当前所在终端的最佳显示比例,并将确定的该最佳显示比例进 行存储。在后续工作过程中, 监测模块 401对目标办公软件进行监测, 在监测 到目标办公软件处于运行状态时, 获取该目标办公软件当前的显示比例, 调整 模块 403向所述目标办公软件发送比例调整指令,将所述目标办公软件的显示 比例调整为所述最佳显示比例,所述比例调整指令中包括获取模块 402存储的 最佳显示比例的信息。
在另一个实现方式中, 具体的工作过程可以是: 监测模块 401对目标办公 软件进行监测,在监测到目标办公软件处于运行状态时, 获取该目标办公软件 当前的显示比例,获取模块 402获取当前所在终端的显示分辨率或者当前所在 终端的显示屏的长宽比例,并将当前所在终端的显示分辨率或者当前所在终端 的显示屏的长宽比例确定为当前所在终端的最佳显示比例,调整模块 403向所 述目标办公软件发送比例调整指令,将所述目标办公软件的显示比例调整为所 述最佳显示比例,所述比例调整指令中包括获取模块 402确定的最佳显示比例 的信息。
本发明实施例系统中的其他技术特征与上述方法中的相同。
如上所述的本发明实施例的系统,可以通过独立的应用软件的方式运行在 终端设备上, 且可以是开机自运行, 终端用户无需主动去启动, 从而自主化地 对目标办公软件的显示比例进行自适应地调整。
如上所述的本发明实施例的方法及系统,可以广泛应用于交互式智能平板, 电子白板,面向会议的会议机等终端设备上,例如面向教育的交互式智能平板, 电子白板等。 在可能的情况下, 也可以应用在移动智能终端上。
以上所述实施例的各技术特征可以进行任意的组合, 为使描述简洁, 未对 上述实施例中的各个技术特征所有可能的组合都进行描述, 然而, 只要这些技 术特征的组合不存在矛盾, 都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细, 但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的 普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改 进, 这些都属于本发明的保护范围。 因此, 本发明专利的保护范围应以所附权 利要求为准。

Claims

权利要求书
1、 一种自适应调整办公软件显示比例的方法, 其特征在于, 包括步骤: 对目标办公软件进行监测, 在监测到目标办公软件处于运行状态时, 获取 该目标办公软件当前的显示比例;
获取当前所在终端的最佳显示比例;
向所述目标办公软件发送比例调整指令,将所述目标办公软件的显示比例 调整为所述最佳显示比例, 所述比例调整指令中包括所述最佳显示比例信息。
2、 根据权利要求 1所述的自适应调整办公软件显示比例的方法, 其特征 在于, 对目标办公软件进行监测的方式包括:
获取当前所在终端正在运行中的所有进程;
在监测到所述所有进程中存在所述目标办公软件的进程时,判定监测到所 述目标办公软件处于运行状态。
3、 根据权利要求 1所述的自适应调整办公软件显示比例的方法, 其特征 在于, 包括下述各项中的任意一项:
获取当前所在终端的显示分辨率,并将当前所在终端的显示分辨率作为所 述最佳显示比例;
访问当前所在终端的 BIOS, 基于 BIOS通过 HDMI接口的 I2C读取当前 所在终端的显示器的 EDID信息, 所述 EDID信息确定当前所在终端的显示屏 的长宽比例,并将当前所在终端的显示屏的长宽比例确定为所述最佳显示比例; 最佳显示比例为预先设置的比例信息。
4、 根据权利要求 1所述的自适应调整办公软件显示比例的方法, 其特征 在于, 所述目标办公软件为 PPT软件。
5、 根据权利要求 4所述的自适应调整办公软件显示比例的方法, 其特征 在于:
通过 office COM组件获取目标办公软件当前的显示比例;
和 /或
通过 office COM组件向所述目标办公软件发送比例调整指令。
6、 一种自适应调整办公软件显示比例的系统, 其特征在于, 包括: 监测模块, 用于对目标办公软件进行监测,在监测到目标办公软件处于运 行状态时, 获取该目标办公软件当前的显示比例;
获取模块, 用于获取当前所在终端的最佳显示比例;
调整模块, 用于向所述目标办公软件发送比例调整指令,将所述目标办公 软件的显示比例调整为所述最佳显示比例,所述比例调整指令中包括所述最佳 显示比例信息。
7、 根据权利要求 6所述的自适应调整办公软件显示比例的系统, 其特征 在于, 所述监测模块包括:
进程监测模块, 用于获取当前所在终端正在运行中的所有进程; 目标判定模块,用于在监测到所述所有进程中存在所述目标办公软件的进 程时, 判定监测到所述目标办公软件处于运行状态;
比例获取模块,用于在目标判定模块判定所述目标办公软件处于运行状态 时, 获取所述目标办公软件当前的显示比例。
8、 根据权利要求 6所述的自适应调整办公软件显示比例的系统, 其特征 在于, 包括下述各项中的任意一项:
所述获取模块获取当前所在终端的显示分辨率,并将当前所在终端的显示 分辨率作为所述最佳显示比例;
所述获取模块访问当前所在终端的 BIOS, 基于 BIOS通过 HDMI接口的 I2C读取当前所在终端的显示器的 EDID信息, 所述 EDID信息确定当前所在 终端的显示屏的长宽比例,并将当前所在终端的显示屏的长宽比例确定为所述 最佳显示比例;
所述获取模块将预先设置的比例信息确定为所述最佳显示比例。
9、 根据权利要求 6所述的自适应调整办公软件显示比例的系统, 其特征 在于, 所述目标办公软件为 PPT软件。
10、根据权利要求 9所述的自适应调整办公软件显示比例的系统, 其特征 在于:
所述监测模块通过 office COM组件获取目标办公软件当前的显示比例; 和 /或
所述调整模块通过 office COM组件向所述目标办公软件发送比例调整指
PCT/CN2016/090745 2015-12-09 2016-07-20 自适应调整办公软件的显示比例的方法和系统 WO2017096910A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510907460.7 2015-12-09
CN201510907460.7A CN105511829A (zh) 2015-12-09 2015-12-09 自适应调整办公软件的显示比例的方法和系统

Publications (1)

Publication Number Publication Date
WO2017096910A1 true WO2017096910A1 (zh) 2017-06-15

Family

ID=55719847

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/090745 WO2017096910A1 (zh) 2015-12-09 2016-07-20 自适应调整办公软件的显示比例的方法和系统

Country Status (2)

Country Link
CN (1) CN105511829A (zh)
WO (1) WO2017096910A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105511829A (zh) * 2015-12-09 2016-04-20 广州视睿电子科技有限公司 自适应调整办公软件的显示比例的方法和系统
CN106547559A (zh) * 2016-10-28 2017-03-29 广州视睿电子科技有限公司 一种智能平板及用于智能平板的控制及显示的方法、装置
CN112051976B (zh) * 2020-08-24 2022-09-30 南京巨鲨显示科技有限公司 一种自适应显示器最佳分辨率以及文本大小的方法
CN113382297A (zh) * 2021-06-09 2021-09-10 青岛海信宽带多媒体技术有限公司 一种自适应显示终端显示百分比的方法和机顶盒
CN114995944B (zh) * 2022-08-03 2022-11-15 武汉凌久微电子有限公司 一种分辨率自适应缩放显示方法及显卡驱动模块

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336817A (zh) * 2013-06-28 2013-10-02 北京奇虎科技有限公司 一种电子设备上网页缩放的方法和装置
CN103365557A (zh) * 2012-04-01 2013-10-23 珠海金山办公软件有限公司 移动设备查看演示文档的方法及其系统
CN103365980A (zh) * 2013-07-04 2013-10-23 贾建仓 基于幻灯片播放的内容动态调整方法
US8954884B1 (en) * 2013-11-18 2015-02-10 Maestro Devices, LLC Navigation system for viewing an image data-stack in less time with less effort and less repetitive motions
CN105511829A (zh) * 2015-12-09 2016-04-20 广州视睿电子科技有限公司 自适应调整办公软件的显示比例的方法和系统

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100566378C (zh) * 2006-12-22 2009-12-02 腾讯科技(深圳)有限公司 一种在电视上显示程序界面的方法、装置及系统
CN102023849A (zh) * 2009-09-22 2011-04-20 北京搜狗科技发展有限公司 一种多平台多分辨率应用程序界面的处理方法和装置
CN103258509B (zh) * 2012-02-20 2016-07-06 联想(北京)有限公司 一种调节分辨率的方法及电子设备
CN103700360A (zh) * 2013-12-09 2014-04-02 乐视致新电子科技(天津)有限公司 一种屏幕显示比例调整方法和电子设备
CN104270509B (zh) * 2014-09-18 2017-04-26 北京奇虎科技有限公司 一种移动终端中界面的显示方法、移动终端和服务器
CN104270579B (zh) * 2014-09-24 2018-06-05 青岛海信移动通信技术股份有限公司 一种终端应用界面像素调整方法及终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365557A (zh) * 2012-04-01 2013-10-23 珠海金山办公软件有限公司 移动设备查看演示文档的方法及其系统
CN103336817A (zh) * 2013-06-28 2013-10-02 北京奇虎科技有限公司 一种电子设备上网页缩放的方法和装置
CN103365980A (zh) * 2013-07-04 2013-10-23 贾建仓 基于幻灯片播放的内容动态调整方法
US8954884B1 (en) * 2013-11-18 2015-02-10 Maestro Devices, LLC Navigation system for viewing an image data-stack in less time with less effort and less repetitive motions
CN105511829A (zh) * 2015-12-09 2016-04-20 广州视睿电子科技有限公司 自适应调整办公软件的显示比例的方法和系统

Also Published As

Publication number Publication date
CN105511829A (zh) 2016-04-20

Similar Documents

Publication Publication Date Title
WO2017096910A1 (zh) 自适应调整办公软件的显示比例的方法和系统
WO2017124842A1 (zh) 一种截图的方法及装置
WO2019100985A1 (zh) 页面处理方法及移动终端
US9342859B2 (en) GPU based parallel image processing at thin client
US8982158B2 (en) Computer screen image displaying method, computer having a vertical display device, and computer program product
US11086635B2 (en) Electronic device, method for controlling electronic device, and program
US20130166832A1 (en) Methods and electronic devices for adjusting the operating frequency of a memory
CN106233243B (zh) 多架构管理器
CN112416279B (zh) 一种服务器显示方法、装置、设备及存储介质
US8868811B2 (en) Systems and methods for hot-plug detection recovery
US20120060023A1 (en) Methods for booting an operating system using non-volatile memory
US20150082179A1 (en) Monitoring virtual machine interface and local graphical user interface on a thin client and alternating therebetween
US20170078388A1 (en) Browser-based virtual media administration
US20160232872A1 (en) METHOD AND APPARATUS FOR DISPLAYING COMPOSITION SCREEN IMAGE BY COMPOSING SCREEN IMAGES OF OPERATING SYSTEMS (OSs)
WO2018205392A1 (zh) 控制响应区域显示控制方法、电子装置及存储介质
US9513686B2 (en) Context based power saving
WO2021043021A1 (zh) 内存的回写方法、装置、终端及存储介质
KR102116096B1 (ko) 다중시스템 및 이의 부팅 방법
US20160011754A1 (en) Method and system for virtualized sensors in a multi-sensor environment
US20090040314A1 (en) Method for recording images in electronic device
US9270925B2 (en) Image output apparatus, image output system, and image output control program
US9489916B2 (en) Processing method of an external-image device
US10671504B2 (en) System performance monitoring and optimization
TW202044012A (zh) 顯示訊息處理裝置及顯示訊息處理方法
WO2018126585A1 (zh) 一种显示内容更新方法和移动终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16872109

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16872109

Country of ref document: EP

Kind code of ref document: A1