CN111026980A - Data display method and device, electronic equipment and computer readable storage medium - Google Patents

Data display method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN111026980A
CN111026980A CN201910810527.3A CN201910810527A CN111026980A CN 111026980 A CN111026980 A CN 111026980A CN 201910810527 A CN201910810527 A CN 201910810527A CN 111026980 A CN111026980 A CN 111026980A
Authority
CN
China
Prior art keywords
data
display
displayed
information
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
CN201910810527.3A
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.)
Rajax Network Technology Co Ltd
Original Assignee
Rajax Network 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 Rajax Network Technology Co Ltd filed Critical Rajax Network Technology Co Ltd
Priority to CN201910810527.3A priority Critical patent/CN111026980A/en
Publication of CN111026980A publication Critical patent/CN111026980A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Abstract

The embodiment of the disclosure discloses a data display method, a data display device, an electronic device and a computer readable storage medium, wherein the data display method comprises the following steps: acquiring data to be displayed and display annotation information corresponding to the data to be displayed, wherein the display annotation information is used for representing a preset display condition of the data to be displayed; determining target display conditions, and determining data to be displayed corresponding to the preset display conditions as target display data when the target display conditions are matched with the preset display conditions; and displaying the target display data. According to the technical scheme, the display conditions of the data to be displayed can be automatically matched, the data to be displayed is automatically determined and displayed, the difficulty of maintaining and managing the application program is greatly reduced, the accuracy and the working efficiency of maintaining and managing the application program are improved, and the labor cost is saved.

Description

