CN117172702A - Information processing method and device and electronic equipment - Google Patents

Information processing method and device and electronic equipment Download PDF

Info

Publication number
CN117172702A
CN117172702A CN202311111705.6A CN202311111705A CN117172702A CN 117172702 A CN117172702 A CN 117172702A CN 202311111705 A CN202311111705 A CN 202311111705A CN 117172702 A CN117172702 A CN 117172702A
Authority
CN
China
Prior art keywords
mind map
work item
information
map data
nodes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311111705.6A
Other languages
Chinese (zh)
Inventor
杨晓军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202311111705.6A priority Critical patent/CN117172702A/en
Publication of CN117172702A publication Critical patent/CN117172702A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the invention discloses an information processing method, an information processing device and electronic equipment. One embodiment of the method comprises the following steps: acquiring first mind map data uploaded to a project management system, wherein the first mind map data is used for recording work content information; and generating a first work item in the project management system according to the first mind map data, wherein the first work item corresponds to the work content indicated by the work content information. Thus, a new information processing mode is provided.

Description

Information processing method and device and electronic equipment
Technical Field
The disclosure relates to the field of computer technology, and in particular, to an information processing method, an information processing device and electronic equipment.
Background
With the development of computers, users can implement various functions using electronic devices. For example, a user may be working or learning through an electronic device.
The mind map (also called mental map or brain map) is a tool, and is a practical tool for assisting in expressing mind by using effective graphics. The thinking guide graph uses a central keyword or idea to trigger ideas, speeches, concepts and the like related to a central theme, then uses graphics context and skill to display the mutually subordinate and related layers, establishes memory links between the theme keyword and images, colors and the like, and finally displays a radioactive three-dimensional structure.
Disclosure of Invention
This disclosure is provided in part to introduce concepts in a simplified form that are further described below in the detailed description. This disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In a first aspect, an embodiment of the present disclosure provides an information processing method, including: acquiring first mind map data, wherein the first mind map data is used for recording work content information; and generating a first work item in the project management system according to the first mind map data, wherein the first work item corresponds to the work content indicated by the work content information.
In a second aspect, an embodiment of the present disclosure provides an information processing method, including: comprising the following steps: acquiring first mind map data uploaded to a project management system; generating a first structural tree according to the first mind map data, wherein the first structural tree comprises a plurality of nodes, and the nodes have node information; and mapping the first node information to a preset data structure aiming at a first node in the plurality of nodes to generate first structured data corresponding to the first node.
In a third aspect, an embodiment of the present disclosure provides an information processing apparatus including: the system comprises an acquisition unit, a project management system and a storage unit, wherein the acquisition unit is used for acquiring first mind map data uploaded to the project management system, and the first mind map data is used for recording work content information; and the generating unit is used for generating a first work item in the project management system according to the first mind map data, wherein the first work item corresponds to the work content indicated by the work content information.
In a fourth aspect, an embodiment of the present disclosure provides an information processing apparatus including: the acquisition module is used for acquiring first thinking guide image data; the first generation module is used for generating a first structure tree according to the first mind map data, wherein the first structure tree comprises a plurality of nodes, and the nodes have node information; the second generation module is used for mapping the first node information to a preset data structure aiming at a first node in the plurality of nodes to generate first structured data corresponding to the first node.
In a fifth aspect, embodiments of the present disclosure provide an electronic device, including: one or more processors; and a storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the information processing method as described in the first aspect or the second aspect.
In a sixth aspect, an embodiment of the present disclosure provides a computer readable medium having stored thereon a computer program which, when executed by a processor, implements the steps of the information processing method according to the first or second aspect.
According to the information processing method, the information processing device and the electronic equipment, work items in the project management system can be automatically generated through the mind map data, the process that a user manually creates the work items and fills the work item contents is saved, the work item creation efficiency is improved, and the work efficiency of the user is improved.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
FIG. 1A is a flow chart of one embodiment of an information processing method according to the present disclosure;
FIG. 1B is a flow chart of one embodiment of an information processing method according to the present disclosure;
fig. 2A, 2B, 2C, 2D, 2E are schematic diagrams of exemplary application scenarios of the information processing method according to the present disclosure;
FIG. 3 is a flow chart of one embodiment of an information processing method according to the present disclosure;
FIG. 4 is a schematic diagram of an exemplary application scenario of an information processing method according to the present disclosure;
FIG. 5 is a schematic structural view of one embodiment of an information processing apparatus according to the present disclosure;
FIG. 6 is a schematic structural view of one embodiment of an information processing apparatus according to the present disclosure;
FIG. 7 is an exemplary system architecture to which the information processing method of one embodiment of the present disclosure may be applied;
fig. 8 is a schematic diagram of a basic structure of an electronic device provided according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is 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"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
Space, a basic unit of organizational collaboration, may be the management of a single item or a collection of multiple items.
Work Item (Work Item), a team collaborative Work Item, may also be a collection of items disassembled. Work items may be categorized into different types by content, e.g., requirements, defects, versions, iterations, milestones, etc.
A demand (Feature), which may refer to a software function required by a user to solve/reach a certain problem, may help team members track a specific detail problem.
Defect (Issue), meaning that the originally defined traffic requirements are not met. For example, popup windows are not displayed, etc.
View, a set of cured workitem query dimensions of high frequency interest within a team, may also be referred to as view objects. The views may be of various types, such as tables, lists, signs, gantt charts, metrics, and the like. The table may be an arrangement combination of field information, and arrange data in a cell pattern. Gantt chart, can show project progress through the bar chart with the time dimension. Metrics are sustainability quantification processes that define, collect, and analyze data for software development projects, processes, and their products. Such as demand throughput, quality, cycle and human assessment, etc.
Roles (Role), participating in various roles in a project, one project requires coordination support of different roles.
One or more embodiments provided in the present disclosure may provide a method of automatically generating use case work items from mind map data. The project management system can automatically generate the case work items according to the mind map data, wherein the case work items are work items of which the content is the test case work items. Therefore, the user does not need to manually fill in the fields of the use case work items, and the use case work items are automatically produced in batch.
One or more embodiments provided in the present disclosure may convert various formats of mind map data into structured data of a specified format, which may be recognized by a project management system, thereby enabling the generation of use case work items in the project management system from the various formats of mind map data.
In one or more embodiments provided in the present disclosure, the field names of work items in the project management system may be different from the field names in the mind map data. And according to preset first corresponding relation information (indicating the corresponding relation between the field names in the mind map data and the field names in the work items), assigning the field values in the mind map data to the corresponding fields in the work items.
One or more embodiments provided in the present disclosure may provide various corresponding relationships between nodes in a structure tree and test cases. A canvas includes a plurality of test case information, and the test case information of a test case can be represented by a plurality of nodes.
One or more embodiments provided in the present disclosure can support a user to upload a mind map and communicate with a project management system.
One or more embodiments provided in the present disclosure may provide an information processing method capable of abstracting a mind map file into a data structure capable of expressing information in the mind map, ignoring information in a useless format or the like therein to realize uploading of the mind map by a user, and enabling a system to realize some general logic through the mind map.
In one or more embodiments provided in the present disclosure, in some embodiments, the first mind map data stores the data in a folder form. The folder may include a plurality of files. Among the plurality of files, different contents may be stored. Alternatively, a mind map file may be a compressed package, which compresses all the information in the mind map, where the parent-child relationship between each node in the mind map is most important, and the parent-child relationship between nodes is generally stored in the content file, so that one step of parsing the mind map data is to read the content file and parse the content file.
In one or more embodiments provided in the present disclosure, according to preset second correspondence information (indicating correspondence between field names in the mind map data and field names in the preset data structure), field values in the mind map data are assigned to corresponding fields in the preset data structure.
Referring to fig. 1A, a flow of one embodiment of an information processing method according to the present disclosure is shown. The information processing method as shown in fig. 1A includes the steps of:
step 101, first mind map data uploaded to a project management system is obtained.
In this embodiment, the execution subject (e.g., server and/or terminal device) of the information processing method may acquire the first mind map data uploaded to the project management system.
Here, the first mind map data is used to record work content information. The work item content information described above may be used to indicate work content, for example, the work content may include, but is not limited to, at least one of the following: requirements, personnel scheduling, test cases.
It will be appreciated that the mind map may be utilized to edit work items, such as writing requirements in the software development process, writing test cases for software, writer scheduling, and the like.
Step 102, generating a first work item in the project management system according to the first mind map data.
Here, the first work item corresponds to work content indicated by the work content information.
The project management system may be used to manage projects. The project management system may work items as level management units for the project.
It should be noted that, the present embodiment provides an information processing method, which can automatically generate work items in a project management system by using mind map data, so as to save a process of manually creating work items by a user and filling the work item contents, improve efficiency of creating work items, and improve work efficiency of the user.
Referring to fig. 1B, a flow of one embodiment of an information processing method according to the present disclosure is shown. The information processing method as shown in fig. 1B includes the steps of:
step 103, obtaining first mind map data.
In the present embodiment, an execution subject (e.g., a server and/or a terminal device) of the information processing method may acquire the first mind act data.
Here, the first mind map data may be used to document test case information. The test case information may be used to indicate test cases.
Here, the test case may include information containing test inputs, execution conditions, and expected results formulated for project requirements to test whether the application meets customer requirements. The test case can guide the test work and is the guarantee of the software test quality document.
In some scenarios, test engineers may use the mind map to write test case information to help comb functional points of an application to be tested.
Here, the first mind map data may be used to document one or more test case information.
As an example, the first mind map data may be stored in the form of folders, and the sum of the file data in the folders is referred to as the first mind map data.
Here, the test case information may be used to indicate a test case.
As an example, the first mind map data may describe one test case, and the first mind map data may describe a test case set (including a plurality of test cases).
Step 104, generating one or more use case work items according to the first mind map data.
Here, the case work item corresponds to a test case indicated by the test case information. The case work item can be a unit for managing the test case, and information recording, reminding, sharing and the like can be performed on the test based on the case work item.
As an example, the case work items are in one-to-one correspondence with test cases.
In the information processing method provided by the embodiment, the first mind map data for recording the test case information is obtained, and the case work item is automatically generated according to the first mind map data, so that the step of manually creating the case work item can be saved, batch rapid generation of the case work item is realized, and the speed of generating the case work item is improved.
Optionally, in a case work item display interface of the project management system, the case work item can be triggered to be generated according to the first mind map data, and in the case work item display interface, the case work item information of the newly generated case work item is displayed.
In some embodiments, the above method further comprises: at least one candidate mind map identification is presented in response to a mind map importation instruction in a use case work item presentation interface. The step 101 may include: in response to a first confirmation operation for a first mind map identity of the at least one candidate mind map identity, first mind map data indicated by the first mind map identity is obtained.
Here, a use case work item presentation interface may be used to present use case work items. The display modes of the use case work items can be various; for example, the use case work item may be presented using various forms of views (e.g., tables, lists, signs, gantt charts, metrics, etc.), and the like.
For example, referring to FIG. 2A, FIG. 2A illustrates a use case work item presentation interface for a project management system. The use case work item presentation interface may present the use case work item in a view. Case work item information may be presented in the view, which may include name, status, priority, creator, etc. In FIG. 2A, use case workitems are shown including use case C and use case D. In fig. 2A, a first control 201 (labeled with an importation mind map typeface) may be presented, the first control 201 may be used to trigger importation mind maps (and to generate work items using the mind maps). The use case work item display interface may include a screening control (labeled with a screening typeface), a sorting control (labeled with a sorting typeface), a grouping control (labeled with a grouping typeface), and a save control (labeled with a save as a new view typeface).
As an example, if the user triggers the first control 201 illustrated in fig. 2A, a file selection interface illustrated in fig. 2B may be displayed, the file selection interface may display candidate mind map identifications (e.g., file names of mind map data), and in fig. 2B, candidate mind map identifications 202 corresponding to the first mind map data, candidate mind map identifications 203 corresponding to the second mind map data, and candidate mind map identifications 204 corresponding to the third mind map data may be displayed.
As an example, if the first candidate mind map identification 202 is triggered, the electronic device may obtain the mind map data indicated by the first candidate mind map identification 202 and generate the use case work item from the obtained mind map data. For example, in the case work item display interface shown in fig. 2D, new case work item information, that is, case a and case B, may be displayed. Thus, it is possible to automatically generate the case work item from the test case information described in the first mind map data.
It should be noted that, at the use case work item display interface, a mind map import instruction is implemented, a plurality of candidate mind map identifications are displayed in response to the mind map import instruction, the mind map data is determined according to the candidate mind map identifications selected by the user, and the use case work item is generated according to the determined mind map data, so that the mind map data of the use case work item to be generated can be determined quickly in response to the user operation.
In some embodiments, the above method further comprises: responsive to a selection operation for a first mind map identity of the at least one candidate mind map identity, a first mind map indicated by the first mind map identity is presented; a use case work item is generated from the first mind map data in response to a second confirmation operation for the first mind map.
As an example, if in fig. 2B, the candidate mind map identification 202 corresponding to the first mind map data is selected, the selected first mind map may be presented, as shown in fig. 2C. In fig. 2C, a first mind map may be presented, which may include use case a and use case B. Use case a may have a precondition and may include a step a, a step b, and a step c, wherein the expected result of step a is expected d, the expected result of step b is expected e, and the expected result of step c is expected f. Case B may have a precondition and may include steps g, h, where the expected result of step g is expected i and the expected result of step j is expected j.
By way of example, a second control 205 may be included in the mind map presentation interface shown in FIG. 2C, the second control 205 being operable to confirm the generation of use case work items from the mind map data.
As an example, if second control 205 is triggered, a test case may be generated from the first mind map data.
The user selects the mind map, and the user selects the second confirmation operation of the mind map. The user can generate the corresponding application work item after checking and confirming that the thinking guide map is formed. Thereby, the accuracy of the generated use case work item is improved.
In some embodiments, the method further comprises: editing the first mind map according to the editing operation of the displayed first mind map; and generating a use case work item according to the first mind map data based on the editing operation.
As an example, the mind map illustrated in fig. 2C may be subjected to an editing operation. The first mind map data may be updated based on the editing operation. Then, if second control 205 is triggered, a test case may be generated from the updated first mind map data.
It should be noted that, through editing the mind map, adjustment of the mind map can be achieved, so that the mind map is more accurate. Therefore, the test case is generated according to the adjusted thinking guide graph, and the accuracy of the generated test case can be improved. In some application scenarios, when a user selects a mind map of a test case to be generated, but opens the mind map and finds that the mind map is defective, the user can directly modify the displayed mind map, and further generate a case work item based on the modified mind map, so that the step of returning to the mind map software to modify the mind map is avoided, and the efficiency of generating the case work item according to the mind map is improved.
In some embodiments, the method further comprises: and displaying the case work item information of the case work item generated according to the first mind map data in the case work item display interface.
As an example, a test case may be generated from the first mind map data and a case work item presentation interface may be presented in response to triggering the second control 205. For example, in the case work item display interface shown in fig. 2D, new case work item information, that is, case a and case B, may be displayed. Thus, it is possible to automatically generate the case work item from the test case information described in the first mind map data.
The newly generated case work items are displayed on the case work item display interface, so that a user can acquire the newly generated case work items, and the information acquisition efficiency is improved.
In some embodiments, the method further comprises: and responding to the triggering operation of the first user work item information in the plurality of user work item information, and displaying the detail page of the first user work item.
By way of example, if case work item information is triggered (e.g., click on the presentation area of case A), a details page of the case work item may be presented (e.g., a case details page of case A is presented). As an example, referring to fig. 2E, a use case details page of use case a is shown in fig. 2E, where information of use case a may be shown. The information of the use case a may include basic information including a creator (e.g., user a), creation time (e.g., 2023.01.05), responsible person (user a), etc. (some basic information not shown), and test information, which may include one or more of the following: preconditions, steps, expected results.
In some embodiments, the use case work item includes a plurality of second fields and corresponding field values.
In some embodiments, the method further comprises: and determining the field value of the corresponding second field in the use case work item according to the corresponding relation and the field value of the first field in the first mind map data.
Here, the first correspondence is used to indicate correspondence of the first field and the second field.
As an example, fig. 2E may be contrasted with the first mind map shown in fig. 2C, in which case a may have a precondition, and may include step a, step b, and step C, wherein the expected result of step a is expected d, the expected result of step b is expected E, and the expected result of step C is expected f. In the details page of use case a shown in fig. 2E, the preconditions may be presented, and steps a, b, and c may be presented, where the expected result of step a is expected d.
In other words, the field value of the first field in the mind map may be assigned to the corresponding second field in the use case work item.
Therefore, by setting the first corresponding relation, the field value in the first mind map data can be accurately read, and the case work item can be automatically generated according to the first mind map data.
In some embodiments, the generating a first work item in the project management system according to the first mind map data includes: generating a first structural tree according to the first mind map data, wherein the first structural tree comprises a plurality of nodes, and the nodes have node information; for the nodes of the plurality of nodes, mapping node information to a preset data structure to generate first structured data corresponding to the nodes; determining nodes in a first structure tree corresponding to the first work item; and generating the first work item in the project management system according to the first structured data of the node corresponding to the first work item.
Here, for a number (one or more) of the plurality of nodes, the node information may be mapped to a preset data structure, and first structured data corresponding to the node may be generated.
It should be noted that, regarding the generation of the first structural tree according to the first mind map data, the first structural tree includes a plurality of nodes, and the nodes have node information; for the nodes of the plurality of nodes, mapping node information to a preset data structure to generate first structured data corresponding to the nodes; determining nodes in a first structure tree corresponding to the first work item; generating a first work item in the project management system according to first structured data of a node corresponding to the first work item; implementation details and technical effects reference may be made to the description of any embodiment in the present disclosure.
Referring to fig. 3, a flow of one embodiment of an information processing method according to the present disclosure is shown. The information processing method as shown in fig. 3 includes the steps of:
step 301, first mind map data is obtained.
Here, the first mind map data may be used to document various types of information.
As an example, the first mind map data may be used to document test case information.
As an example, the first mind map data may be used to document personnel scheduling information.
As an example, the first mind map data may be used to document reading notes.
Step 302, a first structure tree is generated according to the first mind map data.
Here, the first structure tree includes a plurality of nodes, the nodes having node information. There may be a parent-child relationship between the node and other nodes.
Here, the above node information may be used to record some relevant information of the node, such as child node name, node identification, node name, creation time, remark, attachment name, attachment link, attachment size, progress information, priority, and node label.
Alternatively, one or more structural trees may be generated from the first mind map data.
Step 303, mapping first node information in the plurality of node information to a preset data structure to generate first structured data.
The preset data structure may include a plurality of third fields. The second correspondence information may record a correspondence between a first field in the first mind map data and a third field in the preset data structure.
Here, the field value of the first node information is mapped to a preset data structure, that is, the preset data structure may be referred to as first structured data after being filled with the field value of the first node information.
Here, the first structured data may be used to record first node information. The fields in the first structured data may be identified by other systems. For example, fields in the first structured data can be identified by the project management system to automatically generate work items in the project management system. For example, the first structured data may be identified by the reading note software to automatically generate the reading note.
As an example, first mind map data may be used to document test case information, which may be identified by the project management system.
As an example, the first mind map data may be used to document reading notes, and the first structured data may be identified by reading note software.
As an example, first mind map data may be used to document personnel scheduling information, and the first structured data may be identified by the project management system.
It should be noted that, in the information processing method provided in this embodiment, the mind map information may be mapped to a preset data structure, so that functions of using some mind maps as information sources are implemented, user operation steps are saved, and user operation efficiency is improved.
In some embodiments, the first mind map data may be stored in a first folder.
In some embodiments, the method further comprises: and determining a first file from the first folder according to a preset file identification. Here, the first file is used to store node information and parent-child relationship information between nodes.
In some embodiments, the first mind map data stores the data in a folder form. The folder may include a plurality of files. Among the plurality of files, different contents may be stored.
Alternatively, a mind map file may be a compressed package, which compresses all the information in the mind map, where the parent-child relationship between each node in the mind map is most important, and the parent-child relationship between nodes is generally stored in the content file, so that one step of parsing the mind map data is to read the content file and parse the content file. Alternatively, files of various formats (e.g., various mind map formats with suffix names. Xmind,. Xmap,. Km,. Mm) may be decompressed using decompression software.
As an example, the first file compressed by the thought guide of the different formats may have some differences in file name, for example, it may be/content.
And determining a first file from the files according to a preset file identifier (content, for example). Here, in the first file, node information and parent-child relationship information between nodes may be stored.
It should be noted that, by determining the first file from the folder by the file identifier, the first file stores the key information, which can increase the speed of generating the structured data.
In some embodiments, the first file includes one or more canvas therein; the 102 may include: for canvas content in each canvas, a corresponding first structure tree is generated.
Alternatively, if the first file includes a plurality of canvases (sheets), the data in each canvas is treated as one mind map.
The canvas is used as a unit to generate the first structure tree, so that the volume of the generated structure tree can be reduced, and the parallelism of candidate processing is improved, thereby improving the processing speed of the structure tree.
In some embodiments, the generating a first structure tree from the first mind map data may include: determining a code base type according to the file type in the first file; and analyzing the file content of the first file by utilizing the determined code library of the code library type to obtain a first structure tree.
And analyzing file content (comprising node information and father-son relation information among nodes) of the first file, and outputting a first structural tree according to the file content. Alternatively, the code library type may be determined according to the file type of the first file; and analyzing the file content of the first file by using the code library of the determined code library type to obtain a first structure tree.
As examples, the file type may be an xml file or a json file. The xml format first file may be parsed by using the xml library, and the json format first file may be parsed by using the json library.
It should be noted that, by analyzing the first file by the code library, symbols related to the code style may be extracted, and main content (i.e., node information and parent-child relationship information between nodes) may be reserved, so as to improve the speed of reading information from the first structure tree later.
In some embodiments, the preset data structure includes a plurality of third fields, and the second correspondence information is used to record a correspondence between the first field in the first mind map data and the third field in the preset data structure.
In some embodiments, the third correspondence may be preset, for example, the first field in the first mind map data may be a title, the function is a node name, and the third field in the preset data structure may be a Text. For example, the first field in the first mind map data may be notes, the function may be node notes, and the third field in the preset data structure may be notes.
The step 303 may include: and mapping the field value in the first node information to a corresponding third field in a preset data structure according to the second corresponding relation information.
The step 303 may include: and assigning the field value in the node information to a preset data structure to generate structured data.
Optionally, traversing nodes of attribute child nodes in the first structure tree, and executing the first step for each attribute child node.
Here, the first step may include: determining whether the current node is an accessory node, if so, acquiring an accessory from a second file in the plurality of files, and generating address information corresponding to the accessory; and writing the address information into a preset data structure. If not, mapping the field value in the node information to the corresponding field in the preset data structure.
In an accessory node, not all accessory content may be directly presented, but rather the user is required to open the accessory to see the detailed node content.
As an example, referring to fig. 4, fig. 4 shows an exemplary flow of the first step described above.
Step 401 may be combined with step 406 in that traversing the nodes may be performed in step 406 to determine nodes whose attributes are child nodes.
The node with the attribute of child node can be used as the current node. For the current node, step 401 may be performed, i.e. accessing the current node.
In step 402, it may be determined whether the current node is an accessory node.
If so, step 403 is performed, namely, retrieving the attachment from the decompressed folder, and uploading the attachment to the object store, and generating an online link (i.e., address information). Next, step 404 may be performed to write the online link to a standard data structure (i.e., a preset data structure). Next, step 405 may be performed, i.e. mapping other data on the node onto the standard data structure according to the mapping relationship (i.e. the second correspondence information).
If not, step 405 may be performed directly, i.e., the data on the node is mapped to the standard data structure according to the mapping relationship (i.e., the second correspondence information).
Thus, return to step 406 until all child nodes have been traversed.
In some embodiments, the node information includes a node type; and said determining whether the current node is an accessory node comprises: and determining the node with the attribute of child nodes in the plurality of nodes according to the node type.
In some embodiments, some keywords in the first file may not have corresponding fields in the preset data structure. For example, the key in the first file may be type, the function is node type, there is no corresponding field in the preset data structure, but it may be used to help determine whether the node is the root node of the first structure tree.
It should be noted that, according to the node type, the child nodes in the first structural tree may be accurately determined, so as to generate corresponding structured data for the child nodes quickly.
In some embodiments, a first field in the data structure is preset to match a field in the project management system. The method further comprises the steps of: determining nodes in a first structure tree corresponding to the first work item; and generating the first work item in the project management system according to the first structured data of the node corresponding to the first work item.
It should be noted that, regarding to determining a node in the first structure tree corresponding to the first work item; generating a first work item in the project management system according to first structured data of a node corresponding to the first work item; implementation details and technical effects reference may be made to the description of any embodiment in the present disclosure.
With further reference to fig. 5, as an implementation of the method shown in the foregoing figures, the present disclosure provides an embodiment of an information processing apparatus, which corresponds to the method embodiment shown in fig. 1, and which is particularly applicable to various electronic devices.
As shown in fig. 5, the information processing apparatus of the present embodiment includes: an acquisition unit 501 and a generation unit 502. The system comprises an acquisition unit, a storage unit and a storage unit, wherein the acquisition unit is used for acquiring first mind map data, and the first mind map data is used for recording work content information; and the generating unit is used for generating a first work item in the project management system according to the first mind map data, wherein the first work item corresponds to the work content indicated by the work content information.
In this embodiment, the specific processing of the acquiring unit 501 and the generating unit 502 of the information processing apparatus and the technical effects thereof may refer to the descriptions related to the steps 101 and 102 in the corresponding embodiment of fig. 1, and are not repeated here.
In some embodiments, the first mind map data is used to document test case information; and generating a first work item in the project management system according to the first mind map data, wherein the first work item comprises: and generating a case work item according to the first mind map data, wherein the case work item corresponds to the test case indicated by the test case information.
In some embodiments, the apparatus is further to: editing the first mind map according to the editing operation of the first mind map uploaded to the project management system and displayed, and updating the first mind map data; and generating a use case work item according to the updated first mind map data.
In some embodiments, the apparatus is further to: and displaying the case work item information of the case work item generated according to the first mind map data in the case work item display interface.
In some embodiments, the apparatus is further for: and responding to the triggering operation of the first user work item information in the plurality of user work item information, and displaying the detail page of the first user work item.
In some embodiments, the use case work item includes a plurality of second fields and corresponding field values; and generating a use case work item according to the first mind map data, including: and determining a field value of a corresponding second field in the use case work item according to the first corresponding relation and the field value of the first field in the first mind map data, wherein the first corresponding relation is used for indicating the corresponding relation between the first field and the second field.
In some embodiments, the generating a first work item in the project management system according to the first mind map data includes: generating a first structural tree according to the first mind map data, wherein the first structural tree comprises a plurality of nodes, and the nodes have node information; for the nodes of the plurality of nodes, mapping node information to a preset data structure to generate first structured data corresponding to the nodes; determining nodes in a first structure tree corresponding to the first work item; and generating the first work item in the project management system according to the first structured data of the node corresponding to the first work item.
With further reference to fig. 6, as an implementation of the method shown in the foregoing figures, the present disclosure provides an embodiment of an information processing apparatus, which corresponds to the method embodiment shown in fig. 1, and which is particularly applicable to various electronic devices.
As shown in fig. 6, the information processing apparatus of the present embodiment includes: an acquisition module 601, a first generation module 602 and a second generation module 603. The acquisition module is used for acquiring first mind map data; the first generation module is used for generating a first structure tree according to the first mind map data, wherein the first structure tree comprises a plurality of nodes, and the nodes have node information; the second generation module is used for mapping the first node information to a preset data structure aiming at a first node in the plurality of nodes to generate first structured data corresponding to the first node.
In this embodiment, the specific processing of the acquiring module 601, the first generating module 602, and the second generating module 603 of the information processing apparatus and the technical effects thereof may refer to the related descriptions of the steps 101, 102, and 103 in the corresponding embodiment of fig. 1, and are not described herein.
In some embodiments, the mapping the first node information to a preset data structure for a first node of the plurality of nodes, and generating first structured data corresponding to the first node, includes: traversing a plurality of nodes in a first structural tree, and executing a first step aiming at the nodes with the attribute of child nodes in the plurality of nodes, wherein the first step comprises: determining whether the current node is an accessory node; if yes, acquiring an accessory from the first mind map data, and generating address information corresponding to the accessory; writing the address information into a preset data structure; mapping other field values in the node information to corresponding third fields in a preset data structure; if not, mapping the field value in the node information to a corresponding third field in the preset data structure.
In some embodiments, the first mind map data is stored in a first folder; the apparatus is further for: and determining a first file from the first folder according to a preset file identification, wherein the first file is used for storing node information and father-son relationship information between nodes.
In some embodiments, the generating a first structural tree from the first mind map data includes: determining a code base type according to the file type in the first file; and analyzing the file content of the first file by utilizing the determined code library of the code library type to obtain a first structure tree.
In some embodiments, a first field in the data structure is preset to match a field in the project management system; the apparatus is further for: determining nodes in a first structure tree corresponding to the first work item; and generating the first work item in the project management system according to the first structured data of the node corresponding to the first work item.
Referring to fig. 7, fig. 7 illustrates an exemplary system architecture in which an information processing method of an embodiment of the present disclosure may be applied.
As shown in fig. 7, the system architecture may include terminal devices 701, 702, 703, a network 704, and a server 705. The network 704 is the medium used to provide communication links between the terminal devices 701, 702, 703 and the server 705. The network 704 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
Terminal devices 701, 702, 703 may interact with a server 705 through a network 704 to receive or send messages or the like. Various client applications, such as a web browser application, a search class application, a news information class application, may be installed on the terminal devices 701, 702, 703. The client applications in the terminal devices 701, 702, 703 may receive the instruction of the user and perform the corresponding functions according to the instruction of the user, for example, adding the corresponding information to the information according to the instruction of the user.
The terminal devices 701, 702, 703 may be hardware or software. When the terminal devices 701, 702, 703 are hardware, they may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablet computers, electronic book readers, MP3 players (Moving Picture Experts Group Audio Layer III, dynamic video expert compression standard audio plane 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video expert compression standard audio plane 4) players, laptop and desktop computers, and the like. When the terminal devices 701, 702, 703 are software, they can be installed in the above-listed electronic devices. Which may be implemented as multiple software or software modules (e.g., software or software modules for providing distributed services) or as a single software or software module. The present invention is not particularly limited herein.
The server 705 may be a server that provides various services, for example, receives information acquisition requests sent by the terminal devices 701, 702, 703, and acquires presentation information corresponding to the information acquisition requests in various ways according to the information acquisition requests. And related data showing the information is transmitted to the terminal devices 701, 702, 703.
Note that the information processing method provided by the embodiments of the present disclosure may be performed by a terminal device, and accordingly, the information processing apparatus may be provided in the terminal devices 701, 702, 703. In addition, the information processing method provided by the embodiment of the present disclosure may also be executed by the server 705, and accordingly, the information processing apparatus may be provided in the server 705.
It should be understood that the number of terminal devices, networks and servers in fig. 7 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to fig. 8, a schematic diagram of a configuration of an electronic device (e.g., a terminal device or server in fig. 7) suitable for use in implementing embodiments of the present disclosure is shown. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 8 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 8, the electronic device may include a processing means (e.g., a central processor, a graphics processor, etc.) 801 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 802 or a program loaded from a storage means 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to the bus 804.
In general, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 807 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, etc.; storage 808 including, for example, magnetic tape, hard disk, etc.; communication means 809. The communication means 809 may allow the electronic device to communicate wirelessly or by wire with other devices to exchange data. While fig. 8 shows an electronic device having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via communication device 809, or installed from storage device 808, or installed from ROM 802. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 801.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring first mind map data, wherein the first mind map data is used for recording work content information; and generating a first work item in the project management system according to the first mind map data, wherein the first work item corresponds to the work content indicated by the work content information.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring first mind map data; generating a first structural tree according to the first mind map data, wherein the first structural tree comprises a plurality of nodes, and the nodes have node information; and mapping the first node information to a preset data structure aiming at a first node in the plurality of nodes to generate first structured data corresponding to the first node.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. Where the name of the cell does not constitute a limitation of the cell itself in some cases, for example, a pick cell may also be described as a "cell that picks a first type of pixel".
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can 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. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain 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 example forms of implementing the claims.

Claims (15)

1. An information processing method, characterized by comprising:
acquiring first mind map data uploaded to a project management system, wherein the first mind map data is used for recording work content information;
and generating a first work item in the project management system according to the first mind map data, wherein the first work item corresponds to the work content indicated by the work content information.
2. The method according to claim 1, wherein the first mind map data is used for recording test case information; and
the generating a first work item in the project management system according to the first mind map data comprises the following steps:
and generating a case work item according to the first mind map data, wherein the case work item corresponds to the test case indicated by the test case information.
3. The method according to claim 2, wherein the method further comprises:
editing the first mind map according to the editing operation of the first mind map uploaded to the project management system and displayed, and updating the first mind map data;
and generating a use case work item according to the updated first mind map data.
4. The method according to claim 2, wherein the method further comprises:
and displaying the case work item information of the case work item generated according to the first mind map data in the case work item display interface.
5. The method according to claim 2, wherein the method further comprises:
and responding to the triggering operation of the first user work item information in the plurality of user work item information, and displaying the detail page of the first user work item.
6. The method of claim 2, wherein the use case work item includes a plurality of second fields and corresponding field values; and
the generating a use case work item according to the first mind map data comprises the following steps:
and determining a field value of a corresponding second field in the use case work item according to the first corresponding relation and the field value of the first field in the first mind map data, wherein the first corresponding relation is used for indicating the corresponding relation between the first field and the second field.
7. The method according to claim 1, wherein generating a first work item in a project management system from the first mind map data comprises:
generating a first structural tree according to the first mind map data, wherein the first structural tree comprises a plurality of nodes, and the nodes have node information;
for the nodes of the plurality of nodes, mapping node information to a preset data structure to generate first structured data corresponding to the nodes;
determining nodes in a first structure tree corresponding to the first work item;
and generating the first work item in the project management system according to the first structured data of the node corresponding to the first work item.
8. An information processing method, characterized by comprising:
acquiring first mind map data;
generating a first structural tree according to the first mind map data, wherein the first structural tree comprises a plurality of nodes, and the nodes have node information;
and mapping the first node information to a preset data structure aiming at a first node in the plurality of nodes to generate first structured data corresponding to the first node.
9. The method of claim 8, wherein the mapping the first node information to a preset data structure for a first node of the plurality of nodes to generate the first structured data corresponding to the first node comprises:
Traversing a plurality of nodes in a first structural tree, and executing a first step aiming at the nodes with the attribute of child nodes in the plurality of nodes, wherein the first step comprises:
determining whether the current node is an accessory node;
if yes, acquiring an accessory from the first mind map data, and generating address information corresponding to the accessory; writing the address information into a preset data structure; mapping other field values in the node information to corresponding third fields in a preset data structure;
if not, mapping the field value in the node information to a corresponding third field in the preset data structure.
10. The method of claim 8, wherein the first mind map data is stored in a first folder; and
the method further comprises the steps of:
and determining a first file from the first folder according to a preset file identification, wherein the first file is used for storing node information and father-son relationship information between nodes.
11. The method according to claim 10, wherein generating a first structure tree from the first mind map data comprises:
determining a code base type according to the file type in the first file;
And analyzing the file content of the first file by utilizing the determined code library of the code library type to obtain a first structure tree.
12. The method of claim 8, wherein the first field in the data structure is preset to match a field in the project management system; the method further comprises:
determining nodes in a first structure tree corresponding to the first work item;
and generating the first work item in the project management system according to the first structured data of the node corresponding to the first work item.
13. An information processing apparatus, characterized by comprising:
the system comprises an acquisition unit, a project management system and a storage unit, wherein the acquisition unit is used for acquiring first mind map data uploaded to the project management system, and the first mind map data is used for recording work content information;
and the generating unit is used for generating a first work item in the project management system according to the first mind map data, wherein the first work item corresponds to the work content indicated by the work content information.
14. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the methods of claims 1-7 or any of claims 8-12.
15. A computer readable medium on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any one of claims 1-7 or claims 8-12.
CN202311111705.6A 2023-08-30 2023-08-30 Information processing method and device and electronic equipment Pending CN117172702A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311111705.6A CN117172702A (en) 2023-08-30 2023-08-30 Information processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311111705.6A CN117172702A (en) 2023-08-30 2023-08-30 Information processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN117172702A true CN117172702A (en) 2023-12-05

