CN114138388A - Display data processing method, device, terminal and storage medium - Google Patents

Display data processing method, device, terminal and storage medium Download PDF

Info

Publication number
CN114138388A
CN114138388A CN202111433567.4A CN202111433567A CN114138388A CN 114138388 A CN114138388 A CN 114138388A CN 202111433567 A CN202111433567 A CN 202111433567A CN 114138388 A CN114138388 A CN 114138388A
Authority
CN
China
Prior art keywords
component
display
data
display data
target
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.)
Pending
Application number
CN202111433567.4A
Other languages
Chinese (zh)
Inventor
卞同同
苏少炜
陈孝良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing SoundAI Technology Co Ltd
Original Assignee
Beijing SoundAI Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing SoundAI Technology Co Ltd filed Critical Beijing SoundAI Technology Co Ltd
Priority to CN202111433567.4A priority Critical patent/CN114138388A/en
Publication of CN114138388A publication Critical patent/CN114138388A/en
Pending legal-status Critical Current

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

Landscapes

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

Abstract

The application provides a display data processing method, a display data processing device, a display data processing terminal and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: displaying at least one alternative component based on a configuration interface corresponding to the user identification; in response to a component selection operation in the configuration interface, determining at least one target component to be selected; responding to the component editing operation in the configuration interface, and determining the display parameters of at least one target component; and determining the display data corresponding to the user identification based on the at least one target component and the display parameters of the at least one target component. According to the method, the display data can be formed by using the developed alternative components without directly developing the display data, so that the acquisition difficulty of the display data is greatly reduced, and the acquisition efficiency of the display data is improved. And the display data corresponding to the user identification is determined by adopting the alternative components in the configuration interface corresponding to the user identification, so that the display data can meet the personalized requirements of the user.

Description

