CN117270804A - Method, system, equipment and storage medium for fixing main screen by multiple screens - Google Patents

Method, system, equipment and storage medium for fixing main screen by multiple screens Download PDF

Info

Publication number
CN117270804A
CN117270804A CN202311250730.2A CN202311250730A CN117270804A CN 117270804 A CN117270804 A CN 117270804A CN 202311250730 A CN202311250730 A CN 202311250730A CN 117270804 A CN117270804 A CN 117270804A
Authority
CN
China
Prior art keywords
screen
resolution data
screens
target
main screen
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.)
Granted
Application number
CN202311250730.2A
Other languages
Chinese (zh)
Other versions
CN117270804B (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.)
Guangdong Baolun Electronics Co ltd
Original Assignee
Guangdong Baolun Electronics 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 Guangdong Baolun Electronics Co ltd filed Critical Guangdong Baolun Electronics Co ltd
Priority to CN202311250730.2A priority Critical patent/CN117270804B/en
Publication of CN117270804A publication Critical patent/CN117270804A/en
Application granted granted Critical
Publication of CN117270804B publication Critical patent/CN117270804B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0412Digitisers structurally integrated in a display
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a method, a system, equipment and a storage medium for fixing a main screen by multiple screens, wherein the method for fixing the main screen by multiple screens comprises the steps of acquiring resolution data of the main screen in the multiple screens; polling to obtain resolution data of other screens except the main screen; comparing the resolution data of the rest screens to obtain a screen with the maximum resolution data, wherein the screen with the maximum resolution data is a target screen; judging whether the resolution data of the target screen is smaller than the resolution data of the main screen or not, wherein the system is used for controlling all screens; if yes, the system works with the main screen; otherwise, the system sets the target screen as a main screen and then works. The invention corrects the screen display sequence.

Description

