CN111161668B - Display drive control method based on android system advertising machine - Google Patents
Display drive control method based on android system advertising machine Download PDFInfo
- Publication number
- CN111161668B CN111161668B CN202010193168.4A CN202010193168A CN111161668B CN 111161668 B CN111161668 B CN 111161668B CN 202010193168 A CN202010193168 A CN 202010193168A CN 111161668 B CN111161668 B CN 111161668B
- Authority
- CN
- China
- Prior art keywords
- screen
- screen parameter
- main board
- modular
- storage device
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention relates to a display drive control method based on an android system advertisement machine, which comprises the following steps of setting a modularized advertisement machine drive main board, configuring a mobile storage device, wherein a screen parameter file is stored in the mobile storage device, starting to match the screen parameter file, starting to run a modularized advertisement machine drive main board system, modifying the screen parameter file in the mobile storage device according to screen specifications of different types of advertisement machine display screens, storing the screen parameter file in the mobile storage device, inserting the mobile storage device into a USB port of a modularized advertisement machine drive main board circuit, and then specifically configuring the screen parameter file.
Description
Technical Field
The invention relates to a display drive control method of an advertising machine, in particular to a display drive control method based on an android system advertising machine.
Background
The advertisement player is a new generation of intelligent equipment, forms a complete advertisement broadcasting control system through terminal software control, network information transmission and multimedia terminal display, and carries out advertisement propaganda through multimedia materials such as pictures, characters, videos, small plug-ins (weather, exchange rate and the like). The initial idea of the advertising engine was to change the advertisement to active, so the interactivity of the advertising engine enabled it to serve many public services and thereby attract customers to actively view the advertisement. Therefore, the mission of the advertisement player at the beginning of birth is to change the mode of passive advertisement propagation and attract customers to actively browse advertisements in an interactive mode. The development direction of advertising machines continues to be the mission of intelligent interaction, public service, entertainment interaction, etc.
In view of the characteristics of the above-mentioned advertisement machines, advertisement machine type equipment has been widely used at present, however, for different display screen sizes, advertisement machine manufacturers with different display screen parameters need to customize the main board, the driver and the related configuration for the advertisement machine at present, so the production, research and development costs of the current advertisement machine products are high, which is not beneficial to mass popularization and use, and this is a main disadvantage of the traditional technology.
Disclosure of Invention
The technical scheme adopted by the invention is as follows: a display driving control method based on an android system advertising machine is characterized by comprising the following steps: the method comprises the following steps of setting a modular advertisement machine driving main board, configuring a mobile storage device, wherein a screen parameter file is stored in the mobile storage device, starting to match the screen parameter file, starting the system of the modular advertisement machine driving main board to run, modifying the screen parameter file in the mobile storage device according to screen specifications of different types of advertisement machine display screens, and storing the screen parameter file in the mobile storage device.
And fourthly, inserting the mobile storage device into a USB port of the circuit of the modular advertisement machine driving main board, reading the screen parameter file in the mobile storage device by the modular advertisement machine driving main board, and then carrying out the following steps.
Step 1, the modular advertising machine driving main board judges the screen parameter file in the mobile storage device, when the screen parameter file does not exist in the eeprom of the modular advertising machine driving main board or when the screen parameter file in the eeprom of the modular advertising machine driving main board is the same as the screen parameter file in the mobile storage device, the screen parameter file in the eeprom of the modular advertising machine driving main board is used as the screen parameter file of the display screen of the advertising machine, and when the screen parameter file exists in the eeprom of the modular advertising machine driving main board and is different from the screen parameter file in the mobile storage device, the following steps are carried out.
And 2, copying the screen parameter file in the mobile storage device into an eeprom of the modular advertising machine driving main board by the modular advertising machine driving main board, covering the original screen parameter file in the eeprom, and 3, taking the screen parameter file in the current eeprom as the screen parameter file of the display screen of the advertising machine by the modular advertising machine driving main board, and restarting the modular advertising machine driving main board system, wherein the display screen of the advertising machine is lightened by the modular advertising machine driving main board according to the screen parameter file in the current eeprom.
The invention has the beneficial effects that: firstly, the display driving control effect can be more comprehensive and the use effect is more excellent through the technology of the invention; the technology of the invention has low requirements on user groups, and different professional groups can easily reach the hands of users at different age stages according to the course; in implementation, time and space are not limited, and display driving can be controlled only by one peripheral such as a U disk or an SD (secure digital) disk; secondly, the technology of the invention not only can light up the LVDS screen, but also can light up the MIPI screen; the compatibility of LVDS and MIPI can be realized, firmware does not need to be refreshed, and the cost of a client is saved; in addition, the use cost of the user is saved from the aspect of commercial value, and the technology can be easily mastered by common people.
At present, liquid crystal advertising machines with different sizes and screen sizes have certain difference in resolution, a user cannot display all screens through one screen parameter, and the technology of the invention can be used for adjusting the difference so that the screens can be displayed to the public.
In addition, the user can select the corresponding screen parameter file according to the size of the screen, so that the waste of time and resources caused by blindly trying various sizes is avoided, and the working efficiency of the user is improved. The user can change some attribute values according to the actual requirements of the user, and all the attribute values cannot be fixed for the user, so that the special requirements of the user are facilitated. And the changed conditions are easy to change and operate. For example, when the screen is blurred, only the lvds _ fmt needs to be set to 0 or 1, and other resolutions need to be configured, and only three values of hdmi _ mode, lcd _ x and lcd _ y need to be changed. Meanwhile, the user can simply and conveniently obtain the PID and VID of the touch screen on the computer of the user without finding a developer for obtaining, and when the user does not need to set the touch screen, the user does not need to obtain and set the two attribute values; when the user does not want to use the touch screen after testing the function, the two attribute values can be deleted without influencing the normal use of the screen parameter.
Drawings
FIG. 1 is a block schematic diagram of the present invention.
Detailed Description
As shown in fig. 1, a display driving control method based on an android system advertising machine includes the following steps.
The method comprises the following steps of firstly, setting a modularized advertising machine driving main board.
The modularized advertising machine driving main board can be matched with advertising machines of different types, and the interior of the modularized advertising machine driving main board is a wildcard component except a screen parameter file.
And secondly, configuring a mobile storage device, wherein a screen parameter file is stored in the mobile storage device.
In a specific implementation, the mobile storage device may be an external device such as a U disk or an SD, and the screen parameter file is a screen parameter file with an extension of txt, for example, an LCD _ txt file.
And thirdly, matching screen parameter files, starting up and running the modularized advertising machine driving a main board system, modifying the screen parameter files in the mobile storage equipment according to the screen specifications of the display screens of different types of advertising machines, and storing the screen parameter files in the mobile storage equipment.
And fourthly, inserting the mobile storage equipment into a USB port of the modular advertisement machine driving mainboard circuit.
The modular advertising machine driving main board reads the screen parameter file in the mobile storage device, and then the following steps are carried out.
Step 1, the modular advertising machine driving main board judges the screen parameter file in the mobile storage device.
In specific implementation, the modular advertising machine driving main board calls an updateFile () file in PowerOnOff to judge.
And when the screen parameter file does not exist in the eeprom of the modular advertisement machine driving main board or when the screen parameter file in the eeprom of the modular advertisement machine driving main board is the same as the screen parameter file in the mobile storage device, taking the screen parameter file in the eeprom of the modular advertisement machine driving main board as the screen parameter file of the display screen of the advertisement machine.
And when a screen parameter file exists in eeprom of the driving main board of the modular advertising machine and is different from the screen parameter file in the mobile storage device, the following steps are carried out.
And 2, copying the screen parameter file in the mobile storage device to an eeprom of the modular advertisement machine driving mainboard by the modular advertisement machine driving mainboard, and covering the original screen parameter file in the eeprom.
And 3, taking the screen parameter file in the current eeprom as the screen parameter file of the display screen of the advertising machine by the driving main board of the modular advertising machine.
And 4, restarting the modular advertising machine driving main board system.
The modular advertising machine driving main board lights up the display screen of the advertising machine according to the screen parameter file in the current eeprom.
In the implementation, in the second step, according to the size of the display screen of the advertising machine, the corresponding screen parameters are selected, and the following conditions need to be noticed in the selection process: the screen parameters are classified into general screen parameters and special screen parameters. If RK3128 is used as the main board, its general screen references are 800 × 480, 800 × 600, 1024 × 600, 1920 × 1080, etc., while the special screen references are 10.1 inch-BP 101WX1-1280 × 800, 11.6 inch-NT 116WHM-N11-EDP,15.6 inch-NV 156FHM-N41-1920 × 1080, 21.5 inch-M125 NWN1-1366 × 768, etc.
Specifically, when the third step and the fourth step are carried out, in the system starting state, the txt file containing the screen parameter is copied to a U disk or an SD access device through an interface, and the system can automatically identify the screen parameter at the moment.
The modular advertising machine driving main board defines a character type value get _ DISP _ PARAM [ AT24_ DISP _ PARAM _ SIZE ] in an AT24.C file under eeprom, stores data contained in screen parameters, defines a parse _ DISP _ PARAM () method under an rk31xx _ lvds. C file, and is used for comparing the screen parameters in get _ DISP _ PARAM and eeprom, and if get _ DISP _ PARAM = NULL, the modular advertising machine driving main board system takes the default screen parameters of the system as the screen parameters of the advertising machine.
The modular advertisement machine driving main board calls an updateFile () method in UpdateFileActivity in PowerOnOff to compare with the accessed screen reference file in the mobile storage device.
That is, when the mobile storage device is accessed, the broadcast mechanism of the modular advertisement machine driving main board sends out a broadcast, and then the PowerOnOff receives the broadcast and calls the updateFile () method to compare with the accessed data.
If the screen parameters are the same, the screen parameter in eeprom is used as the screen parameter of the current display screen of the advertising machine; if the screen parameters are different, copying the new screen parameter attribute into the eeprom, covering the original screen parameter attribute, taking the parameters in the current eeprom as the screen parameters of the display screen of the advertising machine, and restarting.
As mentioned above, after the system is started, display control has been successfully performed, and it is possible to do so if the user feels that the screen display has not been fully displayed and wants to be modified, but some basic knowledge of the screen parameter attributes is required.
screen _ type =2, and the attribute value is fixed to 2; lcd _ face =0, and the attribute value is fixed to 0; LVDS _ fmt =0, for screen splash adjustment, 0 for LVDS _8bit _1,1 for LVDS _8bit _2; HDMI _ mode =15, which is the HDMI output resolution (configuration is valid only in the HDMI output state); lcd _ x =1920, which is the width of the set resolution; lcd _ y =1080, which is the height at which the resolution is set; lcd _ dclk _ freq =148, which is an lcd _ dilk _ freq format 148m,148000k,148000000; lcd _ hsync =10, which represents the Horizontal Sync Pulse Width Sync signal Width; lcd _ hbp =100, representing hsync back porch; lcd _ hfp =18, representing hsync front porch; lcd _ vsync =10, representing the Vertical Sync Pulse Width Sync signal Width; lcd _ vbp =8, which is vsync back porch; lcd _ vfp =6, which is vsync front porch; lcd _ lvds _ pdwn =1, which is a fixed value, unalterable; lcd _ panel _ pwr =1, which is a fixed value; lcd _ lvds _ ch =1,1 represents dual link,0 represents single link, and this property is control single-dual channel; lcd _ lvds _ ddr _ enable =1, lcd _lvds _clk _edge =1 are fixed values, unchangeable; the attribute is the lvdsch AB channel data swap, 0 is default, and 1 is swap; pin _ vsync =1, pin _hsync =1, pin _dclk =1, pin _den =0, which are fixed values and cannot be changed; pin _ drv =7, the IO driving capability of an LVDS data pin, YS-5 is default to 7, and the swing amplitude of each gear is in the range of 2 to 11; 3.55 +/-10 mV;5.70 +/-10 mV;7.80 +/-10 mV;9.90 +/-10 mV;11.100 +/-10 mV; lcd _ pwm _ pol =0, which is the backlight brightness adjustment reversal setting 0 or 1; hid _ pid =0x2341, which refers to USB hid touchscreen device ID; hid _ vid =0x0098; this is the USB touchscreen manufacturer ID.
In specific implementation, a configuration method for controlling the touch screen displayed by the advertising player is introduced as follows, firstly, the PID and VID of the touch screen need to be obtained; 1. inserting the USB touch screen into a computer, automatically installing a driver by a standard touch screen computer, waiting for the driver to be installed, 2, clicking management to find an equipment manager, 3, finding a right corresponding human input device or a universal serial bus controller, mainly aiming at finding the driver corresponding to the USB touch screen, 4, selecting a first HID-compatible device, selecting an attribute by a right key, 5, generating a dialog box, and clicking a hardware ID of detailed information to see the corresponding pid and vid. And then writing the PID and VID of the USB touch screen into a screen parameter file, firstly opening the screen parameter file by using a note book, then inputting the corresponding PID and VID for storage, and finally inserting the card into the main board, automatically restarting and then pulling out the card.
Claims (5)
1. A display driving control method based on an android system advertising machine is characterized by comprising the following steps: comprises the following steps of (a) carrying out,
firstly, setting a modular advertisement machine driving main board,
secondly, configuring a mobile storage device, wherein screen parameter files are stored in the mobile storage device,
thirdly, matching screen parameter files, starting the modular advertising player to drive the main board system to run, modifying the screen parameter files in the mobile storage device according to the screen specifications of the display screens of different types of advertising players, storing the screen parameter files in the mobile storage device,
fourthly, inserting the mobile storage device into a USB port of the modular advertisement machine driving mainboard circuit,
the modular advertisement machine driving main board reads the screen parameter file in the mobile storage device, and then the following steps are carried out,
step 1, the modular advertisement machine driving main board judges the screen parameter file in the mobile storage device,
when the screen parameter file does not exist in the eeprom of the modular advertisement machine driving main board or when the screen parameter file in the eeprom of the modular advertisement machine driving main board is the same as the screen parameter file in the mobile storage device, the screen parameter file in the eeprom of the modular advertisement machine driving main board is used as the screen parameter file of the display screen of the advertisement machine,
when a screen parameter file exists in eeprom of the driving main board of the modular advertising machine and is different from the screen parameter file in the mobile storage device, the following steps are carried out,
step 2, the modular advertisement machine driving main board copies the screen parameter file in the mobile storage device to eeprom of the modular advertisement machine driving main board, and covers the original screen parameter file in the eeprom,
step 3, the modular advertising machine driving main board takes the screen parameter file in the current eeprom as the screen parameter file of the advertising machine display screen,
step 4, the modularized advertising machine drives the mainboard system to restart,
the modular advertising machine driving main board lights up the display screen of the advertising machine according to the screen parameter file in the current eeprom.
2. The display drive control method based on the android system advertising player as recited in claim 1, characterized in that: in the second step, the mobile storage device is a USB flash disk.
3. The display drive control method based on the android system advertising player as claimed in claim 1, characterized in that: in the second step, the screen parameter file is the screen parameter file with the extension of txt.
4. The display drive control method based on the android system advertising player as recited in claim 1, characterized in that: in step 1, the modular advertising machine driving mainboard calls an updateFile () file in PowerOnOff to judge.
5. The display drive control method based on the android system advertising player as recited in claim 1, characterized in that: when the third step and the fourth step are carried out,
in the system starting state, the txt file containing the screen parameter is copied to a U disk or an SD accesses equipment through an interface, the system can automatically identify the screen parameter at the moment,
the modular advertisement machine driving main board defines a character type value get _ DISP _ PARAM [ AT24_ DISP _ PARAM _ SIZE ] in an AT24.C file under eeprom, which stores data contained in screen parameters, defines a pars _ DISP _ PARAM () method under an rk31xx _ lvds. C file, which is used for comparing the screen parameters in get _ DISP _ PARAM and eeprom, if get _ DISP _ PARAM = NULL, the modular advertisement machine driving main board system takes the default screen parameters of the system as the screen parameters of the advertisement machine,
the modular advertising machine driving main board calls an updateFile () method in updateFile activity in java in PowerOnOff to compare with the accessed screen reference file in the mobile storage device,
that is, when the mobile storage device is accessed, the broadcasting mechanism of the modular advertisement machine driving main board will send out the broadcast, and then the PowerOnOff will receive the broadcast, call the updateFile () method to compare with the accessed data,
if the screen parameters are the same, taking the screen parameter in the eeprom as the screen parameter of the display screen of the current advertising machine; if the screen parameters are different, copying new screen parameter attributes into the eeprom, covering the original screen parameter attributes, then taking the parameters in the current eeprom as the screen parameters of the display screen of the advertising machine, and then restarting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010193168.4A CN111161668B (en) | 2020-03-18 | 2020-03-18 | Display drive control method based on android system advertising machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010193168.4A CN111161668B (en) | 2020-03-18 | 2020-03-18 | Display drive control method based on android system advertising machine |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111161668A CN111161668A (en) | 2020-05-15 |
CN111161668B true CN111161668B (en) | 2023-03-28 |
Family
ID=70567625
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010193168.4A Active CN111161668B (en) | 2020-03-18 | 2020-03-18 | Display drive control method based on android system advertising machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111161668B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112000374B (en) * | 2020-07-13 | 2024-01-02 | 深圳市智微智能软件开发有限公司 | USB touch screen replacement method, device, equipment and medium applied to android system |
CN112000377A (en) * | 2020-07-29 | 2020-11-27 | 深圳市智微智能软件开发有限公司 | Method, system, equipment and storage medium for quickly modifying default screen parameters |
CN116521106A (en) * | 2022-01-21 | 2023-08-01 | 惠州视维新技术有限公司 | Screen matching method, screen configuration method and screen matching device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20090095241A (en) * | 2008-03-05 | 2009-09-09 | 경 영 이 | Advertising image generator, display divice including the same and driving method thereof |
CN105632371A (en) * | 2014-11-06 | 2016-06-01 | 上海市小荷展示器材科技有限公司 | Multifunctional customized interactive advertising player based on Android system |
CN105895004A (en) * | 2016-05-25 | 2016-08-24 | 深圳创维-Rgb电子有限公司 | Display screen driving method and device |
CN206148106U (en) * | 2016-08-30 | 2017-05-03 | 重庆卓美华视光电有限公司 | Advertisement machine and advertisement machine system |
CN107230445A (en) * | 2017-06-05 | 2017-10-03 | 广州视源电子科技股份有限公司 | The collocation method and device of a kind of screen parameter |
-
2020
- 2020-03-18 CN CN202010193168.4A patent/CN111161668B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20090095241A (en) * | 2008-03-05 | 2009-09-09 | 경 영 이 | Advertising image generator, display divice including the same and driving method thereof |
CN105632371A (en) * | 2014-11-06 | 2016-06-01 | 上海市小荷展示器材科技有限公司 | Multifunctional customized interactive advertising player based on Android system |
CN105895004A (en) * | 2016-05-25 | 2016-08-24 | 深圳创维-Rgb电子有限公司 | Display screen driving method and device |
CN206148106U (en) * | 2016-08-30 | 2017-05-03 | 重庆卓美华视光电有限公司 | Advertisement machine and advertisement machine system |
CN107230445A (en) * | 2017-06-05 | 2017-10-03 | 广州视源电子科技股份有限公司 | The collocation method and device of a kind of screen parameter |
Also Published As
Publication number | Publication date |
---|---|
CN111161668A (en) | 2020-05-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111161668B (en) | Display drive control method based on android system advertising machine | |
US8362971B1 (en) | Independent views generated for multiple display devices by a software application | |
TWI611345B (en) | System and method for controlling multiple displays | |
CN104822040B (en) | A kind of multiple format video sequence generation system and method based on FPGA | |
CN109830204B (en) | Time schedule controller, display driving method and display device | |
CN103109267B (en) | Change the method, apparatus and system of image display properties | |
CN113014970B (en) | Display apparatus and display control method | |
CN100466049C (en) | Driving apparatus for liquid crystal display | |
CN111128082B (en) | Backlight adjusting method, display and storage medium | |
JP2840374B2 (en) | Display control device | |
US20090055766A1 (en) | Content Scheduling Method and Scheduling Interface of Display | |
US7176932B2 (en) | Method for adjusting attribute of video signal | |
US20070294437A1 (en) | Method for automatically adjusting driving signals of a peripheral device and systems of operating the same | |
TWM556390U (en) | Smart simulator for extended display identification data | |
CN1266583C (en) | Projection display equipment | |
TWI223769B (en) | Method of transmitting display data | |
US7463883B2 (en) | Multi-functional integrated circuit apparatus in mobile communication terminal and driving method thereof | |
CN220526316U (en) | MST display expansion control circuit and device | |
JPH09274475A (en) | A plurality of display devices capable of connecting to one computer | |
CN114974152B (en) | Display screen flicker correction method and display screen flicker correction system | |
CN111883073B (en) | Display method of electronic equipment and electronic equipment | |
CN113066447B (en) | Electronic device and display screen control method | |
CN101465101A (en) | Method for rapidly switching LCD screen of portable electronic product | |
CN1313940C (en) | Method for transmitting display data | |
CN111966392A (en) | Intelligent terminal customized configuration method, intelligent terminal and storage medium |
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 |