Display data processing method, device, terminal and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a display data processing method, an apparatus, a terminal, and a storage medium.
Background
The data visualization enables complex and abstract data to be rendered into at least one component in the display data for display, so that the data are simpler and clearer. In the related art, the display data is developed by a research and development staff, and if the display data is to be acquired, the display data is required to be developed again, which results in low acquisition efficiency of the display data.
Disclosure of Invention
The embodiment of the application provides a display data processing method, a display data processing device, a terminal and a storage medium, and can improve the acquisition efficiency of display data. The technical scheme is as follows:
in one aspect, a display data processing method is provided, and the method includes:
displaying at least one alternative component based on a configuration interface corresponding to the user identification;
in response to a component selection operation in the configuration interface, determining at least one target component to be selected;
determining a display parameter of the at least one target component in response to a component editing operation in the configuration interface;
and determining presentation data corresponding to the user identification based on the at least one target component and the presentation parameters of the at least one target component.
In a possible implementation manner, before displaying at least one alternative component based on a configuration interface corresponding to a user identifier, the method further includes:
querying a component corresponding to the user identifier from a component library, wherein the component library stores at least one component corresponding to the user identifier;
and determining the inquired component as the alternative component.
In one possible implementation, the method further includes:
determining the identification type of the user identification under the condition that the component corresponding to the user identification cannot be inquired in the component library;
querying a component corresponding to the identification type from the component library, wherein at least one component corresponding to the identification type is stored in the component library;
and determining the inquired component as the alternative component.
In one possible implementation, the method further includes:
under the condition that the component corresponding to the identification type is not inquired in the component library, acquiring at least one default component;
determining the default component as the alternative component.
In a possible implementation manner, before displaying at least one alternative component based on a configuration interface corresponding to a user identifier, the method further includes:
determining a component type corresponding to the user identifier, wherein the component type is a component type with the use permission of the user identifier;
at least one alternative component belonging to the component type is obtained.
In a possible implementation manner, the displaying at least one alternative component based on a configuration interface corresponding to the user identifier includes:
displaying a display template and the at least one alternative component based on a configuration interface corresponding to the user identification;
the determining the display parameters of the at least one target component in response to the component editing operation in the configuration interface comprises:
in response to the operation of dragging the selected target assembly into the display template, determining the display position and the display style of the target assembly in the display template to obtain the display parameters;
the determining, based on the at least one target component and the display parameter of the at least one target component, display data corresponding to the user identifier includes:
and determining display data corresponding to the user identification based on the display template, the at least one target component and the display parameters of the at least one target component.
In one possible implementation manner, the configuration interface includes a first area and a second area, and the displaying at least one alternative component based on the configuration interface corresponding to the user identifier includes:
displaying the at least one alternative component in the first area based on a configuration interface corresponding to the user identification;
the determining the display parameters of the at least one target component in response to the component editing operation in the configuration interface comprises:
and in response to the operation of dragging the selected target component into the second area, determining the display position and the display style of the target component in the display data to obtain the display parameters.
In one possible implementation, the method further includes:
determining interface information corresponding to the at least one target component, wherein the interface information indicates an interface of data to be displayed by the at least one target component;
sending the display data and the interface information corresponding to the at least one target component to a display terminal corresponding to the user identifier;
the display terminal is used for calling the interface to acquire the data to be displayed based on the interface information and rendering the at least one target component and the data to be displayed based on the display data.
In one possible implementation, the method further includes:
sending the display data to a display terminal corresponding to the user identifier, wherein the display data comprises the identifier of the at least one target component;
the display terminal is used for sending an assembly obtaining request to a server, wherein the assembly obtaining request carries the identifier of the at least one target assembly, and the display terminal is further used for receiving the at least one target assembly sent by the server and rendering the at least one target assembly based on the display data;
the server is used for responding to the component acquisition request and sending the at least one target component to the display terminal.
In a possible implementation manner, after determining, based on the at least one target component and the presentation parameter of the at least one target component, presentation data corresponding to the user identifier, the method further includes:
displaying the presentation data in the configuration interface;
and responding to the display data updating operation in the configuration interface, replacing the display data with the updated display data, and displaying the updated display data in the configuration interface.
In one possible implementation, the presentation data includes layout information and attribute information, the layout information indicates a presentation position of the at least one target component in the presentation data, and the attribute information indicates a presentation style of the at least one target component;
the presentation data update operation includes at least one of updating the layout information, updating the attribute information, or updating a target component within the presentation data.
In a possible implementation manner, after the responding to the display data update operation in the configuration interface, replacing the display data with the updated display data, and displaying the updated display data in the configuration interface, the method further includes:
sending the updated display data to a display terminal corresponding to the user identifier;
wherein the display terminal is configured to update the rendered at least one target component based on the updated display data.
In another aspect, a presentation data processing apparatus is provided, the apparatus comprising:
the alternative component display module is configured to display at least one alternative component based on the configuration interface corresponding to the user identification;
a target component determination module configured to determine at least one target component selected in response to a component selection operation in the configuration interface;
a display parameter determination module configured to determine a display parameter of the at least one target component in response to a component editing operation in the configuration interface;
a presentation data determination module configured to determine presentation data corresponding to the user identifier based on the at least one target component and the presentation parameters of the at least one target component.
In one possible implementation, the apparatus further includes:
a first component determination module configured to query a component corresponding to the user identifier from a component library, where the component library stores components corresponding to at least one user identifier; and determining the inquired component as the alternative component.
In a possible implementation manner, the first component determining module is further configured to determine an identifier type to which the user identifier belongs, in a case that the component corresponding to the user identifier is not queried in the component library; querying a component corresponding to the identification type from the component library, wherein at least one component corresponding to the identification type is stored in the component library; and determining the inquired component as the alternative component.
In a possible implementation manner, the first component determining module is further configured to obtain at least one default component if the component corresponding to the identification type is not queried in the component library; determining the default component as the alternative component.
In one possible implementation, the apparatus further includes:
the second component determination module is configured to determine a component type corresponding to the user identifier, wherein the component type is a component type of which the user identifier has a use right; at least one alternative component belonging to the component type is obtained.
In a possible implementation manner, the alternative component display module is configured to display a presentation template and the at least one alternative component based on a configuration interface corresponding to the user identifier;
the display parameter determining module is configured to determine a display position and a display style of the target component in the display template in response to an operation of dragging the selected target component into the display template, so as to obtain the display parameter;
the presentation data determining module is configured to determine presentation data corresponding to the user identifier based on the presentation template, the at least one target component, and the presentation parameters of the at least one target component.
In a possible implementation manner, the configuration interface includes a first area and a second area, and the candidate component display module is configured to display the at least one candidate component in the first area based on the configuration interface corresponding to the user identifier;
the display parameter determining module is configured to determine a display position and a display style of the target component in the display data in response to an operation of dragging the selected target component into the second area, so as to obtain the display parameter.
In one possible implementation, the apparatus further includes:
a first data sending module configured to determine interface information corresponding to the at least one target component, where the interface information indicates an interface of data to be displayed by the at least one target component; sending the display data and the interface information corresponding to the at least one target component to a display terminal corresponding to the user identifier; the display terminal is used for calling the interface to acquire the data to be displayed based on the interface information and rendering the at least one target component and the data to be displayed based on the display data.
In one possible implementation, the apparatus further includes:
a second data sending module configured to send the presentation data to a presentation terminal corresponding to the user identifier, where the presentation data includes an identifier of the at least one target component;
the display terminal is used for sending an assembly obtaining request to a server, wherein the assembly obtaining request carries the identifier of the at least one target assembly, and the display terminal is further used for receiving the at least one target assembly sent by the server and rendering the at least one target assembly based on the display data;
the server is used for responding to the component acquisition request and sending the at least one target component to the display terminal.
In one possible implementation, the apparatus further includes:
a presentation data update module configured to display the presentation data in the configuration interface; and responding to the display data updating operation in the configuration interface, replacing the display data with the updated display data, and displaying the updated display data in the configuration interface.
In one possible implementation, the presentation data includes layout information and attribute information, the layout information indicates a presentation position of the at least one target component in the presentation data, and the attribute information indicates a presentation style of the at least one target component;
the presentation data update operation includes at least one of updating the layout information, updating the attribute information, or updating a target component within the presentation data.
In one possible implementation, the apparatus further includes:
a third data sending module configured to send the updated display data to a display terminal corresponding to the user identifier;
wherein the display terminal is configured to update the rendered at least one target component based on the updated display data.
In another aspect, a terminal is provided, where the terminal includes a processor and a memory, where the memory stores at least one program code, and the program code is loaded and executed by the processor to implement the display data processing method in any one of the above possible implementation manners.
In another aspect, a computer-readable storage medium is provided, in which at least one program code is stored, and the program code is loaded and executed by a processor to implement the presentation data processing method in any one of the above-mentioned possible implementation manners.
In another aspect, a computer program product is provided, where the computer program product includes at least one program code, and the program code is loaded and executed by a processor to implement the presentation data processing method in any one of the above possible implementation manners.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
in the embodiment of the application, at least one alternative component is provided for the research and development personnel to select, the research and development personnel can flexibly select the components forming the display data, the display parameters of the selected components are controlled through editing operation in the configuration interface, the developed alternative components are used for forming the display data, and the display data do not need to be directly developed, so that the acquisition difficulty of the display data is greatly reduced, and the acquisition efficiency of the display data is improved. And the display data corresponding to the user identification is determined by adopting the alternative components in the configuration interface corresponding to the user identification, so that the display data can meet the personalized requirements of the user.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, 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 implementation environment provided by an embodiment of the present application;
fig. 2 is a flowchart illustrating a data processing method according to an embodiment of the present application;
fig. 3 is a flowchart illustrating another data processing method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram illustrating a data processing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The terms "first," "second," "third," "fourth," and the like as used herein may be used herein to describe various concepts, but these concepts are not limited by these terms unless otherwise specified. These terms are only used to distinguish one concept from another. For example, a first region may be termed a second region, and, similarly, a second region may be termed a first region, without departing from the scope of the present application.
As used herein, the terms "at least one," "a plurality," "each," and "any," at least one of which includes one, two, or more than two, and a plurality of which includes two or more than two, each of which refers to each of the corresponding plurality, and any of which refers to any of the plurality. For example, the plurality of candidate components includes 3 candidate components, each of which refers to each of the 3 candidate components, and any one of the 3 candidate components refers to any one of the 3 candidate components, which may be the first one, the second one, or the third one.
Fig. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application. Referring to fig. 1, the implementation environment includes a configuration terminal 101 and a presentation terminal 102. The configuration terminal 101 and the presentation terminal 102 are connected through a wireless or wired network. Optionally, the terminal 101 and the display terminal 102 are configured as a notebook computer, a mobile phone, a tablet computer or other terminals. The configuration terminal 101 is a terminal of a developer, and is configured to configure display data for a user and send the configured display data to the display terminal 102. The display terminal 102 is a terminal of a user, and is configured to receive the display data and render the display data on an interface.
Optionally, the implementation environment further includes a server 103, and the server 103 is connected to the configuration terminal 101 through a wireless or wired network. Alternatively, the configuration terminal 101 has installed thereon an application program served by the server 103, and the configuration terminal 101 can configure the presentation data by the application program. For example, the configuration terminal 101 can display at least one candidate component through the application program, select a target component constituting the presentation data from the candidate component, edit the selected target component to determine the presentation parameter of the target component, and determine the presentation data based on the selected target component and the presentation parameter thereof. Optionally, the application program further has other functions, for example, updating the configured presentation data, sharing the configured presentation data, and the like, which is not limited in this embodiment of the application. Optionally, the application is an application in an operating system of the configuration terminal 101, or an application provided by a third party. Optionally, the server 103 is a background server of the application program or a cloud server providing services such as cloud computing and cloud storage.
The method provided by the embodiment of the application can be applied to a traffic data display scene. For example, the method provided by the embodiment of the application configures the display data for any traffic node, and then sends the configured display data to the display terminal corresponding to the traffic node, and the display terminal renders the components in the display data on the interface and renders the traffic data into the components, so that the traffic data is clearly displayed, and a user can conveniently know the traffic condition of the traffic node.
The method provided by the embodiment of the application can be applied to a health data display scene. The health data includes medical data, vaccination data, nucleic acid detection data, and the like. For example, the method provided by the embodiment of the present application configures display data for a health service point, and then sends the configured display data to a display terminal corresponding to the health service point, and the display terminal renders components in the display data on an interface and renders the health data into the components, so that the health data is clearly displayed, and a user can conveniently know the service condition of the health service point.
The method provided by the embodiment of the application can also be applied to display scenes of other data, such as financial data, educational data, weather data and the like, and the embodiment of the application does not limit the display scenes.
Fig. 2 is a flowchart illustrating a data processing method according to an embodiment of the present application. Referring to fig. 2, the method includes:
201. and the terminal displays at least one alternative component based on the configuration interface corresponding to the user identification.
202. The terminal responds to the component selection operation in the configuration interface and determines at least one selected target component.
203. And the terminal responds to the component editing operation in the configuration interface and determines the display parameters of at least one target component.
204. And the terminal determines display data corresponding to the user identification based on the at least one target component and the display parameters of the at least one target component.
In the embodiment of the application, at least one alternative component is provided for the research and development personnel to select, the research and development personnel can flexibly select the components forming the display data, the display parameters of the selected components are controlled through editing operation in the configuration interface, the developed alternative components are used for forming the display data, and the display data do not need to be directly developed, so that the acquisition difficulty of the display data is greatly reduced, and the acquisition efficiency of the display data is improved. And the display data corresponding to the user identification is determined by adopting the alternative components in the configuration interface corresponding to the user identification, so that the display data can meet the personalized requirements of the user.
In a possible implementation manner, before displaying at least one alternative component based on a configuration interface corresponding to a user identifier, the method further includes:
inquiring a component corresponding to the user identifier from a component library, wherein the component library stores at least one component corresponding to the user identifier;
and determining the inquired component as an alternative component.
In one possible implementation, the method further includes:
determining the identification type of the user identification under the condition that the component corresponding to the user identification cannot be inquired in the component library;
querying a component corresponding to the identification type from a component library, wherein the component library stores at least one component corresponding to the identification type;
and determining the inquired component as an alternative component.
In one possible implementation, the method further includes:
under the condition that the component corresponding to the identification type cannot be inquired in the component library, acquiring at least one default component;
the default component is determined to be the alternate component.
In a possible implementation manner, before displaying at least one alternative component based on a configuration interface corresponding to a user identifier, the method further includes:
determining a component type corresponding to the user identifier, wherein the component type is a component type with the user identifier having the use authority;
at least one candidate component belonging to the component type is obtained.
In one possible implementation manner, displaying at least one alternative component based on a configuration interface corresponding to a user identifier includes:
displaying a display template and at least one alternative component based on a configuration interface corresponding to the user identifier;
in response to a component editing operation in the configuration interface, determining a presentation parameter of at least one target component, including:
in response to the operation of dragging the selected target assembly to the display template, determining the display position and the display style of the target assembly in the display template to obtain display parameters;
determining presentation data corresponding to the user identifier based on the at least one target component and the presentation parameters of the at least one target component, including:
and determining display data corresponding to the user identification based on the display template, the at least one target component and the display parameters of the at least one target component.
In one possible implementation manner, the configuration interface includes a first area and a second area, and the displaying of the at least one alternative component based on the configuration interface corresponding to the user identifier includes:
displaying at least one alternative component in the first area based on the configuration interface corresponding to the user identification;
in response to a component editing operation in the configuration interface, determining a presentation parameter of at least one target component, including:
and in response to the operation of dragging the selected target component into the second area, determining the display position and the display style of the target component in the display data to obtain the display parameters.
In one possible implementation, the method further includes:
determining interface information corresponding to at least one target assembly, wherein the interface information indicates an interface of data to be displayed by the at least one target assembly;
sending display data and interface information corresponding to at least one target component to a display terminal corresponding to the user identifier;
the display terminal is used for calling the interface to acquire data to be displayed based on the interface information and rendering at least one target assembly and the data to be displayed based on the display data.
In one possible implementation, the method further includes:
sending display data to a display terminal corresponding to the user identifier, wherein the display data comprises an identifier of at least one target component;
the display terminal is used for sending an assembly obtaining request to the server, wherein the assembly obtaining request carries an identifier of at least one target assembly, and the display terminal is also used for receiving the at least one target assembly sent by the server and rendering the at least one target assembly based on display data;
the server is used for responding to the component acquisition request and sending at least one target component to the display terminal, and the display terminal is used for receiving the at least one target component.
In a possible implementation manner, after determining, based on the at least one target component and the display parameter of the at least one target component, display data corresponding to the user identifier, the method further includes:
displaying the display data in the configuration interface;
and responding to the display data updating operation in the configuration interface, replacing the display data with the updated display data, and displaying the updated display data in the configuration interface.
In one possible implementation, the presentation data includes layout information and attribute information, the layout information indicates a presentation position of the at least one target component in the presentation data, and the attribute information indicates a presentation style of the at least one target component;
the exposure data update operation includes at least one of updating layout information, updating attribute information, or updating target components within the exposure data.
In one possible implementation manner, in response to an update operation of the presentation data in the configuration interface, the presentation data is replaced with updated presentation data, and after the updated presentation data is displayed in the configuration interface, the method further includes:
sending updated display data to a display terminal corresponding to the user identifier;
the display terminal is used for updating the rendered at least one target assembly based on the updated display data.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
Fig. 3 is a flowchart illustrating a data processing method according to an embodiment of the present application. Referring to fig. 3, the method includes:
301. and the terminal responds to the display data configuration instruction of the user identification to acquire at least one alternative component.
The user identification is used to represent the identity of the user to distinguish different users. Optionally, the user identifier is a name, an account, a mailbox, a mobile phone number, and the like, where the account is an account registered by the user in a server corresponding to the configuration terminal.
The display data configuration instruction indicates that the display data is configured for the corresponding user identification. Optionally, a developer inputs a user identifier in an application program for configuring display data, and triggers a display data configuration control corresponding to the user identifier, and the terminal generates a display data configuration instruction for the user identifier, and obtains at least one alternative component. Alternatively, the application can be replaced with a web page.
The display data is composed of at least one component, and the data can be simplified and clarified by rendering some complex and abstract data into the at least one component of the display data for display. Wherein the components are of various types, including a statistical chart component, a table type component, a decoration component, a text type component, and the like. Optionally, the statistical chart component comprises a histogram, a pie chart, a radar chart and the like, the table type component comprises a ranking table, a carousel table and the like, the decoration component comprises various figures such as airplane figures, computer figures, automobile figures and the like, and the text type component comprises a trotting horse lamp text component, a rolling digital card component, a time component and the like. Alternative components are those that have already been developed for selection by the developer. That is, the developer can select the target component from the alternative components, and the selected target component constitutes the presentation data.
In one possible implementation manner, the acquiring, by the terminal, at least one candidate component includes: and the terminal inquires the component corresponding to the user identification from the component library and determines the inquired component as an alternative component. The component library stores components corresponding to at least one user identifier.
Optionally, after developing a plurality of components for different user identifiers, a developer stores each user identifier and a corresponding component in the component library, and when display data needs to be configured for the user identifier subsequently, the developer can query an alternative component corresponding to the user identifier from the component library, and configure the display data corresponding to the user identifier based on the alternative component corresponding to the user identifier. Optionally, the component library is dynamically updated, for example, each time a developer develops a new component corresponding to any user identifier, the component is added to the component library, and the subsequent component is used as an alternative component corresponding to the user identifier.
In the embodiment of the application, the component corresponding to at least one user identifier is stored in the component library, and for any user identifier, the component corresponding to the user identifier in the component library is used as an alternative component for configuring the display data of the user identifier.
In a possible implementation manner, the terminal determines the identifier type to which the user identifier belongs under the condition that the terminal cannot inquire the component corresponding to the user identifier in the component library; and then querying the component corresponding to the identification type from the component library, and determining the queried component as a candidate component. The component library stores components corresponding to at least one identification type.
Optionally, after a developer develops a plurality of components for different identifier types, each identifier type and the corresponding component are stored in the component library, and when display data needs to be configured for a user identifier belonging to the identifier type subsequently, an alternative component corresponding to the identifier type can be queried from the component library, and the display data corresponding to the identifier type is configured based on the alternative component corresponding to the identifier type. Optionally, the component library is dynamically updated, for example, each time a developer develops a new component corresponding to any identification type, the component is added to the component library, and the subsequent component is used as an alternative component corresponding to the identification type.
Optionally, the identifier types are divided according to-be-displayed data types corresponding to different user identifiers, where the to-be-displayed data types represent types of to-be-displayed data in display data corresponding to the user identifiers, and the to-be-displayed data types corresponding to user identifiers belonging to the same identifier type are the same.
For example, there are three identification types in the component library. The data to be displayed corresponding to the user identification belonging to the first identification type is financial data, the data to be displayed corresponding to the user identification belonging to the second identification type is health data, and the data to be displayed corresponding to the user identification belonging to the third identification type is traffic data. Because the types of the data to be displayed corresponding to the user identifications belonging to the same identification type are the same, and the types of the data to be displayed corresponding to the user identifications belonging to different identification types are different, the alternative component is developed aiming at the identification type, so that the adaptability of the developed alternative component and the data to be displayed corresponding to the user identifications belonging to the identification type is higher, and the display effect of the data to be displayed can be improved.
Optionally, the identifier types are divided according to performance parameters of display terminals corresponding to different user identifiers, where the display terminals are terminals for displaying display data corresponding to the user identifiers. And the performance parameters of the user identifications belonging to the same identification type corresponding to the display terminals are similar. Optionally, the performance parameters include resolution of the presentation terminal, screen size, type of operating system, and the like. Because the performance parameters of the display terminals corresponding to the user identifications belonging to the same identification type are similar, the alternative component is developed aiming at the identification type, so that the adaptability of the developed alternative component and the display terminal corresponding to the user identification belonging to the identification type is higher, and the display effect of the data to be displayed can be improved.
It should be noted that the above manner of dividing the identifier type to which the user identifier belongs is merely an exemplary illustration, and the identifier type can also be divided by other manners, for example, according to a region to which the user identifier belongs, and the like, which is not limited in this embodiment of the application.
In the embodiment of the application, by storing the component corresponding to at least one identification type in the component library, for any user identification, the component corresponding to the identification type to which the user identification belongs in the component library is used as the alternative component for configuring the display data of the user identification, and as the at least one alternative component is developed for the identification type, the display data configured based on the alternative component can be ensured to better meet the personalized requirements of users corresponding to different identification types.
In a possible implementation manner, the terminal acquires at least one default component under the condition that the component corresponding to the identification type is not inquired in the component library; the default component is determined to be the alternate component.
Optionally, the developer develops at least one default component to store in the component library, where the default component belongs to all users, that is, can be used as an alternative component corresponding to any user identifier. Correspondingly, the terminal queries the default component from the component library under the condition that the component corresponding to the identification type is not queried in the component library. Optionally, the component library is dynamically updated, for example, each time a developer develops a new default component, the developer adds the default component to the component library, and the component can be used as an alternative component later.
In the embodiment of the application, at least one default component is obtained and determined as the alternative component under the condition that the alternative component corresponding to the identification type to which the user identification belongs is not obtained, so that the alternative component can be provided for a research and development worker to select, and display data can be successfully configured based on the alternative component.
In one possible implementation manner, the acquiring, by the terminal, at least one candidate component includes: the terminal determines a component type corresponding to the user identifier, and acquires at least one alternative component belonging to the component type, wherein the component type is the component type of which the user identifier has the use authority.
Optionally, the component types are divided according to usage rights of the components. Usage rights of components belonging to the same component type are the same. For example, there are two types of components, and the first component type is a component type that a VIP (very important person) can use. The second component type is a component type that can be used by an ordinary user.
In the embodiment of the application, only the component with the user identifier having the use authority is obtained, and the display data is configured for the user identifier based on the component, so that the display data can be configured aiming at the user authority, and the configuration of the display data is more flexible.
Optionally, the terminal obtains at least one alternative component from the server, that is, the terminal sends a component obtaining request to the server in response to the display data configuration instruction for the user identifier, where the component obtaining request carries the user identifier. The server responds to the component acquisition request, acquires at least one alternative component based on the user identification, and sends the at least one alternative component to the terminal. The manner in which the server obtains the alternative component based on the user identifier is the same as the manner in which the terminal obtains the alternative component based on the user identifier, and details are not repeated here. In the embodiment of the application, the components are stored in the server, and when the display data needs to be configured, the alternative components are obtained from the server, so that the storage space of the terminal can be saved, and the performance consumption of the terminal is reduced.
302. And the terminal displays at least one alternative component based on the configuration interface corresponding to the user identification.
In one possible implementation, the configuration interface includes a first area and a second area, where the first area is used for displaying the candidate components, the second area is used for displaying the selected target components, and the presentation data is configured based on the target components. Correspondingly, the terminal displays at least one alternative component based on the configuration interface corresponding to the user identifier, and the method comprises the following steps: and the terminal displays at least one alternative component in the first area based on the configuration interface corresponding to the user identification.
Optionally, the first area is located to the left of the configuration interface, and the second area is located to the right of the configuration interface. Or the first area is located above the configuration interface, and the second area is located below the configuration interface.
Optionally, in the case that the number of the alternative components is large, the first area displays part of the alternative components and the pull-down control, and in response to a trigger operation on the pull-down control, the remaining part of the alternative components is displayed in the first area.
303. The terminal responds to the component selection operation in the configuration interface and determines at least one selected target component.
Optionally, the step comprises: and the terminal determines the triggered alternative component as the target component in response to the triggering operation of the alternative component in the configuration interface.
Optionally, in a case that the configuration interface includes the first area and the second area, the terminal determines, as the target component, at least one dragged candidate component in response to an operation of dragging the candidate component in the first area to the second area.
304. And the terminal responds to the component editing operation in the configuration interface and determines the display parameters of at least one target component.
In one possible implementation manner, the determining, by the terminal, a display parameter of at least one target component in response to a component editing operation in the configuration interface includes: and the terminal responds to the operation of dragging the selected target component to the second area, determines the display position and the display style of the target component in the display data, and obtains the display parameters. That is, the presentation parameters of the target component indicate the presentation position and the presentation style of the target component in the presentation data.
Optionally, in response to the operation of dragging the selected target component to the second area, the terminal determines a position where the target component is dragged to the second area as a display position of the target component in the display data, and determines a default display style of the target component as a display style of the target component in the display data. It should be noted that, since the second area displays the preview effect of the presentation data in the configuration, the position of the target component in the second area is actually the same as the position of the target component in the presentation data.
It should be noted that the display positions of different target assemblies may be the same, for example, the positions of two target assemblies are the same, wherein one target assembly is located on the upper layer of the other target assembly.
Optionally, after the terminal drags the selected target component to the second region, the default display style of the target component is adjusted, and the adjusted display style of the target component in the display data is determined.
Optionally, an implementation manner of adjusting the default display style of the target component by the terminal includes: and the terminal responds to the change operation of the attribute information in the attribute information column of the target component and adjusts the default display style of the target component based on the changed attribute information. The attribute information of the target component indicates the display style of the target component, the attribute information bar has default attribute information, and the default attribute information indicates the default display style of the target component. And the developer can change the display style of the target component in the second area by changing the attribute information in the target component. Optionally, the attribute information includes a color of the component, a length and a width of the component, and the like.
Optionally, an implementation manner of adjusting the default display style of the target component by the terminal includes: and the terminal adjusts the display style of the target component based on the zooming operation of the target component. For example, the terminal adjusts the width of the target component based on a zoom operation on the target component in the lateral direction, adjusts the length of the target component based on a zoom operation on the target component in the longitudinal direction, and the like.
In the embodiment of the application, the configuration interface is divided into the first area and the second area, the display parameters of the target assembly are determined in response to the operation of dragging the selected target assembly in the first area to the second area, the operation difficulty of determining the display parameters of the target assembly is reduced, and therefore the acquisition efficiency of the display data is improved.
In one possible implementation, the step 302 includes: and the terminal displays the display template and at least one alternative component based on the configuration interface corresponding to the user identification. Correspondingly, the terminal responds to the component editing operation in the configuration interface and determines the display parameters of at least one target component, and the method comprises the following steps: and the terminal responds to the operation of dragging the selected target assembly to the display template, determines the display position and the display style of the target assembly in the display template, and obtains the display parameters.
Optionally, the presentation template comprises at least one component, and the presentation position and the presentation style of the at least one component in the presentation template are determined. Optionally, the display template is display data configured in advance by research personnel, the display data can be used as the display template, and subsequently, when other display data are configured, the configuration efficiency of the display data can be greatly improved by using the display template. Optionally, the research and development personnel configure the display template for the user identifier, and then can configure the display data of the user identifier based on the display template corresponding to the user identifier, so as to meet personalized requirements of different users. Optionally, research and development personnel configure the display template for the identifier type, and then can configure the display data of the user identifier based on the display template corresponding to the identifier type to which the user identifier belongs, so as to meet personalized requirements of users corresponding to different identifier types. Optionally, the developer configures a default template, which belongs to all users, that is, the default template can be used to configure the presentation data of any user identifier. Optionally, the display template corresponding to each user identifier, the display template corresponding to each identifier type, and the default template are also stored in the component library.
Optionally, the terminal needs to acquire the display template before displaying the display template and the at least one alternative component based on the configuration interface corresponding to the user identifier, optionally, the acquisition mode of the display template is the same as the acquisition mode of the alternative component, that is, the display template corresponding to the user identifier is preferentially acquired, the display template corresponding to the identifier type to which the user identifier belongs is acquired when the display template corresponding to the user identifier is not acquired, and the default template is acquired when the display template corresponding to the identifier type is not acquired.
In the embodiment of the application, because the display position and the display style of the component in the display template are determined, the display data corresponding to the user identifier is formed by fusing the target component in the display template, and the acquisition efficiency of the display data can be greatly improved.
Optionally, in step 302, the display template is displayed in the second area, the terminal determines the display position and the display style of the target component in the display template in response to the operation of dragging the selected target component into the display template to obtain the implementation manner of the display parameter, and the terminal determines the display position and the display style of the target component in the second area in response to the operation of dragging the selected target component into the second area to obtain the implementation manner of the display parameter. Optionally, in step 302, the display template is displayed in the first area, and in step 304, the terminal displays the display template in the second area in response to an operation of dragging the display template to the second area. Or the terminal responds to the triggering operation of the display template and displays the display template in the second area. Optionally, the number of the display templates is multiple, and correspondingly, the terminal can select the display template displayed in the second area in response to a drag operation or a trigger operation of the user. That is, the developer can freely select the display template used when configuring the display data corresponding to the user identifier.
305. And the terminal determines display data corresponding to the user identification based on the at least one target component and the display parameters of the at least one target component.
Optionally, the determining, by the terminal, presentation data corresponding to the user identifier based on the at least one target component and the presentation parameter of the at least one target component includes: the terminal determines the identification of at least one target component, and determines the display data corresponding to the user identification based on the identification of the at least one target component and the display parameters of the at least one target component, wherein the display data comprises the identification of the at least one target component and the display parameters.
In the above 304, in the case that the terminal determines the display parameter of the at least one target component by using the display template, the step 305 includes: and the terminal determines display data corresponding to the user identification based on the display template, the at least one target component and the display parameters of the at least one target component.
Optionally, the terminal determines, based on the display template, the at least one target component, and the display parameter of the at least one target component, display data corresponding to the user identifier, including: the terminal determines the display data based on the identification and the display parameter of the at least one component in the display template and the identification and the display parameter of the at least one target component.
In the embodiment of the application, the identifier of the component is carried in the display data instead of the component, so that the data transmission quantity of the terminal and the display terminal can be greatly reduced. Of course, the component identifier in the above-mentioned display data can also be replaced by the component itself, which is not limited in this embodiment of the application.
306. And the terminal sends display data to the display terminal corresponding to the user identifier.
And under the condition that the display data comprise at least one target component and display parameters of the at least one target component, rendering the at least one target component in the interface based on the at least one target component and the corresponding display parameters after the display terminal receives the display data. Wherein the interface rendering the at least one target component can also be referred to as a large screen.
And under the condition that the display data comprise the identification of at least one target component and the display parameters, the display terminal sends a component acquisition request to the server after receiving the display data, wherein the component acquisition request carries the identification of at least one target component. The server responds to the component acquisition request and sends at least one target component to the display terminal. The display terminal then receives the at least one target component and renders the at least one target component in the interface based on the at least one target component and the corresponding display parameters.
In the embodiment of the application, the display terminal sends the component acquisition request to the server to request the components corresponding to the component identifiers in the display data under the condition that the display data comprising the component identifiers are acquired, instead of directly acquiring all the components from the server, so that the data volume acquired from the server can be reduced, and the performance consumption of the display terminal is reduced.
In a possible implementation manner, the sending, by the terminal, the display data to the display terminal corresponding to the user identifier includes: the terminal determines interface information corresponding to at least one target assembly, the interface information indicates an interface of data to be displayed of the at least one target assembly, and sends display data and the interface information corresponding to the at least one target assembly to a display terminal corresponding to the user identification. After the display terminal receives the display data and the interface information, the interface is called to obtain data to be displayed based on the interface information, and at least one target assembly and the data to be displayed are rendered based on the display data.
In the embodiment of the application, the interface information corresponding to at least one target component is sent to the display terminal, so that the display terminal can acquire the data to be displayed in the display data based on the interface information, and the data to be displayed is successfully rendered in the display data.
307. And the terminal updates the display data based on the configuration interface.
After the terminal configures the display data corresponding to the user identifier, the display data can be updated, and optionally, the terminal displays the display data in a configuration interface; and responding to the display data updating operation in the configuration interface, replacing the display data with the updated display data, and displaying the updated display data in the configuration interface.
Optionally, the presentation data includes layout information and attribute information, the layout information indicating a presentation position of the at least one target component in the presentation data, and the attribute information indicating a presentation style of the at least one target component. Accordingly, the exposure data update operation includes at least one of updating layout information, updating property information, or updating target components within the exposure data.
In the embodiment of the application, new display data can be obtained by updating the configured display data, so that the acquisition efficiency of the display data can be greatly improved.
It should be noted that the above steps 306 and 307 are optional steps, and may not be performed in other embodiments. In addition, the execution sequence of the above steps 306 and 307 is not limited in this embodiment of the application.
In a possible implementation manner, after the terminal responds to the display data updating operation in the configuration interface and determines the updated display data, the updated display data is sent to the display terminal corresponding to the user identifier, the display terminal receives the updated display data, and at least one rendered target component is updated based on the updated display data.
Optionally, the terminal updates the rendered at least one target component based on the updated presentation data, including: and the terminal responds to the interface refreshing operation and updates the rendered at least one target component based on the updated display data.
In the embodiment of the application, after the updated display data is determined, the updated display data is sent to the display terminal corresponding to the user identifier, so that the display terminal can update the rendered at least one component in time based on the updated display data.
In the embodiment of the application, the display data is formed by the alternative components through developing the alternative components, so that the alternative components can be reused, and the acquisition efficiency of the display data is greatly improved. In addition, as the alternative components are displayed in the configuration interface, the display data are configured by using the alternative components, so that the configuration visualization of the display data is realized, the configuration difficulty of the display data is reduced, and non-professional personnel except research and development personnel, such as operators, can also participate in the configuration of the display data.
In the embodiment of the application, at least one alternative component is provided for the research and development personnel to select, the research and development personnel can flexibly select the components forming the display data, the display parameters of the selected components are controlled through editing operation in the configuration interface, the developed alternative components are used for forming the display data, and the display data do not need to be directly developed, so that the acquisition difficulty of the display data is greatly reduced, and the acquisition efficiency of the display data is improved. And the display data corresponding to the user identification is determined by adopting the alternative components in the configuration interface corresponding to the user identification, so that the display data can meet the personalized requirements of the user.
In the embodiment of the application, the component corresponding to at least one user identifier is stored in the component library, and for any user identifier, the component corresponding to the user identifier in the component library is used as an alternative component for configuring the display data of the user identifier.
In the embodiment of the application, by storing the component corresponding to at least one identification type in the component library, for any user identification, the component corresponding to the identification type to which the user identification belongs in the component library is used as the alternative component for configuring the display data of the user identification, and as the at least one alternative component is developed for the identification type, the display data configured based on the alternative component can be ensured to better meet the personalized requirements of users corresponding to different identification types.
In the embodiment of the application, at least one default component is obtained under the condition that the alternative component corresponding to the identification type to which the user identification belongs is not obtained, so that alternative components can be provided for research and development personnel to select, and display data can be successfully configured based on the alternative components.
In the embodiment of the application, only the component with the user identifier having the use authority is obtained, and the display data is configured for the user identifier based on the component, so that the display data can be configured aiming at the user authority, and the configuration of the display data is more flexible.
In the embodiment of the application, the configuration interface is divided into the first area and the second area, the display parameters of the target assembly are determined in response to the operation of dragging the selected target assembly in the first area to the second area, the operation difficulty of determining the display parameters of the target assembly is reduced, and therefore the acquisition efficiency of the display data is improved.
In the embodiment of the application, because the display position and the display style of the component in the display template are determined, the display data corresponding to the user identifier is formed by fusing the target component in the display template, and the acquisition efficiency of the display data can be greatly improved.
In the embodiment of the application, the identifier of the component is carried in the display data instead of the component, so that the data transmission quantity of the terminal and the display terminal can be greatly reduced. The display terminal sends the component acquisition request to the server to request for displaying the components corresponding to the component identifiers in the data under the condition that the display terminal acquires the display data comprising the component identifiers, and all the components are not directly acquired from the server, so that the data volume acquired from the server can be reduced, and the performance consumption of the display terminal is reduced.
In the embodiment of the application, the interface information corresponding to at least one target component is sent to the display terminal, so that the display terminal can acquire the data to be displayed in the display data based on the interface information, and the data to be displayed is successfully rendered in the display data.
Fig. 4 is a block diagram illustrating a data processing apparatus according to an embodiment of the present disclosure. Referring to fig. 4, the apparatus includes:
an alternative component display module 401 configured to display at least one alternative component based on a configuration interface corresponding to the user identifier;
a target component determination module 402 configured to determine at least one target component selected in response to a component selection operation in the configuration interface;
a presentation parameter determination module 403 configured to determine a presentation parameter of at least one target component in response to a component editing operation in the configuration interface;
a presentation data determining module 404 configured to determine presentation data corresponding to the user identifier based on the at least one target component and the presentation parameter of the at least one target component.
In the embodiment of the application, at least one alternative component is provided for the research and development personnel to select, the research and development personnel can flexibly select the components forming the display data, the display parameters of the selected components are controlled through editing operation in the configuration interface, the developed alternative components are used for forming the display data, and the display data do not need to be directly developed, so that the acquisition difficulty of the display data is greatly reduced, and the acquisition efficiency of the display data is improved. And the display data corresponding to the user identification is determined by adopting the alternative components in the configuration interface corresponding to the user identification, so that the display data can meet the personalized requirements of the user.
In one possible implementation, the apparatus further includes:
the first component determining module is configured to query a component corresponding to the user identifier from a component library, and the component library stores at least one component corresponding to the user identifier; and determining the inquired component as an alternative component.
In a possible implementation manner, the first component determining module is further configured to determine an identifier type to which the user identifier belongs, in a case that the component corresponding to the user identifier is not queried in the component library; querying a component corresponding to the identification type from a component library, wherein the component library stores at least one component corresponding to the identification type; and determining the inquired component as an alternative component.
In a possible implementation manner, the first component determining module is further configured to obtain at least one default component when the component corresponding to the identification type is not queried in the component library; the default component is determined to be the alternate component.
In one possible implementation, the apparatus further includes:
the second component determining module is configured to determine a component type corresponding to the user identifier, wherein the component type is a component type of which the user identifier has a use right; at least one candidate component belonging to the component type is obtained.
In a possible implementation manner, the alternative component display module 401 is configured to display a presentation template and at least one alternative component based on a configuration interface corresponding to the user identifier;
a display parameter determining module 403, configured to determine, in response to an operation of dragging the selected target component into the display template, a display position and a display style of the target component in the display template, to obtain a display parameter;
a presentation data determining module 404 configured to determine presentation data corresponding to the user identifier based on the presentation template, the at least one target component, and the presentation parameters of the at least one target component.
In a possible implementation manner, the configuration interface includes a first area and a second area, and the candidate component display module 401 is configured to display at least one candidate component in the first area based on the configuration interface corresponding to the user identifier;
and a display parameter determining module 403, configured to determine, in response to the operation of dragging the selected target component into the second area, a display position and a display style of the target component in the display data, to obtain a display parameter.
In one possible implementation, the apparatus further includes:
the first data sending module is configured to determine interface information corresponding to at least one target component, wherein the interface information indicates an interface of data to be displayed by the at least one target component; sending display data and interface information corresponding to at least one target component to a display terminal corresponding to the user identifier;
the display terminal is used for calling the interface to acquire data to be displayed based on the interface information and rendering at least one target assembly and the data to be displayed based on the display data.
In one possible implementation, the apparatus further includes:
the second data sending module is configured to send display data to the display terminal corresponding to the user identifier, wherein the display data comprises an identifier of at least one target component;
the display terminal is used for sending an assembly obtaining request to the server, wherein the assembly obtaining request carries an identifier of at least one target assembly, and the display terminal is also used for receiving the at least one target assembly sent by the server and rendering the at least one target assembly based on display data;
the server is used for responding to the component acquisition request and sending at least one target component to the display terminal.
In one possible implementation, the apparatus further includes:
a presentation data update module configured to display presentation data in a configuration interface; and responding to the display data updating operation in the configuration interface, replacing the display data with the updated display data, and displaying the updated display data in the configuration interface.
In one possible implementation, the presentation data includes layout information and attribute information, the layout information indicates a presentation position of the at least one target component in the presentation data, and the attribute information indicates a presentation style of the at least one target component;
the exposure data update operation includes at least one of updating layout information, updating attribute information, or updating target components within the exposure data.
In one possible implementation, the apparatus further includes:
the third data sending module is configured to send updated display data to the display terminal corresponding to the user identifier;
the display terminal is used for updating the rendered at least one target assembly based on the updated display data.
It should be noted that: in the display data processing apparatus provided in the foregoing embodiment, when processing display data, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the display data processing apparatus and the display data processing method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
The embodiment of the present application further provides a terminal, where the terminal includes a processor and a memory, where the memory stores at least one program code, and the at least one program code is loaded and executed by the processor, so as to implement the display data processing method of the foregoing embodiment.
Fig. 5 shows a block diagram of a terminal 500 according to an exemplary embodiment of the present application. The terminal 500 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 500 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and the like.
The terminal 500 includes: a processor 501 and a memory 502.
The processor 501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 501 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 501 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, processor 501 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
Memory 502 may include one or more computer-readable storage media, which may be non-transitory. Memory 502 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 502 is used to store at least one program code for execution by the processor 501 to implement the presentation data processing method provided by the method embodiments herein.
In some embodiments, the terminal 500 may further optionally include: a peripheral interface 503 and at least one peripheral. The processor 501, memory 502 and peripheral interface 503 may be connected by a bus or signal lines. Each peripheral may be connected to the peripheral interface 503 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 504, display screen 505, camera assembly 506, audio circuitry 507, positioning assembly 508, and power supply 509.
The peripheral interface 503 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 501 and the memory 502. In some embodiments, the processor 501, memory 502, and peripheral interface 503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 501, the memory 502, and the peripheral interface 503 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 504 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 504 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 504 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 504 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 504 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 505 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 505 is a touch display screen, the display screen 505 also has the ability to capture touch signals on or over the surface of the display screen 505. The touch signal may be input to the processor 501 as a control signal for processing. At this point, the display screen 505 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 505 may be one, providing the front panel of the terminal 500; in other embodiments, the display screens 505 may be at least two, respectively disposed on different surfaces of the terminal 500 or in a folded design; in other embodiments, the display 505 may be a flexible display disposed on a curved surface or a folded surface of the terminal 500. Even more, the display screen 505 can be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 505 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 506 is used to capture images or video. Optionally, camera assembly 506 includes a front camera and a rear camera. The front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 506 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuitry 507 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 501 for processing, or inputting the electric signals to the radio frequency circuit 504 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 500. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 501 or the radio frequency circuit 504 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 507 may also include a headphone jack.
The positioning component 508 is used for positioning the current geographic Location of the terminal 500 for navigation or LBS (Location Based Service). The Positioning component 508 may be a Positioning component based on the united states GPS (Global Positioning System), the chinese beidou System, the russian graves System, or the european union's galileo System.
Power supply 509 is used to power the various components in terminal 500. The power source 509 may be alternating current, direct current, disposable or rechargeable. When power supply 509 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 500 also includes one or more sensors 510. The one or more sensors 510 include, but are not limited to: acceleration sensor 511, gyro sensor 512, pressure sensor 513, fingerprint sensor 514, optical sensor 515, and proximity sensor 516.
The acceleration sensor 511 may detect the magnitude of acceleration on three coordinate axes of the coordinate system established with the terminal 500. For example, the acceleration sensor 511 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 501 may control the display screen 505 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 511. The acceleration sensor 511 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 512 may detect a body direction and a rotation angle of the terminal 500, and the gyro sensor 512 may cooperate with the acceleration sensor 511 to acquire a 3D motion of the user on the terminal 500. The processor 501 may implement the following functions according to the data collected by the gyro sensor 512: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensor 513 may be disposed on a side frame of the terminal 500 and/or underneath the display screen 505. When the pressure sensor 513 is disposed on the side frame of the terminal 500, a user's holding signal of the terminal 500 may be detected, and the processor 501 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 513. When the pressure sensor 513 is disposed at the lower layer of the display screen 505, the processor 501 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 505. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 514 is used for collecting a fingerprint of the user, and the processor 501 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 514, or the fingerprint sensor 514 identifies the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 501 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 514 may be provided on the front, back, or side of the terminal 500. When a physical button or a vendor Logo is provided on the terminal 500, the fingerprint sensor 514 may be integrated with the physical button or the vendor Logo.
The optical sensor 515 is used to collect the ambient light intensity. In one embodiment, the processor 501 may control the display brightness of the display screen 505 based on the ambient light intensity collected by the optical sensor 515. Specifically, when the ambient light intensity is high, the display brightness of the display screen 505 is increased; when the ambient light intensity is low, the display brightness of the display screen 505 is reduced. In another embodiment, processor 501 may also dynamically adjust the shooting parameters of camera head assembly 506 based on the ambient light intensity collected by optical sensor 515.
A proximity sensor 516, also called a distance sensor, is provided at the front panel of the terminal 500. The proximity sensor 516 is used to collect the distance between the user and the front surface of the terminal 500. In one embodiment, when the proximity sensor 516 detects that the distance between the user and the front surface of the terminal 500 gradually decreases, the processor 501 controls the display screen 505 to switch from the bright screen state to the dark screen state; when the proximity sensor 516 detects that the distance between the user and the front surface of the terminal 500 becomes gradually larger, the display screen 505 is controlled by the processor 501 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 5 is not intended to be limiting of terminal 500 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
The embodiment of the present application further provides a computer-readable storage medium, where at least one program code is stored in the computer-readable storage medium, and the at least one program code is loaded and executed by a processor, so as to implement the display data processing method of the foregoing embodiment.
The embodiment of the present application further provides a computer program, where at least one program code is stored in the computer program, and the at least one program code is loaded and executed by a processor, so as to implement the display data processing method of the foregoing embodiment.
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 exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (15)

