CN111338621B - Method, apparatus, electronic device and computer readable medium for displaying data - Google Patents

Method, apparatus, electronic device and computer readable medium for displaying data Download PDF

Info

Publication number
CN111338621B
CN111338621B CN202010108982.1A CN202010108982A CN111338621B CN 111338621 B CN111338621 B CN 111338621B CN 202010108982 A CN202010108982 A CN 202010108982A CN 111338621 B CN111338621 B CN 111338621B
Authority
CN
China
Prior art keywords
data
tag
structured language
display
candidate set
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010108982.1A
Other languages
Chinese (zh)
Other versions
CN111338621A (en
Inventor
赵俊丽
吕亮
徐忆安
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Hengshi Technology Co ltd
Original Assignee
Beijing Hengshi Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Hengshi Technology Co ltd filed Critical Beijing Hengshi Technology Co ltd
Priority to CN202010108982.1A priority Critical patent/CN111338621B/en
Publication of CN111338621A publication Critical patent/CN111338621A/en
Application granted granted Critical
Publication of CN111338621B publication Critical patent/CN111338621B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/35Creation or generation of source code model driven
    • G06F8/355Round-trip engineering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

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

Abstract

Embodiments of the present disclosure disclose a method, apparatus, electronic device, and computer-readable medium for displaying data. One embodiment of the method comprises the following steps: displaying a first display interface; in response to detecting a label selection operation for the label selection area, generating a structured language according to the label selection operation; storing the structured language in response to detecting a user storage operation for storing the structured language; in response to detecting a first user operation for the stored structured language, determining relevant data corresponding to the database tag according to the tag in the structured language; the related data is displayed based on the structured language. The embodiment realizes the improvement of the user experience and the reuse of the structured language.

Description

Method, apparatus, electronic device and computer readable medium for displaying data
Technical Field
Embodiments of the present disclosure relate to the field of computer technology, and in particular, to a method, an apparatus, an electronic device, and a computer readable medium for displaying data.
Background
The data display is to output the data in the internal or external memory of the system in a visible or readable form, and has the forms of direct data value display, data table display, various statistical graphic display and the like. In a geographic information system, data reflecting spatial information may also be displayed in graphical or image form.
In the prior art, the display format or the display mode of the data needs to be edited by a user, and the user used to one display mode needs to repeatedly edit the same display mode.
Disclosure of Invention
The disclosure is in part intended to introduce concepts in a simplified form that are further described below in the detailed description. The disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose methods, apparatuses, electronic devices, and computer-readable media for displaying data to solve the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a method for displaying data, the method comprising: displaying a first display interface, wherein the first display interface comprises a label area and a label selection area; in response to detecting a tag selection operation for the tag selection area, generating a structured language according to the tag selection operation, wherein the structured language includes the selected tag; storing the structured language in response to detecting a user storage operation for storing the structured language; in response to detecting a first user operation for the stored structured language, determining relevant data corresponding to the database tag according to the tag in the structured language; the related data is displayed based on the structured language.
In a second aspect, some embodiments of the present disclosure provide a display data device, the device comprising: a first display unit configured to display a first display interface, wherein the first display interface includes a label area and a label selection area; a generating unit configured to generate a structured language according to a tag selection operation in response to detection of the tag selection operation for the tag selection area, wherein the structured language includes a selected tag; a storage unit configured to store the structured language in response to detection of a user storage operation for storing the structured language; a determining unit configured to determine, in response to detection of a first user operation with respect to the stored structured language, relevant data corresponding to the tag in the database according to the tag in the structured language; and a second display unit configured to display the related data based on the structured language.
In a third aspect, an embodiment of the present application provides an electronic device, where the network device includes: one or more processors; a storage means for storing one or more programs; the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method as described in any of the implementations of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer readable medium having stored thereon a computer program which, when executed by a processor, implements a method as described in any of the implementations of the first aspect.
One of the above embodiments of the present disclosure has the following advantageous effects: the structured language is generated through label selection operation of the user on the first display interface, then the structured language is stored, and finally related data corresponding to the structured language is displayed for the user when the user uses the structured language, so that multiple operations of the user are reduced, and user experience is improved and the structured language is reused.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
FIG. 1 is an architecture diagram of an exemplary system in which some embodiments of the present disclosure may be applied;
FIG. 2 is a flow chart of some embodiments of a method of displaying data according to the present disclosure;
FIG. 3 is a schematic diagram of the structure of some embodiments of a display data device according to the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings. Embodiments of the present disclosure and features of embodiments may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 to which the display data method or display data device of some embodiments of the present disclosure may be applied.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The terminal devices 101, 102, 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices having a display screen and including, but not limited to, smartphones, tablets, electronic book readers, laptop portable computers, desktop computers, and the like. When the terminal devices 101, 102, 103 are software, they can be installed in the above-listed electronic devices. It may be implemented as a plurality of software or software modules, for example, for providing distributed services, or as a single software or software module. The present invention is not particularly limited herein.
It should be noted that the method for displaying data provided by the embodiments of the present disclosure is generally performed by the terminal devices 101, 102, 103. Accordingly, means for displaying data are typically provided in the terminal devices 101, 102, 103.
It should be noted that the terminal device 101 may be various electronic devices with data display capability, including but not limited to a smart phone, a tablet computer, an electronic book reader, a laptop portable computer, a desktop computer, and the like. When the execution subject is software, the execution subject can be installed in the electronic device enumerated above. It may be implemented as a plurality of software or software modules, for example, for providing distributed services, or as a single software or software module. The present invention is not particularly limited herein.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to fig. 2, a flow 200 of some embodiments of a method of displaying data according to the present disclosure is shown. The data display method comprises the following steps:
Step 201, displaying a first display interface.
In some embodiments, an execution subject of the display data method (e.g., the terminal device shown in fig. 1) may display a first presentation interface, where the first presentation interface includes a label area and a label selection area. Specifically, the label area generally refers to an area for displaying a selected label, and the label selection area generally refers to an area for selecting a label.
Step 202, in response to detecting the label selection operation for the label selection area, generating a structured language according to the label selection operation.
In some embodiments, the execution body may generate a structured language according to the tag selection operation in response to detecting the tag selection operation for the tag selection area, wherein the structured language includes the selected tag. Specifically, the execution body may combine the tag and the data display mode to generate a code or text having the tag and the data display mode. Here, the structured language generally refers to a language generated from a label and a display structure corresponding to the label. By way of example, the structured language may be code or text, etc. Specifically, the tab selection operation may be a tab dragging to a tab area or a clicking operation. As an example, when the user tag selection operation is to select tags "a region", "b commodity", "table display", "annual sales" and "growth rate", the above-described execution subject may generate a structured language of "annual sales growth rate of a region b commodity in table display".
And step 203, in response to detecting the user storage operation for storing the structured language, storing the structured language.
In some embodiments, the execution body may store the structured language in response to detecting a user storage operation for storing the structured language. Here, the user storage operation may be clicking a preset storage icon or a preset storage instruction, or the like.
Step 204, in response to detecting the first user operation on the stored structured language, determining relevant data corresponding to the tag in the database according to the tag in the structured language.
In some embodiments, the executing entity may determine, in response to detecting the first user operation for the stored structured language, relevant data corresponding to the tag in the database according to the tag in the structured language. Here, the related data generally refers to data related to the tag. As an example, when the tag is time, then the data related to time in the database is related data. Specifically, the execution subject may determine the corresponding relevant data according to the type of the tag in the structured language and the data in the database or the similarity of the tag, and so on. Specifically, when the name of the data type in the database is the same as or similar to the name of the tag in the structured language, the data in the database is determined as corresponding related data. Specifically, the similarity may be determined by repeating the number of words in the tag in the data and the tag selected by the user. As an example, when the tag in the above data is "sales amount", and the user selects the tag to be "total sales", the number of repeated words is 2, and the similarity is 2. And when the similarity reaches a preset threshold value, determining the data corresponding to the label as related data.
As an example, when the above-described tag is "time", data corresponding to a tag whose name is the same as or similar to "time" in the database is taken as the related data. As another example, when the tag is "time", the data in the database is determined to be related data when the data in the database is a specific time.
In some alternative implementations of some embodiments, the database is determined based on user selection.
In some optional implementations of some embodiments, the executing entity may establish the tag and the data tag mapping relationship according to the data tag and the tag in response to detecting that the data tag and the tag in the database contain the same field; and determining the related data according to the mapping relation. Here, the above-mentioned fields generally refer to characters, words, sentences, or the like appearing in the tag. Here, the above-described determination of the related data according to the mapping relationship generally refers to determination of part or all of the data corresponding to the data tag for which the mapping relationship is established as the related data. Specifically, the above-mentioned mapping relationship generally refers to a relationship of "correspondence" between two labels. As an example, when a tag in a part of data in the database is "area" and a tag selected by a user is also "area", the above part of data is determined as related data. As another example, when the user selects the tag as "region", the content of the data in the database contains the data of the place name as the related data. In some optional implementations of some embodiments, the executing body may establish, in response to not detecting that the data tag in the database and the tag contain the same field, a mapping relationship between the tag and the data tag according to user operation; and determining the related data in the data corresponding to the data tag according to the mapping relation. Here, the above-described mapping relationship generally refers to a relationship in which two labels "correspond" to each other. Specifically, when the fact that the same field is contained is not detected, the execution subject may prompt information for the user, and then determine the mapping relationship according to the selection of the user.
In some optional implementations of some embodiments, the execution body may convert the structured language into an intermediate language; storing the intermediate language and converting the intermediate language into database instructions; transmitting the database instruction to the database; and determining relevant data from the database according to the database instruction. Specifically, the above intermediate language may be an intermediate language such as a high-level expression in which the user needs data. Specifically, the above-described advanced expression generally refers to an expression generated based on a label selected by a user, for example, the user selects the labels "annual sales", "growth rate", "a region" and "b item" and the advanced expression is "b item annual sales growth rate in a region". As an example, the above-described high-level expression may be "a rate of increase in sales of items in the b region in the present year" or "d rate of increase in sales of items in the e, f, g region in the present month", or the like. As an example, when the user demand data is "a rate of increase in sales of commodity", the above-described intermediate language may be a calculation expression of the rate of increase in sales of commodity. As an example, "rate of increase in sales of an item a in the past year" may be expressed as a ratio of the sum of sales of an item a in the past year each month to the sum of sales of an item a in the present year. In particular, the database instructions may be structured query language (Structured Query Language, SQL).
And step 205, displaying the related data based on the structured language.
In some embodiments, the execution body may display the related data based on the structured language. Specifically, the execution subject may place the corresponding data in the corresponding tag for display based on the display mode of the tag in the structured language. The display modes described above are various, and may be displayed in a form of a graph or a video, for example.
In some optional implementations of some embodiments, the method further includes counting a frequency count for each type of data in the display data. And determining the support degree of each type of data in the display data according to the frequency count result. Specifically, the support may be the frequency count divided by the total number. Then, a first candidate set is generated based on the support and the display data. As an example, the execution subject may take, as the first candidate set, data whose support degree reaches a predetermined threshold. As another example, the execution subject may integrate the display data and the two elements of the display data correspondence support into a first candidate set. And screening the first candidate set according to the support degree to obtain a second candidate set. Specifically, the execution subject may use, as the second candidate set, data whose support degree satisfies a predetermined condition.
Specifically, the execution body may use, as the second candidate set, data having a support degree of the data type in the first candidate set smaller than a predetermined support degree. And for each type of data in the second candidate set, connecting the data with the rest of data to obtain a third candidate set. Specifically, the foregoing connection generally refers to permutation and combination of each class of data in the second candidate set with the remaining classes of data. And displaying the third candidate set as recommended data in response to the third candidate set meeting a predetermined condition. Here, the predetermined condition may be that the elements in the third candidate set reach a predetermined number.
It will be appreciated that in some cases, the execution subject of steps 204-205 may be different from the execution subject of steps 201-203.
The method provided by some embodiments of the present disclosure reduces repeated operations of a user, and achieves enhancement of user experience and reuse of structured language.
With further reference to fig. 3, as an implementation of the method shown in the above figures, the present disclosure provides some embodiments of a display data device, which correspond to those method embodiments shown in fig. 2, and which are particularly applicable in various electronic apparatuses.
As shown in fig. 3, the display data device 300 of some embodiments includes: a first display unit 301, a generation unit 302, a storage unit 303, a determination unit 304, and a second display unit 304. Wherein, the first display unit 301 is configured to display a first display interface, where the first display interface includes a label area and a label selection area; a generating unit 302 configured to generate a structured language according to the tag selection operation in response to detecting the tag selection operation for the tag selection area, wherein the structured language includes the selected tag; a storage unit 303 configured to store the structured language in response to detection of a user storage operation for storing the structured language; a determining unit 304 configured to determine, in response to detection of a first user operation for the stored structured language, relevant data corresponding to the tag in the database according to the tag in the structured language; and a second display unit 305 configured to display the related data based on the structured language.
In alternative implementations of some embodiments, the database is determined based on user selections.
In an alternative implementation of some embodiments, the determining unit 304 is further configured to: responding to the fact that the data tag and the tag in the database contain the same field, and establishing a mapping relation between the tag and the data tag according to the data tag and the tag; and determining the related data according to the mapping relation.
In an alternative implementation of some embodiments, the determining unit 304 is further configured to: in response to the fact that the data tag and the tag in the database do not contain the same field, establishing a mapping relation between the tag and the data tag according to data corresponding to the data tag and the tag by user operation; and determining the related data in the data corresponding to the data tag according to the mapping relation.
In an alternative implementation of some embodiments, the determining unit 304 is further configured to: converting the structured language into an intermediate language; storing the intermediate language and converting the intermediate language into database instructions; transmitting the database instruction to the database; and determining relevant data from the database according to the database instruction.
In an alternative implementation of some embodiments, the display data device 300 further comprises a statistics unit configured to: counting the frequency times of each type of data in the display data; determining the support degree of each type of data in the display data according to the frequency count result; generating a first candidate set based on the support and the display data; screening the first candidate set according to the support degree to obtain a second candidate set; for each type of data in the second candidate set, connecting the data with the rest of data to obtain a third candidate set; and displaying the third candidate set as recommended data in response to the third candidate set meeting a predetermined condition.
It will be appreciated that the elements described in the apparatus 300 correspond to the various steps in the method described with reference to fig. 2. Thus, the operations, features and resulting benefits described above with respect to the method are equally applicable to the apparatus 300 and the units contained therein, and are not described in detail herein.
Referring now to fig. 4, a schematic diagram of an electronic device (e.g., the terminal device of fig. 1) 400 suitable for use in implementing some embodiments of the present disclosure is shown. The electronic devices in some embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), car terminals (e.g., car navigation terminals), and the like, as well as stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 4 is merely an example and should not impose any limitations on the functionality and scope of use of embodiments of the present disclosure.
As shown in fig. 4, the electronic device 400 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 401, which may perform various suitable actions and processes according to a program stored in a Read Only Memory (ROM) 402 or a program loaded from a storage means 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic device 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other by a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
In general, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. While fig. 4 shows an electronic device 400 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead. Each block shown in fig. 4 may represent one device or a plurality of devices as needed.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via communications device 409, or from storage 408, or from ROM 402. The above-described functions defined in the methods of some embodiments of the present disclosure are performed when the computer program is executed by the processing device 401.
It should be noted that, in some embodiments of the present disclosure, the computer readable medium may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, the computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: displaying a first display interface, wherein the first display interface comprises a label area and a label selection area; generating a structured language according to the label selection operation in response to detecting the label selection operation for the label selection area, wherein the structured language comprises the selected label; storing the structured language in response to detecting a user storage operation for storing the structured language; in response to detecting a first user operation for the stored structured language, determining relevant data corresponding to the tag in the database according to the tag in the structured language; and displaying the related data based on the structured language.
Computer program code for carrying out operations for some embodiments of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts 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 flowchart or block diagrams may represent a module, segment, or 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 described in some embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The described units may also be provided in a processor, for example, described as: a processor includes a first display unit, a generation unit, a storage unit, a determination unit, and a second display unit. The names of these units do not in any way constitute a limitation of the unit itself, for example the receiving unit may also be described as "unit displaying the first presentation interface".
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above technical features, but encompasses other technical features formed by any combination of the above technical features or their equivalents without departing from the spirit of the invention. Such as the above-described features, are mutually substituted with (but not limited to) the features having similar functions disclosed in the embodiments of the present disclosure.

