[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106354464B - Information display method and device - Google Patents

Information display method and device Download PDF

Info

Publication number
CN106354464B
CN106354464B CN201610805473.8A CN201610805473A CN106354464B CN 106354464 B CN106354464 B CN 106354464B CN 201610805473 A CN201610805473 A CN 201610805473A CN 106354464 B CN106354464 B CN 106354464B
Authority
CN
China
Prior art keywords
display control
preset
preset display
information
control
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
CN201610805473.8A
Other languages
Chinese (zh)
Other versions
CN106354464A (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 Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610805473.8A priority Critical patent/CN106354464B/en
Publication of CN106354464A publication Critical patent/CN106354464A/en
Application granted granted Critical
Publication of CN106354464B publication Critical patent/CN106354464B/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
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The disclosure relates to an information display method and device. The method comprises the following steps: monitoring a selected operation aiming at a target display control in a screen, wherein the target display control is related to a preset display control in the screen, and the preset display control is used for displaying information required to be displayed according to a preset display mode; and when the selected operation is monitored, indicating the preset display control to display the information according to the preset display mode. According to the technical scheme, when the selection operation of the target display control in the screen is monitored, the preset display control is indicated to display the information according to the preset display mode, so that even if the preset display control does not acquire the focus of the page, the information required to be displayed can still be automatically displayed according to the preset display mode supported by the preset display control after the target display control related to the preset display control is selected, and the realization mode of the preset display control is enriched.

Description

Information display method and device
Technical Field
The present disclosure relates to the field of information technologies, and in particular, to an information display method and apparatus.
Background
At present, when a display control in an application displays content that needs to be displayed according to a specific display effect, a page focus often needs to be acquired (that is, a user needs to select the display control, for example, by manipulating a remote controller). For example: when a TextView control (text control) in an application displays characters required to be displayed in a marquee form, a page focus needs to be acquired, so that the display mode is limited, and the user experience is poor.
Disclosure of Invention
The embodiment of the disclosure provides an information display method and device. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided an information display method including:
monitoring a selected operation aiming at a target display control in a screen, wherein the target display control is related to a preset display control in the screen, and the preset display control is used for displaying information required to be displayed according to a preset display mode;
and when the selected operation is monitored, indicating the preset display control to display the information according to the preset display mode.
In an embodiment, the instructing, when the selected operation is monitored, the preset display control to display the information according to the preset display mode includes:
and when the selected operation is monitored, generating first indication information to indicate the preset display control to display the information according to the preset display mode.
In one embodiment, the method further comprises:
and when the target display control is monitored to be in a non-selected state, generating second indication information to indicate the preset display control to stop displaying the information according to the preset display mode.
In one embodiment, the preset display control includes: and the expansion sub-control is used for displaying the information according to a preset display mode according to the indication.
In one embodiment, the preset display control includes: the textView display control comprises a preset display mode: and displaying a marquee display mode.
In one embodiment, the target display control is used for presenting image information in one area of the screen, and the preset display control is used for presenting text information in another area of the screen.
According to a second aspect of the embodiments of the present disclosure, there is provided an information display device including:
the system comprises a monitoring module, a display module and a display module, wherein the monitoring module is used for monitoring the selected operation of a target display control in a screen, the target display control is related to a preset display control in the screen, and the preset display control is used for displaying the information required to be displayed according to a preset display mode;
and the indicating module is used for indicating the preset display control to display the information according to the preset display mode when the selected operation is monitored.
In one embodiment, the indication module comprises:
and the generation sub-module is used for generating first indication information when the selected operation is monitored so as to indicate the preset display control to display the information according to the preset display mode.
In one embodiment, the apparatus further comprises:
and the generating module is used for generating second indication information when the target display control is monitored to be in a non-selected state so as to indicate the preset display control to stop displaying the information according to the preset display mode.
In one embodiment, the preset display control includes: and the expansion sub-control is used for displaying the information according to a preset display mode according to the indication.
In one embodiment, the preset display control includes: the textView display control comprises a preset display mode: and displaying a marquee display mode.
In one embodiment, the target display control is used for presenting image information in one area of the screen, and the preset display control is used for presenting text information in another area of the screen.
According to a third aspect of the embodiments of the present disclosure, there is provided an information display apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring a selected operation aiming at a target display control in a screen, wherein the target display control is related to a preset display control in the screen, and the preset display control is used for displaying information required to be displayed according to a preset display mode;
and when the selected operation is monitored, indicating the preset display control to display the information according to the preset display mode.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the technical scheme, when the selection operation of the target display control in the screen is monitored, the preset display control is indicated to display the information according to the preset display mode, so that even if the preset display control does not acquire the page focus, the information required to be displayed is still automatically displayed according to the preset display mode supported by the preset display control after the target display control related to the preset display control is selected, and the realization mode of the preset display control is enriched.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
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.
Fig. 1 is a flow chart illustrating an information display method according to an example embodiment.
Fig. 2 is a flow chart illustrating another method of displaying information according to an example embodiment.
Fig. 3 is a flow chart illustrating yet another method of displaying information according to an example embodiment.
Fig. 4 is a block diagram illustrating an information display apparatus according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating another information display apparatus according to an example embodiment.
Fig. 6 is a block diagram illustrating yet another information display apparatus according to an exemplary embodiment.
Fig. 7 is a block diagram illustrating still another information display apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. 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.
When a display control in an application displays content that needs to be displayed according to a specific display effect, a page focus often needs to be acquired (that is, a user needs to select the display control, for example, by manipulating a remote controller or the like). When the focus cannot be obtained, the display control may not normally display the content that needs to be displayed according to a preset display mode, for example: when a TextView control (text control) in an application displays characters required to be displayed in a marquee mode, a page focus needs to be acquired, and when the TextView control cannot acquire the page focus, the characters required to be displayed cannot be displayed in the marquee mode, so that the display mode of the display control is limited, and the user experience is poor.
In order to solve the above technical problem, an embodiment of the present disclosure provides an information display method, which may be used in an information display program, system or device, and is applicable to any application installed on a terminal, as shown in fig. 1, the method includes steps S101 to S102:
in step S101, a selection operation for a target display control in a screen is monitored, where the target display control is related to a preset display control in the screen, and the preset display control is used to display information to be displayed according to a preset display mode;
the target display control can be one or more, and each target display control is related to the preset display control. Alternatively, the target display control may be one or more, and each target display control corresponds to a preset display control.
Secondly, the target display control and the preset display control can be two parallel display controls, or the preset display control is a child display control in the target display control, that is, the target display control and the preset display control are in a parent-child relationship (of course, if the target display control and the preset display control are in a parent-child relationship, the selecting operation may be a selecting operation for a region other than the region where the preset display control is located in the region where the target display control is located in the screen), and the target display control and the preset display control may be two display controls in any one of applications installed on the terminal, and the target display control and the preset display control can be simultaneously positioned in any page of a main interface or a sub-interface and the like of the application where the target display control and the preset display control are positioned, that is, the content currently displayed on the screen is a page where the target display control and the preset display control are located, and the page may be a main interface or a certain sub-interface of an application where the two controls are located.
In addition, the correlation between the target display control and the preset display control indicates that the information displayed in the target display control is correlated with the information displayed in the preset display control, for example: when a video, an audio or an image is displayed in the target display control, the information displayed in the preset display control may be a brief introduction, an evaluation, interactive information, and the like of the video, the audio or the image. Or, the correlation between the target display control and the preset display control may also indicate that the target display control and the preset display control are correlated in advance, that is, there is a correlation between the target display control and the preset display control.
Finally, the selection operation can be clicking, sliding, long-pressing action and the like aiming at the area where the target display control is located.
In step S102, when the selection operation is monitored, the preset display control is instructed to display the information according to a preset display mode.
When the selection operation of the target display control in the screen is monitored, the preset display control is indicated to display the information according to the preset display mode, so that even if the preset display control does not acquire the focus of the page, the information required to be displayed can still be automatically displayed according to the preset display mode supported by the preset display control after the target display control related to the preset display control is selected, and the realization mode of the preset display control is enriched.
In addition, the information to be displayed in the preset display control is matched with the type of the control, specifically, when the preset display control is a TextView control, the information includes characters, and when the preset display control is an ImageView control, the information includes images and the like.
As shown in fig. 2, in one embodiment, the step S102 shown in fig. 1 can be performed as follows:
in step a1, when the selection operation is monitored, first indication information is generated to indicate the preset display control to display the information according to a preset display mode.
When the application where the preset display control and the target display control are located monitors the selection operation, it is indicated that the user expects to display the information in the target display control and simultaneously the information in the preset display control can be automatically displayed according to the preset display mode, so that the application can generate first indication information, so that the application can indicate the preset display control to automatically display the information to be displayed according to the preset display mode, and therefore, even if the preset display control does not acquire a page focus, after the target display control related to the preset display control is selected, the information to be displayed can still be automatically displayed according to the preset display mode supported by the preset display control, the operation of the user is reduced, and after the user selects the target display control, the information to be displayed in the preset display control can be automatically displayed according to the preset display mode supported by the preset display control without further selecting the preset display control The mode is automatically displayed.
As shown in fig. 3, in an embodiment, the method shown in fig. 1 may further include:
in step S301, when it is monitored that the target display control is in the non-selected state, second indication information is generated to indicate the preset display control to stop displaying the information according to the preset display mode.
When the target display control is monitored to be in the non-selected state, the fact that the user expects not to watch the information in the target display control is shown, and therefore the information in the preset display control does not need to be displayed automatically according to the preset display mode. Therefore, the application may generate the second indication information to indicate that the preset display control no longer executes the program for displaying the information according to the preset display mode, so as to stop displaying the information continuously according to the preset display mode.
In one embodiment, the preset display control comprises: and the expansion sub-control is used for displaying the information according to a preset display mode according to the indication.
The preset display control may be an extended sub-control thereof, and the specific implementation process of the extended sub-control displaying the information according to the preset display mode according to the indication may be as follows:
an extended sub-control is arranged in advance for a preset display control (namely a parent control) so that the extended sub-control becomes a subclass of the preset display control, wherein the extended sub-control inherits a first preset function, a second preset function and a third preset function (wherein the first preset function can call the second preset function, the second preset function can call the third preset function to obtain a return value of the third preset function, and whether a program for displaying the information according to a preset display mode is triggered is determined according to the return value of the third preset function, and the return value of the third preset function in the preset display control is not originally the first indication information or the second indication information, so that the third preset function can be reloaded in the extended sub-control, so that the return value of the third preset function is just the generated first indication information or the second indication information, of course, here also the definition: and when the return value of the third function is the second indication information, the preset display control stops executing the program for displaying the information required to be displayed according to the preset display mode.
When the application monitors the selection operation, the first indication information is generated and the first preset function is triggered at the same time, so that the second preset function is called through the first preset function, the second preset function obtains the first indication information according to the called third preset function, and according to the previous definition, the preset display control automatically displays the information according to a preset display mode when the preset display control obtains the first indication information.
Similarly, the extended sub-control can also stop displaying the information according to the indication in a preset display mode, and the specific implementation process may be:
when the target display control is monitored to be in a non-selected state, the first preset function is triggered while the second indication information is generated, so that the second preset function is called through the first preset function, the second preset function obtains the second indication information according to the called third preset function, and according to the previous definition, the preset display control automatically stops displaying the information according to a preset display mode when obtaining the second indication information.
Next, the first indication information may be 0 or 1, or may also be true or false, and the second indication information is exactly opposite to the first indication information, for example, when the first indication information is 1, the second indication information is 0, and when the first indication information is true, the second indication information is false.
In addition, when the preset display control is a TextView display control, the first preset function may be layout () or SetSelect () function in the TextView, the second preset function may be startmarque (), and the third preset function may be isSelected () function.
Finally, when the preset display control is TextView, the third preset function is an isSelected () function, and the first indication information is true, a process of making a return value of the third preset function just be the first indication information may be as follows:
when the application receives the selected operation, a preset intermediate variable selected is assigned, that is, selected is true, and the selected true is transferred to isSelected () through an intermediate function selected (boilean selected), so that true serves as a return value of isSelected ().
Similarly, when the preset display control is TextView, the third preset function is isSelected () function, and the second indication information is false, the process of making the return value of the third preset function just be the second indication information may be as follows:
when the target display control is monitored to be in the non-selected state, the value of the intermediate variable selected is assigned, namely selected is false (namely the second indication information), and the selected is false is transmitted to the isSelected () through an intermediate function selected (bootean selected), so that the false serves as the return value of the isSelected ().
In one embodiment, the preset display control comprises: the textView display control is characterized in that the preset display mode comprises the following steps: and displaying a marquee display mode.
Ticker display means, i.e. means that information is displayed in a dynamic form, for example: when the display area of the TextView display control is too small to display the information, the information can be dynamically displayed by the TextView display control in the form of a ticker so that the user can gradually view different parts of the information in a time-sharing manner, and the user can finally view the complete information.
In one embodiment, the target display control is used to present image information in one region of the screen and the preset display control is used to present text information in another region of the screen.
One region of the target display control in the screen and the other region of the preset display control in the screen may contain a relationship with the contained relationship, that is, the region of the preset display control in the screen is located inside the region of the target display control in the screen (of course, the selecting operation may be a selecting operation for other regions of the region of the target display control in the screen except for the region of the preset display control), or a parallel relationship (for example, the region of the preset display control in the screen is located above/below, left/right, and the like the region of the target display control in the screen);
in addition, the image information that the target display control uses to present in one area of the screen may be static or dynamically changing, and the text information that the preset display control presents in another area of the screen may be introduction information, evaluation information, or interaction information of the image information, for example: when the image information that the target display control is used to present in one region of the screen is a live view, the preset display control is used to present the text information in another region of the screen, which may be interaction information (such as bullet screen information) of the live view, for example: when the image information used by the target display control to be presented in one area of the screen is a certain drama or movie and television play picture, the text information preset for the display control to be presented in another area of the screen may be the brief introduction or the groove opening information of the certain drama or movie and television play picture, and the like.
In response to the above information display method provided in the embodiment of the present disclosure, an embodiment of the present disclosure further provides an information display apparatus, as shown in fig. 4, the apparatus includes:
the monitoring module 401 is configured to monitor a selected operation for a target display control in a screen, where the target display control is related to a preset display control in the screen, and the preset display control is configured to display information to be displayed according to a preset display mode;
and the indicating module 402 is configured to indicate a preset display control to display information according to a preset display mode when the selected operation is monitored.
As shown in fig. 5, in an embodiment, the indication module 402 shown in fig. 4 may include:
the generating sub-module 4021 is configured to generate first indication information to indicate the preset display control to display the information according to a preset display mode when the selected operation is monitored.
As shown in fig. 6, in an embodiment, the apparatus shown in fig. 4 may further include:
the generating module 601 is configured to generate second indication information when it is monitored that the target display control is in a non-selected state, so as to indicate the preset display control to stop displaying the information according to a preset display mode.
In one embodiment, the preset display control comprises: and the expansion sub-control is configured to display the information according to a preset display mode according to the indication.
In one embodiment, the preset display control comprises: the textView display control is characterized in that the preset display mode comprises the following steps: and displaying a marquee display mode.
In one embodiment, the target display control is configured to present image information in one region of the screen and the preset display control is configured to present text information in another region of the screen.
According to a third aspect of the embodiments of the present disclosure, there is provided an information display device including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring a selected operation aiming at a target display control in a screen, wherein the target display control is related to a preset display control in the screen, and the preset display control is used for displaying information required to be displayed according to a preset display mode;
and when the selected operation is monitored, indicating the preset display control to display the information according to the preset display mode.
The processor may be further configured to:
when the selected operation is monitored, the preset display control is indicated to display the information according to the preset display mode, and the method comprises the following steps:
and when the selected operation is monitored, generating first indication information to indicate the preset display control to display the information according to the preset display mode.
The processor may be further configured to:
the method further comprises the following steps:
and when the target display control is monitored to be in a non-selected state, generating second indication information to indicate the preset display control to stop displaying the information according to the preset display mode.
The processor may be further configured to:
the preset display control comprises: and the expansion sub-control is used for displaying the information according to a preset display mode according to the indication.
The processor may be further configured to:
the preset display control comprises: the textView display control comprises a preset display mode: and displaying a marquee display mode.
In one embodiment, the target display control is used for presenting image information in one area of the screen, and the preset display control is used for presenting text information in another area of the screen.
Fig. 7 is a block diagram illustrating an information display apparatus 700, which is suitable for a terminal device, according to an exemplary embodiment. For example, the apparatus 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, the apparatus 700 may include one or at least two of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or at least two processors 720 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 702 may include one or at least two modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the apparatus 700. Examples of such data include instructions for any stored object or method of operation on the device 700, contact user data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or at least two power supplies, and other components associated with generating, managing, and distributing power supplies for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or at least two touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or at least two sensors for providing various aspects of status assessment for the device 700. For example, sensor assembly 714 may detect an open/closed state of device 700, the relative positioning of components, such as a display and keypad of device 700, sensor assembly 714 may also detect a change in position of device 700 or a component of device 700, the presence or absence of user contact with device 700, orientation or acceleration/deceleration of device 700, and a change in temperature of device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 700 may be implemented by one or at least two Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the device 700 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein, which when executed by a processor of the apparatus 700, enable the apparatus 700 to perform an information display method, comprising:
monitoring a selected operation aiming at a target display control in a screen, wherein the target display control is related to a preset display control in the screen, and the preset display control is used for displaying information required to be displayed according to a preset display mode;
and when the selected operation is monitored, indicating the preset display control to display the information according to the preset display mode.
In an embodiment, the instructing, when the selected operation is monitored, the preset display control to display the information according to the preset display mode includes:
and when the selected operation is monitored, generating first indication information to indicate the preset display control to display the information according to the preset display mode.
In one embodiment, the method further comprises:
and when the target display control is monitored to be in a non-selected state, generating second indication information to indicate the preset display control to stop displaying the information according to the preset display mode.
In one embodiment, the preset display control includes: and the expansion sub-control is used for displaying the information according to a preset display mode according to the indication.
In one embodiment, the preset display control includes: the textView display control comprises a preset display mode: and displaying a marquee display mode.
In one embodiment, the target display control is used for presenting image information in one area of the screen, and the preset display control is used for presenting text information in another area of the screen.
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 application 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 (14)

1. An information display method, comprising:
monitoring a selected operation aiming at a target display control in a screen, wherein the target display control is related to a preset display control in the screen, the preset display control is used for displaying information to be displayed according to a preset display mode, the target display control and the preset display control are two parallel display controls or the preset display control is one sub-display control in the target display control; the method comprises the steps that an extension sub-control is arranged for a preset display control in advance, so that the extension sub-control becomes a subclass of the preset display control, the extension sub-control inherits a first preset function, a second preset function and a third preset function which are originally arranged in the preset display control, the first preset function can call the second preset function, the second preset function can call the third preset function, a return value of the third preset function is obtained, the third preset function is overloaded in the extension sub-control, and whether a program for displaying information in a preset display mode is triggered or not is determined according to the return value of the third preset function;
and when the selected operation is monitored, indicating the preset display control to display the information according to the preset display mode.
2. The method of claim 1,
when the selected operation is monitored, the preset display control is indicated to display the information according to the preset display mode, and the method comprises the following steps:
and when the selected operation is monitored, generating first indication information to indicate the preset display control to display the information according to the preset display mode.
3. The method of claim 1, further comprising:
and when the target display control is monitored to be in a non-selected state, generating second indication information to indicate the preset display control to stop displaying the information according to the preset display mode.
4. The method of claim 1,
the preset display control comprises: and the expansion sub-control is used for displaying the information according to a preset display mode according to the indication.
5. The method according to any one of claims 1 to 4,
the preset display control comprises: the textView display control comprises a preset display mode: and displaying a marquee display mode.
6. The method according to any one of claims 1 to 4,
the target display control is used for presenting image information in one area of the screen, and the preset display control is used for presenting text information in another area of the screen.
7. An information display device characterized by comprising:
the system comprises a monitoring module, a display module and a display module, wherein the monitoring module is used for monitoring the selected operation of a target display control in a screen, the target display control is related to a preset display control in the screen, the preset display control is used for displaying information to be displayed according to a preset display mode, the target display control and the preset display control are two parallel display controls or the preset display control is one sub-display control in the target display control; the method comprises the steps that an extension sub-control is arranged for a preset display control in advance, so that the extension sub-control becomes a subclass of the preset display control, the extension sub-control inherits a first preset function, a second preset function and a third preset function which are originally arranged in the preset display control, the first preset function can call the second preset function, the second preset function can call the third preset function, a return value of the third preset function is obtained, the third preset function is overloaded in the extension sub-control, and whether a program for displaying information in a preset display mode is triggered or not is determined according to the return value of the third preset function;
and the indicating module is used for indicating the preset display control to display the information according to the preset display mode when the selected operation is monitored.
8. The apparatus of claim 7,
the indication module comprises:
and the generation sub-module is used for generating first indication information when the selected operation is monitored so as to indicate the preset display control to display the information according to the preset display mode.
9. The apparatus of claim 7, further comprising:
and the generating module is used for generating second indication information when the target display control is monitored to be in a non-selected state so as to indicate the preset display control to stop displaying the information according to the preset display mode.
10. The apparatus of claim 7,
the preset display control comprises: and the expansion sub-control is used for displaying the information according to a preset display mode according to the indication.
11. The apparatus according to any one of claims 7 to 10,
the preset display control comprises: the textView display control comprises a preset display mode: and displaying a marquee display mode.
12. The apparatus according to any one of claims 7 to 10,
the target display control is used for presenting image information in one area of the screen, and the preset display control is used for presenting text information in another area of the screen.
13. An information display device characterized by comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring a selected operation aiming at a target display control in a screen, wherein the target display control is related to a preset display control in the screen, the preset display control is used for displaying information to be displayed according to a preset display mode, the target display control and the preset display control are two parallel display controls or the preset display control is one sub-display control in the target display control; the method comprises the steps that an extension sub-control is arranged for a preset display control in advance, so that the extension sub-control becomes a subclass of the preset display control, the extension sub-control inherits a first preset function, a second preset function and a third preset function which are originally arranged in the preset display control, the first preset function can call the second preset function, the second preset function can call the third preset function, a return value of the third preset function is obtained, the third preset function is overloaded in the extension sub-control, and whether a program for displaying information in a preset display mode is triggered or not is determined according to the return value of the third preset function;
and when the selected operation is monitored, indicating the preset display control to display the information according to the preset display mode.
14. A non-transitory computer readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201610805473.8A 2016-09-05 2016-09-05 Information display method and device Active CN106354464B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610805473.8A CN106354464B (en) 2016-09-05 2016-09-05 Information display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610805473.8A CN106354464B (en) 2016-09-05 2016-09-05 Information display method and device

Publications (2)

Publication Number Publication Date
CN106354464A CN106354464A (en) 2017-01-25
CN106354464B true CN106354464B (en) 2020-03-03

Family

ID=57859760

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610805473.8A Active CN106354464B (en) 2016-09-05 2016-09-05 Information display method and device

Country Status (1)

Country Link
CN (1) CN106354464B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107015740A (en) * 2017-03-16 2017-08-04 北京猎豹移动科技有限公司 Control method, device and the mobile terminal of mobile terminal screen
CN113805775A (en) * 2021-09-15 2021-12-17 深圳市道通智能航空技术股份有限公司 Display method, device and equipment of unmanned aerial vehicle interactive interface and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104777960A (en) * 2015-04-03 2015-07-15 北京奇虎科技有限公司 Method and device for realizing composite object marquee capable of being triggered segmentally

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488990A (en) * 2008-01-18 2009-07-22 德信智能手机技术(北京)有限公司 Method for viewing calling party detailed information by image switching in audio conference process
CN103092456B (en) * 2011-10-31 2015-11-25 国际商业机器公司 A kind of text box input method and system
CN103533396B (en) * 2013-09-29 2017-03-08 乐视网信息技术(北京)股份有限公司 A kind of video content interaction, apparatus and system
CN105142031B (en) * 2015-08-17 2019-03-05 北京奇虎科技有限公司 The method and device of text information is shown with barrage in video playing

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104777960A (en) * 2015-04-03 2015-07-15 北京奇虎科技有限公司 Method and device for realizing composite object marquee capable of being triggered segmentally

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Android中TextView不获取焦点可以实现跑马灯的效果;cwcwj3069;《CSDN》;20160809 *

Also Published As

Publication number Publication date
CN106354464A (en) 2017-01-25

Similar Documents

Publication Publication Date Title
CN106506448B (en) Live broadcast display method and device and terminal
CN110662095B (en) Screen projection processing method and device, terminal and storage medium
WO2020057327A1 (en) Information list display method and apparatus, and storage medium
EP3182716A1 (en) Method and device for video display
US10530836B2 (en) Methods and apparatuses for acquiring image
CN105159640B (en) Display interface rotating method and device and mobile terminal
CN106101680B (en) Acquisition parameters setting method and device
CN104469437A (en) Advertisement pushing method and device
US20190235745A1 (en) Method and device for displaying descriptive information
US11545188B2 (en) Video processing method, video playing method, devices and storage medium
CN112019893B (en) Screen projection method of terminal and screen projection device of terminal
CN104216525B (en) Method and device for mode control of camera application
CN107797662B (en) Viewing angle control method and device and electronic equipment
CN105847936A (en) Display control method and device, and terminal
CN106775235B (en) Screen wallpaper display method and device
CN106254939B (en) Information prompting method and device
CN107566878B (en) Method and device for displaying pictures in live broadcast
CN112261453A (en) Method, device and storage medium for transmitting subtitle splicing map
CN106354464B (en) Information display method and device
CN106919302B (en) Operation control method and device of mobile terminal
CN106454540B (en) Method and device for processing interactive information based on live broadcast
US11221734B2 (en) Punch-hole screen display method and apparatus
CN111610899A (en) Interface display method, interface display device and storage medium
CN107920015B (en) Method and device for publishing picture
CN106375744B (en) Information projecting method and device

Legal Events

Date Code Title Description
C06 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