CN112114928B - Processing method and device for display page - Google Patents
Processing method and device for display page Download PDFInfo
- Publication number
- CN112114928B CN112114928B CN202011043163.XA CN202011043163A CN112114928B CN 112114928 B CN112114928 B CN 112114928B CN 202011043163 A CN202011043163 A CN 202011043163A CN 112114928 B CN112114928 B CN 112114928B
- Authority
- CN
- China
- Prior art keywords
- application
- zero terminal
- display page
- mobile zero
- display
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 15
- 238000000034 method Methods 0.000 claims abstract description 32
- 230000008859 change Effects 0.000 abstract description 9
- 238000005516 engineering process Methods 0.000 abstract description 4
- 230000008569 process Effects 0.000 description 10
- 230000006835 compression Effects 0.000 description 4
- 238000007906 compression Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Abstract
The invention discloses a processing method and a processing device for a display page. Wherein the method comprises the following steps: acquiring display parameters of the mobile zero terminal after the display page is changed; 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 in the related technology cannot be adjusted along with the change of the size of the equipment, so that the personalized requirements of the equipment with various sizes cannot be met.
Description
Technical Field
The invention relates to the field of terminal display page processing, in particular to a processing method and device for a display page.
Background
With the progress of technology, the terminal side will develop towards lighter and lighter weight, that is, the configuration and structure of the terminal will be simpler and the size will be smaller.
At present, various zero-terminal solutions have been proposed, so-called zero terminals, i.e. terminals only need to have a screen, a simple CPU and memory, an image receiving and decoding module for processing the image and a reverse control processing module. This solution allows to greatly simplify the size and configuration of the mobile terminal. All programs of the zero terminal are operated in the cloud server, the zero terminal uses corresponding application programs by accessing the cloud server and controls the corresponding application programs by reverse control, and the server sends real-time processing pictures to the zero terminal, so that the zero terminal operates as if the zero terminal is operated locally.
In order to enable a user's mobile zero terminal device to get rid of the dependence on a certain operating system, applications 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 also needs to generate a main interface according to an application list of each user, where the main interface includes: the background image and icons of all applications installed by the user, or also a taskbar.
Under the architecture, a user can log in to a cloud server through any form of mobile zero terminal equipment to acquire application services, and other folding screen equipment is arranged, so that the user can directly adjust the size of the equipment, namely, the display size of an interface on the equipment is directly changed without a request of logging in again. Different devices have different display requirements of main interfaces due to different sizes, and if the style and the size of a 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 at present.
Disclosure of Invention
The embodiment of the invention provides a processing method and a processing device for a display page, which at least solve the technical problem that the style and the size of the display page in the related technology cannot be adjusted along with the change of the size of equipment, so that the personalized requirements of equipment with various sizes cannot be met.
According to an aspect of an embodiment of the present invention, there is provided a processing method for displaying a page, including: acquiring display parameters of the mobile zero terminal after the display page is changed; and adjusting the display page according to the display parameters.
Optionally, before acquiring the display parameters of the mobile zero terminal after the display page changes, 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 value, 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 the 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.
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 if the display page is an application interface, sending the display parameters to a corresponding application server, so that the application server enlarges or reduces according to the display parameters and the 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 the preset proportion; adjusting the size and 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 the taskbar.
Optionally, the mobile zero terminal is a mobile phone, and adjusting the size and layout mode of the desktop icon of the main interface includes: scaling and compressing the desktop icons according to a first preset proportion; and transversely tiling the desktop icons according to a second preset proportion.
Optionally, the mobile zero terminal is a PAD, and adjusting the size and layout manner of the desktop icon of the main interface includes: when the screen is horizontally displayed, 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 zooming and compressing the desktop icons according to a fifth preset proportion when the screen is longitudinally displayed, and transversely tiling the desktop icons according to the sixth preset proportion.
Optionally, determining to add or remove a taskbar includes: 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 PAD.
According to another aspect of the embodiment 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 of the mobile zero terminal is changed; and the adjusting module is used for adjusting the display page according to the display parameters.
According to another aspect of the embodiment of the present invention, there is further provided a computer readable storage medium, where the computer readable storage medium includes a stored program, and when the program runs, the device in which the computer readable storage medium is controlled to execute the method for processing a display page according to any one of the foregoing methods.
According to another aspect of the embodiment of the present invention, there is further provided a processor, where the processor is configured to execute a program, and when the program is executed, perform a processing method of any one of the display pages described above.
In the embodiment of the invention, the display parameters of the mobile zero terminal after the display page is changed are acquired; according to the display parameters, the display page is adjusted, 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, and the purpose that the display page of the mobile zero terminal is matched with the screen size is achieved, so that 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 equipment size in the related art is solved, and therefore the personalized requirements of 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 embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on 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 of a system under a cross-platform application virtualization architecture according to an embodiment of the present invention;
FIG. 3 is a flow chart of a method of processing a display page according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a processing apparatus for displaying a page according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise 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
According to an embodiment of the present invention, there is provided an embodiment of a processing method of displaying a page, it should be noted that the steps shown in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases the steps shown or described may be performed in an order different from that herein.
In order to solve the technical problem that the style and the size of a display page in the related art cannot be adjusted along with the change of the size of equipment, so that the personalized requirements of equipment with various sizes cannot be met, the invention provides a system display interface self-adaptive adjustment method under a cross-platform application virtualization architecture.
FIG. 2 is a network topology of a system under a cross-platform application virtualization architecture according to an embodiment of the present invention, AS shown in FIG. 2, in which an application management server (Application Management Server, abbreviated AS AMS) is used to manage and save a user list and an application list of a user, and an application ID of an application server (Application Server, abbreviated AS AS) corresponding to each application and an application ID in the application server; meanwhile, the AMS is also used to save the state of each application, such as the state of currently open, background running, closed, etc. The system comprises application servers under various different operating system architectures, such as windows, linux, ios and the like; specifically, a plurality of applications are installed in each AS, the AS locally stores a list of authority users usable by each application, simultaneously stores historical application data generated when each user uses its corresponding application, when the application is started, the AS loads the historical application data corresponding to the user into the current application, if the user closes the current application, the AS stores the historical application data of the current user, 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 'current opening' 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 state of each application corresponding to the current zero terminal, if the state is the application which is opened currently, the AMS is connected to the corresponding AS to acquire the corresponding application interface, and the acquired application interface is sent to the zero terminal.
In a specific implementation process, one or more application pictures (supporting a scene of simultaneously displaying multiple application interfaces) are generally displayed at the forefront end on the mobile zero terminal, or a main interface is directly displayed. When the main interface is displayed, there may not be any application running at present, and there may be one or more applications running in the background; in addition, the user can switch the screen from the application screen to the main interface through a preset operation mode (for example, clicking a home key, etc.).
In the use process of the mobile zero terminal, the AMS monitors an R-terminal instruction of the user on the application operation in real time, wherein the instruction comprises opening the application, running the application in the background, closing the application and opening a main page. When a user opens an 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 a network, and the AMS corresponds to the AS according to the application number and sends the opening instruction, the user account and the application number to the AS. And the AS sends the virtualized application interface to the R end according to the user number and the application number and the opening instruction. And after the R-side receives the content of the application interface, displaying the content on the interface of the zero terminal.
Based on the above display processing logic, according to an aspect of the embodiment of the present invention, there is provided a processing method of a display page, and fig. 3 is a flowchart of the processing method of the display page according to the embodiment of the present invention, and as shown in fig. 3, the processing method of the display page includes the following steps:
step S302, obtaining 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 personal computer and the like; the display page of the mobile zero terminal comprises 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 the implementation, the change of the display page can be changed from the main interface to the application interface, from the application interface to the main interface, from one application interface to another application interface, and so on.
Step S304, according to the display parameters, the display page is adjusted.
As an alternative embodiment, the display parameters of the display page of the zero terminal after the change can be moved, so as to adjust the main interface and/or the application interface.
It should be noted that, the execution body of the processing method of the display 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 architecture can be perfectly adapted to the screen size of the current mobile zero terminal by the method, so that the user experience is improved.
Through the steps, the display parameters after the display page of the mobile zero terminal is changed can be obtained; according to the display parameters, the display page is adjusted, 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, and the purpose that the display page of the mobile zero terminal is matched with the screen size is achieved, so that 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 equipment size in the related art is solved, and therefore personalized requirements of equipment with various sizes cannot be met is solved.
Optionally, before acquiring the display parameters of the mobile zero terminal after the display page changes, the method further includes: determining a type of the mobile zero terminal, wherein determining the type of the mobile zero terminal comprises: acquiring the screen size of a mobile zero terminal; when the screen size of the mobile zero terminal is smaller than or equal to a first screen size threshold value, 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 value and smaller than the second screen size threshold value, 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, and the second screen size threshold includes, but is not limited to, 14 inches, and in a 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 may 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 a main interface, redrawing the main interface according to the display parameters and carrying out layout adjustment; or if the display page is the 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 preset proportion according to the display parameters, and redrawing the application interface.
As an optional embodiment, the display page at least includes a main interface and an application interface, where in the process of adjusting the display page according to the display parameter, if the display page is the main interface, the main interface is redrawn according to the display parameter and the layout is adjusted; if the display page is an application interface, the display parameters are sent to the corresponding application server, so that the application server performs zooming in or zooming out according to the display parameters and redraws the application interface. It should be noted that, the application servers are servers 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, in the case that the display page is the main interface, redrawing the main interface according to the display parameters and performing layout adjustment includes at least one of: the background image of the main interface is enlarged or reduced according to the display parameters and the preset proportion; adjusting the size and layout mode of desktop icons of the main interface; adjusting the text format of the main interface; it is determined to add or remove the 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 proportion, so as to meet the display requirement of the new resolution size.
As an alternative embodiment, the layout may include a size of the space in which desktop icons are arranged on the main interface.
As an alternative embodiment, the text formats include, but are not limited to, font size, font thickness, font tilt, font color, and the like.
As an alternative embodiment, the adding of the task bar may implement displaying the task bar, and the removing of the task bar may implement not displaying the task bar.
By the embodiment, the main interface can be more flexibly redrawn and layout adjustment can be realized.
Optionally, the mobile zero terminal is a mobile phone, and the adjusting the size and the layout mode of the desktop icon of the main interface includes: zooming and compressing the desktop icons according to a first preset proportion; and transversely tiling the desktop icons according to a second preset proportion.
As an alternative embodiment, the first preset ratio may be a lateral dimension/6.5 of the mobile phone, and the second preset ratio is a first preset ratio/2. In the implementation process, if the mobile zero terminal is a mobile phone, the desktop icons are scaled and compressed according to the transverse size/6.5 of the mobile phone, and then the desktop icons are horizontally tiled according to the first preset proportion/2 of the interval size. It should be noted that, the above-mentioned horizontal tiling may be implemented after the desktop icon is transmitted to the mobile phone. By the embodiment, the system interface of the mobile phone can be perfectly adapted to the screen size of the mobile phone.
Optionally, the mobile zero terminal is a PAD, and the adjusting the size and layout manner of the desktop icon of the main interface includes: when the screen is horizontally displayed, 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 zooming and compressing the desktop icons according to a fifth preset proportion when the screen is longitudinally displayed, and transversely tiling the desktop icons according to the sixth preset proportion.
As an alternative embodiment, the third preset ratio may be PAD transverse dimension/13, and the fourth preset ratio is a third preset ratio/2; the fifth preset ratio may be PAD longitudinal dimension/8, and the sixth preset ratio may be fifth preset ratio/2. In the implementation process, if the mobile zero terminal is a PAD, zooming and compressing the desktop icons according to a third preset proportion (PAD transverse size/13) and transversely tiling the desktop icons according to a fourth preset proportion (third preset proportion/2) interval size when the mobile zero terminal is in a transverse screen; if the mobile zero terminal is PAD, zooming and compressing the desktop icons according to a fifth preset proportion (PAD longitudinal size/8) and transversely tiling the desktop icons according to a spacing size of the sixth preset proportion (fifth preset proportion/2) when the mobile zero terminal is a PAD. By the implementation mode, the system interface of the PAD can be perfectly adapted to the screen size of the PAD.
Optionally, determining to add or remove a taskbar includes: removing the task bar under the condition that the mobile zero terminal is a mobile phone; and adding a 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 can not be 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 for the application management server to query all applications running and running in the background in the application list according to the user account.
An alternative embodiment of the present invention is described below.
As an optional processing method for a display page of a mobile zero terminal under a cross-platform application virtualization architecture, a display adjustment scheme of a display interface (including a main interface and an application interface) is provided for the situation that the screen size of the mobile zero terminal changes, and the specific implementation steps are as follows:
step one: when the resolution and the size of the mobile zero terminal change in the use process, an R-terminal module in the mobile zero terminal sends the changed resolution size and the transverse screen state to the AMS; or when the mobile zero terminal establishes connection with the AMS, the resolution size parameter and the transverse screen state are actively reported to the AMS;
specifically, the mobile terminal can report new parameter information to the server through the URL, monitor the new parameter information by using the program, and compare with the original parameter.
Step two: if the current page displayed by the mobile zero terminal is the main interface, the AMS redraws the main interface according to the new resolution size parameter and performs layout adjustment.
Specifically, the AMS redraws the main interface and makes layout adjustments according to the new resolution size, including:
1) The main interface background is scaled up and down according to the new parameters;
and enlarging or reducing the background image of the main interface according to the new resolution parameters 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 spacing 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 manner of classifying the devices according to the screen size S is:
when S < = 7 inches, confirm as the cell phone;
when 7< s <14 inches, it is confirmed to be PAD.
b) If it is a mobile phone: and (3) not processing and transmitting the taskbar window at the S end, scaling and compressing the desktop background proportionally, and scaling and compressing the desktop icon by the size of x=the transverse size of the mobile phone/6.5. After the R end is transmitted, the desktop icons are horizontally tiled according to the interval size x/2.
If the desktop icon is the PAD, displaying a task bar when the horizontal screen message is acquired, scaling and image compression are carried out on the desktop background, and scaling and compression are carried out on the size of x=PAD horizontal dimension/13 of the desktop icon. After being transmitted to the R end, the desktop icons are horizontally tiled according to the interval size x/2.
If the desktop icon is the PAD, displaying a taskbar when the vertical screen message is acquired, scaling and image compression are carried out on the desktop background, and scaling and compression are carried out on the size of x=PAD vertical size/8. After being transmitted to the R end, the desktop icons are horizontally tiled according to the interval size x/2.
3) Adjusting the size of characters in the main interface;
specifically, the size (size) of the text displayed in the current main interface is calculated according to the new resolution size, and corresponding text is generated according to the new text size parameter.
4) Judging whether to add or remove the task bar according to the new parameters;
specifically, if the current device is PAD, the task bar is required to be displayed whether the device is a horizontal screen or a vertical screen, but the size of the task bar is required to be determined according to the conditions of the horizontal screen or the vertical screen, specifically, the height of the task bar is kept unchanged by 30px in the adjustment process, and the length occupies the screen along with the size of the screen; if the current device is judged to be a mobile phone, the taskbar is not displayed.
Step three: if the application interface is currently opened, when the resolution and the size of the R end change, the AMS sends the new parameters to the corresponding AS, and 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 embodiment of the present invention, there is further provided a processing apparatus for displaying a page, and fig. 4 is a schematic diagram of the processing apparatus for displaying a page according to an embodiment of the present invention, as shown in fig. 4, where the processing apparatus for displaying a page includes: an acquisition module 42 and an adjustment module 44. The processing device for the display page will be described in detail.
The obtaining module 42 is configured to obtain a display parameter of the mobile zero terminal after the display page is changed; the adjustment module 44 is connected to the acquisition module 42, and is configured to adjust the display page according to the display parameter.
In the above implementation of the present invention, the processing device for a display page may acquire the display parameter of the mobile zero terminal after the display page of the mobile zero terminal is changed by using the acquiring module 42, and then the adjusting module 44 adjusts the display page according to the display parameter.
It should be noted that each of the above modules may be implemented by software or hardware, for example, in the latter case, it may be implemented by: the above modules may be located in the same processor; alternatively, the various modules described above may be located in different processors in any combination.
Here, it should be noted that the above-mentioned obtaining module 42 and adjusting module 44 correspond to steps S302 to S304 in embodiment 1, and the above-mentioned modules are the same as examples and application scenarios implemented by the corresponding steps, but are not limited to those disclosed in embodiment 1 above. It should be noted that the modules described above may be implemented as part of an apparatus in a computer system, such as a set of computer-executable instructions.
Optionally, before acquiring the display parameters of the mobile zero terminal after the display page changes, the apparatus further includes: a determining module, configured to determine a type of a mobile zero terminal, where the determining module includes: an acquisition unit for acquiring the screen size of the mobile zero terminal; the first determining unit is used for determining that the mobile zero terminal is a mobile phone when the screen size of the mobile zero terminal is smaller than or equal to a first screen size threshold value; a second determining unit, configured to determine that the mobile zero terminal is a PAD when the screen size of the mobile zero terminal is greater than the first screen size threshold and less 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 carrying out 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 and redraw the application interface according to the preset proportion.
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 text format of the main interface; and the determination subunit is used for determining to add or remove the task bar.
Optionally, the mobile zero terminal is a mobile phone, and the second adjustment subunit includes: the first processing unit is used for scaling and compressing the desktop icons according to a first preset proportion; and the second processing unit is used for transversely tiling the desktop icons according to a second preset proportion.
Optionally, the mobile zero terminal is a PAD, and the second adjustment subunit includes: the third processing unit is used for zooming and compressing the desktop icons according to a third preset proportion and transversely tiling the desktop icons according to a fourth preset proportion when the desktop icons are horizontally displayed; or the fourth processing unit is used for zooming and compressing the desktop icons according to a fifth preset proportion when the desktop icons are vertically displayed, and horizontally tiling the desktop icons according to a sixth preset proportion.
Optionally, the determining subunit includes: 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 the PAD.
Example 3
According to another aspect of the embodiment 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 device in which the computer readable storage medium is controlled to execute the method for processing the display page of any one of the above steps.
Alternatively, in this embodiment, the above-mentioned computer readable storage medium may be located in any one of the computer terminals in the computer terminal group in the computer network or in any one of the mobile terminals in the mobile terminal group, and the above-mentioned computer readable storage medium includes a stored program.
Optionally, the computer readable storage medium is controlled to perform the following functions when the program is run: acquiring display parameters of the mobile zero terminal after the display page is changed; and adjusting the display page according to the display parameters.
Example 4
According to another aspect of the embodiment of the present invention, there is also provided a processor, configured to execute a program, where the program executes the processing method of the display page of any one of the above-mentioned embodiments.
The embodiment of the application provides equipment, which comprises a processor, a memory and a program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the following steps: acquiring display parameters of the mobile zero terminal after the display page is changed; and adjusting the display page according to the display parameters.
The present application also provides a computer program product adapted to perform, when executed on a data processing device, a program initialized with the method steps of: acquiring display parameters of the mobile zero terminal after the display page is changed; and adjusting the display page according to the display parameters.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention 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. The integrated units may be implemented in hardware or in software functional units.
The integrated units, 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 technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform 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, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.
Claims (9)
1. A method for processing a display page, comprising:
after the application management server establishes connection with the mobile zero terminal, determining an application state corresponding to the mobile zero terminal, wherein the application management server is used for managing and storing a user list, an application server ID corresponding to each application and an application ID in the application server, and the application management server is also used for storing the application state of each application, and the application state comprises that the application is currently opened, and the background operation is closed;
the application management server is connected to an application server corresponding to a target application to acquire an application interface of the target application and sends the application interface to the mobile zero terminal under the condition that the application state is determined to be the currently opened target application;
acquiring display parameters of a mobile zero terminal after the display page is changed, wherein the display page comprises a main interface and the application interface;
according to the display parameters, the display page is adjusted, which comprises the following steps: 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 if the display page is an application interface, sending the display parameters to a corresponding application server, so that the application server enlarges or reduces according to the display parameters and the preset proportion, and redrawing the application interface.
2. The method of claim 1, further comprising, prior to obtaining the changed display parameters of the display page of the mobile zero terminal:
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 value, 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 the 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.
3. The method of claim 1, wherein, in the case where the display page is a main interface,
redrawing the main interface and performing layout adjustment according to the display parameters comprises at least one of the following:
amplifying or reducing the background image of the main interface according to the display parameters and the preset proportion;
adjusting the size and 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 the taskbar.
4. The method of claim 3, wherein the mobile zero terminal is a mobile phone, and adjusting the size and layout of the desktop icon of the main interface comprises:
scaling and compressing the desktop icons according to a first preset proportion;
and transversely tiling the desktop icons according to a second preset proportion.
5. The method of claim 3, wherein the mobile zero terminal is a PAD, and adjusting the size and layout of the desktop icon of the main interface comprises:
when the screen is horizontally displayed, 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,
and when the screen is longitudinally displayed, zooming and compressing the desktop icons according to a fifth preset proportion, and transversely tiling the desktop icons according to a sixth preset proportion.
6. The method of claim 3, 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 PAD.
7. A processing apparatus for displaying a page, adapted to an application management server, comprising:
the processing device of the display page is used for determining an application state corresponding to the mobile zero terminal after the application management server establishes connection with the mobile zero terminal, wherein the application management server is used for managing and storing a user list, an application server ID corresponding to each application and an application ID in the application server, and the application management server is also used for storing the application state of each application, and the application state comprises the current opening, background running and closing;
the processing device of the display page is further configured to, when determining that an application state is a currently opened target application, connect to an application server corresponding to the target application to obtain an application interface of the target application, and send the application interface to the mobile zero terminal;
the acquisition module is used for acquiring display parameters of the mobile zero terminal after the display page of the mobile zero terminal is changed, wherein the display page comprises a main interface and the application interface;
the adjusting module is configured to adjust the display page according to the display parameter, and 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 if the display page is an application interface, sending the display parameters to a corresponding application server, so that the application server enlarges or reduces according to the display parameters and the preset proportion, and redrawing the application interface.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program, when run, controls a device in which the computer-readable storage medium is located to perform the method of processing a display page according to any one of claims 1 to 6.
9. A processor for running a program, wherein the program runs to execute the processing method of a display page according to any one of claims 1 to 6.
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 CN112114928A (en) | 2020-12-22 |
CN112114928B true 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) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110908752A (en) * | 2019-11-05 | 2020-03-24 | 北京字节跳动网络技术有限公司 | Control setting method and device, electronic equipment and interaction system |
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 |
CN116841663A (en) * | 2022-03-25 | 2023-10-03 | 华为技术有限公司 | Self-adaptive display method of interface and terminal equipment |
Citations (13)
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 |
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3561651A1 (en) * | 2016-12-26 | 2019-10-30 | Shenzhen Royole Technologies Co., Ltd. | Display screen control method and apparatus |
-
2020
- 2020-09-28 CN CN202011043163.XA patent/CN112114928B/en active Active
Patent Citations (13)
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 |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN112114928A (en) | 2020-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112114928B (en) | Processing method and device for display page | |
US20090096810A1 (en) | Method for selectively remoting windows | |
WO2007007949A1 (en) | A method and system of computer remote control that optimized for low bandwidth network and low level personal communication terminal device | |
US8887059B2 (en) | Method and apparatus of locally controlling display content of a remote system | |
JP2016529627A (en) | Browser resource display method and apparatus, and computer-readable storage medium | |
US20130275878A1 (en) | Method, device, server, and mobile terminal for browsing web pages | |
EP2827597A1 (en) | Adaptive content delivery | |
CN113515390A (en) | Inter-page data interaction processing method and device, electronic equipment and storage medium | |
WO2013135031A1 (en) | Method and device for transmitting picture through mobile terminal | |
WO2015088996A1 (en) | Web page rendering on wireless devices | |
CN116127420A (en) | Watermark adding method and device, storage medium and electronic device | |
CN112395029A (en) | Application program interface display method and device, electronic equipment and storage medium | |
CN107612881B (en) | Method, device, terminal and storage medium for transmitting picture during file transmission | |
CN111372009B (en) | Image processing method and processing equipment | |
CN111381749A (en) | Image display and processing method, device, equipment and storage medium | |
CN115442431A (en) | Redirection method and device for cloud desktop browser, electronic equipment and storage medium | |
CN112272223B (en) | Application running method and device, server and computer readable storage medium | |
CN114020396A (en) | Display method of application program and data generation method of application program | |
CN109960562B (en) | Information display method and device and computer readable storage medium | |
EP2854025B1 (en) | Information processing apparatus, information processing method and information processing program | |
JP2007226341A (en) | Content display system | |
CN109376323B (en) | Application running method, device, computer device and storage medium | |
CN111880869A (en) | Picture adjusting method, device and system | |
CN111158566A (en) | Event processing method, device, equipment and storage medium | |
CN112491974A (en) | Remote browsing method and device, storage medium, terminal equipment and server |
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 |