CN112114928A - Display page processing method and device - Google Patents

Display page processing method and device Download PDF

Info

Publication number
CN112114928A
CN112114928A CN202011043163.XA CN202011043163A CN112114928A CN 112114928 A CN112114928 A CN 112114928A CN 202011043163 A CN202011043163 A CN 202011043163A CN 112114928 A CN112114928 A CN 112114928A
Authority
CN
China
Prior art keywords
zero terminal
display
mobile
display page
main interface
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
CN202011043163.XA
Other languages
Chinese (zh)
Other versions
CN112114928B (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.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics 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 Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN202011043163.XA priority Critical patent/CN112114928B/en
Publication of CN112114928A publication Critical patent/CN112114928A/en
Application granted granted Critical
Publication of CN112114928B publication Critical patent/CN112114928B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a device for processing a display page. Wherein, the method comprises the following steps: acquiring display parameters of a changed display page of the mobile zero terminal; and adjusting the display page according to the display parameters. The invention solves the technical problem that the style and the size of the display page cannot be adjusted along with the change of the size of the equipment in the related art, so that the individualized requirements of equipment with various sizes cannot be met.

Description

Display page processing method and device
Technical Field
The invention relates to the field of terminal display page processing, in particular to a display page processing method and device.
Background
With the advance of technology, the terminal side will be developed towards more and more lightweight, that is, the configuration and structure of the terminal are simpler and smaller.
At present, various zero terminal solutions have been proposed, i.e. a terminal only needs to have a screen, a simple CPU and memory, an image receiving and decoding module for processing an image, and a reverse control processing module. This solution enables a considerable simplification of the size and configuration of the mobile terminal. All programs of the zero terminal run in the cloud server, the zero terminal uses the corresponding application program by accessing the cloud server and controls the corresponding application program through reverse control, and the server sends a real-time processing picture to the zero terminal, so that the zero terminal operates as if the zero terminal is locally operated.
In order to enable the mobile zero-terminal equipment of a user to get rid of dependence on a certain operating system, application programs from different operating system architectures are used at the same time. Fig. 1 is a schematic diagram of a basic architecture of a cloud cross-platform application virtualization scheme in the prior art, as shown in fig. 1, an application management server in a cloud server is connected with application servers under different architectures, so as to provide application virtualization services under different architectures for a mobile zero terminal, and meanwhile, the application management server further needs to generate a main interface according to an application list of each user, where the main interface includes: a background image and icons of all applications installed by the user, or a taskbar.
Under the structure, a user can log in to the cloud server through mobile zero-terminal equipment in any form to obtain application service, and the user can directly adjust the size of the equipment by using other folding screen equipment, namely, the display size of an interface on the equipment is directly changed under the request of no need of logging in again. Due to the difference in size of different devices, the display requirements of the main interface of the different devices are different, and if the style and the size of the system display page are not adjusted when the size of the device is changed, the personalized requirements of the devices with various sizes cannot be met.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for processing a display page, which are used for at least solving the technical problem that the style and the size of the display page cannot be adjusted along with the change of the size of equipment in the related art, so that the individualized requirements of equipment with various sizes cannot be met.
According to an aspect of the embodiments of the present invention, there is provided a method for processing a display page, including: acquiring display parameters of a changed display page of the mobile zero terminal; and adjusting the display page according to the display parameters.
Optionally, before obtaining the display parameter after the display page of the mobile terminal is changed, the method further includes: determining the type of the mobile zero terminal, wherein determining the type of the mobile zero terminal comprises: acquiring the screen size of the mobile zero terminal; when the screen size of the mobile zero terminal is smaller than or equal to a first screen size threshold, determining that the mobile zero terminal is a mobile phone; when the screen size of the mobile zero terminal is larger than the first screen size threshold and smaller than a second screen size threshold, determining that the mobile zero terminal is a PAD; wherein the first screen size threshold is less than the second screen size threshold.
Optionally, adjusting the display page according to the display parameter includes: under the condition that the display page is a main interface, redrawing the main interface according to the display parameters and performing layout adjustment; or, under the condition that the display page is an application interface, sending the display parameters to a corresponding application server, so that the application server enlarges or reduces the display parameters according to a preset proportion, and redrawing the application interface.
Optionally, when the display page is a main interface, redrawing the main interface according to the display parameters and performing layout adjustment includes at least one of: amplifying or reducing the background image of the main interface according to the display parameters and a preset proportion; adjusting the size and the layout mode of the desktop icons of the main interface; adjusting the text format of the main interface; it is determined to add or remove a taskbar.
Optionally, the mobile terminal is a mobile phone, and adjusting the size and the layout mode of the desktop icon of the main interface includes: zooming and compressing the desktop icon according to a first preset proportion; and horizontally tiling the desktop icons according to a second preset proportion.
Optionally, the mobile terminal is a PAD, and adjusting the size and the layout mode of the desktop icon of the main interface includes: during horizontal screen display, zooming and compressing the desktop icons according to a third preset proportion, and horizontally tiling the desktop icons according to a fourth preset proportion; or, in the vertical screen, zooming and compressing the desktop icons according to a fifth preset proportion, and horizontally tiling the desktop icons according to a sixth preset proportion.
Optionally, determining to add or remove a taskbar comprises: removing the task bar under the condition that the mobile zero terminal is a mobile phone; and adding the task bar under the condition that the mobile zero terminal is the PAD.
According to another aspect of the embodiments of the present invention, there is also provided a processing apparatus for displaying a page, including: the acquisition module is used for acquiring display parameters of the mobile zero terminal after the display page is changed; and the adjusting module is used for adjusting the display page according to the display parameters.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, where the computer-readable storage medium includes a stored program, and when the program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the method for processing a display page described in any one of the above.
According to another aspect of the embodiments of the present invention, there is also provided a processor, where the processor is configured to execute a program, where the program executes a processing method for displaying a page according to any one of the foregoing descriptions.
In the embodiment of the invention, the display parameters after the display page of the mobile zero terminal is changed are obtained; the display page is adjusted according to the display parameters, and the display page of the mobile zero terminal is adjusted through the display parameters after the display page of the mobile zero terminal is changed, so that the purpose that the display page of the mobile zero terminal is adaptive to the screen size is achieved, the system interface of the mobile zero terminal is perfectly matched with the screen size of the current mobile zero terminal, the technical effect of user experience is improved, and the technical problem that the style and the size of the display page cannot be adjusted along with the change of the size of equipment in the related technology, and the individual requirements of the equipment with various sizes cannot be met is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic diagram of a basic architecture of a cloud cross-platform application virtualization scheme in the prior art;
FIG. 2 is a network topology diagram of a system under a cross-platform application virtualization architecture according to an embodiment of the present invention;
FIG. 3 is a flow diagram of a method of processing a display page according to an embodiment of the invention;
fig. 4 is a schematic diagram of a processing device for displaying pages according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided an embodiment of a method of processing displayed pages, it being noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
In order to solve the technical problem that the style and the size of a display page cannot be adjusted along with the change of the size of equipment in the related art, so that the individualized requirements of equipment with various sizes cannot be met, the invention provides a self-adaptive adjustment method for a system display interface under a cross-platform application virtualization framework.
Fig. 2 is a network topology diagram of a system under a cross-platform Application virtualization architecture according to an embodiment of the present invention, AS shown in fig. 2, where an Application Management Server (AMS) is used to manage and store a user list and an Application list of a user, and an Application Server (AS) ID and an Application ID in the Application Server corresponding to each Application; meanwhile, the AMS is also used to save the state of each application, such as the current open, background running, closed, and the like. The system comprises application servers under various different operating system architectures, such as windows, linux, ios and the like; specifically, each AS is installed with a plurality of applications, and the AS locally stores an authorized user list usable by each application, and also stores historical application data generated when each user uses its corresponding application, and when the applications are started, the AS loads the historical application data corresponding to the user into the current application, and if the user closes the current application, the AS stores the historical application data of the current user, and then closes the current application and clears all the historical data.
The following describes the display processing logic on the mobile zero terminal in the present invention:
after the mobile zero terminal is connected with the AMS, if no application with the state of being opened currently exists, the AMS directly draws a user main interface and sends a drawn main interface image to the zero terminal; the AMS reads the use states of all applications corresponding to the current zero terminal, if the applications are in the current open state, the AMS is connected to the corresponding AS to acquire the corresponding application interfaces and sends the acquired application interfaces to the zero terminal.
In a specific implementation process, one or more application pictures (supporting a scene in which multiple application interfaces are displayed simultaneously) are generally displayed at the frontmost end on the mobile zero terminal, or a main interface is directly displayed. While displaying the main interface, there may not be any application running currently, and there may be one or more applications running in the background; in addition, the user can also switch the screen from the application screen to the main interface through a preset operation mode (for example, clicking a home key and the like).
In the using process of the mobile zero terminal, the AMS monitors an R end instruction of a user for application operation in real time, wherein the instruction comprises the steps of opening an application, running an application background, closing the application and opening a main page. When a user opens a certain application on the zero terminal, the zero terminal transmits an application opening instruction, a user account and an application number to the AMS server through the network, the AMS corresponds to the AS according to the application number, and the opening instruction, the user account and the application number are transmitted to the AS. And the AS sends the virtualized application interface to the R end according to the user number, the application number and the opening instruction. And after receiving the application interface content, the R terminal displays the content on the interface of the zero terminal.
Based on the display processing logic, according to an aspect of the embodiment of the present invention, there is provided a processing method for a display page, fig. 3 is a flowchart of the processing method for a display page according to the embodiment of the present invention, and as shown in fig. 3, the processing method for a display page includes the following steps:
step S302, acquiring display parameters of the mobile zero terminal after the display page is changed;
the mobile zero terminal comprises but is not limited to a mobile phone, a PAD tablet computer and the like; the display page of the mobile zero terminal comprises but is not limited to a main interface and an application interface; the display parameters include, but are not limited to, resolution, size, etc. of the mobile zero terminal screen. In a specific implementation, the change of the display page may be changed from the main interface to the application interface, or from the application interface to the main interface, or from one application interface to another application interface, and so on.
Step S304, adjusting the display page according to the display parameters.
As an optional embodiment, the display parameters after the display page of the zero terminal is changed may be moved to adjust the main interface and/or the application interface.
It should be noted that the execution subject of the processing method for displaying a page may be an application management server, and the method may be applied to a cross-platform application virtualization architecture. Therefore, the system interface provided for the mobile zero terminal under the framework can be perfectly matched with the screen size of the current mobile zero terminal through the method, and the user experience is improved.
Through the steps, the display parameters of the mobile zero terminal after the display page is changed can be obtained; the display page is adjusted according to the display parameters, the display page of the mobile zero terminal is adjusted through the display parameters after the display page of the mobile zero terminal is changed, the purpose that the display page of the mobile zero terminal is adaptive to the screen size is achieved, the system interface of the mobile zero terminal is perfectly matched with the screen size of the current mobile zero terminal, the technical effect of user experience is improved, and the technical problem that the style and the size of the display page cannot be adjusted along with the change of the size of equipment in the related technology, and the individual requirements of the equipment with various sizes cannot be met is solved.
Optionally, before obtaining the display parameter after the display page of the mobile terminal is changed, the method further includes: determining the type of the mobile zero terminal, wherein determining the type of the mobile zero terminal comprises: acquiring the screen size of the mobile zero terminal; when the screen size of the mobile zero terminal is smaller than or equal to a first screen size threshold, determining that the mobile zero terminal is a mobile phone; when the screen size of the mobile zero terminal is larger than a first screen size threshold and smaller than a second screen size threshold, determining that the mobile zero terminal is PAD; wherein the first screen size threshold is less than the second screen size threshold.
As an alternative embodiment, the first screen size threshold includes but is not limited to 7 inches, the second screen size threshold includes but is not limited to 14 inches, in the specific implementation process, the screen size of the mobile zero terminal may be obtained, and if the screen size of the mobile zero terminal is less than or equal to 7 inches, the mobile zero terminal is a mobile phone; if the screen size of the mobile zero terminal is greater than 7 inches and less than 14 inches, the mobile zero terminal is a PAD. It should be noted that, since the screen sizes of the mobile phone and the PAD vary with the application scenario, the first screen size threshold and the second screen size threshold can be flexibly adjusted according to the application scenario, but in any application scenario, the first screen size threshold is always smaller than the second screen size threshold.
Optionally, adjusting the display page according to the display parameter includes: under the condition that the display page is the main interface, redrawing the main interface according to the display parameters and performing layout adjustment; or, under the condition that the display page is the application interface, the display parameters are sent to the corresponding application server, so that the application server can zoom in or out according to the display parameters according to a preset proportion, and the application interface is redrawn.
As an optional embodiment, the display page at least includes a main interface and an application interface, wherein in the process of adjusting the display page according to the display parameters, if the display page is the main interface, the main interface is redrawn according to the display parameters and layout adjustment is performed; and if the display page is an application interface, sending the display parameters to the corresponding application server so that the application server can zoom in or zoom out according to the display parameters according to a preset proportion and redraw the application interface. It should be noted that the application server is a server with different architectures, for example, an android architecture application server, a Windows architecture application server, an IOS architecture application server, a LINUX architecture application server, and the like.
Optionally, when the display page is a main interface, redrawing the main interface according to the display parameters and performing layout adjustment includes at least one of: amplifying or reducing the background image of the main interface according to the display parameters and a preset proportion; adjusting the size and the layout mode of the desktop icon of the main interface; adjusting the text format of the main interface; it is determined to add or remove a taskbar.
As an alternative embodiment, the background image of the main interface may be enlarged or reduced according to the display parameters and the preset ratio, so as to meet the display requirement of a new resolution size.
As an alternative embodiment, the layout manner may include a spacing size of the desktop icons arranged on the main interface.
As an alternative embodiment, the text format includes, but is not limited to, font size, font weight, font tilt, font color, etc.
As an alternative embodiment, the addition of a taskbar may implement displaying the taskbar and the removal of the taskbar may implement not displaying the taskbar.
By the embodiment, the main interface can be redrawn more flexibly and layout adjustment can be realized.
Optionally, the mobile terminal is a mobile phone, and adjusting the size and the layout of the desktop icon of the main interface includes: zooming and compressing the desktop icon according to a first preset proportion; and horizontally tiling the desktop icons according to a second preset proportion.
As an alternative embodiment, the first predetermined ratio may be the mobile phone lateral size/6.5, and the second predetermined ratio is the first predetermined ratio/2. In a specific implementation process, if the mobile zero terminal is a mobile phone, scaling and compressing the desktop icons according to the transverse size/6.5 of the mobile phone, and then transversely tiling the desktop icons according to the interval size of a first preset proportion/2. It should be noted that the horizontal tiling can be implemented after the desktop icon is transmitted to the mobile phone. Through the implementation mode, the system interface of the mobile phone can be perfectly matched with the screen size of the mobile phone.
Optionally, the mobile terminal is a PAD, and adjusting the size and the layout of the desktop icon of the main interface includes: during horizontal screen display, zooming and compressing the desktop icons according to a third preset proportion, and horizontally tiling the desktop icons according to a fourth preset proportion; or, in the vertical screen, the desktop icons are zoomed and compressed according to a fifth preset proportion, and the desktop icons are horizontally tiled according to a sixth preset proportion.
As an alternative embodiment, the third predetermined ratio may be PAD lateral dimension/13, and the fourth predetermined ratio may be third predetermined ratio/2; the fifth predetermined ratio may be a PAD longitudinal dimension/8, and the sixth predetermined ratio may be a fifth predetermined ratio/2. In a specific implementation process, if the mobile zero terminal is PAD, in the case of horizontal screen, scaling and compressing the desktop icon according to a third preset proportion (PAD horizontal size/13), and horizontally tiling the desktop icon according to an interval size of a fourth preset proportion (third preset proportion/2); if the mobile zero terminal is a PAD, in the vertical screen, the desktop icons may be scaled and compressed according to a fifth preset proportion (PAD vertical size/8), and horizontally tiled according to an interval size of a sixth preset proportion (fifth preset proportion/2). Through the implementation mode, the system interface of the PAD can be perfectly matched with the screen size of the PAD.
Optionally, determining to add or remove a taskbar comprises: removing the task bar under the condition that the mobile zero terminal is a mobile phone; and adding the task bar under the condition that the mobile zero terminal is the PAD.
As an optional embodiment, if the mobile zero terminal is a mobile phone, the task bar is removed, and the task bar is not displayed on the mobile phone; if the mobile zero terminal is the PAD, the task bar is added, and the task bar can be displayed on the PAD.
It should be noted that the content of the taskbar may be drawn by the application management server querying all applications running and running in the background in the application list according to the user account.
An alternative embodiment of the invention is described below.
As a processing method for a display page of a mobile zero terminal under a selectable cross-platform application virtualization architecture, a display adjustment scheme of a display interface (including a main interface and an application interface) is provided for a situation that a screen size of the mobile zero terminal changes, and the specific implementation steps are as follows:
the method comprises the following steps: when the resolution and the size of the mobile zero terminal change in the using process, an R end module in the mobile zero terminal sends the changed resolution size and the state of a transverse screen and a longitudinal screen to the AMS; or when the mobile zero terminal establishes connection with the AMS, actively reporting the resolution size parameter and the horizontal and vertical screen states to the AMS;
specifically, the mobile terminal may report new parameter information to the server via the URL, monitor the new parameter information using the program, and compare the new parameter information with the original parameter.
Step two: and if the current displayed page of the mobile zero terminal is the main interface, redrawing the main interface by the AMS according to the new resolution size parameter and performing layout adjustment.
Specifically, the AMS redraws the main interface according to the new resolution size and performs layout adjustment, including:
1) the main interface background is amplified and reduced according to the new parameters in proportion;
and the main interface background image is enlarged or reduced according to the new resolution parameter so as to meet the display requirement of the new resolution size.
2) Recalculating the size of each application icon corresponding to the current user and the distance between adjacent icons when the icons are arranged on the main interface;
the method specifically comprises the following steps:
a) mobile zero terminals are classified into two categories according to screen size: a mobile phone and a PAD;
specifically, the specific way of classifying the devices according to the screen size S is as follows:
when S < ═ 7 inches, the mobile phone is determined;
when 7< S <14 inches, PAD is confirmed.
b) If the mobile phone is the mobile phone: and (3) at the S end, the taskbar window is not processed and transmitted, the desktop background is scaled and image compressed according to the proportion, and for the desktop icon, x is the transverse size of the mobile phone/6.5. After the R end is transmitted, the desktop icons are horizontally tiled according to the space size x/2.
And if the icon is PAD, when the horizontal screen message is acquired, displaying a task bar, scaling and compressing the desktop background according to the proportion, and scaling and compressing the desktop icon, wherein x is the horizontal size of PAD/13. After being transmitted to the R end, the desktop icons are horizontally tiled according to the space size x/2.
And if the desktop icon is PAD, when a vertical screen message is acquired, displaying a taskbar, scaling and compressing the desktop background according to the proportion, and scaling and compressing the desktop icon x which is PAD vertical size/8. After being transmitted to the R end, the desktop icons are horizontally tiled according to the space size x/2.
3) Adjusting the size of characters in the main interface;
specifically, the size (size) of the characters displayed in the current main interface is calculated according to the new resolution size, and corresponding characters are generated according to the new character size parameters.
4) Judging whether to add or remove the task bar according to the new parameters;
specifically, if the current equipment is determined to be PAD, the taskbar needs to be displayed no matter the horizontal screen or the vertical screen, but the size of the taskbar needs to be determined according to the conditions of the horizontal screen and the vertical screen, specifically, the height of the taskbar is kept unchanged by 30px in the adjusting process, and the length occupies the screen along with the size of the screen; and if the current equipment is judged to be the mobile phone, not displaying the taskbar.
Step three: if the application interface is opened currently, when the resolution and the size of the R end change, the AMS sends new parameters to the corresponding AS, after the AS receives the parameters, the AS performs scaling up and down according to the new parameters, redraws the application interface and sends the application interface to the R end.
Example 2
According to another aspect of the embodiments of the present invention, there is also provided a processing apparatus for displaying a page, fig. 4 is a schematic diagram of the processing apparatus for displaying a page according to the embodiments of the present invention, and as shown in fig. 4, the processing apparatus for displaying a page includes: an acquisition module 42 and an adjustment module 44. The following describes the processing means of the display page in detail.
An obtaining module 42, configured to obtain a display parameter after a display page of the mobile terminal changes; and an adjusting module 44, connected to the obtaining module 42, for adjusting the display page according to the display parameters.
In the above implementation of the present invention, the processing device of the display page may utilize the obtaining module 42 to obtain the display parameters of the mobile terminal after the display page is changed, and then the adjusting module 44 adjusts the display page according to the display parameters, the processing device of the display page can adjust the display page of the mobile zero terminal through the display parameters after the display page of the mobile zero terminal is changed, thereby achieving the purpose that the display page of the mobile zero terminal is adaptive to the screen size, thereby realizing the perfect adaptation of the system interface of the mobile zero terminal to the screen size of the current mobile zero terminal, improving the technical effect of user experience, and the technical problem that the style and the size of a display page cannot be adjusted along with the change of the size of equipment in the related art, so that the individual requirements of equipment with various sizes cannot be met is solved.
It should be noted that the above modules may be implemented by software or hardware, for example, for the latter, the following may be implemented: the modules can be located in the same processor; alternatively, the modules may be located in different processors in any combination.
It should be noted here that the above-mentioned obtaining module 42 and the adjusting module 44 correspond to steps S302 to S304 in embodiment 1, and the above-mentioned modules are the same as the examples and application scenarios realized by the corresponding steps, but are not limited to what is disclosed in embodiment 1 above. It should be noted that the modules described above as part of an apparatus may be implemented in a computer system such as a set of computer-executable instructions.
Optionally, before obtaining the display parameter after the display page of the mobile terminal is changed, the apparatus further includes: a determining module, configured to determine a type of the mobile terminal, where the determining module includes: the acquisition unit is used for acquiring the screen size of the mobile zero terminal; the mobile zero terminal comprises a first determining unit, a second determining unit and a judging unit, wherein the first determining unit is used for determining the mobile zero terminal as a mobile phone when the screen size of the mobile zero terminal is smaller than or equal to a first screen size threshold; the second determining unit is used for determining the mobile zero terminal as PAD when the screen size of the mobile zero terminal is larger than the first screen size threshold and smaller than the second screen size threshold; wherein the first screen size threshold is less than the second screen size threshold.
Optionally, the adjusting module includes: the first adjusting unit is used for redrawing the main interface according to the display parameters and performing layout adjustment under the condition that the display page is the main interface; or the second adjusting unit is used for sending the display parameters to the corresponding application server under the condition that the display page is the application interface, so that the application server can zoom in or zoom out according to the display parameters according to a preset proportion, and redraw the application interface.
Optionally, the first adjusting unit includes at least one of: the first adjusting subunit is used for amplifying or reducing the background image of the main interface according to the display parameters and the preset proportion; the second adjusting subunit is used for adjusting the size and the layout mode of the desktop icons of the main interface; the third adjusting subunit is used for adjusting the character format of the main interface; and the determining subunit is used for determining to add or remove the task bar.
Optionally, the mobile terminal is a mobile phone, and the second adjusting subunit includes: the first processing unit is used for zooming and compressing the desktop icons according to a first preset proportion; and the second processing unit is used for horizontally tiling the desktop icons according to a second preset proportion.
Optionally, the mobile terminal is a PAD, and the second adjusting subunit includes: the third processing unit is used for zooming and compressing the desktop icons according to a third preset proportion and horizontally tiling the desktop icons according to a fourth preset proportion during horizontal screen display; or, the fourth processing unit is configured to, during the vertical screen, scale and compress the desktop icons according to a fifth preset proportion, and horizontally tile the desktop icons according to a sixth preset proportion.
Optionally, the determining sub-unit comprises: the removing unit is used for removing the task bar under the condition that the mobile zero terminal is a mobile phone; and the adding unit is used for adding the task bar under the condition that the mobile zero terminal is PAD.
Example 3
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, where the computer-readable storage medium includes a stored program, and when the program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the method for processing the display page in any one of the above.
Optionally, in this embodiment, the computer-readable storage medium may be located in any one of a group of computer terminals in a computer network or in any one of a group of mobile terminals, and the computer-readable storage medium includes a stored program.
Optionally, the program when executed controls an apparatus in which the computer-readable storage medium is located to perform the following functions: acquiring display parameters of a changed display page of the mobile zero terminal; and adjusting the display page according to the display parameters.
Example 4
According to another aspect of the embodiments of the present invention, there is also provided a processor, where the processor is configured to execute a program, where the program executes a processing method for displaying a page in any one of the above.
The embodiment of the application provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program to realize the following steps: acquiring display parameters of a changed display page of the mobile zero terminal; and adjusting the display page according to the display parameters.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: acquiring display parameters of a changed display page of the mobile zero terminal; and adjusting the display page according to the display parameters.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A processing method for displaying a page is characterized by comprising the following steps:
acquiring display parameters of a changed display page of the mobile zero terminal;
and adjusting the display page according to the display parameters.
2. The method according to claim 1, before obtaining the changed display parameters of the display page of the mobile zero terminal, further comprising:
determining the type of the mobile zero terminal, wherein determining the type of the mobile zero terminal comprises: acquiring the screen size of the mobile zero terminal; when the screen size of the mobile zero terminal is smaller than or equal to a first screen size threshold, determining that the mobile zero terminal is a mobile phone; when the screen size of the mobile zero terminal is larger than the first screen size threshold and smaller than a second screen size threshold, determining that the mobile zero terminal is a PAD; wherein the first screen size threshold is less than the second screen size threshold.
3. The method of claim 1, wherein adjusting the display page according to the display parameter comprises:
under the condition that the display page is a main interface, redrawing the main interface according to the display parameters and performing layout adjustment;
alternatively, the first and second electrodes may be,
and under the condition that the display page is an application interface, sending the display parameters to a corresponding application server so that the application server can enlarge or reduce the display parameters according to a preset proportion and redraw the application interface.
4. The method according to claim 3, wherein, in a case that the display page is a main interface, redrawing the main interface according to the display parameters and performing layout adjustment includes at least one of:
amplifying or reducing the background image of the main interface according to the display parameters and a preset proportion;
adjusting the size and the layout mode of the desktop icons of the main interface;
adjusting the text format of the main interface;
it is determined to add or remove a taskbar.
5. The method according to claim 4, wherein the mobile terminal is a mobile phone, and the adjusting of the size and the layout of the desktop icon of the main interface comprises:
zooming and compressing the desktop icon according to a first preset proportion;
and horizontally tiling the desktop icons according to a second preset proportion.
6. The method of claim 4, wherein the mobile zero terminal is a PAD, and the adjusting the size and layout of the desktop icon of the main interface comprises:
during horizontal screen display, zooming and compressing the desktop icons according to a third preset proportion, and horizontally tiling the desktop icons according to a fourth preset proportion;
alternatively, the first and second electrodes may be,
and when the screen is vertical, zooming and compressing the desktop icons according to a fifth preset proportion, and horizontally tiling the desktop icons according to a sixth preset proportion.
7. The method of claim 4, wherein determining to add or remove a taskbar comprises:
removing the task bar under the condition that the mobile zero terminal is a mobile phone;
and adding the task bar under the condition that the mobile zero terminal is the PAD.
8. A processing apparatus for displaying a page, comprising:
the acquisition module is used for acquiring display parameters of the mobile zero terminal after the display page is changed;
and the adjusting module is used for adjusting the display page according to the display parameters.
9. A computer-readable storage medium, comprising a stored program, wherein when the program runs, the program controls an apparatus where the computer-readable storage medium is located to execute the processing method of the display page according to any one of claims 1 to 7.
10. A processor, characterized in that the processor is configured to run a program, wherein the program is configured to execute the processing method of the display page according to any one of claims 1 to 7 when running.
CN202011043163.XA 2020-09-28 2020-09-28 Processing method and device for display page Active CN112114928B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011043163.XA CN112114928B (en) 2020-09-28 2020-09-28 Processing method and device for display page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011043163.XA CN112114928B (en) 2020-09-28 2020-09-28 Processing method and device for display page

