CN112269613A - Data display method and device - Google Patents

Data display method and device Download PDF

Info

Publication number
CN112269613A
CN112269613A CN202011147318.4A CN202011147318A CN112269613A CN 112269613 A CN112269613 A CN 112269613A CN 202011147318 A CN202011147318 A CN 202011147318A CN 112269613 A CN112269613 A CN 112269613A
Authority
CN
China
Prior art keywords
data
version
displayed
view
matched
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
CN202011147318.4A
Other languages
Chinese (zh)
Inventor
熊洋亭
乌兰
梁强
连守财
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jinher Software Co Ltd
Original Assignee
Beijing Jinher Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jinher Software Co Ltd filed Critical Beijing Jinher Software Co Ltd
Priority to CN202011147318.4A priority Critical patent/CN112269613A/en
Publication of CN112269613A publication Critical patent/CN112269613A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

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

Abstract

The invention discloses a data display method and device, belonging to the field of software development. According to the scheme, the data to be displayed is converted into the data which can be directly displayed in the view of the target version, the data of the old version can be displayed in the view of the new version or the data of the new version can be displayed in the view of the old version, different requirements of users are met, and the use experience of the users is greatly improved.

Description

Data display method and device
Technical Field
The invention relates to the field of software development, in particular to a data display method and device.
Background
In the traditional software development process, more or less data and views at each stage face the problems of upgrading and updating. Whether data or view update exists, the problem that historical versions cannot be matched is faced; that is, the new version data cannot match the old version view; the new version view does not necessarily completely satisfy the current structure of the old version data; in the scenario of update iteration, after each version update, the old version data cannot be displayed because the old version data cannot be matched with the new version view, and meanwhile, the new version data cannot be displayed by using the old version view, so that the requirements of users who prefer the old version view more or need to use the old version data cannot be met.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides a method and a device for displaying old version data, which are used for solving the problems that after each version update, the old version data cannot be displayed because the old version data cannot be matched with a new version view, and the new version data cannot be displayed by using the old version view, so that the requirements of users who prefer the old version view or need to use the old version data cannot be met.
The technical scheme adopted by the invention for solving the technical problems is as follows:
on the one hand, the method comprises the following steps of,
a data display method comprises the following steps:
acquiring data to be displayed;
converting the data to be displayed;
and displaying the converted data to be displayed in a target version view.
Further, still include:
acquiring the version of the data to be displayed according to the data to be displayed;
judging whether the version of the data to be displayed is matched with the version of the target version view;
and determining whether to convert the data to be displayed according to the judgment result.
Further, when the version of the data to be shown is matched with the version of the target version view, the data to be shown is not converted.
Further, when the version of the data to be displayed is not matched with the version of the target version view, the data to be displayed is converted according to the version of the target version view.
Further, the converting the data to be shown according to the version of the target version view includes:
extracting content information of the data to be displayed, wherein the content information only contains text information and does not contain version identification;
and generating version data matched with the target version view according to the content information.
Further, the generating version data matched with the target version view according to the content information comprises:
classifying the content information;
and matching the classified content information with the version matched with the target version view according to the classification result, and generating version data matched with the target version view.
Further, the displaying the converted data to be displayed in the target version view includes: and drawing a target version view according to the generated version data matched with the target version view, and displaying the data to be displayed.
Further, still include:
and if the partial classified content information cannot be matched with the version matched with the target version view, not displaying the unmatched content information.
Further, still include:
if the data required by the version matched with the target version view cannot be acquired from the classified content information; and displaying nothing at the corresponding position of the target version view when the data to be displayed is displayed.
On the other hand, in the case of a liquid,
the data acquisition module is used for acquiring data to be displayed;
the data conversion module is used for converting the data to be displayed;
and the data display module is used for displaying the converted data to be displayed in a target version view.
This application adopts above technical scheme, possesses following beneficial effect at least:
according to the data display method and device provided by the technical scheme of the invention, the data to be displayed is firstly acquired, then the data to be displayed is converted, and finally the converted data to be displayed is displayed in the target version view. According to the scheme, the data to be displayed is converted into the data which can be directly displayed in the view of the target version, the data of the old version can be displayed in the view of the new version or the data of the new version can be displayed in the view of the old version, different requirements of users are met, and the use experience of the users is greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a data presentation method according to an embodiment of the present invention;
FIG. 2 is a flow chart of another data presentation method provided by the embodiment of the invention;
FIG. 3 is a diagram illustrating a relationship between version data and views according to an embodiment of the present invention;
fig. 4 is a structural diagram of a data display device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following detailed description of the technical solutions of the present invention is provided with reference to the accompanying drawings and examples. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, a data display method provided in an embodiment of the present invention includes the following steps:
acquiring data to be displayed;
converting data to be displayed;
and displaying the converted data to be displayed in a target version view.
The data display method provided by the embodiment of the invention comprises the steps of firstly obtaining data to be displayed, then converting the data to be displayed, and finally displaying the converted data to be displayed in a target version view. According to the scheme, the data to be displayed is converted into the data which can be directly displayed in the view of the target version, the data of the old version can be displayed in the view of the new version or the data of the new version can be displayed in the view of the old version, different requirements of users are met, and the use experience of the users is greatly improved.
As a supplementary description of the above embodiment, another data presentation method is further provided in the embodiment of the present invention, as shown in fig. 2, including the following steps:
acquiring data to be displayed;
acquiring the version of the data to be displayed according to the data to be displayed;
judging whether the version of the data to be displayed is matched with the version of the target version view;
determining whether to convert the data to be displayed according to the judgment result; and when the version of the data to be displayed is matched with the version of the target version view, the data to be displayed is not converted. At the moment, the version of the data to be displayed is the same as that of the target version view, and the data to be displayed can be displayed by directly using the target version view. And when the version of the data to be displayed is not matched with the version of the target version view, converting the data to be displayed according to the version of the target version view.
And displaying the converted data to be displayed in a target version view.
As an optional implementation manner of the embodiment of the present invention, converting data to be displayed according to the version of the target version view includes:
extracting content information of data to be displayed, wherein the content information only contains text information and does not contain version identification;
and generating version data matched with the target version view according to the content information. It should be noted that the version identifier is a reason why the new version view cannot directly display the old version data, and the version data not only contains text information, but also includes characteristics such as the position or size of each part of content displayed when the view is displayed. The version data of different version identifications cannot be used commonly basically. And the text content is only extracted, and other characteristics are not extracted.
In some optional embodiments, generating version data matching the target version view from the content information comprises:
classifying the content information;
and matching the classified content information with the version matched with the target version view according to the classification result, and generating version data matched with the target version view.
Further, the displaying the converted data to be displayed in the target version view comprises: and drawing a target version view according to the generated version data matched with the target version view, and displaying the data to be displayed.
It should be noted that, if there is a version that cannot be matched with the target version view of the partially classified content information, the content information that cannot be matched is not displayed.
In some optional embodiments, if the data required by the version matched with the target version view is not obtained from the classified content information; and displaying nothing at the corresponding position of the target version view when the data to be displayed is displayed.
Illustratively, as shown in fig. 3, is a schematic diagram of two version matches; on the left side of each version is version data; the right side is a view display. Normally, the version data of version 1 can only be shown in the view of version 1, but the version data of version 1 cannot be shown in the view of version 2. Taking the example of displaying the data of the version 1 by using the view of the version 2, the scheme provided by the embodiment of the invention is that the content of the version data in the version 1 is extracted, the classification of the content is identified, and then the content is matched with the version data of the version 2, so that the data of the version 1 is converted into the data of the version 2, and at the moment, the view of the version 2 can be used for displaying.
In the above embodiment, as shown in fig. 3, the data in version 1 contains: "addr: if the data of version 1 is converted into the data of version 2, the content corresponding to the data is not displayed when the view of version 2 is used for displaying, and the contents of the view of version 1 and the view of version 2 in fig. 3 can be compared. If the data of version 2 is converted into the data of version 1 and is shown in the view of version 1, since version 2 has no "addr: the data of Changpio district, Beijing City, therefore shows "none" at its "address" when presented using the version 1 view.
According to another data display method provided by the embodiment of the invention, after data to be displayed is obtained, whether the version of the data is the same as that of a view adopted by a user is firstly confirmed, if so, the data is directly displayed by using a target version view, if not, the data to be displayed is converted into version data matched with the target version view, and then the data is displayed by using the target version view. The method can meet different requirements of users and provide use experience of the users.
In an embodiment, the present invention further provides a data presentation apparatus, as shown in fig. 4, including:
a data acquisition module 401, configured to acquire data to be displayed; the data acquisition module is also used for acquiring the version of the data to be displayed according to the data to be displayed; judging whether the version of the data to be displayed is matched with the version of the target version view; and determining whether to convert the data to be displayed according to the judgment result.
As an optional implementation manner of the embodiment of the present invention, determining whether to convert the data to be displayed according to the determination result includes: and when the version of the data to be displayed is matched with the version of the target version view, the data to be displayed is not converted. And when the version of the data to be displayed is matched with the version of the target version view, converting the data to be displayed according to the version of the target version view.
A data conversion module 402, configured to convert data to be displayed; specifically, the data conversion module extracts content information of data to be displayed, wherein the content information only contains text information and does not contain version identification; and generating version data matched with the target version view according to the content information. Generating version data matched with the target version view according to the content information comprises: classifying the content information; and matching the classified content information with the version matched with the target version view according to the classification result, and generating version data matched with the target version view.
And a data display module 403, configured to display the converted data to be displayed in a target version view. Specifically, the data display module draws a target version view according to the generated version data matched with the target version view, and displays the data to be displayed.
As an optional implementation manner of the embodiment of the present invention, if there is a version whose part of classified content information cannot be matched with the target version view, the data display module does not display the unmatched content information.
As an optional implementation manner of the embodiment of the present invention, if the data required by the version matched with the target version view is not obtained from the classified content information; and the data display module displays none at the corresponding position of the target version view when displaying the data to be displayed.
According to the data display device provided by the embodiment of the invention, the data acquisition module acquires data to be displayed; the data conversion module converts the data to be displayed; and the data display module is used for displaying the converted data to be displayed in a target version view. The device provided by the embodiment of the invention can display the data of different versions in the view of the specified version (target version view), meets different requirements of users, and provides the use experience of the users.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that, in the description of the present application, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present application, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (10)