Data display method and device, electronic equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of information processing technologies, and in particular, to a data display method and apparatus, an electronic device, and a computer-readable storage medium.
Background
With the development of internet technology, more and more merchants or service providers provide services for users through internet applications, and in order to improve the provided services, the merchants or service providers usually update and release different versions of application programs frequently. However, the amount of data related to the application is very large, the data structure is also very complex, and updating and upgrading of the application usually bring about discarding, updating or adding of some data or fields, which increases great difficulty for maintenance and management of the application.
Disclosure of Invention
The embodiment of the disclosure provides a data display method and device, electronic equipment and a computer-readable storage medium.
In a first aspect, an embodiment of the present disclosure provides a data display method.
Specifically, the data display method includes:
acquiring data to be displayed and display annotation information corresponding to the data to be displayed, wherein the display annotation information is used for representing a preset display condition of the data to be displayed;
determining target display conditions, and determining data to be displayed corresponding to the preset display conditions as target display data when the target display conditions are matched with the preset display conditions;
and displaying the target display data.
With reference to the first aspect, in a first implementation manner of the first aspect, the display annotation information includes one or more of the following information: version display information, hierarchy display information, mode display information, time display information.
With reference to the first aspect and the first implementation manner of the first aspect, in a second implementation manner of the first aspect, before the acquiring the data to be displayed and the display annotation information corresponding to the data to be displayed, the method further includes:
and determining data to be displayed, and correspondingly setting display annotation information for the data to be displayed.
With reference to the first aspect, the first implementation manner of the first aspect, and the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the determining data to be displayed and setting display annotation information for the data to be displayed includes:
determining data to be displayed;
acquiring attribute information of the data to be displayed;
and correspondingly setting display annotation information for the data to be displayed according to the attribute information of the data to be displayed.
With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, and the third implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the obtaining data to be displayed and display annotation information corresponding to the data to be displayed includes:
responding to a received data display request sent by a data display requesting party, and acquiring the data to be displayed;
and determining display annotation information corresponding to the data to be displayed according to the corresponding relation between the data to be displayed and the display annotation information.
With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, the third implementation manner of the first aspect, and the fourth implementation manner of the first aspect, in a fifth implementation manner of the first aspect, the determining a target display condition is implemented as:
determining target display attribute information according to the data display requester information and the data display request information;
and determining the target display condition according to the target display attribute information.
In a second aspect, a data display device is provided in embodiments of the present disclosure.
Specifically, the data display device includes:
the display device comprises an acquisition module, a display module and a display module, wherein the acquisition module is configured to acquire data to be displayed and display annotation information corresponding to the data to be displayed, and the display annotation information is used for representing a preset display condition of the data to be displayed;
the determining module is configured to determine a target display condition and determine data to be displayed corresponding to the preset display condition as target display data when the target display condition is matched with the preset display condition;
a display module configured to display the target display data.
With reference to the second aspect, the present disclosure provides in a first implementation manner of the second aspect, the display annotation information includes one or more of the following information: version display information, hierarchy display information, mode display information, time display information.
With reference to the second aspect and the first implementation manner of the second aspect, in a second implementation manner of the second aspect, the obtaining module further includes:
the setting module is configured to determine data to be displayed and correspondingly set display annotation information for the data to be displayed.
With reference to the second aspect, the first implementation manner of the second aspect, and the second implementation manner of the second aspect, in a third implementation manner of the second aspect, the setting module includes:
a first determination submodule configured to determine data to be displayed;
the first obtaining submodule is configured to obtain attribute information of the data to be displayed;
and the setting submodule is configured to correspondingly set display annotation information for the data to be displayed according to the attribute information of the data to be displayed.
With reference to the second aspect, the first implementation manner of the second aspect, the second implementation manner of the second aspect, and the third implementation manner of the second aspect, in a fourth implementation manner of the second aspect of the present disclosure, the obtaining module includes:
the second obtaining submodule is configured to respond to a received data display request sent by a data display requesting party and obtain the data to be displayed;
and the second determining submodule is configured to determine display annotation information corresponding to the data to be displayed according to the corresponding relation between the data to be displayed and the display annotation information.
With reference to the second aspect, the first implementation manner of the second aspect, the second implementation manner of the second aspect, the third implementation manner of the second aspect, and the fourth implementation manner of the second aspect, in a fifth implementation manner of the second aspect of the present disclosure, the target display condition determining portion in the determining module is configured to:
determining target display attribute information according to the data display requester information and the data display request information;
and determining the target display condition according to the target display attribute information.
In a third aspect, the disclosed embodiments provide an electronic device, including a memory and a processor, where the memory is configured to store one or more computer instructions, where the one or more computer instructions are executed by the processor to implement the method steps of the data display method in the first aspect.
In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium for storing computer instructions for a data display apparatus, where the computer instructions include computer instructions for executing the data display method in the first aspect to the data display apparatus.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the technical scheme, the data to be displayed is annotated with the preset display condition information, so that when the preset display condition meets the requirement of the target display condition, the related data is displayed. According to the technical scheme, the display conditions of the data to be displayed can be automatically matched, the data to be displayed is automatically determined and displayed, the difficulty of maintaining and managing the application program is greatly reduced, the accuracy and the working efficiency of maintaining and managing the application program are improved, and the labor cost is saved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
Other features, objects, and advantages of the present disclosure will become more apparent from the following detailed description of non-limiting embodiments when taken in conjunction with the accompanying drawings. In the drawings:
FIG. 1 shows a flow diagram of a data display method according to an embodiment of the present disclosure;
FIG. 2 shows a flow diagram of a data display method according to another embodiment of the present disclosure;
fig. 3 illustrates a flowchart of step S201 of the data display method according to the embodiment illustrated in fig. 2;
fig. 4 illustrates a flowchart of step S101 of the data display method according to the embodiment illustrated in fig. 1;
fig. 5 illustrates a block diagram of a data display device according to an embodiment of the present disclosure;
fig. 6 illustrates a block diagram of a data display device according to another embodiment of the present disclosure;
FIG. 7 is a block diagram showing the configuration of a setup module 601 of the data display apparatus according to the embodiment shown in FIG. 6;
fig. 8 is a block diagram showing the configuration of an acquisition module 501 of the data display apparatus according to the embodiment shown in fig. 5;
FIG. 9 shows a block diagram of an electronic device according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of a computer system suitable for implementing a data display method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. Also, for the sake of clarity, parts not relevant to the description of the exemplary embodiments are omitted in the drawings.
In the present disclosure, it is to be understood that terms such as "including" or "having," etc., are intended to indicate the presence of the disclosed features, numbers, steps, behaviors, components, parts, or combinations thereof, and are not intended to preclude the possibility that one or more other features, numbers, steps, behaviors, components, parts, or combinations thereof may be present or added.
It should be further noted that the embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
According to the technical scheme provided by the embodiment of the disclosure, the data to be displayed is annotated with the preset display condition information, so that when the preset display condition meets the requirement of the target display condition, the related data is displayed. According to the technical scheme, the display conditions of the data to be displayed can be automatically matched, the data to be displayed is automatically determined and displayed, the difficulty of maintaining and managing the application program is greatly reduced, the accuracy and the working efficiency of maintaining and managing the application program are improved, and the labor cost is saved.
Fig. 1 shows a flowchart of a data display method according to an embodiment of the present disclosure, which may be applied to a server side. As shown in fig. 1, the data display method includes the following steps S101 to S103:
in step S101, data to be displayed and display annotation information corresponding to the data to be displayed are obtained, where the display annotation information is used to represent a preset display condition of the data to be displayed;
in step S102, determining a target display condition, and determining data to be displayed corresponding to the preset display condition as target display data when the target display condition matches the preset display condition;
in step S103, the target display data is displayed.
As mentioned above, with the development of internet technology, more and more merchants or service providers provide services to users through internet applications, and in order to improve the provided services, merchants or service providers often update and release different versions of applications. However, the amount of data related to the application is very large, the data structure is also very complex, and updating and upgrading of the application usually bring about discarding, updating or adding of some data or fields, which increases great difficulty for maintenance and management of the application.
In view of the above-mentioned drawbacks, in this embodiment, a data display method is proposed, which displays relevant data when a preset display condition satisfies a target display condition requirement by performing annotation of preset display condition information on data to be displayed. According to the technical scheme, the display conditions of the data to be displayed can be automatically matched, the data to be displayed is automatically determined and displayed, the difficulty of maintaining and managing the application program is greatly reduced, the accuracy and the working efficiency of maintaining and managing the application program are improved, and the labor cost is saved.
In an optional implementation manner of this embodiment, the data to be displayed refers to data stored in the application database and possibly displayed for normal operation of the application, such as order data, for example, order generation time, order dispatch time, order completion time, order number, order content, order amount, order preference information, order payment information, and the like; user data such as user historical order information, user attention information, user browsing information, user after-sales information, user evaluation information, user credit information, user asset information, and the like; or the data fields corresponding to the information such as order generation time, order delivery time, order completion time, order numbers, order contents, order money, order preference information, order payment information, user historical order information, user attention information, user browsing information, user after-sales information, user evaluation information, user credit information, user asset information and the like.
In an optional implementation manner of this embodiment, the display annotation information corresponding to the data to be displayed is used to represent a preset display condition of the data to be displayed, that is, when the data needs to be displayed. Wherein the preset display condition may include one or more of the following conditions: the display method comprises the following steps that (1) the versions, display levels, preset display modes, display time requirements and the like of an application program are achieved, for example, some data are limited to be displayed on one display level in one or more versions, wherein the display levels refer to link levels of the application program, for example, a home page of the application program is a first display level, and a page, which is clicked to jump, of the home page is a second display level; for example, some data is not displayed in some preset display modes and is displayed in other preset display modes, where the preset display modes refer to display modes customized for some activities or some subjects; as another example, some data is displayed for a certain period of time and not displayed for another period of time. Thus, the display annotation information may include one or more of the following: version display information, hierarchy display information, mode display information, time display information, and the like.
Taking the data to be displayed as the data field and the preset display condition as the application version as an example, if the limitations of the data fields a-D are only displayed in the application versions 2.0.0-2.4.5, the limitations of the data fields E-G are only displayed in the application versions 2.3.1-2.6.8, and the limitations of the data fields H-K are only displayed in the application versions 2.6.0-2.7.6, then if the version of the application currently displaying the data is 2.1.1, only the data fields a-D are displayed, if the version of the application currently displaying the data is 2.3.8, the data fields a-D and the data fields E-G are displayed, if the version of the application currently displaying the data is 2.6.5, the data field E-G and the data field H-K are displayed and only the data field H-K is displayed if the version of the application program currently displaying the data is 2.7.2.
Taking data to be displayed as a data field and a preset display condition as a preset display mode as an example, if the data field A-C is limited to be displayed only in the display mode 1 corresponding to the promotion activity 1, the data field D-G is limited to be displayed in the display mode 1 corresponding to the promotion activity 1 and the display mode 2 corresponding to the promotion activity 2, and the data field H-K is limited to be displayed only in the display mode 3 corresponding to the promotion activity 3, then if the application program of the currently displayed data is in the display mode 1, the data field A-C and the data field D-G are displayed, if the application program of the currently displayed data is in the display mode 2, the data field D-G is displayed only, and if the application program of the currently displayed data is in the display mode 3, the data field H-K is displayed only.
And subsequently, when the target display condition in the display task is matched with the preset display condition, determining that the data to be displayed corresponding to the preset display condition is displayed.
Wherein the target display condition refers to a data display condition determined according to a current data display requirement, and similar to the preset display condition, the target display condition may include one or more of the following conditions: application version, display hierarchy, display mode, display time requirements, and the like.
Similar to the above example, taking the data to be displayed as the data field and the target display condition as the application version as an example, assuming that the preset display conditions of the data to be displayed are: the data fields A-D are limited to be displayed only in the application versions 2.0.0-2.4.5, the data fields E-G are limited to be displayed only in the application versions 2.3.1-2.6.8, the data fields H-K are limited to be displayed only in the application versions 2.6.0-2.7.6, and if the target display condition is specifically the application version 2.6.5, the target display condition is compared with the previously preset display condition to find the data fields which can be displayed in the application version 2.6.5: and determining the data fields E-G and H-K as target display data to display.
Taking the data to be displayed as a data field and the target display condition as a display mode as an example, assuming that the preset display condition of the data to be displayed is as follows: the data fields A-C are limited to be displayed in a display mode 1 corresponding to the promotion activity 1, the data fields D-G are limited to be displayed in a display mode 1 corresponding to the promotion activity 1 and a display mode 2 corresponding to the promotion activity 2, the data fields H-K are limited to be displayed in a display mode 3 corresponding to the promotion activity 3, if the target display condition is specifically the display mode 2, the target display condition is compared with the preset display condition, and the data fields which can be displayed in the display mode 2 are found: and D-G, and then determining the D-G as the target display data to display.
In an optional implementation manner of this embodiment, before the step S101 of acquiring the data to be displayed and the display comment information corresponding to the data to be displayed, the method further includes a step of determining the data to be displayed and setting display comment information for the data to be displayed, that is, as shown in fig. 2, the method includes the following steps S201 to S204:
in step S201, determining data to be displayed, and setting display comment information for the data to be displayed correspondingly;
in step S202, data to be displayed and display annotation information corresponding to the data to be displayed are obtained, where the display annotation information is used to represent a preset display condition of the data to be displayed;
in step S203, determining a target display condition, and determining data to be displayed corresponding to the preset display condition as target display data when the target display condition matches the preset display condition;
in step S204, the target display data is displayed.
In order to accurately determine data which needs to be displayed and should be displayed and facilitate maintenance and management of the data, in the embodiment, data to be displayed is determined first, display annotation information is set correspondingly for the data to be displayed, a corresponding relation between the data to be displayed and the display annotation information is generated, and then the display annotation information corresponding to the data to be displayed can be determined according to the corresponding relation between the data to be displayed and the display annotation information after the data to be displayed is determined.
In an optional implementation manner of the embodiment, the annotation information may be set by manual tagging or automatic tagging according to historical operating data, for example, a historical display limiting condition of a certain data is determined according to historical display information of the certain data, and then annotation information corresponding to the certain data is generated according to the historical display limiting condition. For example, if it can be determined from the historical display information that the data fields a-D are allowed to be displayed only in the application versions 2.0.0-2.4.5, but are restricted from being displayed in other application versions, the annotation information corresponding to the data fields a-D can be written as: data fields a-D are what application versions 2.0.0-2.4.5 need to be displayed.
In an optional implementation manner of this embodiment, as shown in fig. 3, the step S201, that is, the step of determining data to be displayed and correspondingly setting display comment information for the data to be displayed, includes the following steps S301 to S303:
in step S301, data to be displayed is determined;
in step S302, attribute information of the data to be displayed is acquired;
in step S303, display comment information is correspondingly set for the data to be displayed according to the attribute information of the data to be displayed.
In order to improve the accuracy of the comment information, in the present embodiment, the display comment information is set by acquiring attribute information of data to be displayed. Wherein the attribute information of the data to be displayed may include one or more of the following information: data generation time, data display hierarchy information, version information of the application program at the time of data display, display mode information of the application program at the time of data display, and the like.
In an optional implementation manner of this embodiment, as shown in fig. 4, the step S101, namely acquiring data to be displayed and display comment information corresponding to the data, includes the following steps S401 to S402:
in step S401, in response to receiving a data display request sent by a data display requesting party, acquiring the data to be displayed;
in step S402, display annotation information corresponding to the data to be displayed is determined according to a corresponding relationship between the data to be displayed and the display annotation information.
As mentioned above, the data to be displayed refers to data stored in the application database and possibly displayed for normal operation of the application, the display annotation information corresponding to the data to be displayed is used to represent the preset display condition of the data to be displayed, that is, when the data needs to be displayed, and there is a corresponding relationship between the data to be displayed and the display annotation information. Therefore, after a data display request sent by a data display requesting party is received, the data to be displayed, which is stored in the application program database and is possibly displayed, can be obtained, and the display annotation information corresponding to the data to be displayed is further obtained according to the corresponding relation between the data to be displayed and the display annotation information.
In an optional implementation manner of this embodiment, the step of determining the target display condition in step S102 may be implemented as:
determining target display attribute information according to the data display requester information and the data display request information;
and determining the target display condition according to the target display attribute information.
In order to obtain an effective target display condition and further obtain accurate target display data, in this implementation, first, target display attribute information is determined according to the data display requester information and the data display request information, where the data display requester information may be, for example, application version information of the data display requester, display mode information set by the data display requester, and the data display request information may be, for example, display hierarchy information, display mode information, display time requirement information, and the like, and the target display attribute information may be obtained by determining the data display requester information and the data display request information, for example, by combining the data display requester information and the data display request information to obtain the target display attribute information; then, the target display condition is determined according to the target display attribute information, for example, the target display attribute information may be directly determined as the target display condition.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 5 shows a block diagram of a data display apparatus according to an embodiment of the present disclosure, which may be implemented as part or all of an electronic device by software, hardware, or a combination of both. As shown in fig. 5, the data display apparatus includes:
an obtaining module 501, configured to obtain data to be displayed and display annotation information corresponding to the data to be displayed, where the display annotation information is used to represent a preset display condition of the data to be displayed;
a determining module 502 configured to determine a target display condition, and when the target display condition matches the preset display condition, determine data to be displayed corresponding to the preset display condition as target display data;
a display module 503 configured to display the target display data.
As mentioned above, with the development of internet technology, more and more merchants or service providers provide services to users through internet applications, and in order to improve the provided services, merchants or service providers often update and release different versions of applications. However, the amount of data related to the application is very large, the data structure is also very complex, and updating and upgrading of the application usually bring about discarding, updating or adding of some data or fields, which increases great difficulty for maintenance and management of the application.
In view of the above-mentioned drawbacks, in this embodiment, a data display apparatus is proposed, which displays relevant data when a preset display condition satisfies a target display condition requirement by performing annotation of preset display condition information on data to be displayed. According to the technical scheme, the display conditions of the data to be displayed can be automatically matched, the data to be displayed is automatically determined and displayed, the difficulty of maintaining and managing the application program is greatly reduced, the accuracy and the working efficiency of maintaining and managing the application program are improved, and the labor cost is saved.
In an optional implementation manner of this embodiment, the data to be displayed refers to data stored in the application database and possibly displayed for normal operation of the application, such as order data, for example, order generation time, order dispatch time, order completion time, order number, order content, order amount, order preference information, order payment information, and the like; user data such as user historical order information, user attention information, user browsing information, user after-sales information, user evaluation information, user credit information, user asset information, and the like; or the data fields corresponding to the information such as order generation time, order delivery time, order completion time, order numbers, order contents, order money, order preference information, order payment information, user historical order information, user attention information, user browsing information, user after-sales information, user evaluation information, user credit information, user asset information and the like.
In an optional implementation manner of this embodiment, the display annotation information corresponding to the data to be displayed is used to represent a preset display condition of the data to be displayed, that is, when the data needs to be displayed. Wherein the preset display condition may include one or more of the following conditions: the display method comprises the following steps that (1) the versions, display levels, preset display modes, display time requirements and the like of an application program are achieved, for example, some data are limited to be displayed on one display level in one or more versions, wherein the display levels refer to link levels of the application program, for example, a home page of the application program is a first display level, and a page, which is clicked to jump, of the home page is a second display level; for example, some data is not displayed in some preset display modes and is displayed in other preset display modes, where the preset display modes refer to display modes customized for some activities or some subjects; as another example, some data is displayed for a certain period of time and not displayed for another period of time. Thus, the display annotation information may include one or more of the following: version display information, hierarchy display information, mode display information, time display information, and the like.
Taking the data to be displayed as the data field and the preset display condition as the application version as an example, if the limitations of the data fields a-D are only displayed in the application versions 2.0.0-2.4.5, the limitations of the data fields E-G are only displayed in the application versions 2.3.1-2.6.8, and the limitations of the data fields H-K are only displayed in the application versions 2.6.0-2.7.6, then if the version of the application currently displaying the data is 2.1.1, only the data fields a-D are displayed, if the version of the application currently displaying the data is 2.3.8, the data fields a-D and the data fields E-G are displayed, if the version of the application currently displaying the data is 2.6.5, the data field E-G and the data field H-K are displayed and only the data field H-K is displayed if the version of the application program currently displaying the data is 2.7.2.
Taking data to be displayed as a data field and a preset display condition as a preset display mode as an example, if the data field A-C is limited to be displayed only in the display mode 1 corresponding to the promotion activity 1, the data field D-G is limited to be displayed in the display mode 1 corresponding to the promotion activity 1 and the display mode 2 corresponding to the promotion activity 2, and the data field H-K is limited to be displayed only in the display mode 3 corresponding to the promotion activity 3, then if the application program of the currently displayed data is in the display mode 1, the data field A-C and the data field D-G are displayed, if the application program of the currently displayed data is in the display mode 2, the data field D-G is displayed only, and if the application program of the currently displayed data is in the display mode 3, the data field H-K is displayed only.
And subsequently, when the target display condition in the display task is matched with the preset display condition, determining that the data to be displayed corresponding to the preset display condition is displayed.
Wherein the target display condition refers to a data display condition determined according to a current data display requirement, and similar to the preset display condition, the target display condition may include one or more of the following conditions: application version, display hierarchy, display mode, display time requirements, and the like.
Similar to the above example, taking the data to be displayed as the data field and the target display condition as the application version as an example, assuming that the preset display conditions of the data to be displayed are: the data fields A-D are limited to be displayed only in the application versions 2.0.0-2.4.5, the data fields E-G are limited to be displayed only in the application versions 2.3.1-2.6.8, the data fields H-K are limited to be displayed only in the application versions 2.6.0-2.7.6, and if the target display condition is specifically the application version 2.6.5, the target display condition is compared with the previously preset display condition to find the data fields which can be displayed in the application version 2.6.5: and determining the data fields E-G and H-K as target display data to display.
Taking the data to be displayed as a data field and the target display condition as a display mode as an example, assuming that the preset display condition of the data to be displayed is as follows: the data fields A-C are limited to be displayed in a display mode 1 corresponding to the promotion activity 1, the data fields D-G are limited to be displayed in a display mode 1 corresponding to the promotion activity 1 and a display mode 2 corresponding to the promotion activity 2, the data fields H-K are limited to be displayed in a display mode 3 corresponding to the promotion activity 3, if the target display condition is specifically the display mode 2, the target display condition is compared with the preset display condition, and the data fields which can be displayed in the display mode 2 are found: and D-G, and then determining the D-G as the target display data to display.
In an optional implementation manner of this embodiment, before the obtaining module 501, the method further includes determining data to be displayed, and setting a portion for displaying annotation information for the data to be displayed correspondingly, that is, as shown in fig. 6, the apparatus includes:
the setting module 601 is configured to determine data to be displayed and correspondingly set display annotation information for the data to be displayed;
an obtaining module 602, configured to obtain data to be displayed and display annotation information corresponding to the data to be displayed, where the display annotation information is used to represent a preset display condition of the data to be displayed;
a determining module 603 configured to determine a target display condition, and determine data to be displayed corresponding to the preset display condition as target display data when the target display condition matches the preset display condition;
a display module 604 configured to display the target display data.
In order to accurately determine data that needs to be displayed and should be displayed, and facilitate maintenance and management of the data, in this embodiment, the setting module 601 first determines data to be displayed, sets display annotation information for the data to be displayed correspondingly, generates a corresponding relationship between the data to be displayed and the display annotation information, and then determines the display annotation information corresponding to the data to be displayed according to the corresponding relationship between the data to be displayed and the display annotation information after determining the data to be displayed.
In an optional implementation manner of the embodiment, the annotation information may be set by manual tagging or automatic tagging according to historical operating data, for example, a historical display limiting condition of a certain data is determined according to historical display information of the certain data, and then annotation information corresponding to the certain data is generated according to the historical display limiting condition. For example, if it can be determined from the historical display information that the data fields a-D are allowed to be displayed only in the application versions 2.0.0-2.4.5, but are restricted from being displayed in other application versions, the annotation information corresponding to the data fields a-D can be written as: data fields a-D are what application versions 2.0.0-2.4.5 need to be displayed.
In an optional implementation manner of this embodiment, as shown in fig. 7, the setting module 601 includes:
a first determining submodule 701 configured to determine data to be displayed;
a first obtaining sub-module 702 configured to obtain attribute information of the data to be displayed;
the setting sub-module 703 is configured to set display annotation information for the data to be displayed correspondingly according to the attribute information of the data to be displayed.
In order to improve the accuracy of the comment information, in the present embodiment, the setting module 601 sets the display comment information by acquiring attribute information of data to be displayed. Wherein the attribute information of the data to be displayed may include one or more of the following information: data generation time, data display hierarchy information, version information of the application program at the time of data display, display mode information of the application program at the time of data display, and the like.
In an optional implementation manner of this embodiment, as shown in fig. 8, the obtaining module 501 includes:
a second obtaining sub-module 801 configured to obtain the data to be displayed in response to receiving a data display request sent by a data display requesting party;
a second determining sub-module 802, configured to determine, according to a corresponding relationship between the data to be displayed and the display annotation information, display annotation information corresponding to the data to be displayed.
As mentioned above, the data to be displayed refers to data stored in the application database and possibly displayed for normal operation of the application, the display annotation information corresponding to the data to be displayed is used to represent the preset display condition of the data to be displayed, that is, when the data needs to be displayed, and there is a corresponding relationship between the data to be displayed and the display annotation information. Therefore, after a data display request sent by a data display requesting party is received, the data to be displayed, which is stored in the application program database and is possibly displayed, can be obtained, and the display annotation information corresponding to the data to be displayed is further obtained according to the corresponding relation between the data to be displayed and the display annotation information.
In an optional implementation manner of this embodiment, the portion of the determining module 502 for determining the target display condition may be configured to:
determining target display attribute information according to the data display requester information and the data display request information;
and determining the target display condition according to the target display attribute information.
In order to obtain an effective target display condition and further obtain accurate target display data, in this implementation, first, target display attribute information is determined according to the data display requester information and the data display request information, where the data display requester information may be, for example, application version information of the data display requester, display mode information set by the data display requester, and the data display request information may be, for example, display hierarchy information, display mode information, display time requirement information, and the like, and the target display attribute information may be obtained by determining the data display requester information and the data display request information, for example, by combining the data display requester information and the data display request information to obtain the target display attribute information; then, the target display condition is determined according to the target display attribute information, for example, the target display attribute information may be directly determined as the target display condition.
The present disclosure also discloses an electronic device, fig. 9 shows a block diagram of the electronic device according to an embodiment of the present disclosure, as shown in fig. 9, the electronic device 900 includes a memory 901 and a processor 902; wherein the content of the first and second substances,
the memory 901 is used to store one or more computer instructions, which are executed by the processor 902 to implement the above-described method steps.
FIG. 10 is a schematic block diagram of a computer system suitable for use in implementing a data display method according to an embodiment of the present disclosure.
As shown in fig. 10, the computer system 1000 includes a Central Processing Unit (CPU)1001 that can execute various processes in the above-described embodiments according to a program stored in a Read Only Memory (ROM)1002 or a program loaded from a storage section 1008 into a Random Access Memory (RAM) 1003. In the RAM1003, various programs and data necessary for the operation of the system 1000 are also stored. The CPU1001, ROM1002, and RAM1003 are connected to each other via a bus 1004. An input/output (I/O) interface 1005 is also connected to bus 1004.
The following components are connected to the I/O interface 1005: an input section 1006 including a keyboard, a mouse, and the like; an output section 1007 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 1008 including a hard disk and the like; and a communication section 1009 including a network interface card such as a LAN card, a modem, or the like. The communication section 1009 performs communication processing via a network such as the internet. The driver 1010 is also connected to the I/O interface 1005 as necessary. A removable medium 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1010 as necessary, so that a computer program read out therefrom is mounted into the storage section 1008 as necessary.
In particular, the above described methods may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a medium readable thereby, the computer program comprising program code for performing the above-described data display method. In such embodiments, the computer program may be downloaded and installed from a network through the communication section 1009 and/or installed from the removable medium 1011.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, a program segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present disclosure may be implemented by software or hardware. The units or modules described may also be provided in a processor, and the names of the units or modules do not in some cases constitute a limitation of the units or modules themselves.
As another aspect, the present disclosure also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the apparatus in the above-described embodiment; or it may be a separate computer readable storage medium not incorporated into the device. The computer readable storage medium stores one or more programs for use by one or more processors in performing the methods described in the present disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the inventive concept. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (10)

