CN110147283B - Display content switching display method, device, equipment and medium - Google Patents

Display content switching display method, device, equipment and medium Download PDF

Info

Publication number
CN110147283B
CN110147283B CN201910425937.6A CN201910425937A CN110147283B CN 110147283 B CN110147283 B CN 110147283B CN 201910425937 A CN201910425937 A CN 201910425937A CN 110147283 B CN110147283 B CN 110147283B
Authority
CN
China
Prior art keywords
display content
control
content
display
data
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
CN201910425937.6A
Other languages
Chinese (zh)
Other versions
CN110147283A (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 ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network 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 ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910425937.6A priority Critical patent/CN110147283B/en
Publication of CN110147283A publication Critical patent/CN110147283A/en
Application granted granted Critical
Publication of CN110147283B publication Critical patent/CN110147283B/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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (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 embodiment of the disclosure discloses a display content switching display method, a display content switching display device, display content switching equipment and a display content switching display medium, wherein the method comprises the following steps: in response to the content label switching operation, hiding first display content corresponding to the current content label, and acquiring second display content corresponding to a switched target content label; before applying for a memory space for the second display content, determining whether a control in the second display content comprises a control of the same type as that in the first display content; if so, applying for memory space for the data except the control data of the control with the same type in the second display content and storing the memory space; and drawing and displaying the target content label based on the control data of the control with the same type in the first display content and the stored partial data of the second display content. The technical scheme of the embodiment of the disclosure solves the problems that the memory is exhausted and the UI display is disordered when the content tags are switched, reduces the risk of memory exhaustion and reduces the UI display error condition.

Description

Display content switching display method, device, equipment and medium
Technical Field
The embodiment of the disclosure relates to the technical field of computer software application, in particular to a display content switching display method, device, equipment and medium.
Background
In a display page of an APP (Application), different content tags are often present, and when a user clicks on a different content tag (tab), different content corresponding to each tag is displayed.
At present, the function of switching content tags and switching display content is realized by deleting content corresponding to a current content tag, releasing a storage space occupied by the content, applying for a memory space, storing content corresponding to a content tag to be switched, and rendering and displaying the content corresponding to the content tag to be switched.
However, if the user frequently switches among a plurality Of content tags, the content corresponding to the content tag to be switched does not apply for the Memory space due to the untimely release Of the Memory space, and there is a risk Of Out Of Memory (Out Of Memory), which causes the UI display Of the user to be disordered.
BRIEF SUMMARY OF THE PRESENT DISCLOSURE
The embodiment of the disclosure provides a display content switching display method, device, equipment and medium, so as to reduce the risk of memory exhaustion and reduce the condition of UI display errors when switching the content corresponding to a content tag of an application display interface.
In a first aspect, an embodiment of the present disclosure provides a display content switching display method, where the method includes:
in response to the content label switching operation of a user, hiding first display content corresponding to the current content label, and acquiring second display content corresponding to a switched target content label;
before applying for a memory space for the second display content, determining whether a control in the second display content comprises a control of the same type as that in the first display content;
if so, applying for a memory space for the data in the second display content except the control data of the control with the same type and storing the memory space;
and drawing and displaying the switched target content label based on the control data of the control with the same type in the first display content and the stored partial data of the second display content.
Optionally, the first display content includes control data, rendering data, and display content corresponding to each control under the current content tag;
the second display content comprises control data, rendering data and display content which correspond to each control under the target content label.
Optionally, the rendering data includes a size and a position of the corresponding control, and a corresponding relationship with the display content.
Optionally, based on the control data of the control of the same type in the first display content and the stored partial data of the second display content, performing content rendering and displaying on the switched target content label, including:
for the control with the same type in the second display content as the control with the same type in the first display content, rendering and displaying the corresponding control according to the saved rendering data and display content of the control with the same type in the second display content and the control data of the control with the same type in the first display content;
and aiming at the control of the second display content, which is different from the control of the first display content in type, rendering and displaying the control of the different type according to the saved control data, rendering data and display content of the control of the second display content, which is different from the control of the first display content in type.
Optionally, the content tags include content classification tags of at least one classification level.
In a second aspect, an embodiment of the present disclosure further provides a display content switching display apparatus, where the apparatus includes:
the target display content acquisition module is used for responding to the content label switching operation of a user, hiding first display content corresponding to the current content label and acquiring second display content corresponding to the switched target content label;
the same-type control determining module is used for determining whether a control in the second display content contains a control with the same type as that in the first display content before applying for the memory space for the second display content;
the data storage module is used for applying for memory space for the data except the control data of the control with the same type in the second display content and storing the memory space when the control in the second display content comprises the control with the same type as the control in the first display content;
and the content drawing and displaying module is used for drawing and displaying the content of the switched target content label based on the control data of the control with the same type in the first display content and the stored partial data of the second display content.
Optionally, the first display content includes control data, rendering data, and display content corresponding to each control under the current content tag;
the second display content comprises control data, rendering data and display content which correspond to each control under the target content label.
Optionally, the rendering data includes a size and a position of the corresponding control, and a corresponding relationship with the display content.
Optionally, the content drawing and displaying module is specifically configured to:
for the control with the same type in the second display content as the control with the same type in the first display content, rendering and displaying the corresponding control according to the saved rendering data and display content of the control with the same type in the second display content and the control data of the control with the same type in the first display content;
and aiming at the control of the second display content, which is different from the control of the first display content in type, rendering and displaying the control of the different type according to the saved control data, rendering data and display content of the control of the second display content, which is different from the control of the first display content in type.
Optionally, the content tags include content classification tags of at least one classification level.
In a third aspect, an embodiment of the present disclosure further provides an electronic device, where the electronic device includes:
one or more processing devices;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processing devices, the one or more processing devices are caused to implement the display content switching display method according to any embodiment of the present disclosure.
In a fourth aspect, the embodiments of the present disclosure further provide a computer storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the display content switching display method provided in any embodiment of the present disclosure.
The embodiment of the disclosure does not release the memory space of the display content corresponding to the current content label when switching the content label, judges whether the acquired content data corresponding to the target content label to be switched has the control with the same type as that in the display content corresponding to the current content label, only applies for the storage space and stores the data except for the control data of the control with the same type in the content data corresponding to the target content label, and further draws and displays the content of the switched target content label based on the control with the same type in the display content corresponding to the current content label and the stored partial data of the content corresponding to the target content label, thereby solving the problems of memory exhaustion and UI display disorder possibly occurring when switching the content label in the prior art, and realizing that when switching the content corresponding to the content label of the application display interface, the risk of memory exhaustion is reduced, the condition of UI display errors is reduced, and the application use experience of a user is improved.
Drawings
Fig. 1 is a flowchart of a display content switching display method according to a first embodiment of the disclosure;
FIG. 2 is a schematic diagram of a content tag provided in an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a display content switching display device according to a second embodiment of the disclosure;
fig. 4 is a schematic structural diagram of an electronic device provided in the third embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure clearer, the technical solutions of the present disclosure will be clearly and completely described below through embodiments with reference to the accompanying drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure. In the following embodiments, optional features and examples are provided in each embodiment, and various features described in the embodiments may be combined to form a plurality of alternatives, and each numbered embodiment should not be regarded as only one technical solution.
Example one
Fig. 1 is a flowchart illustrating a display content switching display method according to a first embodiment of the present disclosure, where the present disclosure is applicable to a situation where a display content corresponding to a target content tag is drawn and displayed when the content tag is switched.
As shown in fig. 1, the display content switching display method provided in the embodiment of the present disclosure specifically includes:
s110, responding to the content label switching operation of a user, hiding first display content corresponding to the current content label, and obtaining second display content corresponding to a switched target content label.
The content tag may be a category tag of the displayed content in any current display interface of the user terminal, and the schematic diagram of the content tag shown in fig. 2 may be referred to. In fig. 2, the content tags include everyone singing, song classification, and ordered song, and the user can switch among the three content tags, so that the specific content displayed on the display interface can be switched, for example, from the content tag of song classification to the content tag of ordered song. In addition, the content tags include at least one content classification tag of a classification level, that is, in the content displayed by one content tag, the content tags may further include sub-content tags for classifying songs, such as classical songs, lyric songs, impairment slow songs, Chinese popular songs, and the like, for example, and if each sub-content tag is clicked, the display interface may be switched to a song list under the corresponding song classification.
When a user clicks a content tag in a display page to switch display contents, a memory space occupied by first display contents corresponding to the current content tag is not directly released, but the first display contents are directly hidden. Meanwhile, second display content corresponding to the switched target content label is also acquired.
Specifically, the first display content includes control data, rendering data and display content corresponding to each control under the current content label; the second display content comprises control data, rendering data and display content which are respectively corresponding to each control under the target content label. The control is encapsulation of data and a method, the control data refers to the control, and the control can be a window, a text box, a button or a pull-down menu and other interface elements. The rendering data includes the size and position of the control data and the corresponding relationship with the display content, that is, the rendering data indicates the display mode of a control when displaying a page, including the size and position of the corresponding control, the specific content and the display color effect of the corresponding display, and the like. The display content is content data filled into the corresponding control according to the corresponding relationship between the control data and the display content, and specifically may be content data in the form of a segment of text, a picture, and/or a segment of audio.
And S120, before applying for the memory space for the second display content, determining whether the control in the second display content comprises a control of the same type as the control in the first display content.
In this embodiment, a memory space is not directly applied for the second display content to be stored, but whether the second display content includes a control of the same type as that in the first display content is determined, so that the memory space is prevented from being repeatedly occupied by the controls of the same type, and the memory space consumption is reduced.
And S130, when the control in the second display content comprises a control of the same type as that in the first display content, applying for a memory space for the data except for the control data of the control of the same type in the second display content and storing the memory space.
When the controls in the second display content comprise controls of the same type as the controls in the first display content, it is indicated that the controls of the corresponding type are stored in the memory space, and the memory space does not need to be opened up for the controls of the same type again, so that the corresponding memory space can be saved, and the risk of memory exhaustion is avoided. In addition, the content data needing to be stored is reduced compared with all the second display contents, and the time consumed by storing the data can be reduced, so that the user can feel that the switching of the contents is smoother, and the user experience is improved.
And S140, based on the control data of the control with the same type in the first display content and the stored partial data of the second display content, performing content drawing and displaying on the switched target content label.
In the process of drawing and displaying the content of the switched target content label, aiming at the control with the same type as that of the first display content in the second display content, rendering and displaying the corresponding control according to the saved rendering data and display content of the control with the same type in the second display content and the control data of the control with the same type in the first display content; and aiming at the control of the second display content, which is different from the control of the first display content in type, rendering and displaying the control of the different type according to the saved control data, rendering data and display content of the control of the second display content, which is different from the control of the first display content in type.
For example, it is assumed that the first display content corresponding to the current content tag includes three types of controls, namely a control a, a control B, and a control C, and the second display content corresponding to the target content tag to be switched includes three types of controls, namely a control a, a control B, and a control D. Through comparison, the first display content and the second display content both comprise two types of controls A and B, so that when a memory space is applied for the second display content, only the memory space required by data except the control data of the controls A and B in the second display content is applied. In the process of drawing the second display content, for the controls of the type of the control a and the control B, control data corresponding to the control a and the control B can be obtained from the hidden first display content, and then the controls corresponding to the type of the control a and the control B are rendered (i.e., UI drawing) according to the rendering data of the controls of the type of the control a and the control B in the second display content. And aiming at the control of the control D type in the second display content, rendering according to corresponding rendering data in the second display content. And finally, displaying the rendered control to obtain a display interface corresponding to the target content label.
The method for switching and displaying the display content provided by the embodiment of the disclosure judges whether the acquired content data corresponding to the target content label to be switched has the control with the same type as that in the display content corresponding to the current content label without releasing the memory space of the display content corresponding to the current content label when switching the content label, only applies for the storage space and stores the data except for the control data of the control with the same type in the content data corresponding to the target content label, and further draws and displays the content of the switched target content label based on the control with the same type in the display content corresponding to the current content label and the stored partial data of the content corresponding to the target content label, thereby solving the problems of memory exhaustion and UI display disorder possibly occurring when switching the content label in the prior art, and realizing that when switching the content corresponding to the content label of the application display interface, the risk of memory exhaustion is reduced, the condition of UI display errors is reduced, and the application use experience of a user is improved.
Example two
Fig. 3 is a schematic structural diagram of a display content switching display device according to a second embodiment of the present disclosure, which is applicable to a case where a display content corresponding to a target content tag is rendered and displayed when a content tag is switched.
As shown in fig. 3, the display content switching display device in the embodiment of the present disclosure includes: the system comprises a target display content acquisition module 310, a type-identical control determination module 320, a data saving module 330 and a content drawing and displaying module 340.
The target display content acquiring module 310 is configured to, in response to a content tag switching operation of a user, hide first display content corresponding to a current content tag, and acquire second display content corresponding to a switched target content tag; a type-identical control determining module 320, configured to determine whether a control in the second display content includes a control of the same type as that in the first display content before applying for a memory space for the second display content; the data saving module 330 is configured to apply for a memory space for data in the second display content except for the control data of the control of the same type in the second display content and save the memory space when the control of the second display content includes the control of the same type as that of the first display content; and the content drawing and displaying module 340 is configured to draw and display the content of the switched target content label based on the control data of the control with the same type in the first display content and the stored partial data of the second display content.
The display content switching display device provided by the embodiment of the disclosure judges whether the acquired content data corresponding to the target content label to be switched has the control with the same type as that in the display content corresponding to the current content label without releasing the memory space of the display content corresponding to the current content label when switching the content label, only applies for the storage space and stores the data except for the control data of the control with the same type in the content data corresponding to the target content label, and further draws and displays the content of the switched target content label based on the control with the same type in the display content corresponding to the current content label and the stored partial data of the content corresponding to the target content label, thereby solving the problems of memory exhaustion and UI display disorder possibly occurring when switching the content label in the prior art, and realizing that when switching the content corresponding to the content label of the application display interface, the risk of memory exhaustion is reduced, the condition of UI display errors is reduced, and the application use experience of a user is improved.
Optionally, the first display content includes control data, rendering data, and display content corresponding to each control under the current content tag;
the second display content comprises control data, rendering data and display content which correspond to each control under the target content label.
Optionally, the rendering data includes a size and a position of the corresponding control, and a corresponding relationship with the display content.
Optionally, the content drawing and displaying module 340 is specifically configured to:
for the control with the same type in the second display content as the control with the same type in the first display content, rendering and displaying the corresponding control according to the saved rendering data and display content of the control with the same type in the second display content and the control data of the control with the same type in the first display content;
and aiming at the control of the second display content, which is different from the control of the first display content in type, rendering and displaying the control of the different type according to the saved control data, rendering data and display content of the control of the second display content, which is different from the control of the first display content in type.
Optionally, the content tags include content classification tags of at least one classification level.
The display content switching display device provided by the embodiment of the disclosure can execute the display content switching display method provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE III
Referring now to FIG. 4, a block diagram of an electronic device and/or server 400 suitable for use in implementing embodiments of the present disclosure is shown. The electronic device and/or the server in the embodiments of the present disclosure may include, but are not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), etc., and a fixed terminal such as a digital TV, a desktop computer, etc., or various forms of servers such as a stand-alone server or a server cluster. The electronic device and/or server shown in fig. 4 is only one example and should not bring any limitations to the functionality and scope of use of the embodiments of the present disclosure.
As shown in fig. 4, the electronic device and/or server 400 may include a processing device (e.g., central processing unit, graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a read-only memory device (ROM)402 or a program loaded from a storage device 405 into a random access memory device (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic apparatus and/or the server 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 404: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device and/or the server 400 to communicate wirelessly or by wire with other devices to exchange data. While fig. 4 illustrates an electronic device and/or server 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program containing program code for performing a method of displaying an operable control. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 404, or from the ROM 402. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 401.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory device (RAM), a read-only memory device (ROM), an erasable programmable read-only memory device (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory device (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the processing device, cause the electronic device to: acquiring an operable control associated with the promotion content; determining target display information of an operable control; and if the display duration of the promotion content reaches the preset duration, adjusting the original display information of the operable control according to the target display information.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. The name of the module does not in some cases constitute a limitation of the module itself, for example, the obtaining module may also be described as a module for obtaining an operable control associated with promotion content.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (10)

1. A display content switching display method is characterized by comprising the following steps:
responding to the content label switching operation of a user, hiding first display content corresponding to a current content label, and acquiring second display content corresponding to a switched target content label, wherein the content label is a classification label of display content in a current display interface of the terminal;
before applying for a memory space for the second display content, determining whether a control in the second display content comprises a control of the same type as that in the first display content;
if so, applying for a memory space for the data in the second display content except the control data of the control with the same type and storing the memory space;
and drawing and displaying the switched target content label based on the control data of the control with the same type in the first display content and the stored partial data of the second display content.
2. The method according to claim 1, wherein the first display content comprises control data, rendering data and display content corresponding to each control under the current content label;
the second display content comprises control data, rendering data and display content which correspond to each control under the target content label.
3. The method of claim 2, wherein the rendering data comprises a size, a position, and a correspondence to the display content of the corresponding control.
4. The method of claim 1, wherein content rendering and displaying the switched target content label based on the control data of the control of the same type in the first display content and the saved partial data of the second display content comprises:
for the control with the same type in the second display content as the control with the same type in the first display content, rendering and displaying the corresponding control according to the saved rendering data and display content of the control with the same type in the second display content and the control data of the control with the same type in the first display content;
and aiming at the control of the second display content, which is different from the control of the first display content in type, rendering and displaying the control of the different type according to the saved control data, rendering data and display content of the control of the second display content, which is different from the control of the first display content in type.
5. The method of any of claims 1-4, wherein the content tags comprise content classification tags of at least one classification level.
6. A display content switching display device characterized by comprising:
the target display content acquisition module is used for responding to the content label switching operation of a user, hiding first display content corresponding to a current content label and acquiring second display content corresponding to a switched target content label, wherein the content label is a classification label of the display content;
the same-type control determining module is used for determining whether a control in the second display content contains a control with the same type as that in the first display content before applying for the memory space for the second display content;
the data storage module is used for applying for memory space for the data except the control data of the control with the same type in the second display content and storing the memory space when the control in the second display content comprises the control with the same type as the control in the first display content;
and the content drawing and displaying module is used for drawing and displaying the content of the switched target content label based on the control data of the control with the same type in the first display content and the stored partial data of the second display content.
7. The apparatus according to claim 6, wherein the first display content includes control data, rendering data and display content corresponding to each control under the current content tag;
the second display content comprises control data, rendering data and display content which correspond to each control under the target content label.
8. The apparatus of claim 7, wherein the rendering data comprises a size, a position, and a correspondence to the display content of a corresponding control.
9. An electronic device, characterized in that the electronic device comprises:
one or more processing devices;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processing devices, cause the one or more processing devices to implement the display content switching display method according to any one of claims 1 to 5.
10. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the display content switching display method according to any one of claims 1 to 5.
CN201910425937.6A 2019-05-21 2019-05-21 Display content switching display method, device, equipment and medium Active CN110147283B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910425937.6A CN110147283B (en) 2019-05-21 2019-05-21 Display content switching display method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910425937.6A CN110147283B (en) 2019-05-21 2019-05-21 Display content switching display method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN110147283A CN110147283A (en) 2019-08-20
CN110147283B true CN110147283B (en) 2021-06-04

Family

ID=67592635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910425937.6A Active CN110147283B (en) 2019-05-21 2019-05-21 Display content switching display method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN110147283B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110908735A (en) * 2019-11-19 2020-03-24 北京字节跳动网络技术有限公司 Automatic application program label loading and changing method and device and electronic equipment
CN113504862A (en) * 2021-09-11 2021-10-15 腾讯科技(深圳)有限公司 View data processing method and device, target device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6978473B1 (en) * 2000-10-27 2005-12-20 Sony Corporation Pop-up option palette
CN101039489A (en) * 2006-03-03 2007-09-19 董崇军 Method for realizing dynamic menu
WO2012053026A1 (en) * 2010-10-18 2012-04-26 Hitachi, Ltd. Data storage apparatus and power control method therefor
US8745488B1 (en) * 2010-06-30 2014-06-03 Patrick Wong System and a method for web-based editing of documents online with an editing interface and concurrent display to webpages and print documents
CN104615436A (en) * 2015-02-12 2015-05-13 江苏扬力数控机床有限公司 HMI (human machine interface) control method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8756500B2 (en) * 2011-09-20 2014-06-17 Microsoft Corporation Dynamic content feed filtering
CN103780651B (en) * 2012-10-23 2018-04-27 腾讯科技(深圳)有限公司 Asynchronised handover, method and system that are newly-increased, closing the page
CN103309563B (en) * 2013-06-28 2016-04-20 贝壳网际(北京)安全技术有限公司 Displayed page switching method and device
CN103678640A (en) * 2013-12-20 2014-03-26 广东威创视讯科技股份有限公司 Device, system and interactive method for achieving data visualization displaying under Windows system
CN107870704A (en) * 2016-09-26 2018-04-03 比亚迪股份有限公司 Password unblock, device and the terminal of compatible calculator function
CN107463324A (en) * 2017-06-26 2017-12-12 努比亚技术有限公司 A kind of image display method, mobile terminal and computer-readable recording medium
CN107977204A (en) * 2017-11-10 2018-05-01 北京酷我科技有限公司 The processing method that a kind of list is slided
CN108762622B (en) * 2018-06-04 2021-08-13 北京搜狐新动力信息技术有限公司 Page switching display method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6978473B1 (en) * 2000-10-27 2005-12-20 Sony Corporation Pop-up option palette
CN101039489A (en) * 2006-03-03 2007-09-19 董崇军 Method for realizing dynamic menu
US8745488B1 (en) * 2010-06-30 2014-06-03 Patrick Wong System and a method for web-based editing of documents online with an editing interface and concurrent display to webpages and print documents
WO2012053026A1 (en) * 2010-10-18 2012-04-26 Hitachi, Ltd. Data storage apparatus and power control method therefor
CN104615436A (en) * 2015-02-12 2015-05-13 江苏扬力数控机床有限公司 HMI (human machine interface) control method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于WinCE移动终端的会议应用系统的设计与实现;郭阳;《中国优秀硕士学位论文全文数据库(信息科技辑)》;20130215(第2期);第I138-167页 *

Also Published As

Publication number Publication date
CN110147283A (en) 2019-08-20

Similar Documents

Publication Publication Date Title
CN110046021B (en) Page display method, device, system, equipment and storage medium
US11875437B2 (en) Image drawing method based on target template image, apparatus, readable medium and electronic device
US20220261127A1 (en) Information display method and apparatus, electronic device, and computer readable medium
CN109460233B (en) Method, device, terminal equipment and medium for updating native interface display of page
CN109857486B (en) Method, device, equipment and medium for processing program page data
US20220094758A1 (en) Method and apparatus for publishing video synchronously, electronic device, and readable storage medium
CN109408189B (en) Dynamic adjustment method, device, equipment and medium for client interface layout
US20220075932A1 (en) Method and apparatus for inserting information into online document
CN109614194B (en) List interface display method, device, equipment and storage medium
CN110209315B (en) Method and device for displaying characters in user interface, electronic equipment and storage medium
CN110619099B (en) Comment content display method, device, equipment and storage medium
CN109491742B (en) Page table rendering method and device
CN110958481A (en) Video page display method and device, electronic equipment and computer readable medium
US20220408143A1 (en) Control setting method and apparatus, electronic device and interaction system
CN110147283B (en) Display content switching display method, device, equipment and medium
CN113253885A (en) Target content display method, device, equipment, readable storage medium and product
CN114363686B (en) Method, device, equipment and medium for publishing multimedia content
CN110022493B (en) Playing progress display method and device, electronic equipment and storage medium
US20230421857A1 (en) Video-based information displaying method and apparatus, device and medium
CN110134905B (en) Page update display method, device, equipment and storage medium
CN112492399B (en) Information display method and device and electronic equipment
US20220215482A1 (en) User information processing method, apparatus, electronic device, and computer storage medium
CN110069186B (en) Method and equipment for displaying operation interface of application
CN110162350B (en) Notification bar information display method, notification bar information display device, server and storage medium
CN111324835A (en) Method and device for rendering user interface component, electronic equipment and storage medium

Legal Events

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