1. A presentation data processing method, the method comprising:
displaying at least one alternative component based on a configuration interface corresponding to the user identification;
in response to a component selection operation in the configuration interface, determining at least one target component to be selected;
determining a display parameter of the at least one target component in response to a component editing operation in the configuration interface;
and determining presentation data corresponding to the user identification based on the at least one target component and the presentation parameters of the at least one target component.
2. The method of claim 1, wherein before displaying at least one alternative component based on the configuration interface corresponding to the user identification, the method further comprises:
querying a component corresponding to the user identifier from a component library, wherein the component library stores at least one component corresponding to the user identifier;
and determining the inquired component as the alternative component.
3. The method of claim 2, further comprising:
determining the identification type of the user identification under the condition that the component corresponding to the user identification cannot be inquired in the component library;
querying a component corresponding to the identification type from the component library, wherein at least one component corresponding to the identification type is stored in the component library;
and determining the inquired component as the alternative component.
4. The method of claim 3, further comprising:
under the condition that the component corresponding to the identification type is not inquired in the component library, acquiring at least one default component;
determining the default component as the alternative component.
5. The method of claim 1, wherein before displaying at least one alternative component based on the configuration interface corresponding to the user identification, the method further comprises:
determining a component type corresponding to the user identifier, wherein the component type is a component type with the use permission of the user identifier;
at least one alternative component belonging to the component type is obtained.
6. The method according to any one of claims 1-5, wherein displaying at least one alternative component based on the configuration interface corresponding to the user identification comprises:
displaying a display template and the at least one alternative component based on a configuration interface corresponding to the user identification;
the determining the display parameters of the at least one target component in response to the component editing operation in the configuration interface comprises:
in response to the operation of dragging the selected target assembly into the display template, determining the display position and the display style of the target assembly in the display template to obtain the display parameters;
the determining, based on the at least one target component and the display parameter of the at least one target component, display data corresponding to the user identifier includes:
and determining display data corresponding to the user identification based on the display template, the at least one target component and the display parameters of the at least one target component.
7. The method of any of claims 1-5, wherein the configuration interface includes a first region and a second region, and wherein displaying at least one alternative component based on the user identifying the corresponding configuration interface comprises:
displaying the at least one alternative component in the first area based on a configuration interface corresponding to the user identification;
the determining the display parameters of the at least one target component in response to the component editing operation in the configuration interface comprises:
and in response to the operation of dragging the selected target component into the second area, determining the display position and the display style of the target component in the display data to obtain the display parameters.
8. The method according to any one of claims 1-5, further comprising:
determining interface information corresponding to the at least one target component, wherein the interface information indicates an interface of data to be displayed by the at least one target component;
sending the display data and the interface information corresponding to the at least one target component to a display terminal corresponding to the user identifier;
the display terminal is used for calling the interface to acquire the data to be displayed based on the interface information and rendering the at least one target component and the data to be displayed based on the display data.
9. The method according to any one of claims 1-5, further comprising:
sending the display data to a display terminal corresponding to the user identifier, wherein the display data comprises the identifier of the at least one target component;
the display terminal is used for sending an assembly obtaining request to a server, wherein the assembly obtaining request carries the identifier of the at least one target assembly, and the display terminal is further used for receiving the at least one target assembly sent by the server and rendering the at least one target assembly based on the display data;
the server is used for responding to the component acquisition request and sending the at least one target component to the display terminal.
10. The method according to any one of claims 1-5, wherein after determining presentation data corresponding to the user identifier based on the at least one target component and the presentation parameters of the at least one target component, the method further comprises:
displaying the presentation data in the configuration interface;
and responding to the display data updating operation in the configuration interface, replacing the display data with the updated display data, and displaying the updated display data in the configuration interface.
11. The method according to claim 10, wherein the presentation data includes layout information indicating a presentation position of the at least one target component in the presentation data and attribute information indicating a presentation style of the at least one target component;
the presentation data update operation includes at least one of updating the layout information, updating the attribute information, or updating a target component within the presentation data.
12. The method of claim 10, wherein in response to the presentation data update operation in the configuration interface, replacing the presentation data with updated presentation data and after displaying the updated presentation data in the configuration interface, the method further comprises:
sending the updated display data to a display terminal corresponding to the user identifier;
wherein the display terminal is configured to update the rendered at least one target component based on the updated display data.
13. A presentation data processing apparatus, the apparatus comprising:
the alternative component display module is configured to display at least one alternative component based on the configuration interface corresponding to the user identification;
a target component determination module configured to determine at least one target component selected in response to a component selection operation in the configuration interface;
a display parameter determination module configured to determine a display parameter of the at least one target component in response to a component editing operation in the configuration interface;
a presentation data determination module configured to determine presentation data corresponding to the user identifier based on the at least one target component and the presentation parameters of the at least one target component.
14. A terminal, characterized in that the terminal comprises a processor and a memory, in which at least one program code is stored, which is loaded and executed by the processor to implement the presentation data processing method according to any one of claims 1 to 12.
15. A computer-readable storage medium, in which at least one program code is stored, the program code being loaded and executed by a processor to implement a presentation data processing method according to any one of claims 1 to 12.
CN202111433567.4A 2021-11-29 2021-11-29 Display data processing method, device, terminal and storage medium Pending CN114138388A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111433567.4A CN114138388A (en) 2021-11-29 2021-11-29 Display data processing method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111433567.4A CN114138388A (en) 2021-11-29 2021-11-29 Display data processing method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN114138388A true CN114138388A (en) 2022-03-04

