WO2023222034A1 - View drawing method and apparatus, and electronic device and storage medium - Google Patents

View drawing method and apparatus, and electronic device and storage medium Download PDF

Info

Publication number
WO2023222034A1
WO2023222034A1 PCT/CN2023/094773 CN2023094773W WO2023222034A1 WO 2023222034 A1 WO2023222034 A1 WO 2023222034A1 CN 2023094773 W CN2023094773 W CN 2023094773W WO 2023222034 A1 WO2023222034 A1 WO 2023222034A1
Authority
WO
WIPO (PCT)
Prior art keywords
function
field
target
data
metric
Prior art date
Application number
PCT/CN2023/094773
Other languages
French (fr)
Chinese (zh)
Inventor
林诗鸿
陈雪
吴哲昊
李茂琦
Original Assignee
北京字跳网络技术有限公司
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 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2023222034A1 publication Critical patent/WO2023222034A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs
    • 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/901Indexing; Data structures therefor; Storage structures
    • G06F16/9024Graphs; Linked lists

Definitions

  • the present disclosure relates to data visualization technology, for example, to a view drawing method, device, electronic device and storage medium.
  • the data table to be processed is usually called, data statistics and calculations are performed in the data table, and the data items required to draw the view are selected through continuous selection or multiple selection. , to draw views on these data items.
  • the data table to be processed needs to be retrieved before drawing the view, which will cause a waste of time in subsequent processing.
  • selecting the data items required to draw the view through continuous selection or multiple selection for view drawing results in poor flexibility and stability.
  • the present disclosure provides a view drawing method, device, electronic device and storage medium to achieve the technical effects of simplifying the data acquisition process and improving the flexibility of data processing and view drawing.
  • Embodiments of the present disclosure provide a view drawing method, which includes:
  • the metric editing function includes the target function and/or the target field
  • An embodiment of the present disclosure also provides a view drawing device, which includes:
  • the function adding module is configured to obtain a metric editing function in the field adding page, where the metric editing function includes a target function and/or a target field;
  • a data determination module configured to determine at least one set of view participation data from project management data associated with the target user based on the metric editing function
  • the view drawing module is configured to draw the target view based on the at least one set of view participation data.
  • An embodiment of the present disclosure also provides an electronic device, including:
  • processors one or more processors
  • a storage device configured to store one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the view drawing method as described in any one of the embodiments of the present disclosure.
  • An embodiment of the present disclosure further provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform the view drawing method as described in any embodiment of the present disclosure.
  • Figure 1 is a schematic flowchart of a view drawing method provided by an embodiment of the present disclosure
  • Figure 2 is a schematic flowchart of another view drawing method provided by an embodiment of the present disclosure.
  • Figure 3 is a schematic diagram of a field adding page provided by an embodiment of the present disclosure.
  • Figure 4 is a schematic diagram of a chart drawing page provided by an embodiment of the present disclosure.
  • Figure 5 is a schematic diagram showing a field to be selected and a target field provided by an embodiment of the present disclosure
  • Figure 6 is a schematic structural diagram of a view drawing device provided by an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • the term “include” and its variations are open-ended, ie, “including but not limited to.”
  • the term “based on” means “based at least in part on.”
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; and the term “some embodiments” means “at least some embodiments”. Relevant definitions of other terms will be given in the description below.
  • Figure 1 is a schematic flowchart of a view drawing method provided by an embodiment of the present disclosure.
  • the embodiment of the present disclosure is suitable for calculating and drawing data based on fields.
  • This method can be executed by a view drawing device, and the device can It is implemented in the form of software and/or hardware, optionally, through electronic equipment.
  • the electronic equipment can be a mobile terminal, a personal computer (Personal Computer, PC) or a server.
  • the method includes the following steps.
  • the metric editing function can be a function used for subsequent data processing and view drawing, that is, a statement to perform a task or calculate a value.
  • the metric editing function includes a target function and/or a target field.
  • the measurement editing function is in the form of an expression, that is, a display form similar to a mathematical formula generated by combining the target function and the target field.
  • the target function can be a function used for measurement calculations, such as arithmetic functions, logical operations, comparison functions, string functions, array operation functions, special functions, etc.
  • the target field can be the data field needed for subsequent data processing and view drawing.
  • the field addition page may be a page used to edit the metric editing function.
  • the operation user can edit the metric editing function in the field adding page.
  • the current metric editing function is obtained from the field adding page.
  • the metric editing function can only contain the target field, for example, it is used to retrieve all the data corresponding to the target field, etc.
  • the metric editing function can also only contain the target function, for example, it is used to calculate and draw the data of all fields, etc.
  • It can also include a target function and a target field, for example, used to calculate and plot the data corresponding to the target field through the target function. If there is a situation in the metric editing function that cannot be processed because it only contains the target function or target field, or the target function and the target field cannot be matched for processing, the error can be fed back to the operator so that the operator can target the metric editing function. to modify.
  • the target function includes summation function, averaging function, field minimum value function, field maximum value function, field counting function, field median counting function, conditional function, logical operation function, judgment function, and unit conversion. At least one of the function and the data deduplication function.
  • the summation function can be a function that sums each target field, for example: SUM().
  • the averaging function can be a function that averages each target field, for example: AVG().
  • the field minimum value function can be a function that finds the minimum value of each target field, for example: MIN().
  • the field maximum value function can be a function that finds the maximum value of each target field, for example: MAX().
  • the field count function can be a function that counts the data in the target field, such as: COUNT().
  • the field median counting function can be a function that calculates the median of the target field, for example: MEDIAN().
  • the conditional function can be a function that processes the data of each target field through conditional judgment, such as: SUMIF(), AVGIF(), MINIF(), MAXIF(), COUNTIF or MEDIAN(), etc.
  • the logical operation function can be a function used to perform Boolean operations.
  • the logical operation function provides various logical operators, such as: AND operator AND (&&), or operator OR (
  • the judgment function can be a function that completes the judgment requirement, for example: the function isnull() used to judge whether the target field is empty, etc.
  • the unit conversion function can be a function used for unit conversion or data conversion, for example: the function Timeline used to calculate a time period, for example, timeline("2021/08/01",”2021/08/31"," day") is used to output the number of days between August 1, 2021 and August 31, 2021. You can also use "week” to output the number of weeks, and "month” to output the number of months, etc.
  • the data deduplication function can be a function that removes duplicate data. For example, if the data calculated by COUNT() contains duplicate data, you can use COUNTDISTINCT() for deduplication counting or COUNTDISTINCTIF() for conditional deduplication counting.
  • the objective function can also be the four arithmetic operations, which can include the following operators, such as: + (addition), - (subtraction), * (multiplication), / (division), % (remainder), Pow () (exponentiation) and Sqrt() (root sign), etc.
  • the target user can be an operating user or the user corresponding to the current login status of the system.
  • Project management data may be data associated with target users.
  • View participation data can be data required for subsequent view drawing.
  • the data required for processing by the metric editing function can be determined from the project management data associated with the target user according to the metric editing function.
  • the determined data is processed according to the metric editing function, and then the processed data is used as view participation data.
  • the target view can be any form of view, it can be in the form of a statistical chart, such as a pie chart, a bar chart, a line chart, etc., or it can be in a tabular form, such as a statistical table, etc.
  • a statistical chart such as a pie chart, a bar chart, a line chart, etc.
  • a tabular form such as a statistical table, etc.
  • the target view is drawn according to the required view form to obtain the target view.
  • the technical solution of the embodiment of the present disclosure obtains the target function and/or target field by obtaining the metric editing function in the field addition page, and then, based on the metric editing function, determines from the project management data associated with the target user At least one group of views participates in the data to save the time required to load the data table. Based on at least one group of views, the data is participated in and the target view is drawn, which solves the problem of time waste in loading the data table and the poor flexibility and stability of data selection. problem, achieving the technical effect of saving time in retrieving data tables and improving the flexibility and stability of data selection and view drawing.
  • Figure 2 is a schematic flow chart of another view drawing method provided by an embodiment of the present disclosure. Based on the foregoing technical solution, a method for determining the metric editing function is added, and the method for obtaining the metric editing function and the view participation data are added. The implementation of the determination method and the drawing method of the target view will be described. For the implementation, please refer to the description of this technical solution. The explanations of terms that are the same as or corresponding to the above multiple technical solutions will not be repeated here.
  • the method includes the following steps.
  • the new chart control can be a visual graphic component used to create a new chart, such as a "New" button, etc.
  • the chart drawing page may be a page used to display various controls and display boxes for chart drawing.
  • the new chart control can be triggered, for example, by clicking the "New" button, etc.
  • the chart drawing page is opened and displayed in the front.
  • Figure 3 is a schematic diagram of the field addition page.
  • the field addition page includes a function editing area, a field and function selection area, and a field and function example area.
  • the function editing area is used to edit the target field and/or target function selected from the field and function selection area to obtain the measurement editing function; the field and function selection area is used to display at least one field to be selected and/or at least one The function to be selected is used to determine the target field and/or target function from the field and function selection area; the field and function example area is used to display the usage examples of the triggered target field and/or target function for editing based on the usage examples. Get the metric editing function.
  • the fields to be selected can be fields preloaded into the field and function selection area, or various data fields in the project management data.
  • the function to be selected can be each function preloaded into the field and function selection area. Usage examples can be examples that introduce the use of target fields and/or target functions, so that users can quickly get started.
  • Each field in the field and function selection area may refer to one or more fields, and various data fields in the project management data refer to one or more data fields.
  • Each function in the field and function selection area can refer to one or more functions.
  • At least one field to be selected is determined based on the data fields in the project management data.
  • the data fields include project name field, project type field, business line field, project processing node field, participant field, creation time field, and update. At least one of a time field and a business priority field.
  • the project name field can be a field used to identify different projects, such as: custom configuration of service parameters, and the function of adding Meo to the word book, etc.
  • the project type field can be business requirements, technical requirements, etc.
  • a line of business field can be a field that identifies a product or a group of related products that fulfill a business need.
  • the project processing node field may be a field that identifies the node that the project is currently processing.
  • the participant field can be the identification of some or all people involved in a project.
  • the creation time field can be used to identify the time a project was created.
  • the Updated field can be used to identify the time an item was last edited.
  • the business priority field may be a field used to identify the importance of different projects, such as P0, P1, etc.
  • the data fields can be configured with their own inherent data types.
  • the data types of the project name field, project processing node field, project type field, and participant field can be string (String), and the business line field and business priority can be
  • the data type of the field can be an array (Array), and the creation time field and update time field can be a date (Date). If the data field is a field related to numbers, the data type can be numeric value (Number). If the data field is an AB test or switch field, the data type can be Boolean.
  • the target configuration field may be a field that the operating user selects and/or edits, and the target configuration field includes a target field and/or a target function.
  • the add calculated field control can be a control used to call the field adding page, such as: "+Add calculated field" button, etc.
  • the operating user can trigger the add calculated field control on the chart drawing page to call up the field adding page, so as to edit the measure editing function on the field adding page.
  • the field adding page can be displayed so that the operating user can select the target field and/or the target function in the field and function selection area in the field adding page to form the target configuration field. , and facilitate editing of target configuration fields to obtain the metric editing function.
  • Figure 4 shows a schematic diagram of a chart drawing page, which includes adding a calculated field control.
  • the trigger operation can be a mouse click operation, a keyboard key operation, a mouse hover operation, etc.
  • each field to be selected and each function to be selected may be displayed in the field and function selection area.
  • each field to be selected may refer to one or more fields to be selected, and each function to be selected may refer to one or more functions to be selected.
  • S240 Determine the target field and/or the target function based on the triggering operation on at least one field to be selected and at least one function to be selected.
  • the triggered field to be selected when a trigger operation on a field to be selected is detected, the triggered field to be selected can be used as a target field, and when a trigger operation on a function to be selected is detected, the triggered function to be selected can be used as a target. function.
  • the display diagram of the field to be selected and the target field is shown in Figure 5.
  • the confirmation control may be a control used to confirm completion of target field and/or target function selection.
  • each currently selected target field and/or each target function can be determined, the target field and the target function can be edited, and the edited content can be used as the measurement editing function.
  • the metric editing function can be determined based on the target field and/or target function in the following ways:
  • the target field is added to the corresponding position in the target function so that the target function and the target field are effectively combined, and the combined function is used as the metric editing function.
  • the data to be processed can be data corresponding to the target field in the project management data, which is used for subsequent data analysis and processing.
  • the target field in the metric editing function is determined, and then the data corresponding to the target field is retrieved from the project management data as the data to be processed.
  • the data to be processed is analyzed and processed by measuring the objective function in the editing function, and the processed data is used as a view to participate in the data.
  • the view mode can be a statistical chart or a statistical table, etc.
  • the statistical chart can also be a pie chart, a bar chart, a line chart, etc.
  • the operating user can select a view mode. After determining the view mode, the participating data of each view is drawn according to the view mode to obtain the target view.
  • Each view participation data may refer to one or more sets of view participation data.
  • the technical solution of the embodiment of the present disclosure is to jump to the chart drawing page when a trigger to create a new chart control is detected, and when a trigger to add a calculated field control in the chart drawing page is detected, the field adding page is displayed to add a page based on the field.
  • the field and function selection area determine the target configuration field and determine the metric editing function corresponding to the target configuration field to determine the metric editing function.
  • a trigger operation on the field and function selection area When a trigger operation on the field and function selection area is detected, display at least one pending Select the field and at least one function to be selected, determine the target field and/or the target function based on the trigger operation on the at least one field to be selected and the at least one function to be selected, and when the trigger confirmation control is detected, based on the target field and/or the function to be selected.
  • the objective function determine the metric editing function to obtain the objective function and/or the target field, and then, based on the target field in the metric editing function, retrieve at least one set of data to be processed from the project management data to save the need for retrieval.
  • Figure 6 is a schematic structural diagram of a view drawing device provided by an embodiment of the present disclosure. As shown in Figure 6, the device includes: a function adding module 310, a data determination module 320 and a view drawing module 330.
  • the function adding module 310 is configured to obtain the metric editing function in the field adding page, wherein the metric editing function includes the target function and/or the target field; the data determining module 320 is configured to obtain the metric editing function based on the metric editing function from and In the project management data associated with the target user, at least one set of view participation data is determined; the view drawing module 330 is configured to based on the at least one set of view participation data, Draw the target view.
  • the field addition page includes a function editing area, a field and function selection area, and a field and function example area;
  • the function editing area is used to edit the target field and/or target function selected from the field and function selection area to obtain the measurement editing function;
  • the field and function selection area is used to display at least one field to be selected and/or at least one function to be selected, so as to determine the target field and/or target function from the field and function selection area;
  • the field and function example area is used to display usage examples of triggered target fields and/or target functions, so that editing can be performed based on the usage examples to obtain the metric editing function.
  • the at least one field to be selected is determined based on the data fields in the project management data.
  • the data fields include project name field, project type field, business line field, project processing field At least one of a node field, a participant field, a creation time field, an update time field, and a business priority field.
  • the device also includes: a measurement editing function determination module, configured to jump to the chart drawing page when a new chart control is triggered; when a trigger to add a new chart control is detected; When calculating the field control, display the field adding page to determine the target configuration field based on the field and function selection area in the field adding page, and determine the metric editing function corresponding to the target configuration field; wherein,
  • the target configuration fields include target fields and/or target functions.
  • the function adding module 310 is configured to display at least one field to be selected and at least one function to be selected when a trigger operation on the field and function selection area is detected; based on the The trigger operation of the at least one field to be selected and the at least one function to be selected determines the target field and/or the target function; when the trigger confirmation control is detected, the target field and/or the target function are determined based on the target field and/or the target function. Describe the metric editing function.
  • the function adding module 310 is configured to set the target field in the target function to obtain the metric editing function.
  • the objective function includes a summation function, an average function, a field minimum function, a field maximum function, a field counting function, a field median counting function, a conditional function, and a logic function. At least one of an operation function, a judgment function, a unit conversion function, and a data deduplication function.
  • the data determination module 320 is configured to retrieve the at least one set of data to be processed from the project management data based on the target field in the metric editing function; based on the The objective function analyzes and processes the at least one set of data to be processed to obtain the at least one Group view participation data.
  • the view drawing module 330 is configured to draw the target view based on the at least one set of view participation data and the pre-selected view mode.
  • the technical solution of the embodiment of the present disclosure obtains the target function and/or target field by obtaining the metric editing function in the field addition page, and then, based on the metric editing function, determines from the project management data associated with the target user At least one group of views participates in the data to save the time required to load the data table. Based on at least one group of views, the data is participated in and the target view is drawn, which solves the problem of time waste in loading the data table and the poor flexibility and stability of data selection. problem, achieving the technical effect of saving time in retrieving data tables and improving the flexibility and stability of data selection and view drawing.
  • FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • Terminal devices in embodiments of the present disclosure may include mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant, PDA), tablet computers (Portable Android Device, PAD), portable multimedia players (Portable Media Player, PMP), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and the like, as well as fixed terminals such as digital televisions (television, TV), desktop computers, and the like.
  • PDA Personal Digital Assistant
  • PAD Portable multimedia players
  • PMP portable multimedia players
  • vehicle-mounted terminals such as vehicle-mounted navigation terminals
  • fixed terminals such as digital televisions (television, TV), desktop computers, and the like.
  • the electronic device shown in FIG. 7 is only an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
  • the electronic device 500 may include a processing device (such as a central processing unit, a graphics processor, etc.) 501.
  • the processing device 501 may process data according to a program stored in a read-only memory (Read-Only Memory, ROM) 502 or from a program.
  • the storage device 508 loads the program in the random access memory (Random Access Memory, RAM) 503 to perform various appropriate actions and processes.
  • RAM Random Access Memory
  • various programs and data required for the operation of the electronic device 500 are also stored.
  • the processing device 501, ROM 502 and RAM 503 are connected to each other via a bus 504.
  • An input/output (I/O) interface 505 is also connected to bus 504.
  • the following devices can be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speaker , an output device 507 such as a vibrator; a storage device 508 including a magnetic tape, a hard disk, etc.; and a communication device 509.
  • input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.
  • LCD liquid crystal display
  • speaker an output device 507 such as a vibrator
  • storage device 508 including a magnetic tape, a hard disk, etc.
  • Communication device 509 may allow electronic device 500 to communicate wirelessly or wiredly with other devices to exchange data.
  • FIG. 7 illustrates electronic device 500 with various means, implementation or availability of all illustrated means is not required. More or fewer means may alternatively be implemented or provided.
  • the process described above with reference to the flowchart may be implemented as computer software software program.
  • embodiments of the present disclosure include a computer program product including a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
  • the computer program may be downloaded and installed from the network via communication device 509, or from storage device 508, or from ROM 502.
  • the processing device 501 When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
  • the electronic device provided by the embodiment of the present disclosure and the view drawing method provided by the above embodiment belong to the same concept.
  • Technical details that are not described in detail in this embodiment can be referred to the above embodiment, and this embodiment has the same effect as the above embodiment. .
  • Embodiments of the present disclosure provide a computer storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the view drawing method provided by the above embodiments is implemented.
  • the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
  • the computer-readable storage medium may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof.
  • Computer-readable storage media may include: an electrical connection having one or more wires, portable computer disks, hard drives, RAM, ROM, Erasable Programmable Read-Only Memory (EPROM), flash memory, fiber optics , portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take many forms, including electromagnetic signals, optical signals, or any suitable combination of the above.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
  • Program code embodied on a computer-readable medium can be transmitted using any appropriate medium, including: wire, optical cable, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
  • the client and server can communicate using any currently known or future developed network protocol, such as HyperText Transfer Protocol (HTTP), and can communicate with digital data in any form or medium.
  • HTTP HyperText Transfer Protocol
  • Communications e.g., communications network
  • Examples of communication networks include Local Area Network (LAN), Wide Area Network (Wide Area Network (WAN), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future developed network.
  • LAN Local Area Network
  • WAN Wide Area Network
  • the Internet e.g., the Internet
  • end-to-end networks e.g., ad hoc end-to-end networks
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; it may also exist independently without being assembled into the electronic device.
  • the computer-readable medium carries one or more programs.
  • the electronic device When the one or more programs are executed by the electronic device, the electronic device: obtains the metric editing function in the field addition page, wherein in the metric editing function including a target function and/or a target field; based on the metric editing function, determining at least one set of view participation data from project management data associated with the target user; based on the at least one set of view participation data, drawing the target view .
  • Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional Procedural programming language—such as "C" or a similar programming language.
  • 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.
  • the remote computer may be connected to the user computer through any kind of network, including a LAN or WAN, or may be connected to an external computer (eg, through the Internet using an Internet service provider).
  • each block in the flowchart or block diagram may represent a module, segment, or portion of code that contains one or more logic functions that implement the specified executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved.
  • Each block in the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration may be implemented by special purpose hardware-based systems that perform the specified functions or operations, or may be implemented using special purpose hardware implemented in combination with computer instructions.
  • the units involved in the embodiments of the present disclosure can be implemented in software or hardware.
  • the name of the unit does not constitute a limitation on the unit itself.
  • the first acquisition unit can also be described as "the unit that acquires at least two Internet Protocol addresses.”
  • exemplary types of hardware logic components include: Field Programmable Gate Arrays (Field Programmable Gate Arrays) Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Parts (ASSP), System on Chip (SOC), Complex Programmable Logic Device, CPLD), etc.
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with an instruction execution system, apparatus, or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • Machine-readable media may include electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing.
  • Machine-readable storage media includes one or more wire-based electrical connections, portable computer disks, hard drives, RAM, ROM, EPROM, flash memory, fiber optics, portable CD-ROMs, optical storage devices, magnetic storage devices, or the above any suitable combination of content.
  • the storage medium may be a non-transitory storage medium.
  • Example 1 provides a view drawing method, which includes:
  • the metric editing function includes the target function and/or the target field
  • Example 2 provides a view drawing method, which also includes:
  • the field adding page includes a function editing area, a field and function selection area, and a field and function example area;
  • the function editing area is used to edit the target field and/or target function selected from the field and function selection area to obtain the metric editing function;
  • the field and function selection area is used to display at least one field to be selected and/or at least one function to be selected, so as to determine the target field and/or target function from the field and function selection area;
  • the field and function example area is used to display usage examples of triggered target fields and/or target functions, so that editing can be performed based on the usage examples to obtain the metric editing function.
  • Example 3 provides a view drawing method, which also includes:
  • the at least one field to be selected is determined based on data fields in the project management data.
  • the data fields include a project name field, a project type field, a business line field, a project processing node field, and a participant field. , at least one of a creation time field, an update time field, and a business priority field.
  • Example 4 provides a view drawing method, which also includes:
  • the field adding page is displayed to determine the target configuration field based on the field and function selection area in the field adding page, and determine the target configuration field.
  • the target configuration field includes a target field and/or a target function.
  • Example 5 provides a view drawing method, which also includes:
  • the metric editing function in the acquisition field addition page includes:
  • the metric editing function is determined based on the target field and/or the target function.
  • Example 6 provides a view drawing method, which also includes:
  • determining the metric editing function based on the target field and/or the target function includes:
  • the target field is set in the target function to obtain the metric editing function.
  • Example 7 provides a view drawing method, which also includes:
  • the objective function includes a summation function, an average function, a field minimum value function, a field maximum value function, a field counting function, a field median counting function, a conditional function, a logical operation function, a judgment function, At least one of a unit conversion function and a data deduplication function.
  • Example 8 provides a view drawing method, further including:
  • At least one set of view participation data is determined from the project management data associated with the target user, including:
  • the at least one set of data to be processed is analyzed and processed based on the objective function to obtain the at least one set of view participation data.
  • Example 9 provides a view drawing method, further including:
  • drawing the target view based on the at least one set of view participation data includes:
  • Example 10 provides a view drawing device, which includes:
  • the function adding module is configured to obtain a metric editing function in the field adding page, where the metric editing function includes a target function and/or a target field;
  • a data determination module configured to determine at least one set of view participation data from project management data associated with the target user based on the metric editing function
  • the view drawing module is configured to draw the target view based on the at least one set of view participation data.

Abstract

Provided in the present disclosure are a view drawing method and apparatus, and an electronic device and a storage medium. The view drawing method comprises: acquiring a measure editing function in a field addition page, wherein the measure editing function comprises a target function and/or a target field; on the basis of the measure editing function, determining at least one group of view participation data from project management data associated with a target user; and drawing a target view on the basis of the at least one group of view participation data.

Description

视图绘制方法、装置、电子设备及存储介质View drawing method, device, electronic device and storage medium
本申请要求在2022年05月17日提交中国专利局、申请号为202210540581.2的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application with application number 202210540581.2, which was submitted to the China Patent Office on May 17, 2022. The entire content of this application is incorporated into this application by reference.
技术领域Technical field
本公开涉及数据可视化技术,例如涉及一种视图绘制方法、装置、电子设备及存储介质。The present disclosure relates to data visualization technology, for example, to a view drawing method, device, electronic device and storage medium.
背景技术Background technique
在项目管理系统中,在进行视图绘制时,通常是调取待处理的数据表,在数据表中进行数据统计和计算,并通过连续选择或多项选择的方式选择绘制视图所需的数据项,以对这些数据项进行视图绘制。In the project management system, when drawing a view, the data table to be processed is usually called, data statistics and calculations are performed in the data table, and the data items required to draw the view are selected through continuous selection or multiple selection. , to draw views on these data items.
通过上述方式,在绘制视图前需要先调取待处理的数据表,在进行后续处理,会造成时间上的浪费。并且,通过连续选择或多项选择的方式选择绘制视图所需的数据项进行视图绘制,使得灵活性和稳定性较差。Through the above method, the data table to be processed needs to be retrieved before drawing the view, which will cause a waste of time in subsequent processing. Moreover, selecting the data items required to draw the view through continuous selection or multiple selection for view drawing results in poor flexibility and stability.
发明内容Contents of the invention
本公开提供一种视图绘制方法、装置、电子设备及存储介质,以实现简化数据获取过程,并提高数据处理和视图绘制的灵活性的技术效果。The present disclosure provides a view drawing method, device, electronic device and storage medium to achieve the technical effects of simplifying the data acquisition process and improving the flexibility of data processing and view drawing.
本公开实施例提供了一种视图绘制方法,该方法包括:Embodiments of the present disclosure provide a view drawing method, which includes:
获取字段添加页面中的度量编辑函数,其中,所述度量编辑函数中包括目标函数和/或目标字段;Obtain the metric editing function in the field addition page, where the metric editing function includes the target function and/or the target field;
基于所述度量编辑函数,从与目标用户相关联的项目管理数据中,确定出至少一组视图参与数据;determining at least one set of view participation data from project management data associated with the target user based on the metric editing function;
基于所述至少一组视图参与数据,绘制目标视图。Drawing a target view based on the at least one set of view participation data.
本公开实施例还提供了一种视图绘制装置,该装置包括:An embodiment of the present disclosure also provides a view drawing device, which includes:
函数添加模块,设置为获取字段添加页面中的度量编辑函数,其中,所述度量编辑函数中包括目标函数和/或目标字段;The function adding module is configured to obtain a metric editing function in the field adding page, where the metric editing function includes a target function and/or a target field;
数据确定模块,设置为基于所述度量编辑函数,从与目标用户相关联的项目管理数据中,确定出至少一组视图参与数据;a data determination module configured to determine at least one set of view participation data from project management data associated with the target user based on the metric editing function;
视图绘制模块,设置为基于所述至少一组视图参与数据,绘制目标视图。 The view drawing module is configured to draw the target view based on the at least one set of view participation data.
本公开实施例还提供了一种电子设备,包括:An embodiment of the present disclosure also provides an electronic device, including:
一个或多个处理器;one or more processors;
存储装置,设置为存储一个或多个程序,a storage device configured to store one or more programs,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本公开实施例任一所述的视图绘制方法。When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the view drawing method as described in any one of the embodiments of the present disclosure.
本公开实施例还一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如本公开实施例任一所述的视图绘制方法。An embodiment of the present disclosure further provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform the view drawing method as described in any embodiment of the present disclosure.
附图说明Description of the drawings
图1为本公开实施例所提供的一种视图绘制方法的流程示意图;Figure 1 is a schematic flowchart of a view drawing method provided by an embodiment of the present disclosure;
图2为本公开实施例所提供的另一种视图绘制方法的流程示意图;Figure 2 is a schematic flowchart of another view drawing method provided by an embodiment of the present disclosure;
图3为本公开实施例所提供的一种字段添加页面的示意图;Figure 3 is a schematic diagram of a field adding page provided by an embodiment of the present disclosure;
图4为本公开实施例所提供的一种图表绘制页面的示意图;Figure 4 is a schematic diagram of a chart drawing page provided by an embodiment of the present disclosure;
图5为本公开实施例所提供的一种待选择字段以及目标字段的显示示意图;Figure 5 is a schematic diagram showing a field to be selected and a target field provided by an embodiment of the present disclosure;
图6为本公开实施例所提供的一种视图绘制装置的结构示意图;Figure 6 is a schematic structural diagram of a view drawing device provided by an embodiment of the present disclosure;
图7为本公开实施例所提供的一种电子设备的结构示意图。FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将参照附图描述本公开的实施例。虽然附图中显示了本公开的一些实施例,然而本公开可以通过多种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了理解本公开。本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Embodiments of the present disclosure will be described below with reference to the accompanying drawings. Although some embodiments of the disclosure are shown in the drawings, the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather these embodiments are provided for the purpose of understanding the disclosure. The drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of the present disclosure.
本公开的方法实施方式中记载的多个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。Multiple steps described in the method implementations of the present disclosure may be executed in different orders and/or in parallel. Furthermore, method embodiments may include additional steps and/or omit performance of illustrated steps. The scope of the present disclosure is not limited in this regard.
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。As used herein, the term "include" and its variations are open-ended, ie, "including but not limited to." The term "based on" means "based at least in part on." The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; and the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below.
本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进 行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。Concepts such as “first” and “second” mentioned in this disclosure are only used to describe different devices, modules or units. Line distinctions are not intended to limit the order or interdependence of the functions performed by these devices, modules or units.
本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,除非在上下文另有指出,否则应该理解为“一个或多个”。The modifications "a" and "plurality" mentioned in this disclosure are illustrative and not restrictive, and should be understood as "one or more" unless the context indicates otherwise.
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are for illustrative purposes only and are not used to limit the scope of these messages or information.
图1为本公开实施例所提供的一种视图绘制方法的流程示意图,本公开实施例适用于根据字段对数据进行计算以及绘图的情形,该方法可以由视图绘制装置来执行,该装置可以通过软件和/或硬件的形式实现,可选的,通过电子设备来实现,该电子设备可以是移动终端、个人计算机(Personal Computer,PC)端或服务器等。Figure 1 is a schematic flowchart of a view drawing method provided by an embodiment of the present disclosure. The embodiment of the present disclosure is suitable for calculating and drawing data based on fields. This method can be executed by a view drawing device, and the device can It is implemented in the form of software and/or hardware, optionally, through electronic equipment. The electronic equipment can be a mobile terminal, a personal computer (Personal Computer, PC) or a server.
如图1所示,所述方法包括以下步骤。As shown in Figure 1, the method includes the following steps.
S110、获取字段添加页面中的度量编辑函数。S110. Get the measure editing function in the field addition page.
度量编辑函数可以是用于进行后续数据处理和视图绘制的函数,即执行任务或计算值的语句,度量编辑函数中包括目标函数和/或目标字段。通常的,度量编辑函数为表达式的形式,也就是目标函数和目标字段进行组合生成的类似于数学公式的展示形式。目标函数可以是用于度量计算的函数,例如:算数函数、逻辑运算、比较函数、字符串函数、数组操作函数与特殊函数等。目标字段可以是后续进行数据处理和视图绘制时所需使用的数据字段。字段添加页面可以是用于对度量编辑函数进行编辑的页面。The metric editing function can be a function used for subsequent data processing and view drawing, that is, a statement to perform a task or calculate a value. The metric editing function includes a target function and/or a target field. Usually, the measurement editing function is in the form of an expression, that is, a display form similar to a mathematical formula generated by combining the target function and the target field. The target function can be a function used for measurement calculations, such as arithmetic functions, logical operations, comparison functions, string functions, array operation functions, special functions, etc. The target field can be the data field needed for subsequent data processing and view drawing. The field addition page may be a page used to edit the metric editing function.
操作用户可以在字段添加页面中编辑度量编辑函数,当检测到度量编辑函数编辑完成时,从字段添加页面中获取当前的度量编辑函数。The operation user can edit the metric editing function in the field adding page. When it is detected that the editing of the metric editing function is completed, the current metric editing function is obtained from the field adding page.
度量编辑函数中可以只包含目标字段,例如用于调取目标字段对应的所有数据等,度量编辑函数中也可以只包含目标函数,例如用于计算和绘制全部字段的数据等,度量编辑函数中还可以包含目标函数和目标字段,例如用于对目标字段对应的数据通过目标函数进行计算和绘制。若度量编辑函数中出现由于只包含目标函数或目标字段而无法进行处理的情况,以及目标函数和目标字段无法匹配进行处理的情况,可以反馈错误提醒至操作人员,以使操作人员针对度量编辑函数进行修改。The metric editing function can only contain the target field, for example, it is used to retrieve all the data corresponding to the target field, etc. The metric editing function can also only contain the target function, for example, it is used to calculate and draw the data of all fields, etc. In the metric editing function It can also include a target function and a target field, for example, used to calculate and plot the data corresponding to the target field through the target function. If there is a situation in the metric editing function that cannot be processed because it only contains the target function or target field, or the target function and the target field cannot be matched for processing, the error can be fed back to the operator so that the operator can target the metric editing function. to modify.
可选的,目标函数包括求和函数、求均值函数、取字段最小值函数、取字段最大值函数、字段计数函数、字段中位数计数函数、条件函数、逻辑运算函数、判断函数、单位转换函数、数据去重函数中的至少一个。 Optional, the target function includes summation function, averaging function, field minimum value function, field maximum value function, field counting function, field median counting function, conditional function, logical operation function, judgment function, and unit conversion. At least one of the function and the data deduplication function.
求和函数可以是对各目标字段求和的函数,例如:SUM()。求均值函数可以是对各目标字段求均值的函数,例如:AVG()。取字段最小值函数可以是对各目标字段求最小值的函数,例如:MIN()。取字段最大值函数可以是对各目标字段求最大值的函数,例如:MAX()。字段计数函数可以是对目标字段中的数据进行计数的函数,例如:COUNT()。字段中位数计数函数可以是对目标字段进行求中位数的函数,例如:MEDIAN()。条件函数可以是通过条件判断来对各目标字段的数据进行处理的函数,例如:SUMIF()、AVGIF()、MINIF()、MAXIF()、COUNTIF或MEDIAN()等。逻辑运算函数可以是用于进行布尔运算的函数,逻辑运算函数提供了各种逻辑运算符,例如:与运算符AND(&&)、或运算符OR(||)、条件判断运算符IF、是否属于运算符IN以及取非运算符NOT等。判断函数可以是完成判断需求的函数,例如:用于判断目标字段是否为空的函数isnull()等。单位转换函数可以是用于进行单位转换或数据转换的函数,例如:用于计算时间段的函数Timeline,示例性的,timeline("2021/08/01","2021/08/31","day")用于输出2021年8月1日至2021年8月31日之间的天数,还可以用"week"输出周数,用"month"输出月数等。数据去重函数可以是对重复数据进行去除的函数,例如:COUNT()计算的数据是有重复数据,可以用COUNTDISTINCT()进行去重计数或者用COUNTDISTINCTIF()进行带条件的去重计数。The summation function can be a function that sums each target field, for example: SUM(). The averaging function can be a function that averages each target field, for example: AVG(). The field minimum value function can be a function that finds the minimum value of each target field, for example: MIN(). The field maximum value function can be a function that finds the maximum value of each target field, for example: MAX(). The field count function can be a function that counts the data in the target field, such as: COUNT(). The field median counting function can be a function that calculates the median of the target field, for example: MEDIAN(). The conditional function can be a function that processes the data of each target field through conditional judgment, such as: SUMIF(), AVGIF(), MINIF(), MAXIF(), COUNTIF or MEDIAN(), etc. The logical operation function can be a function used to perform Boolean operations. The logical operation function provides various logical operators, such as: AND operator AND (&&), or operator OR (||), conditional judgment operator IF, whether Belongs to the operator IN and the NOT operator NOT, etc. The judgment function can be a function that completes the judgment requirement, for example: the function isnull() used to judge whether the target field is empty, etc. The unit conversion function can be a function used for unit conversion or data conversion, for example: the function Timeline used to calculate a time period, for example, timeline("2021/08/01","2021/08/31"," day") is used to output the number of days between August 1, 2021 and August 31, 2021. You can also use "week" to output the number of weeks, and "month" to output the number of months, etc. The data deduplication function can be a function that removes duplicate data. For example, if the data calculated by COUNT() contains duplicate data, you can use COUNTDISTINCT() for deduplication counting or COUNTDISTINCTIF() for conditional deduplication counting.
目标函数还可以是四则运算函数,四则运算可以包括下述运算符,例如:+(加)、-(减)、*(乘)、/(除以)、%(取余)、Pow()(求幂)以及Sqrt()(开根号)等。The objective function can also be the four arithmetic operations, which can include the following operators, such as: + (addition), - (subtraction), * (multiplication), / (division), % (remainder), Pow () (exponentiation) and Sqrt() (root sign), etc.
S120、基于度量编辑函数,从与目标用户相关联的项目管理数据中,确定出至少一组视图参与数据。S120. Based on the metric editing function, determine at least one set of view participation data from the project management data associated with the target user.
目标用户可以是操作用户,可以是系统当前的登录状态所对应的用户。项目管理数据可以是与目标用户相关联的数据。视图参与数据可以是后续用于进行视图绘制时所需的数据。The target user can be an operating user or the user corresponding to the current login status of the system. Project management data may be data associated with target users. View participation data can be data required for subsequent view drawing.
示例性的,在获取到度量编辑函数后,根据度量编辑函数可以从与目标用户相关联的项目管理数据中确定出度量编辑函数进行处理所需的数据。并根据度量编辑函数对确定出的数据进行处理,进而,将处理后所得到的数据作为视图参与数据。For example, after obtaining the metric editing function, the data required for processing by the metric editing function can be determined from the project management data associated with the target user according to the metric editing function. The determined data is processed according to the metric editing function, and then the processed data is used as view participation data.
S130、基于至少一组视图参与数据,绘制目标视图。S130. Draw the target view based on at least one set of view participation data.
目标视图可以是任意一种形式的视图,可以是统计图形式,例如:饼图、柱状图或折线图等,也可以是表格形式,例如:统计表等。 The target view can be any form of view, it can be in the form of a statistical chart, such as a pie chart, a bar chart, a line chart, etc., or it can be in a tabular form, such as a statistical table, etc.
示例性的,针对至少一组视图参与数据,根据所需的视图形式进行目标视图的绘制,以得到目标视图。For example, for at least one set of view participation data, the target view is drawn according to the required view form to obtain the target view.
本公开实施例的技术方案,通过获取字段添加页面中的度量编辑函数,以获取目标函数和/或目标字段,进而,基于度量编辑函数,从与目标用户相关联的项目管理数据中,确定出至少一组视图参与数据,以省去调取数据表所需的时间,基于至少一组视图参与数据,绘制目标视图,解决了调取数据表的时间浪费问题以及数据选择的灵活性和稳定性差的问题,实现了节约数据表调取的时间,并提高数据选择和视图绘制的灵活性和稳定性的技术效果。The technical solution of the embodiment of the present disclosure obtains the target function and/or target field by obtaining the metric editing function in the field addition page, and then, based on the metric editing function, determines from the project management data associated with the target user At least one group of views participates in the data to save the time required to load the data table. Based on at least one group of views, the data is participated in and the target view is drawn, which solves the problem of time waste in loading the data table and the poor flexibility and stability of data selection. problem, achieving the technical effect of saving time in retrieving data tables and improving the flexibility and stability of data selection and view drawing.
图2为本公开实施例所提供的另一种视图绘制方法的流程示意图,在前述技术方案的基础上,增加了度量编辑函数的确定方式,并针对度量编辑函数的获取方式、视图参与数据的确定方式以及目标视图的绘制方式的实施方式进行说明,实施方式可以参见本技术方案的阐述。其中,与上述多个技术方案相同或相应的术语的解释在此不再赘述。Figure 2 is a schematic flow chart of another view drawing method provided by an embodiment of the present disclosure. Based on the foregoing technical solution, a method for determining the metric editing function is added, and the method for obtaining the metric editing function and the view participation data are added. The implementation of the determination method and the drawing method of the target view will be described. For the implementation, please refer to the description of this technical solution. The explanations of terms that are the same as or corresponding to the above multiple technical solutions will not be repeated here.
如图2所示,所述方法包括以下步骤。As shown in Figure 2, the method includes the following steps.
S210、在检测到触发新建图表控件时,跳转至图表绘制页面。S210. When it is detected that the new chart control is triggered, jump to the chart drawing page.
新建图表控件可以是用于新建图表的可视化图形元件,如“新建”按钮等。图表绘制页面可以是用于显示各种用于图表绘制的控件以及显示框等的页面。The new chart control can be a visual graphic component used to create a new chart, such as a "New" button, etc. The chart drawing page may be a page used to display various controls and display boxes for chart drawing.
当操作用户想要绘制图表时,可以触发新建图表控件,例如:点击“新建”按钮等。在检测到触发新建图表控件时,打开图表绘制页面,并将该页面显示在最前方。When the user wants to draw a chart, the new chart control can be triggered, for example, by clicking the "New" button, etc. When it is detected that the new chart control is triggered, the chart drawing page is opened and displayed in the front.
S220、当检测到触发图表绘制页面中的添加计算字段控件时,显示字段添加页面,以基于字段添加页面中的字段与函数选择区,确定目标配置字段,并确定与目标配置字段相对应的度量编辑函数。S220. When it is detected that the add calculated field control in the chart drawing page is triggered, display the field adding page to determine the target configuration field based on the field and function selection area in the field adding page, and determine the measurement corresponding to the target configuration field. Edit function.
在介绍本步骤之前,先介绍字段添加页面的形式,如图3所示为字段添加页面的示意图,字段添加页面中包括函数编辑区、字段与函数选择区、以及字段与函数示例区。Before introducing this step, we first introduce the form of the field addition page. Figure 3 is a schematic diagram of the field addition page. The field addition page includes a function editing area, a field and function selection area, and a field and function example area.
函数编辑区,用于对从字段与函数选择区选择出的目标字段和/或目标函数进行编辑,得到度量编辑函数;字段与函数选择区,用于展示至少一个待选择字段和/或至少一个待选择函数,以从字段与函数选择区确定出目标字段和/或目标函数;字段与函数示例区,用于显示触发的目标字段和/或目标函数的使用实例,以基于使用实例进行编辑,得到度量编辑函数。 The function editing area is used to edit the target field and/or target function selected from the field and function selection area to obtain the measurement editing function; the field and function selection area is used to display at least one field to be selected and/or at least one The function to be selected is used to determine the target field and/or target function from the field and function selection area; the field and function example area is used to display the usage examples of the triggered target field and/or target function for editing based on the usage examples. Get the metric editing function.
待选择字段可以是预先加载至字段与函数选择区中的各字段,可以是项目管理数据中的各种数据字段。待选择函数可以是预先加载至字段与函数选择区中的各函数。使用实例可以是对目标字段和/或目标函数进行使用方法介绍的实例,以便于操作用户快速上手使用。其中,字段与函数选择区中的各字段可以是指一个或多个字段,项目管理数据中的各种数据字段是指一种或多种数据字段。字段与函数选择区中的各函数可以是指一个或多个函数。The fields to be selected can be fields preloaded into the field and function selection area, or various data fields in the project management data. The function to be selected can be each function preloaded into the field and function selection area. Usage examples can be examples that introduce the use of target fields and/or target functions, so that users can quickly get started. Each field in the field and function selection area may refer to one or more fields, and various data fields in the project management data refer to one or more data fields. Each function in the field and function selection area can refer to one or more functions.
可选的,至少一个待选择字段是基于项目管理数据中的数据字段确定的,数据字段包括项目名称字段、项目类型字段、业务线字段、项目处理节点字段、参与者字段、创建时间字段、更新时间字段以及业务优先级字段中的至少一个。Optionally, at least one field to be selected is determined based on the data fields in the project management data. The data fields include project name field, project type field, business line field, project processing node field, participant field, creation time field, and update. At least one of a time field and a business priority field.
项目名称字段可以是用于标识不同项目的字段,例如:服务参数自定义配置、以及Meo加入单词本功能等。项目类型字段可以是业务需求、以及技术需求等。业务线字段可以是用于标识完成业务需求的一种产品或一组相关产品的字段。项目处理节点字段可以是标识项目当前正在处理的节点的字段。参与者字段可以是参与一个项目的部分或全部人员的标识。创建时间字段可以用于标识一个项目创建的时间的字段。更新时间字段可以用于标识一个项目上一次编辑的时间的字段。业务优先级字段可以是用于标识不同项目重要程度的字段,如P0、以及P1等。The project name field can be a field used to identify different projects, such as: custom configuration of service parameters, and the function of adding Meo to the word book, etc. The project type field can be business requirements, technical requirements, etc. A line of business field can be a field that identifies a product or a group of related products that fulfill a business need. The project processing node field may be a field that identifies the node that the project is currently processing. The participant field can be the identification of some or all people involved in a project. The creation time field can be used to identify the time a project was created. The Updated field can be used to identify the time an item was last edited. The business priority field may be a field used to identify the importance of different projects, such as P0, P1, etc.
示例性的,数据字段可以配置其固有的数据类型,例如:项目名称字段、项目处理节点字段、项目类型字段以及参与者字段的数据类型可以是字符串(String),业务线字段和业务优先级字段的数据类型可以是数组(Array),创建时间字段和更新时间字段可以是日期(Date)。若数据字段为与数字相关的字段,则数据类型可以是数值(Number)。若数据字段为AB测试或开关等字段,则数据类型可以是布尔值(Boolean)。For example, the data fields can be configured with their own inherent data types. For example, the data types of the project name field, project processing node field, project type field, and participant field can be string (String), and the business line field and business priority can be The data type of the field can be an array (Array), and the creation time field and update time field can be a date (Date). If the data field is a field related to numbers, the data type can be numeric value (Number). If the data field is an AB test or switch field, the data type can be Boolean.
在本步骤中,目标配置字段可以是操作用户进行选择和/或编辑的字段,目标配置字段中包括目标字段和/或目标函数。添加计算字段控件可以是用于调取字段添加页面的控件,例如:“+添加计算字段”按钮等。In this step, the target configuration field may be a field that the operating user selects and/or edits, and the target configuration field includes a target field and/or a target function. The add calculated field control can be a control used to call the field adding page, such as: "+Add calculated field" button, etc.
示例性的,操作用户可以在图表绘制页面上触发添加计算字段控件,以调取字段添加页面,便于在字段添加页面中编辑度量编辑函数。当检测到图标绘制页面中的添加计算字段控件被触发时,可以显示字段添加页面,以便操作用户在字段添加页面中的字段与函数选择区中选择目标字段和/或目标函数来构成目标配置字段,并便于对目标配置字段进行编辑得到度量编辑函数。For example, the operating user can trigger the add calculated field control on the chart drawing page to call up the field adding page, so as to edit the measure editing function on the field adding page. When it is detected that the add calculated field control in the icon drawing page is triggered, the field adding page can be displayed so that the operating user can select the target field and/or the target function in the field and function selection area in the field adding page to form the target configuration field. , and facilitate editing of target configuration fields to obtain the metric editing function.
示例性的,如图4所示为图表绘制页面的示意图,其中包括添加计算字段控件。 For example, Figure 4 shows a schematic diagram of a chart drawing page, which includes adding a calculated field control.
S230、当检测到对字段与函数选择区的触发操作时,显示至少一个待选择字段和至少一个待选择函数。S230. When a trigger operation on the field and function selection area is detected, display at least one field to be selected and at least one function to be selected.
触发操作可以是鼠标的点选操作、键盘的按键操作、以及鼠标的悬停操作等。The trigger operation can be a mouse click operation, a keyboard key operation, a mouse hover operation, etc.
示例性的,当检测到对字段与函数选择区的触发操作时,在字段与函数选择区中可以显示各个待选择字段和各个待选择函数。For example, when a triggering operation on the field and function selection area is detected, each field to be selected and each function to be selected may be displayed in the field and function selection area.
可以是当检测到对字段与函数选择区中字段控件的触发时,显示至少一个待选择字段,当检测到对字段与函数选择区中函数控件的触发时,显示至少一个待选择函数。各个待选择字段可以是指一个或多个待选择字段,各个待选择函数可以是指一个或多个待选择函数。It may be that when the triggering of the field control in the field and function selection area is detected, at least one field to be selected is displayed, and when the triggering of the function control in the field and function selection area is detected, at least one function to be selected is displayed. Each field to be selected may refer to one or more fields to be selected, and each function to be selected may refer to one or more functions to be selected.
S240、基于对至少一个待选择字段和至少一个待选择函数的触发操作,确定目标字段和/或目标函数。S240. Determine the target field and/or the target function based on the triggering operation on at least one field to be selected and at least one function to be selected.
示例性的,当检测到对待选择字段的触发操作时,可以将被触发的待选择字段作为目标字段,当检测到对到待选择函数的触发操作时,可以将被触发的待选择函数作为目标函数。例如,待选择字段以及目标字段的显示示意图,如图5所示。For example, when a trigger operation on a field to be selected is detected, the triggered field to be selected can be used as a target field, and when a trigger operation on a function to be selected is detected, the triggered function to be selected can be used as a target. function. For example, the display diagram of the field to be selected and the target field is shown in Figure 5.
S250、当检测到触发确认控件时,基于所述目标字段和/或所述目标函数,确定度量编辑函数。S250. When the trigger confirmation control is detected, determine a metric editing function based on the target field and/or the target function.
确认控件可以是用于确认目标字段和/或目标函数选择完成的控件。The confirmation control may be a control used to confirm completion of target field and/or target function selection.
示例性的,当检测到操作用户触发了确认控件时,可以确定当前选择的各目标字段和/或各目标函数,并对目标字段和目标函数进行编辑,将编辑后的内容作为度量编辑函数。For example, when it is detected that the operating user triggers the confirmation control, each currently selected target field and/or each target function can be determined, the target field and the target function can be edited, and the edited content can be used as the measurement editing function.
可以通过下述方式来基于目标字段和/或目标函数,确定度量编辑函数:The metric editing function can be determined based on the target field and/or target function in the following ways:
在目标函数中设定目标字段,得到度量编辑函数。Set the target field in the target function to get the measure editing function.
示例性的,将目标字段添加至目标函数中的相应位置,以使目标函数和目标字段进行有效的组合,将组合后的函数作为度量编辑函数。For example, the target field is added to the corresponding position in the target function so that the target function and the target field are effectively combined, and the combined function is used as the metric editing function.
S260、基于度量编辑函数中的目标字段,从项目管理数据中调取至少一组待处理数据。S260. Based on the target field in the metric editing function, retrieve at least one set of data to be processed from the project management data.
待处理数据可以是项目管理数据中与目标字段相对应的数据,用于后续进行数据分析处理。The data to be processed can be data corresponding to the target field in the project management data, which is used for subsequent data analysis and processing.
示例性的,确定度量编辑函数中的目标字段,进而,从项目管理数据中调取与目标字段相对应的数据,作为待处理数据。 For example, the target field in the metric editing function is determined, and then the data corresponding to the target field is retrieved from the project management data as the data to be processed.
S270、基于目标函数对至少一组待处理数据进行分析处理,得到至少一组视图参与数据。S270. Analyze and process at least one set of data to be processed based on the objective function to obtain at least one set of view participation data.
示例性的,在获取待处理数据后,通过度量编辑函数中的目标函数,对待处理数据进行分析处理,将处理后的数据作为视图参与数据。For example, after obtaining the data to be processed, the data to be processed is analyzed and processed by measuring the objective function in the editing function, and the processed data is used as a view to participate in the data.
S280、基于至少一组视图参与数据,以及预先选择的视图模式,绘制目标视图。S280. Draw a target view based on at least one set of view participation data and a pre-selected view mode.
视图模式可以是统计图或统计表等,统计图还可以是饼图、柱状图以及折线图等。The view mode can be a statistical chart or a statistical table, etc. The statistical chart can also be a pie chart, a bar chart, a line chart, etc.
示例性的,操作用户可以选择视图模式,在确定视图模式后,将各视图参与数据根据视图模式进行绘制,得到目标视图。其中,各视图参与数据可以是指一组或多组视图参与数据。For example, the operating user can select a view mode. After determining the view mode, the participating data of each view is drawn according to the view mode to obtain the target view. Each view participation data may refer to one or more sets of view participation data.
本公开实施例的技术方案,通过在检测到触发新建图表控件时,跳转至图表绘制页面,当检测到触发图表绘制页面中的添加计算字段控件时,显示字段添加页面,以基于字段添加页面中的字段与函数选择区,确定目标配置字段,并确定与目标配置字段相对应的度量编辑函数,以确定度量编辑函数,当检测到对字段与函数选择区的触发操作时,显示至少一个待选择字段和至少一个待选择函数,基于对至少一个待选择字段和至少一个待选择函数的触发操作,确定目标字段和/或目标函数,当检测到触发确认控件时,基于所述目标字段和/或所述目标函数,确定度量编辑函数,以获取目标函数和/或目标字段,进而,基于度量编辑函数中的目标字段,从项目管理数据中调取至少一组待处理数据,以省去调取数据表所需的时间,基于目标函数对至少一组待处理数据进行分析处理,得到至少一组视图参与数据,基于至少一组视图参与数据,以及预先选择的视图模式,绘制目标视图,解决了调取数据表的时间浪费问题以及数据选择的灵活性和稳定性差的问题,实现了节约数据表调取的时间,并提高数据选择和视图绘制的灵活性和稳定性的技术效果。The technical solution of the embodiment of the present disclosure is to jump to the chart drawing page when a trigger to create a new chart control is detected, and when a trigger to add a calculated field control in the chart drawing page is detected, the field adding page is displayed to add a page based on the field. In the field and function selection area, determine the target configuration field and determine the metric editing function corresponding to the target configuration field to determine the metric editing function. When a trigger operation on the field and function selection area is detected, display at least one pending Select the field and at least one function to be selected, determine the target field and/or the target function based on the trigger operation on the at least one field to be selected and the at least one function to be selected, and when the trigger confirmation control is detected, based on the target field and/or the function to be selected. Or the objective function, determine the metric editing function to obtain the objective function and/or the target field, and then, based on the target field in the metric editing function, retrieve at least one set of data to be processed from the project management data to save the need for retrieval. The time required to obtain the data table, analyze and process at least one set of data to be processed based on the target function, obtain at least one set of view participation data, draw the target view based on at least one set of view participation data, and the pre-selected view mode, and solve the problem It solves the problem of time waste in retrieving data tables and the poor flexibility and stability of data selection, and achieves the technical effect of saving time in retrieving data tables and improving the flexibility and stability of data selection and view drawing.
图6为本公开实施例所提供的一种视图绘制装置的结构示意图,如图6所示,所述装置包括:函数添加模块310、数据确定模块320以及视图绘制模块330。Figure 6 is a schematic structural diagram of a view drawing device provided by an embodiment of the present disclosure. As shown in Figure 6, the device includes: a function adding module 310, a data determination module 320 and a view drawing module 330.
函数添加模块310,设置为获取字段添加页面中的度量编辑函数,其中,所述度量编辑函数中包括目标函数和/或目标字段;数据确定模块320,设置为基于所述度量编辑函数,从与目标用户相关联的项目管理数据中,确定出至少一组视图参与数据;视图绘制模块330,设置为基于所述至少一组视图参与数据, 绘制目标视图。The function adding module 310 is configured to obtain the metric editing function in the field adding page, wherein the metric editing function includes the target function and/or the target field; the data determining module 320 is configured to obtain the metric editing function based on the metric editing function from and In the project management data associated with the target user, at least one set of view participation data is determined; the view drawing module 330 is configured to based on the at least one set of view participation data, Draw the target view.
在上述多个技术方案的基础上,所述字段添加页面中包括函数编辑区、字段与函数选择区、以及字段与函数示例区;Based on the above multiple technical solutions, the field addition page includes a function editing area, a field and function selection area, and a field and function example area;
所述函数编辑区,用于对从字段与函数选择区选择出的目标字段和/或目标函数进行编辑,得到所述度量编辑函数;The function editing area is used to edit the target field and/or target function selected from the field and function selection area to obtain the measurement editing function;
所述字段与函数选择区,用于展示至少一个待选择字段和/或至少一个待选择函数,以从所述字段与函数选择区确定出目标字段和/或目标函数;The field and function selection area is used to display at least one field to be selected and/or at least one function to be selected, so as to determine the target field and/or target function from the field and function selection area;
所述字段与函数示例区,用于显示触发的目标字段和/或目标函数的使用实例,以基于所述使用实例进行编辑,得到所述度量编辑函数。The field and function example area is used to display usage examples of triggered target fields and/or target functions, so that editing can be performed based on the usage examples to obtain the metric editing function.
在上述多个技术方案的基础上,所述至少一个待选择字段是基于所述项目管理数据中的数据字段确定的,所述数据字段包括项目名称字段、项目类型字段、业务线字段、项目处理节点字段、参与者字段、创建时间字段、更新时间字段以及业务优先级字段中的至少一个。Based on the above multiple technical solutions, the at least one field to be selected is determined based on the data fields in the project management data. The data fields include project name field, project type field, business line field, project processing field At least one of a node field, a participant field, a creation time field, an update time field, and a business priority field.
在上述多个技术方案的基础上,所述装置还包括:度量编辑函数确定模块,设置为在检测到触发新建图表控件时,跳转至图表绘制页面;当检测到触发图表绘制页面中的添加计算字段控件时,显示所述字段添加页面,以基于所述字段添加页面中的字段与函数选择区,确定目标配置字段,并确定与所述目标配置字段相对应的度量编辑函数;其中,所述目标配置字段中包括目标字段和/或目标函数。On the basis of the above technical solutions, the device also includes: a measurement editing function determination module, configured to jump to the chart drawing page when a new chart control is triggered; when a trigger to add a new chart control is detected; When calculating the field control, display the field adding page to determine the target configuration field based on the field and function selection area in the field adding page, and determine the metric editing function corresponding to the target configuration field; wherein, The target configuration fields include target fields and/or target functions.
在上述多个技术方案的基础上,函数添加模块310,是设置为当检测到对所述字段与函数选择区的触发操作时,显示至少一个待选择字段和至少一个待选择函数;基于对所述至少一个待选择字段和所述至少一个待选择函数的触发操作,确定目标字段和/或目标函数;当检测到触发确认控件时,基于所述目标字段和/或所述目标函数,确定所述度量编辑函数。Based on the above multiple technical solutions, the function adding module 310 is configured to display at least one field to be selected and at least one function to be selected when a trigger operation on the field and function selection area is detected; based on the The trigger operation of the at least one field to be selected and the at least one function to be selected determines the target field and/or the target function; when the trigger confirmation control is detected, the target field and/or the target function are determined based on the target field and/or the target function. Describe the metric editing function.
在上述多个技术方案的基础上,函数添加模块310,是设置为在所述目标函数中设定所述目标字段,得到所述度量编辑函数。Based on the above multiple technical solutions, the function adding module 310 is configured to set the target field in the target function to obtain the metric editing function.
在上述多个技术方案的基础上,所述目标函数包括求和函数、求均值函数、取字段最小值函数、取字段最大值函数、字段计数函数、字段中位数计数函数、条件函数、逻辑运算函数、判断函数、单位转换函数、数据去重函数中的至少一个。Based on the above multiple technical solutions, the objective function includes a summation function, an average function, a field minimum function, a field maximum function, a field counting function, a field median counting function, a conditional function, and a logic function. At least one of an operation function, a judgment function, a unit conversion function, and a data deduplication function.
在上述多个技术方案的基础上,数据确定模块320,是设置为基于所述度量编辑函数中的目标字段,从所述项目管理数据中调取所述至少一组待处理数据;基于所述目标函数对所述至少一组待处理数据进行分析处理,得到所述至少一 组视图参与数据。Based on the above multiple technical solutions, the data determination module 320 is configured to retrieve the at least one set of data to be processed from the project management data based on the target field in the metric editing function; based on the The objective function analyzes and processes the at least one set of data to be processed to obtain the at least one Group view participation data.
在上述多个技术方案的基础上,视图绘制模块330,是设置为基于所述至少一组视图参与数据,以及预先选择的视图模式,绘制所述目标视图。Based on the above multiple technical solutions, the view drawing module 330 is configured to draw the target view based on the at least one set of view participation data and the pre-selected view mode.
本公开实施例的技术方案,通过获取字段添加页面中的度量编辑函数,以获取目标函数和/或目标字段,进而,基于度量编辑函数,从与目标用户相关联的项目管理数据中,确定出至少一组视图参与数据,以省去调取数据表所需的时间,基于至少一组视图参与数据,绘制目标视图,解决了调取数据表的时间浪费问题以及数据选择的灵活性和稳定性差的问题,实现了节约数据表调取的时间,并提高数据选择和视图绘制的灵活性和稳定性的技术效果。The technical solution of the embodiment of the present disclosure obtains the target function and/or target field by obtaining the metric editing function in the field addition page, and then, based on the metric editing function, determines from the project management data associated with the target user At least one group of views participates in the data to save the time required to load the data table. Based on at least one group of views, the data is participated in and the target view is drawn, which solves the problem of time waste in loading the data table and the poor flexibility and stability of data selection. problem, achieving the technical effect of saving time in retrieving data tables and improving the flexibility and stability of data selection and view drawing.
图7为本公开实施例所提供的一种电子设备的结构示意图。下面参考图7,其示出了适于用来实现本公开实施例的电子设备(例如图7中的终端设备或服务器)500的结构示意图。本公开实施例中的终端设备可以包括诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、平板电脑(Portable Android Device,PAD)、便携式多媒体播放器(Portable Media Player,PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字电视(television,TV)、台式计算机等等的固定终端。图7示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. Referring now to FIG. 7 , a schematic structural diagram of an electronic device (such as the terminal device or server in FIG. 7 ) 500 suitable for implementing embodiments of the present disclosure is shown. Terminal devices in embodiments of the present disclosure may include mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant, PDA), tablet computers (Portable Android Device, PAD), portable multimedia players (Portable Media Player, PMP), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and the like, as well as fixed terminals such as digital televisions (television, TV), desktop computers, and the like. The electronic device shown in FIG. 7 is only an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
如图7所示,电子设备500可以包括处理装置(例如中央处理器、图形处理器等)501,处理装置501可以根据存储在只读存储器(Read-Only Memory,ROM)502中的程序或者从存储装置508加载到随机访问存储器(Random Access Memory,RAM)503中的程序而执行多种适当的动作和处理。在RAM 503中,还存储有电子设备500操作所需的多种程序和数据。处理装置501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(Input/Output,I/O)接口505也连接至总线504。As shown in Figure 7, the electronic device 500 may include a processing device (such as a central processing unit, a graphics processor, etc.) 501. The processing device 501 may process data according to a program stored in a read-only memory (Read-Only Memory, ROM) 502 or from a program. The storage device 508 loads the program in the random access memory (Random Access Memory, RAM) 503 to perform various appropriate actions and processes. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, ROM 502 and RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
以下装置可以连接至I/O接口505:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置506;包括例如液晶显示器(Liquid Crystal Display,LCD)、扬声器、振动器等的输出装置507;包括例如磁带、硬盘等的存储装置508;以及通信装置509。通信装置509可以允许电子设备500与其他设备进行无线或有线通信以交换数据。虽然图7示出了具有多种装置的电子设备500,但是并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。The following devices can be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speaker , an output device 507 such as a vibrator; a storage device 508 including a magnetic tape, a hard disk, etc.; and a communication device 509. Communication device 509 may allow electronic device 500 to communicate wirelessly or wiredly with other devices to exchange data. Although FIG. 7 illustrates electronic device 500 with various means, implementation or availability of all illustrated means is not required. More or fewer means may alternatively be implemented or provided.
根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软 件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置509从网络上被下载和安装,或者从存储装置508被安装,或者从ROM 502被安装。在该计算机程序被处理装置501执行时,执行本公开实施例的方法中限定的上述功能。According to embodiments of the present disclosure, the process described above with reference to the flowchart may be implemented as computer software software program. For example, embodiments of the present disclosure include a computer program product including a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such embodiments, the computer program may be downloaded and installed from the network via communication device 509, or from storage device 508, or from ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are for illustrative purposes only and are not used to limit the scope of these messages or information.
本公开实施例提供的电子设备与上述实施例提供的视图绘制方法属于同一构思,未在本实施例中详尽描述的技术细节可参见上述实施例,并且本实施例与上述实施例具有相同的效果。The electronic device provided by the embodiment of the present disclosure and the view drawing method provided by the above embodiment belong to the same concept. Technical details that are not described in detail in this embodiment can be referred to the above embodiment, and this embodiment has the same effect as the above embodiment. .
本公开实施例提供了一种计算机存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述实施例所提供的视图绘制方法。Embodiments of the present disclosure provide a computer storage medium on which a computer program is stored. When the computer program is executed by a processor, the view drawing method provided by the above embodiments is implemented.
本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质可以包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、RAM、ROM、可擦式可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)、闪存、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括:电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。The computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. Computer-readable storage media may include: an electrical connection having one or more wires, portable computer disks, hard drives, RAM, ROM, Erasable Programmable Read-Only Memory (EPROM), flash memory, fiber optics , portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take many forms, including electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device . Program code embodied on a computer-readable medium can be transmitted using any appropriate medium, including: wire, optical cable, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
在一些实施方式中,客户端、服务器可以利用诸如超文本传输协议(HyperText Transfer Protocol,HTTP)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(Local Area Network,LAN),广域网(Wide  Area Network,WAN),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the client and server can communicate using any currently known or future developed network protocol, such as HyperText Transfer Protocol (HTTP), and can communicate with digital data in any form or medium. Communications (e.g., communications network) interconnections. Examples of communication networks include Local Area Network (LAN), Wide Area Network (Wide Area Network (WAN), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future developed network.
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; it may also exist independently without being assembled into the electronic device.
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:获取字段添加页面中的度量编辑函数,其中,所述度量编辑函数中包括目标函数和/或目标字段;基于所述度量编辑函数,从与目标用户相关联的项目管理数据中,确定出至少一组视图参与数据;基于所述至少一组视图参与数据,绘制目标视图。The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains the metric editing function in the field addition page, wherein in the metric editing function including a target function and/or a target field; based on the metric editing function, determining at least one set of view participation data from project management data associated with the target user; based on the at least one set of view participation data, drawing the target view .
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括LAN或WAN—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional Procedural programming language—such as "C" or a similar programming language. 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 situations involving remote computers, the remote computer may be connected to the user computer through any kind of network, including a LAN or WAN, or may be connected to an external computer (eg, through the Internet using an Internet service provider).
附图中的流程图和框图,图示了按照本公开多种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operations 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 diagram may represent a module, segment, or portion of code that contains one or more logic functions that implement the specified executable instructions. 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 one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved. Each block in the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration, may be implemented by special purpose hardware-based systems that perform the specified functions or operations, or may be implemented using special purpose hardware implemented in combination with computer instructions.
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在一种情况下并不构成对该单元本身的限定,例如,第一获取单元还可以被描述为“获取至少两个网际协议地址的单元”。The units involved in the embodiments of the present disclosure can be implemented in software or hardware. In one case, the name of the unit does not constitute a limitation on the unit itself. For example, the first acquisition unit can also be described as "the unit that acquires at least two Internet Protocol addresses."
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(Field  Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Parts,ASSP)、片上系统(System on Chip,SOC)、复杂可编程逻辑设备(Complex Programmable Logic Device,CPLD)等等。The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that may be used include: Field Programmable Gate Arrays (Field Programmable Gate Arrays) Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Parts (ASSP), System on Chip (SOC), Complex Programmable Logic Device, CPLD), etc.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、RAM、ROM、EPROM、快闪存储器、光纤、便捷式CD-ROM、光学储存设备、磁储存设备、或上述内容的任何合适组合。存储介质可以是非暂态(non-transitory)存储介质。In the context of this disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing. Machine-readable storage media includes one or more wire-based electrical connections, portable computer disks, hard drives, RAM, ROM, EPROM, flash memory, fiber optics, portable CD-ROMs, optical storage devices, magnetic storage devices, or the above any suitable combination of content. The storage medium may be a non-transitory storage medium.
根据本公开的一个或多个实施例,【示例一】提供了一种视图绘制方法,该方法包括:According to one or more embodiments of the present disclosure, [Example 1] provides a view drawing method, which includes:
获取字段添加页面中的度量编辑函数,其中,所述度量编辑函数中包括目标函数和/或目标字段;Obtain the metric editing function in the field addition page, where the metric editing function includes the target function and/or the target field;
基于所述度量编辑函数,从与目标用户相关联的项目管理数据中,确定出至少一组视图参与数据;determining at least one set of view participation data from project management data associated with the target user based on the metric editing function;
基于所述至少一组视图参与数据,绘制目标视图。Drawing a target view based on the at least one set of view participation data.
根据本公开的一个或多个实施例,【示例二】提供了一种视图绘制方法,还包括:According to one or more embodiments of the present disclosure, [Example 2] provides a view drawing method, which also includes:
可选的,所述字段添加页面中包括函数编辑区、字段与函数选择区、以及字段与函数示例区;Optionally, the field adding page includes a function editing area, a field and function selection area, and a field and function example area;
其中,所述函数编辑区,用于对从字段与函数选择区选择出的目标字段和/或目标函数进行编辑,得到所述度量编辑函数;Wherein, the function editing area is used to edit the target field and/or target function selected from the field and function selection area to obtain the metric editing function;
所述字段与函数选择区,用于展示至少一个待选择字段和/或至少一个待选择函数,以从所述字段与函数选择区确定出目标字段和/或目标函数;The field and function selection area is used to display at least one field to be selected and/or at least one function to be selected, so as to determine the target field and/or target function from the field and function selection area;
所述字段与函数示例区,用于显示触发的目标字段和/或目标函数的使用实例,以基于所述使用实例进行编辑,得到所述度量编辑函数。The field and function example area is used to display usage examples of triggered target fields and/or target functions, so that editing can be performed based on the usage examples to obtain the metric editing function.
根据本公开的一个或多个实施例,【示例三】提供了一种视图绘制方法,还包括: According to one or more embodiments of the present disclosure, [Example 3] provides a view drawing method, which also includes:
可选的,所述至少一个待选择字段是基于所述项目管理数据中的数据字段确定的,所述数据字段包括项目名称字段、项目类型字段、业务线字段、项目处理节点字段、参与者字段、创建时间字段、更新时间字段以及业务优先级字段中的至少一个。Optionally, the at least one field to be selected is determined based on data fields in the project management data. The data fields include a project name field, a project type field, a business line field, a project processing node field, and a participant field. , at least one of a creation time field, an update time field, and a business priority field.
根据本公开的一个或多个实施例,【示例四】提供了一种视图绘制方法,还包括:According to one or more embodiments of the present disclosure, [Example 4] provides a view drawing method, which also includes:
可选的,在所述获取字段添加页面中的度量编辑函数之前,还包括:Optionally, before the metric editing function in the acquisition field addition page, the following is also included:
在检测到触发新建图表控件时,跳转至图表绘制页面;When it is detected that the new chart control is triggered, jump to the chart drawing page;
当检测到触发图表绘制页面中的添加计算字段控件时,显示所述字段添加页面,以基于所述字段添加页面中的字段与函数选择区,确定目标配置字段,并确定与所述目标配置字段相对应的度量编辑函数;When it is detected that the added calculated field control in the chart drawing page is triggered, the field adding page is displayed to determine the target configuration field based on the field and function selection area in the field adding page, and determine the target configuration field. Corresponding metric editing function;
其中,所述目标配置字段中包括目标字段和/或目标函数。The target configuration field includes a target field and/or a target function.
根据本公开的一个或多个实施例,【示例五】提供了一种视图绘制方法,还包括:According to one or more embodiments of the present disclosure, [Example 5] provides a view drawing method, which also includes:
可选的,所述获取字段添加页面中的度量编辑函数,包括:Optionally, the metric editing function in the acquisition field addition page includes:
当检测对所述字段与函数选择区的触发操作时,显示至少一个待选择字段和至少一个待选择函数;When detecting a trigger operation on the field and function selection area, display at least one field to be selected and at least one function to be selected;
基于对所述至少一个待选择字段和所述至少一个待选择函数的触发操作,确定目标字段和/或目标函数;Determine a target field and/or a target function based on a triggering operation on the at least one field to be selected and the at least one function to be selected;
当检测到触发确认控件时,基于所述目标字段和/或所述目标函数,确定所述度量编辑函数。When a trigger confirmation control is detected, the metric editing function is determined based on the target field and/or the target function.
根据本公开的一个或多个实施例,【示例六】提供了一种视图绘制方法,还包括:According to one or more embodiments of the present disclosure, [Example 6] provides a view drawing method, which also includes:
可选的,所述基于所述目标字段和/或所述目标函数,确定所述度量编辑函数,包括:Optionally, determining the metric editing function based on the target field and/or the target function includes:
在所述目标函数中设定所述目标字段,得到所述度量编辑函数。The target field is set in the target function to obtain the metric editing function.
根据本公开的一个或多个实施例,【示例七】提供了一种视图绘制方法,还包括:According to one or more embodiments of the present disclosure, [Example 7] provides a view drawing method, which also includes:
可选的,所述目标函数包括求和函数、求均值函数、取字段最小值函数、取字段最大值函数、字段计数函数、字段中位数计数函数、条件函数、逻辑运算函数、判断函数、单位转换函数、数据去重函数中的至少一个。 Optionally, the objective function includes a summation function, an average function, a field minimum value function, a field maximum value function, a field counting function, a field median counting function, a conditional function, a logical operation function, a judgment function, At least one of a unit conversion function and a data deduplication function.
根据本公开的一个或多个实施例,【示例八】提供了一种视图绘制方法,还包括:According to one or more embodiments of the present disclosure, [Example 8] provides a view drawing method, further including:
可选的,所述基于所述度量编辑函数,从与目标用户相关联的项目管理数据中,确定出至少一组视图参与数据,包括:Optionally, based on the metric editing function, at least one set of view participation data is determined from the project management data associated with the target user, including:
基于所述度量编辑函数中的目标字段,从所述项目管理数据中调取所述至少一组待处理数据;Based on the target field in the metric editing function, retrieve the at least one set of data to be processed from the project management data;
基于所述目标函数对所述至少一组待处理数据进行分析处理,得到所述至少一组视图参与数据。The at least one set of data to be processed is analyzed and processed based on the objective function to obtain the at least one set of view participation data.
根据本公开的一个或多个实施例,【示例九】提供了一种视图绘制方法,还包括:According to one or more embodiments of the present disclosure, [Example 9] provides a view drawing method, further including:
可选的,所述基于所述至少一组视图参与数据,绘制目标视图,包括:Optionally, drawing the target view based on the at least one set of view participation data includes:
基于所述至少一组视图参与数据,以及预先选择的视图模式,绘制所述目标视图。Drawing the target view based on the at least one set of view participation data and a pre-selected view mode.
根据本公开的一个或多个实施例,【示例十】提供了一种视图绘制装置,该装置包括:According to one or more embodiments of the present disclosure, [Example 10] provides a view drawing device, which includes:
函数添加模块,设置为获取字段添加页面中的度量编辑函数,其中,所述度量编辑函数中包括目标函数和/或目标字段;The function adding module is configured to obtain a metric editing function in the field adding page, where the metric editing function includes a target function and/or a target field;
数据确定模块,设置为基于所述度量编辑函数,从与目标用户相关联的项目管理数据中,确定出至少一组视图参与数据;a data determination module configured to determine at least one set of view participation data from project management data associated with the target user based on the metric editing function;
视图绘制模块,设置为基于所述至少一组视图参与数据,绘制目标视图。The view drawing module is configured to draw the target view based on the at least one set of view participation data.
此外,虽然采用特定次序描绘了多个操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了多个实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的一些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的多种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。Furthermore, although various operations are depicted in a specific order, this should not be understood as requiring that these operations be performed in the specific order shown or performed in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, although numerous implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Some features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。 Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.

