WO2018113420A1 - Method and system for set-top box to display fingerprint information, set-top box, and storage medium - Google Patents

Method and system for set-top box to display fingerprint information, set-top box, and storage medium Download PDF

Info

Publication number
WO2018113420A1
WO2018113420A1 PCT/CN2017/108858 CN2017108858W WO2018113420A1 WO 2018113420 A1 WO2018113420 A1 WO 2018113420A1 CN 2017108858 W CN2017108858 W CN 2017108858W WO 2018113420 A1 WO2018113420 A1 WO 2018113420A1
Authority
WO
WIPO (PCT)
Prior art keywords
height
top box
fingerprint
target
width
Prior art date
Application number
PCT/CN2017/108858
Other languages
French (fr)
Chinese (zh)
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 WO2018113420A1 publication Critical patent/WO2018113420A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/418External card to be used in combination with the client device, e.g. for conditional access
    • H04N21/4181External card to be used in combination with the client device, e.g. for conditional access for conditional access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/418External card to be used in combination with the client device, e.g. for conditional access
    • H04N21/4182External card to be used in combination with the client device, e.g. for conditional access for identification purposes, e.g. storing user identification data, preferences, personal settings or data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations

Definitions

  • the present invention relates to the field of intelligent terminal technologies, and in particular, to a method, a system, a set top box and a storage medium for displaying fingerprint information in a set top box.
  • the CA front-end puts forward higher requirements for fingerprint display, not only requires the ability to display fingerprint information, but also requires the set-top box to change the size of the screen occupied by the fingerprint according to the settings of the front-end, so that the set-top box displays according to the specified display percentage. .
  • the set-top box belongs to an embedded device, its memory and flash resources are limited.
  • the received fingerprint information is mainly displayed by configuring a dot matrix font. Since different sizes of dot matrix fonts have different widths and heights, different dot matrix fonts correspond to different display percentages.
  • the set-top box needs to configure the dot matrix font corresponding to the above-mentioned percentages to meet the display requirements, so that the following problems exist:
  • the set top box is configured with a plurality of dot matrix fonts corresponding to the plurality of display percentages, so that the memory and flash resources of the set top box are occupied, which increases the running load of the set top box hardware.
  • the technical problem to be solved by the present invention is to provide a method and a system for displaying fingerprint information of a set top box according to the deficiencies of the prior art, so as to solve the problem that the existing set top box needs to configure a plurality of dot matrix fonts when displaying the fingerprint information according to the specified display percentage.
  • the set-top box memory and flash resources are occupied, which causes an increase in the operating load of the set-top box hardware.
  • a method for a set top box to display fingerprint information comprising:
  • the set top box receives fingerprint information, wherein the fingerprint information includes fingerprint string data and a screen percentage;
  • the fingerprint string data is drawn on the display memory by using a default font to obtain a memory bitmap, and the original width and height of the memory bitmap are obtained;
  • the memory bitmap is enlarged to the target memory bitmap according to the original width and the target width, and the target memory bitmap is displayed on the screen.
  • the method for displaying the fingerprint information of the set top box wherein the determining the target width and height of the fingerprint window corresponding to the fingerprint information according to the percentage of the screen comprises:
  • the method for displaying the fingerprint information by the set top box wherein when the original width and height are less than a target width and height, the memory bitmap is enlarged to a target memory bitmap, and the target memory bitmap is displayed on the screen
  • the specifics include:
  • the first cache is enlarged to the second cache according to a bitmap enlargement algorithm to obtain a target memory bitmap, and the memory bitmap is displayed on the screen.
  • the method for displaying the fingerprint information by the set top box, wherein the determining, according to the target width and height of the fingerprint window, the second cache corresponding to the fingerprint window comprises:
  • Determining a second cache corresponding to the fingerprint window according to the number of pixels and the number of bytes occupied by each pixel.
  • the method for displaying the fingerprint information by the set top box further includes:
  • the memory bitmap is displayed on the screen when the original width is greater than or equal to the target width and/or the original height is greater than or equal to the target height.
  • a system for displaying fingerprint information by a set top box comprising:
  • a receiving module configured to receive fingerprint information, where the fingerprint information includes fingerprint string data and a screen percentage;
  • a drawing module configured to draw the fingerprint string data on the display memory by using a default font to obtain a memory bitmap, and obtain an original width and height of the memory bitmap;
  • a comparison module configured to determine a target width and height of the fingerprint window corresponding to the fingerprint information according to the screen percentage, and compare the original width and height with a target width and height;
  • An amplifying module configured to: when the original width and height are less than a target width and height, enlarge the memory bitmap to a target memory bitmap according to the original width and height and a target width and height, and map the target memory bitmap Displayed on the screen.
  • the system for displaying the fingerprint information of the set top box, wherein the determining the target width and height of the fingerprint window corresponding to the fingerprint information according to the percentage of the screen comprises:
  • the system for displaying the fingerprint information of the set top box wherein the amplifying module specifically includes:
  • a first calculating unit configured to determine, according to an original width and height of the memory bitmap, a first cache corresponding to the memory bitmap
  • a second calculating unit configured to determine a second cache corresponding to the fingerprint window according to a target width and height of the fingerprint window
  • an amplifying unit configured to enlarge the first buffer to the second cache according to a bitmap enlargement algorithm to obtain a target memory bitmap, and display the target memory bitmap on the screen.
  • the system for displaying the fingerprint information of the set top box where the second acquiring unit specifically includes:
  • a first calculating subunit configured to determine a number of bytes occupied by each pixel according to a resolution of the set top box native
  • a second calculating subunit configured to determine, according to the target width and height, a number of pixels included in a display area corresponding to the fingerprint window;
  • a third calculating subunit configured to determine a second cache corresponding to the fingerprint window according to the number of pixels and the number of bytes occupied by each pixel.
  • the set top box displays a fingerprint information system, which further includes:
  • a display module configured to display the memory bitmap on the screen when the original width is greater than or equal to the target width and/or the original height is greater than or equal to the target height.
  • a set top box comprising: a memory, a processor, and a program stored on the memory and operable by the set top box running on the processor to display fingerprint information, the program for displaying the fingerprint information by the set top box is used by the processor
  • a computer readable storage medium is applied to a set top box, wherein the computer readable storage medium stores a program for displaying an organic top box to display fingerprint information, and the set top box displays a fingerprint information when the program is executed by the processor to implement the set top box display fingerprint as described above The steps of the method of information.
  • the present invention provides a method and system for displaying fingerprint information in a set top box, the method comprising: receiving, by the set top box, fingerprint information, wherein the fingerprint information includes fingerprint string data and a screen percentage; Extracting the fingerprint string data into a memory bitmap by using a default font to obtain a memory bitmap, and acquiring an original width and height of the memory bitmap; determining a target width and height of the fingerprint window corresponding to the fingerprint information according to the screen percentage And comparing the original width and height with the target width and height; when the original width and height are less than the target width and height, the memory bitmap is enlarged to the target memory according to the original width and the target width and height Figure and display the target memory bitmap on the screen.
  • the invention enlarges the original width and height of the fingerprint string data to the target width and height corresponding to the specified percentage data, so that the set top box displays the fingerprint information according to the specified display percentage, thereby saving the memory resource of the set top box and reducing the running load of the hardware. .
  • FIG. 1 is a flow chart of a preferred implementation of a method for displaying fingerprint information of a set top box according to the present invention.
  • FIG. 2 is a schematic structural diagram of a set top box display fingerprint information system provided by the present invention.
  • FIG. 3 is a schematic structural diagram of a set top box in a hardware operating environment according to an embodiment of the present invention.
  • the present invention provides a method and a system for displaying fingerprint information in a set top box.
  • the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
  • modules, “components” or “unit” for indicating an element is merely an explanation for facilitating the present invention, and does not have a specific meaning per se.
  • modules, “components” or “units” can be used in combination.
  • FIG. 1 is a flowchart of a preferred embodiment of a method for displaying fingerprint information of a set top box according to the present invention. The method includes:
  • the set top box receives fingerprint information, where the fingerprint information includes fingerprint string data and a screen percentage.
  • the fingerprint information is that the front-end video server corresponding to the set-top box insertion CA card sends the video to the set-top box through the distribution network, and the fingerprint information is embedded in the video to form a fingerprint video when the user plays the video.
  • the fingerprint information includes fingerprint string data and a screen percentage.
  • the fingerprint string data may be a smart card (CA card) card number configured by the set top box. Since the CA cards of different set top boxes are different, the CA card number is unique information owned by the set top box ( Known as fingerprint string data), the set-top box embeds these unique information into the video to form a fingerprint video, and then plays it to the user, so that the fingerprint video played by different users is also different. When piracy occurs, it can be included according to the video. The fingerprint string data ultimately determines the source of piracy, thereby protecting the copyright of digital video.
  • the fingerprint string data may occupy one row or one column of the display screen and may be displayed on one side of the screen without affecting the video content.
  • the fingerprint string data is displayed on the top, bottom, left or right side of the display screen, and the like.
  • the screen percentage is pre-set by the CA manufacturer and stored in the front-end server.
  • the screen percentage is embedded in the fingerprint information, so that the set-top box can determine the corresponding screen percentage when receiving the fingerprint information.
  • the percentage of the screen is a value indicating the percentage of the display area occupied by the fingerprint information and the preset canvas of the set top box. That is, the screen percentage is a zoom factor of the display area to be occupied and the preset canvas, and the display area to be occupied may be determined by scaling the preset canvas according to the screen percentage. In practical applications, the percentage is the percentage of the width/height of the display area to be occupied and the width/height of the preset set canvas of the set top box.
  • the width and height of the display area that the fingerprint information needs to occupy may be determined.
  • the screen percentage is 30%
  • the canvas width is defined as screen_w, screen_h
  • the width and height of the display area occupied by the fingerprint information defines window_w and window_h
  • the window_w screen_w*30%
  • window_h screen_h*30%.
  • S200 The fingerprint string data is drawn on the display memory by using a default font to obtain a memory bitmap, and the original width and height of the memory bitmap are obtained;
  • the using the default font to draw the fingerprint string data on the display memory to obtain a memory bitmap means that when the fingerprint information is received, the fingerprint string data is displayed in the set top box by using a default font, and The drawn fingerprint string data is stored in the set top box cache.
  • the fingerprint string data drawn in the default font in the set top box cache is a memory bitmap. After obtaining the memory bitmap, the width and height of the display area occupied by the memory bitmap can be obtained, and the original width and height of the memory bitmap are recorded.
  • the default font is a pre-stored font of the set top box and is set to the default font. That is to say, when the set top box receives the fingerprint information, the default font is used to draw the fingerprint string data carried by the fingerprint information.
  • the default font may be Song, Song, and Scorpion.
  • the fingerprint string data is drawn using the changed font.
  • S300 Determine a target width and height of the fingerprint window corresponding to the fingerprint information according to the screen percentage, and compare the original width and height with a target width and height.
  • the target width and height refers to the width and height at which the front end sets the fingerprint information display.
  • the target width and height are determined based on the percentage of the screen and the resolution of the set top box.
  • the set top box resolution refers to the current adaptation resolution parameter of the set top box.
  • the set top box can support multiple resolutions, such as 1080P, 1080I, 720P, 480P, etc.; thus, the current adaptive resolution parameter of the set top box may be the resolution of the set top box according to the video content corresponding to the fingerprint information. Determine the resolution of the adaptation.
  • the determining the target width and height of the fingerprint window corresponding to the fingerprint information according to the percentage of the screen, and comparing the original width and height with the target width and height may specifically include:
  • the reading the preset resolution of the set top box refers to reading the current adaptive resolution parameter of the set top box, that is, obtaining the width and height of the set top box canvas.
  • the width and height of the fingerprint window for displaying the fingerprint information are calculated according to the percentage of the screen and the width and height of the screen, and are recorded as the target width and height.
  • the current adaptation resolution of the set top box is 1080P
  • the width and height of the set top box canvas are 1920 pixels and 1080 pixels, respectively.
  • the target width and height are 192 pixels and 108 pixels, respectively.
  • comparing the original width and height with the target width and height refers to comparing the original width of the memory bitmap with the width of the fingerprint window, and comparing the original height of the memory bitmap with the height of the fingerprint window.
  • the original width and height are smaller than the target width and height, that is, the original width of the memory bitmap is smaller than the width of the fingerprint window, and the original height of the memory bitmap is smaller than the fingerprint window; that is, the memory bitmap can be displayed on The fingerprint window does not fill the fingerprint window.
  • Enlarging the memory bitmap to the target memory bitmap according to the original width and the target width and height refers to amplifying the memory bitmap to a target memory, and the target memory has a width and height as the target The width is high such that the target memory can be embedded in the fingerprint window and fill the fingerprint window such that the fingerprint string data is displayed in percentage of the screen, that is, the fingerprint information is displayed in percentage of the screen.
  • the memory bitmap is enlarged to a target memory bitmap according to the original width and the target width, and the target memory bit is
  • the figure display on the screen can specifically include:
  • S401 Determine a first cache corresponding to the memory bitmap according to an original width and height of the memory bitmap.
  • the memory bitmap of the first cache refers to the size of the set-top box cache space, that is, the memory bitmap needs to occupy the cache size corresponding to the display area, and is recorded as buffer_src, and the cache size is equal to the memory bitmap.
  • S402. Determine a second cache corresponding to the fingerprint window according to a target width and height of the fingerprint window.
  • the determining, according to the target width and height of the fingerprint window, the second cache corresponding to the fingerprint window comprises:
  • S4022 Determine, according to the target width and height, a number of pixels included in a display area corresponding to the fingerprint window;
  • the amplifying the first buffer to the second cache according to the bitmap algorithm refers to amplifying the first memory bitmap, and amplifying the original width and height to a target width and height, so that the amplification is obtained.
  • the cache occupied by the target memory bitmap is the second cache. That is to say, the first cache is used as the input data of the bitmap enlargement algorithm, and the second cache is used as the output data of the bitmap enlargement algorithm to realize the enlargement from the memory bitmap to the target memory bitmap.
  • the bitmap enlargement algorithm is an image enlargement method, such as a bitmap enlargement algorithm used in a word document by pressing ctrl+mouse pulley enlargement, or a bitmap enlargement algorithm used by a photo on a mobile phone to enlarge it by hand. Wait.
  • the bitmap amplification algorithm is common knowledge in the art and will not be described in detail herein.
  • the method for displaying the fingerprint information by the set top box further includes:
  • S500 Display the memory bitmap on the screen when the original width is greater than or equal to the target width and/or the original height is greater than or equal to the target height.
  • the original width is greater than or equal to the target width and/or the original height is greater than or equal to the target height.
  • the display area occupied by the memory bitmap cannot be embedded in the fingerprint window. In this case, in order to avoid incomplete display of the fingerprint information, The width and height of the memory bitmap are set to the width and height of the fingerprint window, and the memory bitmap is displayed on the screen.
  • the present invention also provides a system for displaying fingerprint information of a set top box, as shown in FIG. 2, which includes:
  • the receiving module 100 is configured to receive fingerprint information, where the fingerprint information includes fingerprint string data and a screen percentage;
  • the drawing module 200 is configured to draw the fingerprint string data on the display memory by using a default font to obtain a memory bitmap, and obtain an original width and height of the memory bitmap;
  • the comparison module 300 is configured to determine a target width and height of the fingerprint window corresponding to the fingerprint information according to the screen percentage, and compare the original width and height with a target width and height;
  • the amplification module 400 is configured to enlarge the memory bitmap to a target memory bitmap according to the original width and the target width and height, and when the original width and height are less than a target width and height, and the target memory bit The figure is shown on the screen.
  • the system for displaying the fingerprint information of the set top box, wherein the determining the target width and height of the fingerprint window corresponding to the fingerprint information according to the percentage of the screen comprises:
  • the system for displaying the fingerprint information of the set top box wherein the amplifying module specifically includes:
  • a first calculating unit configured to determine, according to an original width and height of the memory bitmap, a first cache corresponding to the memory bitmap
  • a second calculating unit configured to determine a second cache corresponding to the fingerprint window according to a target width and height of the fingerprint window
  • an amplifying unit configured to enlarge the first buffer to the second cache according to a bitmap enlargement algorithm to obtain a target memory bitmap, and display the target memory bitmap on the screen.
  • the system for displaying the fingerprint information of the set top box where the second acquiring unit specifically includes:
  • a first calculating subunit configured to determine a number of bytes occupied by each pixel according to a resolution of the set top box native
  • a second calculating subunit configured to determine, according to the target width and height, a number of pixels included in a display area corresponding to the fingerprint window;
  • a third calculating subunit configured to determine a second cache corresponding to the fingerprint window according to the number of pixels and the number of bytes occupied by each pixel.
  • the set top box displays a fingerprint information system, which further includes:
  • a display module configured to display the memory bitmap on the screen when the original width is greater than or equal to the target width and/or the original height is greater than or equal to the target height.
  • FIG. 3 is a schematic structural diagram of a set top box in a hardware operating environment according to an embodiment of the present invention.
  • the set top box of the embodiment of the present invention may include a processor 1001, such as a CPU, and a memory 1002. Connection communication between these components can be achieved via a communication bus.
  • the memory 1002 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
  • the memory 1002 can also optionally be a storage device independent of the aforementioned processor 1001.
  • the set top box may also include a user interface, a network interface, a camera, and an RF (Radio) Frequency, RF) circuits, sensors, audio circuits, WiFi modules, and more.
  • the user interface may include a display, an input unit such as a keyboard, and the optional user interface may also include a standard wired interface, a wireless interface.
  • the network interface can optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
  • set top box structure illustrated in FIG. 3 does not constitute a definition of a set top box, and may include more or fewer components than those illustrated, or some components may be combined, or different component arrangements.
  • a memory 1002 as a computer storage medium may include an operating system and a program for the set top box to display fingerprint information.
  • the operating system is a program for managing and controlling the hardware and software resources of the set-top box, and supports the operation of the program for displaying the fingerprint information of the set-top box and other software or programs.
  • the processor 1001 can be used to execute a program for displaying the fingerprint information of the set top box stored in the memory 1002 to implement the following steps:
  • the set top box receives fingerprint information, wherein the fingerprint information includes fingerprint string data and a screen percentage;
  • the fingerprint string data is drawn on the display memory by using a default font to obtain a memory bitmap, and the original width and height of the memory bitmap are obtained;
  • the memory bitmap is enlarged to the target memory bitmap according to the original width and the target width, and the target memory bitmap is displayed on the screen.
  • processor 1001 may further execute a program for displaying the fingerprint information of the set top box stored in the memory 1002 to implement the following steps:
  • processor 1001 may further execute a program for displaying the fingerprint information of the set top box stored in the memory 1002 to implement the following steps:
  • the first cache is enlarged to the second cache according to a bitmap enlargement algorithm to obtain a target memory bitmap, and the target memory bitmap is displayed on the screen.
  • processor 1001 may further execute a program for displaying the fingerprint information of the set top box stored in the memory 1002 to implement the following steps:
  • Determining a second cache corresponding to the fingerprint window according to the number of pixels and the number of bytes occupied by each pixel.
  • processor 1001 may further execute a program for displaying the fingerprint information of the set top box stored in the memory 1002 to implement the following steps:
  • the memory bitmap is displayed on the screen when the original width is greater than or equal to the target width and/or the original height is greater than or equal to the target height.
  • the specific embodiment of the set top box of the present invention is substantially the same as the method and system for displaying the fingerprint information of the set top box, and details are not described herein.
  • the present invention also provides a computer readable storage medium on which a program for displaying fingerprint information of an organic set top box is stored.
  • a program for displaying the fingerprint information of the set top box is stored on the computer readable storage medium.
  • the set top box receives fingerprint information, wherein the fingerprint information includes fingerprint string data and a screen percentage;
  • the fingerprint string data is drawn on the display memory by using a default font to obtain a memory bitmap, and the original width and height of the memory bitmap are obtained;
  • the memory bitmap is enlarged to the target memory bitmap according to the original width and the target width, and the target memory bitmap is displayed on the screen.
  • the first cache is enlarged to the second cache according to a bitmap enlargement algorithm to obtain a target memory bitmap, and the target memory bitmap is displayed on the screen.
  • Determining a second cache corresponding to the fingerprint window according to the number of pixels and the number of bytes occupied by each pixel.
  • the memory bitmap is displayed on the screen when the original width is greater than or equal to the target width and/or the original height is greater than or equal to the target height.
  • the specific embodiment of the computer readable storage medium of the present invention is substantially the same as the method and system for displaying the fingerprint information of the set top box, and is not described herein.
  • the disclosed systems and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the above software functional unit is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform the methods of the various embodiments of the present invention. Part of the steps.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, and a read only memory (Read-Only) Memory, ROM, random access memory (RAM), disk or optical disc, and other media that can store program code.

