WO2018223559A1 - 一种屏幕参数的配置方法及装置 - Google Patents

一种屏幕参数的配置方法及装置 Download PDF

Info

Publication number
WO2018223559A1
WO2018223559A1 PCT/CN2017/103253 CN2017103253W WO2018223559A1 WO 2018223559 A1 WO2018223559 A1 WO 2018223559A1 CN 2017103253 W CN2017103253 W CN 2017103253W WO 2018223559 A1 WO2018223559 A1 WO 2018223559A1
Authority
WO
WIPO (PCT)
Prior art keywords
parameter information
screen parameter
terminal device
information
screen
Prior art date
Application number
PCT/CN2017/103253
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 WO2018223559A1 publication Critical patent/WO2018223559A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters

Definitions

  • the embodiments of the present invention relate to the field of computer technologies, and in particular, to a method and an apparatus for configuring screen parameters.
  • the product architecture generally includes a display screen with a touch frame, a micro control unit, and a main controller, in which a boot program for product startup is integrated in the main controller of the electronic product. And the main control system for product control.
  • the booting program is first started, and then the booting program starts the main control system, and the main controller can perform information interaction with the touch frame through the main control system to implement touch on the display screen, and the micro control unit It can then be used for communication between the touch frame and the main controller.
  • the screen size of the display screen of the large-screen touch terminal device can be variously selected, and the screen information of the different size display screens is different, and the main controller needs to pass the main control system according to the screen information corresponding to the display screen. Lights up the display. If the screen information configured in the main controller is different from the screen information on the display, the screen will not light up properly.
  • the developer needs to configure the screen information corresponding to the display screen in the compiling stage of the main control system to form a main control system corresponding to different screen sizes, which is equivalent to the need to integrate the corresponding main screens for different screen sizes.
  • the main controller of the control system otherwise the display will not be properly illuminated.
  • the above method cannot guarantee the compatibility of the main control system and the display screen, and increases the workload of the developer, resulting in excessive consumption of human resources.
  • the embodiment of the invention provides a method and a device for configuring screen parameters, which can ensure that the main control system dynamically recognizes the screen information of the display screens of different screen sizes, and improves the compatibility between the main control system and the display screen.
  • an embodiment of the present invention provides a method for configuring a screen parameter, including:
  • the standard screen parameter information is not empty and the target screen parameter information is empty, the standard screen parameter information is overwritten in the configuration file of the main control system as target screen parameter information;
  • the display screen of the terminal device is illuminated according to the target screen parameter information.
  • an embodiment of the present invention provides a device for configuring screen parameters, including:
  • the information obtaining module is configured to acquire standard screen parameter information preset in the touch box of the terminal device when the terminal device is started, and obtain target screen parameter information in the configuration file of the main control system;
  • a first configuration module configured to: when the standard screen parameter information is not empty and the target screen parameter information is empty, overwriting the standard screen parameter information in a configuration file of the main control system as a target screen Participate in information;
  • a second configuration module configured to: when the standard screen parameter information and the target screen parameter information are not empty and the information matches, when the main control system is started, the terminal device is illuminated according to the target screen parameter information Display.
  • a method and a device for configuring a screen parameter are provided.
  • the method first acquires standard screen parameter information preset in a touch frame of the terminal device when the terminal device is started, and acquires main control. Target screen parameter information in the system configuration file; then when the standard screen parameter information is not empty, the screen parameter information is overwritten, and the standard screen parameter information is overwritten in the configuration file of the main control system as the target screen parameter information; When the screen parameter information and the target screen parameter information are not empty and the information matches, when the main control system is started, the display screen of the terminal device is illuminated according to the target screen parameter information.
  • FIG. 1 is a schematic flowchart of a method for configuring screen parameters according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic flowchart of a method for configuring screen parameters according to Embodiment 2 of the present invention
  • FIG. 3 is a structural block diagram of a device for configuring screen parameters according to Embodiment 3 of the present invention.
  • FIG. 1 is a schematic flowchart of a method for configuring a screen parameter according to a first embodiment of the present invention.
  • the method is applicable to a configuration of a screen parameter information corresponding to a display of a terminal device, and the method may be performed by a screen parameter configuration device.
  • the device can be implemented by software and/or hardware and is generally integrated in On the main controller of the terminal device.
  • the terminal device in this embodiment may specifically refer to an electronic device with a touch function such as a teaching smart whiteboard or a conference smart tablet.
  • a touch function such as a teaching smart whiteboard or a conference smart tablet.
  • the main control system In the terminal device, only the normal lighting display can perform the subsequent work normally, wherein the bright screen of the display screen can be controlled by the main control system in the terminal device. Specifically, when the main control system is started, the main control system needs to obtain the screen parameter information corresponding to the display screen, and controls the lighting display screen based on the screen parameter information.
  • the embodiment of the present invention provides a new method for configuring screen parameters. Realize the dynamic configuration of the screen information of the terminal device display.
  • a method for configuring screen parameters according to Embodiment 1 of the present invention includes the following operations:
  • the touch function of the terminal device is mainly implemented based on the touch frame of the terminal device, and the touch frame needs to be assembled with the display screen of the terminal device to implement the touch function.
  • the size of the touch frame is generally the same as the size of the display screen.
  • the standard screen parameter information stored in the touch frame of the terminal device may be acquired, and at the same time, the target screen parameter information in the configuration file of the main control system needs to be acquired, so as to facilitate the subsequent lighting of the screen.
  • the configuration of the required screen parameter information may be acquired, and at the same time, the target screen parameter information in the configuration file of the main control system needs to be acquired, so as to facilitate the subsequent lighting of the screen.
  • the standard screen parameter information and the target screen parameter information include, but are not limited to, a model number of the display screen, a screen size, and a screen resolution.
  • This embodiment can display the model number, screen size and/or The screen resolution is determined as the screen parameter information required to illuminate the display screen.
  • the color parameter of the display screen and other characteristic information of the display screen such as the number of screen digits can also be used as the screen parameter for lighting the display screen.
  • Information this implementation is not too restrictive.
  • the content recorded in the standard screen parameter information and the target screen parameter information may be information of the same model, the same screen size, and the screen resolution, and may also be information of different models, different screen sizes, and screen resolutions. It can also be empty information.
  • step S102 and step S103 respectively give corresponding configuration operations when two different determination results are obtained.
  • the standard screen parameter information is written in the assembly process of the touch frame and the display screen of the terminal device, and is stored in the set storage address of the touch frame of the terminal device.
  • the initial state of the standard screen parameter information is not empty, and the standard screen parameter information may be considered as the screen parameter information corresponding to the display screen assembled with the touch frame, wherein the initial state may be It is understood as the factory setting state of the terminal device.
  • the standard screen parameter information can be written by the relevant technical personnel during the assembly process of the touch frame and the display screen, and the written storage address can be regarded as the firmware of the touch device of the terminal device. A blank storage area reserved during production or upgrade.
  • the standard screen parameter information is not empty and the target screen parameter information is empty, the standard screen parameter information is overwritten in the configuration file of the main control system as the target screen parameter information.
  • the standard screen parameter information in the touch box of the terminal device may be used to overwrite the original screen parameter information in the configuration file of the main control system, and the standard is The screen parameter information is written into the configuration file of the main control system as the screen parameter information required to illuminate the display screen, and is recorded as the target screen parameter information.
  • the initial state of the target screen parameter information is empty, that is, the configuration file of the main control system of the terminal device is not included in the configuration file of the main control system when the terminal device is shipped. Therefore, the case where the standard screen parameter information appearing in this embodiment is not empty and the target screen parameter information is empty may be equivalent to the case when the terminal device uses the terminal device for the first time after leaving the factory, and the operation performed in this step is equivalent to the standard.
  • the screen parameter information is written into the configuration file of the main control system as the screen parameter information required to light the screen.
  • the situation that the standard screen parameter information and the target screen parameter information appearing in this embodiment are not empty and the information is matched may be equivalent to the situation that the terminal device has been used before. In this case, it may be considered that the terminal device has been based on step S102.
  • the operation of writing standard screen parameter information into the main control system configuration file has been performed. Therefore, it is not necessary to repeatedly perform the configuration of the target screen parameter information, and the display screen of the terminal device can be directly illuminated according to the target screen parameter information when the main control system is started.
  • a method for configuring a screen parameter according to the first embodiment of the present invention firstly acquires standard screen parameter information preset in a touch frame of the terminal device when the terminal device is started, and acquires target screen parameter information in the configuration file of the main control system. Then, when the standard screen parameter information is not empty, the screen parameter information is empty, and the standard screen parameter information is overwritten in the configuration file of the main control system as the target screen parameter information; when the standard screen parameter information and the target screen parameter information are both When it is not empty and the information matches, when the main control system is started, the display screen of the terminal device is illuminated according to the target screen parameter information.
  • the method does not need to configure fixed screen parameter information in the compiling stage of the main control system, and realizes dynamic configuration of the screen information of the screen of different screen sizes by the main control system, so that the display screen can be normally brightened, thereby improving
  • the compatibility of the main control system with the display screen reduces the workload of the system developer and reduces the excessive consumption of human resources.
  • FIG. 2 is a schematic flowchart diagram of a method for configuring screen parameters according to Embodiment 2 of the present invention.
  • the embodiment of the present invention is optimized based on the foregoing embodiment.
  • the standard screen parameter information preset in the touch frame of the terminal device is obtained, and is specifically optimized as: a micro control unit to the terminal device. Sending an information acquisition instruction; receiving, by the micro control unit, standard screen parameter information in a touch frame of the terminal device returned according to the information acquisition instruction.
  • the embodiment of the present invention further optimizes: if the standard screen parameter information and the target screen parameter information are not empty and the information does not match, the standard screen parameter information is overwritten in the main control system.
  • the configuration file as the updated target screen parameter information; if the target screen parameter information is not empty and the standard screen parameter information is empty, when the main control system is started, the terminal is illuminated according to the target screen parameter information. a display screen of the device, and writing the target screen parameter information as standard screen parameter information into a set storage address of the touch frame of the terminal device.
  • a method for configuring a screen parameter according to Embodiment 2 of the present invention specifically includes the following operations:
  • the micro control unit may specifically refer to a control device included in the terminal device.
  • the main controller in the terminal device may determine that the main controller in the terminal device cannot directly interact with the touch device of the terminal device during the startup process of the terminal device, and needs to pass the micro control.
  • the unit performs information interaction; in addition, it can be determined that the configuration method of the screen parameters provided by this embodiment is specifically applied to the main controller.
  • the information acquisition instruction may be first sent to the micro control unit, where the information acquisition instruction may be understood as an acquisition instruction corresponding to the standard screen parameter information acquisition. It can be understood that, after receiving the information acquisition instruction, the micro control unit can establish communication with the touch frame of the terminal device, acquire standard screen parameter information in the touch frame setting storage address, and send the obtained standard screen parameter information. Give the main controller of the terminal device.
  • the receiving micro control unit returns the standard screen parameter information in the touch box of the terminal device according to the information acquisition instruction, and acquires the target screen parameter information in the configuration file of the main control system.
  • the standard screen parameter information returned by the micro control unit can be received, thereby obtaining the acquisition of the standard screen parameter information.
  • this step can directly obtain the target screen parameter information in the configuration file.
  • the specific content of the foregoing information may be analyzed and determined.
  • the determined determination result may include: the standard screen parameter information is not an empty target.
  • the screen parameter information is empty; or the standard screen parameter information and the target screen parameter information are not empty, but the information of the two may or may not match; or the standard screen parameter information is empty and the target screen parameter information not null.
  • the determination result is different, and the operation when arranging the screen parameters of the display screen is different.
  • This embodiment provides four operation modes of step S203 to step S206 for the above determination result.
  • the standard screen parameter information is not empty and the target screen parameter information is empty, the standard screen parameter information is overwritten in the configuration file of the main control system as the target screen parameter information.
  • the present embodiment preferably considers that the target screen parameter information of the terminal device is empty at the time of shipment and the standard screen parameter information is non-empty, so that the operation described in this step S203 can be considered to be applicable to the first use of the terminal device after leaving the factory. The situation at the time.
  • the operation described in this step S204 is applicable to the case when the terminal device has been used normally and is not used again after the terminal device is modified.
  • the step is still based on the recorded standard screen parameter information, and the standard screen parameter information in the touch box of the terminal device can be written.
  • the configuration file of the main control system replace the original target screen parameter information.
  • the case where the standard screen parameter information and the target screen parameter information appearing in this embodiment are not empty and the information does not match may be equivalent to the case where the display screen of the terminal device is changed without changing the main controller, such as Replace the original display of the terminal device with a display of different sizes. Since the touch frame of the terminal device and the display screen need to have the same size, it can be considered that the touch frame is replaced at the same time as the display screen is replaced, so that the standard screen parameter information in the replaced touch frame can be regarded as the display screen. Corresponding screen parameter information.
  • the target screen parameter information is not empty and the standard screen parameter information is empty, when the main control system is started, the display screen of the terminal device is illuminated according to the target screen parameter information, and the target screen parameter information is used as the standard screen parameter information. Write to the set storage address of the touch panel of the terminal device.
  • the standard screen parameter information may be changed, which may be equivalent to replacing only the terminal device touch frame without replacing the terminal device.
  • the device such as the touch frame, needs to be replaced if it is damaged, and the standard screen parameter information is not written when the display of the terminal device is assembled with the new touch frame.
  • the target screen parameter information in the configuration file is used as a reference, and the display screen of the terminal device can be directly illuminated based on the target screen parameter information when the main control system is started, and the target screen can also be The parameter information is written into the set storage address of the touch frame of the terminal device, and the screen parameter information of the display screen is backed up, so that the standard screen parameter information can be used to configure the screen parameters when the other determination results are generated.
  • a method for configuring screen parameters according to the second embodiment of the present invention the process of acquiring standard screen parameter information is embodied, and specific conditions of the standard screen parameter information and the target screen parameter information are compared. operating.
  • the screen parameter information for lighting the display screen of the terminal device is dynamically configured, thereby improving the display screens of the main control system and the terminal device. Compatibility reduces the workload of system developers and reduces the excessive consumption of human resources.
  • FIG. 3 is a structural block diagram of a device for configuring screen parameters according to Embodiment 3 of the present invention.
  • the device is suitable for configuring the screen parameter information corresponding to the display of the terminal device, wherein the device can be implemented by software and/or hardware, and is generally integrated on the main controller of the terminal device.
  • the device includes: an information acquisition module 31, a first configuration module 32, and a second configuration module 33.
  • the information obtaining module 31 is configured to acquire standard screen parameter information preset in the touch frame of the terminal device when the terminal device is started, and acquire target screen parameter information in the configuration file of the main control system.
  • a first configuration module 32 configured to overwrite the standard screen parameter information in a configuration file of the main control system as a target when the standard screen parameter information is not empty and the target screen parameter information is empty Screen parameter information.
  • the second configuration module 33 is configured to: when the standard screen parameter information and the target screen parameter information are not empty and the information matches, when the main control system is started, the terminal is illuminated according to the target screen parameter information.
  • the display of the device is configured to: when the standard screen parameter information and the target screen parameter information are not empty and the information matches, when the main control system is started, the terminal is illuminated according to the target screen parameter information.
  • the terminal device when the terminal device is started by the information acquiring module 31, the standard screen parameter information preset in the touch box of the terminal device is acquired, and the target screen parameter information in the configuration file of the main control system is acquired;
  • the standard screen parameter information is not empty and the target screen parameter information is empty, the standard screen parameter information is overwritten by the first configuration module 32 in the configuration file of the main control system as the target screen parameter information; or
  • the standard screen parameter information and the target screen parameter information are not empty and the information is matched, when the main control system is started by the second configuration module 33, the terminal device is illuminated according to the target screen parameter information. Display.
  • the device for configuring the screen parameters provided in the third embodiment of the present invention does not need to configure fixed screen parameter information in the compiling stage of the main control system, thereby realizing dynamic configuration of the screen information of the display screens of different screen sizes by the main control system, so that the display screen can
  • the normal bright screen improves the compatibility between the main control system and the display screen, reduces the workload of the system developer, and reduces the excessive consumption of human resources.
  • the information acquiring module 31 is specifically configured to:
  • the receiving micro control unit acquires the standard screen parameter information in the touch box of the terminal device according to the information acquisition instruction, and acquires the target screen parameter information in the configuration file of the main control system.
  • the standard screen parameter information is written in the assembly process of the touch frame and the display screen of the terminal device, and is stored in the set storage address of the touch frame of the terminal device.
  • the device is further optimized to include:
  • the third configuration module 34 is configured to: when the standard screen parameter information and the target screen parameter information are not empty, When the information does not match, the standard screen parameter information is overwritten in the configuration file of the main control system as the updated target screen parameter information;
  • a fourth configuration module 35 configured to: when the target screen parameter information is not empty and the standard screen parameter information is empty, when the main control system is started, the display screen of the terminal device is illuminated according to the target screen parameter information And writing the target screen parameter information as standard screen parameter information into a set storage address of the touch frame of the terminal device.
  • the standard screen parameter information and the target screen parameter information include: a model number of the display screen, a screen size, and a screen resolution.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Digital Computer Display Output (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种屏幕参数的配置方法及装置,该方法包括:终端设备启动时,获取终端设备触摸框中的标准屏参信息,并获取主控制系统配置文件中的目标屏参信息(S101);如果标准屏参信息不为空且目标屏参信息为空,则将标准屏参信息覆写于主控制系统的配置文件中作为目标屏参信息(S102);如果标准屏参信息和目标屏参信息均不为空且信息匹配,则在启动主控制系统时,根据目标屏参信息点亮终端设备的显示屏(S103)。利用该方法,无需在主控制系统编译阶段配置固定的屏参信息,实现了主控制系统对不同屏幕尺寸显示屏屏幕信息的动态配置,使得显示屏能够正常亮屏,由此提高了主控制系统与显示屏的兼容性,减少了系统开发人员的工作量,降低了人力资源的过多消耗。

Description

一种屏幕参数的配置方法及装置 技术领域
本发明实施例涉及计算机技术领域,尤其涉及一种屏幕参数的配置方法及装置。
背景技术
目前,随着计算机技术的广泛应用,出现了更多能够满足人们生活工作和学习需求的智能电子产品,如具有触摸和大屏显示功能的教学智能白板以及智能会议平板等。对于这些大屏触控终端设备而言,其产品架构一般可包括带有触摸框的显示屏、微控制单元以及主控制器,其中电子产品的主控制器中集成了用于产品启动的引导程序以及用于产品控制的主控制系统。具体地,电子产品上电开机后首先启动引导程序,再由引导程序启动主控制系统,主控制器能够通过主控制系统与触摸框进行信息交互,实现对显示屏的触控,而微控制单元则可用于触摸框和主控制器之间的通信。
一般地,大屏触控终端设备中显示屏的屏幕尺寸可以有多种选择,且不同尺寸的显示屏所具有的屏幕信息不同,主控制器需要通过主控制系统依据显示屏对应的屏幕信息来点亮显示屏,如果主控制器中配置的屏幕信息与显示屏的屏幕信息不同,则无法正常点亮屏幕。现有方法中,开发人员需要在主控制系统的编译阶段配置与显示屏对应的屏幕信息,形成与不同屏幕尺寸对应的主控制系统,相当于需要为不同屏幕尺寸的显示屏配备集成有相应主控制系统的主控制器,否则显示屏无法正常亮屏。上述方法无法保证主控制系统与显示屏的兼容性,同时增加了开发人员的工作量,造成了人力资源的过多消耗。
发明内容
本发明实施例提供了一种屏幕参数的配置方法及装置,能够保证主控制系统动态识别不同屏幕尺寸的显示屏的屏幕信息,提高主控制系统与显示屏的兼容性。
一方面,本发明实施例提供了一种屏幕参数的配置方法,包括:
终端设备启动时,获取预设在终端设备触摸框中的标准屏参信息,并获取主控制系统配置文件中的目标屏参信息;
如果所述标准屏参信息不为空且所述目标屏参信息为空,则将所述标准屏参信息覆写于所述主控制系统的配置文件中作为目标屏参信息;
如果所述标准屏参信息和目标屏参信息均不为空且信息相匹配,则在启动主控制系统时,根据所述目标屏参信息点亮所述终端设备的显示屏。
另一方面,本发明实施例提供了一种屏幕参数的配置装置,包括:
信息获取模块,用于终端设备启动时,获取预设在终端设备触摸框中的标准屏参信息,并获取主控制系统配置文件中的目标屏参信息;
第一配置模块,用于当所述标准屏参信息不为空且所述目标屏参信息为空时,将所述标准屏参信息覆写于所述主控制系统的配置文件中作为目标屏参信息;
第二配置模块,用于当所述标准屏参信息和目标屏参信息均不为空且信息相匹配时,则在启动主控制系统时,根据所述目标屏参信息点亮所述终端设备的显示屏。
本发明实施例中提供了一种屏幕参数的配置方法及装置,该方法首先在终端设备启动时,获取预设在终端设备触摸框中的标准屏参信息,并获取主控制 系统配置文件中的目标屏参信息;之后当标准屏参信息不为空目标屏参信息为空时,将标准屏参信息覆写于主控制系统的配置文件中作为目标屏参信息;当标准屏参信息和目标屏参信息均不为空且信息相匹配时,在启动主控制系统时,根据目标屏参信息点亮终端设备的显示屏。利用该方法,无需在主控制系统编译阶段配置固定的屏参信息,实现了主控制系统对不同屏幕尺寸显示屏屏幕信息的动态配置,使得显示屏能够正常亮屏,由此提高了主控制系统与显示屏的兼容性,减少了系统开发人员的工作量,降低了人力资源的过多消耗。
附图说明
图1为本发明实施例一提供的一种屏幕参数的配置方法的流程示意图;
图2为本发明实施例二提供的一种屏幕参数的配置方法的流程示意图;
图3为本发明实施例三提供的一种屏幕参数的配置装置的结构框图。
具体实施方式
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。
实施例一
图1为本发明实施例一提供的一种屏幕参数的配置方法的流程示意图,该方法适用于对终端设备显示器所对应屏参信息进行配置的情况,该方法可以由屏幕参数的配置装置执行,其中该装置可由软件和/或硬件实现,并一般集成在 终端设备的主控制器上。
本实施例中的终端设备具体可指教学智能白板、会议智能平板等具有触摸功能的电子设备。对于终端设备而言,只有正常点亮显示屏才能正常进行后续工作,其中,显示屏的亮屏与否可以由终端设备中的主控制系统控制。具体地,在主控制系统启动时,主控制系统需要获取显示屏对应的屏参信息,并基于屏参信息来控制点亮显示屏。
现有技术中需要为不同尺寸的显示屏分别设计相应的主控制系统,由此降低了主控制系统与显示屏的兼容性,本发明实施例提供了一种新的屏幕参数的配置方法,以实现终端设备显示屏屏参信息的动态配置。
如图1所示,本发明实施例一提供的一种屏幕参数的配置方法,包括如下操作:
S101、终端设备启动时,获取预设在终端设备触摸框中的标准屏参信息,并获取主控制系统配置文件中的目标屏参信息。
在本实施例中,终端设备的触摸功能主要基于终端设备触摸框实现,且触摸框需要与终端设备的显示屏进行组装后才能实现其触摸功能。此外,可以理解的是,为了使终端设备显示屏上的各个位置都能进行触控,触摸框的尺寸大小一般与显示屏的尺寸大小相同。
在本实施例中,可以在终端设备启动时,获取终端设备触摸框中存储的标准屏参信息,同时还需要获取存储主控制系统配置文件中的目标屏参信息,以便于后续对屏幕点亮所需屏参信息的配置。
进一步地,所述标准屏参信息和目标屏参信息包括但不限制于:显示屏的型号、屏幕尺寸和屏幕分辨率。本实施例可以将显示屏的型号、屏幕尺寸和/或 屏幕分辨率确定为点亮显示屏所需的屏参信息,此外,本实施例也可以将显示屏的色彩参数以及屏幕位数等显示屏所具有的其他特征信息作为点亮显示屏的屏参信息,本实施不做过多限定。在本实施例中,标准屏参信息与目标屏参信息中记录的内容可以是相同型号、相同屏幕尺寸及屏幕分辨率的信息,还可以是不同型号、不同屏幕尺寸及屏幕分辨率的信息,也可以是空信息。
在本实施例中,获取标准屏参信息以及目标屏参信息后,可对所获取的信息进行确定,并可根据确定结果进行相应的操作,由此实现点亮显示屏所需屏参信息的配置。具体地,步骤S102以及步骤S103分别给出了两种不同确定结果时对应的配置操作。
进一步地,所述标准屏参信息在所述终端设备的触摸框和显示屏的组装过程中写入,并存放于所述终端设备触摸框的设定存储地址中。
在本实施例中,可优选地认为标准屏参信息的最初状态不为空,且可认为该标准屏参信息为与触摸框进行组装的显示屏所对应的屏参信息,其中,最初状态可理解为终端设备的出厂设置状态,该标准屏参信息具体可在触摸框与显示屏的组装过程中由相关技术人员写入,其写入的存储地址可认为是对终端设备触摸框的固件进行制作或升级时预留的空白存储区域。
S102、如果标准屏参信息不为空且目标屏参信息为空,则将标准屏参信息覆写于主控制系统的配置文件中作为目标屏参信息。
具体地,在确定标准屏参信息不为空且目标屏参信息为空时,可以用终端设备触摸框中的标准屏参信息覆盖主控制系统的配置文件中原有的屏参信息,并将标准屏参信息写入到主控制系统的配置文件中,以作为点亮显示屏所需的屏参信息,并记为目标屏参信息。
需要说明的是,本实施例可优选的认为目标屏参信息的最初状态为空,即,可认为终端设备出厂时其主控制系统的配置文件中不包含点亮屏幕所需的屏参信息。因此,本实施例中出现的标准屏参信息不为空且目标屏参信息为空的情况可相当于终端设备出厂后首次使用终端设备时的情况,而本步骤所进行的操作相当于将标准屏参信息作为点亮屏幕所需的屏参信息写入主控制系统的配置文件中。
S103、如果标准屏参信息和目标屏参信息均不为空且信息相匹配,则在启动主控制系统时,根据目标屏参信息点亮所述终端设备的显示屏。
本实施例中出现的标准屏参信息和目标屏参信息均不为空且信息相匹配的情况,可相当于终端设备之前已被使用过的情况,此时可认为已经基于步骤S102对终端设备进行过将标准屏参信息写入主控制系统配置文件中的操作。由此无需重复进行目标屏参信息的配置,可在主控制系统启动时直接根据目标屏参信息点亮终端设备的显示屏。
本发明实施例一提供的一种屏幕参数的配置方法,首先在终端设备启动时,获取预设在终端设备触摸框中的标准屏参信息,并获取主控制系统配置文件中的目标屏参信息;之后当标准屏参信息不为空目标屏参信息为空时,将标准屏参信息覆写于主控制系统的配置文件中作为目标屏参信息;当标准屏参信息和目标屏参信息均不为空且信息相匹配时,在启动主控制系统时,根据目标屏参信息点亮终端设备的显示屏。利用该方法,利用该方法,无需在主控制系统编译阶段配置固定的屏参信息,实现了主控制系统对不同屏幕尺寸显示屏屏幕信息的动态配置,使得显示屏能够正常亮屏,由此提高了主控制系统与显示屏的兼容性,减少了系统开发人员的工作量,降低了人力资源的过多消耗。
实施例二
图2为本发明实施例二提供的一种屏幕参数的配置方法的流程示意图。本发明实施例以上述实施例为基础进行优化,进一步地,本实施例将所述获取预设在终端设备触摸框中的标准屏参信息,具体优化为:向所述终端设备的微控制单元发送信息获取指令;接收微控制单元根据所述信息获取指令返回的终端设备触摸框中的标准屏参信息。
进一步地,本发明实施例还优化增加了:如果所述标准屏参信息和目标屏参信息均不为空且信息不匹配,则将所述标准屏参信息覆写于所述主控制系统的配置文件中作为更新后的目标屏参信息;如果所述目标屏参信息不为空且标准屏参信息为空,则在启动主控制系统时,根据所述目标屏参信息点亮所述终端设备的显示屏,并将所述目标屏参信息作为标准屏参信息写入所述终端设备触摸框的设定存储地址中。
如图2所示,本发明实施例二提供的一种屏幕参数的配置方法,具体包括如下操作:
S201、终端设备启动时,向终端设备的微控制单元发送信息获取指令。
本步骤中,微控制单元具体可指终端设备中所具有的一个控制器件。此外,终端设备中所具有的另一个控制器件时主控制器,可以确定的是,终端设备中的主控制器在终端设备启动过程中不能直接与终端设备触摸框进行信息交互,需要通过微控制单元进行信息交互;此外,还可以确定的是,本实施例所提供的屏幕参数的配置方法具体应用在主控制器上。
具体地,本实施例在终端设备启动时,可首先向微控制单元发送信息获取指令,其中,所述信息获取指令可理解为标准屏参信息获取所对应的获取指令。 可以理解的是,在微控制单元接收该信息获取指令后,可与终端设备触摸框建立通信,获取触摸框设定存储地址中的标准屏参信息;并可将所获取的标准屏参信息发送给终端设备的主控制器。
S202、接收微控制单元根据信息获取指令返回的终端设备触摸框中的标准屏参信息,并获取主控制系统配置文件中的目标屏参信息。
具体地,基于本步骤可接收到微控制单元返回的标准屏参信息,由此实现标准屏参信息的获取。此外,由于目标屏参信息直接存储于主控制系统的配置文件中,而主控制系统集成在主控制器上,因此,本步骤可以直接获取配置文件中的目标屏参信息。
在本实施例中,在获取标准屏参信息以及目标屏参信息后,可以对上述信息的具体内容进行分析确定,一般地,分析确定后的确定结果可以包括:标准屏参信息不为空目标屏参信息为空;或者标准屏参信息和目标屏参信息都不为空,但二者所具有的信息可能相匹配,也可能不匹配;又或者标准屏参信息为空而目标屏参信息不为空。其确定结果不同,对点亮显示屏的屏幕参数进行配置时的操作就不同,本实施例对上述确定结果提供了步骤S203~步骤S206的四种操作方式。
S203、如果标准屏参信息不为空且所述目标屏参信息为空,则将标准屏参信息覆写于所述主控制系统的配置文件中作为目标屏参信息。
示例性地,本实施例优选地认为终端设备在出厂时的目标屏参信息为空以及标准屏参信息为非空,由此可认为本步骤S203所描述的操作适用于终端设备出厂后首次使用时的情况。
S204、如果标准屏参信息和目标屏参信息均不为空且信息相匹配,则在启 动主控制系统时,根据目标屏参信息点亮所述终端设备的显示屏。
示例性地,本步骤S204所描述的操作,适用于终端设备已经正常使用过且后续没有对终端设备进行改动而再次使用时的情况。
S205、如果标准屏参信息和目标屏参信息均不为空且信息不匹配,则将所述标准屏参信息覆写于所述主控制系统的配置文件中作为更新后的目标屏参信息。
具体地,在确定标准屏参信息和目标屏参信息均不为空且信息不匹配时,本步骤仍以所记录的标准屏参信息为基准,可以将终端设备触摸框中标准屏参信息写入主控制系统的配置文件中,替换原有的目标屏参信息。
本实施例中出现的标准屏参信息和目标屏参信息均不为空且信息不匹配的情况,可相当于对终端设备的显示屏进行了改动而未对主控制器进行改动的情况,如采用了不同尺寸的显示屏替换终端设备原有的显示屏。由于终端设备触摸框与显示屏需要具有相同尺寸,则可认为在替换显示屏的同时也对触摸框进行了替换,由此可认为替换后的触摸框中的标准屏参信息才是与显示屏对应的屏参信息。
S206、如果目标屏参信息不为空且标准屏参信息为空,则在启动主控制系统时,根据目标屏参信息点亮终端设备的显示屏,并将目标屏参信息作为标准屏参信息写入终端设备触摸框的设定存储地址中。
具体地,在确定目标屏参信息不为空且标准屏参信息为空时,可认为标准屏参信息发生了改变,该情况可相当于仅更换了终端设备触摸框而未更换终端设备的其他器件,如触摸框发生损坏需要更替,且在将终端设备的显示屏与新的触摸框进行组装时没有进行标准屏参信息的写入操作。
此时,本实施例优选的以配置文件中的目标屏参信息为基准,可以在主控制系统启动时直接基于该目标屏参信息点亮终端设备的显示屏,而且,还可以将该目标屏参信息写入终端设备触摸框的设定存储地址中,对显示屏的屏参信息进行备份,以在出现上述其他确定结果时能够用到该标准屏参信息进行屏幕参数的配置。
本发明实施例二提供的一种屏幕参数的配置方法,具体化了标准屏参信息的获取过程,同时给出了标准屏参信息与目标屏参信息比对后所出现各种情况时的具体操作。利用该方法,通过对所获取标准屏参信息及目标屏参信息的比对,动态的配置用于点亮终端设备显示屏的屏参信息,由此提高了主控制系统与终端设备显示屏的兼容性,减少了系统开发人员的工作量,降低了人力资源的过多消耗。
实施例三
图3为本发明实施例三提供的一种屏幕参数的配置装置的结构框图。该装置适用于对终端设备显示器所对应屏参信息进行配置的情况,其中该装置可由软件和/或硬件实现,并一般集成在终端设备的主控制器上。如图3所示,该装置包括:信息获取模块31、第一配置模块32以及第二配置模块33。
其中,信息获取模块31,用于终端设备启动时,获取预设在终端设备触摸框中的标准屏参信息,并获取主控制系统配置文件中的目标屏参信息。
第一配置模块32,用于当所述标准屏参信息不为空且所述目标屏参信息为空时,将所述标准屏参信息覆写于所述主控制系统的配置文件中作为目标屏参信息。
第二配置模块33,用于当所述标准屏参信息和目标屏参信息均不为空且信息相匹配时,则在启动主控制系统时,根据所述目标屏参信息点亮所述终端设备的显示屏。
在本实施例中,首先通过信息获取模块31终端设备启动时,获取预设在终端设备触摸框中的标准屏参信息,并获取主控制系统配置文件中的目标屏参信息;之后当所述标准屏参信息不为空且所述目标屏参信息为空时,通过第一配置模块32将所述标准屏参信息覆写于所述主控制系统的配置文件中作为目标屏参信息;或者,当所述标准屏参信息和目标屏参信息均不为空且信息相匹配时,通过第二配置模块33在启动主控制系统时,根据所述目标屏参信息点亮所述终端设备的显示屏。
本发明实施例三提供的一种屏幕参数的配置装置,无需在主控制系统编译阶段配置固定的屏参信息,实现了主控制系统对不同屏幕尺寸显示屏屏幕信息的动态配置,使得显示屏能够正常亮屏,由此提高了主控制系统与显示屏的兼容性,减少了系统开发人员的工作量,降低了人力资源的过多消耗。
进一步地,所述信息获取模块31,具体用于,
终端设备启动时,向所述终端设备的微控制单元发送信息获取指令;
接收微控制单元根据所述信息获取指令返回的终端设备触摸框中的标准屏参信息,并获取主控制系统配置文件中的目标屏参信息。
在上述实施例的基础上,所述标准屏参信息在所述终端设备的触摸框和显示屏的组装过程中写入,并存放于所述终端设备触摸框的设定存储地址中。
进一步地,该装置,还优化包括了:
第三配置模块34,用于当所述标准屏参信息和目标屏参信息均不为空且信 息不匹配时,则将所述标准屏参信息覆写于所述主控制系统的配置文件中作为更新后的目标屏参信息;
第四配置模块35,用于当所述目标屏参信息不为空且标准屏参信息为空时,在启动主控制系统时,根据所述目标屏参信息点亮所述终端设备的显示屏,并将所述目标屏参信息作为标准屏参信息写入所述终端设备触摸框的设定存储地址中。
进一步地,所述标准屏参信息和目标屏参信息包括:显示屏的型号、屏幕尺寸和屏幕分辨率。
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。

Claims (10)

  1. 一种屏幕参数的配置方法,其特征在于,包括:
    终端设备启动时,获取预设在终端设备触摸框中的标准屏参信息,并获取主控制系统配置文件中的目标屏参信息;
    如果所述标准屏参信息不为空且所述目标屏参信息为空,则将所述标准屏参信息覆写于所述主控制系统的配置文件中作为目标屏参信息;
    如果所述标准屏参信息和目标屏参信息均不为空且信息相匹配,则在启动主控制系统时,根据所述目标屏参信息点亮所述终端设备的显示屏。
  2. 根据权利要求1所述的方法,其特征在于,所述获取预设在终端设备触摸框中的标准屏参信息,包括:
    向所述终端设备的微控制单元发送信息获取指令;
    接收微控制单元根据所述信息获取指令返回的终端设备触摸框中的标准屏参信息。
  3. 根据权利要求1或2所述的方法,其特征在于,所述标准屏参信息在所述终端设备的触摸框和显示屏的组装过程中写入,并存放于所述终端设备触摸框的设定存储地址中。
  4. 根据权利要求1所述的方法,其特征在于,还包括:
    如果所述标准屏参信息和目标屏参信息均不为空且信息不匹配,则将所述标准屏参信息覆写于所述主控制系统的配置文件中作为更新后的目标屏参信息;
    如果所述目标屏参信息不为空且标准屏参信息为空,则在启动主控制系统时,根据所述目标屏参信息点亮所述终端设备的显示屏,并将所述目标屏参信息作为标准屏参信息写入所述终端设备触摸框的设定存储地址中。
  5. 根据权利要求1所述的方法,其特征在于,所述标准屏参信息和目标屏参信息包括:显示屏的型号、屏幕尺寸和屏幕分辨率。
  6. 一种屏幕参数的配置装置,其特征在于,包括:
    信息获取模块,用于终端设备启动时,获取预设在终端设备触摸框中的标准屏参信息,并获取主控制系统配置文件中的目标屏参信息;
    第一配置模块,用于当所述标准屏参信息不为空且所述目标屏参信息为空时,将所述标准屏参信息覆写于所述主控制系统的配置文件中作为目标屏参信息;
    第二配置模块,用于当所述标准屏参信息和目标屏参信息均不为空且信息相匹配时,则在启动主控制系统时,根据所述目标屏参信息点亮所述终端设备的显示屏。
  7. 根据权利要求6所述的装置,其特征在于,所述信息获取模块,具体用于,
    终端设备启动时,向所述终端设备的微控制单元发送信息获取指令;
    接收微控制单元根据所述信息获取指令返回的终端设备触摸框中的标准屏参信息,并获取主控制系统配置文件中的目标屏参信息。
  8. 根据权利要求6或7所述的装置,其特征在于,所述标准屏参信息在所述终端设备的触摸框和显示屏的组装过程中写入,并存放于所述终端设备触摸框的设定存储地址中。
  9. 根据权利要求6所述的装置,其特征在于,还包括:
    第三配置模块,用于当所述标准屏参信息和目标屏参信息均不为空且信息不匹配时,则将所述标准屏参信息覆写于所述主控制系统的配置文件中作为更 新后的目标屏参信息;
    第四配置模块,用于当所述目标屏参信息不为空且标准屏参信息为空时,在启动主控制系统时,根据所述目标屏参信息点亮所述终端设备的显示屏,并将所述目标屏参信息作为标准屏参信息写入所述终端设备触摸框的设定存储地址中。
  10. 根据权利要求6所述的装置,其特征在于,所述标准屏参信息和目标屏参信息包括:显示屏的型号、屏幕尺寸和屏幕分辨率。
PCT/CN2017/103253 2017-06-05 2017-09-25 一种屏幕参数的配置方法及装置 WO2018223559A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710413607.6A CN107230445B (zh) 2017-06-05 2017-06-05 一种屏幕参数的配置方法及装置
CN201710413607.6 2017-06-05

Publications (1)

Publication Number Publication Date
WO2018223559A1 true WO2018223559A1 (zh) 2018-12-13

Family

ID=59935349

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/103253 WO2018223559A1 (zh) 2017-06-05 2017-09-25 一种屏幕参数的配置方法及装置

Country Status (2)

Country Link
CN (1) CN107230445B (zh)
WO (1) WO2018223559A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111417020B (zh) * 2019-01-04 2022-04-19 青岛海尔多媒体有限公司 电视软件安装方法和系统
CN111078176A (zh) * 2019-12-26 2020-04-28 惠州视维新技术有限公司 显示屏的点亮方法、显示装置及存储介质
CN111161668B (zh) * 2020-03-18 2023-03-28 深圳市亿晟科技有限公司 一种基于安卓系统广告机的显示驱动控制方法
CN112083902B (zh) * 2020-09-03 2023-12-19 深圳市智莱科技股份有限公司 储物柜的控制方法、储物柜及可读存储介质
CN112750408B (zh) * 2020-12-25 2022-04-12 厦门厦华科技有限公司 一种自动配置显示屏的方法、装置和系统
CN112748820A (zh) * 2020-12-25 2021-05-04 厦门厦华科技有限公司 触控显示屏的自动配置方法、显示控制模块和显示系统
WO2023010251A1 (zh) * 2021-08-02 2023-02-09 深圳Tcl新技术有限公司 显示控制方法、装置、电子设备及存储介质
CN116737243B (zh) * 2022-09-29 2024-04-16 荣耀终端有限公司 屏幕参数补丁升级方法及终端设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110070923A1 (en) * 2009-09-22 2011-03-24 Guo-Qiang Tang Handheld apparatus and method of examining and driving a detachable screen of a handheld apparatus
CN103399616A (zh) * 2013-07-02 2013-11-20 惠州Tcl移动通信有限公司 能改变显示区域的屏幕、移动终端、及其屏幕显示方法
CN105511790A (zh) * 2015-12-09 2016-04-20 上海斐讯数据通信技术有限公司 具有触摸屏的电子设备的触屏控制方法、系统及电子设备
CN105700748A (zh) * 2016-01-13 2016-06-22 北京京东尚科信息技术有限公司 一种触控处理的方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110070923A1 (en) * 2009-09-22 2011-03-24 Guo-Qiang Tang Handheld apparatus and method of examining and driving a detachable screen of a handheld apparatus
CN103399616A (zh) * 2013-07-02 2013-11-20 惠州Tcl移动通信有限公司 能改变显示区域的屏幕、移动终端、及其屏幕显示方法
CN105511790A (zh) * 2015-12-09 2016-04-20 上海斐讯数据通信技术有限公司 具有触摸屏的电子设备的触屏控制方法、系统及电子设备
CN105700748A (zh) * 2016-01-13 2016-06-22 北京京东尚科信息技术有限公司 一种触控处理的方法和装置

Also Published As

Publication number Publication date
CN107230445B (zh) 2019-11-29
CN107230445A (zh) 2017-10-03

Similar Documents

Publication Publication Date Title
WO2018223559A1 (zh) 一种屏幕参数的配置方法及装置
US11030025B2 (en) Managing inter-process communications in a containerized application environment
CN105426141A (zh) 信息处理方法及支持其的电子设备
US20090077551A1 (en) Virtual machine image builder for automated installation of fully-virtualized operating system
US20190196673A1 (en) Controlling a device using a radial graphical user interface
JP7346606B2 (ja) 画面共有処理方法、装置、機器及び記憶媒体
US20100251233A1 (en) Embedded computing system user interface emulated on a separate computing device
US20120311579A1 (en) System and method for updating virtual machine template
EP1408402A2 (en) Image copy to a second display
CN103761107B (zh) 软件包定制的装置及方法
JP2017534959A (ja) 端末機器においてスクリーンショットサービスを提供するための方法、装置、記憶媒体及び機器
KR102631745B1 (ko) 이종 운영체제의 실행을 제어하기 위한 방법, 이를 위한 전자 장치 및 저장 매체
TW201704994A (zh) 更新伺服器映像檔的技術
Chheda et al. Smart projectors using remote controlled Raspberry Pi
US9553761B2 (en) Dynamic server to server configuration and initialization
CN103793233B (zh) 一种基于uboot实现用户界面图形显示的方法
Boger et al. OSVR: An open-source virtual reality platform for both industry and academia
CN111083825B (zh) 一种灯效控制方法、装置、电子设备和存储介质
US20210004239A1 (en) Electronic apparatus and control method thereof
US20190045006A1 (en) Electronic distribution system and apparatus that displays a screen synchronized with a screen of another apparatus
JP6033394B2 (ja) プログラマブル表示器、そのプログラム
CN106873913B (zh) 一种嵌入式系统自适应不同flash进行分区的方法
CN105224295A (zh) 软件运行方法和装置
CN106888258A (zh) 一种服务器信息录入方法和系统
CN102970502A (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: 17912812

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17.06.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17912812

Country of ref document: EP

Kind code of ref document: A1