Claims (12)

  1. 一种视图绘制方法,包括:A view drawing method, including:
    获取字段添加页面中的度量编辑函数,其中,所述度量编辑函数中包括以下至少之一:目标函数、目标字段;Obtain the metric editing function in the field addition page, wherein the metric editing function includes at least one of the following: target function, target field;
    基于所述度量编辑函数,从与目标用户相关联的项目管理数据中,确定出至少一组视图参与数据;determining at least one set of view participation data from project management data associated with the target user based on the metric editing function;
    基于所述至少一组视图参与数据,绘制目标视图。Drawing a target view based on the at least one set of view participation data.
  2. 根据权利要求1所述的方法,其中,所述字段添加页面中包括函数编辑区、字段与函数选择区、以及字段与函数示例区;The method according to claim 1, wherein the field addition page includes a function editing area, a field and function selection area, and a field and function example area;
    其中,所述函数编辑区,用于对从所述字段与函数选择区选择出的目标字段或目标函数中至少之一进行编辑,得到所述度量编辑函数;Wherein, the function editing area is used to edit at least one of the target field or the target function selected from the field and function selection area to obtain the metric editing function;
    所述字段与函数选择区,用于展示至少一个待选择字段或至少一个待选择函数中至少一个,以从所述字段与函数选择区确定出以下至少之一:所述目标字段、所述目标函数;The field and function selection area is used to display at least one of at least one field to be selected or at least one function to be selected, so as to determine at least one of the following from the field and function selection area: the target field, the target function;
    所述字段与函数示例区,用于显示触发的目标字段或目标函数中至少之一的使用实例,以基于所述使用实例进行编辑,得到所述度量编辑函数。The field and function example area is used to display usage examples of at least one of the triggered target fields or target functions, so that editing can be performed based on the usage examples to obtain the metric editing function.
  3. 根据权利要求2所述的方法,其中,所述至少一个待选择字段是基于所述项目管理数据中的数据字段确定的,所述数据字段包括以下至少之一:项目名称字段、项目类型字段、业务线字段、项目处理节点字段、参与者字段、创建时间字段、更新时间字段以及业务优先级字段。The method of claim 2, wherein the at least one field to be selected is determined based on a data field in the project management data, and the data field includes at least one of the following: a project name field, a project type field, Business line fields, project processing node fields, participant fields, creation time fields, update time fields, and business priority fields.
  4. 根据权利要求1所述的方法,其中,在所述获取字段添加页面中的度量编辑函数之前,还包括:The method according to claim 1, wherein before the metric editing function in the acquisition field addition page is added, it further includes:
    在检测到触发新建图表控件的情况下,跳转至图表绘制页面;When it is detected that the new chart control is triggered, jump to the chart drawing page;
    在检测到触发所述图表绘制页面中的添加计算字段控件的情况下,显示所述字段添加页面,以基于所述字段添加页面中的字段与函数选择区,确定目标配置字段,并确定与所述目标配置字段相对应的度量编辑函数;When it is detected that the added calculated field control in the chart drawing page is triggered, the field adding page is displayed to determine the target configuration field based on the field and function selection area in the field adding page, and determine the target configuration field. The metric editing function corresponding to the target configuration field;
    其中,所述目标配置字段中包括以下至少之一:所述目标字段、所述目标函数。The target configuration field includes at least one of the following: the target field and the target function.
  5. 根据权利要求2所述的方法,其中,所述获取字段添加页面中的度量编辑函数,包括:The method according to claim 2, wherein the obtaining the metric editing function in the field addition page includes:
    在检测到对所述字段与函数选择区的触发操作的情况下,显示至少一个待选择字段和至少一个待选择函数; When a trigger operation on the field and function selection area is detected, display at least one field to be selected and at least one function to be selected;
    基于对所述至少一个待选择字段和所述至少一个待选择函数的触发操作,确定以下至少之一:所述目标字段、所述目标函数;Based on the triggering operation on the at least one field to be selected and the at least one function to be selected, at least one of the following is determined: the target field, the target function;
    在检测到触发确认控件的情况下,基于所述目标字段或所述目标函数中至少之一,确定所述度量编辑函数。In the event that a trigger confirmation control is detected, the metric editing function is determined based on at least one of the target field or the target function.
  6. 根据权利要求5所述的方法,其中,所述基于所述目标字段或所述目标函数中至少之一,确定所述度量编辑函数,包括:The method of claim 5, wherein determining the metric editing function based on at least one of the target field or the target function includes:
    在所述目标函数中设定所述目标字段,得到所述度量编辑函数。The target field is set in the target function to obtain the metric editing function.
  7. 根据权利要求1-6中任一项所述的方法,其中,所述目标函数包括以下至少之一:求和函数、求均值函数、取字段最小值函数、取字段最大值函数、字段计数函数、字段中位数计数函数、条件函数、逻辑运算函数、判断函数、单位转换函数、数据去重函数。The method according to any one of claims 1 to 6, wherein the objective function includes at least one of the following: a summation function, an averaging function, a field minimum value function, a field maximum value function, and a field count function. , field median counting function, conditional function, logical operation function, judgment function, unit conversion function, and data deduplication function.
  8. 根据权利要求1所述的方法,其中,所述基于所述度量编辑函数,从与目标用户相关联的项目管理数据中,确定出至少一组视图参与数据,包括:The method of claim 1, wherein determining at least one set of view participation data from project management data associated with a target user based on the metric editing function includes:
    基于所述度量编辑函数中的目标字段,从所述项目管理数据中调取至少一组待处理数据;Based on the target field in the metric editing function, retrieve at least one set of data to be processed from the project management data;
    基于所述目标函数对所述至少一组待处理数据进行分析处理,得到所述至少一组视图参与数据。The at least one set of data to be processed is analyzed and processed based on the objective function to obtain the at least one set of view participation data.
  9. 根据权利要求1所述的方法,其中,所述基于所述至少一组视图参与数据,绘制目标视图,包括:The method of claim 1, wherein drawing the target view based on the at least one set of view participation data includes:
    基于所述至少一组视图参与数据,以及预先选择的视图模式,绘制所述目标视图。Drawing the target view based on the at least one set of view participation data and a pre-selected view mode.
  10. 一种视图绘制装置,包括:A view drawing device including:
    函数添加模块,设置为获取字段添加页面中的度量编辑函数,其中,所述度量编辑函数中包括以下至少之一:目标函数、目标字段;The function adding module is configured to obtain the metric editing function in the field adding page, wherein the metric editing function includes at least one of the following: target function, target field;
    数据确定模块,设置为基于所述度量编辑函数,从与目标用户相关联的项目管理数据中,确定出至少一组视图参与数据;a data determination module configured to determine at least one set of view participation data from project management data associated with the target user based on the metric editing function;
    视图绘制模块,设置为基于所述至少一组视图参与数据,绘制目标视图。The view drawing module is configured to draw the target view based on the at least one set of view participation data.
  11. 一种电子设备,包括:An electronic device including:
    一个或多个处理器;one or more processors;
    存储装置,设置为存储一个或多个程序,a storage device configured to store one or more programs,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多 个处理器实现如权利要求1-9中任一项所述的视图绘制方法。When the one or more programs are executed by the one or more processors, the one or more A processor implements the view drawing method according to any one of claims 1-9.
  12. 一种包含计算机可执行指令的存储介质,其中,所述计算机可执行指令在由计算机处理器执行时用于执行如权利要求1-9中任一项所述的视图绘制方法。 A storage medium containing computer-executable instructions, wherein the computer-executable instructions, when executed by a computer processor, are used to perform the view drawing method according to any one of claims 1-9.
