CN106658121B - A kind of set-top box shows the method and system of finger print information - Google Patents

A kind of set-top box shows the method and system of finger print information Download PDF

Info

Publication number
CN106658121B
CN106658121B CN201611198796.1A CN201611198796A CN106658121B CN 106658121 B CN106658121 B CN 106658121B CN 201611198796 A CN201611198796 A CN 201611198796A CN 106658121 B CN106658121 B CN 106658121B
Authority
CN
China
Prior art keywords
target
print information
finger print
top box
wide
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611198796.1A
Other languages
Chinese (zh)
Other versions
CN106658121A (en
Inventor
姚小伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology Co Ltd
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 Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201611198796.1A priority Critical patent/CN106658121B/en
Publication of CN106658121A publication Critical patent/CN106658121A/en
Priority to PCT/CN2017/108858 priority patent/WO2018113420A1/en
Application granted granted Critical
Publication of CN106658121B publication Critical patent/CN106658121B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

The invention discloses the method and system that a kind of set-top box shows finger print information, which comprises set-top box receives finger print information, wherein the finger print information includes fingerprint string data and screen percentage;The fingerprint string data is drawn on video memory using default font and obtains a memory bitmap, and obtains the original wide high of the memory bitmap;The wide height of target of the corresponding fingerprint window of the finger print information is determined according to the screen percentage, and the original wide height is compared with the wide height of target;When respectively less than target is wide high for the original wide height, according to the original wide high and wide height of target, the memory bitmap is amplified to target memory bitmap, and the target memory bitmap is displayed on the screen.The present invention, so that set-top box shows finger print information according to specified show percent, saves the memory source of set-top box by the way that the original wide height of fingerprint string data is amplified to the wide height of target corresponding with prescribed percentage data.

Description

A kind of set-top box shows the method and system of finger print information
Technical field
The present invention relates to intelligent terminal technical field, in particular to a kind of set-top box shows the method for finger print information and is System.
Background technique
With the development of CA technology, the front end CA, which shows fingerprint, to be put forward higher requirements, and is not only required to display fingerprint Information also requires set-top box and changes the size that fingerprint occupies screen area according to the setting of front end, so that set-top box is according to finger Fixed show percent is shown.However, memory and flash resource are limited, mesh since set-top box belongs to embedded device It is preceding that received finger print information is mainly shown by configuring dot matrix word library.Due to the width and height of different size of dot matrix word library Difference, thus different dot matrix word libraries corresponds to different show percents.When several different show percents of CA documentation requirements When, set-top box, which needs to configure dot matrix word library corresponding with several percentages and is just able to satisfy display, to be required, in this way presence with Lower problem:
(1), set-top box configures multiple dot matrix word libraries corresponding with the multiple show percent, leads to the interior of set-top box It deposits occupied with flash resource, increases the operating load of top-set hardware;
(2), different CA manufacturers may have different fingerprint show percent specifications, several words defaulted using set-top box Library may be unable to satisfy requirement, thus must also individually prepare character library, the maintenance of set-top box inconvenient in this way, and extend machine The top box development cycle.
Thus the prior art could be improved and improve.
Summary of the invention
The technical problem to be solved in the present invention is that in view of the deficiencies of the prior art, providing a kind of set-top box display fingerprint Information approach and system need to be configured with to solve existing set-top box when showing finger print information according to specified show percent a variety of Dot matrix word library, and cause set-top box memory and flash resource occupied, it is asked so that the operating load of top-set hardware is increased Topic.
In order to solve the above-mentioned technical problem, the technical solution adopted in the present invention is as follows:
A kind of method that set-top box shows finger print information comprising:
Set-top box receives finger print information, wherein the finger print information includes fingerprint string data and screen percentage;
The fingerprint string data is drawn on video memory using default font and obtains a memory bitmap, and described in acquisition The original wide height of memory bitmap;
Determine the wide height of target of the corresponding fingerprint window of the finger print information according to the screen percentage, and by the original Beginning, width is high to be compared with the wide height of target;
When respectively less than target is wide high for the original wide height, according to the original wide high and wide height of target, by the memory The target memory bitmap is displayed on the screen to target memory bitmap by bitmap magnification.
The method that the set-top box shows finger print information, wherein described that the fingerprint is determined according to the screen percentage The wide height of target of the corresponding fingerprint window of information specifically includes:
Read the preset resolution ratio of set-top box the machine;
The wide height of target of the corresponding fingerprint window of the finger print information is calculated according to the resolution ratio and screen percentage.
The method that the set-top box shows finger print information, wherein it is described when respectively less than target is wide high for the original wide height, The memory bitmap is amplified to target memory bitmap, and the target memory bitmap is displayed on the screen and is specifically included:
It is cached according to the original wide high determining memory bitmap corresponding first of the memory bitmap;
It is cached according to the wide high determining fingerprint window corresponding second of the target of the fingerprint window;
First caching is amplified to second caching to obtain target memory bitmap according to bitmap magnification algorithm, and The memory bitmap is displayed on the screen.
The method that the set-top box shows finger print information, wherein the target according to the fingerprint window is wide high determining The fingerprint window corresponding second, which caches, to be specifically included:
The byte number that each pixel occupies is determined according to the resolution ratio of set-top box the machine;
According to the wide high number of pixels for determining the corresponding display area of the fingerprint window and including of the target;
Determine that the fingerprint window corresponding second delays according to the byte number that the number of pixels and each pixel occupy It deposits.
The method that the set-top box shows finger print information, further include:
When it is described it is original be wider than it is wide equal to target and/or it is original it is high be more than or equal to target it is high when, by the memory bitmap It is displayed on the screen.
A kind of system that set-top box shows finger print information comprising:
Receiving module, for receiving finger print information, wherein the finger print information includes fingerprint string data and screen hundred Divide ratio;
Drafting module obtains a memory bits for the fingerprint string data to be drawn on video memory using default font Figure, and obtain the original wide high of the memory bitmap;
Comparison module, for determining that the target of the corresponding fingerprint window of the finger print information is wide according to the screen percentage Height, and the original wide height is compared with the wide height of target;
Amplification module is used for when respectively less than target is wide high for the original wide height, wide according to the original wide height and target The memory bitmap is amplified to target memory bitmap, and the target memory bitmap is displayed on the screen by height.
The system that the set-top box shows finger print information, wherein described that the fingerprint is determined according to the screen percentage The wide height of target of the corresponding fingerprint window of information specifically includes:
Read the preset resolution ratio of set-top box the machine;
The wide height of target of the corresponding fingerprint window of the finger print information is calculated according to the resolution ratio and screen percentage.
The system that the set-top box shows finger print information, wherein the amplification module specifically includes:
First computing unit, for the original wide high determining memory bitmap corresponding first according to the memory bitmap Caching;
Second computing unit, for the wide high determining fingerprint window corresponding second of the target according to the fingerprint window Caching;
Amplifying unit, for first caching to be amplified to second caching to obtain mesh according to bitmap magnification algorithm Memory bitmap is marked, and the target memory bitmap is displayed on the screen.
The system that the set-top box shows finger print information, wherein the second acquisition unit specifically includes:
First computation subunit, for determining the byte number of each pixel occupancy according to the resolution ratio of set-top box the machine;
Second computation subunit, for determining that the corresponding display area of the fingerprint window includes according to the wide height of the target Number of pixels;
Third computation subunit, for determining the finger according to the byte number of the number of pixels and each pixel occupancy Corresponding second caching of line window.
The system that the set-top box shows finger print information, further include:
Display module, for when it is described it is original be wider than it is wide equal to target and/or it is original it is high be more than or equal to target it is high when, will The memory bitmap is displayed on the screen.
The utility model has the advantages that compared with prior art, showing the method for finger print information the present invention provides a kind of set-top box and being System, which comprises set-top box receives finger print information, wherein the finger print information includes fingerprint string data and screen Percentage;The fingerprint string data is drawn on video memory using default font and obtains a memory bitmap, and described in acquisition The original wide height of memory bitmap;Determine that the target of the corresponding fingerprint window of the finger print information is wide according to the screen percentage Height, and the original wide height is compared with the wide height of target;When respectively less than target is wide high for the original wide height, according to described The original wide high and wide height of target, is amplified to target memory bitmap for the memory bitmap, and the target memory bitmap is shown On the screen.The present invention is by being amplified to mesh corresponding with prescribed percentage data for the original wide height of fingerprint string data Mark is wide high, so that set-top box shows finger print information according to specified show percent, saves the memory source of set-top box, reduces The operating load of hardware.
Detailed description of the invention
Fig. 1 is the flow chart that set-top box provided by the invention shows that finger print information method is preferably implemented.
Fig. 2 is the structure principle chart that set-top box provided by the invention shows finger print information system.
Specific embodiment
The present invention provides a kind of method and system of set-top box display finger print information, to make the purpose of the present invention, technical side Case and effect are clearer, clear, and the present invention is described in more detail as follows in conjunction with drawings and embodiments.It should be appreciated that Described herein specific examples are only used to explain the present invention, is not intended to limit the present invention.
In the present invention, using the suffix for indicating such as " module ", " component " or " unit " of element only for advantageous In explanation of the invention, there is no specific meanings for itself.Therefore, module ", " component " or " unit " can mixedly make With.
With reference to the accompanying drawing, by the description of the embodiment, further explanation of the contents of the invention are made.
Fig. 1 is please referred to, Fig. 1 is the process for the preferred embodiment that set-top box provided by the invention shows finger print information method Figure.The described method includes:
S100, set-top box receive finger print information, wherein the finger print information includes fingerprint string data and screen percentage Than.
Specifically, the finger print information is that the set-top box is inserted into the corresponding head end video service device of CA card by distributing net Video is issued set-top box by network, and the finger print information is embedded in video when user plays the video and forms fingerprint view Frequently.The finger print information includes fingerprint string data and screen percentage.The fingerprint string data can be the machine Smart card (CA card) card number of top box configuration.Since the CA card that different set-top boxes configures is different, so that the CA card card number is These exclusive information are embedded into video by the exclusive information (referred to as fingerprint string data) that the set-top box possesses, set-top box Middle formation fingerprint video, then plays to user, so that the fingerprint video that different user plays viewing is also different, works as piracy When generation, the fingerprint string data according to included in video finally determines pirate source, to protect digital view The copyright of frequency.
When the fingerprint video is shown on the display screen of external equipment, the fingerprint string data can occupy display A line of screen or a column, and the side of screen can be shown in without influencing video content.For example, the fingerprint character string number According to top, bottom, left part or the right part etc. for being shown in display screen.
The screen percentage be CA producer preset and be stored in front-end server, when to set-top box send fingerprint When information, the screen percentage is embedded in the finger print information, so that set-top box can determine when receiving finger print information Its corresponding screen percentage.The screen percentage is a numerical value, the display that need to be occupied for indicating the finger print information Region and set-top box preset the percentage of painting canvas.That is, the screen percentage be the display area that need to be occupied with The zoom factor of default painting canvas, the display area that need to be occupied can be by scaling default painting canvas according to the screen percentage And it determines.In practical applications, the percentage is that width/height of the display area that need to be occupied and set-top box preset painting canvas Wide/high percentage.That is, the finger can be determined by presetting the width of painting canvas and height according to the percentage and set-top box The width and height for the display area that line information need to occupy.For example, the screen percentage is 30%, the wide height of painting canvas is defined as Screen_w, screen_h, then the width for the display area that the finger print information need to occupy is high to define window_w and window_ H the, then window_w=screen_w*30%, window_h=screen_h*30%.
S200, it the fingerprint string data is drawn on video memory using default font obtains a memory bitmap, and obtain Take the original wide high of the memory bitmap;
Specifically, the described fingerprint string data is drawn on video memory using default font obtains a memory bitmap It refers to when receiving finger print information, shows the fingerprint string data in set-top box using default font, and will draw The fingerprint string data made is stored in set-top box caching.It is described in set-top box caching to be drawn using default font Fingerprint string data be one section of memory bitmap.The available memory bitmap occupies after obtaining the memory bitmap Display area width and height, be denoted as the original wide high of memory bitmap.
The default font is the pre-stored font of set-top box, and is set as the font of default.That is, working as Set-top box receives the fingerprint character string that the finger print information carrying is drawn using the default font defaulted when finger print information Data.The default font can be the Song typeface, imitation Song-Dynasty-style typeface, regular script etc..Certainly, when receiving finger print information, if receiving use The instruction of font is changed at family, then draws the fingerprint string data using the font after change.
S300, the wide height of target that the corresponding fingerprint window of the finger print information is determined according to the screen percentage, and will The original wide height is compared with the wide height of target.
Specifically, it is high to refer to that the width that the finger print information is shown is arranged in front end for the wide height of the target.The wide height of target It is determined according to the resolution ratio of screen percentage and set-top box.The resolution of set-top box refers to the current adaptation of set-top box Resolution parameter.Since the set-top box can support a variety of resolution ratio, e.g., 1080P, 1080I, 720P, 480P etc.;To, The current adaptation resolution parameter of the set-top box can be set-top box according to point of the corresponding video content of the finger print information Resolution and the resolution ratio for determining adaptation.
Illustratively, described to determine that the target of the corresponding fingerprint window of the finger print information is wide according to the screen percentage Height, and original wide high be compared with the wide height of target can specifically include:
S301, the preset resolution ratio of set-top box the machine is read;
S302, the target that the corresponding fingerprint window of the finger print information is calculated according to the resolution ratio and screen percentage It is wide high.
Specifically, described to read the preset resolution ratio of set-top box the machine and refer to reading current suitable of the set-top box With resolution parameter, that is, obtain the width and height of set-top box painting canvas.It is used according to the width and high calculate of screen percentage and picture It is high in the width for the fingerprint window for showing the finger print information, it is denoted as the wide height of target.For example, the adaptation that the set-top box is current Resolution ratio is that the wide and high of the so described set-top box painting canvas of 1080P is respectively 1920 pixels and 1080 pixels.If screen percentage It is 10%, then the wide height of target is respectively 192 pixels and 108 pixels.
In the present embodiment, after getting the original wide high height wide with the target of fingerprint window of memory bitmap, by institute It states original wide height to be compared with the wide height of target, can the fingerprint window be taken with the determination memory bitmap.It is worth explanation , original wide high be compared with the wide height of target is referred to the width of the original width of memory bitmap and fingerprint window It is compared, and the original height of memory bitmap is compared with the height of fingerprint window.
S400, when it is described it is original it is wide high be respectively less than target it is wide high when, will be described according to the original wide high and wide height of target Memory bitmap is amplified to target memory bitmap, and the target memory bitmap is displayed on the screen.
Specifically, the original wide high wide height of target that is respectively less than refers to that the original width of the memory bitmap is less than fingerprint The width of window, and the original height of memory bitmap is less than fingerprint window;The i.e. described memory bitmap can be shown in the finger Line window, and the fingerprint window cannot be taken.
It is described according to the original wide high and wide height of target, the memory bitmap is amplified to target memory bitmap and is referred to The memory bitmap is amplified to target memory, a height of wide height of target of the width of the target memory, so that the target Memory can be embedded in the fingerprint window and take the fingerprint window, so that according to fingerprint described in screen percentages show String data, i.e., according to finger print information described in screen percentages show.
Illustratively, described when respectively less than target is wide high for the original wide height, it is wide according to the original wide high and target The memory bitmap is amplified to target memory bitmap by height, and the target memory bitmap is displayed on the screen specifically can be with Include:
S401, it is cached according to the original wide high determining memory bitmap corresponding first of the memory bitmap.
Specifically, the memory bitmap that first caching refers to occupies the size of set-top box spatial cache, i.e., described interior The corresponding cache size in display area need to be occupied by depositing bitmap, be denoted as buffer_src, and the cache size is equal to memory bitmap The original high structure of width constitutes the product of the number of pixels that region includes and the byte number that each number of pixels occupies.That is, buffer_ The byte number that the every pixel of src=finger_w*finger_h* occupies, wherein finger_w indicates the width of memory bitmap, The height of finger_h expression memory bitmap.
S402, it is cached according to the wide high determining fingerprint window corresponding second of target of the fingerprint window.
Specifically, second caching refers to the corresponding cache size in display area that the fingerprint window occupies, note The byte number occupied for buffer_dest, the every pixel of buffer_dest=window_w*window_h*.
Illustratively, the wide high determining fingerprint window corresponding second of the target according to the fingerprint window caches It specifically includes:
S4021, the byte number that each pixel occupies is determined according to the resolution ratio of set-top box the machine;
S4022, the number of pixels that the corresponding display area of the fingerprint window includes is determined according to the wide height of the target;
S4023, determine that the fingerprint window is corresponding according to the byte number that the number of pixels and each pixel occupy Second caching.
S403, first caching is amplified to obtain target memory position by second caching according to bitmap magnification algorithm Figure, and the target memory bitmap is displayed on the screen.
Specifically, described first caching is amplified to by second caching according to bitmap algorithm to refer to described the One memory bitmap amplifies, its original wide height is amplified to the wide height of target, so that the target memory bitmap that amplification obtains occupies Caching be second caching.That is, the input data by first caching as bitmap magnification algorithm, by described second The output data as bitmap magnification algorithm is cached, realizes from memory bitmap and is amplified to target memory bitmap.In practical applications, The bitmap magnification algorithm is image amplifying method, the bitmap magnification used as pinned the amplification of ctrl+ mouse pulley in word document With hand handle, it amplifies used bitmap magnification algorithm etc. to photo on algorithm or mobile phone.It is this for bitmap magnification algorithm The common knowledge in field, is just no longer described in detail here.
In another embodiment of the present invention, the method that the set-top box shows finger print information further include:
S500, when it is described it is original be wider than it is wide equal to target and/or it is original it is high be more than or equal to target it is high when, by the memory Bitmap is displayed on the screen.
Specifically, described original to be wider than wide equal to the target and/or original high target height that is more than or equal to and refer in described Depositing the display area that bitmap need to occupy can not be embedded in fingerprint window, at this moment in order to avoid finger print information show it is imperfect, by institute The wide high setting for stating memory bitmap is the width height of fingerprint window, and then the memory bitmap is displayed on the screen.
The present invention also provides the systems that a kind of set-top box shows finger print information, as shown in Fig. 2, comprising:
Receiving module 100, for receiving finger print information, wherein the finger print information includes fingerprint string data and screen Curtain percentage;
Drafting module 200 is obtained in one for the fingerprint string data to be drawn on video memory using default font Bitmap is deposited, and obtains the original wide high of the memory bitmap;
Comparison module 300, for determining the mesh of the corresponding fingerprint window of the finger print information according to the screen percentage Mark is wide high, and the original wide height is compared with the wide height of target;
Amplification module 400 is used for when respectively less than target is wide high for the original wide height, according to the original wide height and target It is wide high, the memory bitmap is amplified to target memory bitmap, and the target memory bitmap is displayed on the screen.
The system that the set-top box shows finger print information, wherein described that the fingerprint is determined according to the screen percentage The wide height of target of the corresponding fingerprint window of information specifically includes:
Read the preset resolution ratio of set-top box the machine;
The wide height of target of the corresponding fingerprint window of the finger print information is calculated according to the resolution ratio and screen percentage.
The system that the set-top box shows finger print information, wherein the amplification module specifically includes:
First computing unit, for the original wide high determining memory bitmap corresponding first according to the memory bitmap Caching;
Second computing unit, for the wide high determining fingerprint window corresponding second of the target according to the fingerprint window Caching;
Amplifying unit, for first caching to be amplified to second caching to obtain mesh according to bitmap magnification algorithm Memory bitmap is marked, and the target memory bitmap is displayed on the screen.
The system that the set-top box shows finger print information, wherein the second acquisition unit specifically includes:
First computation subunit, for determining the byte number of each pixel occupancy according to the resolution ratio of set-top box the machine;
Second computation subunit, for determining that the corresponding display area of the fingerprint window includes according to the wide height of the target Number of pixels;
Third computation subunit, for determining the finger according to the byte number of the number of pixels and each pixel occupancy Corresponding second caching of line window.
The system that the set-top box shows finger print information, further include:
Display module, for when it is described it is original be wider than it is wide equal to target and/or it is original it is high be more than or equal to target it is high when, will The memory bitmap is displayed on the screen.
In embodiment provided by the present invention, it should be understood that disclosed system and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the module, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various It can store the medium of program code.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (10)

1. a kind of method that set-top box shows finger print information, characterized in that it comprises:
Set-top box receives finger print information, wherein the finger print information includes fingerprint string data and screen percentage;
The fingerprint string data is drawn on video memory using default font and obtains a memory bitmap, and obtains the memory The original wide height of bitmap;
Determine the wide height of target of the corresponding fingerprint window of the finger print information according to the screen percentage, and by the original width Height is compared with the wide height of target;
When respectively less than target is wide high for the original wide height, according to the original wide high and wide height of target, by the memory bitmap It is amplified to target memory bitmap, and the target memory bitmap is displayed on the screen;
It is described to be compared the original wide height with the wide height of target specifically: by the original width of memory bitmap and fingerprint window Width be compared, and the original height of memory bitmap is compared with the height of fingerprint window, with determination it is described in It deposits bitmap and takes the fingerprint window;
The screen percentage is to preset and be stored in front-end server, will when sending finger print information to set-top box The screen percentage is embedded in the finger print information, so that set-top box can determine its corresponding screen when receiving finger print information Curtain percentage.
2. the method that set-top box shows finger print information according to claim 1, which is characterized in that described according to the screen hundred The target of point fingerprint window more corresponding than the determination finger print information is wide high to be specifically included:
Read the preset resolution ratio of set-top box the machine;
The wide height of target of the corresponding fingerprint window of the finger print information is calculated according to the resolution ratio and screen percentage.
3. the method that set-top box shows finger print information according to claim 1, which is characterized in that described when described original wide high When respectively less than target is wide high, the memory bitmap is amplified to target memory bitmap, and the target memory bitmap is shown It is specifically included on screen:
It is cached according to the original wide high determining memory bitmap corresponding first of the memory bitmap;
It is cached according to the wide high determining fingerprint window corresponding second of the target of the fingerprint window;
First caching is amplified to second caching to obtain target memory bitmap according to bitmap magnification algorithm, and by institute Target memory bitmap is stated to be displayed on the screen.
4. the method that set-top box shows finger print information according to claim 3, which is characterized in that described according to the fingerprint window The wide high determining fingerprint window corresponding second of the target of mouth, which caches, to be specifically included:
The byte number that each pixel occupies is determined according to the resolution ratio of set-top box the machine;
According to the wide high number of pixels for determining the corresponding display area of the fingerprint window and including of the target;
Corresponding second caching of the fingerprint window is determined according to the byte number that the number of pixels and each pixel occupy.
5. the method that set-top box shows finger print information according to claim 1, which is characterized in that its further include:
When it is described it is original be wider than it is wide equal to target and/or it is original it is high be more than or equal to target it is high when, the memory bitmap is shown On the screen.
6. the system that a kind of set-top box shows finger print information, characterized in that it comprises:
Receiving module, for receiving finger print information, wherein the finger print information includes fingerprint string data and screen percentage Than;
Drafting module obtains a memory bitmap for the fingerprint string data to be drawn on video memory using default font, And obtain the original wide high of the memory bitmap;
Comparison module, for determining the wide height of target of the corresponding fingerprint window of the finger print information according to the screen percentage, And the original wide height is compared with the wide height of target;
Amplification module is used for when respectively less than target is wide high for the original wide height, will according to the original wide height and the wide height of target The memory bitmap is amplified to target memory bitmap, and the target memory bitmap is displayed on the screen;
The comparison module is specifically used for: the original width of memory bitmap being compared with the width of fingerprint window, and will The original height of memory bitmap is compared with the height of fingerprint window, takes the fingerprint window with the determination memory bitmap Mouthful;
The screen percentage is to preset and be stored in front-end server, will when sending finger print information to set-top box The screen percentage is embedded in the finger print information, so that set-top box can determine its corresponding screen when receiving finger print information Curtain percentage.
7. the system that set-top box shows finger print information according to claim 6, which is characterized in that described according to the screen hundred The target of point fingerprint window more corresponding than the determination finger print information is wide high to be specifically included:
Read the preset resolution ratio of set-top box the machine;
The wide height of target of the corresponding fingerprint window of the finger print information is calculated according to the resolution ratio and screen percentage.
8. the system that set-top box shows finger print information according to claim 6, which is characterized in that the amplification module specifically wraps It includes:
First computing unit, for being delayed according to the original wide high determining memory bitmap corresponding first of the memory bitmap It deposits;
Second computing unit delays for the wide high determining fingerprint window corresponding second of the target according to the fingerprint window It deposits;
Amplifying unit, for first caching to be amplified to second caching to obtain in target according to bitmap magnification algorithm Bitmap is deposited, and the target memory bitmap is displayed on the screen.
9. the system that set-top box shows finger print information according to claim 8, which is characterized in that the second computing unit tool Body includes:
First computation subunit, for determining the byte number of each pixel occupancy according to the resolution ratio of set-top box the machine;
Second computation subunit, for according to the wide high picture for determining the corresponding display area of the fingerprint window and including of the target Plain number;
Third computation subunit, for determining the fingerprint window according to the byte number of the number of pixels and each pixel occupancy Corresponding second caching of mouth.
10. the system that set-top box shows finger print information according to claim 6, which is characterized in that its further include:
Display module, for when it is described it is original be wider than it is wide equal to target and/or it is original it is high be more than or equal to target it is high when, will be described Memory bitmap is displayed on the screen.
CN201611198796.1A 2016-12-22 2016-12-22 A kind of set-top box shows the method and system of finger print information Active CN106658121B (en)

Priority Applications (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
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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN106658121A CN106658121A (en) 2017-05-10
CN106658121B true CN106658121B (en) 2019-06-11

Family

ID=58834018

Family Applications (1)

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

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 (3)

* 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

Family Cites Families (1)

* 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

Patent Citations (3)

* 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

Also Published As

Publication number Publication date
WO2018113420A1 (en) 2018-06-28
CN106658121A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
US8687222B2 (en) Image data buffer apparatus and data transfer system for efficient data transfer
JP4979901B2 (en) Harmonization of digital information flow and human perception system
CN106528025B (en) Multi-screen image projection method, terminal, server and system
CN110377257A (en) Layer composition, device, electronic equipment and storage medium
US9721391B2 (en) Positioning of projected augmented reality content
US8767005B2 (en) Blend equation
CN107943363B (en) Background image configuration method and device, interactive intelligent panel and storage medium
CN106062662A (en) System and method for providing power-saving static image display refresh in a DRAM memory system
CN106658121B (en) A kind of set-top box shows the method and system of finger print information
US20040034613A1 (en) System and method for dynamically generating a style sheet
CN110363831A (en) Layer composition, device, electronic equipment and storage medium
US9030378B2 (en) Sharing display processing system, display processing system, and display method
GB2484736A (en) Connecting a display device via USB interface
CN107103890A (en) Display application on fixed-direction display
CN101778226A (en) High-definition image sawtooth-prevention method, device and digital television receiving terminal
CN106251279A (en) A kind of image processing method and terminal
JP5282092B2 (en) Multi-sample rendering of 2D vector images
US20150138237A1 (en) Systems and methods for compositing a display image from display planes using enhanced blending hardware
CN100553305C (en) Television set image scaling apparatus
US20090295817A1 (en) Method for reading and writing image data in memory
GB2538797A (en) Managing display data
CN113316018B (en) Method, device and storage medium for overlaying time information on video picture display
WO2007057053A1 (en) Conditional updating of image data in a memory buffer
CN113840174A (en) Image display method, system and storage medium
CN102487362B (en) The display packing of IM message and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant