[go: up one dir, main page]

CN111913776B - Content display method, device and equipment - Google Patents

Content display method, device and equipment Download PDF

Info

Publication number
CN111913776B
CN111913776B CN202010793868.7A CN202010793868A CN111913776B CN 111913776 B CN111913776 B CN 111913776B CN 202010793868 A CN202010793868 A CN 202010793868A CN 111913776 B CN111913776 B CN 111913776B
Authority
CN
China
Prior art keywords
display
layout mode
layout
display area
report
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
CN202010793868.7A
Other languages
Chinese (zh)
Other versions
CN111913776A (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.)
Qingdao Hisense Electronic Technology Services Co ltd
Original Assignee
Qingdao Hisense Electronic Technology Services 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 Qingdao Hisense Electronic Technology Services Co ltd filed Critical Qingdao Hisense Electronic Technology Services Co ltd
Priority to CN202010793868.7A priority Critical patent/CN111913776B/en
Publication of CN111913776A publication Critical patent/CN111913776A/en
Application granted granted Critical
Publication of CN111913776B publication Critical patent/CN111913776B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

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

Abstract

The application provides a content display method, device and equipment. The method comprises the following steps: acquiring a playing task corresponding to the terminal equipment, wherein the playing task comprises at least one layout mode and an interface address corresponding to at least one display area in each layout mode; acquiring source data information corresponding to each display area according to the interface address corresponding to each display area; generating respective corresponding display contents according to the source data information corresponding to each display area; and displaying the display content corresponding to each display area in each layout mode on a display screen of the terminal equipment according to each layout mode. If the requirement changes, only a back-end engineer is needed to adjust the back-end interface, so that the requirement of a user can be met quickly, and the flexibility of controlling the display content is improved.

Description

Content display method, device and equipment
Technical Field
The present application relates to the field of information display technologies, and in particular, to a content display method, device and apparatus.
Background
With the development of display technology, large-screen content presentation is more popular for users, for example, in a production workshop, an office and the like, content, such as presentation of production data, is usually presented through a screen, and the content is usually presented through a report.
In the related art, a special billboard display tool is generally used for displaying contents such as reports, but the billboard display tool is usually provided by a third party, and if the needs are changed, a front-end engineer and a rear-end engineer are required to develop and jointly adjust, so that the operation is complex, and the user needs cannot be quickly met.
Disclosure of Invention
The application provides a content display method, a content display device and content display equipment, so that the user requirements can be met quickly when the change is needed.
In a first aspect, the present application provides a content display method, including:
acquiring a playing task corresponding to terminal equipment, wherein the playing task comprises at least one layout mode and an interface address corresponding to at least one display area in each layout mode;
acquiring source data information corresponding to each display area according to the interface address corresponding to each display area;
generating respective corresponding display contents according to the source data information corresponding to each display area;
and displaying the display content corresponding to each display area in each layout mode on a display screen of the terminal equipment according to each layout mode.
In a second aspect, the present application provides a content presentation apparatus, comprising:
the terminal equipment comprises an acquisition module, a display module and a processing module, wherein the acquisition module is used for acquiring a playing task corresponding to the terminal equipment, and the playing task comprises at least one layout mode and an identifier of display content corresponding to at least one display area in each layout mode;
the acquisition module is further configured to acquire source data information corresponding to each display area according to an interface address corresponding to each display area;
the processing module is used for generating respective corresponding display contents according to the source data information corresponding to each display area;
and the display module is used for displaying the display contents corresponding to the display areas in the layout modes on a display screen of the terminal equipment according to the layout modes.
In a third aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method of any one of the first aspect.
In a fourth aspect, an embodiment of the present application provides an electronic device, including:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of any of the first aspects via execution of the executable instructions.
According to the content display method, the content display device and the content display equipment, the playing task corresponding to the terminal equipment is obtained, the playing task comprises at least one layout mode, and each layout mode comprises at least one display area; each display area has a corresponding interface address, source data information is obtained according to the interface address, display content of each display area is generated according to the source data information, the display content corresponding to each display area in each layout mode is displayed on a display screen of the terminal equipment according to each layout mode, if the requirement changes, only a rear-end engineer needs to adjust a rear-end interface, the requirement of a user can be met quickly, and the flexibility of control over the display content is improved.
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 schematic diagram of a system architecture according to an embodiment of the present application;
FIG. 2 is a schematic flow chart diagram illustrating an embodiment of a content presentation method provided by the present application;
FIG. 3 is a schematic illustration of an arrangement provided by the present application;
FIG. 4 is a schematic diagram of a network topology provided herein;
fig. 5 is a schematic display interface diagram of a terminal device according to an embodiment provided in the present application;
fig. 6 is a schematic display interface diagram of a terminal device according to another embodiment provided in the present application;
FIG. 7 is a schematic illustration of an alternative layout provided herein;
FIG. 8 is a schematic illustration of a further arrangement provided by the present application;
FIG. 9 is a schematic diagram illustrating creation of a play task according to an embodiment of the present application;
FIG. 10 is a schematic diagram of template creation according to an embodiment provided herein;
FIG. 11 is a flow chart of task pushing according to an embodiment of the present application;
fig. 12 is a flowchart of a receiving task of an embodiment of a terminal device side provided in the present application;
FIG. 13 is a schematic illustration of a display flow according to an embodiment provided herein;
FIG. 14 is a schematic diagram of an embodiment of a content presentation device provided herein;
fig. 15 is a schematic structural diagram of an embodiment of a terminal device provided in the present application.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
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.
The terms "comprising" and "having," and any variations thereof, in the description and claims of this application and the drawings described herein are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The term "module," as used herein, refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and/or software code that is capable of performing the functionality associated with that element.
First, a part of vocabulary and application scenarios related to the embodiments of the present application will be described.
Layout mode: the display form of the content on the display screen of the terminal equipment can be various, and each layout form can display one or more types of resources, such as images, videos, webpages, reports and the like; the layout mode can be set to that the left 1/2 area of the display screen displays images and the right 1/2 area displays real-time data of the production line, and the real-time data can be displayed through reports.
And (3) playing the task: the combined content of the layout mode played by one or a group of terminal equipment at the appointed time is called a playing task; different play tasks can have a combination of layout modes.
Grouping the devices: the combination of a plurality of terminal devices can also be a single terminal device, and the device grouping is mainly used in the following scenarios: the contents possibly played by a group of terminal devices in a certain time are the same, and the users do not need to push the contents one by one according to the terminal devices, and only need to push the contents once.
Fig. 1 is a schematic diagram of a system architecture according to an embodiment of the present application. As shown in fig. 1, the system architecture of the embodiment of the present application may include, but is not limited to: a terminal device 11 and a server 12. The terminal devices include, for example, computers, televisions, projectors, and the like. Wherein, the terminal device 11 and the server 12 can be connected through a network.
In some embodiments, the system architecture may further include an electronic device, for example, a user device such as a mobile phone, a tablet computer, a computer, and the like, through which a user may create a playback task, issue the playback task to the server, and push the playback task to the terminal device; or, the user can directly create a playing task through the server and push the playing task to the terminal equipment.
In the related art, a special billboard display tool is generally adopted to display contents such as reports, but the billboard display tool is usually provided by a third party, and if the demand changes, a front-end engineer and a rear-end engineer are required to develop and jointly debug, so that the operation is complex, and the user demand cannot be quickly met.
According to the method, the one or more layout modes are included in the playing task, the layout modes include one or more display areas, each display area is provided with a corresponding interface address, the source data information is acquired from the interface address, the display content is generated, the display content is displayed according to each layout mode in the playing task, only a rear-end engineer is needed to adjust a rear-end interface if the requirement changes, the requirement of a user can be met quickly, the flexibility of the display content is high, and the user can customize the display modes.
The method of the embodiment of the application can be applied to the following typical scenes, for example:
when a scene office needs to customize some reports, a back-end developer develops a corresponding interface according to interface specifications, the interface can acquire source data information for generating display content, an interface address is configured into a playing task, the corresponding playing task is pushed, and front-end engineers do not need to develop front-end pages;
another scenario is as follows: when the user needs to adjust the existing report display form, the method can be completed only by configuring a corresponding playing task without code development by a back-end or front-end engineer;
another scenario is as follows: the terminal equipment in the office area displays contents, and needs to customize and push corresponding display contents, such as contents of reports, regularly or irregularly according to different office environments and different departments.
The method provided by the embodiment of the application can be realized by a terminal device such as a processor executing corresponding software codes, and can also be realized by a terminal device executing corresponding software codes and performing data interaction with a server. Wherein the processor may be integrated in the terminal device; or separated from the terminal device and integrated in a controller, which is not limited in the embodiments of the present invention.
In some embodiments, the terminal device is, for example, a display device including a display screen. The display device can be a liquid crystal display device, an OLED display device and a projection display device. The particular display device type, size, resolution, etc. are not limiting, and those skilled in the art will appreciate that the display device may be modified in performance and configuration as desired.
In some embodiments, the display device supports an android system, and the method in the embodiments of the present application is implemented by an application APP installed in the display device.
The technical solution of the present application will be described in detail with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 2 is a schematic flowchart of an embodiment of a content display method provided in the present application. As shown in fig. 2, the method provided by this embodiment includes:
step 101, a play task corresponding to a terminal device is obtained, wherein the play task includes at least one layout mode and an interface address corresponding to at least one display area in each layout mode.
Specifically, a play task corresponding to a terminal device of the content to be displayed is obtained, where the play task includes at least one layout mode. One play task may be for one terminal device or a plurality of terminal devices.
Layout ways include, for example but are not limited to: ticker layout, full screen + floating window layout, floating layout two-split screen layout (e.g., left-right partition, up-down partition), four-split screen layout, and the like.
For example, a ticker layout scrolls the presentation content above, below, to the left, to the right, etc. of the screen.
For example, in the two-split screen layout shown in fig. 3, the upper and lower display areas may each correspond to the same or different display contents, such as the same or different reports.
The presentation content includes, for example, but is not limited to, at least one of: images, videos, text, reports, web pages (e.g., HTML5 web pages).
Each layout mode corresponds to at least one display area, and different display areas can display the same or different display contents.
The playing task carries interface addresses corresponding to the display areas in the layout modes, source data information of the display areas can be obtained from the interfaces corresponding to the interface addresses, the number of the interface addresses can be one or more, if the number of the interface addresses is multiple, the source data information of the interface addresses can be obtained in sequence, for example, display contents are generated according to the source data information, and the multiple display contents in the display areas can be switched in sequence, for example, the switching is performed in sequence according to fixed duration or non-fixed duration.
The playing task can be pushed by the server, the server and the terminal device can contract the styles of different layout modes, namely the final display mode, in advance, after the terminal device obtains the playing task, the terminal device extracts the information of the layout modes according to the playing task, and the display content corresponding to each display area in each layout mode is displayed according to the layout modes.
And 102, acquiring source data information corresponding to each display area according to the interface address corresponding to each display area.
Specifically, according to an interface address corresponding to the display area, source data information of the display area is obtained, for example, source data information of a generated report is obtained, that is, the source data information is obtained from an interface corresponding to the interface address; for example, the source data information is downloaded to the local terminal device, so as to improve the playing efficiency.
For example, the interface addresses are as follows:
http://172.11.11.11:1234/api/Values/QueryErrorCauseByDaydeviceId=1&workShop=72&proType=&line=
the source data information returned from the interface address is the bad reason of the T0P5 on the day as follows:
<ProductYieldWarningOfErrorCauseTopErrorCauseTopAQxV4eoU xmlns:i="http://www.w3.org/2001/XMLSchema-instance"xmlns="http://schemas.datacontract.org/2004/07/MESWebApi.Models.TelevisionBoard">
<ColumnHead>
< ACause > Backplane failure >
< BCause > case failure >
< CCause > appearance failure </CCause >
< DCause > inserter failure >
< ECause > Panel scratch >
</ColumnHead>
<Data>
<ErrorCauseTop>
<ACause>28</ACause>
<BCause>25</BCause>
<CCause>5</CCause>
<DCause>5</DCause>
<ECause>4</ECause>
</ErrorCauseTop>
</Data>
<DataDesc xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
< d2p1: string > causes of failure </d2p1: string >
</DataDesc>
<ReportType>BarGraphView</ReportType>
</ProductYieldWarningOfErrorCauseTopErrorCauseTopAQxV4eoU>
The poor back plate, the poor shell, the poor appearance, the poor plug-in and the panel scratch are report head attributes, 28, 25, 5 and 4 are values corresponding to the causes of the poor back plate, the poor shell, the poor appearance, the poor plug-in and the panel scratch, the BarGraphView is a report type and is a histogram.
And 103, generating corresponding display contents according to the source data information corresponding to each display area.
Specifically, the source data information includes information such as data and attributes for generating the display content, for example, if the display content is a report, the source data information includes report data, a report type, a report header attribute, color information, and the like, and the display content is generated according to the information such as the data and the attributes included in the source data information.
If the display area is a report, judging the type of the report (such as a pie chart, a table, a bar chart, a line chart and the like) to be displayed in each display area according to the source data information, and converting the data into the report.
And 104, displaying the display contents corresponding to the display areas in the layout modes on a display screen of the terminal equipment according to the layout modes.
Specifically, according to each layout mode, rendering and displaying the display content corresponding to each layout mode on the display screen of the terminal device, for example, rendering and displaying the display content corresponding to each display area in each layout mode on the display screen. The different layouts may be displayed in an overlapping manner and/or in a sequential manner. If the display is carried out in sequence, the switching of different layout modes can be dynamically realized.
The method of the embodiment includes acquiring a play task corresponding to a terminal device, where the play task includes at least one layout mode, and each layout mode includes at least one display area; each display area has a corresponding interface address, source data information is obtained according to the interface address, display content of each display area is generated according to the source data information, the display content corresponding to each display area in each layout mode is displayed on a display screen of the terminal equipment according to each layout mode, if the requirement changes, only a rear-end engineer needs to adjust a rear-end interface, the requirement of a user can be met quickly, and the flexibility of control over the display content is improved.
On the basis of the above embodiment, step 101 may be implemented as follows:
determining a subscribed topic identification, wherein the topic identification comprises at least one of the following information: the identifier of the terminal equipment and the identifier of the equipment group where the terminal equipment is located;
and receiving a theme message corresponding to the theme identification from a server, wherein the theme message comprises the playing task.
Specifically, the manner of pushing the playing task may adopt, for example, a publish/subscribe mode, and the terminal device serves as a subscriber, subscribes to a corresponding topic, and receives a message corresponding to the topic.
The server side serves as a publishing end and publishes the topic message subscribed by the terminal device, for example, the playing task is converted into a JSON message to be pushed.
The topic identification includes, for example: device grouping information and an identifier of the terminal device; the device group information is, for example, an identification of a device group such as a name, a number, or the like, and an identification of a terminal device such as a name, a number, an address, or the like of a terminal device.
In some scenarios, contents possibly displayed by some terminal devices in a period of time are the same, so that a plurality of terminal devices can be grouped into one group, and the terminal devices do not need to be pushed one by one, and only need to be pushed once. As shown in fig. 4, the MQTT server pushes the playing task, and the terminal device 1, the terminal device 2, and the terminal device 3 may be in one group or multiple groups.
The publish/subscribe mode is, for example, a publish/subscribe mode using a protocol conforming to Message Queue Telemetry Transport (MQTT).
In an embodiment, after receiving the play task, the terminal device may add the play task to a task queue for a timer to call. And polling whether the current time has a playing task or not through a timer.
In an embodiment, a default displayed page after the terminal device is started is a Logo page, a status bar is displayed at the bottom, the status bar can display the name of the current device and the current time, and the status bar supports hiding.
In fig. 5, for an unregistered device, after accessing the network, the server may manage information of the device, for example, name the device and assign the device to a certain device group. In fig. 6, the registered device is shown.
In the above embodiment, for the situation that a plurality of devices display the same content, the pushing is not required one by one according to the terminal device, and only one playing task needs to be pushed, so that the efficiency is high.
In one embodiment, step 102 may be implemented as follows:
sending a request message to an interface server, wherein the request message comprises the interface address;
and receiving the source data information corresponding to the interface address sent by the interface server.
Specifically, as shown in fig. 4, the terminal device sends a request message to the interface server, where the request message includes an interface address, and source data information obtained by different interface addresses is different.
For example, the interface addresses are as follows:
http://172.11.11.11:1234/api/Values/QueryErrorCauseByDaydeviceId=1&workShop=72&proType=&line=
after the interface is requested, the interface return value is:
<ProductYieldWarningOfErrorCauseTopErrorCauseTopAQxV4eoU xmlns:i="http://www.w3.org/2001/XMLSchema-instance"xmlns="http://schemas.datacontract.org/2004/07/MESWebApi.Models.TelevisionBoard">
<ColumnHead>
< ACause > backsheet failure >
< BCause > Shell Defect >
< CCause > appearance failure </CCause >
< DCause > insert failure >
< ECause > Panel scratch >
</ColumnHead>
<Data>
<ErrorCauseTop>
<ACause>28</ACause>
<BCause>25</BCause>
<CCause>5</CCause>
<DCause>5</DCause>
<ECause>4</ECause>
</ErrorCauseTop>
</Data>
<DataDesc xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
< d2p1: string > causes of failure </d2p1: string >
</DataDesc>
<ReportType>BarGraphView</ReportType>
</ProductYieldWarningOfErrorCauseTopErrorCauseTopAQxV4eoU>
In one embodiment, the display area is any one of the at least one display area; obtaining source data information corresponding to the display area according to the interface address corresponding to the display area, including:
determining the type of display content to be displayed in a display area;
and when the type of the display content to be displayed in the display area is determined to be a report, acquiring source data information corresponding to the display area according to the interface address corresponding to the display area.
Specifically, the type of the display content to be displayed in the display area is determined according to the information included in the play task, for example, the display content is a report, or an image, a video, or the like. For example, according to the interface address, the display content to be displayed is determined to be a report.
And if the report is the report, acquiring source data information according to the interface address corresponding to the display area.
In an embodiment, the playing task may further include an identifier of the display content corresponding to each of the at least one display area in each layout manner;
the identification of the presentation content may for example comprise at least one of: name, storage address, storage format, type, size and resolution of the display content.
The method further comprises the following steps:
and acquiring the display content corresponding to each display area according to the identifier of the display content corresponding to each display area.
As shown in fig. 7, in the four-split screen layout manner, the display contents of the upper two display areas are images, the display contents of the lower two display areas are reports, the reports may be generated according to the source data information acquired at the interface address, and the images may be directly acquired according to the identifier of the display contents.
In an embodiment, generating the display content corresponding to the display area according to the source data information corresponding to the display area may specifically be implemented in the following manner:
determining a report type corresponding to the source data information;
acquiring report attribute information and report data from the source data information, wherein the report attribute information comprises at least one of the following items: report the attribute of the column head, color information;
and generating display content corresponding to the display area according to the report type, the report attribute information and the report data.
Specifically, the source data information includes: report data, report attribute information, and report type.
The report type includes at least one of: table TableView, bar grapeview, pie chart piechalhatview, line chart brokenechview.
The report attribute information includes at least one of: report the attribute of the list head, color information;
the color information may be default color information, such as color matching of the report, for example, color of each column header attribute in the histogram, background color of the report, and the like.
Report data is, for example, the value of the attribute of each report header.
And generating display contents corresponding to the display area according to the report type, the report attribute information and the report data.
In an embodiment, generating the display content corresponding to the display area may be specifically implemented by:
loading a report form style according to the report form type;
and adding the report data in the report style according to the report attribute information to obtain display contents corresponding to the display area.
Specifically, report forms, such as histograms, tables, and the like, are loaded, and report data is added to the report forms according to the report header attribute and the color information to generate display contents.
For example, as shown in fig. 8, in a four-split screen layout manner, the graphical report displayed in each display area is automatically converted from the source data information acquired by the interface, and the first area displays a histogram: and the overall poor reason is shown, the poor tendency of OQC spot inspection is shown in the second area, the poor products with the first pass rate Top10 are shown in the third area, the poor reason TOP5 is shown in the fourth area, and color matching shown in all graphical reports is randomly generated.
As shown in fig. 3, in the two-split screen layout, the first area displays the total production line yield, and the second area displays the yields of all workshops;
as shown in fig. 7, a four-split screen layout manner, but the first area and the second area are images (there are multiple images and the images can be freely switched), and the layout manner mainly shows the compatibility effect of the graphical report with other types of display contents.
The three layout modes can be switched, the switching time duration is 20s for example, and the switching time duration can be adjusted.
In one embodiment, step 103 may be implemented as follows:
determining a display time period corresponding to each layout mode;
and respectively displaying the display contents corresponding to each display area in each layout mode on the display screen in the display time period corresponding to each layout mode.
Specifically, one play task may have a plurality of layout modes, and different layout modes may be displayed in an overlapping manner or sequentially displayed in sequence. For example, the ticker layout can be superimposed over other layouts, or a floating layout can be superimposed over a full-screen layout, a two-screen layout, etc., or multiple layouts displayed sequentially.
Before displaying the display content corresponding to each layout mode, first, a display time period corresponding to each layout mode needs to be determined, for example, the display time period corresponding to each layout mode is determined according to the playing time information of each layout mode, for example, the starting playing time of the layout mode 1 is 1 point, the ending playing time is 1 point and half, the display time period corresponding to the layout mode 1 is 1 point and half, the starting playing time of the layout mode 2 is 1 point and half, the ending playing time is 2 points, and the display time period corresponding to the layout mode 2 is 1 point and half to 2 points.
For example, the display time period corresponding to each layout mode may be determined according to the sequence of each layout mode, the display duration of each layout mode, and the like.
As shown in fig. 9, the display duration of the ticker layout in the playback task is 15 seconds, the display duration of the web page in the full-screen layout is 30 seconds, and the display duration of each area in the chinese-character layout (one of the four-split-screen layouts) is 15 seconds. The order is marquee layout, full-screen layout and field word layout in proper order.
In an embodiment, determining the display time period corresponding to each of the layout modes may be implemented in the following ways:
one implementation is as follows:
the playing task comprises playing time information corresponding to each layout mode; the playing time information includes at least two of: the initial playing time, the ending playing time and the display duration of the layout mode;
and determining the display time interval corresponding to each layout mode according to the playing time information corresponding to each layout mode.
Specifically, for each layout mode, the display time period corresponding to the layout mode may be determined according to the starting playing time and the ending playing time of the layout mode, or the display time period corresponding to the layout mode may be determined according to the starting playing time and the display time length of the layout mode, or the display time period corresponding to the layout mode may be determined according to the ending playing time and the display time length of the layout mode.
The other realization mode is as follows:
the play task includes the display duration of each layout mode and the sequence of each layout mode.
Determining the initial playing time of the playing task;
and determining the display time interval corresponding to each layout mode according to the display duration of each layout mode, the sequence of each layout mode and the initial playing time of the playing task.
In some embodiments, the playback task may include: the initial playing time of the playing task is not included.
If the initial playing time of the playing task is not included, the initial playing time of the playing task is the time when the playing task is received, or other default times, such as the starting time of the terminal equipment, namely the playing task is automatically executed after the terminal equipment is started; the screen saver moment, namely the moment when the task is not played; other predetermined time, for example, the terminal device executes the broadcast task at a certain fixed time, regardless of whether other broadcast tasks are currently executed.
The starting playing time specified in the playing task may also be the time when the playing task is received, or other times.
According to the initial playing time of the playing task and the display duration and sequence of each layout mode, the display time interval corresponding to each layout mode can be determined.
For example, the starting playing time of the playing task is 2 points, the display duration of the layout mode 1 is 1 hour, the display duration of the layout mode 2 is 0.5 hour, the display duration of the layout mode 3 is 1.5 hours, and the layout mode 1, the layout mode 2 and the layout mode 3 are arranged in sequence, so that the display period corresponding to the layout mode 1 is 2 points-3 points, the display period corresponding to the layout mode 2 is 3 points-3 points and half, and the display period corresponding to the layout mode 3 is 3 points and half-5 points.
In other embodiments, the order may also be parallel, for example, the layout mode 1 and the layout mode 2 are played sequentially, and the layout mode 1, the layout mode 2 and the layout mode 3 are played simultaneously, that is, the layout mode 3 is superimposed on the layout mode 1 and the layout mode 2, then the presentation time period corresponding to the layout mode 1 is 2 points-3 points, the presentation time period corresponding to the layout mode 2 is 3 points-3 points half, and the presentation time period corresponding to the layout mode 3 is 2 points-3 points half.
In an embodiment, after the display of a certain layout mode is started, a timer corresponding to the layout mode is automatically started, when the time of the timer reaches the duration of the display time period corresponding to the layout mode, the display of the next layout mode is automatically switched to, and each layout mode is circularly displayed until the playing task is finished.
After the playing task is finished, the display screen can be switched to a preset page, and the task is marked to be finished, for example, a logo page is displayed.
In the above embodiment, by displaying one or more layout manners according to the corresponding display time periods, the display of multiple types of contents can be realized, and the multiple types of contents can be displayed synchronously, so that the display contents are diversified in form.
In some embodiments, the layout mode is targeted for any one of the at least one layout modes; displaying the display content corresponding to each display area in the target layout mode on the display screen can be specifically realized by the following modes:
respectively determining display areas of display contents corresponding to the display areas on a display screen of the terminal equipment according to at least one display area included in the target layout mode;
and rendering and displaying the display contents corresponding to the display areas on the display screen according to the display areas of the display contents corresponding to the display areas on the display screen.
Specifically, the layout may include one or more display areas, each display area may be located differently, and some display areas may overlap.
And aiming at any display area of each layout mode, determining a display area of the display area in the layout mode in a display screen of the terminal equipment, and rendering and displaying the display content corresponding to the display area in the display area corresponding to the display area.
In some embodiments, the playback task may further include at least one of the following information: the playing mode of the playing task, whether to broadcast by voice, whether to remind by ring, the source system and the like.
The playing format is, for example, automatic playing. The scheme of the embodiment of the application provides a multi-tenant mode, and if the content needs to be displayed through the system, other systems are accessed in a tenant mode, and the source system is current tenant information or a playing task created by which system.
On the basis of any of the above embodiments, the following steps may be performed before step 101:
creating a play task;
sending the playing task to the terminal equipment; the playing task comprises at least one layout mode, and the interface address corresponding to at least one display area in each layout mode.
Further, the playing task may further include: and the at least one display area respectively corresponds to the display content identification.
In an embodiment, the same display area may correspond to the interface address and also to the identifier of the display content, that is, multiple display contents may be switched in the same display area.
In other embodiments, at least one display area may correspond to the interface address, and at least one other display area corresponds to the identifier of the display content, for example, as shown in fig. 7, the display contents in different display areas are different.
Specifically, when a play task is created, a corresponding device group is selected, that is, it is determined which terminal devices are to be displayed, a corresponding layout mode is selected, and according to the need of the play task, information of display contents corresponding to each layout mode, such as content information of a report, a picture, a video, a text, and the like, is added.
Further, the playing time information of the layout mode, such as the initial playing time, the ending playing time, the display time, etc. of the layout mode, or the sequence, the display time, the initial playing time of the playing task, etc. of each layout mode may be set, that is, the switching time of the layout mode, that is, the display time interval corresponding to the layout mode, may be determined according to the playing time information.
If a plurality of reports, pictures, videos or texts exist in one layout mode, the switching time corresponding to each display area can be set.
After the playing task is created, the system can automatically realize the pushing of the playing task.
The creating of the play task may be performed by the terminal device or the server, which is not limited in this embodiment of the present application.
In an embodiment, when creating a play task, a template style to be displayed may be created first, and one template may include a plurality of layout modes, as shown in fig. 10, where the template includes a ticker layout, a full screen + floating window layout (a floating report is provided on a full screen report), a full screen layout (a display image), and a field layout (i.e., a four-split screen layout, two display areas are used for displaying a report, one display area displays a video, and one display area displays an h5 webpage).
As shown in fig. 11, when there is a graphical report to be displayed, a corresponding template is configured, and a device group is selected; selecting a template, for example, selecting a template one by a template name, wherein the template comprises a layout mode 1 top ticker layout and a layout mode 2 full-screen image layout; layout mode 3 floating video layout; layout mode 4h5 full screen layout; setting interface addresses corresponding to all layout modes in the template; setting playing time information corresponding to each layout mode, for example, setting the starting and ending playing time of each layout mode, or setting the display duration of each layout mode, etc.;
and generating a play task.
And issuing a theme message through the MQTT server, wherein the theme message comprises the playing task.
In an embodiment, after the playback task is created, the information of the playback task may be modified, for example, the start playback time of the playback task, the information of the display content, and the like are modified. After the user creates the playing task, the system automatically determines the message theme, namely the theme identifier, according to the device grouping or the identifier of the terminal device to be played, then pushes the message to the MQTT server, and when the terminal device monitors the message corresponding to the theme identifier, the message can reach the terminal device.
For the terminal device, as shown in fig. 12, the APP starts and registers device information, monitors a theme message corresponding to a device group and a device number, and acquires a new play task;
and adding the task queue.
As shown in fig. 13, after joining the task queue, a timer is started;
comparing the time of starting the task with the current time to determine whether a task needs to be executed;
if yes, starting to execute the playing task, analyzing task information, loading the layout corresponding to the playing task, and determining the type of the display content of each display area;
if the report form is found, acquiring source data information from the interface; determining the report type according to the source data information, and acquiring the list head attribute and the report color information; loading report forms, and adding report data in the report forms;
determining whether other areas need to be loaded, if not, determining whether other layouts exist, and if not, ending;
and if the report is not the report, acquiring other types of display contents.
Illustratively, the playing task comprises a ticker layout, a full screen + floating layout, a web page layout, a full screen layout, and a four-screen report layout, wherein the display content and the switching time of each layout mode can be flexibly adjusted, and the following is an explanation of the layout modes:
layout of the marquee: the display is at the top of the terminal equipment, can display a part of notification information or change information, can be modified and adjusted when a playing task is created, and has a content supporting voice reading function;
full screen + floating window layout: displaying a Standard Operation Procedure (SOP) file of normal production line Operation on a full-screen image, displaying logo image information on a floating window, supporting adjustment and modification of contents, and setting display duration of corresponding contents on both the full-screen image and the floating window; the floating window may also display video or otherwise. The position of the floating window may also vary.
Full screen layout of the webpage: for example, the data of the equipment monitoring interface in use in a display workshop is real-time data, the webpage layout supports any webpage display, and the realization technology of the webpage is not required;
full screen layout: for example, a high-definition image is displayed, and multiple images can be displayed in a switching manner;
four-split screen report layout: the display screen is divided into 4 display areas, and each display area displays a report, such as a graphical report generated according to source data information acquired from an interface.
In the above embodiment, the created play task includes at least one layout mode, and each layout mode includes at least one display area; according to each layout mode, the display content corresponding to each display area in each layout mode is displayed on the display screen of the terminal equipment, the mode of the display content is diversified, the display mode corresponding to the playing task can be customized, and the flexibility of controlling the display content is improved.
Fig. 14 is a schematic structural diagram of an embodiment of a content display apparatus provided in the present application, and as shown in fig. 14, the content display apparatus of the present embodiment includes:
an obtaining module 120, configured to obtain a play task corresponding to a terminal device, where the play task includes at least one layout mode and an identifier of display content corresponding to at least one display area in each layout mode;
the obtaining module 120 is further configured to obtain, according to the interface address corresponding to each display area, source data information corresponding to each display area;
the processing module is used for generating respective corresponding display contents according to the source data information corresponding to each display area;
and a display module 121, configured to display, on a display screen of the terminal device, display content corresponding to each display area in each layout mode according to each layout mode.
The apparatus of this embodiment may be configured to implement the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 15 is a schematic structural diagram of an embodiment of a terminal device provided in the present application, and as shown in fig. 15, the electronic device includes:
a processor 1301, and a memory 1302 for storing executable instructions for the processor 1301.
Optionally, the method may further include: and the display screen 1303 is used for displaying the content to be displayed.
The above components may communicate over one or more buses.
The processor 1301 is configured to execute the corresponding method in the foregoing method embodiment by executing the executable instruction, and the specific implementation process thereof may refer to the foregoing method embodiment, which is not described herein again.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method in the foregoing method embodiment is implemented.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the invention 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 (8)

1. A method for content presentation, comprising:
acquiring a playing task corresponding to terminal equipment, wherein the playing task comprises a plurality of layout modes and an interface address corresponding to at least one display area in each layout mode;
acquiring source data information corresponding to each display area according to the interface address corresponding to each display area;
generating respective corresponding display contents according to the source data information corresponding to each display area;
displaying the display content corresponding to each display area in each layout mode on a display screen of the terminal equipment according to each layout mode;
displaying the display content corresponding to each display area in each layout mode on the display screen of the terminal device according to each layout mode, including:
determining a display time interval corresponding to each layout mode according to the playing time information corresponding to each layout mode;
displaying the display content corresponding to each display area in each layout mode on the display screen in the display time period corresponding to each layout mode;
the playing task comprises playing time information corresponding to each layout mode, and the playing time information comprises at least two of the following items: the initial playing time, the ending playing time and the display duration of the layout mode; and displaying the different layout modes in an overlapping manner.
2. The method of claim 1, wherein for any one of the at least one presentation area; acquiring source data information corresponding to the display area according to the interface address corresponding to the display area, wherein the acquiring comprises the following steps:
determining the type of the display content to be displayed in the display area;
and when the type of the display content to be displayed in the display area is determined to be a report, acquiring source data information corresponding to the display area according to the interface address corresponding to the display area.
3. The method according to claim 2, wherein generating the presentation content corresponding to the presentation area according to the source data information corresponding to the presentation area comprises:
determining a report type corresponding to the source data information;
acquiring report attribute information and report data from the source data information, wherein the report attribute information comprises at least one of the following items: report the attribute of the column head, color information;
and generating display content corresponding to the display area according to the report type, the report attribute information and the report data.
4. The method according to claim 3, wherein generating the display content corresponding to the display area according to the report type and the report attribute information comprises:
loading a report form style according to the report form type;
and adding the report data in the report style according to the report attribute information to obtain display contents corresponding to the display area.
5. The method according to any one of claims 1 to 4, wherein obtaining the source data information corresponding to each of the presentation areas according to the interface address corresponding to each of the presentation areas comprises:
sending a request message to an interface server, wherein the request message comprises the interface address;
and receiving the source data information corresponding to the interface address sent by the interface server.
6. The method according to claim 1, wherein the playback task includes a display duration of each layout manner and an order of each layout manner; the determining the display time period corresponding to each layout mode comprises:
determining the initial playing time of the playing task;
and determining a display time interval corresponding to each layout mode according to the display duration of each layout mode, the playing sequence of each layout mode and the initial playing time of the playing task.
7. A content presentation device, comprising:
the terminal equipment comprises an acquisition module, a display module and a processing module, wherein the acquisition module is used for acquiring a playing task corresponding to the terminal equipment, and the playing task comprises a plurality of layout modes and an identifier of display content corresponding to at least one display area in each layout mode;
the obtaining module is further configured to obtain, according to the interface address corresponding to each display area, source data information corresponding to each display area;
the processing module is used for generating corresponding display contents according to the source data information corresponding to each display area;
the display module is used for displaying the display content corresponding to each display area in each layout mode on a display screen of the terminal equipment according to each layout mode;
the display module is specifically configured to determine a display time period corresponding to each layout mode according to the playing time information corresponding to each layout mode;
displaying the display content corresponding to each display area in each layout mode on the display screen in the display time period corresponding to each layout mode;
the playing task includes playing time information corresponding to each layout mode, and the playing time information includes at least two of the following items: the initial playing time, the ending playing time and the display duration of the layout mode; and different layout modes are displayed in an overlapping mode.
8. A terminal device, comprising:
a processor; and
a memory for storing executable instructions of the processor; and
the display screen is used for displaying display contents corresponding to at least one layout mode;
wherein the processor is configured to perform the method of any of claims 1-5 via execution of the executable instructions.
CN202010793868.7A 2020-08-10 2020-08-10 Content display method, device and equipment Active CN111913776B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010793868.7A CN111913776B (en) 2020-08-10 2020-08-10 Content display method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010793868.7A CN111913776B (en) 2020-08-10 2020-08-10 Content display method, device and equipment