Claims (6)

1. A method for displaying data, comprising:
Displaying a first display interface, wherein the first display interface comprises a label area and a label selection area;
Generating a structured language according to the label selection operation in response to the detection of the label selection operation for the label selection area, wherein the structured language comprises selected labels, and the labels and the data display modes are combined to generate codes or characters with the labels and the data display modes, and the codes or characters are used as the structured language, wherein various display modes are displayed in a chart form or a video form;
Storing the structured language in response to detecting a user storage operation for storing the structured language;
in response to detecting a first user operation for the stored structured language, determining relevant data corresponding to the tag of a database according to the tag in the structured language;
displaying the related data based on the structured language, wherein the corresponding data is placed in the corresponding label for display based on the display mode of the label in the structured language;
counting the frequency times of each type of data in the display data;
Determining the support degree of each type of data in the display data according to the frequency count result;
Integrating the support and the display data into a first candidate set;
screening data with the support degree smaller than a preset support degree from the first candidate set according to the support degree to serve as a second candidate set;
For each type of data in the second candidate set, connecting the data with other data to obtain a third candidate set, wherein the connection means that each type of data in the second candidate set is arranged and combined with other data types;
Displaying the third candidate set as recommended data in response to the third candidate set satisfying a predetermined condition that elements in the third candidate set reach a predetermined number;
wherein the determining, according to the tag in the structured language, the relevant data corresponding to the tag in the database includes:
In response to the fact that the data tag and the tag in the database do not contain the same field, establishing a mapping relation between the tag and the data tag according to data corresponding to the data tag and the tag by user operation;
determining the related data in the data corresponding to the data tag according to the mapping relation;
wherein the determining, according to the tag in the structured language, the relevant data corresponding to the tag in the database includes:
Converting the structured language into an intermediate language, wherein the intermediate language is an intermediate language such as a high-level expression of data required by a user, and the high-level expression is an expression generated according to a label selected by the user;
storing the intermediate language and converting the intermediate language into database instructions;
sending the database instruction to the database;
and determining relevant data from the database according to the database instruction.
2. The method of claim 1, wherein the database is determined according to a user selection.
3. The method of claim 1, wherein the determining relevant data corresponding to the tag in the database according to the tag in the structured language comprises:
Responding to the fact that the data tag and the tag in the database contain the same field, and establishing a mapping relation between the tag and the data tag according to the data tag and the tag;
and determining the related data according to the mapping relation.
4. An apparatus for displaying data, comprising:
A first display unit configured to display a first display interface, wherein the first display interface includes a label area and a label selection area;
A generating unit configured to generate a structured language according to a tag selection operation in response to detection of the tag selection operation for the tag selection area, wherein the structured language includes a selected tag, and combines the tag and a data display mode to generate a code or text having the tag and the data display mode, and as the structured language, the display modes include displaying in a chart form or displaying in a video form;
a storage unit configured to store the structured language in response to detection of a user storage operation for storing the structured language;
A determining unit configured to determine, in response to detecting a first user operation for the stored structured language, relevant data corresponding to a tag in the structured language according to the tag in the structured language, where the determining, in accordance with the tag in the structured language, relevant data corresponding to the tag in the database includes: in response to the fact that the data tag and the tag in the database do not contain the same field, establishing a mapping relation between the tag and the data tag according to data corresponding to the data tag and the tag by user operation; determining the related data in the data corresponding to the data tag according to the mapping relation;
The second display unit is configured to display the related data based on the structured language, wherein the corresponding data is placed in the corresponding label for display based on the display mode of the label in the structured language;
the frequency count unit is configured to count the frequency count of each type of data in the display data;
A support degree determining unit configured to determine a support degree of each type of data in the display data according to the frequency count result;
an integration unit configured to integrate the support degree and the display data into a first candidate set;
a screening unit configured to screen the first candidate set for data with a support degree smaller than a predetermined support degree as a second candidate set according to the support degree;
The unit is configured to connect each type of data in the second candidate set with the rest of data to obtain a third candidate set, wherein the connection means that each type of data in the second candidate set is arranged and combined with the rest of data;
And a third display unit configured to display the third candidate set as recommended data in response to the third candidate set satisfying a predetermined condition that elements in the third candidate set reach a predetermined number.
5. An electronic device, comprising:
One or more processors;
a storage device having one or more programs stored thereon,
When executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-3.
6. A computer readable medium having stored thereon a computer program, wherein the program when executed by a processor implements the method of any of claims 1-3.
CN202010108982.1A 2020-02-21 2020-02-21 Method, apparatus, electronic device and computer readable medium for displaying data Active CN111338621B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010108982.1A CN111338621B (en) 2020-02-21 2020-02-21 Method, apparatus, electronic device and computer readable medium for displaying data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010108982.1A CN111338621B (en) 2020-02-21 2020-02-21 Method, apparatus, electronic device and computer readable medium for displaying data

