CN110968377B - Interface display processing method and device - Google Patents

Interface display processing method and device Download PDF

Info

Publication number
CN110968377B
CN110968377B CN201811152276.6A CN201811152276A CN110968377B CN 110968377 B CN110968377 B CN 110968377B CN 201811152276 A CN201811152276 A CN 201811152276A CN 110968377 B CN110968377 B CN 110968377B
Authority
CN
China
Prior art keywords
interface display
software
application
information
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.)
Active
Application number
CN201811152276.6A
Other languages
Chinese (zh)
Other versions
CN110968377A (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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum 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 Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201811152276.6A priority Critical patent/CN110968377B/en
Publication of CN110968377A publication Critical patent/CN110968377A/en
Application granted granted Critical
Publication of CN110968377B publication Critical patent/CN110968377B/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
    • 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/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

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

Abstract

The invention discloses a method and a device for processing interface display. The processing method of the interface display comprises the following steps: receiving information through a plug-in embedded in an application or software, wherein the information comprises: the interface display parameter adjustment device is used for indicating adjustment of the interface display parameters of the application or software; adjusting interface display parameters of the application or software through the plug-in use information; the invention judges whether the adjusted application or software interface is displayed normally, achieves the purpose of adjusting the interface display size according to the interface display parameters, thereby realizing the technical effect of flexibly adjusting the interface display parameters.

Description

Interface display processing method and device
Technical Field
The invention relates to the field of interface display processing, in particular to an interface display processing method and device.
Background
In the process of developing a web page, the design of a page style is an indispensable link, the designed style can enable a user to see an attractive page, but the efficiency is low sometimes in the process of debugging the style (the purpose of debugging is to ensure that a written style code can be normally expressed on the page), and the style is not fixed sometimes, so that self-adaption is required to be achieved according to the size of an interface in many scenes.
In the prior art, the size is too fixed and limited when the interface display parameters are adjusted, all scenes are difficult to cover, and dynamic inspection is lacked, namely: and checking the adaptivity of the interface style in the process of continuously changing the interface.
Aiming at the problem that the interface display size cannot be flexibly adjusted in the prior art, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for processing interface display, which are used for at least solving the technical problem that the interface display size cannot be flexibly adjusted in the prior art.
According to an aspect of an embodiment of the present invention, there is provided a method for processing an interface display, including: receiving information through a plug-in embedded in an application or software, wherein the information comprises: the interface display parameter adjustment module is used for indicating adjustment of the interface display parameter of the application or the software; adjusting interface display parameters of the application or the software by the plug-in using the information; and judging whether the adjusted interface of the application or the software is displayed normally.
Further, the information includes at least one of: the application or software interface display parameter adjusting method comprises initial state information used for adjusting and setting the interface display parameter of the application or the software, preset speed used for adjusting the interface display parameter of the application or the software, and ending state information used for adjusting and setting the interface display parameter of the application or the software, wherein the initial state information and the ending state information comprise at least one of the following information: and displaying parameter height information and parameter width information on the interface of the application or the software.
Further, the adjusting, by the plug-in, interface display parameters of the application or the software using the information includes: when the set initial state information comprises the height information of the interface display parameters of the application or the software, correspondingly adjusting the height of the interface display parameters at a preset speed, and stopping adjustment when the height information of the interface display parameters in the ending state information is reached; and/or when the set initial state information comprises the width information of the interface display parameter of the application or the software, correspondingly adjusting the width of the interface display parameter at a preset speed, and stopping the adjustment when the width information of the interface display parameter in the end state information is reached.
Further, the movement mode for adjusting the interface display parameters of the application or the software is uniform movement or accelerated movement.
Further, the method further comprises: when the motion mode is the uniform motion, the speed value of the uniform motion is determined by the input speed value; when the motion mode is the acceleration motion, the speed value of the acceleration motion is determined by the input speed value and the acceleration.
Further, after the interface display parameters of the application or the software are adjusted by the plug-in using the information, the method further comprises: and performing screen capture processing on the interface in the configuration process according to a preset time interval to obtain a plurality of screen capture pictures, and storing the plurality of screen capture pictures.
Further, determining whether the adjusted interface of the application or the software is displayed normally includes: acquiring a screen capture picture of the adjusted interface; comparing the screen shot picture with a sample picture; if the similarity between the screenshot picture and the sample picture meets a preset threshold, judging that the adjusted interface display of the application or the software is normal; if the similarity between the screenshot picture and the sample picture does not meet the preset threshold, triggering reminding information to remind that the adjusted interface of the application or the software is abnormally displayed.
According to another aspect of the embodiments of the present invention, there is also provided an apparatus for processing interface display, including: a receiving unit, configured to receive information through a plug-in embedded in an application or software, wherein the information includes: the interface display parameter adjustment module is used for indicating adjustment of the interface display parameter of the application or the software; the adjusting unit is used for adjusting the interface display parameters of the application or the software by using the information through the plug-in; and the judging unit is used for judging whether the adjusted application or the adjusted software interface is displayed normally.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium, where the storage medium includes a stored program, and the program executes the processing method of the interface display described in any one of the above when running.
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 the processing method for interface display according to any one of the foregoing embodiments.
In the embodiment of the present invention, information is received through a plug-in embedded in an application or software, where the information includes: the interface display parameter adjustment device is used for indicating adjustment of the interface display parameters of the application or software; adjusting interface display parameters of the application or software through the plug-in use information; whether the adjusted interface of the application or software is displayed normally is judged, and the purpose of adjusting the display size of the interface according to the interface display parameters is achieved, so that the technical effect of flexibly adjusting the interface display parameters is achieved, and the technical problem that the interface display size cannot be flexibly adjusted in the prior art 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 flow diagram of a method of processing an interface display according to an embodiment of the invention; and
fig. 2 is a schematic diagram of a processing device for interface display 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. Moreover, 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.
First, some terms or terms appearing in the description of the embodiments of the present invention are applicable to the following explanations:
the Web end: a computer browser.
cs: and developing a style language of the web-side application.
Screen adaptation: with the change of the screen size, the page dynamically adjusts the style layout to achieve a reasonable and beautiful state.
The browser plug-in: can be installed on a browser as a program that supplements the browser's functionality.
In accordance with an embodiment of the present invention, there is provided an embodiment of a method for processing an interface display, it should be noted that the steps illustrated in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than that described herein.
Fig. 1 is a flowchart of a processing method of an interface display according to an embodiment of the present invention, and as shown in fig. 1, the processing method of the interface display includes the following steps:
step S102, receiving information through a plug-in embedded into an application or software, wherein the information comprises: for instructing the adjustment of the interface display parameters of the application or software.
The receiving information may be executed by a terminal, the terminal may be a mobile phone, a computer, a tablet computer, or other types of terminals, and the receiving information may be input by a terminal user through a mouse click, where the application may include: android, windows and ios, baidu applications and the like, and the software can comprise: system software, a browser, etc. The adjusted information is received through step S102, and then the interface display parameters are adjusted according to the information.
It should be noted that the information may include at least one of the following: the interface display control system comprises initial state information used for adjusting and setting interface display parameters of application or software, preset speed used for adjusting the interface display parameters of the application or the software, and ending state information used for adjusting and setting the interface display parameters of the application or the software, wherein the initial state information and the ending state information comprise at least one of the following: and displaying the height information and the width information of the parameters on an interface of the application or software. It should be noted that these pieces of information are parameter information for adjusting the display parameters of the interface.
And step S104, adjusting the interface display parameters of the application or the software through the plug-in use information.
It should be noted that, adjusting the interface display parameters of the application or software through the plug-in use information may include: when the set initial state information comprises the height information of the interface display parameters of the application or software, correspondingly adjusting the height of the interface display parameters at a preset speed, and stopping adjustment when the height information of the interface display parameters in the end state information is reached; and/or when the set initial state information comprises the width information of the interface display parameter of the application or software, correspondingly adjusting the width of the interface display parameter at a preset speed, and stopping the adjustment when the width information of the interface display parameter in the end state information is reached.
The specific implementation manner may be: when the set initial state information only contains the height information of the interface display parameters of the application or the software, the interface display parameters are adjusted to the height information of the interface display parameters of the set end state at a preset speed. It should be noted that the movement mode for adjusting the interface display parameters of the application or software is a uniform movement or an accelerated movement.
For example, when the adjustment is performed by a uniform motion, the width or height of the interface is the same at the same interval during the adjustment, and the adjustment amplitude is the same, for example, every 1s, the interface is adjustedThe width of the facets always varies in the dimension of 1cm, and the variation can be increased or decreased. When the acceleration motion mode is adopted for adjustment, the width or height of the interface is different at the same interval in the adjustment process, for example, the acceleration is 1cm/s 2 The width of the interface is 1cm/s 2 Is changed, either increased or decreased.
When the motion mode is uniform motion, the speed value of the uniform motion is determined by the input speed value; when the motion mode is acceleration motion, the speed value of the acceleration motion is determined by the input speed value and the acceleration.
And step S106, judging whether the interface of the adjusted application or software is displayed normally.
With the above embodiment, information is received by a plug-in embedded in an application or software, wherein the information includes: the interface display parameter adjusting device is used for indicating to adjust the interface display parameters of the application or the software; adjusting interface display parameters of the application or software through the plug-in use information; whether the adjusted interface of the application or software is displayed normally is judged, and the purpose of adjusting the display size of the interface according to the interface display parameters is achieved, so that the technical effect of flexibly adjusting the interface display parameters is achieved, and the technical problem that the interface display size cannot be flexibly adjusted in the prior art is solved.
As an optional embodiment, after the interface display parameters of the application or software are adjusted by using the plug-in information, the method further includes: and performing screen capture processing on the interface in the configuration process according to a preset time interval to obtain a plurality of screen capture pictures, and storing the plurality of screen capture pictures.
As an alternative embodiment, the determining whether the adjusted interface of the application or software is displayed normally may include: acquiring a screen capture picture of the adjusted interface; comparing the screenshot picture with the sample picture; if the similarity between the screenshot picture and the sample picture meets a preset threshold, judging that the interface display of the adjusted application or software is normal; if the similarity between the screenshot picture and the sample picture does not meet the preset threshold, triggering reminding information to remind that the adjusted application or software interface is displayed abnormally.
A preferred embodiment of the present invention will be described in detail below.
The preferred embodiment has the following process:
first, parameters of a screen (corresponding to interface display parameters in the above-described embodiment) are designed, including: speed setting, initial state setting, ending state setting, wherein the ending state is the state that finally needs to be reached, wherein, speed design: setting the speed to be constant and accelerated according to the requirements of users. The design parameters are based on the conditions under which the screen adjustments are made.
Note that the set speed is calculated as follows: if the speed is set to be the constant speed, only the speed value input by the user needs to be acquired, and if the speed is set to be the acceleration, the speed value and the acceleration value input by the user need to be acquired, namely, the instant speed = the speed + the acceleration time.
The preferred embodiment can be implemented in the following scenarios:
scene 1: if the initial state only sets the width (height) of the screen, the end state only sets the width (height) of the screen, the movement mode is based on the situation that the height (width) keeps the maximum height (width), the width (height) is dynamically adjusted according to the set speed mode, and the width (height) of the screen is adjusted to the set width (height) in the end state.
Scene 2: if the initial state sets both width and height and the end state sets only width (height), then the motion pattern will be based on the situation where the height (width) of the initial state remains the same and the width (height) is dynamically adjusted in the set speed pattern.
Scene 3: if the initial state sets both width and height and the end state sets both width and height, then the motion profile will dynamically adjust from the initial state width and height setting speed profile to the end state width and height.
It should be noted that, when dynamically adjusting the screen according to different scenes, the width and height of the initial state are respectively run at a predetermined speed until the width and height of the final state, and meanwhile, screen shots can be made every 1 second during the adjustment process and saved in a local folder so as to be retained as historical data for reference.
Through the preferred embodiment, the design of the speed can well support the dynamic inspection, and meanwhile, the scheme of the acceleration can inspect the self-adaption condition of the page in the scene of rapid impact movement; the diversified design of the initial state and the end state can check the self-adaptive condition of the page when the screen changes irregularly; a screenshot may be left for historical reference alignment.
According to the embodiment of the present invention, an embodiment of a processing apparatus for interface display is further provided, and it should be noted that the processing apparatus for interface display may be configured to execute a processing method for interface display in the embodiment of the present invention, that is, the processing method for interface display in the embodiment of the present invention may be executed in the processing apparatus for interface display.
Fig. 2 is a schematic diagram of a processing device for interface display according to an embodiment of the present invention, and as shown in fig. 2, the device may include: a receiving unit 21, an adjusting unit 23, and a judging unit 25. The processing means for the interface display will be described in detail below.
A receiving unit 21, configured to receive information through a plug-in embedded in an application or software, where the information includes: for instructing the adjustment of the interface display parameters of the application or software.
Wherein, the information at least includes one of the following: the interface display control system comprises initial state information used for adjusting and setting interface display parameters of application or software, preset speed used for adjusting the interface display parameters of the application or the software, and ending state information used for adjusting and setting the interface display parameters of the application or the software, wherein the initial state information and the ending state information comprise at least one of the following: and displaying the height information and the width information of the parameters on an interface of the application or software. It should be noted that these pieces of information are parameter information for adjusting the display parameters of the interface. The ending state information includes at least one of: and displaying the height information and the width information of the parameters on an interface of the application or software.
And the adjusting unit 23 is used for adjusting the interface display parameters of the application or the software through the plug-in use information.
The adjusting means may include: the first adjusting module correspondingly adjusts the height of the interface display parameter at a preset speed under the condition that the set initial state information comprises the height information of the interface display parameter of the application or software, and stops adjusting under the condition that the height information of the interface display parameter in the end state information is reached; and/or the second adjusting module is used for correspondingly adjusting the width of the interface display parameter at a preset speed under the condition that the set initial state information comprises the width information of the interface display parameter of the application or software, and stopping adjustment under the condition that the width information of the interface display parameter in the end state information is reached.
The specific implementation manner may be: and when the set initial state information only contains the height information of the application or interface display parameters, adjusting the interface display parameters to the height information of the set interface display parameters in the end state at a preset speed. It should be noted that the movement mode for adjusting the interface display parameters of the application or software is uniform movement or accelerated movement.
And a judging unit 25, configured to judge whether the adjusted interface of the application or software is displayed normally.
With this embodiment, information is received by the receiving unit 21 through a plug-in embedded in an application or software, wherein the information comprises: the interface display parameter adjusting device is used for indicating to adjust the interface display parameters of the application or the software; the adjusting unit 23 adjusts the interface display parameters of the application or software through the plug-in use information; the judging unit 25 judges whether the adjusted interface of the application or software is displayed normally, so that the purpose of adjusting the display size of the interface according to the display parameters of the interface is achieved, the technical effect of flexibly adjusting the display parameters of the interface is achieved, and the technical problem that the display size of the interface cannot be flexibly adjusted in the prior art is solved.
As an alternative embodiment, the above apparatus further comprises: and the processing unit is used for carrying out screen capture processing on the interface in the configuration process according to a preset time interval after the interface display parameters of the application or the software are adjusted through the plug-in use information, obtaining a plurality of screen capture pictures and storing the plurality of screen capture pictures.
As an alternative embodiment, the judging unit may include: the acquisition module is used for acquiring a screen capture picture of the adjusted interface; the comparison module is used for comparing the screen shot picture with the sample picture; the display module is used for judging that the interface display of the adjusted application or software is normal if the similarity between the screenshot picture and the sample picture meets a preset threshold value; and the reminding module is used for triggering reminding information if the similarity between the screenshot picture and the sample picture does not meet a preset threshold value so as to remind that the display of the adjusted application or software interface is abnormal.
The processing device of the interface display comprises a processor and a memory, the receiving unit 21, the adjusting unit 33 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the interface display parameters can be flexibly adjusted by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a storage medium, on which a program is stored, the program implementing a processing method of interface display when executed by a processor.
The embodiment of the invention provides a processor, which is used for running a program, wherein the processing method of interface display is executed when the program runs.
The embodiment of the invention 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 and realizes the following steps: receiving information through a plug-in embedded in an application or software, wherein the information comprises: the interface display parameter adjustment device is used for indicating adjustment of the interface display parameters of the application or software; adjusting interface display parameters of the application or software through the plug-in use information; and judging whether the adjusted interface of the application or the software is displayed normally.
The information includes at least one of: the interface display control system comprises initial state information used for adjusting and setting interface display parameters of application or software, preset speed used for adjusting the interface display parameters of the application or the software, and ending state information used for adjusting and setting the interface display parameters of the application or the software, wherein the initial state information and the ending state information comprise at least one of the following: and displaying the height information and the width information of the parameters on an interface of the application or software.
The adjustment of the interface display parameters of the application or software by the plug-in using information comprises the following steps: when the set initial state information comprises the height information of the interface display parameters of the application or software, correspondingly adjusting the height of the interface display parameters at a preset speed, and stopping adjustment when the height information of the interface display parameters in the end state information is reached; and/or when the set initial state information comprises the width information of the interface display parameter of the application or software, correspondingly adjusting the width of the interface display parameter at a preset speed, and stopping the adjustment when the width information of the interface display parameter in the end state information is reached.
The movement mode for adjusting the interface display parameters of the application or the software is uniform movement or accelerated movement.
The method further comprises the following steps: when the motion mode is uniform motion, the speed value of the uniform motion is determined by the input speed value; when the motion mode is acceleration motion, the speed value of the acceleration motion is determined by the input speed value and the acceleration.
After the interface display parameters of the application or software are adjusted by the plug-in use information, the method further comprises the following steps: and performing screen capture processing on the interface in the configuration process according to a preset time interval to obtain a plurality of screen capture pictures, and storing the plurality of screen capture pictures.
The step of judging whether the adjusted interface of the application or the software is displayed normally comprises the following steps: acquiring a screen capture picture of the adjusted interface; comparing the screenshot picture with the sample picture; if the similarity between the screenshot picture and the sample picture meets a preset threshold, judging that the interface display of the adjusted application or software is normal; and if the similarity between the screenshot picture and the sample picture does not meet the preset threshold, triggering reminding information to remind that the interface of the adjusted application or software is abnormally displayed. The device herein may be a server, a PC, a PAD, a mobile phone, etc.
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: receiving information through a plug-in embedded in an application or software, wherein the information comprises: the interface display parameter adjustment device is used for indicating adjustment of the interface display parameters of the application or software; adjusting interface display parameters of the application or software through the plug-in use information; and judging whether the adjusted interface of the application or the software is displayed normally.
The information includes at least one of: the system comprises initial state information used for adjusting and setting interface display parameters of application or software, preset speed used for adjusting the interface display parameters of the application or software, and ending state information used for adjusting and setting the interface display parameters of the application or software, wherein the initial state information and the ending state information comprise at least one of the following information: and displaying the height information and the width information of the parameters on an interface of the application or software.
The adjustment of the interface display parameters of the application or software by the plug-in using information comprises the following steps: when the set initial state information comprises the height information of the interface display parameters of the application or software, correspondingly adjusting the height of the interface display parameters at a preset speed, and stopping adjustment when the height information of the interface display parameters in the end state information is reached; and/or when the set initial state information comprises the width information of the interface display parameter of the application or software, correspondingly adjusting the width of the interface display parameter at a preset speed, and stopping the adjustment when the width information of the interface display parameter in the end state information is reached.
The movement mode for adjusting the interface display parameters of the application or the software is uniform movement or accelerated movement.
The method further comprises the following steps: when the motion mode is uniform motion, the speed value of the uniform motion is determined by the input speed value; when the motion mode is an acceleration motion, the speed value of the acceleration motion is determined by the input speed value and the acceleration.
After the interface display parameters of the application or software are adjusted by the plug-in use information, the method further comprises the following steps: and performing screen capture processing on the interface in the configuration process according to a preset time interval to obtain a plurality of screen capture pictures, and storing the plurality of screen capture pictures.
The step of judging whether the adjusted interface of the application or the software is displayed normally comprises the following steps: acquiring a screen capture picture of the adjusted interface; comparing the screenshot picture with the sample picture; if the similarity between the screenshot picture and the sample picture meets a preset threshold, judging that the interface display of the adjusted application or software is normal; and if the similarity between the screenshot picture and the sample picture does not meet the preset threshold, triggering reminding information to remind that the interface of the adjusted application or software is abnormally displayed.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (7)

1. A processing method for interface display is characterized by comprising the following steps:
receiving information through a plug-in embedded in an application or software, wherein the information comprises: the interface display parameter adjustment module is used for indicating adjustment of the interface display parameter of the application or the software;
adjusting interface display parameters of the application or the software by using the information through the plug-in;
judging whether the adjusted interface of the application or the software is displayed normally or not;
wherein the information comprises at least one of: the interface display control system comprises initial state information used for adjusting and setting interface display parameters of the application or the software, preset speed used for adjusting the interface display parameters of the application or the software, and ending state information used for adjusting and setting the interface display parameters of the application or the software, wherein the initial state information and the ending state information comprise at least one of the following: displaying parameter height information and parameter width information on an interface of the application or the software;
after adjusting, by the plug-in, interface display parameters of the application or the software using the information, the method further comprises: performing screen capture processing on the interface in the configuration process according to a preset time interval to obtain a plurality of screen capture pictures, and storing the plurality of screen capture pictures;
determining whether the adjusted interface of the application or the software is displayed normally includes:
acquiring a screen shot picture of the adjusted interface;
comparing the screen shot picture with a sample picture;
if the similarity between the screenshot picture and the sample picture meets a preset threshold, judging that the adjusted interface display of the application or the software is normal;
if the similarity between the screenshot picture and the sample picture does not meet the preset threshold, triggering reminding information to remind that the adjusted interface of the application or the software is displayed abnormally.
2. The method of claim 1, wherein the using the information by the plug-in to adjust interface display parameters of the application or the software comprises:
when the set initial state information comprises the height information of the interface display parameter of the application or the software, correspondingly adjusting the height of the interface display parameter at a preset speed, and stopping adjusting when the height information of the interface display parameter in the end state information is reached; and/or
And when the set initial state information comprises the width information of the interface display parameter of the application or the software, correspondingly adjusting the width of the interface display parameter at a preset speed, and stopping the adjustment when the width information of the interface display parameter in the end state information is reached.
3. The method according to claim 1 or 2, wherein the movement mode for adjusting the interface display parameters of the application or the software is uniform movement or accelerated movement.
4. The method of claim 3, further comprising:
when the motion mode is the uniform motion, the speed value of the uniform motion is determined by the input speed value;
when the motion mode is the acceleration motion, the speed value of the acceleration motion is determined by the input speed value and the acceleration.
5. A processing apparatus for interface display, comprising:
a receiving unit, configured to receive information through a plug-in embedded in an application or software, wherein the information includes: the interface display parameter adjustment module is used for indicating adjustment of the interface display parameter of the application or the software;
the adjusting unit is used for adjusting the interface display parameters of the application or the software by using the information through the plug-in;
the judging unit is used for judging whether the adjusted interface of the application or the software is displayed normally or not;
wherein the information comprises at least one of: the interface display control system comprises initial state information used for adjusting and setting interface display parameters of the application or the software, preset speed used for adjusting the interface display parameters of the application or the software, and ending state information used for adjusting and setting the interface display parameters of the application or the software, wherein the initial state information and the ending state information comprise at least one of the following: displaying parameter height information and parameter width information on an interface of the application or the software;
the device further comprises: the processing unit is used for carrying out screen capture processing on the interface in the configuration process according to a preset time interval after the interface display parameters of the application or the software are adjusted through the plug-in use information, obtaining a plurality of screen capture pictures and storing the plurality of screen capture pictures;
the judging unit may include: the acquisition module is used for acquiring a screen capture picture of the adjusted interface; the comparison module is used for comparing the screen shot picture with the sample picture; the display module is used for judging that the interface display of the adjusted application or software is normal if the similarity between the screenshot picture and the sample picture meets a preset threshold; and the reminding module is used for triggering reminding information if the similarity between the screenshot picture and the sample picture does not meet a preset threshold value so as to remind that the interface of the adjusted application or software is abnormally displayed.
6. A storage medium, characterized in that the storage medium comprises a stored program, wherein when the program runs, a device in which the storage medium is located is controlled to execute the processing method of the interface display according to any one of claims 1 to 4.
7. A processor, characterized in that the processor is configured to run a program, wherein the program performs the processing method of the interface display according to any one of claims 1 to 4 when running.
CN201811152276.6A 2018-09-29 2018-09-29 Interface display processing method and device Active CN110968377B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811152276.6A CN110968377B (en) 2018-09-29 2018-09-29 Interface display processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811152276.6A CN110968377B (en) 2018-09-29 2018-09-29 Interface display processing method and device

Publications (2)

Publication Number Publication Date
CN110968377A CN110968377A (en) 2020-04-07
CN110968377B true CN110968377B (en) 2023-04-07

Family

ID=70027665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811152276.6A Active CN110968377B (en) 2018-09-29 2018-09-29 Interface display processing method and device

Country Status (1)

Country Link
CN (1) CN110968377B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112114928B (en) * 2020-09-28 2023-12-22 西安万像电子科技有限公司 Processing method and device for display page
CN114281447B (en) * 2021-12-02 2024-03-19 武汉华工激光工程有限责任公司 Carrier plate laser processing software interface processing method, system and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102298500A (en) * 2011-09-22 2011-12-28 重庆大学 Self-adaptive screen zooming adjusting method
CN102375733A (en) * 2010-08-24 2012-03-14 北大方正集团有限公司 Convenient and quick interface arrangement method
CN104463846A (en) * 2014-11-04 2015-03-25 浙江捷尚视觉科技股份有限公司 Parameter adjustment method used for digital image processing
CN106649369A (en) * 2015-10-30 2017-05-10 北京国双科技有限公司 Adjustment method and device for window display
WO2017084532A1 (en) * 2015-11-20 2017-05-26 腾讯科技(深圳)有限公司 Method and device for displaying icons
WO2017133500A1 (en) * 2016-02-05 2017-08-10 腾讯科技(深圳)有限公司 Method and apparatus for processing application program
CN108446140A (en) * 2017-02-15 2018-08-24 阿里巴巴集团控股有限公司 Interface display method, device, the device and operating system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102375733A (en) * 2010-08-24 2012-03-14 北大方正集团有限公司 Convenient and quick interface arrangement method
CN102298500A (en) * 2011-09-22 2011-12-28 重庆大学 Self-adaptive screen zooming adjusting method
CN104463846A (en) * 2014-11-04 2015-03-25 浙江捷尚视觉科技股份有限公司 Parameter adjustment method used for digital image processing
CN106649369A (en) * 2015-10-30 2017-05-10 北京国双科技有限公司 Adjustment method and device for window display
WO2017084532A1 (en) * 2015-11-20 2017-05-26 腾讯科技(深圳)有限公司 Method and device for displaying icons
WO2017133500A1 (en) * 2016-02-05 2017-08-10 腾讯科技(深圳)有限公司 Method and apparatus for processing application program
CN108446140A (en) * 2017-02-15 2018-08-24 阿里巴巴集团控股有限公司 Interface display method, device, the device and operating system

Also Published As

Publication number Publication date
CN110968377A (en) 2020-04-07

Similar Documents

Publication Publication Date Title
CN108089856B (en) Page element monitoring method and device
CN109413216A (en) A kind of information-pushing method, device and mobile terminal
CN107608609B (en) Event object sending method and device
CN112947969B (en) Page off-screen rendering method, device, equipment and readable medium
CN108400902B (en) Method, device and equipment for gray level test
CN110968377B (en) Interface display processing method and device
CN108121633B (en) Abnormity capturing method and device
CN109710286B (en) System upgrading method, device, equipment and storage medium
CN109558143B (en) Method and device for deploying applications in cluster
CN109582549A (en) A kind of recognition methods of device type and device
CN104298548A (en) Information processing method and electronic device
CN110147183B (en) Data screening method and device
CN110968810A (en) Webpage data processing method and device
CN115688102A (en) Window processing method and device, processor and electronic equipment
CN110215702B (en) Method and device for controlling grouping in game
CN109146870B (en) Data interaction method and device between modules
CN103280208B (en) A kind of method of automatic adjustment text importing size and device
CN109286510B (en) Method and device for collecting log data
CN110968811A (en) Display control method and device
CN111966557A (en) Method and device for monitoring browser frame rate
CN111857451B (en) Information editing interaction method and device, storage medium and processor
CN113568840B (en) Method and system for identifying transition drawing
CN107133241B (en) Data display method and device
CN105893394B (en) Large file simulation method and device
CN111370049A (en) eMMC chip testing 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