CN106201220B - Display content acquisition method and device - Google Patents

Display content acquisition method and device Download PDF

Info

Publication number
CN106201220B
CN106201220B CN201610614824.7A CN201610614824A CN106201220B CN 106201220 B CN106201220 B CN 106201220B CN 201610614824 A CN201610614824 A CN 201610614824A CN 106201220 B CN106201220 B CN 106201220B
Authority
CN
China
Prior art keywords
display content
tab
display
area
transparent
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
CN201610614824.7A
Other languages
Chinese (zh)
Other versions
CN106201220A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610614824.7A priority Critical patent/CN106201220B/en
Publication of CN106201220A publication Critical patent/CN106201220A/en
Application granted granted Critical
Publication of CN106201220B publication Critical patent/CN106201220B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

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

Abstract

The invention discloses a display content obtaining method and device, and belongs to the field of data processing. The method comprises the following steps: generating a hidden graph corresponding to an inactivated Tab label in a User Interface (UI), wherein the hidden graph covers a display area of the Tab label; detecting whether the current coordinates of the moving cursor are positioned in the area covered by the hidden graph; if the current coordinate of the mobile cursor is located in the area covered by the hidden graph, sending a content acquisition request to a server, wherein the content acquisition request is used for acquiring display content corresponding to the Tab label; receiving the display content sent by the server; the problem that the process of displaying the display content is delayed when the data volume of the display content corresponding to the Tab label is large is solved, and the effects that the acquired display content can be displayed quickly and the display efficiency of the display content is improved are achieved.

Description