Publications (2)

Publication Number Publication Date
CN111338621A CN111338621A (en) 2020-06-26
CN111338621B true CN111338621B (en) 2024-04-26

Family

ID=71183535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010108982.1A Active CN111338621B (en) 2020-02-21 2020-02-21 Method, apparatus, electronic device and computer readable medium for displaying data

Country Status (1)

Country Link
CN (1) CN111338621B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949655A (en) * 2020-07-24 2020-11-17 北京每日优鲜电子商务有限公司 Form display method and device, electronic equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391675A (en) * 2017-07-21 2017-11-24 百度在线网络技术(北京)有限公司 Method and apparatus for generating structure information
CN108205568A (en) * 2016-12-19 2018-06-26 腾讯科技(深圳)有限公司 Method and device based on label selection data
CN109299288A (en) * 2018-11-09 2019-02-01 北京锐安科技有限公司 Read method, device, server and the storage medium of dictionary data
CN109445884A (en) * 2018-09-03 2019-03-08 中国平安人寿保险股份有限公司 A kind of functional label methods of exhibiting and terminal device
CN109597954A (en) * 2018-11-28 2019-04-09 南京赛克蓝德网络科技有限公司 Data item methods of exhibiting, calculates equipment and medium at device
CN110427232A (en) * 2019-06-18 2019-11-08 平安科技(深圳)有限公司 Page management method, device, computer equipment and storage medium
CN110765737A (en) * 2019-10-09 2020-02-07 中国建设银行股份有限公司 Label display method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040039989A1 (en) * 2002-08-26 2004-02-26 Peter Warren Structured forms with configurable labels
CN107038561A (en) * 2016-11-30 2017-08-11 阿里巴巴集团控股有限公司 A kind of business data processing method, device and client

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108205568A (en) * 2016-12-19 2018-06-26 腾讯科技(深圳)有限公司 Method and device based on label selection data
CN107391675A (en) * 2017-07-21 2017-11-24 百度在线网络技术(北京)有限公司 Method and apparatus for generating structure information
CN109445884A (en) * 2018-09-03 2019-03-08 中国平安人寿保险股份有限公司 A kind of functional label methods of exhibiting and terminal device
CN109299288A (en) * 2018-11-09 2019-02-01 北京锐安科技有限公司 Read method, device, server and the storage medium of dictionary data
CN109597954A (en) * 2018-11-28 2019-04-09 南京赛克蓝德网络科技有限公司 Data item methods of exhibiting, calculates equipment and medium at device
CN110427232A (en) * 2019-06-18 2019-11-08 平安科技(深圳)有限公司 Page management method, device, computer equipment and storage medium
CN110765737A (en) * 2019-10-09 2020-02-07 中国建设银行股份有限公司 Label display method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一种基于新型标签识别的购物导航***;丁伟利;李勇;高晓阳;朱波;;光电工程;20150115(第01期);全文 *
一种面向协作标签***的图片检索聚类方法;李晓燕;陈刚;寿黎但;董金祥;;中国图象图形学报;20101116(第11期);全文 *

