[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN113805999B - Intelligent identification processing method and device for horizontal and vertical screens, intelligent terminal and storage medium - Google Patents

Intelligent identification processing method and device for horizontal and vertical screens, intelligent terminal and storage medium Download PDF

Info

Publication number
CN113805999B
CN113805999B CN202111106525.XA CN202111106525A CN113805999B CN 113805999 B CN113805999 B CN 113805999B CN 202111106525 A CN202111106525 A CN 202111106525A CN 113805999 B CN113805999 B CN 113805999B
Authority
CN
China
Prior art keywords
application
horizontal
vertical screen
screen
vertical
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
CN202111106525.XA
Other languages
Chinese (zh)
Other versions
CN113805999A (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 Konka Electronic Technology Co Ltd
Original Assignee
Shenzhen Konka Electronic 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 Konka Electronic Technology Co Ltd filed Critical Shenzhen Konka Electronic Technology Co Ltd
Priority to CN202111106525.XA priority Critical patent/CN113805999B/en
Publication of CN113805999A publication Critical patent/CN113805999A/en
Application granted granted Critical
Publication of CN113805999B publication Critical patent/CN113805999B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Biomedical Technology (AREA)
  • Data Mining & Analysis (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a method and a device for intelligent recognition processing of a horizontal screen and a vertical screen, an intelligent terminal and a storage medium, wherein the method for intelligent recognition processing of the horizontal screen and the vertical screen comprises the following steps: acquiring screenshot data of an operation interface of an application to be operated and statistics data of the horizontal screen state and the vertical screen state; based on the screenshot data of the running interface of the application and the horizontal and vertical screen state statistical data, identifying and judging whether the application is a horizontal screen application or a vertical screen application so as to determine the horizontal and vertical screen type of the application; and based on the horizontal and vertical screen types of the application, adjusting the display parameters of the application window to the corresponding preset values in the display window and displaying the display parameters. Compared with the prior art, the method and the device have the advantages that when the application is started, the transverse screen mode and the vertical screen mode of the application when the mobile phone section is started are intelligently analyzed through the screenshot application interface and the neural network model trained by utilizing the AI identification and the big data, so that the correct transverse screen mode and the correct vertical screen mode are obtained and displayed, the problem of abnormal layout display is avoided, and the display stability of the television application is improved.

Description

Intelligent identification processing method and device for horizontal and vertical screens, intelligent terminal and storage medium
Technical Field
The invention relates to the technical field of android terminals, in particular to an intelligent recognition processing method and device for horizontal and vertical screens, an intelligent terminal and a storage medium.
Background
With the development of science and technology, particularly the rapid development of internet technology, the use of various display terminals is becoming more and more popular, and the display terminals have become an indispensable display tool for people's life.
In the prior art, when an android mobile phone application is operated in an android smart television, the vertical screen application is always considered as a horizontal screen application by the android smart television so as to be forcedly stretched, so that the problems that the application layout display is abnormal and the normal use cannot be caused can be caused.
Accordingly, there is a need for improvement and development in the art.
Disclosure of Invention
The invention mainly aims to provide a transverse and vertical screen intelligent identification processing method, a transverse and vertical screen intelligent identification processing device, an intelligent terminal and a computer readable storage medium, and aims to solve the problems that in the prior art, when an android intelligent television runs an android mobile phone application, the vertical screen application is always considered as a transverse screen application by the android intelligent television so as to be forcedly stretched, abnormal application layout display can be caused, and normal use cannot be realized.
In order to achieve the above object, a first aspect of the present invention provides a method for intelligently identifying and processing a horizontal screen and a vertical screen, where the method includes:
acquiring screenshot data of an operation interface of an application to be operated and statistics data of the horizontal screen state and the vertical screen state;
based on the screenshot data of the running interface of the application and the horizontal and vertical screen state statistical data, identifying and judging whether the application is a horizontal screen application or a vertical screen application so as to determine the horizontal and vertical screen type of the application;
and based on the horizontal and vertical screen types of the application, adjusting the display parameters of the application window to the corresponding preset values in the display window and displaying the display parameters.
Optionally, before the step of obtaining the screenshot data of the running interface and the statistics data of the horizontal and vertical screen states of the application to be run, the method includes:
and acquiring an interface screenshot of the application in running in advance, and recording the horizontal and vertical screen states of the application.
Optionally, the step of identifying and judging whether the application is a landscape screen application or a portrait screen application based on the screenshot data of the running interface of the application and the landscape screen and portrait screen state statistics data to determine a landscape screen category of the application includes:
and identifying and judging whether the application is a horizontal screen application or a vertical screen application according to the screenshot data of the running interface of the application and the horizontal and vertical screen state statistical data so as to determine the horizontal and vertical screen type of the application.
Optionally, before the step of obtaining the screenshot data of the running interface and the statistics data of the horizontal and vertical screen states of the application to be run, the method further includes:
detecting the starting of an application to be operated, and requesting a server to judge the horizontal and vertical screen states of the application to be operated;
and inquiring the pre-recorded transverse and vertical screen state statistical data of the application corresponding to the packet name at the server side.
Optionally, before the step of obtaining the screenshot data of the running interface and the statistics data of the horizontal and vertical screen states of the application to be run, the method further includes:
judging and identifying whether the application is a horizontal screen application or a vertical screen application by analyzing the screenless orientation attribute in the corresponding application list file.
Optionally, the step of identifying and determining whether the application is a landscape screen application or a portrait screen application to determine a landscape screen category of the application includes:
and calling a system interface to extract the screenshot data of the running interface of the application, and judging whether the screenshot data of the running interface corresponds to a horizontal screen or a vertical screen through AI identification and a neural network model trained by big data so as to determine the type of the horizontal screen and the vertical screen of the application.
Optionally, the step of adjusting the display parameter of the application window to a corresponding predetermined value in the display window based on the horizontal and vertical screen categories of the application and displaying the display parameter includes:
acquiring the determined horizontal and vertical screen categories of the application;
and according to the identified horizontal and vertical screen categories of the application, adjusting display parameters of the application window in the display window to corresponding preset values and displaying the display parameters.
The second aspect of the present invention provides an intelligent recognition processing device for a horizontal screen and a vertical screen, wherein the device comprises:
the acquisition module is used for acquiring screenshot data of an operation interface of an application to be operated and statistics data of the horizontal screen state and the vertical screen state;
the hybrid identification module is used for identifying and judging whether the application is a horizontal screen application or a vertical screen application based on the screenshot data of the running interface of the application and the horizontal and vertical screen state statistical data so as to determine the horizontal and vertical screen type of the application;
and the display adjusting module is used for adjusting the display parameters of the application window to the corresponding preset values in the display window based on the horizontal and vertical screen types of the application and displaying the display parameters.
The third aspect of the present invention provides an intelligent terminal, where the intelligent terminal includes a memory, a processor, and a horizontal/vertical screen intelligent recognition processing program stored in the memory and capable of running on the processor, where the horizontal/vertical screen intelligent recognition processing program implements any one of the steps of the horizontal/vertical screen intelligent recognition processing method when executed by the processor.
A fourth aspect of the present invention provides a storage medium, where a horizontal and vertical screen intelligent recognition processing program is stored in the storage medium, and when the horizontal and vertical screen intelligent recognition processing program is executed by a processor, the steps of any one of the horizontal and vertical screen intelligent recognition processing methods are implemented.
From the above, in the scheme of the invention, whether the application is the horizontal screen application or the vertical screen application is judged by applying the screenshot and combining with the horizontal screen and vertical screen state statistical data of the server.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a method for intelligent recognition processing of a horizontal screen and a vertical screen, which is provided by the embodiment of the invention;
FIG. 2 is a schematic diagram illustrating a specific flow chart for implementing step S200 in FIG. 1 according to the present invention;
FIG. 3 is a schematic diagram illustrating a specific flow chart for implementing step S300 in FIG. 1 according to the present invention;
fig. 4 is a schematic diagram of a specific flow of performing horizontal and vertical screen intelligent identification processing on an intelligent television according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an intelligent recognition processing device for horizontal and vertical screens provided by an embodiment of the invention;
fig. 6 is a schematic block diagram of an internal structure of an intelligent terminal according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted in context as "when …" or "upon" or "in response to a determination" or "in response to detection. Similarly, the phrase "if a condition or event described is determined" or "if a condition or event described is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a condition or event described" or "in response to detection of a condition or event described".
The following description of the embodiments of the present invention will be made more fully hereinafter with reference to the accompanying drawings, in which embodiments of the invention are shown, it being evident that the embodiments described are only some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced in other ways other than those described herein, and persons skilled in the art will readily appreciate that the present invention is not limited to the specific embodiments disclosed below.
With the development of scientific technology, the performance of the intelligent television is stronger. Correspondingly, in order to reduce the development cost of television application, the smart television manufacturer installs the mobile phone system into the smart television, so that the smart television can directly use the application software of the mobile phone, for example, an android system or a hong Mongolian system is installed for the smart television. However, the intelligent television is not identical to the mobile phone, so that the recognition of the horizontal and vertical screen states of the mobile phone application is disordered due to the problem of the size ratio of the resolution ratio or the system problem when the intelligent television is used for the android application.
In the prior art, whether the application is a horizontal screen application or a vertical screen application is generally judged by accessing a server or analyzing a screen orientation attribute in a mobile phone application file list. The screenOrientation is file data related to the record and display state stored in the local storage space. However, not all applications can correctly judge whether the mobile phone application is a horizontal screen or a vertical screen application through the two methods, that is, a means for effectively judging the display mode of the horizontal screen and the vertical screen of the mobile phone application is absent in the prior art.
In order to solve the problems in the prior art, in the scheme of the invention, whether the application is a horizontal screen application or a vertical screen application is judged by applying screenshot and combining with the horizontal screen and vertical screen state statistical data of the server.
Exemplary method
As shown in fig. 1, an embodiment of the present invention provides a method for intelligently identifying and processing horizontal and vertical screens, and specifically, the method includes the following steps:
step S100, acquiring screenshot data of an operation interface of an application to be operated and statistics data of horizontal and vertical screen states;
in this embodiment, when a user opens a mobile phone application on the smart television, the smart television controls to intercept screenshot data of the application and a current landscape and portrait screen state when the smart television cannot acquire an accurate landscape and portrait screen state of the application by accessing a server or a local related display file, and determines the landscape and portrait screen state of the running application by running an interface screenshot, so that all mobile phone applications are ensured to perform correct landscape and portrait screen display on a television end, and use experience of the user is ensured.
Step 200, based on the screenshot data of the running interface of the application and the horizontal and vertical screen state statistical data, identifying and judging whether the application is a horizontal screen application or a vertical screen application so as to determine the horizontal and vertical screen type of the application;
in this embodiment, the smart tv queries and determines whether the application is a landscape screen application or a portrait screen application based on the running interface screenshot and landscape screen status data of the application. Specifically, the query and judgment mode includes that through the combination of the AI intelligent algorithm and big data, the transverse screen state and the vertical screen state with high similarity with the application operation interface screenshot in the network are searched, and the transverse screen state and the vertical screen state of the mobile phone are obtained when the mobile phone operates. Further, in order to reduce the operation amount and processing speed of the intelligent television, a comparison table of the normal operation interface screenshot and the corresponding horizontal and vertical screen states can be established in advance according to all application programs downloaded by the intelligent television, and the comparison table is called to search for less data amount when the screenshot is needed to be used for judging the horizontal and vertical screen states each time, so that the loss of a processor of the intelligent television is reduced, the searching speed is increased, and the service life of the processor is prolonged. And the normal operation interface screenshot and the corresponding horizontal and vertical screen states are the interface screenshot and the horizontal and vertical screen states when the application is found to run on the mobile phone through big data. In the method, through intelligent identification of the application interface screenshot, accurate judgment of the horizontal and vertical screen states of all mobile phone applications is realized.
And step 300, based on the horizontal and vertical screen types of the application, adjusting the display parameters of the application window to the corresponding preset values in the display window and displaying the display parameters.
In the invention, after the horizontal screen device opens the vertical screen application, judgment is completed according to the logic in the patent, and the vertical screen application can be correctly displayed in the center of the horizontal screen in a rotating and width-height adjusting mode.
In this embodiment, based on the confirmed horizontal and vertical screen types of the mobile phone application, the horizontal and vertical screen states of the mobile phone application are correspondingly adjusted in the smart television display screen, and the corresponding size proportion is adjusted. The length-width ratio and the resolution ratio of each intelligent television are different, so that the intelligent television can adaptively adjust the display size and the display proportion of the specific mobile phone application according to the resolution ratio and the aspect ratio of the intelligent television after acquiring the horizontal and vertical screen states of the mobile phone application. And the application display size is adaptively adjusted through the determined horizontal and vertical screen state of the mobile phone application, so that accurate application interface display is provided for a user, and the use experience of the user is improved.
From the above, the method for intelligent recognition processing of horizontal and vertical screens provided by the embodiment of the invention obtains the screenshot data of the operation interface of the application to be operated and the statistics data of the states of the horizontal and vertical screens; based on the screenshot data of the running interface of the application and the horizontal and vertical screen state statistical data, identifying and judging whether the application is a horizontal screen application or a vertical screen application so as to determine the horizontal and vertical screen type of the application; and based on the horizontal and vertical screen types of the application, adjusting the display parameters of the application window to the corresponding preset values in the display window and displaying the display parameters. Compared with the prior art, the method and the device for judging whether the application is the horizontal screen application or the vertical screen application by combining the screenshot of the application and the horizontal and vertical screen state statistics data of the server can recognize and know the horizontal and vertical screen states of the application in advance when the application is opened, so that whether the application is horizontal screen display or vertical screen display is determined, and the width and the height of an application window are adjusted in a system so as to achieve a correct display effect.
Specifically, in this embodiment, the smart tv commonly used by the user is used as the tv end, and when the tv end is another device, reference may be made to the specific scheme in this embodiment.
In an application scene, an intelligent television acquires screenshot data of an operation interface of an application started by a user and a horizontal and vertical screen state of the application currently displayed.
Before the step of acquiring the screenshot data of the running interface of the application to be run and the statistics data of the horizontal and vertical screen states, the method comprises the following steps:
and acquiring an interface screenshot of the application in running in advance, and recording the horizontal and vertical screen states of the application.
In the embodiment of the invention, when the application runs on the intelligent television (or intelligent flat panel and other transverse screen intelligent equipment), the interface screenshot of the application in running is obtained in advance, and the transverse screen and vertical screen states of the application are recorded.
For example, the smart television pre-acquires screenshot information of all mobile phone applications downloaded by a user on the television, and the acquiring method comprises the steps of sequentially opening all mobile phone applications and performing screenshot one by one, searching screenshot information displayed on the mobile phone terminal and corresponding to the screenshot information of the mobile phone application opened on the smart television terminal in network big data through the application screenshot information and an AI intelligent algorithm, analyzing a horizontal screen state and a vertical screen state displayed by the application in the screenshot information displayed on the mobile phone terminal by the smart television, and establishing a horizontal screen state and a vertical screen state displayed by the mobile phone application in the smart television and a comparison table containing the application interface screenshot information. In the method, through the pre-established corresponding relation between the corresponding mobile phone application software and the horizontal and vertical screen states, which is found by using the mobile phone application screenshot opened in the smart television of the user, the horizontal and vertical screen state information of the mobile phone application software in the television is complemented, the display error probability of the smart television is reduced, and the use experience of the user is improved. Further, an update button is established for the function of the pre-established comparison table, when the user downloads a new application or the problem of horizontal and vertical screen inversion occurs in the process of using the new application, the mobile phone application in the comparison table is manually updated through the update button, the latest downloaded horizontal and vertical screen display state of the application is updated through an AI intelligent algorithm and big data, or the comparison table is automatically updated or periodically updated every time the mobile phone application is detected to be downloaded for the intelligent television, the newly added application is supplemented, the deleted application data is eliminated, the data of the intelligent television is kept concise all the time, and the data processing efficiency is improved.
In a use scene, the intelligent television identifies whether the currently opened application is a horizontal screen application or a vertical screen application based on the operation interface screenshot and the horizontal and vertical screen states of the mobile phone application, and determines the horizontal and vertical screen types of the mobile phone application.
Specifically, in this embodiment, as shown in fig. 2, the step S200 includes:
step 201, identifying and judging whether the application is a horizontal screen application or a vertical screen application according to the screenshot data of the running interface of the application and the horizontal screen and vertical screen state statistical data so as to determine the horizontal screen and vertical screen type of the application.
Before the step of obtaining the screenshot data of the running interface of the application to be run and the statistics data of the horizontal and vertical screen states, the method further comprises the following steps:
detecting the starting of an application to be operated, and requesting a server to judge the horizontal and vertical screen states of the application to be operated;
and inquiring the pre-recorded transverse and vertical screen state statistical data of the application corresponding to the packet name at the server side.
And judging whether the application is a horizontal screen application or a vertical screen application by analyzing the screenOrientation attribute in the corresponding application list file.
For example, before the step of acquiring the screenshot data and the horizontal and vertical screen state statistics data of the running interface of the application to be run by the smart television, the horizontal and vertical screen states of the mobile phone application displayed in the smart television are primarily judged by querying the horizontal and vertical screen states of the application by the access server and analyzing the screen orientation attribute to acquire the horizontal and vertical screen states of the application. The method specifically comprises the steps that an intelligent television accesses a server storing application package names and corresponding horizontal and vertical screen state statistical data, meanwhile, the package names of the mobile phone application which is being opened are sent to the server, feedback information queried by the server is waited, and when feedback information of the server is not obtained or feedback information of the horizontal and vertical screen states corresponding to the application package names is not found, the horizontal and vertical screen state information is further obtained through analyzing the screen orientation file data. And the intelligent television searches the screen orientation file data of the application stored in the local storage space of the intelligent television through the address of the mobile phone application, analyzes whether the data contains information that the application is displayed for a horizontal screen or a vertical screen, and further acquires the screenshot data of an operation interface of the current operation application and the state of the horizontal screen if no declaration information corresponding to the horizontal screen or the vertical screen is found.
And the intelligent television calls a lookup table storing the intelligent television application and the horizontal and vertical screen states based on the acquired screenshot data of the current operation interface and the horizontal and vertical screen state statistical data, and inquires the horizontal and vertical screen state information of the current mobile phone application through the lookup table. For example, when the application opened in the smart television is a mobile phone version WeChat, and when the mobile phone WeChat application cannot return to a determined horizontal and vertical screen state through accessing a server and analyzing the screen orientation file data, the mobile phone WeChat application program is queried through the pre-established lookup table, and when the mobile phone end runs as a vertical screen application, the mobile phone WeChat application program is judged to be in a display state of a vertical screen when being displayed in the smart television, namely, the display type is kept. The method and the device can quickly and comprehensively acquire the horizontal and vertical screen state information of the started application by querying the server, analyzing the local screen orientation file data and calling the lookup table, and effectively prevent the problem of display errors of the horizontal and vertical screens of the application. In addition, when the polling server is used, the local screen orientation file data is analyzed, and the lookup table is called, the searching mode can be ordered according to the query speed and the required operation capacity, or a plurality of results are obtained through parallel searching, for example, the server searches the WeChat application as a horizontal screen, the WeChat application is obtained through the analysis of the screen orientation file data and is used as a vertical screen, the lookup table is called, the information of the two vertical screen results is considered to be correct information, and the accuracy of judging the horizontal screen and the vertical screen of the application is improved.
In an application scene, according to the acquired horizontal and vertical screen types, the horizontal and vertical screen display mode and the aspect ratio of the application are adjusted in the display window of the intelligent television.
Specifically, in this embodiment, as shown in fig. 3, the step S300 includes:
step S301, acquiring the determined horizontal and vertical screen categories of the application;
step S302, according to the identified horizontal and vertical screen categories of the application, adjusting display parameters of the application window to corresponding preset values in the display window and displaying the display parameters.
For example, after the smart television obtains that the display state of the mobile phone WeChat application is a vertical screen, an opened mobile phone WeChat application program is adjusted by combining the display resolution and the aspect ratio of the smart television, for example, when the mobile phone WeChat application is displayed on a mobile phone, the display size ratio of the mobile phone WeChat application is 16:9, and when the mobile phone WeChat application is correspondingly displayed in the television, the long side with the ratio of 16 is the same as the high pixel of the television, and the short side with the ratio of 9 is adaptively enlarged or reduced according to the ratio of 16:9, and the mobile phone WeChat application displayed by the vertical screen obtained through final adjustment is displayed in the middle of the smart television. And the mobile phone is adaptively adjusted and displayed by combining the horizontal and vertical screen state information of the application and the television display parameters, so that the display effect of the mobile phone in the intelligent television is improved.
In the embodiment of the invention, the method for performing intelligent recognition processing on the horizontal and vertical screens is further specifically described based on an application scene, and fig. 4 is a schematic diagram of a specific flow of intelligent recognition processing on the horizontal and vertical screens by using the intelligent television according to the embodiment of the invention, where the steps include:
step S10, starting, namely starting the application for the first time, and entering step S11;
step S11, the intelligent television request server judges the horizontal and vertical screen state of the starting application, and the step S12 is entered;
step S12, waiting for a server to return a result, entering step S20 when a transverse and vertical screen result is returned, and entering step S13 when a result outside the transverse and vertical screens is returned;
step S13, further acquiring a screenOrientation attribute in the application file of the storage space of the intelligent television, judging the horizontal and vertical screen state of the application, and entering step S14;
step S14, waiting for analysis of a returned result, entering step S20 when a horizontal and vertical screen result is returned, and entering step S15 when a result outside the horizontal and vertical screen is returned;
step S15, further screenshot is carried out on the current running application interface, and step S16 is carried out;
step S16, uploading the interface screenshot and the application unique name to a server, and entering step S17;
step S17, the server analyzes the application screenshot through a deep learning algorithm, and the step S18 is entered;
step S18, determining the horizontal and vertical screen information of the application through the deep learning algorithm and the information searched in the network big data, and entering step S19;
step S19, storing the application unique name and the corresponding horizontal and vertical screen information in the server, and entering step S20;
step S20, the intelligent television acquires a transverse and vertical screen result of the current starting application, and the step S21 is entered;
step S21, adjusting the display effect of the application on the screen of the intelligent television, and entering step S30;
and step S30, ending.
From the above, in the embodiment of the specific application of the present invention, when the smart television detects that the application is started for the first time, firstly, the smart television requests a server storing the application package name and the corresponding horizontal and vertical screen states, queries whether the application is a horizontal screen application or a vertical screen application, and when the server returns the information that the application is a horizontal screen or a vertical screen, the smart television controls to display and adjust the current display application; when the returned information cannot judge the horizontal and vertical screen states of the application, judging the horizontal and vertical screen states of the application by analyzing the screenOrientation attribute stored in the local file of the intelligent television, and when the server returns the information of the horizontal screen or the vertical screen of the application, controlling the current display application to be displayed and adjusted by the intelligent television; and when the return information cannot judge the horizontal and vertical screen state of the application, further calling a system interface to extract the operation interface screenshot data of the application, and uploading the application screenshot and an application unique name to a server, wherein the application unique name is an application name and is used for assisting in searching and acquiring the information of the application. Further, through a deep learning algorithm, a neural network model comprising AI identification and big data training is used for analyzing an application screenshot, judging whether the interface screenshot is a horizontal screen application or a vertical screen application, specifically, whether the application is a horizontal screen display application or a vertical screen real application when the application is displayed at a mobile phone end is found through an application unique name and the screenshot, determining the horizontal and vertical screen states of the application based on the application and storing the application name and the horizontal and vertical screen information in a server, and directly calling the application name and the corresponding horizontal and vertical screen states when the application is started in future. And finally, the intelligent television acquires a returned horizontal and vertical screen state result, and adaptively adjusts the horizontal and vertical screen state, pixels and aspect ratio of the current running application. The method and the device can prevent the problem of abnormal layout display caused by missing of horizontal and vertical screen information of the application program when the application is started, and improve the display stability of the television application.
Exemplary apparatus
As shown in fig. 5, corresponding to the above-mentioned intelligent recognition processing method for horizontal and vertical screens, an embodiment of the present invention further provides an intelligent recognition processing device for horizontal and vertical screens, where the intelligent recognition processing device for horizontal and vertical screens includes:
the acquiring module 510 is configured to acquire screenshot data of an operation interface and statistics data of a horizontal screen and a vertical screen of an application to be operated;
in this embodiment, when a user opens a mobile phone application on the smart television, the smart television controls to intercept screenshot data of the application and a current landscape and portrait screen state when the smart television cannot acquire an accurate landscape and portrait screen state of the application by accessing a server or a local related display file, and determines the landscape and portrait screen state of the running application by running an interface screenshot, so that all mobile phone applications are ensured to perform correct landscape and portrait screen display on a television end, and use experience of the user is ensured.
The hybrid identification module 520 is configured to identify whether the application is a landscape screen application or a portrait screen application based on the screenshot data of the running interface of the application and the landscape screen and portrait screen status statistics data, so as to determine a landscape screen category of the application;
in this embodiment, the smart tv queries and determines whether the application is a landscape screen application or a portrait screen application based on the running interface screenshot and landscape screen status data of the application. Specifically, the query and judgment mode includes that through the combination of the AI intelligent algorithm and big data, the transverse screen state and the vertical screen state with high similarity with the application operation interface screenshot in the network are searched, and the transverse screen state and the vertical screen state of the mobile phone are obtained when the mobile phone operates. Further, in order to reduce the operation amount and processing speed of the intelligent television, a comparison table of the normal operation interface screenshot and the corresponding horizontal and vertical screen states can be established in advance according to all application programs downloaded by the intelligent television, and the comparison table is called to search for less data amount when the screenshot is needed to be used for judging the horizontal and vertical screen states each time, so that the loss of a processor of the intelligent television is reduced, the searching speed is increased, and the service life of the processor is prolonged. And the normal operation interface screenshot and the corresponding horizontal and vertical screen states are the interface screenshot and the horizontal and vertical screen states when the application is found to run on the mobile phone through big data. In the method, through intelligent identification of the application interface screenshot, accurate judgment of the horizontal and vertical screen states of all mobile phone applications is realized.
And the display adjusting module 530 is configured to adjust, in the display window, the display parameters of the application window to corresponding predetermined values based on the landscape screen and portrait screen categories of the application, and display the display parameters.
In this embodiment, based on the confirmed horizontal and vertical screen types of the mobile phone application, the horizontal and vertical screen states of the mobile phone application are correspondingly adjusted in the smart television display screen, and the corresponding size proportion is adjusted. The length-width ratio and the resolution ratio of each intelligent television are different, so that the intelligent television can adaptively adjust the display size and the display proportion of the specific mobile phone application according to the resolution ratio and the aspect ratio of the intelligent television after acquiring the horizontal and vertical screen states of the mobile phone application. And the application display size is adaptively adjusted through the determined horizontal and vertical screen state of the mobile phone application, so that accurate application interface display is provided for a user, and the use experience of the user is improved.
From the above, in the horizontal and vertical screen intelligent recognition processing method provided by the embodiment of the invention, through the obtaining module 510, the screenshot data of the operation interface and the statistics data of the horizontal and vertical screen state of the application to be operated are obtained; identifying whether the application is a horizontal screen application or a vertical screen application based on the screenshot data of the running interface of the application and the horizontal and vertical screen state statistical data through the hybrid identification module 520 so as to determine the horizontal and vertical screen category of the application; and adjusting display parameters of the application window to corresponding preset values in the display window based on the horizontal and vertical screen types of the application through the display adjusting module 530, and displaying the display parameters. Compared with the prior art, the method and the device for judging whether the application is the horizontal screen application or the vertical screen application by combining the screenshot of the application and the horizontal and vertical screen state statistics data of the server can recognize and know the horizontal and vertical screen states of the application in advance when the application is opened, so that whether the application is horizontal screen display or vertical screen display is determined, and the width and the height of an application window are adjusted in a system so as to achieve a correct display effect.
In this embodiment, the screen-throwing receiving terminal is an intelligent television, and each of the system signal sources is any one of a television channel signal source, a high-definition multimedia interface signal source, a universal serial bus channel signal source, a television theme signal source and a television application signal source of the intelligent television.
In particular, in this embodiment, an intelligent television commonly used by a user is taken as an example of a screen-projection receiving terminal, but the screen-projection receiving terminal may also be other display devices, which is not limited herein, and when the screen-projection receiving terminal is other devices, reference may be made to a specific scheme in this embodiment.
Specifically, in this embodiment, specific functions of each module of the horizontal and vertical screen intelligent recognition processing device may refer to corresponding descriptions in the horizontal and vertical screen intelligent recognition processing method, which are not described herein.
Based on the above embodiment, the present invention also provides an intelligent terminal, and a functional block diagram thereof may be shown in fig. 6. The intelligent terminal comprises a processor, a memory, a network interface and a display screen which are connected through a system bus. The processor of the intelligent terminal is used for providing computing and control capabilities. The memory of the intelligent terminal comprises a nonvolatile storage medium and an internal memory. The nonvolatile storage medium stores an operating system and an intelligent recognition processing program for the horizontal and vertical screens. The internal memory provides an environment for the operation of an operating system and the horizontal and vertical screen intelligent recognition processing program in the nonvolatile storage medium. The network interface of the intelligent terminal is used for communicating with an external terminal through network connection. The transverse and vertical screen intelligent identification processing program is executed by a processor to realize the steps of any one of the transverse and vertical screen intelligent identification processing methods. The display screen of the intelligent terminal can be a liquid crystal display screen or an electronic ink display screen.
It will be appreciated by those skilled in the art that the schematic block diagram shown in fig. 6 is merely a block diagram of a portion of the structure associated with the present inventive arrangements and is not limiting of the smart terminal to which the present inventive arrangements are applied, and that a particular smart terminal may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, an intelligent terminal is provided, where the intelligent terminal includes a memory, a processor, and a landscape/portrait screen intelligent identification processing program stored in the memory and capable of running on the processor, where the landscape/portrait screen intelligent identification processing program when executed by the processor performs the following operation instructions:
acquiring screenshot data of an operation interface of an application to be operated and statistics data of the horizontal screen state and the vertical screen state;
based on the screenshot data of the running interface of the application and the horizontal and vertical screen state statistical data, identifying and judging whether the application is a horizontal screen application or a vertical screen application so as to determine the horizontal and vertical screen type of the application;
and based on the horizontal and vertical screen types of the application, adjusting the display parameters of the application window to the corresponding preset values in the display window and displaying the display parameters.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium is stored with a transverse and vertical screen intelligent identification processing program, and the transverse and vertical screen intelligent identification processing program realizes the steps of any one of the transverse and vertical screen intelligent identification processing methods provided by the embodiment of the invention when being executed by a processor.
It should be understood that the sequence number of each step in the above embodiment does not mean the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not be construed as limiting the implementation process of the embodiment of the present invention.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present invention. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other manners. For example, the apparatus/terminal device embodiments described above are merely illustrative, e.g., the division of the modules or units described above is merely a logical function division, and may be implemented in other manners, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed.
The integrated modules/units described above, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer-readable storage medium. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the steps of each method embodiment may be implemented. The computer program comprises computer program code, and the computer program code can be in a source code form, an object code form, an executable file or some intermediate form and the like. The computer readable medium may include: any entity or device capable of carrying the computer program code described above, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. The content of the computer readable storage medium can be appropriately increased or decreased according to the requirements of the legislation and the patent practice in the jurisdiction.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that; the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions are not intended to depart from the spirit and scope of the various embodiments of the invention, which are also within the spirit and scope of the invention.

Claims (9)

1. The intelligent recognition processing method for the horizontal and vertical screens is characterized by comprising the following steps of:
acquiring screenshot data of an operation interface of an application to be operated and statistics data of the horizontal screen state and the vertical screen state;
based on the screenshot data of the running interface of the application and the horizontal and vertical screen state statistical data, identifying and judging whether the application is a horizontal screen application or a vertical screen application so as to determine the horizontal and vertical screen type of the application;
and based on the horizontal and vertical screen types of the application, adjusting the display parameters of the application window to the corresponding preset values in the display window and displaying the display parameters.
2. The method for intelligently identifying and processing the horizontal and vertical screens according to claim 1, wherein the step of obtaining the screenshot data of the operation interface and the statistics data of the state of the horizontal and vertical screens of the application to be operated comprises the following steps:
and acquiring an interface screenshot of the application in running in advance, and recording the horizontal and vertical screen states of the application.
3. The method for intelligently identifying and processing the horizontal and vertical screens according to claim 1, wherein before the step of obtaining the screenshot data of the operation interface and the statistics data of the state of the horizontal and vertical screens of the application to be operated, the method further comprises:
detecting the starting of an application to be operated, and requesting a server to judge the horizontal and vertical screen states of the application to be operated;
and inquiring the pre-recorded transverse and vertical screen state statistical data of the application corresponding to the packet name at the server side.
4. The method for intelligently identifying and processing the horizontal and vertical screens according to claim 1, wherein before the step of obtaining the screenshot data of the operation interface and the statistics data of the state of the horizontal and vertical screens of the application to be operated, the method further comprises:
judging and identifying whether the application is a horizontal screen application or a vertical screen application by analyzing the screenless orientation attribute in the corresponding application list file.
5. The method for intelligently identifying and processing the horizontal and vertical screens according to claim 1, wherein the step of identifying and judging whether the application is a horizontal screen application or a vertical screen application to determine the horizontal and vertical screen category of the application comprises the following steps:
and calling a system interface to extract the screenshot data of the running interface of the application, and judging whether the screenshot data of the running interface corresponds to a horizontal screen or a vertical screen through AI identification and a neural network model trained by big data so as to determine the type of the horizontal screen and the vertical screen of the application.
6. The method for intelligent recognition processing of horizontal and vertical screens according to claim 1, wherein the step of adjusting the display parameters of the application window to the corresponding predetermined values in the display window based on the horizontal and vertical screen categories of the application comprises:
acquiring the determined horizontal and vertical screen categories of the application;
and according to the identified horizontal and vertical screen categories of the application, adjusting display parameters of the application window in the display window to corresponding preset values and displaying the display parameters.
7. An intelligent recognition processing device for a horizontal screen and a vertical screen, which is characterized by comprising:
the acquisition module is used for acquiring screenshot data of an operation interface of an application to be operated and statistics data of the horizontal screen state and the vertical screen state;
the hybrid identification module is used for identifying and judging whether the application is a horizontal screen application or a vertical screen application based on the screenshot data of the running interface of the application and the horizontal and vertical screen state statistical data so as to determine the horizontal and vertical screen type of the application;
and the display adjusting module is used for adjusting the display parameters of the application window to the corresponding preset values in the display window based on the horizontal and vertical screen types of the application and displaying the display parameters.
8. An intelligent terminal, characterized in that the intelligent terminal comprises a memory, a processor and a horizontal and vertical screen intelligent identification processing program which is stored in the memory and can run on the processor, and the steps of the horizontal and vertical screen intelligent identification processing method according to any one of claims 1-6 are realized when the horizontal and vertical screen intelligent identification processing program is executed by the processor.
9. A computer readable storage medium, wherein a transverse and vertical screen intelligent recognition processing program is stored on the computer readable storage medium, and when the transverse and vertical screen intelligent recognition processing program is executed by a processor, the steps of the transverse and vertical screen intelligent recognition processing method according to any one of claims 1-6 are implemented.
CN202111106525.XA 2021-09-22 2021-09-22 Intelligent identification processing method and device for horizontal and vertical screens, intelligent terminal and storage medium Active CN113805999B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111106525.XA CN113805999B (en) 2021-09-22 2021-09-22 Intelligent identification processing method and device for horizontal and vertical screens, intelligent terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111106525.XA CN113805999B (en) 2021-09-22 2021-09-22 Intelligent identification processing method and device for horizontal and vertical screens, intelligent terminal and storage medium

Publications (2)

Publication Number Publication Date
CN113805999A CN113805999A (en) 2021-12-17
CN113805999B true CN113805999B (en) 2023-12-08

Family

ID=78939853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111106525.XA Active CN113805999B (en) 2021-09-22 2021-09-22 Intelligent identification processing method and device for horizontal and vertical screens, intelligent terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113805999B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101795321A (en) * 2010-01-27 2010-08-04 华为终端有限公司 Application display method and mobile communication terminal based on user habit
CN104903856A (en) * 2013-12-15 2015-09-09 宇龙计算机通信科技(深圳)有限公司 Application icon adaptive adjustment method and terminal
CN106469059A (en) * 2016-08-31 2017-03-01 维沃移动通信有限公司 A kind of method of operation interface display pattern of adjustment mobile terminal and mobile terminal
CN106648427A (en) * 2016-11-29 2017-05-10 努比亚技术有限公司 Setting device and method for single hand mode of terminal
CN109542232A (en) * 2018-11-29 2019-03-29 努比亚技术有限公司 Switching method, terminal and the computer readable storage medium of terminal horizontal/vertical screen mode
CN111338533A (en) * 2020-02-28 2020-06-26 维沃移动通信有限公司 Application program starting method and electronic equipment
CN111414204A (en) * 2020-03-19 2020-07-14 京东方科技集团股份有限公司 Startup display method and device and electronic equipment
CN113220385A (en) * 2021-03-31 2021-08-06 荣耀终端有限公司 Automatic setting method for horizontal and vertical screens of mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101795321A (en) * 2010-01-27 2010-08-04 华为终端有限公司 Application display method and mobile communication terminal based on user habit
CN104903856A (en) * 2013-12-15 2015-09-09 宇龙计算机通信科技(深圳)有限公司 Application icon adaptive adjustment method and terminal
CN106469059A (en) * 2016-08-31 2017-03-01 维沃移动通信有限公司 A kind of method of operation interface display pattern of adjustment mobile terminal and mobile terminal
CN106648427A (en) * 2016-11-29 2017-05-10 努比亚技术有限公司 Setting device and method for single hand mode of terminal
CN109542232A (en) * 2018-11-29 2019-03-29 努比亚技术有限公司 Switching method, terminal and the computer readable storage medium of terminal horizontal/vertical screen mode
CN111338533A (en) * 2020-02-28 2020-06-26 维沃移动通信有限公司 Application program starting method and electronic equipment
CN111414204A (en) * 2020-03-19 2020-07-14 京东方科技集团股份有限公司 Startup display method and device and electronic equipment
CN113220385A (en) * 2021-03-31 2021-08-06 荣耀终端有限公司 Automatic setting method for horizontal and vertical screens of mobile terminal

Also Published As

Publication number Publication date
CN113805999A (en) 2021-12-17

Similar Documents

Publication Publication Date Title
US10712915B2 (en) Information presentation using a client on a terminal
CN107688950B (en) After-sale consultation method for household appliances, electronic equipment and computer readable storage medium
CN111459523A (en) Image quality chip software upgrading method and device, electronic equipment and storage medium
CN110287810A (en) Car door motion detection method, device and computer readable storage medium
CN112083988A (en) Screen refresh rate control method, mobile terminal and computer readable storage medium
US10372746B2 (en) System and method for searching applications using multimedia content elements
CN112099982B (en) Crash information positioning method and device, medium and electronic equipment
CN113805999B (en) Intelligent identification processing method and device for horizontal and vertical screens, intelligent terminal and storage medium
CN115150929B (en) Method and device for adjusting antenna power and readable storage medium
EP2846541A1 (en) Video monitoring system and method for reducing pan-tilt control delay
CN111221742A (en) Test case updating method and device, storage medium and server
CN115842789B (en) Data packet scheduling method, device and readable storage medium
CN110309000B (en) Application update prompting method and terminal equipment
CN109032651B (en) Application updating method, intelligent terminal and computer readable storage medium
US10869246B2 (en) Method and system for proactive steering in a wireless network
CN114119160A (en) Application processing method, mobile terminal and storage medium
CN114500280A (en) Firmware upgrading method and device and computer readable storage medium
CN108984206B (en) Data sending method and equipment
CN112542165A (en) Voice control method of application program and intelligent terminal
EP2768206A1 (en) Download management method and device based on android browser
CN114851959B (en) Light adjusting method and light adjusting system for vehicle
CN114827291B (en) AI intelligent protocol analysis method and device, electronic equipment and storage medium
CN112015443A (en) Upgrading method and device for electronic equipment, electronic equipment and storage medium
CN114865957A (en) Motor driving mode control method, device and storage medium
CN113741955A (en) Product performance adjusting method and device, electronic equipment 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