Display content acquisition method and device
Technical Field
The embodiment of the invention relates to the field of data processing, in particular to a display content acquisition method and device.
Background
In a UI (User Interface), a Tab tag is a control for implementing page switching.
The UI including the Tab tag is generally divided into a Tab area and a data area, where the Tab area is used to display a plurality of Tab tags in an arranged manner, and one Tab tag corresponds to one page, and when any one Tab tag in the Tab area is activated, for example: and clicking the Tab label, requesting display content corresponding to the Tab label from the server by the client, and displaying the display content corresponding to the Tab label in the data area after receiving the display content sent by the server.
In the process of implementing the embodiment of the present invention, the inventor finds that the prior art has at least the following problems: when the data size of the display content corresponding to the Tab tag is relatively large, it takes a relatively long time to acquire the display content from the server, resulting in a delay in the display process, that is, the Tab tag only displays a part of the display content after being selected, and the other part of the display content cannot be displayed immediately.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a display content obtaining method and apparatus. The technical scheme is as follows:
according to a first aspect of the present invention, there is provided a display content acquisition method, the method including:
generating a transparent triangle corresponding to an unactivated Tab label in a User Interface (UI), wherein the unactivated Tab label is an un-clicked or selected Tab label, the top end part of the transparent triangle covers the display area of the Tab label, and the other part of the transparent triangle is positioned outside the display area of the Tab label;
if the current coordinate of the mobile cursor is located in an area covered by N transparent triangles, N Tab labels corresponding to the N transparent triangles are different, and the time length of the mobile cursor staying in the area covered by the N transparent triangles exceeds a preset time length, sending a content acquisition request to a server, wherein the content acquisition request is used for acquiring display content corresponding to the N Tab labels, and N is greater than or equal to 2;
and receiving the display content sent by the server.
According to a second aspect of the present invention, there is provided a display content acquiring apparatus, the apparatus including:
the hidden graph generation module is used for generating a transparent triangle corresponding to an unactivated Tab label in a User Interface (UI), wherein the unactivated Tab label is an un-clicked or selected Tab label, the top end part of the transparent triangle covers the display area of the Tab label, and the other part of the transparent triangle is positioned outside the display area of the Tab label;
the request module is used for sending a content acquisition request to a server if an area where the current coordinate of the mobile cursor is located is an area covered by N transparent triangles, N Tab labels corresponding to the N transparent triangles are different, and the time length of the mobile cursor staying in the area covered by the N transparent triangles exceeds a preset time length, wherein the content acquisition request is used for acquiring display content corresponding to the N Tab labels, and N is greater than or equal to 2;
and the acquisition module is used for receiving the display content sent by the server.
According to a third aspect of the present invention, there is provided a computer-readable storage medium having stored therein a computer program for implementing the display content acquisition method according to the first aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
the hidden graph corresponding to the inactivated Tab label is generated in the UI of the client, after the mobile cursor enters the area covered by the hidden graph, the client sends a content acquisition request to the server to acquire the display content corresponding to the Tab label, and as the hidden graph covers the display area of the Tab label, when the mobile cursor is detected to enter the area covered by the hidden graph, the client considers that the user can click the Tab label corresponding to the hidden graph, the display content corresponding to the Tab label is acquired in advance, after the user clicks the Tab label, the acquired display content can be displayed quickly, and the display efficiency of the display content is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of an environment for implementing a display content acquisition method according to some exemplary embodiments;
FIG. 2 is a flow diagram illustrating a display content acquisition method according to an exemplary embodiment;
FIG. 3 is a flow diagram illustrating a display content acquisition method according to another exemplary embodiment;
FIG. 4 is a schematic diagram illustrating an implementation of a display content acquisition method according to an example embodiment;
FIG. 5 is a schematic diagram illustrating an implementation of a display content acquisition method according to an example embodiment;
FIG. 6 is a block diagram illustrating a display content acquisition apparatus according to an example embodiment;
FIG. 7 is a block diagram illustrating a display content acquisition apparatus according to an example embodiment;
fig. 8 is a block diagram of a terminal device according to an embodiment of the present invention;
fig. 9 is a block diagram of a server according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Referring to fig. 1, a schematic structural diagram of an implementation environment according to an embodiment of the invention is shown. The implementation environment includes: terminal device 110 and server 120. Wherein:
terminal device 110 has the capability of data transmission and display of display content, such as: desktop computers, notebook computers. Optionally, the terminal device 110 is connected to an external device, and a user may operate the terminal device 110 through the external device, for example: the terminal device 110 is connected with a mouse, and a user can select display contents in the UI of the terminal device through the mouse to operate the display contents.
The terminal device 110 has a client installed therein, where the client is a program that cooperates with the server to provide local services, such as: the system comprises a live broadcast client, a picture service client, a video playing station client, a browser client and a reading client. A User Interface (UI) of the client includes Tab tags, one Tab tag corresponds to one display page, and each display page is used to display different display contents. Display content refers to data transmitted in the form of resources in a network, such as pictures, documents, video, audio, and the like
The server 120 is a background server of the client, and may be a server or a server cluster formed by multiple servers or a cloud computing center.
The number of terminal devices 110 is at least one, and only one terminal device 110 is shown in fig. 1 for illustration.
The terminal device 110 and the server 120 are connected through a wired network or a wireless network.
Referring to fig. 2, a flowchart of a display content obtaining method according to an embodiment of the present invention is shown. The present embodiment is exemplified by the application of the display content acquisition method to a terminal device in an implementation environment, and as shown in fig. 2, the display content acquisition method includes the following steps.
In step 201, a hidden graphic corresponding to the inactive Tab is generated in the UI, and the hidden graphic is overlaid on the display area of the Tab.
Activation refers to being clicked or selected. The activated Tab label refers to the Tab label clicked or selected, and the inactivated Tab label refers to the Tab label not clicked or selected.
And displaying the display content corresponding to the activated Tab label in a data area in the UI, and not displaying the display content corresponding to the inactivated Tab label. Such as: the UI of a certain client comprises 3 Tab labels, and after the client is opened, the data area in the UI displays the display content corresponding to the 1 st Tab label, which indicates that the 1 st Tab label is an activated Tab label, and the other 2 Tab labels are not activated.
And generating a hidden graph corresponding to the inactive Tab label, namely generating a new layer in the UI, wherein the hidden graph is in the new layer and covers the display area of the Tab label. In order to detect whether the moving cursor moves to the area covered by the hidden graph, the layer on which the hidden graph is located needs to be arranged on the topmost layer.
Optionally, in order not to affect the content display in other layers in the UI, the layer where the hidden graphic is located is a transparent layer, that is, the hidden graphic is transparent.
Optionally, the hidden pattern is a preset planar shape, such as: rectangle, square, triangle.
Optionally, the hidden graphic completely covers the display area of the Tab label, or a part of the hidden graphic covers the display area of the Tab label.
In step 202, it is detected whether the current coordinates of the moving cursor are within the area covered by the hidden graphic.
In step 203, if the current coordinate of the mobile cursor is located in the area covered by the hidden graph, a content obtaining request is sent to the server, where the content obtaining request is used to obtain the display content corresponding to the Tab tag.
Correspondingly, after receiving the content acquisition request sent by the client, the server sends the display content corresponding to the Tab tag to the client.
In step 204, the display content sent by the server is received.
In summary, in the display content obtaining method provided in the embodiment of the present invention, a hidden graphic corresponding to an inactive Tab tag is generated in a UI of a client, and after a mobile cursor enters an area covered by the hidden graphic, the client sends a content obtaining request to a server to obtain display content corresponding to the Tab tag.
Referring to fig. 3, a flowchart of another display content obtaining method according to an embodiment of the present invention is shown. The present embodiment is exemplified by the application of the display content acquisition method to a terminal device in an implementation environment, and as shown in fig. 3, the display content acquisition method includes the following steps.
In step 301, a hidden graphic corresponding to the Tab label that is not activated is generated in the UI, and the hidden graphic is overlaid on the display area of the Tab label.
Activation refers to being clicked or selected. The activated Tab label refers to the Tab label clicked or selected, and the inactivated Tab label refers to the Tab label not clicked or selected.
A hidden graphic corresponds to an inactive Tab tag, and the hidden graphic is not displayed on the user interface.
Optionally, the hidden pattern is a transparent triangle, and a top end portion of the transparent triangle covers the display area of the Tab label.
Such as: in the UI shown in fig. 4, if there are 2 non-activated Tab labels, 2 hidden graphics are generated, where the hidden graphics are transparent triangles, and the top end portions of the transparent triangles are overlaid on the display areas of the Tab labels. In fig. 4, in order to clearly express the region covered by the hidden graphic, the boundary of the hidden graphic is indicated by a solid line, and the hidden graphic is not actually visible in the UI.
In general, when a user moves a moving cursor from one point to another point, the moving trajectory of the moving cursor is a straight line or a line approximating a straight line, such as: as shown in fig. 4, the moving cursor stays at point a, and the user needs to move the moving cursor to point B in the display area of the Tab label, and the moving track of the moving cursor is generally a straight line or a nearly straight line connecting points 41 between point a and point B, but not a broken line 42. When the moving cursor is not located right below the display area of the Tab tag, the moving trajectory of the moving cursor moving to the display area of the Tab tag is a diagonal line, and the boundary line of the triangle is also a diagonal line, so that the triangle is closer to the moving trajectory of the moving cursor moving from the display area other than the Tab tag to the display area of the Tab tag, and the client can obtain a more accurate prediction result by using the triangle.
Optionally, the size of the hidden pattern is preset, for example: the size of the transparent triangles is 150px by 150 px.
Optionally, the hidden graphic completely covers the display area of the Tab label, or a part of the hidden graphic covers the display area of the Tab label.
In step 302, the current coordinates of the moving cursor and a set of coordinates of the area are obtained, the set of coordinates including the coordinates of all locations within the area.
And after the hidden image is generated, obtaining the coordinates of all positions in the area covered by the hidden image, including the coordinates of the position of the boundary of the hidden image. In general, coordinates of all positions in an area covered by a hidden graphic in a layer where the hidden graphic is located are obtained.
And acquiring the current coordinate of the moving cursor in the moving process of the moving cursor.
In step 303, it is detected whether the current coordinates of the moving cursor belong to a set of coordinates.
If the current coordinate of the moving cursor belongs to the coordinate set, it indicates that the current coordinate of the moving cursor is located in the area covered by the hidden graph, that is, step 304 is executed; and if the moving cursor does not belong to the coordinate set, the current coordinate of the moving cursor is not positioned in the area covered by the hidden graph.
Such as: detecting that the current coordinate of the moving cursor is (201, 150), the coordinates in the coordinate set include (200, 110), (200.5, 110), (201, 110), (201.5, 110), … …, (201, 150), (201.5, 150), (202, 150), (202.5, 150) … … (210, 280), and if the current coordinate of the moving cursor belongs to the coordinate set, the current coordinate of the moving cursor is located in the area covered by the hidden graph.
In step 304, if the current coordinate of the moving cursor is located in the area covered by the hidden graphic, a content obtaining request is sent to the server, where the content obtaining request is used to obtain the display content corresponding to the Tab tag.
And if the current coordinate of the mobile cursor is not positioned in the area covered by the hidden graph, not sending a content acquisition request to the server.
Such as: as shown in fig. 5, when the moving cursor moves from the point C to the point D, and it is detected that the current coordinate of the moving cursor is located in the area covered by the hidden graphic, because the Tab corresponding to the hidden graphic where the point D is located is "hot", the client acquires the display content corresponding to the Tab "hot".
Optionally, when the area where the current coordinate of the mobile cursor is located is an area covered by the overlapping portion of the N hidden graphics, and the N Tab tags corresponding to the N hidden graphics are different from each other, the client sends, to the server, a content acquisition request for acquiring display content corresponding to the N Tab tags. Wherein N is greater than or equal to 2.
Such as: as shown in fig. 5, when the moving cursor moves from point C to point E, and it is detected that the current coordinate of the moving cursor is located in the area covered by the hidden graphic, and the area where point E is located is the area covered by the overlapping portion of the two hidden graphics, and the two hidden graphics respectively correspond to the Tab tag "hot" and "my attention", the client sends a content acquisition request to the server, where the content acquisition request is used to acquire the display content corresponding to the Tab tag "hot" and the display content corresponding to the Tab tag "my attention".
Optionally, after the current coordinate of the mobile cursor is located in the area covered by the hidden graph, the time length of the mobile cursor staying in the area covered by the hidden graph may be detected, and when the time length of the mobile cursor staying in the area covered by the hidden graph exceeds a predetermined time length, the client sends a content acquisition request to the server again, so that a situation that a user enters the area covered by the hidden graph due to misoperation, but actually does not want to activate the Tab tag corresponding to the hidden graph, is avoided, and traffic is saved.
In step 305, the display content sent by the server is received.
And the client receives the display content sent by the server.
In step 306, the display content is rendered before the Tab tag is activated.
The client renders the received display content before the Tab is activated, and is able to display the display content immediately when the Tab is activated.
Optionally, when the length of time that the moving cursor stays in the area covered by the hidden graph exceeds a predetermined length of time, the client renders the display content.
In step 307, when the Tab is activated, it is detected whether the display content corresponding to the Tab has been acquired.
In step 308, if the display content has been acquired, the display content is displayed.
And if the display content corresponding to the Tab label is detected to be acquired, immediately displaying the display content.
And if the display content corresponding to the Tab label is not detected to be acquired, acquiring the display content, rendering the display content, and then displaying the display content. In one case, if the moving cursor does not pass through the area covered by the hidden graph, the Tab tag corresponding to the hidden graph is directly activated, and the client detects that the display content corresponding to the Tab tag is not obtained, the display content corresponding to the Tab tag is obtained, the display content is rendered, and then the display content is displayed.
Such as: activating a Tab label 1 by a user, displaying display content corresponding to the Tab label 1 in a data area in a UI, activating a Tab label 2 after the user browses the display content corresponding to the Tab label 1, then activating the Tab label 1 again by the user, and immediately displaying the display content corresponding to the Tab label 1 when detecting that the display content corresponding to the Tab label 1 is obtained; and if the user activates the Tab tag 3 and detects that the display content corresponding to the Tab tag 3 is not acquired, acquiring the display content corresponding to the Tab tag 3, rendering the display content, and then displaying the display content.
In summary, in the display content obtaining method provided in the embodiment of the present invention, a hidden graphic corresponding to an inactive Tab tag is generated in a UI of a client, and after a mobile cursor enters an area covered by the hidden graphic, the client sends a content obtaining request to a server to obtain display content corresponding to the Tab tag.
In addition, the accuracy of predicting the operation behavior of the user is improved by enabling the hidden graph to be a transparent triangle under the condition that the display content display is not influenced.
In the following, embodiments of the apparatus according to embodiments of the present invention are described, and for details not described in detail in the embodiments of the apparatus, reference may be made to corresponding method embodiments.
Referring to fig. 6, a block diagram of a display content acquiring apparatus according to an embodiment of the present invention is shown. The display content acquiring apparatus may be implemented by software, hardware or a combination of both as all or a part of the terminal device that can provide the display content acquiring method. The device includes:
and the hidden graphic generation module 610 is configured to generate a hidden graphic corresponding to the inactive Tab in the user interface UI, where the hidden graphic is overlaid on the display area of the Tab.
A detecting module 620, configured to detect whether the current coordinate of the moving cursor is located in an area covered by the hidden graphic.
A requesting module 630, configured to send a content obtaining request to the server if the current coordinate of the mobile cursor is located in the area covered by the hidden graph, where the content obtaining request is used to obtain display content corresponding to the Tab tag.
The obtaining module 640 is configured to receive the display content sent by the server.
In summary, the display content acquiring apparatus provided in the embodiment of the present invention generates the hidden graphic corresponding to the inactive Tab tag in the UI of the client, and after the mobile cursor enters the area covered by the hidden graphic, the client sends a content acquiring request to the server to acquire the display content corresponding to the Tab tag.
Referring to fig. 7, a block diagram of another display content acquiring apparatus according to an embodiment of the present invention is shown. The display content acquiring apparatus may be implemented by software, hardware or a combination of both as all or a part of the terminal device that can provide the display content acquiring method. The device includes:
and the hidden graphic generation module 710 is configured to generate a hidden graphic corresponding to the inactive Tab in the user interface UI, where the hidden graphic is overlaid on the display area of the Tab.
A detecting module 720, configured to detect whether the current coordinate of the moving cursor is located in the area covered by the hidden graphic.
A requesting module 730, configured to send a content obtaining request to the server if the current coordinate of the mobile cursor is located in the area covered by the hidden graph, where the content obtaining request is used to obtain display content corresponding to the Tab tag.
The obtaining module 740 is configured to receive the display content sent by the server.
Optionally, the detecting module 720 includes:
a coordinate obtaining unit 721 configured to obtain a current coordinate of the moving cursor and a coordinate set of the area, where the coordinate set includes coordinates of all positions in the area;
a detecting unit 722, configured to detect whether the current coordinate of the moving cursor belongs to the coordinate set.
Optionally, the area is an area covered by overlapping portions of the N hidden graphics, and N Tab labels corresponding to the N hidden graphics are different from each other;
the requesting module 730 is further configured to send the content obtaining request to the server, where the content obtaining request is used to obtain the display content corresponding to the N Tab tags.
Optionally, the apparatus further comprises:
a content detection module 750, configured to detect whether display content corresponding to the Tab tag has been acquired when the Tab tag is activated;
a display module 760, configured to display the display content if the display content is already acquired.
Optionally, the apparatus further comprises:
a rendering module 770 for rendering the display content before the Tab tag is activated.
Optionally, the hidden pattern is a transparent triangle, and a top end portion of the transparent triangle covers the display area of the Tab label.
In summary, the display content acquiring apparatus provided in the embodiment of the present invention generates the hidden graphic corresponding to the inactive Tab tag in the UI of the client, and after the mobile cursor enters the area covered by the hidden graphic, the client sends a content acquiring request to the server to acquire the display content corresponding to the Tab tag.
In addition, the hidden graph is made to be a transparent triangle, so that the accuracy of predicting the user operation is improved under the condition that the display content display is not influenced.
Referring to fig. 8, a block diagram of a terminal device 800 according to an embodiment of the present invention is shown, where the terminal device may include a Radio Frequency (RF) circuit 801, a memory 802 including one or more computer-readable storage media, an input unit 803, a display unit 804, a sensor 805, an audio circuit 806, a Wireless Fidelity (WiFi) module 807, a processor 808 including one or more processing cores, and a power supply 809. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 8 does not constitute a limitation of the terminal device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 801 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receive downlink information from a base station and then send the received downlink information to one or more processors 808 for processing; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 801 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 801 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 802 may be used to store software programs and modules, and the processor 808 may execute various functional applications and data processing by operating the software programs and modules stored in the memory 802. The memory 802 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal device, and the like. Further, the memory 802 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 802 may also include a memory controller to provide the processor 808 and the input unit 803 access to the memory 802.
The input unit 803 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in a particular embodiment, the input unit 803 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 808, and can receive and execute commands sent by the processor 808. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 803 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 804 may be used to display information input by or provided to a user and various graphical user interfaces of the terminal device, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 804 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 808 to determine the type of touch event, and the processor 808 then provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 8 the touch sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel to implement input and output functions.
The terminal device may also include at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that turns off the display panel and/or the backlight when the terminal device is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal device, detailed description is omitted here.
Audio circuitry 806, a speaker, and a microphone may provide an audio interface between the user and the terminal device. The audio circuit 806 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into an audio signal for output; on the other hand, the microphone converts a collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 806, and then outputs the audio data to the processor 808 for processing, and then transmits the audio data to, for example, another terminal device via the RF circuit 801, or outputs the audio data to the memory 802 for further processing. The audio circuit 806 may also include an earbud jack to provide communication of peripheral headphones with the terminal device.
WiFi belongs to short distance wireless transmission technology, and the terminal device can help the user send and receive e-mail, browse web page and access streaming media, etc. through the WiFi module 807, which provides wireless broadband internet access for the user. Although fig. 8 shows the WiFi module 807, it is understood that it does not belong to the essential constitution of the terminal device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 808 is a control center of the terminal device, connects various parts of the entire mobile phone by using various interfaces and lines, and executes various functions of the terminal device and processes data by operating or executing software programs and/or modules stored in the memory 802 and calling data stored in the memory 802, thereby integrally monitoring the mobile phone. Optionally, processor 808 may include one or more processing cores; preferably, the processor 808 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 808.
The terminal device also includes a power supply 809 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 908 via a power management system to manage charging, discharging, and power consumption via the power management system. The power supply 809 may also include one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, or any other component.
Although not shown, the terminal device may further include a camera, a bluetooth module, and the like, which are not described herein. Specifically, in this embodiment, the processor 808 in the terminal device may execute one or more program instructions stored in the memory 802, so as to implement the information display method provided in each of the above-described method embodiments.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Referring to fig. 9, a schematic structural diagram of a server according to an embodiment of the present invention is shown. The server 900 includes a Central Processing Unit (CPU)901, a system memory 904 including a Random Access Memory (RAM)902 and a Read Only Memory (ROM)903, and a system bus 905 connecting the system memory 904 and the central processing unit 901. The server 900 also includes a basic input/output system (I/O system) 906 for facilitating the transfer of information between devices within the computer, and a mass storage device 907 for storing an operating system 913, application programs 914, and other program modules 915.
The basic input/output system 906 includes a display 908 for displaying information and an input device 909 such as a mouse, keyboard, etc. for user input of information. Wherein the display 908 and the input device 907 are connected to the central processing unit 901 through an input-output controller 910 connected to the system bus 905. The basic input/output system 906 may also include an input/output controller 910 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, input-output controller 910 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 907 is connected to the central processing unit 901 through a mass storage controller (not shown) connected to the system bus 905. The mass storage device 909 and its associated computer-readable media provide non-volatile storage for the server 900. That is, the mass storage device 909 may include a computer-readable medium (not shown) such as a hard disk or CD-ROM drive.
Without loss of generality, the computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the foregoing. The system memory 904 and mass storage device 907 described above may be collectively referred to as memory.
The server 900 may also operate as a remote computer connected to a network via a network, such as the internet, in accordance with various embodiments of the invention. That is, the server 900 may be connected to the network 912 through the network interface unit 911 coupled to the system bus 905, or the network interface unit 911 may be used to connect to other types of networks or remote computer systems (not shown).
The memory further includes one or more programs, the one or more programs are stored in the memory, and the one or more programs are used for executing the display content acquisition method provided by the above embodiment.
It should be noted that: in the display content acquiring apparatus provided in the above embodiment, when acquiring the display content, only the division of the above functional modules is taken as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the display content acquiring apparatus and the display content acquiring method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (9)