Also Published As

Publication number Publication date
CN111338621A (en) 2020-06-26

Similar Documents

Publication Publication Date Title
CN113191726B (en) Task detail interface display method, device, equipment and computer readable medium
CN110619078B (en) Method and device for pushing information
CN111597467A (en) Display method and device and electronic equipment
CN111966950B (en) Log sending method and device, electronic equipment and computer readable medium
CN111273830A (en) Data display method and device, electronic equipment and computer readable medium
CN109992719B (en) Method and apparatus for determining push priority information
CN111931464A (en) Document editing method and device and electronic equipment
CN111338621B (en) Method, apparatus, electronic device and computer readable medium for displaying data
CN113553123B (en) Data processing method, device, electronic equipment and storage medium
CN107256244B (en) Data processing method and system
EP4207775A1 (en) Method and apparatus for determining object addition mode, electronic device, and medium
CN111339124B (en) Method, apparatus, electronic device and computer readable medium for displaying data
CN114926234A (en) Article information pushing method and device, electronic equipment and computer readable medium
CN111338822B (en) Message processing method and device
CN113435960A (en) Virtual article display method and device, electronic equipment and computer readable medium
CN113296771A (en) Page display method, device, equipment and computer readable medium
CN112685075A (en) Gray scale distribution method and device, electronic equipment and computer readable medium
CN111835917A (en) Method, device and equipment for showing activity range and computer readable medium
CN112308074A (en) Method and device for generating thumbnail
CN111400322B (en) Method, apparatus, electronic device and medium for storing data
CN111310031B (en) House source information display method, device, terminal and storage medium
CN113220293B (en) Page display method, page display device, electronic equipment and computer readable medium
CN111489286B (en) Picture processing method, device, equipment and medium
CN114969059B (en) Method and device for generating order information, electronic equipment and storage medium
CN115314456B (en) Interaction method and device and electronic equipment

Legal Events

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