Abstract

Disclosed are a method and a system for a set-top box to display fingerprint information, a set-top box and a storage medium. The method comprises: a set-top box receiving fingerprint information, wherein the fingerprint information comprises fingerprint character string data and a screen percentage; using a default font to draw the fingerprint character string data on a video memory to obtain a memory bitmap, and acquiring an original width and height of the memory bitmap; determining a target width and height of a fingerprint window corresponding to the fingerprint information according to the screen percentage, and comparing the original width and height with the target width and height; and when the original width and height are both smaller than the target width and height, amplifying the memory bitmap to a target memory bitmap according to the original width and height and the target width and height, and displaying the target memory bitmap on a screen. In the present invention, by means of amplifying an original width and height of fingerprint character string data to a target width and height corresponding to specified percentage data, a set-top box displays fingerprint information according to a specified display percentage, so as to save on memory resources.

Description

机顶盒显示指纹信息的方法、系统、机顶盒及存储介质  Method, system, set top box and storage medium for displaying fingerprint information in set top box
技术领域Technical field
本发明涉及智能终端技术领域,特别涉及一种机顶盒显示指纹信息的方法、系统、机顶盒及存储介质。The present invention relates to the field of intelligent terminal technologies, and in particular, to a method, a system, a set top box and a storage medium for displaying fingerprint information in a set top box.
背景技术Background technique
随着CA技术的发展,CA前端对指纹显示提出更高的要求,不仅要求能够显示指纹信息,还要求机顶盒根据前端的设置来改变指纹占用屏幕区域的大小,使得机顶盒按照指定的显示百分比进行显示。然而,由于机顶盒属于嵌入式设备,其内存和flash资源有限,目前主要通过配置点阵字库来显示接收的指纹信息。由于不同大小的点阵字库的宽度和高度不同,因而不同的点阵字库对应不同的显示百分比。当CA文档要求几种不同的显示百分比时,机顶盒需要配置与所述几种百分比相对应的点阵字库才能满足显示要求,这样存在以下问题:With the development of CA technology, the CA front-end puts forward higher requirements for fingerprint display, not only requires the ability to display fingerprint information, but also requires the set-top box to change the size of the screen occupied by the fingerprint according to the settings of the front-end, so that the set-top box displays according to the specified display percentage. . However, since the set-top box belongs to an embedded device, its memory and flash resources are limited. At present, the received fingerprint information is mainly displayed by configuring a dot matrix font. Since different sizes of dot matrix fonts have different widths and heights, different dot matrix fonts correspond to different display percentages. When the CA document requires several different display percentages, the set-top box needs to configure the dot matrix font corresponding to the above-mentioned percentages to meet the display requirements, so that the following problems exist:
(1)、机顶盒配置与所述多个显示百分比相对应的多个点阵字库,导致机顶盒的内存和flash资源被占用,增加了机顶盒硬件的运行负荷。(1) The set top box is configured with a plurality of dot matrix fonts corresponding to the plurality of display percentages, so that the memory and flash resources of the set top box are occupied, which increases the running load of the set top box hardware.
(2)、不同的CA厂商可能有不同的指纹显示百分比规范,使用机顶盒默认的几种字库可能无法满足要求,因而还必须单独准备字库,这样不方便机顶盒的维护,并且延长了机顶盒开发周期。(2) Different CA manufacturers may have different fingerprint display percentage specifications. The default fonts of the set-top box may not meet the requirements. Therefore, the font library must be separately prepared, which is inconvenient for the maintenance of the set-top box and extends the development cycle of the set-top box.
因而现有技术还有待改进和提高。Therefore, the prior art has yet to be improved and improved.
发明内容Summary of the invention
本发明要解决的技术问题在于,针对现有技术的不足,提供一种机顶盒显示指纹信息方法及系统,以解决现有机顶盒在按照指定的显示百分比显示指纹信息时需配置多种点阵字库,而导致机顶盒内存和flash资源被占用,使得机顶盒硬件的运行负荷增加的问题。 The technical problem to be solved by the present invention is to provide a method and a system for displaying fingerprint information of a set top box according to the deficiencies of the prior art, so as to solve the problem that the existing set top box needs to configure a plurality of dot matrix fonts when displaying the fingerprint information according to the specified display percentage. As a result, the set-top box memory and flash resources are occupied, which causes an increase in the operating load of the set-top box hardware.
为了解决上述技术问题,本发明所采用的技术方案如下:In order to solve the above technical problem, the technical solution adopted by the present invention is as follows:
一种机顶盒显示指纹信息的方法,其包括:A method for a set top box to display fingerprint information, comprising:
机顶盒接收指纹信息,其中,所述指纹信息包括指纹字符串数据和屏幕百分比;The set top box receives fingerprint information, wherein the fingerprint information includes fingerprint string data and a screen percentage;
采用默认字体将所述指纹字符串数据绘制于显存上得到一内存位图,并获取所述内存位图的原始宽高;The fingerprint string data is drawn on the display memory by using a default font to obtain a memory bitmap, and the original width and height of the memory bitmap are obtained;
根据所述屏幕百分比确定所述指纹信息对应的指纹窗口的目标宽高,并将所述原始宽高与目标宽高进行比较;Determining, according to the percentage of the screen, a target width and height of the fingerprint window corresponding to the fingerprint information, and comparing the original width and height with a target width and height;
当所述原始宽高均小于目标宽高时,根据所述原始宽高及目标宽高,将所述内存位图放大至目标内存位图,并将所述目标内存位图显示在屏幕上。When the original width and height are less than the target width and height, the memory bitmap is enlarged to the target memory bitmap according to the original width and the target width, and the target memory bitmap is displayed on the screen.
所述机顶盒显示指纹信息的方法,其中,所述根据所述屏幕百分比确定所述指纹信息对应的指纹窗口的目标宽高具体包括:The method for displaying the fingerprint information of the set top box, wherein the determining the target width and height of the fingerprint window corresponding to the fingerprint information according to the percentage of the screen comprises:
读取所述机顶盒本机预设的分辨率;Reading the preset resolution of the set top box of the local machine;
根据所述分辨率以及屏幕百分比计算所述指纹信息对应的指纹窗口的目标宽高。Calculating a target width and height of the fingerprint window corresponding to the fingerprint information according to the resolution and the screen percentage.
所述机顶盒显示指纹信息的方法,其中,所述当所述原始宽高均小于目标宽高时,将所述内存位图放大至目标内存位图,并将所述目标内存位图显示在屏幕上具体包括:The method for displaying the fingerprint information by the set top box, wherein when the original width and height are less than a target width and height, the memory bitmap is enlarged to a target memory bitmap, and the target memory bitmap is displayed on the screen The specifics include:
根据所述内存位图的原始宽高确定所述内存位图对应的第一缓存;Determining, according to an original width and height of the memory bitmap, a first cache corresponding to the memory bitmap;
根据所述指纹窗口的目标宽高确定所述指纹窗口对应的第二缓存;Determining, according to a target width and height of the fingerprint window, a second cache corresponding to the fingerprint window;
根据位图放大算法将所述第一缓存放大至所述第二缓存以得到目标内存位图,并将所述内存位图显示在屏幕上。The first cache is enlarged to the second cache according to a bitmap enlargement algorithm to obtain a target memory bitmap, and the memory bitmap is displayed on the screen.
所述机顶盒显示指纹信息的方法,其中,所述根据所述指纹窗口的目标宽高确定所述指纹窗口对应的第二缓存具体包括:The method for displaying the fingerprint information by the set top box, wherein the determining, according to the target width and height of the fingerprint window, the second cache corresponding to the fingerprint window comprises:
根据机顶盒本机的分辨率确定每个像素占用的字节数;Determine the number of bytes occupied by each pixel according to the resolution of the set-top box;
根据所述目标宽高确定所述指纹窗口对应的显示区域包含的像素个数;Determining, according to the target width and height, a number of pixels included in a display area corresponding to the fingerprint window;
根据所述像素个数以及每个像素占用的字节数确定所述指纹窗口对应的第二缓存。Determining a second cache corresponding to the fingerprint window according to the number of pixels and the number of bytes occupied by each pixel.
所述机顶盒显示指纹信息的方法,其还包括:The method for displaying the fingerprint information by the set top box further includes:
当所述原始宽大于等于目标宽和/或原始高大于等于目标高时,将所述内存位图显示在屏幕上。The memory bitmap is displayed on the screen when the original width is greater than or equal to the target width and/or the original height is greater than or equal to the target height.
一种机顶盒显示指纹信息的系统,其包括:A system for displaying fingerprint information by a set top box, comprising:
接收模块,用于接收指纹信息,其中,所述指纹信息包括指纹字符串数据和屏幕百分比;a receiving module, configured to receive fingerprint information, where the fingerprint information includes fingerprint string data and a screen percentage;
绘制模块,用于采用默认字体将所述指纹字符串数据绘制于显存上得到一内存位图,并获取所述内存位图的原始宽高;a drawing module, configured to draw the fingerprint string data on the display memory by using a default font to obtain a memory bitmap, and obtain an original width and height of the memory bitmap;
比较模块,用于根据所述屏幕百分比确定所述指纹信息对应的指纹窗口的目标宽高,并将所述原始宽高与目标宽高进行比较;a comparison module, configured to determine a target width and height of the fingerprint window corresponding to the fingerprint information according to the screen percentage, and compare the original width and height with a target width and height;
放大模块,用于当所述原始宽高均小于目标宽高时,根据所述原始宽高及目标宽高,将所述内存位图放大至目标内存位图,并将所述目标内存位图显示在屏幕上。An amplifying module, configured to: when the original width and height are less than a target width and height, enlarge the memory bitmap to a target memory bitmap according to the original width and height and a target width and height, and map the target memory bitmap Displayed on the screen.
所述机顶盒显示指纹信息的系统,其中,所述根据所述屏幕百分比确定所述指纹信息对应的指纹窗口的目标宽高具体包括:The system for displaying the fingerprint information of the set top box, wherein the determining the target width and height of the fingerprint window corresponding to the fingerprint information according to the percentage of the screen comprises:
读取所述机顶盒本机预设的分辨率;Reading the preset resolution of the set top box of the local machine;
根据所述分辨率以及屏幕百分比计算所述指纹信息对应的指纹窗口的目标宽高。Calculating a target width and height of the fingerprint window corresponding to the fingerprint information according to the resolution and the screen percentage.
所述机顶盒显示指纹信息的系统,其中,所述放大模块具体包括:The system for displaying the fingerprint information of the set top box, wherein the amplifying module specifically includes:
第一计算单元,用于根据所述内存位图的原始宽高确定所述内存位图对应的第一缓存;a first calculating unit, configured to determine, according to an original width and height of the memory bitmap, a first cache corresponding to the memory bitmap;
第二计算单元,用于根据所述指纹窗口的目标宽高确定所述指纹窗口对应的第二缓存;a second calculating unit, configured to determine a second cache corresponding to the fingerprint window according to a target width and height of the fingerprint window;
放大单元,用于根据位图放大算法将所述第一缓存放大至所述第二缓存以得到目标内存位图,并将所述目标内存位图显示在屏幕上。And an amplifying unit, configured to enlarge the first buffer to the second cache according to a bitmap enlargement algorithm to obtain a target memory bitmap, and display the target memory bitmap on the screen.
所述机顶盒显示指纹信息的系统,其中,所述第二获取单元具体包括:The system for displaying the fingerprint information of the set top box, where the second acquiring unit specifically includes:
第一计算子单元,用于根据机顶盒本机的分辨率确定每个像素占用的字节数;a first calculating subunit, configured to determine a number of bytes occupied by each pixel according to a resolution of the set top box native;
第二计算子单元,用于根据所述目标宽高确定所述指纹窗口对应的显示区域包含的像素个数;a second calculating subunit, configured to determine, according to the target width and height, a number of pixels included in a display area corresponding to the fingerprint window;
第三计算子单元,用于根据所述像素个数以及每个像素占用的字节数确定所述指纹窗口对应的第二缓存。a third calculating subunit, configured to determine a second cache corresponding to the fingerprint window according to the number of pixels and the number of bytes occupied by each pixel.
所述机顶盒显示指纹信息的系统,其还包括:The set top box displays a fingerprint information system, which further includes:
显示模块,用于当所述原始宽大于等于目标宽和/或原始高大于等于目标高时,将所述内存位图显示在屏幕上。And a display module, configured to display the memory bitmap on the screen when the original width is greater than or equal to the target width and/or the original height is greater than or equal to the target height.
一种机顶盒,所述机顶盒包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的机顶盒显示指纹信息的程序,所述机顶盒显示指纹信息的程序被所述处理器执行时实现如上所述的机顶盒显示指纹信息的方法的步骤。A set top box, the set top box comprising: a memory, a processor, and a program stored on the memory and operable by the set top box running on the processor to display fingerprint information, the program for displaying the fingerprint information by the set top box is used by the processor The step of implementing the method of displaying fingerprint information of the set top box as described above at the time of execution.
一种计算机可读存储介质,应用于机顶盒,所述计算机可读存储介质上存储有机顶盒显示指纹信息的程序,所述机顶盒显示指纹信息的程序被处理器执行时实现如上所述的机顶盒显示指纹信息的方法的步骤。A computer readable storage medium is applied to a set top box, wherein the computer readable storage medium stores a program for displaying an organic top box to display fingerprint information, and the set top box displays a fingerprint information when the program is executed by the processor to implement the set top box display fingerprint as described above The steps of the method of information.
有益效果:与现有技术相比,本发明提供了一种机顶盒显示指纹信息的方法及系统,所述方法包括:机顶盒接收指纹信息,其中,所述指纹信息包括指纹字符串数据和屏幕百分比;采用默认字体将所述指纹字符串数据绘制于显存上得到一内存位图,并获取所述内存位图的原始宽高;根据所述屏幕百分比确定所述指纹信息对应的指纹窗口的目标宽高,并将所述原始宽高与目标宽高进行比较;当所述原始宽高均小于目标宽高时,根据所述原始宽高及目标宽高,将所述内存位图放大至目标内存位图,并将所述目标内存位图显示在屏幕上。本发明通过将指纹字符串数据的原始宽高放大至与指定百分比数据相对应的目标宽高,使得机顶盒按照指定的显示百分比显示指纹信息,节省了机顶盒的内存资源,减小了硬件的运行负荷。Advantageous Effects: Compared with the prior art, the present invention provides a method and system for displaying fingerprint information in a set top box, the method comprising: receiving, by the set top box, fingerprint information, wherein the fingerprint information includes fingerprint string data and a screen percentage; Extracting the fingerprint string data into a memory bitmap by using a default font to obtain a memory bitmap, and acquiring an original width and height of the memory bitmap; determining a target width and height of the fingerprint window corresponding to the fingerprint information according to the screen percentage And comparing the original width and height with the target width and height; when the original width and height are less than the target width and height, the memory bitmap is enlarged to the target memory according to the original width and the target width and height Figure and display the target memory bitmap on the screen. The invention enlarges the original width and height of the fingerprint string data to the target width and height corresponding to the specified percentage data, so that the set top box displays the fingerprint information according to the specified display percentage, thereby saving the memory resource of the set top box and reducing the running load of the hardware. .
附图说明DRAWINGS
图1为本发明提供的机顶盒显示指纹信息方法较佳实施的流程图。FIG. 1 is a flow chart of a preferred implementation of a method for displaying fingerprint information of a set top box according to the present invention.
图2为本发明提供的机顶盒显示指纹信息系统的结构原理图。2 is a schematic structural diagram of a set top box display fingerprint information system provided by the present invention.
图3是本发明实施例方案涉及的硬件运行环境的机顶盒的结构示意图。FIG. 3 is a schematic structural diagram of a set top box in a hardware operating environment according to an embodiment of the present invention.
具体实施方式detailed description
本发明提供一种机顶盒显示指纹信息的方法及系统,为使本发明的目的、技术方案及效果更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。The present invention provides a method and a system for displaying fingerprint information in a set top box. The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身并没有特定的意义。因此,模块”、“部件”或“单元”可以混合地使用。In the present invention, the use of suffixes such as "module", "component" or "unit" for indicating an element is merely an explanation for facilitating the present invention, and does not have a specific meaning per se. Thus, modules, "components" or "units" can be used in combination.
下面结合附图,通过对实施例的描述,对发明内容作进一步说明。The contents of the invention will be further described by the following description of embodiments with reference to the accompanying drawings.
请参照图1,图1为本发明提供的机顶盒显示指纹信息方法的较佳实施例的流程图。所述方法包括:Please refer to FIG. 1. FIG. 1 is a flowchart of a preferred embodiment of a method for displaying fingerprint information of a set top box according to the present invention. The method includes:
S100、机顶盒接收指纹信息,其中,所述指纹信息包括指纹字符串数据和屏幕百分比。S100. The set top box receives fingerprint information, where the fingerprint information includes fingerprint string data and a screen percentage.
具体地,所述指纹信息为所述机顶盒插入CA卡对应的前端视频服务器通过分发网络将视频发给机顶盒,并在用户播放所述视频时将所述指纹信息嵌入视频内形成指纹视频。所述指纹信息包括指纹字符串数据和屏幕百分比。所述指纹字符串数据可以为所述机顶盒配置的智能卡(CA卡)卡号。由于不同的机顶盒配置的CA卡不同,从而所述CA卡卡号为所述机顶盒拥有的独有信息( 称为指纹字符串数据),机顶盒将这些独有信息嵌入到视频中形成指纹视频,然后播放给用户,使得不同用户播放观看的指纹视频也有所不同,当盗版发生时,可以根据视频中所包含的指纹字符串数据最终确定盗版的来源,从而保护数字视频的版权。Specifically, the fingerprint information is that the front-end video server corresponding to the set-top box insertion CA card sends the video to the set-top box through the distribution network, and the fingerprint information is embedded in the video to form a fingerprint video when the user plays the video. The fingerprint information includes fingerprint string data and a screen percentage. The fingerprint string data may be a smart card (CA card) card number configured by the set top box. Since the CA cards of different set top boxes are different, the CA card number is unique information owned by the set top box ( Known as fingerprint string data), the set-top box embeds these unique information into the video to form a fingerprint video, and then plays it to the user, so that the fingerprint video played by different users is also different. When piracy occurs, it can be included according to the video. The fingerprint string data ultimately determines the source of piracy, thereby protecting the copyright of digital video.
所述指纹视频显示于外部设备的显示屏上时,所述指纹字符串数据可以占用显示屏的一行或者一列,并可以显示于屏幕的一侧而不影响视频内容。例如,所述指纹字符串数据显示于显示屏的顶部、底部、左部或者右部等。When the fingerprint video is displayed on the display screen of the external device, the fingerprint string data may occupy one row or one column of the display screen and may be displayed on one side of the screen without affecting the video content. For example, the fingerprint string data is displayed on the top, bottom, left or right side of the display screen, and the like.
所述屏幕百分比为CA厂家预先设置并存储于前端服务器内,当向机顶盒发送指纹信息时,将所述屏幕百分比嵌入所述指纹信息,以使得机顶盒接收到指纹信息时可以确定其对应的屏幕百分比。所述屏幕百分比为一个数值,用于表示所述指纹信息需占用的显示区域与机顶盒预设画布的百分比。也就是说,所述屏幕百分比为所述需占用的显示区域与预设画布的缩放因子,所述需占用的显示区域可以通过按照所述屏幕百分比缩放预设画布而确定。在实际应用中,所述百分比为所述需占用的显示区域的宽/高与机顶盒预设画布的宽/高的百分比。也就是说,根据所述百分比以及机顶盒预设画布的宽和高可以确定所述指纹信息需占用的显示区域的宽和高。例如,所述屏幕百分比为30%,所述画布宽高定义为screen_w,screen_h,那么所述指纹信息需占用的显示区域的宽高定义window_w和window_h,那么所述window_w=screen_w*30%,window_h=screen_h*30%。The screen percentage is pre-set by the CA manufacturer and stored in the front-end server. When the fingerprint information is sent to the set-top box, the screen percentage is embedded in the fingerprint information, so that the set-top box can determine the corresponding screen percentage when receiving the fingerprint information. . The percentage of the screen is a value indicating the percentage of the display area occupied by the fingerprint information and the preset canvas of the set top box. That is, the screen percentage is a zoom factor of the display area to be occupied and the preset canvas, and the display area to be occupied may be determined by scaling the preset canvas according to the screen percentage. In practical applications, the percentage is the percentage of the width/height of the display area to be occupied and the width/height of the preset set canvas of the set top box. That is to say, according to the percentage and the width and height of the preset set canvas of the set top box, the width and height of the display area that the fingerprint information needs to occupy may be determined. For example, the screen percentage is 30%, the canvas width is defined as screen_w, screen_h, then the width and height of the display area occupied by the fingerprint information defines window_w and window_h, then the window_w=screen_w*30%, window_h =screen_h*30%.
S200、采用默认字体将所述指纹字符串数据绘制于显存上得到一内存位图,并获取所述内存位图的原始宽高;S200: The fingerprint string data is drawn on the display memory by using a default font to obtain a memory bitmap, and the original width and height of the memory bitmap are obtained;
具体地,所述采用默认字体将所述指纹字符串数据绘制于显存上得到一内存位图指的是当接收到指纹信息时,采用默认字体在机顶盒内显示所述指纹字符串数据,并将绘制完的指纹字符串数据存储于机顶盒缓存内。在所述机顶盒缓存内所述采用默认字体绘制的指纹字符串数据为一段内存位图。在得到所述内存位图之后可以获取所述内存位图占用的显示区域的宽和高,将其记为内存位图的原始宽高。Specifically, the using the default font to draw the fingerprint string data on the display memory to obtain a memory bitmap means that when the fingerprint information is received, the fingerprint string data is displayed in the set top box by using a default font, and The drawn fingerprint string data is stored in the set top box cache. The fingerprint string data drawn in the default font in the set top box cache is a memory bitmap. After obtaining the memory bitmap, the width and height of the display area occupied by the memory bitmap can be obtained, and the original width and height of the memory bitmap are recorded.
所述默认字体为机顶盒的预先存储的字体,并且设置为默认的字体。也就是说,当机顶盒接收到指纹信息时默认的采用所述默认字体绘制所述指纹信息携带的指纹字符串数据。所述默认字体可以为宋体、仿宋、楷体等。当然,当接收到指纹信息时,如果接收到用户更改字体的指令,则采用更改后的字体绘制所述指纹字符串数据。The default font is a pre-stored font of the set top box and is set to the default font. That is to say, when the set top box receives the fingerprint information, the default font is used to draw the fingerprint string data carried by the fingerprint information. The default font may be Song, Song, and Scorpion. Of course, when the fingerprint information is received, if the user's instruction to change the font is received, the fingerprint string data is drawn using the changed font.
S300、根据所述屏幕百分比确定所述指纹信息对应的指纹窗口的目标宽高,并将所述原始宽高与目标宽高进行比较。S300. Determine a target width and height of the fingerprint window corresponding to the fingerprint information according to the screen percentage, and compare the original width and height with a target width and height.
具体地,所述目标宽高指的是前端设置所述指纹信息显示的宽高。所述目标宽高根据屏幕百分比以及机顶盒的分辨率而确定。所述机顶盒分辨率指的是机顶盒当前的适配分辨率参数。由于所述机顶盒可以支持多种分辨率,如,1080P、1080I、720P、480P等;从而,所述机顶盒当前的适配分辨率参数可以是机顶盒根据所述指纹信息对应的视频内容的分辨率而确定适配的分辨率。Specifically, the target width and height refers to the width and height at which the front end sets the fingerprint information display. The target width and height are determined based on the percentage of the screen and the resolution of the set top box. The set top box resolution refers to the current adaptation resolution parameter of the set top box. The set top box can support multiple resolutions, such as 1080P, 1080I, 720P, 480P, etc.; thus, the current adaptive resolution parameter of the set top box may be the resolution of the set top box according to the video content corresponding to the fingerprint information. Determine the resolution of the adaptation.
示例性的,所述根据所述屏幕百分比确定所述指纹信息对应的指纹窗口的目标宽高,并将所述原始宽高与目标宽高进行比较具体可以包括:For example, the determining the target width and height of the fingerprint window corresponding to the fingerprint information according to the percentage of the screen, and comparing the original width and height with the target width and height may specifically include:
S301、读取所述机顶盒本机预设的分辨率;S301. Read a preset resolution of the set top box of the set.
S302、根据所述分辨率以及屏幕百分比计算所述指纹信息对应的指纹窗口的目标宽高。S302. Calculate a target width and height of the fingerprint window corresponding to the fingerprint information according to the resolution and the screen percentage.
具体地,所述读取所述机顶盒本机预设的分辨率指的是读取所述机顶盒当前的适配分辨率参数,即获取机顶盒画布的宽和高。在根据屏幕百分比以及画面的宽和高计算用于显示所述指纹信息的指纹窗口的宽高,将其记为目标宽高。例如,所述机顶盒当前的适配分辨率为1080P那么所述机顶盒画布的宽和高分别为1920像素和1080像素。若屏幕百分比为10%,则目标宽高分别为192像素和108像素。Specifically, the reading the preset resolution of the set top box refers to reading the current adaptive resolution parameter of the set top box, that is, obtaining the width and height of the set top box canvas. The width and height of the fingerprint window for displaying the fingerprint information are calculated according to the percentage of the screen and the width and height of the screen, and are recorded as the target width and height. For example, the current adaptation resolution of the set top box is 1080P, then the width and height of the set top box canvas are 1920 pixels and 1080 pixels, respectively. If the screen percentage is 10%, the target width and height are 192 pixels and 108 pixels, respectively.
在本实施例中,当获取到内存位图的原始宽高和指纹窗口的目标宽高之后,将所述原始宽高与目标宽高进行比较,以确定所述内存位图能否占满所述指纹窗口。值得说明的,将所述原始宽高与目标宽高进行比较指的是将内存位图的原始宽度与指纹窗口的宽度进行比较,并且将内存位图的原始高度与指纹窗口的高度进行比较。In this embodiment, after the original width and height of the memory bitmap and the target width and height of the fingerprint window are obtained, the original width and height are compared with the target width and height to determine whether the memory bitmap can be filled. The fingerprint window. It is worth noting that comparing the original width and height with the target width and height refers to comparing the original width of the memory bitmap with the width of the fingerprint window, and comparing the original height of the memory bitmap with the height of the fingerprint window.
S400、当所述原始宽高均小于目标宽高时,根据所述原始宽高及目标宽高,将所述内存位图放大至目标内存位图,并将所述目标内存位图显示在屏幕上。S400. When the original width and height are less than the target width and height, zooming the memory bitmap to the target memory bitmap according to the original width and the target width and height, and displaying the target memory bitmap on the screen. on.
具体地,所述原始宽高均小于目标宽高指的是所述内存位图的原始宽度小于指纹窗口的宽度,并且内存位图的原始高度小于指纹窗口;即所述内存位图可以显示于所述指纹窗口,并且不能占满所述指纹窗口。Specifically, the original width and height are smaller than the target width and height, that is, the original width of the memory bitmap is smaller than the width of the fingerprint window, and the original height of the memory bitmap is smaller than the fingerprint window; that is, the memory bitmap can be displayed on The fingerprint window does not fill the fingerprint window.
所述根据所述原始宽高及目标宽高,将所述内存位图放大至目标内存位图指的是将所述内存位图放大至目标内存,所述目标内存的宽高为所述目标宽高,以使得所述目标内存可以嵌入所述指纹窗口并且占满所述指纹窗口,以使得按照屏幕百分比显示所述指纹字符串数据,即按照屏幕百分比显示所述指纹信息。Enlarging the memory bitmap to the target memory bitmap according to the original width and the target width and height refers to amplifying the memory bitmap to a target memory, and the target memory has a width and height as the target The width is high such that the target memory can be embedded in the fingerprint window and fill the fingerprint window such that the fingerprint string data is displayed in percentage of the screen, that is, the fingerprint information is displayed in percentage of the screen.
示例性的,所述当所述原始宽高均小于目标宽高时,根据所述原始宽高及目标宽高,将所述内存位图放大至目标内存位图,并将所述目标内存位图显示在屏幕上具体可以包括:Exemplarily, when the original width and height are less than the target width and height, the memory bitmap is enlarged to a target memory bitmap according to the original width and the target width, and the target memory bit is The figure display on the screen can specifically include:
S401、根据所述内存位图的原始宽高确定所述内存位图对应的第一缓存。S401. Determine a first cache corresponding to the memory bitmap according to an original width and height of the memory bitmap.
具体地,所述第一缓存指的所述内存位图占用机顶盒缓存空间的大小,即所述内存位图需占用显示区域对应的缓存大小,记为buffer_src,所述缓存大小等于内存位图的原始宽高构构成区域包含的像素个数与每个像素个数占用的字节数的乘积。即,buffer_src=finger_w*finger_h*每像素占用的字节数,其中,finger_w表示内存位图的宽度,finger_h表示内存位图的高度。Specifically, the memory bitmap of the first cache refers to the size of the set-top box cache space, that is, the memory bitmap needs to occupy the cache size corresponding to the display area, and is recorded as buffer_src, and the cache size is equal to the memory bitmap. The original wide and high conformation constitutes the product of the number of pixels and the number of bytes occupied by each pixel. That is, buffer_src=finger_w*finger_h* counts the number of bytes per pixel, where finger_w represents the width of the memory bitmap and finger_h represents the height of the memory bitmap.
S402、根据所述指纹窗口的目标宽高确定所述指纹窗口对应的第二缓存。S402. Determine a second cache corresponding to the fingerprint window according to a target width and height of the fingerprint window.
具体地,所述第二缓存指的是所述指纹窗口占用的显示区域对应的缓存大小,记为buffer_dest,buffer_dest=window_w*window_h*每像素占用的字节数。Specifically, the second cache refers to a buffer size corresponding to a display area occupied by the fingerprint window, and is recorded as buffer_dest, buffer_dest=window_w*window_h*, and the number of bytes occupied by each pixel.
示例性的,所述根据所述指纹窗口的目标宽高确定所述指纹窗口对应的第二缓存具体包括:Exemplarily, the determining, according to the target width and height of the fingerprint window, the second cache corresponding to the fingerprint window comprises:
S4021、根据机顶盒本机的分辨率确定每个像素占用的字节数;S4021, determining the number of bytes occupied by each pixel according to the resolution of the set top box local machine;
S4022、根据所述目标宽高确定所述指纹窗口对应的显示区域包含的像素个数;S4022: Determine, according to the target width and height, a number of pixels included in a display area corresponding to the fingerprint window;
S4023、根据所述像素个数以及每个像素占用的字节数确定所述指纹窗口对应的第二缓存。S4023. Determine a second cache corresponding to the fingerprint window according to the number of pixels and the number of bytes occupied by each pixel.
S403、根据位图放大算法将所述第一缓存放大至所述第二缓存以得到目标内存位图,并将所述目标内存位图显示在屏幕上。S403. Enlarge the first cache to the second cache according to a bitmap enlargement algorithm to obtain a target memory bitmap, and display the target memory bitmap on a screen.
具体地,所述根据位图算法将所述第一缓存放大至所述第二缓存指的是将所述第一内存位图进行放大,将其原始宽高放大至目标宽高,使得放大得到的目标内存位图占用的缓存为第二缓存。也就是说,将所述第一缓存作为位图放大算法的输入数据,将所述第二缓存作为位图放大算法的输出数据,实现从内存位图放大至目标内存位图。在实际应用中,所述位图放大算法为图像放大法,如word文档中按住ctrl+鼠标滑轮放大采用的位图放大算法,或者手机上的照片用手把它放大所采用的位图放大算法等。对于位图放大算法为本领域的公知常识,这里就不再详细说明。Specifically, the amplifying the first buffer to the second cache according to the bitmap algorithm refers to amplifying the first memory bitmap, and amplifying the original width and height to a target width and height, so that the amplification is obtained. The cache occupied by the target memory bitmap is the second cache. That is to say, the first cache is used as the input data of the bitmap enlargement algorithm, and the second cache is used as the output data of the bitmap enlargement algorithm to realize the enlargement from the memory bitmap to the target memory bitmap. In practical applications, the bitmap enlargement algorithm is an image enlargement method, such as a bitmap enlargement algorithm used in a word document by pressing ctrl+mouse pulley enlargement, or a bitmap enlargement algorithm used by a photo on a mobile phone to enlarge it by hand. Wait. The bitmap amplification algorithm is common knowledge in the art and will not be described in detail herein.
在本发明的另一个实施例中,所述机顶盒显示指纹信息的方法还包括:In another embodiment of the present invention, the method for displaying the fingerprint information by the set top box further includes:
S500、当所述原始宽大于等于目标宽和/或原始高大于等于目标高时,将所述内存位图显示在屏幕上。S500: Display the memory bitmap on the screen when the original width is greater than or equal to the target width and/or the original height is greater than or equal to the target height.
具体地,所述原始宽大于等于目标宽和/或原始高大于等于目标高指的是所述内存位图需占用的显示区域无法嵌入指纹窗口内,这时为了避免指纹信息显示不完整,将所述内存位图的宽高设置为指纹窗口的宽高,进而将所述内存位图显示在屏幕上。Specifically, the original width is greater than or equal to the target width and/or the original height is greater than or equal to the target height. The display area occupied by the memory bitmap cannot be embedded in the fingerprint window. In this case, in order to avoid incomplete display of the fingerprint information, The width and height of the memory bitmap are set to the width and height of the fingerprint window, and the memory bitmap is displayed on the screen.
本发明还提供了一种机顶盒显示指纹信息的系统,如图2所示,其包括:The present invention also provides a system for displaying fingerprint information of a set top box, as shown in FIG. 2, which includes:
接收模块100,用于接收指纹信息,其中,所述指纹信息包括指纹字符串数据和屏幕百分比;The receiving module 100 is configured to receive fingerprint information, where the fingerprint information includes fingerprint string data and a screen percentage;
绘制模块200,用于采用默认字体将所述指纹字符串数据绘制于显存上得到一内存位图,并获取所述内存位图的原始宽高;The drawing module 200 is configured to draw the fingerprint string data on the display memory by using a default font to obtain a memory bitmap, and obtain an original width and height of the memory bitmap;
比较模块300,用于根据所述屏幕百分比确定所述指纹信息对应的指纹窗口的目标宽高,并将所述原始宽高与目标宽高进行比较;The comparison module 300 is configured to determine a target width and height of the fingerprint window corresponding to the fingerprint information according to the screen percentage, and compare the original width and height with a target width and height;
放大模块400,用于当所述原始宽高均小于目标宽高时,根据所述原始宽高及目标宽高,将所述内存位图放大至目标内存位图,并将所述目标内存位图显示在屏幕上。The amplification module 400 is configured to enlarge the memory bitmap to a target memory bitmap according to the original width and the target width and height, and when the original width and height are less than a target width and height, and the target memory bit The figure is shown on the screen.
所述机顶盒显示指纹信息的系统,其中,所述根据所述屏幕百分比确定所述指纹信息对应的指纹窗口的目标宽高具体包括:The system for displaying the fingerprint information of the set top box, wherein the determining the target width and height of the fingerprint window corresponding to the fingerprint information according to the percentage of the screen comprises:
读取所述机顶盒本机预设的分辨率;Reading the preset resolution of the set top box of the local machine;
根据所述分辨率以及屏幕百分比计算所述指纹信息对应的指纹窗口的目标宽高。Calculating a target width and height of the fingerprint window corresponding to the fingerprint information according to the resolution and the screen percentage.
所述机顶盒显示指纹信息的系统,其中,所述放大模块具体包括:The system for displaying the fingerprint information of the set top box, wherein the amplifying module specifically includes:
第一计算单元,用于根据所述内存位图的原始宽高确定所述内存位图对应的第一缓存;a first calculating unit, configured to determine, according to an original width and height of the memory bitmap, a first cache corresponding to the memory bitmap;
第二计算单元,用于根据所述指纹窗口的目标宽高确定所述指纹窗口对应的第二缓存;a second calculating unit, configured to determine a second cache corresponding to the fingerprint window according to a target width and height of the fingerprint window;
放大单元,用于根据位图放大算法将所述第一缓存放大至所述第二缓存以得到目标内存位图,并将所述目标内存位图显示在屏幕上。And an amplifying unit, configured to enlarge the first buffer to the second cache according to a bitmap enlargement algorithm to obtain a target memory bitmap, and display the target memory bitmap on the screen.
所述机顶盒显示指纹信息的系统,其中,所述第二获取单元具体包括:The system for displaying the fingerprint information of the set top box, where the second acquiring unit specifically includes:
第一计算子单元,用于根据机顶盒本机的分辨率确定每个像素占用的字节数;a first calculating subunit, configured to determine a number of bytes occupied by each pixel according to a resolution of the set top box native;
第二计算子单元,用于根据所述目标宽高确定所述指纹窗口对应的显示区域包含的像素个数;a second calculating subunit, configured to determine, according to the target width and height, a number of pixels included in a display area corresponding to the fingerprint window;
第三计算子单元,用于根据所述像素个数以及每个像素占用的字节数确定所述指纹窗口对应的第二缓存。a third calculating subunit, configured to determine a second cache corresponding to the fingerprint window according to the number of pixels and the number of bytes occupied by each pixel.
所述机顶盒显示指纹信息的系统,其还包括:The set top box displays a fingerprint information system, which further includes:
显示模块,用于当所述原始宽大于等于目标宽和/或原始高大于等于目标高时,将所述内存位图显示在屏幕上。And a display module, configured to display the memory bitmap on the screen when the original width is greater than or equal to the target width and/or the original height is greater than or equal to the target height.
如图3所示,图3是本发明实施例方案涉及的硬件运行环境的机顶盒的结构示意图。As shown in FIG. 3, FIG. 3 is a schematic structural diagram of a set top box in a hardware operating environment according to an embodiment of the present invention.
本发明实施例机顶盒可以包括:处理器1001,例如CPU,以及存储器1002。这些组件之间的连接通信可以通过通信总线实现。存储器1002可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1002可选的还可以是独立于前述处理器1001的存储装置。The set top box of the embodiment of the present invention may include a processor 1001, such as a CPU, and a memory 1002. Connection communication between these components can be achieved via a communication bus. The memory 1002 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage. The memory 1002 can also optionally be a storage device independent of the aforementioned processor 1001.
可选地,机顶盒还可以包括用户接口、网络接口、摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。用户接口可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口还可以包括标准的有线接口、无线接口。网络接口可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。Optionally, the set top box may also include a user interface, a network interface, a camera, and an RF (Radio) Frequency, RF) circuits, sensors, audio circuits, WiFi modules, and more. The user interface may include a display, an input unit such as a keyboard, and the optional user interface may also include a standard wired interface, a wireless interface. The network interface can optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
本领域技术人员可以理解,图3中示出的机顶盒结构并不构成对机顶盒的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art will appreciate that the set top box structure illustrated in FIG. 3 does not constitute a definition of a set top box, and may include more or fewer components than those illustrated, or some components may be combined, or different component arrangements.
如图3所示,作为一种计算机存储介质的存储器1002中可以包括操作系统以及机顶盒显示指纹信息的程序。其中,操作系统是管理和控制机顶盒硬件与软件资源的程序,支持机顶盒显示指纹信息的程序及其他软件或程序的运行。As shown in FIG. 3, a memory 1002 as a computer storage medium may include an operating system and a program for the set top box to display fingerprint information. Among them, the operating system is a program for managing and controlling the hardware and software resources of the set-top box, and supports the operation of the program for displaying the fingerprint information of the set-top box and other software or programs.
在图3所示的机顶盒中,处理器1001可以用于执行存储器1002中存储的机顶盒显示指纹信息的程序,以实现以下步骤:In the set top box shown in FIG. 3, the processor 1001 can be used to execute a program for displaying the fingerprint information of the set top box stored in the memory 1002 to implement the following steps:
机顶盒接收指纹信息,其中,所述指纹信息包括指纹字符串数据和屏幕百分比;The set top box receives fingerprint information, wherein the fingerprint information includes fingerprint string data and a screen percentage;
采用默认字体将所述指纹字符串数据绘制于显存上得到一内存位图,并获取所述内存位图的原始宽高;The fingerprint string data is drawn on the display memory by using a default font to obtain a memory bitmap, and the original width and height of the memory bitmap are obtained;
根据所述屏幕百分比确定所述指纹信息对应的指纹窗口的目标宽高,并将所述原始宽高与目标宽高进行比较;Determining, according to the percentage of the screen, a target width and height of the fingerprint window corresponding to the fingerprint information, and comparing the original width and height with a target width and height;
当所述原始宽高均小于目标宽高时,根据所述原始宽高及目标宽高,将所述内存位图放大至目标内存位图,并将所述目标内存位图显示在屏幕上。When the original width and height are less than the target width and height, the memory bitmap is enlarged to the target memory bitmap according to the original width and the target width, and the target memory bitmap is displayed on the screen.
进一步地,处理器1001还可以执行存储器1002中存储的机顶盒显示指纹信息的程序,以实现以下步骤:Further, the processor 1001 may further execute a program for displaying the fingerprint information of the set top box stored in the memory 1002 to implement the following steps:
读取所述机顶盒本机预设的分辨率;Reading the preset resolution of the set top box of the local machine;
根据所述分辨率以及屏幕百分比计算所述指纹信息对应的指纹窗口的目标宽高。Calculating a target width and height of the fingerprint window corresponding to the fingerprint information according to the resolution and the screen percentage.
进一步地,处理器1001还可以执行存储器1002中存储的机顶盒显示指纹信息的程序,以实现以下步骤:Further, the processor 1001 may further execute a program for displaying the fingerprint information of the set top box stored in the memory 1002 to implement the following steps:
根据所述内存位图的原始宽高确定所述内存位图对应的第一缓存;Determining, according to an original width and height of the memory bitmap, a first cache corresponding to the memory bitmap;
根据所述指纹窗口的目标宽高确定所述指纹窗口对应的第二缓存;Determining, according to a target width and height of the fingerprint window, a second cache corresponding to the fingerprint window;
根据位图放大算法将所述第一缓存放大至所述第二缓存以得到目标内存位图,并将所述目标内存位图显示在屏幕上。The first cache is enlarged to the second cache according to a bitmap enlargement algorithm to obtain a target memory bitmap, and the target memory bitmap is displayed on the screen.
进一步地,处理器1001还可以执行存储器1002中存储的机顶盒显示指纹信息的程序,以实现以下步骤:Further, the processor 1001 may further execute a program for displaying the fingerprint information of the set top box stored in the memory 1002 to implement the following steps:
根据机顶盒本机的分辨率确定每个像素占用的字节数;Determine the number of bytes occupied by each pixel according to the resolution of the set-top box;
根据所述目标宽高确定所述指纹窗口对应的显示区域包含的像素个数;Determining, according to the target width and height, a number of pixels included in a display area corresponding to the fingerprint window;
根据所述像素个数以及每个像素占用的字节数确定所述指纹窗口对应的第二缓存。Determining a second cache corresponding to the fingerprint window according to the number of pixels and the number of bytes occupied by each pixel.
进一步地,处理器1001还可以执行存储器1002中存储的机顶盒显示指纹信息的程序,以实现以下步骤:Further, the processor 1001 may further execute a program for displaying the fingerprint information of the set top box stored in the memory 1002 to implement the following steps:
当所述原始宽大于等于目标宽和/或原始高大于等于目标高时,将所述内存位图显示在屏幕上。The memory bitmap is displayed on the screen when the original width is greater than or equal to the target width and/or the original height is greater than or equal to the target height.
本发明机顶盒的具体实施例与上述机顶盒显示指纹信息的方法和系统各实施例基本相同,在此不作赘述。The specific embodiment of the set top box of the present invention is substantially the same as the method and system for displaying the fingerprint information of the set top box, and details are not described herein.
本发明还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有机顶盒显示指纹信息的程序,所述机顶盒显示指纹信息的程序被处理器执行时实现以下步骤:The present invention also provides a computer readable storage medium on which a program for displaying fingerprint information of an organic set top box is stored. When the program for displaying the fingerprint information of the set top box is executed by the processor, the following steps are implemented:
机顶盒接收指纹信息,其中,所述指纹信息包括指纹字符串数据和屏幕百分比;The set top box receives fingerprint information, wherein the fingerprint information includes fingerprint string data and a screen percentage;
采用默认字体将所述指纹字符串数据绘制于显存上得到一内存位图,并获取所述内存位图的原始宽高;The fingerprint string data is drawn on the display memory by using a default font to obtain a memory bitmap, and the original width and height of the memory bitmap are obtained;
根据所述屏幕百分比确定所述指纹信息对应的指纹窗口的目标宽高,并将所述原始宽高与目标宽高进行比较;Determining, according to the percentage of the screen, a target width and height of the fingerprint window corresponding to the fingerprint information, and comparing the original width and height with a target width and height;
当所述原始宽高均小于目标宽高时,根据所述原始宽高及目标宽高,将所述内存位图放大至目标内存位图,并将所述目标内存位图显示在屏幕上。When the original width and height are less than the target width and height, the memory bitmap is enlarged to the target memory bitmap according to the original width and the target width, and the target memory bitmap is displayed on the screen.
进一步地,所述机顶盒显示指纹信息的程序被处理器执行时还实现以下步骤:Further, when the program for displaying the fingerprint information of the set top box is executed by the processor, the following steps are further implemented:
读取所述机顶盒本机预设的分辨率;Reading the preset resolution of the set top box of the local machine;
根据所述分辨率以及屏幕百分比计算所述指纹信息对应的指纹窗口的目标宽高。Calculating a target width and height of the fingerprint window corresponding to the fingerprint information according to the resolution and the screen percentage.
进一步地,所述机顶盒显示指纹信息的程序被处理器执行时还实现以下步骤:Further, when the program for displaying the fingerprint information of the set top box is executed by the processor, the following steps are further implemented:
根据所述内存位图的原始宽高确定所述内存位图对应的第一缓存;Determining, according to an original width and height of the memory bitmap, a first cache corresponding to the memory bitmap;
根据所述指纹窗口的目标宽高确定所述指纹窗口对应的第二缓存;Determining, according to a target width and height of the fingerprint window, a second cache corresponding to the fingerprint window;
根据位图放大算法将所述第一缓存放大至所述第二缓存以得到目标内存位图,并将所述目标内存位图显示在屏幕上。The first cache is enlarged to the second cache according to a bitmap enlargement algorithm to obtain a target memory bitmap, and the target memory bitmap is displayed on the screen.
进一步地,所述机顶盒显示指纹信息的程序被处理器执行时还实现以下步骤:Further, when the program for displaying the fingerprint information of the set top box is executed by the processor, the following steps are further implemented:
根据机顶盒本机的分辨率确定每个像素占用的字节数;Determine the number of bytes occupied by each pixel according to the resolution of the set-top box;
根据所述目标宽高确定所述指纹窗口对应的显示区域包含的像素个数;Determining, according to the target width and height, a number of pixels included in a display area corresponding to the fingerprint window;
根据所述像素个数以及每个像素占用的字节数确定所述指纹窗口对应的第二缓存。Determining a second cache corresponding to the fingerprint window according to the number of pixels and the number of bytes occupied by each pixel.
进一步地,所述机顶盒显示指纹信息的程序被处理器执行时还实现以下步骤:Further, when the program for displaying the fingerprint information of the set top box is executed by the processor, the following steps are further implemented:
当所述原始宽大于等于目标宽和/或原始高大于等于目标高时,将所述内存位图显示在屏幕上。The memory bitmap is displayed on the screen when the original width is greater than or equal to the target width and/or the original height is greater than or equal to the target height.
本发明计算机可读存储介质的具体实施例与上述机顶盒显示指纹信息的方法和系统各实施例基本相同,在此不作赘述。The specific embodiment of the computer readable storage medium of the present invention is substantially the same as the method and system for displaying the fingerprint information of the set top box, and is not described herein.
在本发明所提供的实施例中,应该理解到,所揭露的系统和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided by the present invention, it should be understood that the disclosed systems and methods may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium. The above software functional unit is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform the methods of the various embodiments of the present invention. Part of the steps. The foregoing storage medium includes: a U disk, a mobile hard disk, and a read only memory (Read-Only) Memory, ROM, random access memory (RAM), disk or optical disc, and other media that can store program code.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not limited thereto; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that The technical solutions described in the foregoing embodiments are modified, or the equivalents of the technical features are replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (20)

  1. 一种机顶盒显示指纹信息的方法,其中,其包括: A method for displaying fingerprint information by a set top box, wherein:
    机顶盒接收指纹信息,其中,所述指纹信息包括指纹字符串数据和屏幕百分比;The set top box receives fingerprint information, wherein the fingerprint information includes fingerprint string data and a screen percentage;
    采用默认字体将所述指纹字符串数据绘制于显存上得到一内存位图,并获取所述内存位图的原始宽高;The fingerprint string data is drawn on the display memory by using a default font to obtain a memory bitmap, and the original width and height of the memory bitmap are obtained;
    根据所述屏幕百分比确定所述指纹信息对应的指纹窗口的目标宽高,并将所述原始宽高与目标宽高进行比较;Determining, according to the percentage of the screen, a target width and height of the fingerprint window corresponding to the fingerprint information, and comparing the original width and height with a target width and height;
    当所述原始宽高均小于目标宽高时,根据所述原始宽高及目标宽高,将所述内存位图放大至目标内存位图,并将所述目标内存位图显示在屏幕上。When the original width and height are less than the target width and height, the memory bitmap is enlarged to the target memory bitmap according to the original width and the target width, and the target memory bitmap is displayed on the screen.
  2. 根据权利要求1所述机顶盒显示指纹信息的方法,其中,所述根据所述屏幕百分比确定所述指纹信息对应的指纹窗口的目标宽高具体包括:The method for displaying the fingerprint information of the set top box according to claim 1, wherein the determining the target width and height of the fingerprint window corresponding to the fingerprint information according to the percentage of the screen comprises:
    读取所述机顶盒本机预设的分辨率;Reading the preset resolution of the set top box of the local machine;
    根据所述分辨率以及屏幕百分比计算所述指纹信息对应的指纹窗口的目标宽高。Calculating a target width and height of the fingerprint window corresponding to the fingerprint information according to the resolution and the screen percentage.
  3. 根据权利要求1所述机顶盒显示指纹信息的方法,其中,所述当所述原始宽高均小于目标宽高时,将所述内存位图放大至目标内存位图,并将所述目标内存位图显示在屏幕上具体包括:The method for displaying fingerprint information in a set top box according to claim 1, wherein when the original width and height are less than a target width and height, the memory bitmap is enlarged to a target memory bitmap, and the target memory bit is The figure shown on the screen specifically includes:
    根据所述内存位图的原始宽高确定所述内存位图对应的第一缓存;Determining, according to an original width and height of the memory bitmap, a first cache corresponding to the memory bitmap;
    根据所述指纹窗口的目标宽高确定所述指纹窗口对应的第二缓存;Determining, according to a target width and height of the fingerprint window, a second cache corresponding to the fingerprint window;
    根据位图放大算法将所述第一缓存放大至所述第二缓存以得到目标内存位图,并将所述目标内存位图显示在屏幕上。The first cache is enlarged to the second cache according to a bitmap enlargement algorithm to obtain a target memory bitmap, and the target memory bitmap is displayed on the screen.
  4. 根据权利要求3所述机顶盒显示指纹信息的方法,其中,所述根据所述指纹窗口的目标宽高确定所述指纹窗口对应的第二缓存具体包括:The method for displaying the fingerprint information of the set top box according to claim 3, wherein the determining, according to the target width and height of the fingerprint window, the second cache corresponding to the fingerprint window comprises:
    根据机顶盒本机的分辨率确定每个像素占用的字节数;Determine the number of bytes occupied by each pixel according to the resolution of the set-top box;
    根据所述目标宽高确定所述指纹窗口对应的显示区域包含的像素个数;Determining, according to the target width and height, a number of pixels included in a display area corresponding to the fingerprint window;
    根据所述像素个数以及每个像素占用的字节数确定所述指纹窗口对应的第二缓存。Determining a second cache corresponding to the fingerprint window according to the number of pixels and the number of bytes occupied by each pixel.
  5. 根据权利要求1所述机顶盒显示指纹信息的方法,其中,其还包括:The method for displaying fingerprint information in a set top box according to claim 1, wherein the method further comprises:
    当所述原始宽大于等于目标宽和/或原始高大于等于目标高时,将所述内存位图显示在屏幕上。 The memory bitmap is displayed on the screen when the original width is greater than or equal to the target width and/or the original height is greater than or equal to the target height.
  6. 一种机顶盒显示指纹信息的系统,其中,其包括:A system for displaying fingerprint information by a set top box, wherein:
    接收模块,用于接收指纹信息,其中,所述指纹信息包括指纹字符串数据和屏幕百分比;a receiving module, configured to receive fingerprint information, where the fingerprint information includes fingerprint string data and a screen percentage;
    绘制模块,用于采用默认字体将所述指纹字符串数据绘制于显存上得到一内存位图,并获取所述内存位图的原始宽高;a drawing module, configured to draw the fingerprint string data on the display memory by using a default font to obtain a memory bitmap, and obtain an original width and height of the memory bitmap;
    比较模块,用于根据所述屏幕百分比确定所述指纹信息对应的指纹窗口的目标宽高,并将所述原始宽高与目标宽高进行比较;a comparison module, configured to determine a target width and height of the fingerprint window corresponding to the fingerprint information according to the screen percentage, and compare the original width and height with a target width and height;
    放大模块,用于当所述原始宽高均小于目标宽高时,根据所述原始宽高及目标宽高,将所述内存位图放大至目标内存位图,并将所述目标内存位图显示在屏幕上。An amplifying module, configured to: when the original width and height are less than a target width and height, enlarge the memory bitmap to a target memory bitmap according to the original width and height and a target width and height, and map the target memory bitmap Displayed on the screen.
  7. 根据权利要求6所述机顶盒显示指纹信息的系统,其中,所述根据所述屏幕百分比确定所述指纹信息对应的指纹窗口的目标宽高具体包括:The system for displaying the fingerprint information of the set top box according to claim 6, wherein the determining the target width and height of the fingerprint window corresponding to the fingerprint information according to the percentage of the screen comprises:
    读取所述机顶盒本机预设的分辨率;Reading the preset resolution of the set top box of the local machine;
    根据所述分辨率以及屏幕百分比计算所述指纹信息对应的指纹窗口的目标宽高。Calculating a target width and height of the fingerprint window corresponding to the fingerprint information according to the resolution and the screen percentage.
  8. 根据权利要求6所述机顶盒显示指纹信息的系统,其中,所述放大模块具体包括:The system for displaying fingerprint information in a set top box according to claim 6, wherein the amplifying module specifically comprises:
    第一计算单元,用于根据所述内存位图的原始宽高确定所述内存位图对应的第一缓存;a first calculating unit, configured to determine, according to an original width and height of the memory bitmap, a first cache corresponding to the memory bitmap;
    第二计算单元,用于根据所述指纹窗口的目标宽高确定所述指纹窗口对应的第二缓存;a second calculating unit, configured to determine a second cache corresponding to the fingerprint window according to a target width and height of the fingerprint window;
    放大单元,用于根据位图放大算法将所述第一缓存放大至所述第二缓存以得到目标内存位图,并将所述目标内存位图显示在屏幕上。And an amplifying unit, configured to enlarge the first buffer to the second cache according to a bitmap enlargement algorithm to obtain a target memory bitmap, and display the target memory bitmap on the screen.
  9. 根据权利要求8所述机顶盒显示指纹信息的系统,其中,所述第二获取单元具体包括:The system for displaying fingerprint information of the set top box according to claim 8, wherein the second obtaining unit specifically comprises:
    第一计算子单元,用于根据机顶盒本机的分辨率确定每个像素占用的字节数;a first calculating subunit, configured to determine a number of bytes occupied by each pixel according to a resolution of the set top box native;
    第二计算子单元,用于根据所述目标宽高确定所述指纹窗口对应的显示区域包含的像素个数;a second calculating subunit, configured to determine, according to the target width and height, a number of pixels included in a display area corresponding to the fingerprint window;
    第三计算子单元,用于根据所述像素个数以及每个像素占用的字节数确定所述指纹窗口对应的第二缓存。a third calculating subunit, configured to determine a second cache corresponding to the fingerprint window according to the number of pixels and the number of bytes occupied by each pixel.
  10. 根据权利要求6所述机顶盒显示指纹信息的系统,其中,其还包括:The system for displaying fingerprint information in a set top box according to claim 6, wherein the method further comprises:
    显示模块,用于当所述原始宽大于等于目标宽和/或原始高大于等于目标高时,将所述内存位图显示在屏幕上。And a display module, configured to display the memory bitmap on the screen when the original width is greater than or equal to the target width and/or the original height is greater than or equal to the target height.
  11. 一种机顶盒,其中,所述机顶盒包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的机顶盒显示指纹信息的程序,所述机顶盒显示指纹信息的程序被所述处理器执行时实现以下步骤:A set top box, wherein the set top box includes: a memory, a processor, and a program stored on the memory and operable on the processor to display fingerprint information, the program for displaying the fingerprint information of the set top box is The following steps are implemented when the processor executes:
    机顶盒接收指纹信息,其中,所述指纹信息包括指纹字符串数据和屏幕百分比;The set top box receives fingerprint information, wherein the fingerprint information includes fingerprint string data and a screen percentage;
    采用默认字体将所述指纹字符串数据绘制于显存上得到一内存位图,并获取所述内存位图的原始宽高;The fingerprint string data is drawn on the display memory by using a default font to obtain a memory bitmap, and the original width and height of the memory bitmap are obtained;
    根据所述屏幕百分比确定所述指纹信息对应的指纹窗口的目标宽高,并将所述原始宽高与目标宽高进行比较;Determining, according to the percentage of the screen, a target width and height of the fingerprint window corresponding to the fingerprint information, and comparing the original width and height with a target width and height;
    当所述原始宽高均小于目标宽高时,根据所述原始宽高及目标宽高,将所述内存位图放大至目标内存位图,并将所述目标内存位图显示在屏幕上。When the original width and height are less than the target width and height, the memory bitmap is enlarged to the target memory bitmap according to the original width and the target width, and the target memory bitmap is displayed on the screen.
  12. 如权利要求11所述的机顶盒,其中,所述机顶盒显示指纹信息的程序被所述处理器执行时还实现以下步骤:A set top box according to claim 11, wherein said program for displaying fingerprint information by said set top box is further executed by said processor:
    读取所述机顶盒本机预设的分辨率;Reading the preset resolution of the set top box of the local machine;
    根据所述分辨率以及屏幕百分比计算所述指纹信息对应的指纹窗口的目标宽高。Calculating a target width and height of the fingerprint window corresponding to the fingerprint information according to the resolution and the screen percentage.
  13. 如权利要求11所述的机顶盒,其中,所述机顶盒显示指纹信息的程序被所述处理器执行时还实现以下步骤:A set top box according to claim 11, wherein said program for displaying fingerprint information by said set top box is further executed by said processor:
    根据所述内存位图的原始宽高确定所述内存位图对应的第一缓存;Determining, according to an original width and height of the memory bitmap, a first cache corresponding to the memory bitmap;
    根据所述指纹窗口的目标宽高确定所述指纹窗口对应的第二缓存;Determining, according to a target width and height of the fingerprint window, a second cache corresponding to the fingerprint window;
    根据位图放大算法将所述第一缓存放大至所述第二缓存以得到目标内存位图,并将所述目标内存位图显示在屏幕上。The first cache is enlarged to the second cache according to a bitmap enlargement algorithm to obtain a target memory bitmap, and the target memory bitmap is displayed on the screen.
  14. 如权利要求13所述的机顶盒,其中,所述机顶盒显示指纹信息的程序被所述处理器执行时还实现以下步骤:The set top box according to claim 13, wherein said program for displaying fingerprint information by said set top box is further executed by said processor:
    根据机顶盒本机的分辨率确定每个像素占用的字节数;Determine the number of bytes occupied by each pixel according to the resolution of the set-top box;
    根据所述目标宽高确定所述指纹窗口对应的显示区域包含的像素个数;Determining, according to the target width and height, a number of pixels included in a display area corresponding to the fingerprint window;
    根据所述像素个数以及每个像素占用的字节数确定所述指纹窗口对应的第二缓存。Determining a second cache corresponding to the fingerprint window according to the number of pixels and the number of bytes occupied by each pixel.
  15. 如权利要求11所述的机顶盒,其中,所述机顶盒显示指纹信息的程序被所述处理器执行时还实现以下步骤:A set top box according to claim 11, wherein said program for displaying fingerprint information by said set top box is further executed by said processor:
    当所述原始宽大于等于目标宽和/或原始高大于等于目标高时,将所述内存位图显示在屏幕上。The memory bitmap is displayed on the screen when the original width is greater than or equal to the target width and/or the original height is greater than or equal to the target height.
  16. 一种计算机可读存储介质,应用于机顶盒,其中,所述计算机可读存储介质上存储有机顶盒显示指纹信息的程序,所述机顶盒显示指纹信息的程序被处理器执行时实现以下步骤:A computer readable storage medium is applied to a set top box, wherein the computer readable storage medium stores a program for displaying an organic top box to display fingerprint information, and the program for displaying the fingerprint information of the set top box is executed by the processor to implement the following steps:
    机顶盒接收指纹信息,其中,所述指纹信息包括指纹字符串数据和屏幕百分比;The set top box receives fingerprint information, wherein the fingerprint information includes fingerprint string data and a screen percentage;
    采用默认字体将所述指纹字符串数据绘制于显存上得到一内存位图,并获取所述内存位图的原始宽高;The fingerprint string data is drawn on the display memory by using a default font to obtain a memory bitmap, and the original width and height of the memory bitmap are obtained;
    根据所述屏幕百分比确定所述指纹信息对应的指纹窗口的目标宽高,并将所述原始宽高与目标宽高进行比较;Determining, according to the percentage of the screen, a target width and height of the fingerprint window corresponding to the fingerprint information, and comparing the original width and height with a target width and height;
    当所述原始宽高均小于目标宽高时,根据所述原始宽高及目标宽高,将所述内存位图放大至目标内存位图,并将所述目标内存位图显示在屏幕上。When the original width and height are less than the target width and height, the memory bitmap is enlarged to the target memory bitmap according to the original width and the target width, and the target memory bitmap is displayed on the screen.
  17. 如权利要求16所述的计算机可读存储介质,其中,所述机顶盒显示指纹信息的程序被处理器执行时还实现以下步骤:The computer readable storage medium of claim 16, wherein the program for displaying the fingerprint information by the set top box is further executed by the processor to:
    读取所述机顶盒本机预设的分辨率;Reading the preset resolution of the set top box of the local machine;
    根据所述分辨率以及屏幕百分比计算所述指纹信息对应的指纹窗口的目标宽高。Calculating a target width and height of the fingerprint window corresponding to the fingerprint information according to the resolution and the screen percentage.
  18. 如权利要求16所述的计算机可读存储介质,其中,所述机顶盒显示指纹信息的程序被处理器执行时还实现以下步骤:The computer readable storage medium of claim 16, wherein the program for displaying the fingerprint information by the set top box is further executed by the processor to:
    根据所述内存位图的原始宽高确定所述内存位图对应的第一缓存;Determining, according to an original width and height of the memory bitmap, a first cache corresponding to the memory bitmap;
    根据所述指纹窗口的目标宽高确定所述指纹窗口对应的第二缓存;Determining, according to a target width and height of the fingerprint window, a second cache corresponding to the fingerprint window;
    根据位图放大算法将所述第一缓存放大至所述第二缓存以得到目标内存位图,并将所述目标内存位图显示在屏幕上。The first cache is enlarged to the second cache according to a bitmap enlargement algorithm to obtain a target memory bitmap, and the target memory bitmap is displayed on the screen.
  19. 如权利要求18所述的计算机可读存储介质,其中,所述机顶盒显示指纹信息的程序被处理器执行时还实现以下步骤:The computer readable storage medium of claim 18, wherein the program for displaying the fingerprint information by the set top box is further executed by the processor to:
    根据机顶盒本机的分辨率确定每个像素占用的字节数;Determine the number of bytes occupied by each pixel according to the resolution of the set-top box;
    根据所述目标宽高确定所述指纹窗口对应的显示区域包含的像素个数;Determining, according to the target width and height, a number of pixels included in a display area corresponding to the fingerprint window;
    根据所述像素个数以及每个像素占用的字节数确定所述指纹窗口对应的第二缓存。Determining a second cache corresponding to the fingerprint window according to the number of pixels and the number of bytes occupied by each pixel.
  20. 如权利要求16所述的计算机可读存储介质,其中,所述机顶盒显示指纹信息的程序被处理器执行时还实现以下步骤:The computer readable storage medium of claim 16, wherein the program for displaying the fingerprint information by the set top box is further executed by the processor to:
    当所述原始宽大于等于目标宽和/或原始高大于等于目标高时,将所述内存位图显示在屏幕上。The memory bitmap is displayed on the screen when the original width is greater than or equal to the target width and/or the original height is greater than or equal to the target height.