Method, system, equipment and storage medium for fixing main screen by multiple screens
Technical Field
The present invention relates to the field of screen apparatuses, and in particular, to a method, a system, an apparatus, and a storage medium for fixing a home screen with multiple screens.
Background
Most of the current enterprises have paperless lifters, the current paperless lifters have a large screen and a small screen, the large screen supports a touch screen, under normal conditions, the lifters are started, the front screen displays paperless software, the rear screen small screen displays welcome interfaces, but after the lifters are started for many times, the rear small screen displays paperless software, the front large screen displays welcome interfaces, and meanwhile, the touch of the front large screen is affected by the influence, so that the touch point cannot control the front touch screen, and the touch point controls the back small screen.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a method, a system, equipment and a storage medium for fixing a main screen by multiple screens, which can solve the problem that large-screen touch points cannot be controlled due to disordered display of a large-size screen of a paperless lifter.
In order to achieve the above object, the present invention provides a method for fixing a main screen with multiple screens, including:
acquiring resolution data of a main screen among multiple screens;
polling to obtain resolution data of other screens except the main screen;
comparing the resolution data of the rest screens to obtain a screen with the maximum resolution data, wherein the screen with the maximum resolution data is a target screen;
judging whether the resolution data of the target screen is smaller than the resolution data of the main screen or not, wherein the system is used for controlling all screens;
if yes, the system works with the main screen; otherwise, the system sets the target screen as a main screen and then works.
Further, the polling to acquire resolution data of the remaining screens excluding the home screen includes:
and polling according to the function provided by the system through a bottom layer interface of the system to acquire resolution data of other screens except the main screen.
Further, the comparing based on the resolution data of the rest screens to obtain a screen with the largest resolution data, wherein the screen with the largest resolution data is a target screen and comprises:
after the resolution data of the rest screens are obtained, comparing the resolution data to obtain a screen with the maximum resolution data, and taking the screen with the maximum resolution as a target screen.
Further, the system determining whether the resolution data of the target screen is less than the resolution data of the home screen comprises:
the system compares the resolution data of the main screen with the resolution data of the target screen, and is used for judging whether the main screen selected by the system is a correct screen, and when the resolution data of the target screen is smaller than the resolution data of the main screen, the screen display sequence is correct, and the selected main screen is the correct screen; when the resolution data of the main screen is smaller than that of the target screen, the screen display sequence is disordered, and the selected main screen is an error screen.
Further, setting the target screen as a home screen includes:
and setting the target screen as a main screen by calling a system function according to the acquired data of the target screen.
Further, setting the target screen as the main screen further includes:
and after the system registry is modified into the name parameter of the target screen, restarting the touch interface of the system, and correcting touch.
The invention also provides a system for fixing the main screen by multiple screens, which comprises:
the acquisition module is used for acquiring the resolution data of the main screen and the resolution data of other screens except the main screen;
the judging module is used for comparing the resolution data of the rest screens with the resolution data of the target screen to judge whether the resolution data of the target screen is smaller than the resolution data of the main screen;
the control module is used for setting the target screen as a main screen to work;
further, the acquisition module includes:
the selecting unit is used for acquiring the resolution data of all the screens and processing the resolution data of all the screens;
and the storage unit is used for receiving and storing the resolution data of all the screens transmitted by the selection unit.
The invention also provides a device for fixing the main screen by multiple screens, which comprises:
a memory for storing a program;
and the processor is used for executing the program and realizing the steps of the method for fixing the main screen by using the multiple screens.
The present invention also provides a storage medium storing a computer program which, when executed by a processor, implements the steps of the method for multi-screen fixed home screen described in any of the above.
Compared with the prior art, the invention has the beneficial effects that: and detecting the main screen and all accessed screens, comparing, judging whether the display sequence of the screens is disordered, correcting the display sequence of the screens according to the judging result, enabling the screen with high resolution to be the main screen, and recovering the touch function of the large screen.
Drawings
FIG. 1 is a flow chart of a method for fixing a home screen with multiple screens according to the present invention;
FIG. 2 is a flow chart of a method for fixing a home screen with multiple screens according to the present invention;
FIG. 3 is a block diagram of a system for securing a home screen with multiple screens in accordance with the present invention;
fig. 4 is a block diagram illustrating a configuration of an acquisition module of a system for fixing a home screen with multiple screens according to the present invention.
Detailed Description
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings, it being understood that the preferred embodiments described herein are for illustration and explanation of the present invention only, and are not intended to limit the present invention.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
The present invention is further described below with reference to the accompanying drawings and detailed description, as shown in fig. 1, a method for fixing a main screen with multiple screens provided by the present invention includes:
step S101, acquiring resolution data of a main screen among multiple screens;
specifically, when the whole control system is started, the resolution data of the main screen set by the default of the system is detected, and the acquired resolution data of the main screen is processed.
Step S102, polling to acquire resolution data of other screens except the main screen;
specifically, by calling the system WIN32 bottom layer interface and according to the EnumDisplaydevices function provided in the system public function library user32.Dll, the system polls other screens remaining after the main screen is removed and acquires the resolution data of each screen, and processes the resolution data.
Step S103, comparing the resolution data of the rest screens to obtain a screen with the maximum resolution data, wherein the screen with the maximum resolution data is a target screen;
specifically, after the data of all the processed screens are acquired, the data are compared one by one to obtain the data with the maximum resolution, so that the screen with the maximum resolution is identified, and the screen with the maximum resolution is set as a target screen for comparison with a main screen.
Step S104, the system judges whether the resolution data of the target screen is smaller than the resolution data of the main screen, and the system is used for controlling all screens;
specifically, the system compares the resolution data of the main screen with the resolution data of the target screen, and is used for judging whether the main screen selected by the system is a correct screen, when the resolution data of the target screen is smaller than the resolution data of the main screen, the screen display sequence is correct, and the main screen selected by the system by default is the correct screen; when the resolution data of the main screen is smaller than that of the target screen, the screen display sequence is disordered, and the main screen selected by the system by default is an error screen.
And step S105, if yes, working with the main screen, otherwise, setting the target screen as the main screen and then working.
Specifically, when the screen display sequence is correct and the main screen selected by the system by default is the correct screen, the system continues to work with the current main screen, and the detection and correction flow is ended;
when the display sequence of the screens is disordered and the main screen selected by the default of the system is an error screen, the system sets the target screen as the main screen by calling a changedisplaysettingsEx function provided in a public function user32.Dll of the system according to the acquired data of the target screen, and when the target screen is set as the main screen, the system registry SOFTWARE\Microsoft\Wisp\Pen\Digimon is modified into the name ID parameter of the target screen, and then the touch interface wispatis. Exe of the system is restarted to realize recovery and correction touch control, thereby ensuring the fixation of the main screen and solving the problem of disordered touch screens.
As shown in fig. 2, in an embodiment of the present invention, when the paperless lifter is started, the correction software is started simultaneously, and polls the screens of all access systems and obtains the resolution data of each screen through the enumdisplay devices provided in the system public function library user32.dll, and simultaneously detects the front large screen display information and the back small screen display information. Detecting and judging whether the screen with the largest resolution ratio in all accessed screens is set as a main screen according to the acquired data and the display information, and when the screen with the largest resolution ratio is set as the main screen, displaying the screens in sequence normally without operation, and ending the flow; when the screen with the maximum resolution is not set as the main screen, acquiring information of the screen with the maximum resolution, setting the screen with the maximum resolution as the main screen through a changedisplaysettingsEx function provided in a common function user32.Dll of the system, enabling the display sequence of the screen to be normal, restarting a touch interface of the system, realizing recovery and correction of touch, thereby solving the problem of touch screen disorder, and finally ending the flow.
As shown in fig. 3, the present invention further provides a system for fixing a home screen with multiple screens, including:
an acquisition module 21 for acquiring resolution data of the main screen and resolution data of the remaining screens excluding the main screen;
a judging module 22 for comparing the resolution data of the rest of the screens with the resolution data of the target screen to judge whether the resolution data of the main screen is smaller than the resolution data of the main screen;
a control module 23 for setting the target screen as a main screen for operation;
as shown in fig. 4, an acquisition module in a system for fixing a home screen with multiple screens includes:
a selection unit 21-1, configured to acquire resolution data of all screens, and process the resolution data of all screens;
the storage unit 21-2 is configured to receive the resolution data transmitted by the storage selection unit to all the screens.
The system for fixing the home screen by the multi-screen can be a modularized result of a method corresponding to the home screen by the multi-screen, and is realized by a program module corresponding to the method of fixing the home screen by the multi-screen. Wherein, the technical problems solved by the system and the technical effects achieved correspond to the method,
the invention also provides a device for fixing the main screen by multiple screens, which comprises:
a memory for storing a program;
and the processor is used for executing a program and realizing the steps of the method for fixing the main screen by using the multiple screens.
In this embodiment, the processor and the memory may be connected by a bus or other means. The memory may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk. The processor may be a general-purpose processor, such as a central processing unit, a digital signal processor, an application specific integrated circuit, or one or more integrated circuits configured to implement embodiments of the present invention.
The present invention also provides a storage medium storing a computer program which, when executed by a processor, performs the steps of any one of the methods of multi-screen fixed home screen described above.
According to the method, the system, the equipment and the storage medium for fixing the main screen by the multiple screens, provided by the invention, the resolution of the two screens of the system can be checked, when the display sequence of the screens is disordered, the bottom layer interface of the system is called, the screen with high resolution is controlled to be changed into the main screen, the display sequence of the screen is correct, and the touch interface of the system is restarted, so that the recovery correction touch control is realized. The fixing of the main screen is ensured, the touch screen problem can be solved, the stable operation of the system is ensured, the system has self-repairing capability, the use is simpler and more convenient, and the time for adjusting by returning workers for solving the problem is saved.
It will be apparent to those skilled in the art from this disclosure that various other changes and modifications can be made which are within the scope of the invention as defined in the appended claims.