Family

ID=80389296

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111433567.4A Pending CN114138388A (en) 2021-11-29 2021-11-29 Display data processing method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114138388A (en)

Similar Documents

Publication Publication Date Title
CN112162671B (en) Live broadcast data processing method and device, electronic equipment and storage medium
CN107885533B (en) Method and device for managing component codes
CN108959361B (en) Form management method and device
CN109862412B (en) Method and device for video co-shooting and storage medium
CN111083526B (en) Video transition method and device, computer equipment and storage medium
CN110147503B (en) Information issuing method and device, computer equipment and storage medium
CN109618192B (en) Method, device, system and storage medium for playing video
CN111897465B (en) Popup display method, device, equipment and storage medium
CN111857793B (en) Training method, device, equipment and storage medium of network model
CN109783176B (en) Page switching method and device
CN111385525B (en) Video monitoring method, device, terminal and system
CN112381729B (en) Image processing method, device, terminal and storage medium
CN111008083B (en) Page communication method and device, electronic equipment and storage medium
CN111064657B (en) Method, device and system for grouping concerned accounts
CN112988254B (en) Method, device and equipment for managing hardware equipment
CN111580892B (en) Method, device, terminal and storage medium for calling service components
CN111275607A (en) Interface display method and device, computer equipment and storage medium
CN114143280B (en) Session display method and device, electronic equipment and storage medium
CN111369434B (en) Method, device, equipment and storage medium for generating spliced video covers
CN112732133B (en) Message processing method and device, electronic equipment and storage medium
CN114329292A (en) Resource information configuration method and device, electronic equipment and storage medium
CN113535039A (en) Method and device for updating page, electronic equipment and computer readable storage medium
CN113485596A (en) Virtual model processing method and device, electronic equipment and storage medium
CN113301422A (en) Method, terminal and storage medium for acquiring video cover
CN111010732A (en) Network registration method, device, electronic equipment and medium

Legal Events

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