CN110399075B - View display control method and device, electronic equipment and storage medium - Google Patents

View display control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110399075B
CN110399075B CN201910663366.XA CN201910663366A CN110399075B CN 110399075 B CN110399075 B CN 110399075B CN 201910663366 A CN201910663366 A CN 201910663366A CN 110399075 B CN110399075 B CN 110399075B
Authority
CN
China
Prior art keywords
view
state
current state
state parameter
parameter
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
CN201910663366.XA
Other languages
Chinese (zh)
Other versions
CN110399075A (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 Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information 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 Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201910663366.XA priority Critical patent/CN110399075B/en
Publication of CN110399075A publication Critical patent/CN110399075A/en
Application granted granted Critical
Publication of CN110399075B publication Critical patent/CN110399075B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

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

Abstract

The disclosure provides a display control method and device of a view, an electronic device and a storage medium. The scheme comprises the following steps: acquiring the current state of a view of application software, wherein the view comprises an animation; acquiring a current state parameter corresponding to the current state according to a corresponding relation between a pre-stored state and the state parameter; and modifying the state parameter of the view into the current state parameter, and displaying the view according to the modified state parameter. By applying the technical scheme provided by the embodiment of the disclosure, even if the terminal is abnormal in the animation executing process, the view can be normally displayed according to the current state parameters, and the problem of abnormal view display when the terminal is abnormal is solved.

Description

View display control method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for controlling display of a view, an electronic device, and a storage medium.
Background
With the wide application of mobile terminals, the variety of application software installed on the mobile terminals is increasing, and the frequency of using the application software by users is gradually increasing. To enhance the user experience with application software, many applications have complex animations added to them.
In the related art, the mobile terminal mainly controls the view display including the animation in the following manner: and the mobile terminal acquires the current display information of the animation in the view in real time in the process of executing the animation in the view, modifies the display parameters of the animation in the view into the current display information, and then displays the view based on the modified display parameters. In this way the view display containing the animation is controlled. However, by controlling the view display in this way, in the process of executing the animation, if the mobile terminal has an abnormality such as a stuck state, the display parameters of the animation in the view are the display parameters when the abnormality occurs, that is, the view when the abnormality occurs is displayed on the mobile terminal, and the view display is abnormal.
Disclosure of Invention
An object of the embodiments of the present disclosure is to provide a method and an apparatus for controlling display of a view, an electronic device, and a storage medium, so as to solve the problem that when an abnormality occurs in a terminal, the view display is abnormal. The specific technical scheme is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided a display control method of a view, the method including:
acquiring the current state of a view of application software;
acquiring a current state parameter corresponding to the current state according to a corresponding relation between a pre-stored state and the state parameter;
and modifying the state parameter of the view into the current state parameter, and displaying the view according to the modified state parameter.
Optionally, the step of obtaining the current state of the view of the application software includes:
detecting whether the state of the view of the application software changes;
and if so, acquiring the current state of the view.
Optionally, before the step of obtaining the current state of the view of the application software, the method further includes:
receiving a state setting command for the view;
detecting a plurality of states included in the view and state parameters in each state according to the state setting command;
and storing the corresponding relation between each state and the state parameter.
Optionally, the view includes an animation;
the step of modifying the state parameter of the view to the current state parameter comprises:
detecting whether the animation in the current state in the view is finished;
and if so, modifying the state parameter of the view into the current state parameter.
According to a second aspect of the embodiments of the present disclosure, there is provided a display control apparatus of a view, the apparatus including:
a first acquisition unit configured to perform acquiring a current state of a view of application software;
the second acquisition unit is configured to execute acquisition of a current state parameter corresponding to the current state according to a corresponding relation between a pre-stored state and the state parameter;
and the display unit is configured to modify the state parameter of the view into the current state parameter and display the view according to the modified state parameter.
Optionally, the first obtaining unit is configured to specifically execute:
detecting whether the state of the view of the application software changes; and if so, acquiring the current state of the view.
Optionally, the apparatus further comprises:
a receiving unit configured to perform receiving a state setting command for the view;
a detection unit configured to execute detecting a plurality of states included in the view and a state parameter in each state according to the state setting command;
and the storage unit is configured to store the corresponding relation between each state and the state parameter.
Optionally, the view includes an animation;
the display unit is configured to specifically detect whether the animation in the current state in the view is finished; if so, setting the state parameter of the view as the current state parameter, and displaying the view according to the modified state parameter.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the display control method of the view described above.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a storage medium, wherein instructions of the storage medium, when executed by a processor of an electronic device, cause the electronic device to implement the above-described display control method of views.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product, which, when executed by a processor of an electronic device, causes the electronic device to implement the display control method of the views described above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
according to the technical scheme provided by the embodiment of the disclosure, the corresponding relation between the state of the view and the state parameter is pre-stored, the current state parameter corresponding to the current state of the view is determined according to the corresponding relation between the pre-stored state and the state parameter, and the view is displayed according to the current state parameter. The current state of the view is a state when the view is normally displayed, not display information of the animation in the course of performing the animation. Therefore, even if the terminal is abnormal in the animation execution process, the view can be normally displayed according to the current state parameters, and the problem of abnormal view display when the terminal is abnormal is solved.
Of course, it is not necessary for any product or method of practicing the disclosure to achieve all of the advantages set forth above at the same time.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1a is a diagram of photographing software according to an exemplary embodiment;
FIG. 1b is a view after the photographing button is moved based on the view shown in FIG. 1 a;
FIG. 2 is a flow diagram illustrating a method for display control of a view in accordance with an exemplary embodiment;
FIG. 3 is a view of the magic expression panel of FIG. 1a when it is raised;
FIG. 4 is a flow diagram illustrating a display control method of another view according to an exemplary embodiment;
FIG. 5 is a flow chart illustrating a display control method of yet another view according to an exemplary embodiment;
FIG. 6 is a block diagram of a display control device illustrating one view according to an exemplary embodiment;
FIG. 7 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings 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 disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Currently, in the process of executing the in-view animation, the flow of controlling the view display including the animation by the mobile terminal is as follows: the mobile terminal acquires the current display information of the animation in the view in real time, modifies the display parameters of the animation in the view into the current display information, and then displays the view based on the modified display parameters. By controlling the view display in such a way, in the process of executing the animation, if the mobile terminal has an abnormality such as jamming, the display parameters of the animation in the view are the display parameters when the abnormality occurs, and the view when the abnormality occurs is displayed on the mobile terminal and the view display is abnormal.
For example, a view of the photographing software as shown in FIG. 1 a. Below this view there is a shoot button 100. The photographing button 100 has a long-press photographing function. When the user presses the photographing button 100 for a long time, the photographing button 100 moves along with the user's hand. In the process of moving the photographing button 100, the mobile terminal acquires the current position information of the photographing button 100 in real time, modifies the position parameter of the photographing button 100 into the current position information, and displays the photographing button 100 based on the modified position parameter, such as the view of fig. 1b after the photographing button is moved based on the view of fig. 1 a. When the user releases his hand and finishes the long press operation, the photographing button 100 returns to the initial position as shown in fig. 1 a.
If the mobile terminal is abnormal when the shooting button 100 moves to the position shown in fig. 1b along with the hand of the user, the position parameter of the shooting button 100 is the position parameter at the position shown in fig. 1b, and the view display of the shooting software is abnormal.
In order to solve the problem of abnormal view display when a terminal is abnormal, the embodiment of the disclosure provides a view display control method. The method can be applied to a terminal installed with application software containing animation. For example, the method can be applied to mobile terminals such as mobile phones and tablet computers, and the method can also be applied to non-mobile terminals such as desktop computers.
The present disclosure provides a view display control method, in which a correspondence between a state of a view and a state parameter is pre-stored, a current state parameter corresponding to a current state of the view is determined according to the correspondence between the pre-stored state and the state parameter, and the view is displayed according to the current state parameter. The current state of the view is a state when the view is normally displayed, not display information of the animation in the course of performing the animation. Therefore, even if the terminal is abnormal in the animation execution process, the view can be normally displayed according to the current state parameters, and the problem of abnormal view display when the terminal is abnormal is solved.
The following describes a method for controlling display of a view according to an embodiment of the present disclosure in detail by using a specific embodiment.
Referring to fig. 2, fig. 2 is a flowchart illustrating a display control method of a view according to an exemplary embodiment. For convenience of description, the following description will be made by taking a mobile terminal as an execution subject, and is not limited. The method comprises the following steps.
In step 201, the current state of the view of the application software is obtained. Wherein the views may contain animations.
One or more application software is installed on the mobile terminal. When a user selects to open certain application software, the mobile terminal runs the application software and displays a view of the application software on a graphical interface of the mobile terminal. The view of the application software contains animations and there are multiple states. The mobile terminal obtains the current state of the view of the application software.
In step 202, a current state parameter corresponding to the current state is obtained according to a pre-stored correspondence between the state and the state parameter.
The mobile terminal stores the corresponding relation between the state and the state parameter in advance. After the current state of the view is obtained, the mobile terminal searches the corresponding relation comprising the current state from the corresponding relation between the pre-stored state and the state parameter. And the mobile terminal takes the state parameter included in the searched corresponding relation as the current state parameter.
In the embodiment of the present disclosure, the status parameters may include, but are not limited to, the color and size of the pattern in the view, and the position, color, size, etc. of the animation in the view.
In an optional embodiment, the mobile terminal stores the corresponding relationship between the software identifier, the state and the state parameter in advance. After the mobile terminal acquires the current state, based on the identifier of the application software and the current state, according to the pre-stored corresponding relationship among the software identifier, the state and the state parameter, the corresponding relationship including the identifier of the application software and the current state is searched, and the state parameter included in the searched corresponding relationship is used as the current state parameter.
In the embodiment of the disclosure, the current state parameter is determined according to the identifier of the application software and the current state, so that the current state parameter can be accurately acquired under the condition that the corresponding relationship of a plurality of application software is stored, and the view can be normally displayed.
In step 203, the state parameter of the view is modified to the current state parameter, and the view is displayed according to the modified state parameter.
The state parameter of a view can be understood as a display parameter of a pattern and animation in the view, but the state parameter of the view is a state parameter when the view is normally displayed. If the view contains the animation, the state parameter of the view is a state parameter before or after the animation is executed. After the current state parameter is obtained, the mobile terminal modifies the state parameter of the view into the current state parameter, and then displays the view according to the modified state parameter.
For example, the view of the photographing software has two states, one state is that the magic expression panel is folded, and the other state is that the magic expression panel is lifted. Reference is made in particular to fig. 1a and 3. Fig. 1a shows the magic expression panel 200 when it is folded up, and fig. 3 shows the magic expression panel 200 when it is lifted up. In fig. 3, when the magic expression panel 200 is lifted, the photographing button 100 is zoomed out and moved down in view, compared to the photographing button 100 shown in fig. 1. The mobile terminal stores in advance a correspondence 1 between the state of the magic expression panel 200 and the state parameter 1, and a correspondence 2 between the state of the magic expression panel 200 and the state parameter 2.
When the mobile terminal runs the photographing software, the initial state of the view of the photographing software is as shown in fig. 1 a. When the magic expression panel 200 is lifted, the current state of the view acquired by the mobile terminal is that the magic expression panel 200 is lifted. And the mobile terminal determines the current state parameter corresponding to the current state as the state parameter 2 according to the pre-stored corresponding relation 2, and modifies the state parameter of the view into the state parameter 2. The mobile terminal displays a view in which the photographing button 100 is zoomed out and moved down according to the state parameter 2, as shown in fig. 3.
When the user presses the photographing button 100 for a long time, the magic expression panel 200 is retracted. At this time, the current state of the view acquired by the mobile terminal is that the magic expression panel 200 is folded. And the mobile terminal determines the current state parameter corresponding to the current state as the state parameter 1 according to the pre-stored corresponding relation 1. When the user presses the shooting button 100 for a long time, the shooting button 100 moves with the user's hand, and the display parameters of the shooting button 100 change. However, the current state of the view is always the state in which the magic expression panel 200 is retracted, and the determined state parameter 1 is unchanged. Even if the mobile terminal is abnormal, if the photographing button 100 moves to the position shown in fig. 1b along with the user's hand, the mobile terminal is abnormal and the mobile terminal has acquired the status parameter 1. The mobile terminal modifies the state parameter of the view to the state parameter 1 and displays the view in which the photographing button 100 is enlarged and moved up according to the state parameter 1, as shown in fig. 1 a.
In the technical scheme provided by the embodiment of the disclosure, the view is displayed based on the state of the view. The current state of the view is a state when the view is normally displayed, not display information of the animation in the course of performing the animation. Therefore, even if the terminal is abnormal in the animation execution process, the view can be normally displayed according to the current state parameters, and the problem of abnormal view display when the terminal is abnormal is solved.
Based on the embodiment shown in fig. 2, the embodiment of the present disclosure further provides a view display control method. Referring to fig. 4, fig. 4 is a flowchart illustrating a display control method of another view according to an exemplary embodiment. The method may include the following steps.
In step 401, it is detected whether the state of the view of the application software has changed. If so, step 402 is performed.
The mobile terminal detects the state of the view of the application software in real time. When the detected state is different from the last detected state, the mobile terminal determines that the state of the view of the application software changes, and step 402 is executed. And if the current detected state is the same as the last detected state, the mobile terminal determines that the state of the view of the application software is not changed, and continues to detect the state of the view of the application software.
The description is given by way of example with reference to fig. 1a and 3. And if the state of the view detected last time by the mobile terminal is that the magic expression panel 200 is folded, determining that the state of the view of the application software is changed if the state of the view detected this time is that the magic expression panel 200 is lifted, and executing step 402. If the view state detected this time is that the magic expression panel 200 is folded, the mobile terminal determines that the view state of the application software is not changed, and continues to detect the view state of the application software.
In step 402, the current state of the view of the application software is obtained. Wherein the views may contain animations.
In step 403, a current state parameter corresponding to the current state is obtained according to a pre-stored correspondence between the state and the state parameter.
In step 404, the state parameter of the view is modified to the current state parameter, and the view is displayed according to the modified state parameter.
Steps 402-404 are the same as steps 201-203.
According to the technical scheme provided by the embodiment of the disclosure, when the change of the state of the view is detected, the current state of the view is acquired, and the view is controlled to be displayed. Instead of acquiring the current state of the view each time the state of the view is detected, the view is controlled to be displayed. And computing resources are effectively saved.
In an alternative embodiment, the mobile terminal may obtain the current state of the view of the application software in real time, and control the display of the view based on the current state. Further ensuring the normal display of the view.
Based on the embodiment shown in fig. 2, in the case that the view includes an animation, the embodiment of the present disclosure further provides a display control method for the view. Referring to fig. 5, fig. 5 is a flowchart illustrating a display control method of still another view according to an exemplary embodiment. The method may include the following steps.
In step 501, the current state of a view of application software is obtained. Wherein the views may contain animations. Step 501 is the same as step 201.
In step 502, a current state parameter corresponding to the current state is obtained according to a pre-stored correspondence between the state and the state parameter. Step 502 is the same as step 202.
In step 503, it is detected whether the animation in the current state in the view is finished. If yes, go to step 504.
The view of the application software has a plurality of states, and the animation in the view can be divided into animations in the states based on the states. And after the mobile terminal acquires the current state parameters, detecting whether the animation in the current state in the view is finished. If so, go to step 504. If not, continue to execute step 503 to detect whether the animation in the current state in the view is finished.
In an optional embodiment, if the mobile terminal obtains the animation end instruction, or detects that the mobile terminal is abnormal, it is determined that the animation in the current state is ended. Wherein, the animation end instruction can be manually input by a user. As shown in fig. 3, when the user presses the photographing button 100 for a long time, the photographing button 100 moves along with the user's hand. And when the user looses hands and finishes the long-time pressing operation, the mobile terminal acquires an animation finishing instruction and determines that the animation in the current state is finished. The animation end command may be determined after the execution of the animation preset in the view of the application software is ended.
In step 504, the state parameter of the view is modified to the current state parameter, and the view is displayed according to the modified state parameter. Step 504 is the same as step 203.
According to the technical scheme provided by the embodiment of the disclosure, after the animation in the current state is detected to be finished, the view is displayed according to the parameters of the current state. The method effectively avoids the problem that the view display is abnormal because the state parameter of the view is modified into the current state parameter in the animation execution process under the current state, and the state parameter is covered by the current display parameter of the animation.
In an optional embodiment of the present disclosure, the user may directly input the correspondence between the plurality of states and the state parameters into the mobile terminal. The mobile terminal stores the corresponding relation between the state input by the user and the state parameter. Therefore, the mobile terminal can display the view according to the user requirement, and the user experience is improved.
In an alternative embodiment of the present disclosure, the user may send a state setting command for the view to the mobile terminal by other terminals, or directly input the state setting command for the view on the mobile terminal. The mobile terminal receives a state setting command for the view. The mobile terminal receives the state setting command, detects a plurality of states included in the view and state parameters of the view in each state according to the state setting command, and stores the corresponding relation between each state and the state parameters. At the moment, the user only needs to input one command, the display control of the view can be realized, the operation is simple, and the user experience is improved.
Based on the embodiment of the display control method of the view, the embodiment of the disclosure also provides a display control device of the view. Referring to fig. 6, fig. 6 is a block diagram of a display control apparatus illustrating a view according to an exemplary embodiment. The apparatus includes a first acquisition unit 601, a second acquisition unit 602, and a display unit 603.
Wherein, the first obtaining unit 601 is configured to perform obtaining a current state of a view of the application software. The views may contain animations.
A second obtaining unit 602, configured to obtain a current state parameter corresponding to the current state according to a pre-stored correspondence between the state and the state parameter.
A display unit 603 configured to perform modification of the state parameter of the view to a current state parameter, and display the view according to the modified state parameter.
In an optional embodiment of the present disclosure, the first obtaining unit 601 is configured to specifically perform:
detecting whether the state of the view of the application software changes; and if so, acquiring the current state of the view.
In an optional embodiment of the present disclosure, the display control apparatus of the view may further include: a receiving unit, a detecting unit and a storing unit (not shown in fig. 6).
Wherein the receiving unit is configured to perform receiving a state setting command for the view.
And the detection unit is configured to detect a plurality of states included in the view and a state parameter in each state according to the state setting command.
And the storage unit is configured to store the corresponding relation between each state and the state parameter.
In an alternative embodiment of the present disclosure, the view of the application software contains an animation.
In this case, the display unit 603 is configured to specifically perform detection of whether the animation in the current state in the view has ended; if so, setting the state parameter of the view as the current state parameter, and displaying the view according to the modified state parameter.
With regard to the apparatus in the above-described embodiment, the specific manner in which each unit performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.
By applying the technical scheme provided by the embodiment of the disclosure, the corresponding relation between the state of the view and the state parameter is pre-stored, the current state parameter corresponding to the current state of the view is determined according to the corresponding relation between the pre-stored state and the state parameter, and the view is displayed according to the current state parameter. The current state of the view is a state when the view is normally displayed, not display information of the animation in the course of performing the animation. Therefore, even if the terminal is abnormal in the animation execution process, the view can be normally displayed according to the current state parameters, and the problem of abnormal view display when the terminal is abnormal is solved.
Based on the display control method embodiment of the view, the embodiment of the disclosure also provides an electronic device. Referring to fig. 7, fig. 7 is a block diagram illustrating an electronic device in accordance with an example embodiment. The electronic device includes: a processor 701 and a memory 702 for storing processor-executable instructions. Wherein, the processor 701 is configured to execute the instructions to implement the display control method of the view.
Based on the above-mentioned embodiment of the display control method of the view, in an exemplary embodiment, the present disclosure further provides a storage medium including instructions, for example, the memory 702 including instructions, which are executable by the processor 701 of the electronic device to complete the display control method of the view.
Based on the above-described embodiments of the display control method of the view, in an exemplary embodiment, the embodiments of the present disclosure further provide a computer program product, for example, instructions included in the memory 702. The computer program product, when executed by a processor of the electronic device, causes the electronic device to implement the display control method of views described above.
Alternatively, the storage medium may be a non-transitory computer readable storage medium, for example, a ROM (Read Only Memory), a RAM (Random Access Memory), a CD-ROM (Compact Disc ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
Alternatively, the Processor may be a general-purpose Processor including a CPU (Central Processing Unit), an NP (Network Processor), or the like; but also DSPs (Digital Signal Processing), ASICs (Application Specific Integrated circuits), FPGAs (Field Programmable Gate arrays) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (8)

1. A method for controlling display of a view, the method comprising:
displaying a view of the application software, wherein the view comprises an animation;
obtaining a current state of the view of the application software; the current state of the view is a state when the view is normally displayed;
acquiring a current state parameter corresponding to the current state according to a corresponding relation between a pre-stored state and the state parameter;
modifying the state parameter of the view into the current state parameter, and displaying the view according to the modified state parameter;
the step of modifying the state parameter of the view to the current state parameter comprises:
detecting whether the animation in the current state in the view is finished;
and if so, modifying the state parameter of the view into the current state parameter.
2. The method of claim 1, wherein the step of obtaining the current state of the view of the application software comprises:
detecting whether the state of the view of the application software changes;
and if so, acquiring the current state of the view.
3. The method of claim 1, further comprising, prior to the step of obtaining the current state of the view of the application software:
receiving a state setting command for the view;
detecting a plurality of states included in the view and state parameters in each state according to the state setting command;
and storing the corresponding relation between each state and the state parameter.
4. An apparatus for controlling display of a view, the apparatus comprising:
a display unit configured to display a view of the application software, the view including an animation therein;
a first acquisition unit configured to perform acquisition of a current state of the view of the application software; the current state of the view is a state when the view is normally displayed;
the second acquisition unit is configured to execute acquisition of a current state parameter corresponding to the current state according to a corresponding relation between a pre-stored state and the state parameter;
the display unit is further configured to modify the state parameter of the view into the current state parameter and display the view according to the modified state parameter;
the display unit is configured to specifically detect whether the animation in the current state in the view is finished; if so, setting the state parameter of the view as the current state parameter, and displaying the view according to the modified state parameter.
5. The apparatus according to claim 4, wherein the first obtaining unit is configured to specifically perform:
detecting whether the state of the view of the application software changes; and if so, acquiring the current state of the view.
6. The apparatus of claim 4, further comprising:
a receiving unit configured to perform receiving a state setting command for the view;
a detection unit configured to execute detecting a plurality of states included in the view and a state parameter in each state according to the state setting command;
and the storage unit is configured to store the corresponding relation between each state and the state parameter.
7. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement a display control method of the view according to any one of claims 1 to 3.
8. A storage medium characterized in that instructions in the storage medium, when executed by a processor of an electronic device, cause the electronic device to implement the display control method of the view according to any one of claims 1 to 3.
CN201910663366.XA 2019-07-22 2019-07-22 View display control method and device, electronic equipment and storage medium Active CN110399075B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910663366.XA CN110399075B (en) 2019-07-22 2019-07-22 View display control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910663366.XA CN110399075B (en) 2019-07-22 2019-07-22 View display control method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110399075A CN110399075A (en) 2019-11-01
CN110399075B true CN110399075B (en) 2021-05-14

Family

ID=68324946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910663366.XA Active CN110399075B (en) 2019-07-22 2019-07-22 View display control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110399075B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685716A (en) * 2012-09-26 2014-03-26 联想(北京)有限公司 Display mode switching method and electronic apparatus
CN105320430A (en) * 2014-07-30 2016-02-10 腾讯科技(深圳)有限公司 Page information control method and device
CN109359009A (en) * 2018-10-12 2019-02-19 Oppo广东移动通信有限公司 Display control method, electronic device and computer readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10089346B2 (en) * 2014-04-25 2018-10-02 Dropbox, Inc. Techniques for collapsing views of content items in a graphical user interface
CN106250019A (en) * 2016-07-29 2016-12-21 宇龙计算机通信科技(深圳)有限公司 Caton phenomenon processing method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685716A (en) * 2012-09-26 2014-03-26 联想(北京)有限公司 Display mode switching method and electronic apparatus
CN105320430A (en) * 2014-07-30 2016-02-10 腾讯科技(深圳)有限公司 Page information control method and device
CN109359009A (en) * 2018-10-12 2019-02-19 Oppo广东移动通信有限公司 Display control method, electronic device and computer readable storage medium

Also Published As

Publication number Publication date
CN110399075A (en) 2019-11-01

Similar Documents

Publication Publication Date Title
CN109062479B (en) Split screen application switching method and device, storage medium and electronic equipment
US20040113888A1 (en) Cursor locator for multi-monitor systems
WO2015172507A1 (en) Method, device and mobile terminal for starting applications
TWI671647B (en) Method, device and electronic device for calculating the duration of the first screen of a page
CN109685872B (en) Animation generation method, device, equipment and computer readable storage medium
CN109144447B (en) Split screen window adjusting method and device, storage medium and electronic equipment
US20170269823A1 (en) Control Display Method and Device, and Terminal
CN107943372A (en) A kind of interface display method, device and computer-readable recording medium
CN109361948B (en) Interface management method, intelligent terminal and readable storage medium
CN111831205B (en) Device control method, device, storage medium and electronic device
CN109032898A (en) A kind of display methods of icon, device, equipment and storage medium
CN108984089B (en) Touch operation method and device, storage medium and electronic equipment
CA3070615A1 (en) Page browsing method and device, and electronic apparatus
CN105549829B (en) A kind of setting project processing method and its device
CN107656677B (en) Method for adjusting position of application icon, storage medium and mobile terminal
CN109983428B (en) Application operation method and device
CN106528163A (en) Page switching method and device
CN105472679B (en) Network switching method and device of communication terminal
CN107992262A (en) Split screen display available interface control method, mobile terminal and computer-readable recording medium
CN106648281B (en) Screenshot method and device
TW201344557A (en) Apparatus and method for automatically controlling display screen density
CN105739936B (en) A kind of user terminal control method and user terminal
CN104980582B (en) The switching method and mobile terminal of a kind of screen
US10779148B2 (en) Data transmission method and first electronic device
WO2021190135A1 (en) Setting control display method and apparatus, storage medium, and electronic 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