PCT/CN2023/094773 2022-05-17 2023-05-17 View drawing method and apparatus, and electronic device and storage medium WO2023222034A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210540581.2A CN115526952A (en) 2022-05-17 2022-05-17 View drawing method and device, electronic equipment and storage medium
CN202210540581.2 2022-05-17

Publications (1)

Publication Number Publication Date
WO2023222034A1 true WO2023222034A1 (en) 2023-11-23

Family

ID=84695690

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/094773 WO2023222034A1 (en) 2022-05-17 2023-05-17 View drawing method and apparatus, and electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN115526952A (en)
WO (1) WO2023222034A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115526952A (en) * 2022-05-17 2022-12-27 北京字跳网络技术有限公司 View drawing method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5760770A (en) * 1996-05-15 1998-06-02 Microsoft Corporation System and method for defining a view to display data
CN109358851A (en) * 2018-07-19 2019-02-19 平安科技(深圳)有限公司 Creation method, device and the computer readable storage medium of chart components
CN113254735A (en) * 2021-04-09 2021-08-13 深圳市怡化时代科技有限公司 Chart visualization method and device, storage medium and computer equipment
CN115526952A (en) * 2022-05-17 2022-12-27 北京字跳网络技术有限公司 View drawing method and device, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5760770A (en) * 1996-05-15 1998-06-02 Microsoft Corporation System and method for defining a view to display data
CN109358851A (en) * 2018-07-19 2019-02-19 平安科技(深圳)有限公司 Creation method, device and the computer readable storage medium of chart components
CN113254735A (en) * 2021-04-09 2021-08-13 深圳市怡化时代科技有限公司 Chart visualization method and device, storage medium and computer equipment
CN115526952A (en) * 2022-05-17 2022-12-27 北京字跳网络技术有限公司 View drawing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN115526952A (en) 2022-12-27