1. A data display method is characterized by comprising the following steps:
acquiring data to be displayed;
converting the data to be displayed;
and displaying the converted data to be displayed in a target version view.
2. The method of claim 1, further comprising:
acquiring the version of the data to be displayed according to the data to be displayed;
judging whether the version of the data to be displayed is matched with the version of the target version view;
and determining whether to convert the data to be displayed according to the judgment result.
3. The method of claim 2, wherein: and when the version of the data to be displayed is matched with the version of the target version view, the data to be displayed is not converted.
4. The method of claim 2, wherein: and when the version of the data to be displayed is not matched with the version of the target version view, converting the data to be displayed according to the version of the target version view.
5. The method of claim 4, wherein: the converting the data to be displayed according to the version of the target version view comprises:
extracting content information of the data to be displayed, wherein the content information only contains text information and does not contain version identification;
and generating version data matched with the target version view according to the content information.
6. The method of claim 5, wherein: the generating of the version data matched with the target version view according to the content information includes:
classifying the content information;
and matching the classified content information with the version matched with the target version view according to the classification result, and generating version data matched with the target version view.
7. The method of claim 6, wherein: the displaying the converted data to be displayed in a target version view comprises the following steps: and drawing a target version view according to the generated version data matched with the target version view, and displaying the data to be displayed.
8. The method of claim 7, further comprising:
and if the partial classified content information cannot be matched with the version matched with the target version view, not displaying the unmatched content information.
9. The method of claim 7, further comprising:
if the data required by the version matched with the target version view cannot be acquired from the classified content information; and displaying nothing at the corresponding position of the target version view when the data to be displayed is displayed.
10. A data presentation device, comprising:
the data acquisition module is used for acquiring data to be displayed;
the data conversion module is used for converting the data to be displayed;
and the data display module is used for displaying the converted data to be displayed in a target version view.
CN202011147318.4A 2020-10-23 2020-10-23 Data display method and device Pending CN112269613A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011147318.4A CN112269613A (en) 2020-10-23 2020-10-23 Data display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011147318.4A CN112269613A (en) 2020-10-23 2020-10-23 Data display method and device