PCT/CN2017/108858 2016-12-22 2017-11-01 Method and system for set-top box to display fingerprint information, set-top box, and storage medium WO2018113420A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611198796.1A CN106658121B (en) 2016-12-22 2016-12-22 A kind of set-top box shows the method and system of finger print information
CN201611198796.1 2016-12-22

Publications (1)

Publication Number Publication Date
WO2018113420A1 true WO2018113420A1 (en) 2018-06-28

Family

ID=58834018

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/108858 WO2018113420A1 (en) 2016-12-22 2017-11-01 Method and system for set-top box to display fingerprint information, set-top box, and storage medium

Country Status (2)

Country Link
CN (1) CN106658121B (en)
WO (1) WO2018113420A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106658121B (en) * 2016-12-22 2019-06-11 深圳创维数字技术有限公司 A kind of set-top box shows the method and system of finger print information
CN110930354B (en) * 2019-10-09 2020-07-10 西安交通大学 Video picture content analysis system for smooth transition of image big data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046888A (en) * 2006-03-30 2007-10-03 株式会社东芝 Rendering apparatus and method, and shape data generation apparatus and method
CN105930464A (en) * 2016-04-22 2016-09-07 腾讯科技(深圳)有限公司 Web rich media multi-screen adaptation method and apparatus
CN106157247A (en) * 2016-07-06 2016-11-23 北京元心科技有限公司 A kind of image processing method and system
CN106658121A (en) * 2016-12-22 2017-05-10 深圳创维数字技术有限公司 Method and system for set-top box to display fingerprint information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046888A (en) * 2006-03-30 2007-10-03 株式会社东芝 Rendering apparatus and method, and shape data generation apparatus and method
CN105930464A (en) * 2016-04-22 2016-09-07 腾讯科技(深圳)有限公司 Web rich media multi-screen adaptation method and apparatus
CN106157247A (en) * 2016-07-06 2016-11-23 北京元心科技有限公司 A kind of image processing method and system
CN106658121A (en) * 2016-12-22 2017-05-10 深圳创维数字技术有限公司 Method and system for set-top box to display fingerprint information