1. A display content acquisition method, characterized in that the method comprises:
generating a transparent triangle corresponding to an unactivated Tab label in a User Interface (UI), wherein the unactivated Tab label is an un-clicked or selected Tab label, the top end part of the transparent triangle covers the display area of the Tab label, and the other part of the transparent triangle is positioned outside the display area of the Tab label;
if the current coordinate of the mobile cursor is located in an area covered by N transparent triangles, N Tab labels corresponding to the N transparent triangles are different, and the time length of the mobile cursor staying in the area covered by the N transparent triangles exceeds a preset time length, sending a content acquisition request to a server, wherein the content acquisition request is used for acquiring display content corresponding to the N Tab labels, and N is greater than or equal to 2;
and receiving the display content sent by the server.
2. The method according to claim 1, wherein if the area where the current coordinate of the mobile cursor is located is within the area covered by N transparent triangles, and N Tab labels corresponding to the N transparent triangles are different from each other, and the length of time that the mobile cursor stays within the area covered by the transparent triangles exceeds a predetermined length of time, sending a content acquisition request to a server, comprising:
acquiring the current coordinate of the mobile cursor and a coordinate set of the area, wherein the coordinate set comprises coordinates of all positions in the area;
and if the current coordinate of the mobile cursor belongs to the coordinate set and the time length of the mobile cursor staying in the area covered by the transparent triangle exceeds the preset time length, sending a content acquisition request to a server.
3. The method according to any one of claims 1 to 2, further comprising:
when the Tab label is activated, detecting whether display content corresponding to the Tab label is acquired;
and if the display content is acquired, displaying the display content.
4. The method according to any one of claims 1 to 2, wherein after receiving the display content sent by the server, the method further comprises:
rendering the display content before the Tab tag is activated.
5. A display content acquisition apparatus, characterized in that the apparatus comprises:
the hidden graph generation module is used for generating a transparent triangle corresponding to an unactivated Tab label in a User Interface (UI), wherein the unactivated Tab label is an un-clicked or selected Tab label, the top end part of the transparent triangle covers the display area of the Tab label, and the other part of the transparent triangle is positioned outside the display area of the Tab label;
the request module is used for sending a content acquisition request to a server if an area where the current coordinate of the mobile cursor is located is an area covered by N transparent triangles, N Tab labels corresponding to the N transparent triangles are different, and the time length of the mobile cursor staying in the area covered by the N transparent triangles exceeds a preset time length, wherein the content acquisition request is used for acquiring display content corresponding to the N Tab labels, and N is greater than or equal to 2;
and the acquisition module is used for receiving the display content sent by the server.
6. The apparatus of claim 5, wherein the request module comprises:
a coordinate acquiring unit, configured to acquire a current coordinate of the mobile cursor and a coordinate set of the area, where the coordinate set includes coordinates of all positions in the area;
and the detection unit is used for sending a content acquisition request to a server if the current coordinate of the mobile cursor belongs to the coordinate set and the time length of the mobile cursor staying in the area covered by the transparent triangle exceeds the preset time length.
7. The apparatus of any of claims 5 to 6, further comprising:
a content detection module, configured to detect whether display content corresponding to the Tab tag has been acquired when the Tab tag is activated;
and the display module is used for displaying the display content if the display content is acquired.
8. The apparatus of any of claims 5 to 6, further comprising:
a rendering module to render the display content before the Tab tag is activated.
9. A computer-readable storage medium, characterized in that a computer program for implementing the display content acquisition method according to any one of claims 1 to 4 is stored in the computer-readable storage medium.
CN201610614824.7A 2016-07-29 2016-07-29 Display content acquisition method and device Active CN106201220B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610614824.7A CN106201220B (en) 2016-07-29 2016-07-29 Display content acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610614824.7A CN106201220B (en) 2016-07-29 2016-07-29 Display content acquisition method and device