Publications (2)

Publication Number Publication Date
CN112114928A true CN112114928A (en) 2020-12-22
CN112114928B CN112114928B (en) 2023-12-22

Family

ID=73797283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011043163.XA Active CN112114928B (en) 2020-09-28 2020-09-28 Processing method and device for display page

Country Status (1)

Country Link
CN (1) CN112114928B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112558951A (en) * 2020-12-24 2021-03-26 大唐互联科技(武汉)有限公司 Foldable screen webpage adaptation method, device and storage device
CN112799563A (en) * 2021-02-10 2021-05-14 联想(北京)有限公司 Information processing method, system and storage medium
WO2021088794A1 (en) * 2019-11-05 2021-05-14 北京字节跳动网络技术有限公司 Control setting method and apparatus, electronic device and interaction system
CN113504959A (en) * 2021-05-26 2021-10-15 西安万像电子科技有限公司 Interface display method and device, electronic equipment and computer readable storage medium
WO2023179428A1 (en) * 2022-03-25 2023-09-28 华为技术有限公司 Adaptive display method of interface, and terminal device

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0300502A2 (en) * 1987-07-22 1989-01-25 Sharp Kabushiki Kaisha High speed page turning control system
CN102346646A (en) * 2011-09-19 2012-02-08 百度在线网络技术(北京)有限公司 Method and device for displaying contents on display screen of mobile terminal
EP3016319A1 (en) * 2014-10-29 2016-05-04 Xiaomi Inc. Method and apparatus for dynamically displaying device list
CN107145355A (en) * 2017-05-08 2017-09-08 网易(杭州)网络有限公司 The method of adjustment and device of page layout, storage medium, processor and terminal
CN108829402A (en) * 2018-05-21 2018-11-16 西安万像电子科技有限公司 The more extractions of root and system of application program, storage medium and processor
CN109691072A (en) * 2016-09-09 2019-04-26 华为技术有限公司 For the method, apparatus of sending out notice, mobile terminal and graphic user interface
US20190324620A1 (en) * 2016-12-26 2019-10-24 Shenzhen Royole Technologies Co. Ltd. Method and device for controlling display screens
CN110598140A (en) * 2019-08-15 2019-12-20 西安万像电子科技有限公司 Page adjusting method and device and server
CN110764850A (en) * 2018-07-26 2020-02-07 阿里巴巴集团控股有限公司 Interface display method, parameter assignment method, system and equipment
WO2020048243A1 (en) * 2018-09-05 2020-03-12 Oppo广东移动通信有限公司 Window adjustment method, window adjustment device and mobile terminal
CN110968377A (en) * 2018-09-29 2020-04-07 北京国双科技有限公司 Interface display processing method and device
CN111176771A (en) * 2019-12-24 2020-05-19 西安万像电子科技有限公司 Data processing method, system and equipment
CN111240557A (en) * 2020-01-13 2020-06-05 口碑(上海)信息技术有限公司 Page display method, device and equipment
EP3674837A1 (en) * 2018-12-27 2020-07-01 Beijing Xiaomi Mobile Software Co., Ltd. Parameter adjustment method, apparatus and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0300502A2 (en) * 1987-07-22 1989-01-25 Sharp Kabushiki Kaisha High speed page turning control system
CN102346646A (en) * 2011-09-19 2012-02-08 百度在线网络技术(北京)有限公司 Method and device for displaying contents on display screen of mobile terminal
EP3016319A1 (en) * 2014-10-29 2016-05-04 Xiaomi Inc. Method and apparatus for dynamically displaying device list
CN109691072A (en) * 2016-09-09 2019-04-26 华为技术有限公司 For the method, apparatus of sending out notice, mobile terminal and graphic user interface
US20190324620A1 (en) * 2016-12-26 2019-10-24 Shenzhen Royole Technologies Co. Ltd. Method and device for controlling display screens
CN107145355A (en) * 2017-05-08 2017-09-08 网易(杭州)网络有限公司 The method of adjustment and device of page layout, storage medium, processor and terminal
CN108829402A (en) * 2018-05-21 2018-11-16 西安万像电子科技有限公司 The more extractions of root and system of application program, storage medium and processor
CN110764850A (en) * 2018-07-26 2020-02-07 阿里巴巴集团控股有限公司 Interface display method, parameter assignment method, system and equipment
WO2020048243A1 (en) * 2018-09-05 2020-03-12 Oppo广东移动通信有限公司 Window adjustment method, window adjustment device and mobile terminal
CN110968377A (en) * 2018-09-29 2020-04-07 北京国双科技有限公司 Interface display processing method and device
EP3674837A1 (en) * 2018-12-27 2020-07-01 Beijing Xiaomi Mobile Software Co., Ltd. Parameter adjustment method, apparatus and storage medium
CN110598140A (en) * 2019-08-15 2019-12-20 西安万像电子科技有限公司 Page adjusting method and device and server
CN111176771A (en) * 2019-12-24 2020-05-19 西安万像电子科技有限公司 Data processing method, system and equipment
CN111240557A (en) * 2020-01-13 2020-06-05 口碑(上海)信息技术有限公司 Page display method, device and equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021088794A1 (en) * 2019-11-05 2021-05-14 北京字节跳动网络技术有限公司 Control setting method and apparatus, electronic device and interaction system
CN112558951A (en) * 2020-12-24 2021-03-26 大唐互联科技(武汉)有限公司 Foldable screen webpage adaptation method, device and storage device
CN112558951B (en) * 2020-12-24 2022-04-29 大唐互联科技(武汉)有限公司 Foldable screen webpage adaptation method, device and storage device
CN112799563A (en) * 2021-02-10 2021-05-14 联想(北京)有限公司 Information processing method, system and storage medium
CN113504959A (en) * 2021-05-26 2021-10-15 西安万像电子科技有限公司 Interface display method and device, electronic equipment and computer readable storage medium
WO2023179428A1 (en) * 2022-03-25 2023-09-28 华为技术有限公司 Adaptive display method of interface, and terminal device