Claims (10)

1. A method of multi-screen fixation of a primary screen, comprising the steps of:
acquiring resolution data of a main screen among multiple screens;
polling to obtain resolution data of other screens except the main screen;
comparing the resolution data of the rest screens to obtain a screen with the maximum resolution data, wherein the screen with the maximum resolution data is a target screen;
judging whether the resolution data of the target screen is smaller than the resolution data of the main screen or not, wherein the system is used for controlling all screens;
if yes, the system works with the main screen; otherwise, the system sets the target screen as a main screen and then works.
2. The method of multi-screen fixed home screen of claim 1, wherein the polling to obtain resolution data for the remaining screens excluding the home screen comprises:
and polling according to the function provided by the system through a bottom layer interface of the system to acquire resolution data of other screens except the main screen.
3. The method for fixing a home screen on multiple screens as claimed in claim 1, wherein the comparing based on the resolution data of the remaining screens to obtain a screen with the largest resolution data, the screen with the largest resolution data being a target screen comprises:
after the resolution data of the rest screens are obtained, comparing the resolution data to obtain a screen with the maximum resolution data, and taking the screen with the maximum resolution as a target screen.
4. The method of fixing a home screen with multiple screens as claimed in claim 1, wherein the system determining whether resolution data of the target screen is smaller than resolution data of the home screen comprises:
the system compares the resolution data of the main screen with the resolution data of the target screen, and is used for judging whether the main screen selected by the system is a correct screen, and when the resolution data of the target screen is smaller than the resolution data of the main screen, the screen display sequence is correct, and the selected main screen is the correct screen; when the resolution data of the main screen is smaller than that of the target screen, the screen display sequence is disordered, and the selected main screen is an error screen.
5. The method of fixing a home screen with multiple screens as claimed in claim 1, wherein setting the target screen as a home screen comprises:
and setting the target screen as a main screen by calling a system function according to the acquired data of the target screen.
6. The method of multi-screen fixed home screen of claim 5, wherein setting the target screen as a home screen further comprises:
and after the system registry is modified into the name parameter of the target screen, restarting the touch interface of the system, and correcting touch.
7. A system for multi-screen stationary home screen comprising:
the acquisition module is used for acquiring resolution data of a main screen and removing resolution data of other screens of the main screen;
the judging module is used for comparing the resolution data of the rest screens with the resolution data of the target screen to judge whether the resolution data of the target screen is smaller than the resolution data of the main screen;
and the control module is used for setting the target screen as a main screen to work.
8. The multi-screen fixed home screen system of claim 7 wherein the acquisition module comprises:
the selecting unit is used for acquiring the resolution data of all the screens and processing the resolution data of all the screens;
and the storage unit is used for receiving and storing the resolution data of all the screens transmitted by the selection unit.
9. A multi-screen fixed home screen apparatus comprising:
a memory for storing a program;
a processor for executing the program to perform the steps of the method for multi-screen fixing a home screen according to any one of claims 1 to 6.
10. A storage medium storing a computer program which, when executed by a processor, performs the steps of the method of multi-screen stationary home screen of any of claims 1-6.
CN202311250730.2A 2023-09-26 2023-09-26 Method, system, equipment and storage medium for fixing main screen by multiple screens Active CN117270804B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311250730.2A CN117270804B (en) 2023-09-26 2023-09-26 Method, system, equipment and storage medium for fixing main screen by multiple screens

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311250730.2A CN117270804B (en) 2023-09-26 2023-09-26 Method, system, equipment and storage medium for fixing main screen by multiple screens