Publications (2)

Publication Number Publication Date
CN106201220A CN106201220A (en) 2016-12-07
CN106201220B true CN106201220B (en) 2021-03-19

Family

ID=57497454

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610614824.7A Active CN106201220B (en) 2016-07-29 2016-07-29 Display content acquisition method and device

Country Status (1)

Country Link
CN (1) CN106201220B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109597541A (en) * 2018-10-30 2019-04-09 北京五岳鑫信息技术股份有限公司 A kind of character method for transformation and system
CN112802329B (en) * 2020-12-14 2022-02-01 国汽(北京)智能网联汽车研究院有限公司 Data display method, device and equipment and computer storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841726A (en) * 2011-06-21 2012-12-26 腾讯科技(深圳)有限公司 System, device and method for achieving a plurality of Tab pages under Android system

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100050075A1 (en) * 2008-08-22 2010-02-25 Lennox Manufacturing, Inc., A Corporation Of Delaware Display apparatus and method for a control unit for an environmental control system
JP4973711B2 (en) * 2009-09-28 2012-07-11 ブラザー工業株式会社 Processing execution device
CN102339282A (en) * 2010-07-16 2012-02-01 阿里巴巴集团控股有限公司 Method and device for controlling web widget display
CN102799339B (en) * 2011-05-24 2015-11-25 汉王科技股份有限公司 Application function button tap implementation method and device
CN104238867B (en) * 2013-06-13 2018-09-18 腾讯科技(深圳)有限公司 The display methods and device of label data
CN105528135A (en) * 2014-10-24 2016-04-27 阿里巴巴集团控股有限公司 Information presenting method and device and electronic apparatus
CN104680050B (en) * 2015-03-18 2018-06-12 深圳市东方拓宇科技有限公司 A kind of control method of touch screen and corresponding mobile terminal
CN105094552B (en) * 2015-07-25 2018-05-08 北京金山安全软件有限公司 Display method and device of browser tab and terminal
CN105224215A (en) * 2015-08-28 2016-01-06 小米科技有限责任公司 Terminal control method and device
CN105320456B (en) * 2015-10-19 2019-03-01 网易(杭州)网络有限公司 A kind of object information prompt exchange method based on touch screen

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841726A (en) * 2011-06-21 2012-12-26 腾讯科技(深圳)有限公司 System, device and method for achieving a plurality of Tab pages under Android system