Also Published As

Publication number Publication date
CN106658121A (en) 2017-05-10
CN106658121B (en) 2019-06-11

Similar Documents

Publication Publication Date Title
WO2017090837A1 (en) Digital photographing apparatus and method of operating the same
WO2017107388A1 (en) Hdmi version switching method and display device
WO2015182869A1 (en) Display apparatus and method thereof
WO2015035777A1 (en) Software upgrade method and system for mobile terminal
WO2014035054A1 (en) Method and apparatus for controlling zoom function in an electronic device
WO2019061612A1 (en) Loan product promotion method and apparatus, and computer-readable storage medium
WO2016175467A1 (en) Source device and control method thereof, and sink device and image quality improvement processing method thereof
WO2017084302A1 (en) Method for playing boot video of a display terminal and display terminal
WO2018227869A1 (en) Display screen picture adjusting method, display terminal, and readable storage medium
WO2018223607A1 (en) Television terminal, method for converting hdr image into sdr image, and computer readable storage medium
WO2018120429A1 (en) Resource update method, terminal, computer readable storage medium and resource update device
WO2018166224A1 (en) Target tracking display method and apparatus for panoramic video, and storage medium
WO2018227887A1 (en) Video advertisement delivery method, video advertisement generation method, device, server and readable storage medium
WO2019114262A1 (en) User interface loading method, smart television and computer-readable storage medium
WO2020010671A1 (en) Display method and device, television set, and storage medium
WO2018233221A1 (en) Multi-window sound output method, television, and computer-readable storage medium
WO2019104874A1 (en) Financial product purchasing method, apparatus and device, and readable storage medium
WO2015180594A1 (en) Data distribution method and system and data receiving apparatus
WO2016190691A1 (en) Display apparatus and control method thereof
WO2019041851A1 (en) Home appliance after-sales consulting method, electronic device and computer-readable storage medium
WO2018223602A1 (en) Display terminal, frame contrast enhancement method, and computer readable storage medium
WO2016111487A1 (en) Display apparatus and display method
WO2019071771A1 (en) Wireless signal fingerprint information calibration method, system, server and medium
WO2018113420A1 (en) Method and system for set-top box to display fingerprint information, set-top box, and storage medium
WO2018032679A1 (en) Setting method and device for timed startup and shutoff of television

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: 17882486

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: 17882486

Country of ref document: EP

Kind code of ref document: A1