Family

ID=88938810

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311111705.6A Pending CN117172702A (en) 2023-08-30 2023-08-30 Information processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN117172702A (en)

Similar Documents

Publication Publication Date Title
CN111274760B (en) Rich text data processing method and device, electronic equipment and computer storage medium
CN112528595B (en) Document processing method and device and electronic equipment
CN110780874B (en) Method and device for generating information
CN112395253B (en) Index file generation method, terminal device, electronic device and medium
CN109815448B (en) Slide generation method and device
CN110554874A (en) Method and device for reusing webpage components of SaaS platform
CN110968314B (en) Page generation method and device
CN111950857A (en) Index system management method and device based on service indexes and electronic equipment
CN111857720B (en) User interface state information generation method and device, electronic equipment and medium
CN112035256A (en) Resource allocation method, device, electronic equipment and medium
CN111813685A (en) Automatic testing method and device
CN116860286A (en) Page dynamic update method, device, electronic equipment and computer readable medium
CN114757157B (en) Method, apparatus, device and medium for generating an aircraft kit
CN113220381A (en) Click data display method and device
CN117172702A (en) Information processing method and device and electronic equipment
CN114239501A (en) Contract generation method, apparatus, device and medium
CN113797554A (en) Game engine resource processing method and device, storage medium and electronic equipment
CN109992698B (en) Data processing method and device, electronic equipment and readable storage medium
CN115756452A (en) Target page code generation method, device, storage medium and program product
CN112380476A (en) Information display method and device and electronic equipment
CN113779952B (en) Text processing method and device and electronic equipment
CN112035092A (en) Form processing method, device, equipment and readable medium
CN112307723A (en) Method and device for generating code document and electronic equipment
CN114707680B (en) Aircraft 3D model generation method and device, electronic equipment and readable medium
CN111240657A (en) Method and device for generating SDK and electronic equipment

Legal Events

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