Publications (2)

Publication Number Publication Date
CN117270804A true CN117270804A (en) 2023-12-22
CN117270804B CN117270804B (en) 2024-02-09

Family

ID=89220980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311250730.2A Active CN117270804B (en) 2023-09-26 2023-09-26 Method, system, equipment and storage medium for fixing main screen by multiple screens

Country Status (1)

Country Link
CN (1) CN117270804B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912286A (en) * 2016-03-31 2016-08-31 联想(北京)有限公司 Display control method and electronic equipment
CN107943399A (en) * 2017-11-29 2018-04-20 努比亚技术有限公司 Display methods, device and the computer-readable recording medium of double-sided screen
CN108965602A (en) * 2018-07-24 2018-12-07 努比亚技术有限公司 Application program display methods, mobile terminal and computer readable storage medium
CN111580768A (en) * 2020-05-07 2020-08-25 联想(北京)有限公司 Control method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912286A (en) * 2016-03-31 2016-08-31 联想(北京)有限公司 Display control method and electronic equipment
CN107943399A (en) * 2017-11-29 2018-04-20 努比亚技术有限公司 Display methods, device and the computer-readable recording medium of double-sided screen
CN108965602A (en) * 2018-07-24 2018-12-07 努比亚技术有限公司 Application program display methods, mobile terminal and computer readable storage medium
CN111580768A (en) * 2020-05-07 2020-08-25 联想(北京)有限公司 Control method and device

Also Published As

Publication number Publication date
CN117270804B (en) 2024-02-09

Similar Documents

Publication Publication Date Title
US6393586B1 (en) Method and apparatus for diagnosing and conveying an identification code in post on a non-booting personal computer
US8060221B2 (en) Peripheral device of programmable logic controller
US20040153778A1 (en) Method, system and software for configuring a graphics processing communication mode
US20120322439A1 (en) System and Method for Enhanced Diagnostics on Mobile Communication Devices
CN107861832B (en) Data verification method and device and readable storage medium
JP2007528534A (en) Using a loader to notify system software update services
EP3879399A1 (en) Method and apparatus for upgrading vehicle-mounted tbox, device, and storage medium
US11503174B2 (en) Image forming apparatus that installs applications, control method therefor, and storage medium
US9183115B2 (en) Testing method and testing apparatus for testing function of electronic apparatus
EP1813097A1 (en) Display apparatus and control method thereof
CN101883204A (en) TV EDID self-checking and updating method and TV core plate
CN110990339A (en) Distributed storage file reading and writing method, device and platform and readable storage medium
CN117270804B (en) Method, system, equipment and storage medium for fixing main screen by multiple screens
CN111061448A (en) Log information display method and device, electronic equipment and storage medium
CN109451485B (en) Mode setting method, information writing method, device, terminal and storage medium
CN114968644A (en) System software dump method and device, electronic equipment and readable storage medium
CN114237722A (en) System starting method, device, equipment and engineering vehicle
US20210067957A1 (en) Apparatus and method for automatically removing data of mobile devices
CN111273933B (en) BIOS FW refreshing method and device
CN114706772A (en) Installation environment detection method, device, equipment and storage medium
CN112791400A (en) Game picture display processing method, device, terminal and medium based on television
CN111710309B (en) Liquid crystal display screen driving method and device, liquid crystal display system and storage medium
CN111459406A (en) Method and system for identifying NVME hard disk under storage unloading card
US11356239B2 (en) Information processing apparatus, network system, and medium
CN110413459B (en) External PHY card identification method, device, equipment and readable 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