1. A method of displaying data, comprising:
acquiring data to be displayed and display annotation information corresponding to the data to be displayed, wherein the display annotation information is used for representing a preset display condition of the data to be displayed;
determining target display conditions, and determining data to be displayed corresponding to the preset display conditions as target display data when the target display conditions are matched with the preset display conditions;
and displaying the target display data.
2. The data display method of claim 1, wherein the display annotation information comprises one or more of the following: version display information, hierarchy display information, mode display information, time display information.
3. The data display method according to claim 1 or 2, wherein before the acquiring the data to be displayed and the display comment information corresponding to the data to be displayed, the method further comprises:
and determining data to be displayed, and correspondingly setting display annotation information for the data to be displayed.
4. The data display method according to claim 3, wherein the determining data to be displayed and setting display annotation information for the data to be displayed comprise:
determining data to be displayed;
acquiring attribute information of the data to be displayed;
and correspondingly setting display annotation information for the data to be displayed according to the attribute information of the data to be displayed.
5. A data display device, comprising:
the display device comprises an acquisition module, a display module and a display module, wherein the acquisition module is configured to acquire data to be displayed and display annotation information corresponding to the data to be displayed, and the display annotation information is used for representing a preset display condition of the data to be displayed;
the determining module is configured to determine a target display condition and determine data to be displayed corresponding to the preset display condition as target display data when the target display condition is matched with the preset display condition;
a display module configured to display the target display data.
6. A data display device as claimed in claim 5, wherein the display annotation information comprises one or more of the following: version display information, hierarchy display information, mode display information, time display information.
7. The data display device of claim 5 or 6, wherein the obtaining module further comprises, before:
the setting module is configured to determine data to be displayed and correspondingly set display annotation information for the data to be displayed.
8. The data display device of claim 7, wherein the setup module comprises:
a first determination submodule configured to determine data to be displayed;
the first obtaining submodule is configured to obtain attribute information of the data to be displayed;
and the setting submodule is configured to correspondingly set display annotation information for the data to be displayed according to the attribute information of the data to be displayed.
9. An electronic device comprising a memory and a processor; wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method steps of any of claims 1-4.
10. A computer-readable storage medium having stored thereon computer instructions, characterized in that the computer instructions, when executed by a processor, carry out the method steps of any of claims 1-4.
CN201910810527.3A 2019-08-29 2019-08-29 Data display method and device, electronic equipment and computer readable storage medium Pending CN111026980A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910810527.3A CN111026980A (en) 2019-08-29 2019-08-29 Data display method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910810527.3A CN111026980A (en) 2019-08-29 2019-08-29 Data display method and device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111026980A true CN111026980A (en) 2020-04-17