Publications (2)

Publication Number Publication Date
CN111913776A CN111913776A (en) 2020-11-10
CN111913776B true CN111913776B (en) 2022-11-01

Family

ID=73283385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010793868.7A Active CN111913776B (en) 2020-08-10 2020-08-10 Content display method, device and equipment

Country Status (1)

Country Link
CN (1) CN111913776B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112947879A (en) * 2021-03-10 2021-06-11 深圳市优擎信息科技有限公司 Billboard source data acquisition method and device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106571A (en) * 2007-08-30 2008-01-16 腾讯科技(深圳)有限公司 A dynamic skin change method and device
CN104572813A (en) * 2014-11-26 2015-04-29 国家电网公司 Report generation method and device
CN105898513A (en) * 2015-12-14 2016-08-24 乐视网信息技术(北京)股份有限公司 Multimedia resource play method and device and terminal equipment based on Android platform
CN106658114A (en) * 2016-11-30 2017-05-10 乐视控股(北京)有限公司 Video playing method and device
CN107122151A (en) * 2017-04-22 2017-09-01 高新兴科技集团股份有限公司 A kind of Dynamic Distribution method and system of Urban Operation center large-size screen monitors
CN110851173A (en) * 2019-11-18 2020-02-28 中国银行股份有限公司 Report generation method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106571A (en) * 2007-08-30 2008-01-16 腾讯科技(深圳)有限公司 A dynamic skin change method and device
CN104572813A (en) * 2014-11-26 2015-04-29 国家电网公司 Report generation method and device
CN105898513A (en) * 2015-12-14 2016-08-24 乐视网信息技术(北京)股份有限公司 Multimedia resource play method and device and terminal equipment based on Android platform
CN106658114A (en) * 2016-11-30 2017-05-10 乐视控股(北京)有限公司 Video playing method and device
CN107122151A (en) * 2017-04-22 2017-09-01 高新兴科技集团股份有限公司 A kind of Dynamic Distribution method and system of Urban Operation center large-size screen monitors
CN110851173A (en) * 2019-11-18 2020-02-28 中国银行股份有限公司 Report generation method and device

