Data display method and device, electronic equipment, storage medium and program product
By obtaining attribute data from the server, determining the layout of the display unit and the data end address, the flexibility and diversity of data display is achieved, and the problems of solidification and single form of display page content in the existing technology are solved, meeting the diversified needs of users of different business roles .
Patent Information
- Application Number
- CN202411288098.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-13
- Publication Date
- 2024-12-20
AI Technical Summary
The content of the existing data display page is solidified and the display form is single, which cannot meet the diverse data display needs of users of different business roles, resulting in the problem of wasting home page location and unrelated data.
By obtaining preset attribute data from the server, determining the layout of the display unit on the application end and the location distribution of the data end based on the attribute data, the flexible and diversified display of the display data is achieved, including obtaining display data, update notifications and periodic updates.
It realizes the personalized layout and content diversity of the display page, meets the data display needs of users of different business roles, and overcomes the problems of solidification and single form of display content.
Smart Images

Figure CN119166924A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing technology, and in particular to a data display method, device, electronic device, storage medium and program product. Background Art
[0002] The original data display page has fixed content, can only be configured with a few types of data, has a single display format, and can only be used by fixed users. As an important entry point for output viewing, it seriously wastes the homepage space. In addition, there are many users with other roles among the B-side users, and these users are concerned about different data. The content displayed on the homepage is not very useful to them. Summary of the invention
[0003] Embodiments of the present disclosure provide a data presentation method, device, electronic device, storage medium, and program product.
[0004] According to one aspect of an embodiment of the present disclosure, a data presentation method is provided, including:
[0005] Obtaining at least one preset attribute data from the server; wherein each of the attribute data corresponds to a display unit;
[0006] Determining a layout of a display page of at least one of the display units on the application side according to the attribute data;
[0007] Based on at least one of the display units, request at least one data terminal to obtain display data; wherein each of the display units corresponds to one of the data terminals;
[0008] The display data is input into the at least one display unit according to the attribute data, and the display data is displayed through the at least one display unit included in the display page.
[0009] Optionally, the attribute data includes layout information of the display unit;
[0010] The determining, according to the attribute data, a layout of a display page of at least one of the display units on the application side includes:
[0011] Determining the position distribution between the at least one display unit according to the layout information;
[0012] The at least one display unit is arranged in the display page according to the position distribution to complete the layout of the display page.
[0013] Optionally, the attribute data further includes a data terminal address corresponding to the display unit;
[0014] The requesting at least one data terminal to obtain display data based on at least one of the display units includes:
[0015] Determine the data end corresponding to the display unit according to the data end address corresponding to the display unit;
[0016] A data acquisition request is sent to the data terminal, and the display data is obtained according to the data acquisition request.
[0017] Optionally, the attribute data also includes style information of the display unit;
[0018] The step of inputting the display data into the at least one display unit according to the attribute data comprises:
[0019] Determining a data distribution format in the display unit according to the style information;
[0020] The display data is input into a corresponding position according to the data distribution format to obtain the display unit after the data is input.
[0021] Optionally, it also includes:
[0022] In response to a change in the display data in the data end, the data end sends a data update notification to the application end;
[0023] The application end obtains the changed display data from the data end according to the data update notification.
[0024] Optionally, it also includes:
[0025] According to the changed display data, the display unit corresponding to the data end where the data has been changed is changed so that the changed display data is displayed in the display unit.
[0026] Optionally, it also includes:
[0027] In response to reaching a preset period, the application end requests the at least one data end to obtain the display data at the current moment.
[0028] Optionally, before obtaining at least one preset attribute data from the server, the method further includes:
[0029] Obtaining unit-related information and unit-related protocols corresponding to at least one display unit to be displayed that needs to be configured from a database pre-stored with multiple unit-related information and a list library pre-stored with multiple unit-related protocols;
[0030] Based on the obtained unit-related information and unit-related protocol, the at least one attribute data corresponding to the at least one display unit to be displayed is determined.
[0031] According to another aspect of an embodiment of the present disclosure, there is provided a data display device, including:
[0032] An attribute data acquisition module, used to obtain at least one preset attribute data from a server; wherein each attribute data corresponds to a display unit;
[0033] A layout determination module, used to determine the layout of a display page of at least one of the display units on the application side according to the attribute data;
[0034] A data acquisition module, configured to request at least one data terminal to acquire display data based on at least one of the display units; wherein each of the display units corresponds to one of the data terminals;
[0035] The data display module is used to input the display data into the at least one display unit according to the attribute data, and display the display data through the at least one display unit included in the display page.
[0036] Optionally, the attribute data includes layout information of the display unit;
[0037] The layout determination module is specifically used to determine the position distribution between the at least one display unit according to the layout information; and to set the at least one display unit in the display page according to the position distribution to complete the layout of the display page.
[0038] Optionally, the attribute data further includes a data terminal address corresponding to the display unit;
[0039] The data acquisition module is specifically used to determine the data end corresponding to the display unit according to the data end address corresponding to the display unit; send a data acquisition request to the data end, and obtain the display data according to the data acquisition request.
[0040] Optionally, the attribute data also includes style information of the display unit;
[0041] The data display module is specifically used to determine the data distribution format in the display unit according to the style information; input the display data to the corresponding position according to the data distribution format, and obtain the display unit after the data is input.
[0042] Optionally, the device further comprises:
[0043] The data change module is used for sending a data update notification from the data end to the application end in response to a change in the display data in the data end; and the application end obtains the changed display data from the data end according to the data update notification.
[0044] Optionally, the data changing module is further configured to change the display unit corresponding to the data end where the data has been changed according to the changed display data, so that the changed display data is displayed in the display unit.
[0045] Optionally, the device further comprises:
[0046] The periodic updating module is used for, in response to reaching a preset period, the application end requests the at least one data end to obtain the display data at the current moment.
[0047] Optionally, the device further comprises:
[0048] A protocol configuration module, used to obtain unit-related information and unit-related protocols corresponding to at least one display unit to be displayed that needs to be configured from a database pre-stored with multiple unit-related information and a list library pre-stored with multiple unit-related protocols;
[0049] The attribute determination module is used to determine the at least one attribute data corresponding to the at least one display unit to be displayed based on the obtained unit related information and unit related protocol.
[0050] According to another aspect of the embodiments of the present disclosure, there is provided an electronic device, including:
[0051] a memory for storing a computer program product;
[0052] The processor is used to execute the computer program product stored in the memory, and when the computer program product is executed, the data display method described in any of the above embodiments is implemented.
[0053] According to another aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the data display method described in any of the above embodiments is implemented.
[0054] According to another aspect of the embodiments of the present disclosure, a computer program product is provided, including computer program instructions, which implement the data display method described in any of the above embodiments when executed by a processor.
[0055] Based on the data display method, device, electronic device, storage medium and program product provided by the above embodiments of the present disclosure, at least one preset attribute data is obtained from the server; wherein each of the attribute data corresponds to a display unit; the layout of the display page of at least one of the display units on the application side is determined according to the attribute data; based on at least one of the display units, at least one data side is requested to obtain the display data; wherein each of the display units corresponds to one of the data sides; the display data is input into the at least one display unit according to the attribute data, and the display data is displayed through at least one display unit included in the display page. The embodiment of the present disclosure presets the attribute data corresponding to the display unit through the server, and determines the layout of the display unit on the application side according to the attribute data, so as to realize the display of data according to the configured layout, and the embodiment of the present disclosure realizes the display of the display content on the display page in a flexible and diverse manner by setting at least one display unit in the display page, which overcomes the problems of solidified display content and single display form of the display page in the prior art.
[0056] The technical solution of the present disclosure is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0058] The present disclosure may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
[0059] Figure 1 is a flowchart of a data display method provided by an exemplary embodiment of the present disclosure;
[0060] Figure 2 This disclosure Figure 1 A schematic flow chart of step 104 in the embodiment shown;
[0061] Figure 3 This disclosure Figure 1 A schematic flow chart of step 106 in the embodiment shown;
[0062] Figure 4 This disclosure Figure 1 A schematic flow chart of step 108 in the embodiment shown;
[0063] Figure 5 is a structural schematic diagram of a data display device provided by an exemplary embodiment of the present disclosure;
[0064] Figure 6 A block diagram of an electronic device according to an embodiment of the present disclosure is illustrated. DETAILED DESCRIPTION
[0065] Below, the exemplary embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure, and it should be understood that the present disclosure is not limited to the exemplary embodiments described here.
[0066] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
[0067] Those skilled in the art can understand that the terms "first" and "second" in the embodiments of the present disclosure are only used to distinguish different steps, devices or modules, etc., and neither represent any specific technical meaning nor indicate the necessary logical order between them.
[0068] It should also be understood that in the embodiments of the present disclosure, “plurality” may refer to two or more than two, and “at least one” may refer to one, two, or more than two.
[0069] It should also be understood that any component, data or structure mentioned in the embodiments of the present disclosure can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.
[0070] In addition, the term "and / or" in this disclosure is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this disclosure generally indicates that the previous and next associated objects are in an "or" relationship. The data referred to in this disclosure may include unstructured data such as text, images, and videos, and may also be structured data.
[0071] It should also be understood that the description of the various embodiments in the present disclosure focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced to each other, and for the sake of brevity, they will not be described one by one.
[0072] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0073] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.
[0074] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.
[0075] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0076] The disclosed embodiments can be applied to electronic devices such as terminal devices, computer systems, servers, etc., which can operate with many other general or special computing system environments or configurations. Examples of well-known terminal devices, computing systems, environments and / or configurations suitable for use with electronic devices such as terminal devices, computer systems, servers, etc. include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, large computer systems, and distributed cloud computing technology environments including any of the above systems, etc.
[0077] Electronic devices such as terminal devices, computer systems, servers, etc. can be described in the general context of computer system executable instructions (such as program modules) executed by computer systems. Generally, program modules can include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. Computer systems / servers can be implemented in a distributed cloud computing environment, where tasks are performed by remote processing devices linked through a communication network. In a distributed cloud computing environment, program modules can be located on local or remote computing system storage media including storage devices.
[0078] Exemplary Methods
[0079] Figure 1 FIG. 1 is a flow chart of a data display method provided by an exemplary embodiment of the present disclosure. This embodiment can be applied to electronic devices, such as Figure 1 As shown, the following steps are included:
[0080] Step 102: Obtain at least one preset attribute data from a server.
[0081] Each attribute data corresponds to a display unit. Optionally, the attribute data in this embodiment is the embodiment of the attribute information corresponding to the display unit. For example, at least one attribute data may include but is not limited to at least one of the following: layout information of the display unit, data terminal address corresponding to the display unit, style information of the display unit, etc.
[0082] In this embodiment, due to the different needs corresponding to different application terminals, the number and content of the corresponding display units to be displayed are different. For example, in the real estate field, real estate agents have multiple business roles, such as, but not limited to: agents, store managers, business district managers, channel managers, photographers, bank account managers' homepages, etc. Different business roles need to display different data on the application side, but in the prior art, the same data is displayed to everyone; therefore, in response to diverse business management and reach demands, in this embodiment, different attribute data are preset in the server according to the different needs of different application terminals, so as to display the required data on different application terminals.
[0083] Step 104: determine the layout of the display page of at least one display unit on the application side according to the attribute data.
[0084] In one embodiment, different application terminals not only correspond to different display units, but also have different requirements for the distribution of at least one display unit in the display page. For example, the layout information of the display unit in the attribute data stipulates that the display unit of important information is displayed at the top, and the display unit of unimportant information is displayed at the lower end, etc. For another example, the layout information of the display unit in the attribute data stipulates that different display areas are allocated to different display units according to their importance. For another example, the layout information of the display unit in the attribute data stipulates that a larger area is allocated to the display unit of important information, and a smaller area is allocated to the display unit of unimportant information, so that users of the application terminal can better view the required information; that is, this embodiment realizes the configuration of the display pages of different application terminals and realizes personalized display page layout by setting the position and size of at least one display unit in the display page differently.
[0085] Step 106: Request at least one data terminal to obtain display data based on at least one display unit.
[0086] Among them, each display unit corresponds to a data terminal.
[0087] Optionally, the display units in this embodiment are independent of each other, and each display unit obtains corresponding display data from its corresponding data terminal. When a problem occurs in the data of any display unit, it does not affect the display data of other display units.
[0088] Step 108: input the display data into at least one display unit according to the attribute data, and display the display data through at least one display unit included in the display page.
[0089] After obtaining the display data, this embodiment configures how to display the display data in the display unit by configuring the attribute data, so that the display data in the display unit is distributed according to its corresponding attribute data, thereby realizing personalized data display in different display units.
[0090] The data display method provided in the above embodiment of the present disclosure obtains at least one preset attribute data from the server; wherein each of the attribute data corresponds to a display unit; the layout of the display page of at least one of the display units on the application side is determined according to the attribute data; based on at least one of the display units, at least one data side is requested to obtain the display data; wherein each of the display units corresponds to one of the data sides; the display data is input into the at least one display unit according to the attribute data, and the display data is displayed through at least one display unit included in the display page. The embodiment of the present disclosure presets the attribute data corresponding to the display unit through the server, and determines the layout of the display unit on the application side according to the attribute data, thereby realizing the display of data according to the configured layout, and the embodiment of the present disclosure realizes the display of the display content on the display page in a flexible and diverse manner by setting at least one display unit in the display page, thereby overcoming the problems of the display content being solidified and the single display form of the display page in the prior art.
[0091] like Figure 2 As shown in the above Figure 1 Based on the illustrated embodiment, step 104 may include the following steps:
[0092] Step 1041: Determine the position distribution between at least one display unit according to the layout information.
[0093] Among them, the attribute data includes layout information of the display unit; optionally, the display page is used to display at least one display unit. At this time, there is a position distribution relationship between at least one display unit. How to reasonably display the display units is a technical problem to be solved in this embodiment. In this embodiment, the position distribution between at least one display unit is pre-configured into the configuration data in the server according to the needs of the application end, so that the position distribution of at least one display unit corresponding to the application end meets the needs of the application end.
[0094] Step 1042: arrange at least one display unit in the display page according to the position distribution to complete the layout of the display page.
[0095] In this embodiment, the distribution between display units is pre-configured according to the different requirements of different application terminals for display units, which solves the problem of different display requirements of different application terminals, as well as the diverse business management and contact demands, and realizes a set of multi-business roles, refined cards, and configurable multi-business dimension card lists. Through pre-embedded capabilities, low-code forms, and combined with the sass (Syntactically Awesome Stylesheets) configuration platform. This embodiment abstracts a set of backend configuration, front-end display, and card-based display methods for displaying data.
[0096] like Figure 3 As shown in the above Figure 1 Based on the illustrated embodiment, step 106 may include the following steps:
[0097] Step 1061, determining the data end corresponding to the display unit according to the data end address corresponding to the display unit.
[0098] The attribute data also includes the data terminal address corresponding to the display unit. In this embodiment, the data terminal corresponding to each display unit is preset in the server, that is, the display unit only pulls data from the corresponding data terminal address, so that each display unit is independent of each other and does not interfere with each other, providing more reliable data display.
[0099] Step 1062: Send a data acquisition request to the data terminal, and obtain display data according to the data acquisition request.
[0100] In this embodiment, the data end corresponding to each display unit is determined according to the preset attribute data. When it is necessary to obtain the display data corresponding to the display unit, each display unit initiates a data acquisition request to the corresponding data end, and the corresponding data end feeds back the corresponding display data according to the data acquisition request. In this embodiment, the data in each data end may be different. For example, different data ends are different business party backends. Optionally, the display unit may request data such as the URL.
[0101] like Figure 4 As shown in the above Figure 1 Based on the illustrated embodiment, step 108 may include the following steps:
[0102] Step 1081, determining the data distribution format in the display unit according to the style information.
[0103] Among them, the attribute data also includes style information of the display unit; since the data to be displayed in each display unit is different, different data has different display requirements, therefore, different display units correspond to different style information. In this embodiment, the style information is preset through the server, so that the display unit can directly install the corresponding style information after obtaining the corresponding display data to determine the data distribution format of the display data.
[0104] Step 1082: input the display data to the corresponding position according to the data distribution format to obtain the display unit after the data is input.
[0105] In this embodiment, the trigger condition for obtaining the attribute data may be when the application corresponding to at least one display unit on the application side starts to start or needs to be displayed; for example, the application corresponding to the application side pulls the attribute data configured by the server under the trigger conditions such as cold start, pull-down refresh, and IM service instant notification. The attribute data contains style information, and the style information determines the display method of the display data in the corresponding display unit, such as distribution and font; after the attribute data is sent, the display unit framework (for example, the card framework) pulls the business data of different display units respectively, and finally displays the combined data on the card on the homepage of the application side. In addition, based on the layout information of the display unit in the attribute data, when the application side display page is insufficient, some display units can be hidden according to the layout information.
[0106] Based on any of the above embodiments, for display units with high requirements for immediacy, refreshing data is also a very important capability. Therefore, the capability of the IM service can be used to send data update notifications to the application side in real time through data changes on the data side to complete the data refresh request. For data refresh, the data side can refresh the data in a single display unit, or all display units included in the application side can be refreshed together. Optionally, the implementation of the refresh may include:
[0107] In response to changes in the display data in the data end, the data end sends a data update notification to the application end.
[0108] The application side obtains the changed display data from the data side according to the data update notification.
[0109] In this embodiment, since the display data in the display unit comes from the data end, when the data in the data end (corresponding to the display data) changes, for business scenarios with high real-time requirements, it is necessary to synchronize the changed data with the application end. In this embodiment, the data end where the data change occurs sends a data update notification to the application end. Optionally, the data update notification can be sent to the application end based on an instant message (IM message). The display unit corresponding to the data end in the application end makes a data update request based on the data change notification, obtains the updated display data from the data end, and realizes the update request of the display data in the display unit.
[0110] After obtaining the changed display data, it can also include:
[0111] According to the changed display data, the display unit corresponding to the data end where the data has been changed is changed so that the changed display data is displayed in the display unit.
[0112] After the display unit obtains the changed display data, the changed display data may be displayed according to the corresponding style information.
[0113] In some other optional embodiments, the method provided in this embodiment may further include:
[0114] In response to reaching a preset period, the application end requests at least one data end to obtain the display data at the current moment.
[0115] In addition to being updated according to the instant message sent by the data end, the display data in the display unit provided in the present embodiment can also be updated uniformly and regularly according to a preset period for display data in at least one display unit in the data end. The preset period can be set according to a specific application scenario. For example, the preset period is 1 day. At this time, at 0:00 of 1 day, each display unit in the application end actively initiates a data request to the corresponding data end to obtain the corresponding display data in the data end at the current moment, thereby realizing regular updating of the data in the display unit.
[0116] In some optional embodiments, before obtaining at least one preset attribute data from the server, the method further includes:
[0117] The unit-related information and the unit-related protocol corresponding to at least one display unit to be displayed that needs to be configured are obtained from a database pre-storing a plurality of unit-related information and a list library pre-storing a plurality of unit-related protocols.
[0118] Among them, the unit-related information includes at least one of the unit identification (for example, unit ID, etc.), unit type and unit model; the unit-related protocols include at least one of the list protocol, list monitoring protocol, unit life cycle protocol, unit layout protocol and unit exception control protocol.
[0119] Optionally, by obtaining the unit-related information and unit-related protocols that need to be configured, personalized settings based on user needs are implemented, and different display unit configurations and different layout displays are displayed to application terminals corresponding to different users according to the settings of different users.
[0120] Based on the obtained unit-related information and unit-related protocol, at least one attribute data corresponding to at least one display unit to be displayed is determined.
[0121] In this embodiment, the list protocol in the unit-related protocol involved may include but is not limited to at least one of the following: number of unit rows, row height, reused view, pull-down refresh, pull-up load, etc.; the list monitoring protocol includes but is not limited to at least one of the following: scroll event, exposure event, etc.; the unit life cycle protocol includes but is not limited to at least one of the following: unit initialization, unitized container to be displayed, hidden, etc.; the unit layout protocol includes but is not limited to at least one of the following: unit style, head, tail, spacing, hover effect, etc.; the unit abnormality control protocol includes but is not limited to at least one of the following: unit error, unit no data hiding, etc. Based on the above protocol, the setting of unit-related information is implemented, and the combination of the obtained unit-related information and unit-related protocol can help complete the relevant operations of the list. In addition, it also includes a container controller to realize the distribution of all attribute data to different application terminals, and monitor the life cycle display of the display unit corresponding to each attribute data, the status of different nodes (the status may include operation or non-operation, etc.), disappearance, etc. In this embodiment, the determination of attribute data can be implemented on a server (for example, Sass, Syntactically Awesome Stylesheets framework, etc.).
[0122] Any data display method provided in the embodiments of the present disclosure may be executed by any appropriate device with data processing capabilities, including but not limited to: a terminal device and a server, etc. Alternatively, any data display method provided in the embodiments of the present disclosure may be executed by a processor, such as the processor executing any data display method mentioned in the embodiments of the present disclosure by calling corresponding instructions stored in a memory. This will not be described in detail below.
[0123] Exemplary Devices
[0124] Figure 5 Schematic diagram of the structure of a data display device provided by an exemplary embodiment of the present disclosure. Figure 5 As shown, the device provided in this embodiment includes:
[0125] The attribute data obtaining module 51 is used to obtain at least one preset attribute data from a server.
[0126] Each attribute data corresponds to a display unit.
[0127] A layout determination module 52, configured to determine the layout of a display page of at least one of the display units on the application side according to the attribute data;
[0128] A data acquisition module 53, configured to request at least one data terminal to acquire display data based on at least one of the display units; wherein each of the display units corresponds to one of the data terminals;
[0129] The data display module 54 is used to input the display data into the at least one display unit according to the attribute data, and display the display data through the at least one display unit included in the display page.
[0130] The data display device provided in the above embodiment of the present disclosure obtains at least one preset attribute data from the server; wherein each of the attribute data corresponds to a display unit; determines the layout of the display page of at least one of the display units on the application side according to the attribute data; requests at least one data side to obtain the display data based on at least one of the display units; wherein each of the display units corresponds to one of the data sides; inputs the display data into the at least one display unit according to the attribute data, and displays the display data through at least one display unit included in the display page. The embodiment of the present disclosure presets the attribute data corresponding to the display unit through the server, and determines the layout of the display unit on the application side according to the attribute data, thereby realizing the display of data according to the configured layout, and the embodiment of the present disclosure realizes the display of the display content on the display page in a flexible and diverse manner by setting at least one display unit in the display page, thereby overcoming the problems of solidified display content and single display form of the display page in the prior art.
[0131] In some optional embodiments, the attribute data includes layout information of the display unit;
[0132] The layout determination module 52 is specifically used to determine the position distribution between at least one display unit according to the layout information; and to set at least one display unit in the display page according to the position distribution to complete the layout of the display page.
[0133] In some optional embodiments, the attribute data also includes a data terminal address corresponding to the display unit;
[0134] The data acquisition module 53 is specifically used to determine the data end corresponding to the display unit according to the data end address corresponding to the display unit; send a data acquisition request to the data end, and obtain display data according to the data acquisition request.
[0135] In some optional embodiments, the attribute data also includes style information of the display unit;
[0136] The data display module 54 is specifically used to determine the data distribution format in the display unit according to the style information; input the display data to the corresponding position according to the data distribution format, and obtain the display unit after the data is input.
[0137] In some optional embodiments, the device provided in this embodiment may further include:
[0138] The data change module is used to respond to changes in the display data in the data end, and the data end sends a data update notification to the application end; the application end obtains the changed display data from the data end according to the data update notification.
[0139] Optionally, the data changing module is further used to change the display unit corresponding to the data end where the data has been changed according to the changed display data, so that the changed display data is displayed in the display unit.
[0140] In some other optional embodiments, the device provided in this embodiment may further include:
[0141] The periodic updating module is used for, in response to reaching a preset period, the application end requests at least one data end to obtain the display data at the current moment.
[0142] In some optional embodiments, the device provided in this embodiment may further include:
[0143] A protocol configuration module, used to obtain unit-related information and unit-related protocols corresponding to at least one display unit to be displayed that needs to be configured from a database pre-stored with multiple unit-related information and a list library pre-stored with multiple unit-related protocols;
[0144] The attribute determination module is used to determine at least one attribute data corresponding to at least one display unit to be displayed based on the obtained unit related information and unit related protocol.
[0145] Exemplary Electronic Devices
[0146] Below, reference Figure 6 The electronic device according to the embodiment of the present disclosure is described. The electronic device may be any one or both of the first device and the second device, or a stand-alone device independent of them, and the stand-alone device may communicate with the first device and the second device to receive the collected input signals from them.
[0147] Figure 6 A block diagram of an electronic device according to an embodiment of the present disclosure is illustrated.
[0148] like Figure 6As shown, the electronic device includes one or more processors and memory.
[0149] The processor may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.
[0150] The memory may store one or more computer program products, and the memory may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, etc. One or more computer program products may be stored on the computer-readable storage medium, and the processor may run the computer program product to implement the data display method of each embodiment of the present disclosure described above and / or other desired functions.
[0151] In one example, the electronic device may further include: an input device and an output device, and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0152] In addition, the input device may also include, for example, a keyboard, a mouse, and the like.
[0153] The output device can output various information to the outside, including determined distance information, direction information, etc. The output device can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.
[0154] Of course, to simplify, Figure 6 Only some of the components related to the present disclosure in the electronic device are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device may further include any other appropriate components.
[0155] In addition to the above-mentioned methods and devices, an embodiment of the present disclosure may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the data display method according to various embodiments of the present disclosure described in the above part of this specification.
[0156] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0157] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, enables the processor to execute the steps of the data display method according to various embodiments of the present disclosure described in the above part of this specification.
[0158] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0159] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limitations. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.
[0160] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0161] The block diagrams of the devices, apparatuses, equipment, and systems involved in this disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including," "comprising," "having," and the like are open words, referring to "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or," and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.
[0162] The method and apparatus of the present disclosure may be implemented in many ways. For example, the method and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present disclosure may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present disclosure. Therefore, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
[0163] It should also be noted that in the apparatus, device and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.
[0164] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
[0165] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A data display method, characterized in that: include: Obtaining at least one preset attribute data from the server; wherein each of the attribute data corresponds to a display unit; Determining a layout of a display page of at least one of the display units on the application side according to the attribute data; Based on at least one of the display units, request at least one data terminal to obtain display data; wherein each of the display units corresponds to one of the data terminals; The display data is input into the at least one display unit according to the attribute data, and the display data is displayed through the at least one display unit included in the display page.
2. The method according to claim 1, characterized in that: The attribute data includes layout information of the display unit; The determining, according to the attribute data, a layout of a display page of at least one of the display units on the application side includes: Determining the position distribution between the at least one display unit according to the layout information; The at least one display unit is arranged in the display page according to the position distribution to complete the layout of the display page.
3. The method according to claim 1 or 2, characterized in that: The attribute data also includes the data terminal address corresponding to the display unit; The requesting at least one data terminal to obtain display data based on at least one of the display units includes: Determine the data end corresponding to the display unit according to the data end address corresponding to the display unit; A data acquisition request is sent to the data terminal, and the display data is obtained according to the data acquisition request.
4. The method according to any one of claims 1 to 3, characterized in that: The attribute data also includes style information of the display unit; The step of inputting the display data into the at least one display unit according to the attribute data comprises: Determining a data distribution format in the display unit according to the style information; The display data is input into a corresponding position according to the data distribution format to obtain the display unit after the data is input.
5. The method according to any one of claims 1 to 4, characterized in that: Also includes: In response to a change in the display data in the data end, the data end sends a data update notification to the application end; The application end obtains the changed display data from the data end according to the data update notification.
6. The method according to claim 5, characterized in that Also includes: According to the changed display data, the display unit corresponding to the data end where the data has been changed is changed so that the changed display data is displayed in the display unit.
7. The method according to any one of claims 1 to 6, characterized in that: Also includes: In response to reaching a preset period, the application end requests the at least one data end to obtain the display data at the current moment.
8. The method according to any one of claims 1 to 7, characterized in that: Before obtaining at least one preset attribute data from the server, the method further includes: Obtaining unit-related information and unit-related protocols corresponding to at least one display unit to be displayed that needs to be configured from a database pre-stored with multiple unit-related information and a list library pre-stored with multiple unit-related protocols; Based on the obtained unit-related information and unit-related protocol, the at least one attribute data corresponding to the at least one display unit to be displayed is determined.
9. A data display device, characterized in that: include: An attribute data acquisition module, used to obtain at least one preset attribute data from a server; wherein each attribute data corresponds to a display unit; A layout determination module, used to determine the layout of a display page of at least one of the display units on the application side according to the attribute data; A data acquisition module, configured to request at least one data terminal to acquire display data based on at least one of the display units; wherein each of the display units corresponds to one of the data terminals; The data display module is used to input the display data into the at least one display unit according to the attribute data, and display the display data through the at least one display unit included in the display page.
10. An electronic device, characterized in that: include: A memory for storing a computer program product; A processor is used to execute the computer program product stored in the memory, and when the computer program product is executed, the data display method described in any one of claims 1 to 8 is implemented.
11. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the data display method described in any one of claims 1 to 8 is implemented.
12. A computer program product comprising computer program instructions, characterized in that When the computer program instructions are executed by a processor, the data display method described in any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Page layout adjustment method and device, page layout display method and device , storage medium and terminal
CN109165066A
Page display method and system
CN110020388A
Interface generation method and device, electronic equipment and computer storage medium
CN111240669A
Page display control method and device, storage medium and electronic equipment
CN113094136A
Page display method and device, equipment and medium
CN115329232A