Also Published As

Publication number Publication date
CN112114928B (en) 2023-12-22

Similar Documents

Publication Publication Date Title
CN112114928B (en) Processing method and device for display page
CN110399064B (en) Display interface switching method and device, storage medium and electronic device
CN109375983B (en) Method for automatically adjusting input method window in terminal
US20140052801A1 (en) Method for transmitting messages in instant messaging, client and storage medium thereof
WO2009049179A1 (en) Method for selectively remoting windows
EP1902378A1 (en) A method and system of computer remote control that optimized for low bandwidth network and low level personal communication terminal device
JP6255495B2 (en) Method and apparatus for displaying browser resource, and computer readable storage medium
EP2914040B1 (en) Terminal and synchronization control method thereof
CN107682535B (en) Method for remotely controlling computer based on smart phone platform
CN113778583A (en) Method, device, equipment and medium for publishing local application of cloud desktop
WO2022262404A1 (en) Picture presentation method, picture presentation apparatus and electronic device
CN112099886A (en) Desktop display control method and device of mobile zero terminal
CN116127420A (en) Watermark adding method and device, storage medium and electronic device
CN113839998A (en) Image data transmission method, device, equipment, storage medium and program product
CN112291588A (en) Display content sharing method and device, equipment and readable storage medium
CN107612881B (en) Method, device, terminal and storage medium for transmitting picture during file transmission
CN112269741B (en) Application program compatibility testing method and related equipment
CN111372009B (en) Image processing method and processing equipment
CN109960562B (en) Information display method and device and computer readable storage medium
CN114020396A (en) Display method of application program and data generation method of application program
CN111880869A (en) Picture adjusting method, device and system
EP2854025B1 (en) Information processing apparatus, information processing method and information processing program
CN114578898A (en) Display method, electronic device and readable storage medium
CN109271122B (en) File display method, device and equipment based on double display screens
CN112820232A (en) Data processing method and device

Legal Events

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