Also Published As

Publication number Publication date
CN106201220A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
US11449955B2 (en) Information processing method and apparatus
US11798107B2 (en) Scenario-based application recommendation method and apparatus
CN106406712B (en) Information display method and device
US20210204127A1 (en) Image Sharing Method and System, and Electronic Device
CN105975190B (en) Graphical interface processing method, device and system
US10643021B2 (en) Method and device for processing web page content
EP3531290A1 (en) Data backup method, apparatus, electronic device, storage medium, and system
CN110851051A (en) Object sharing method and electronic equipment
CN108039963B (en) Container configuration method and device and storage medium
KR20150047451A (en) Method, apparatus and terminal device for displaying messages
EP3614250A1 (en) Data processing method and electronic device
WO2014206143A1 (en) Method, apparatus and device for displaying number of unread messages
CN110020293B (en) Multimedia data display method, device and storage medium
US20170064352A1 (en) Method and system for collecting statistics on streaming media data, and related apparatus
EP2869604B1 (en) Method, apparatus and device for processing a mobile terminal resource
CN112749074B (en) Test case recommending method and device
CN108769822B (en) Video display method and terminal equipment
CN108780400B (en) Data processing method and electronic equipment
EP3105912B1 (en) Application-based service providing method and system
CN107479799B (en) Method and device for displaying window
CN105631059B (en) Data processing method, data processing device and data processing system
CN109144723B (en) Method and terminal for allocating storage space
WO2015014138A1 (en) Method, device, and equipment for displaying display frame
CN106201220B (en) Display content acquisition method and device
CN108959062B (en) Webpage element acquisition 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