Also Published As

Publication number Publication date
CN111913776A (en) 2020-11-10

Similar Documents

Publication Publication Date Title
US7603627B2 (en) Systems and methods for creating and managing graphical user interface lists
US9658864B2 (en) Method and device for creation of integrated user interface
CN106791936B (en) Virtual gift display method and device
US11350151B2 (en) Methods, systems and devices that enable a user of a mobile phone to select what content is displayed on a screen of a consumer electronic device on display
US9620173B1 (en) Automated intelligent visualization of data through text and graphics
CN111897616B (en) Content display method, device, equipment and storage medium
CN113596596B (en) Gift viewing system, method, apparatus, and medium for live applications
US20170171277A1 (en) Method and electronic device for multimedia recommendation based on android platform
JP6615997B2 (en) Synchronization of server-side keyboard layout and client-side keyboard layout in virtual sessions
CN112817718B (en) Dual system device and application display method and storage medium thereof
CN110389730B (en) Method and device for large-screen display based on virtual display card and electronic equipment
US20170185422A1 (en) Method and system for generating and controlling composite user interface control
CN112309187A (en) Virtual reality teaching method, device and system
CN113852870A (en) Channel list display method and display equipment
CN111913776B (en) Content display method, device and equipment
CN114679621A (en) Video display method and device and terminal equipment
CN114117090A (en) Resource display method and device and server
CN115134663B (en) Information display method, device and system and electronic equipment
CN110300321B (en) Banner display method and device
KR20100059379A (en) Image display device for providing content and method for providing content using the same
CN107357542B (en) Method for playing PPT (Power Point) demonstration manuscript by LED (light emitting diode) display screen playing system
CN113395565A (en) Display method of virtual gift and related device and equipment
CN114245191B (en) Split screen social method and related device based on window dynamic information
JP7688219B1 (en) PROGRAM, INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND INFORMATION PROCESSING SYSTEM
US20220272415A1 (en) Demonstration of mobile device applications

Legal Events

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