Publications (1)

Publication Number Publication Date
CN112269613A true CN112269613A (en) 2021-01-26

Family

ID=74342337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011147318.4A Pending CN112269613A (en) 2020-10-23 2020-10-23 Data display method and device

Country Status (1)

Country Link
CN (1) CN112269613A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106899750A (en) * 2016-08-03 2017-06-27 阿里巴巴集团控股有限公司 Information displaying method based on card, information show the processing method and processing device of business
CN110888931A (en) * 2019-10-30 2020-03-17 南京领行科技股份有限公司 Data display method and device, server, terminal equipment and readable storage medium
CN111597005A (en) * 2020-05-18 2020-08-28 深圳航天智慧城市系统技术研究院有限公司 Big data visualization three-dimensional GIS cloud rendering project generation system and method
CN111680232A (en) * 2020-06-03 2020-09-18 北京三快在线科技有限公司 Page display method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106899750A (en) * 2016-08-03 2017-06-27 阿里巴巴集团控股有限公司 Information displaying method based on card, information show the processing method and processing device of business
CN110888931A (en) * 2019-10-30 2020-03-17 南京领行科技股份有限公司 Data display method and device, server, terminal equipment and readable storage medium
CN111597005A (en) * 2020-05-18 2020-08-28 深圳航天智慧城市系统技术研究院有限公司 Big data visualization three-dimensional GIS cloud rendering project generation system and method
CN111680232A (en) * 2020-06-03 2020-09-18 北京三快在线科技有限公司 Page display method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108388650A (en) Need-based search processing method, device and smart machine
CN112182259A (en) Drawing parameter processing method and device
CN110874534A (en) Data processing method and data processing device
CN109902269A (en) A kind of document display method, device, electronic equipment and readable storage medium storing program for executing
CN111782683A (en) Device management method and device, device query method and device and cloud device
CN117312140A (en) Method and device for generating test case, electronic equipment and storage medium
CN110532449A (en) A kind of processing method of service profile, device, equipment and storage medium
CN109409419B (en) Method and apparatus for processing data
CN114650167A (en) Abnormity detection method, device, equipment and computer readable storage medium
CN116501719B (en) Data modeling system and method based on visual view realization
CN108710636B (en) Medical record screening method, terminal equipment and computer readable storage medium
CN104765630B (en) Software installation method and device
US20090228794A1 (en) Business specification comprehension assistance system and method
CN112269613A (en) Data display method and device
JP2020201607A (en) Sentence analysis method, sentence analysis program, and sentence analysis system
US8839114B1 (en) System, method, and computer program for generating a graphical representation of at least a portion of a synchronized network model
CN108415995B (en) Searching method and device
CN112052656A (en) Recommending topic patterns for documents
US20190392036A1 (en) Content analyzer and recommendation tool
CN112235599B (en) Video processing method and system
CN115269502A (en) Bid document processing method, device and storage medium
CN112818129A (en) Atlas modeling system and method
CN112905612A (en) Knowledge card construction method and device
CN113704650A (en) Information display method, device, system, equipment and storage medium
CN108108402B (en) Data item paraphrasing updating method and device

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