Family

ID=70200020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910810527.3A Pending CN111026980A (en) 2019-08-29 2019-08-29 Data display method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111026980A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060143558A1 (en) * 2004-12-28 2006-06-29 International Business Machines Corporation Integration and presentation of current and historic versions of document and annotations thereon
CN104574156A (en) * 2015-01-26 2015-04-29 网易有道信息技术(北京)有限公司 Commodity expanding information matching and obtaining method and device
CN106155496A (en) * 2015-04-27 2016-11-23 阿里巴巴集团控股有限公司 A kind of information displaying method and device
CN107622135A (en) * 2017-10-17 2018-01-23 百度在线网络技术(北京)有限公司 Method and apparatus for display information
CN108228025A (en) * 2017-12-18 2018-06-29 广东欧珀移动通信有限公司 message display method, device, mobile terminal and storage medium
CN108399073A (en) * 2018-01-26 2018-08-14 广东欧珀移动通信有限公司 Information displaying method, device, server and computer-readable medium
CN109344347A (en) * 2018-09-18 2019-02-15 拉扎斯网络科技(上海)有限公司 Display control method, device, electronic equipment and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060143558A1 (en) * 2004-12-28 2006-06-29 International Business Machines Corporation Integration and presentation of current and historic versions of document and annotations thereon
CN104574156A (en) * 2015-01-26 2015-04-29 网易有道信息技术(北京)有限公司 Commodity expanding information matching and obtaining method and device
CN106155496A (en) * 2015-04-27 2016-11-23 阿里巴巴集团控股有限公司 A kind of information displaying method and device
CN107622135A (en) * 2017-10-17 2018-01-23 百度在线网络技术(北京)有限公司 Method and apparatus for display information
CN108228025A (en) * 2017-12-18 2018-06-29 广东欧珀移动通信有限公司 message display method, device, mobile terminal and storage medium
CN108399073A (en) * 2018-01-26 2018-08-14 广东欧珀移动通信有限公司 Information displaying method, device, server and computer-readable medium
CN109344347A (en) * 2018-09-18 2019-02-15 拉扎斯网络科技(上海)有限公司 Display control method, device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN109299348B (en) Data query method and device, electronic equipment and storage medium
US20190166216A1 (en) Information pushing method and device
CN105915599B (en) Interface display method and device
CN108154328B (en) Time prompting method and device, electronic equipment and computer readable storage medium
CN110708212A (en) Method and device for tracking call link in distributed system
CN111681071B (en) Sub-fee data generation system and method, storage medium and electronic device
CN111857674B (en) Business product generation method and device, electronic equipment and readable storage medium
CN114090608A (en) Data report generation method and device
CN109740066B (en) Information recommendation method, information recommendation device, storage medium and electronic equipment
JP6727031B2 (en) Advertising device, warning output method, and warning output program
CN116594683A (en) Code annotation information generation method, device, equipment and storage medium
US20140279322A1 (en) Document tracking tool
CN111026980A (en) Data display method and device, electronic equipment and computer readable storage medium
CN111861436A (en) Data processing method, device, system, medium executed by server
CN113436003A (en) Duration determination method, duration determination device, electronic device, medium, and program product
CN114445128A (en) Card ticket management method and device, electronic equipment and computer readable medium
CN113434754A (en) Method and device for determining recommended API (application program interface) service, electronic equipment and storage medium
CN112508712A (en) Client data processing method, device, medium and electronic equipment
CN110955599A (en) Object creation method and device, electronic equipment and computer-readable storage medium
CN114721882B (en) Data backup method and device, electronic equipment and storage medium
CN114647685B (en) Data processing method, device, equipment and medium
CN115983834A (en) Operation and maintenance strategy recommendation method, device, electronic equipment, medium and program product
CN112685286A (en) Test object generation method and device, electronic equipment and computer storage medium
CN117312398A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN114116910A (en) Guest group data processing method, device, 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