Similar Documents

Publication Publication Date Title
WO2023274354A1 (en) Video sharing method and apparatus, device, and medium
WO2023222034A1 (en) View drawing method and apparatus, and electronic device and storage medium
WO2021129157A1 (en) Video-based interaction realization method and apparatus, device and medium
US20220385612A1 (en) Mail processing method and apparatus, electronic device and storage medium
CN111881361B (en) Article information pushing method and device, electronic equipment and computer readable medium
US20150040047A1 (en) Interactive visualization of trending data
US20230328330A1 (en) Live streaming interface display method, and device
US20240106784A1 (en) Message sending method and apparatus, and device and storage medium
WO2023186107A1 (en) Information processing method and apparatus, and device and storage medium
US11809690B2 (en) Human-computer interaction method and apparatus, and electronic device
WO2023083370A1 (en) Information processing method and apparatus, terminal, and storage medium
WO2023155822A1 (en) Session method and apparatus, electronic device, and storage medium
WO2020244564A1 (en) Method and device for displaying group of contacts to be mentioned, terminal apparatus, and storage medium
CN112684899A (en) Client operation control method and device, electronic equipment and computer readable medium
WO2022268024A1 (en) Video playback method and apparatus, and electronic device
WO2023221795A1 (en) View generation method and apparatus, electronic device, and storage medium
WO2024060943A1 (en) Comment information publishing method and apparatus, electronic device, and storage medium
US20240094883A1 (en) Message selection method, apparatus and device
US20230401377A1 (en) Document creation method and apparatus, and device and storage medium
US20230370686A1 (en) Information display method and apparatus, and device and medium
WO2021164160A1 (en) Information sharing method and apparatus, storage medium, and electronic device
WO2023104007A1 (en) Video special effect packet generation method and apparatus, device, and storage medium
CN112256372A (en) Information processing method and device and electronic equipment
CN109739409B (en) Batch processing method and device and terminal equipment
WO2019140567A1 (en) Big data analysis method and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23806985

Country of ref document: EP

Kind code of ref document: A1