+

WO2018000395A1 - Method and apparatus for managing data - Google Patents

Method and apparatus for managing data Download PDF

Info

Publication number
WO2018000395A1
WO2018000395A1 PCT/CN2016/088038 CN2016088038W WO2018000395A1 WO 2018000395 A1 WO2018000395 A1 WO 2018000395A1 CN 2016088038 W CN2016088038 W CN 2016088038W WO 2018000395 A1 WO2018000395 A1 WO 2018000395A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
area
tail
metadata
mapping relationship
Prior art date
Application number
PCT/CN2016/088038
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 华为技术有限公司
Priority to PCT/CN2016/088038 priority Critical patent/WO2018000395A1/en
Publication of WO2018000395A1 publication Critical patent/WO2018000395A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling

Definitions

  • the present invention relates to the field of human resource management and, more particularly, to a method of managing data.
  • the learning development management module in the human resource management system needs to manage a lot of data, for example, the positions, capabilities, and skills of the employees. Different companies have different understandings of the data that needs to be managed. Therefore, the business logic of management data of different management systems also has large differences.
  • the business logic of the human resource management system is usually created by the R&D technician after data analysis through programming, data structure definition, etc., for data management. Users cannot adjust the logic between data according to their needs.
  • the present application provides a method and apparatus for managing data, which enables a user to adjust the logical relationship between data according to his or her own needs.
  • the present application provides a method for managing data, the method comprising: acquiring a plurality of metadata; determining at least one master data from the plurality of metadata based on a first user operation; and based on a second user operation, Determining at least one tail data from the plurality of metadata, and designating a mapping relationship between the at least one tail data and the at least one main data; recording a mapping relationship between the main data and the tail data; When receiving the data request carrying the identifier of the primary data, determining the tail data according to the primary data and the mapping relationship.
  • the method before determining at least one tail data from the plurality of metadata based on the second user operation, the method further includes: presenting a management interface, where the management interface includes the first area and a second area, the identifier of the at least one primary data is presented in the first area, and an identifier of a plurality of candidate metadata in the plurality of metadata is presented in the second area; and the Two user operations, determining at least one tail data from the plurality of metadata, including: determining the at least one tail data from the plurality of candidate metadata based on a second user operation, and at the first An identifier of the at least one tail data is presented in the area.
  • the second user operation includes dragging an identifier of the tail data from the second area to the first area.
  • the method before determining at least one slave data from the plurality of metadata based on a third user operation, the method further includes: presenting a management interface, where the management interface includes the first region and a second area, the identifier of the at least one primary data is presented in the first area, and an identifier of a plurality of candidate metadata in the plurality of metadata is presented in the second area; and the The three-user operation, determining the at least one slave data from the plurality of metadata, including: determining the at least one slave data from the plurality of candidate metadata based on a third user operation, and at the first An identifier of the at least one slave data is presented in the area.
  • determining, according to the second user operation, the at least one tail data from the plurality of metadata including: determining, according to the second user operation, the plurality of candidate metadata At least one tail data and presenting an identification of the at least one tail data in the first area.
  • the second user operation includes dragging the identifier of the tail data from the second area to the first area, and associating the identifier of the tail data to the identifier of the at least one slave data. To specify a mapping relationship between the at least one tail data and at least one of the slave data.
  • the third operation includes dragging the identification of the slave data from the second area to the first area.
  • the primary data is at least two, and the at least two primary data belong to N data structures, N ⁇ 2, and the presentation management interface includes: Determining N pages of the data structure, wherein the N data structures are in one-to-one correspondence with the N pages, and each page is used to present an identifier of the main data in the corresponding data structure; The first area presents a page label of the N pages, and at least one of the N pages is presented in the first area.
  • the presenting at least one of the N pages in the first area including: according to data attribute information of each of the at least two pieces of main data, from the Determining at least one first main data in the at least two main data, wherein the data attribute information of the first main data satisfies a preset condition; and at least one of the N pages is presented in the first area,
  • the main page is a page for presenting the first main data.
  • the present application provides an apparatus for managing data for performing the method of the first aspect or any possible implementation of the first aspect.
  • the apparatus comprises means for performing the method of the first aspect or any of the possible implementations of the first aspect.
  • the present application provides an apparatus for managing data, the apparatus comprising a processor, a display, a memory, a network interface, and a bus system, wherein the processor, the display, the memory, and the network interface are connected to each other through a bus system.
  • the memory is for storing instructions for executing the memory stored instructions, and when the instructions are executed, the processor performs the method of the first aspect or any possible implementation of the first aspect through the network interface.
  • the present application provides a computer readable medium for storing a computer program, the computer program comprising instructions for performing the method of the first aspect or any of the possible implementations of the first aspect.
  • the method and apparatus for managing data provided by the present application enable a user to adjust data according to his own needs by selecting primary data and tail data, and specifying a mapping relationship between the primary data and the tail data. Between the logical relationship.
  • FIG. 1 is a schematic diagram of a computer system of a method and apparatus for managing data suitable for use in an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method of managing data according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of user-defined metadata and business logic in accordance with an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a management interface according to an embodiment of the present invention.
  • FIG. 6 is an example of an interaction design of a method of managing data according to an embodiment of the present invention.
  • FIG. 7 is another example of interaction design of a method of managing data in accordance with an embodiment of the present invention.
  • FIG. 8 is still another example of interaction design of a method of managing data according to an embodiment of the present invention.
  • FIG. 9 is a schematic architectural diagram of a method of managing data in accordance with an embodiment of the present invention.
  • FIG. 10 is an illustration of a method of managing data in accordance with an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of an apparatus for managing data according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of an apparatus for managing data according to an embodiment of the present invention.
  • the method, device and device for managing data provided by the embodiments of the present invention can be applied to a computer, which includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer.
  • the operating system may be any one or more computer operating systems that implement business processing through a process, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a Windows operating system.
  • the application layer includes applications such as browsers, contacts, word processing software, and instant messaging software.
  • the computer may be a handheld device such as a smart phone, or may be a terminal device such as a personal computer, and the present invention is not particularly limited as long as the method for recording the compressed data of the embodiment of the present invention can be operated.
  • the program of the code may process the data in a method of compressing data according to an embodiment of the present invention.
  • the execution body of the method for managing data according to the embodiment of the present invention may be a computer device or a functional module of the computer device capable of calling a program and executing the program.
  • the term "article of manufacture” as used in this application encompasses a computer program accessible from any computer-readable device, carrier, or media.
  • the computer readable medium may include, but is not limited to, a magnetic storage device (eg, a hard disk, a floppy disk, or a magnetic tape), and an optical disk (eg, a CD (Compact Disc), a DVD (Digital Versatile Disc). Etc.), smart cards and flash memory devices (eg, EPROM (Erasable Programmable Read-Only Memory), cards, sticks or key drivers, etc.).
  • various storage media described herein can represent one or more devices and/or other machine-readable media for storing information.
  • the term "machine-readable medium” may include, without limitation, a wireless channel and various other mediums capable of storing, containing, and/or carrying instructions and/or data.
  • FIG. 1 is a schematic diagram of a computer system 100 to which a method of managing data in accordance with an embodiment of the present invention is applied. As shown in Figure 1, the system 100 includes:
  • At least one processor 110 is
  • At least one memory 120 At least one memory 120;
  • At least one display 130 At least one display 130;
  • the processor 110, the memory 120, and the display 130 are communicatively coupled.
  • a communication interface is disposed in the processor 110, a communication interface is disposed in the memory 120, and a communication interface is disposed in the display 130, so that the processor 110, the memory 120, and the display 130 can communicate through the communication interface.
  • the processor 110 and the memory 120 and the display 130 may be configured in the same device.
  • the computer system 100 may further include a bus 140, and the processor 110 may communicate via An interface is coupled to the bus 140, which may be coupled to the bus 140 via a communication interface, and the display 130 may be coupled to the bus 140 via a communication interface.
  • the processor 110, the memory 120, and the display 130 can implement a communication connection through the bus 140.
  • the bus 140 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus.
  • the communication interface of the processor 110 may be a communication interface between devices within the computer device.
  • the communication interface of the memory 120 and the display 130 may be a communication interface between devices within the computer device.
  • the processor 110, the memory 120, and the display 130 may be configured in different devices.
  • the processor 110, the memory 120, and the display 130 may pass through Wired or wireless communication connection.
  • a communication cable eg, fiber optic or copper wire, etc.
  • the communication interface of the processor 110 may be a communication interface of the computer device for communicating with the external device
  • the communication interface of the memory 120 may be a communication interface of the computer device for communicating with the external device.
  • the processor 110 may be one or more, and the multiple processors 110 may be configured in the same device (for example, a server), or the multiple processors 110 may be configured independently.
  • the invention is not particularly limited.
  • each processor 110 when there are multiple processors 110 and are configured in the same device, each processor 110 may be connected through a bus 140 (for example, a PCIE bus), that is, may be through the bus 140. Signaling or data transfer between the various processors 110 is implemented.
  • a bus 140 for example, a PCIE bus
  • information or a signal transceiver connected to the process 110 may be configured in each device, and a transceiver in each device is connected through a transmission cable to implement each processor 110. Signaling or data transfer between.
  • the memory 120 includes at least one controller and at least one storage medium.
  • a storage medium also referred to as a storage space, is a medium for storing a certain discontinuous physical quantity.
  • the storage medium may be a memory chip, and the material of the storage medium may be a semiconductor, a magnetic core, a magnetic drum, a magnetic tape, a material matured in the field of laser discs, and the like.
  • the type of the storage medium may be a random access memory, a flash memory, a read only memory, a programmable read only memory or an electrically erasable programmable memory, a register, etc., which are mature types of storage media in the field.
  • the storage medium may be one or more, and the plurality of storage media may be configured in the same device (for example, a server), or the plurality of storage media may be independently configured, and the present invention does not Specially limited.
  • the controller which may also be referred to as a memory controller, is configured to allocate a physical address to the storage medium, access the storage medium according to the physical address, and perform a data storage operation on the storage medium.
  • the controller is communicatively coupled to the processor 110 described above, for example, the controller can be coupled to the bus 140 such that the controller can communicate with the processor 110 via the bus 140.
  • the controller can be a central processing unit or other general purpose processor, Digital signal processors, application specific integrated circuits, field programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like.
  • the controller may be one or more, and the multiple controllers may be configured in the same device, or the multiple controllers may be independently configured, and the present invention is not particularly limited.
  • the memory 120 may be one or more, and the present invention is not particularly limited. When the memory 120 is multiple, each of the memories 120 may be jointly configured, that is, the plurality of memories 120 may be shared. One or more controllers or storage media.
  • FIG. 2 is an example of common business logic of a human resource management system in the prior art.
  • Figure 2 shows the business logic 1, business logic 2 and business logic 3.
  • business logic one and business logic two are based on post capabilities
  • business logic three is based on strategic planning.
  • the business logic 1 and the business logic 2 management logic are the same, that is, the management is performed by the post capability, but the service hierarchy is different, that is, the business logic level of the business logic one is two levels, and the business level of the business logic two is four layers.
  • the business logic of the existing human resource management system is usually created by the R&D technicians after the business needs analysis, through the programming, the definition of the data structure, etc., to realize the management of the data.
  • the technical requirements are very high.
  • the operability of managing data is poor.
  • FIG. 3 shows a schematic flow diagram of a method 200 of managing data in accordance with an embodiment of the present invention. As shown in FIG. 3, the method 200 includes steps 210 through 250.
  • a computer system eg, a processor in a computer system
  • the manner of obtaining metadata may include multiple types.
  • the computer system may configure a human-computer interaction interface, so that the processor can obtain user input through the human-computer interaction interface. Multiple metadata.
  • the computer system can also be equipped A data (or information) transceiver is provided, so that a plurality of metadata transmitted by the external device of the system can be received by the transceiver, which is not limited in the embodiment of the present invention.
  • the user can customize the system metadata and configure the detailed information of the metadata.
  • users can freely add, edit, or delete fields, and set the type of the field (for example, it can be text, options, or drop-down lists, etc.). You can also set the field to be an optional field or a required field.
  • the user customizes the metadata, he can also choose whether the metadata is hidden.
  • the hidden metadata cannot be associated with other metadata in the time domain of the mapping relationship of the configuration metadata, and is limited to use in a specific scenario.
  • the system obtains the metadata input by the user, the system obtains the detailed information of the metadata at the same time.
  • the metadata may include, for example, "post”, “ability”, “knowledge point”, “skill”, “learning content”, " Various types of data such as strategic planning.
  • the computer system determines metadata as the main data from the plurality of metadata after acquiring the plurality of metadata.
  • the computer system may configure the user to operate the detecting device (for example, a detecting device for input signals such as a mouse, a keyboard or a touch signal), so that when determining the main data, it may be based on the user's operation (That is, an example of the first user operation is acquired.
  • the system may provide a page for the user to select the main data, and obtain a plurality of user-defined metadata by detecting a user's click, input, or edit operation, and determine the plurality of metadata as the main data.
  • the processor may be integrated with the function of the user operation detecting device, or the processor and the user operation detecting device may be independently configured, and the invention is not particularly limited.
  • the system After determining the at least one main data, the system determines at least one tail data for each main data, and specifies a mapping relationship between the main data and the corresponding tail data.
  • one or more tail data may be directly associated with one master data (ie, Case 1)
  • the mapping relationship may refer to a direct mapping relationship from data to tail data.
  • one or more tail data may also be associated with one master data (ie, case 2) via one or more slave data, in which case the mapping relationship may include a mapping relationship of autonomous data to slave data (ie, first Mapping relationship), and the mapping relationship from the data to the tail data (ie, the second mapping relationship).
  • the mapping relationship may include a mapping relationship of autonomous data to slave data (ie, first Mapping relationship), and the mapping relationship from the data to the tail data (ie, the second mapping relationship).
  • the system After the system determines a master data, it can determine the tail data by detecting the user's input operation. For example, the system can provide a selection page for the user to present a plurality of alternative metadata for selection in the selection page. The user can customize the tail data by clicking, dragging, etc. on the selection page. Thus, the system determines one or more metadata selected by the user as tail data by detecting a user operation.
  • the method before determining at least one tail data from the plurality of metadata based on the second user operation, the method further includes:
  • management interface includes a first area and a second area, where the identifier of the primary data is presented, and the identifier of the plurality of candidate metadata in the plurality of metadata is presented in the second area; as well as
  • Determining at least one tail data from the plurality of metadata based on the second user operation including:
  • the tail data is determined from the plurality of candidate metadata based on the second user operation, and the identification of the tail data is presented in the first region.
  • the system can present a management interface to the user, wherein the management interface includes the first area and the second area.
  • the relative positions of the first region and the second region are not particularly limited.
  • the first area and the second area may be displayed up and down, the first area is located in the upper half of the management interface, the second area is located in the lower half of the management interface, or the second area is located in the upper half of the management interface, first The area is located in the lower half of the management interface.
  • the first area and the second area may be displayed left and right or other easily conceivable presentation forms and the like. It should be noted that the presentation forms of the first area and the second area should not be limited to the scope of protection of the embodiments of the present invention.
  • the first area is used to display the identification of the primary data
  • the second area is used to display the identification of the plurality of candidate metadata.
  • the plurality of alternative metadata may be part or all of the acquired plurality of metadata.
  • the identifier of the data may be a folder or an icon corresponding to the data, and the like, and the user can identify (or can uniquely indicate) one data. Rendering graphics. Also, in the case where a folder is selected as the logo, the folder can implement a graphic change such as expansion or contraction based on a user operation.
  • the system determines tail data from the plurality of candidate metadata by detecting an operation of the user on the management interface (ie, a second user operation) and presents an identification of the tail data in the first region.
  • the second user operation may be a click operation, and after detecting the click operation of the user, the system determines the clicked candidate metadata as the tail data of the main data.
  • the second user operation is a drag operation of the mouse, and the drag operation is used to indicate that one or some candidate metadata is dragged to the first area of the management interface, for example, the first area is presented.
  • the vicinity of the identified area of the primary data so that the mapping relationship between the primary data and the tail data (ie, the dragged object) can be specified based on the second user operation.
  • one or more candidate metadata to be dragged is determined as the tail data of the main data.
  • the management interface may present the first area and the second area simultaneously.
  • the management interface may also present the first area and the second area separately.
  • the system detects the click operation of the user, presents the first area on the management interface, automatically detects the main data selected by the user, and automatically presents the second area, and presents the identifier of the plurality of candidate metadata in the second area.
  • the one or more candidate metadata determined by the user from the identification of the plurality of candidate metadata is determined as the tail data of the main data by detecting a user operation.
  • the identifier of the metadata may include various forms. For example, it can be a folder, an icon, or other form that can identify metadata, and the like.
  • the method further includes:
  • Determining at least one tail data from the plurality of metadata based on the second user operation including:
  • mapping relationship between the primary data and the tail data including:
  • determining the tail data according to the main data and the mapping relationship including:
  • the tail data is determined according to the main data, the slave data, the first mapping relationship, and the second mapping relationship.
  • the system may also first determine the slave data, and associate the slave data to the master data (ie, generate the first mapping relationship from the autonomous data to the slave data), and then determine the tail data, and The tail data is associated to the slave data (ie, the second mapping relationship from the data to the tail data is generated). Therefore, the mapping relationship in the embodiment of the present invention is formed by the first mapping relationship and the second mapping relationship.
  • slave data is used to connect the master data and the tail data.
  • the slave data and tail data are based on the master data.
  • the method before determining the at least one slave data from the plurality of metadata based on the third user operation, the method further includes:
  • management interface includes a first area and a second area, where the identifier of the primary data is presented, and the identifier of the plurality of candidate metadata in the plurality of metadata is presented in the second area; as well as
  • Determining at least one slave data from the plurality of metadata based on a third user operation including:
  • the slave data is determined from the plurality of candidate metadata based on a third user operation, and the identity of the slave data is presented in the first region.
  • the system can provide a management interface to the user to determine user-defined slave data and tail data by detecting user actions.
  • the second area of the management interface presents an identifier of a plurality of candidate metadata
  • the processor determines from the plurality of candidate metadata when the detecting device detects the user's operation. From the metadata of the data, and associating the selected slave data with the master data, and presenting the determined slave data in the first region, that is, presenting the identity of the master data and the identifier of the slave data simultaneously in the first region.
  • the third user operation may be a click operation, and after detecting the click operation of the user, the system determines the clicked candidate metadata as the slave data of the main data.
  • the third user operation is a drag operation of the mouse, and the drag operation is used to indicate that one or some candidate metadata is dragged to the first area of the management interface, for example, the first area is presented.
  • the vicinity of the identified area of the primary data enables the mapping of the primary data to the secondary data (i.e., the dragged object) based on the third user operation.
  • the one or more candidate metadata to be dragged is determined as the slave data of the main data.
  • the determining, according to the second user operation, the at least one tail data from the plurality of metadata including:
  • the tail data is determined from the plurality of candidate metadata based on the second user operation, and the identification of the tail data is presented in the first region.
  • the slave data and the tail data are determined from the plurality of candidate metadata, when the determined tail data is the data of the next level of the determined slave data, the slave data and the tail data can be simultaneously determined.
  • the user can drag and drop data and tail data to the first area of the management interface by dragging and dropping on the management interface. After the system detects the drag, the main data, the slave data and the tail data are simultaneously presented in the first area.
  • the processor determines the main data and the tail data, that is, establishes a mapping relationship between the main data and the tail data.
  • the processor records the mapping relationship to the memory to facilitate returning the result of the data request based on the mapping relationship upon receipt of the data request.
  • the processor determines the target main data according to the indication information of the main data. Combined with the mapping relationship between the recorded main data and the tail data, the tail data of the target main data is returned.
  • the data request must carry the indication information of the main data, so that the processor can determine the main data requested by the data request from the stored plurality of main data according to the indication information (for convenience of explanation, it is called a target).
  • the processor can determine the main data requested by the data request from the stored plurality of main data according to the indication information (for convenience of explanation, it is called a target).
  • main data main data
  • tail data of the target main data is determined according to the mapping relationship between the main data and the record (or storage).
  • the data request further carries indication information of the slave data.
  • the processor receives the indication information carrying the main data and the data request from the indication information of the data, and the processor determines the slave data according to the main data and the first mapping relationship.
  • the tail data is determined based on the slave data and the second mapping relationship.
  • the display allows the user to intuitively customize the mapping relationship between the metadata and the metadata of the system through the presentation management interface, thereby visualizing the mapping relationship between the data, and improving the system management data. Maneuverability.
  • the mapping relationship between the main data and the tail data can be passed through the main data and the mantissa. Determine between one or more data from the data. That is, first, a mapping relationship between the main data and the slave data is generated (referred to as a first mapping relationship for convenience of explanation), and a mapping relationship between the data and the tail data is generated (for convenience of explanation, the second mapping relationship is recorded) ).
  • the receiver of the computer system may determine the slave data according to the indication information of the main data and the first mapping relationship.
  • the tail data is determined according to the determined slave data and the second mapping relationship.
  • the primary data is at least two, and at least two primary data belong to N data structures, N ⁇ 2, and,
  • Presentation management interface including:
  • N pages Determining N pages according to the number N of the data structures, wherein the N data structures are in one-to-one correspondence with the N pages, and each page is used to present an identifier of the main data in the corresponding data structure;
  • a page label of the N pages is presented in the first area, and at least one of the N pages is presented in the first area.
  • the main data may be multiple.
  • N pages are presented on the management interface according to the number N of data structures to which the plurality of main data belong. That is, how many data structures there are and how many pages are presented.
  • N tabs are presented in the first area of the management interface, and each tab corresponds to one page.
  • the N pages are presented in the first area, only one of the N pages may be presented. Then, by detecting the operation of the user clicking the tab, the page corresponding to the tab selected by the user by clicking is presented.
  • the first area may also present the N pages simultaneously.
  • the N pages are simultaneously displayed side by side in the first area.
  • This kind of presentation makes the system's various business logics clear at a glance, and visually displays the mapping relationship between the main data and the slave data and the tail data in each page.
  • the N pages may be displayed in an overlapping manner, and when detecting the operation of the user clicking the tab, the system displays the page corresponding to the tab selected by the user at the top layer.
  • the embodiment of the present invention does not limit the presentation form of the page, and may be different according to different application scenarios.
  • presenting at least one of the N pages in the first area including:
  • the main page is for presenting Now the page of the first master data.
  • the system may select one or more first main data from the plurality of main data according to the data attribute information of the plurality of main data, and present the N pages in the first area.
  • the page of the identification of the first master data is determined to be the main page.
  • the data attribute information of the first primary data meets the preset condition, that is, the system determines, according to the user operation, the user-defined metadata for creating the primary service logic as the first primary data.
  • a user may define one or more business logics according to business needs.
  • FIG. 4 shows a schematic diagram of user-defined metadata and business logic in an embodiment of the present invention.
  • the user defines two business logics.
  • the business logic is a post capability model.
  • the user-defined master data is a post
  • the slave data has two, respectively, the capability and Skills
  • tail data is a knowledge point.
  • user-defined master data is an annual strategy, with data from being the work target and tail data being the work task.
  • the user can directly participate in the construction of the underlying data by means of user-defined metadata and metadata business logic, which can improve the flexibility of the configuration of the human resource management system and solve the problem of poor usability in the existing system. problem.
  • FIG. 5 is a schematic diagram of a management interface according to an embodiment of the present invention.
  • the management interface includes a first area and a second.
  • the first area is used to present an identifier of the primary data
  • the second area is used to display an identifier of the candidate metadata.
  • a tab is displayed in the upper left corner of the management interface.
  • the user-defined business logic is displayed in the tab.
  • the tabs are two.
  • the main business logic is directly displayed on the management interface, and the non-primary business logic is displayed in the form of a tab.
  • the processor after acquiring a plurality of metadata, the processor presents the management interface shown in FIG. 4 to the user.
  • the user can configure the mapping relationship between the metadata (or the logic of the data) on the management interface.
  • a mapping relationship at least the main data and the tail data should be included.
  • the main data is one
  • the tail data can be one or more.
  • one or more slave data may also be included in one mapping relationship. The slave data is used to interface the master data with the tail data.
  • the user configures the metadata post A shown in FIG. 5, and the user can associate the slave data and the tail data of the second region to the post A (ie, the main data) by dragging and dropping the mouse.
  • the user believes that the staff of position A of a certain enterprise needs to have skill A, ability B, knowledge point A and knowledge point B.
  • the user first clicks the tab of the "skill" in the second area, the system detects the click operation of the user, and displays a plurality of candidate metadata corresponding to the plurality of tabs "skills" in the second area of the management interface.
  • the user finds "skill A” and directly drags "skill A” to the first area by mouse, completing the configuration of the mapping relationship between the post A and the skill A.
  • the system uses "skill A” as the tail data of "post A”, and presents the identifier of the tail data "skill A” in the first area. Thereafter, the user clicks the tab of "Capability” in the second area. As described above, the system presents metadata showing a plurality of "capabilities” in the second area in response to the click operation. The user can directly drag the alternative metadata "Capability B” to the first area, and the system detects the drag operation and presents the identifier of the metadata "Capability B" in the first area.
  • mapping relationship between the user configuration metadata described above is only illustrated as an example. In the embodiment of the present invention, the order of the configuration is not particularly limited.
  • post family and the "capability family” shown in FIG. 5 are each an example of a data structure in the embodiment of the present invention.
  • the processor determines the main data, the slave data, and the tail data by detecting a drag operation of the user on the management interface, and generates a mapping relationship between the master data, the slave data, and the tail data, and records the mapping relationship.
  • FIG. 6 illustrates still another example of interaction design of a method of managing data in accordance with an embodiment of the present invention.
  • the first area of the management interface currently presents a page corresponding to the "Capability Position Model” tab.
  • the second area of the management interface currently presents the page corresponding to the "Capabilities” tab.
  • “post A” is the main data
  • the tail data is “skill A”, “knowledge point A”, “knowledge point B”, “knowledge point 1", and “knowledge point 2" ".
  • the slave data is "Capability B", “Sub-Capabilities 1", “Sub-Capabilities 2", “Sub-Capabilities 3", "Skill 1", “Skill 2", and "Skill 3".
  • the data structure is "post family”. Further, in the mapping relationship shown in the first region, “skill A", capability B”, “knowledge point A”, and “knowledge point B” are located at the first level of the main data "post A”, “sub-capabilities” 1", “Sub-Capabilities 2", “Sub-Capabilities 3” are located at the second level, “Skill 1", “Skill 2” and “Skill 3” are located at the third level, “Knowledge Point 1" and "Knowledge Point 2" are located The fourth level is also the last level.
  • the level of metadata is clearly displayed in the management interface.
  • the expansion of multiple levels of a metadata is illustrated in the first area of the management interface in Figure 5. Also, the indentation of the metadata of the same level is the same.
  • All the data of the first area is followed by a " ⁇ " option for selecting the data. After selecting the main data, all the data associated with the main data is selected;
  • a drop-down list is displayed next to the " ⁇ " icon in the upper right corner of the first area, and is used to perform corresponding operation processing on the selected metadata. For example, operation 1 is to derive a learning plan.
  • FIG. 7 is still another example of interaction design of a method of managing data in accordance with an embodiment of the present invention. As shown in Figure 7, on the management interface, the following mainly involves the following operations on metadata:
  • Display summary information If the user is operating on a personal computer and the mouse slides over a piece of metadata, it stays for a while and can display summary information of the metadata.
  • this part of the operation is not involved on the phone or tablet.
  • the summary information of the metadata can be displayed by pressing.
  • the operation of clicking on metadata can also be done on mobile phones and tablets.
  • Double-click After double-clicking on a metadata, a layer pops up on the current page to render the edit window. At the same time, the page behind the edit window adds a transparent gray mask to highlight the layer that pops up. Among them, a close button is displayed in the upper right corner of the edit window. See Figure 8.
  • FIG. 8 shows still another example of the interaction design of the method of managing data according to an embodiment of the present invention.
  • the editing window can be opened in a tab of the browser, so as to avoid input efficiency caused by frequent switching between multiple tabs when the user performs the metadata mapping relationship configuration. Low problems can improve the efficiency of data configuration for users.
  • FIG. 9 is a schematic system architecture diagram of a method of managing data in accordance with an embodiment of the present invention. As shown in Figure 9, the system mainly includes the following parts:
  • Access device Users can access the system using electronic devices such as personal computers, laptops, tablets or mobile phones.
  • Cloud server divided into two parts: data logic and database.
  • Data logic is used to process user metadata requests and to identify associations between metadata.
  • the database is used to store data generated by the user during the configuration process.
  • Universal server hardware can be used, including not limited to x86 servers, Unix servers, or virtual machines. Storage can use the server's own storage or a generic disk array. Network devices can use a common Ethernet switch or virtual network switch.
  • the methods for accessing the system are not identical for different access devices.
  • the personal computer accesses the Hypertext Markup Language (HTML) page through a browser, and the HTML page is accessed through the encapsulated Web Interface.
  • HTML Hypertext Markup Language
  • Flat plate Computers and mobile phones are accessed through native applications, and native applications are accessed through a packaged Software Development Kit (SDK).
  • SDK Software Development Kit
  • FIG. 10 is an example of a method of managing data according to an embodiment of the present invention.
  • a learning plan of a solution development manager is taken as an example.
  • a user first needs to define a plurality of metadata according to a service requirement, and define an association relationship of the plurality of metadata.
  • the user defines multiple metadata for positions, abilities, skills, and knowledge points. Among them, the user defines the position as the main data, defines the ability and skill as the slave data, and defines the knowledge point as the tail data.
  • the solution development manager has three capabilities, namely solution development capabilities, project management capabilities, and communication capabilities. Detailed development of solution development capabilities, including three skills, LEVEL1's skills to use commercial canvas, LEVEL 2's skills to use CHARTER templates and LEVEL3's skills to use MKT tools.
  • the LEVEL 1 uses the commercial brush skills to expand, which includes two knowledge points, namely what is a commercial canvas (ie, a commercial canvas introduction) and how to use a commercial canvas.
  • mapping relationship between the metadata can be configured through the user interaction modes of FIG. 5 to FIG. 8.
  • the method for managing data in the embodiment of the present invention enables a user to select a primary data and a tail data, and specify a mapping relationship between the primary data and the tail data, thereby allowing the user to adjust data between the data according to his own needs. Logical relationship.
  • FIG. 11 and FIG. 12 an apparatus and apparatus for managing data according to an embodiment of the present invention will be described.
  • FIG. 11 shows a schematic block diagram of an apparatus for managing data according to an embodiment of the present invention. As shown in Figure 11, the device includes:
  • the obtaining unit 510 is configured to acquire a plurality of metadata.
  • the processing unit 520 is configured to determine at least one main data from the plurality of metadata when the detecting unit 530 detects the first user operation;
  • the processing unit 520 is further configured to: when the detecting unit 530 detects the second user operation, determine at least one tail data from the plurality of metadata, and specify between the at least one tail data and the at least one main data Mapping relations;
  • the processing unit 520 is further configured to: when the receiving unit 540 receives the data request of the indication information of the primary data, determine the tail data according to the primary data and the mapping relationship.
  • the units in the apparatus 500 for managing data and the other operations or functions described above in accordance with an embodiment of the present invention are respectively implemented to implement respective processes in the method 200. For the sake of brevity, it will not be repeated here.
  • the method for managing data in the embodiment of the present invention enables a user to select a primary data and a tail data, and specify a mapping relationship between the primary data and the tail data, thereby allowing the user to adjust data between the data according to his own needs. Logical relationship.
  • FIG. 12 is a schematic structural diagram of an apparatus 700 for managing data according to an embodiment of the present invention.
  • the device 700 includes a processor 710, a display 720, a memory 730, and a transceiver 740, wherein the processor 710, the display 720, the memory 730, and the transceiver 740 are connected by a bus system 750, which is used by the memory 730.
  • the processor 710 is configured to execute instructions stored by the memory 730 to control the transceiver 740 to transmit or receive signals. among them,
  • the transceiver 740 is configured to acquire multiple metadata.
  • the processor 710 is configured to determine at least one main data from the plurality of metadata when the first user operation is detected;
  • the processor 710 is further configured to: when detecting the second user operation, determine at least one tail data from the plurality of metadata, and specify a mapping relationship between the at least one tail data and the at least one main data;
  • the processor 710 is further configured to determine the tail data according to the primary data and the mapping relationship when the transceiver 740 receives the data request carrying the indication information of the primary data.
  • the processor 710 may be a central processing unit (“CPU"), and the processor 710 may also be other general-purpose processors, digital signal processors (DSPs). , an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, and the like.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 730 can include read only memory and random access memory and provides instructions and data to the processor 710. A portion of the memory 730 may also include a non-volatile random access memory. For example, the memory 730 can also store information of the device type.
  • the bus system 740 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as bus system 740 in the figure.
  • each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 710 or an instruction in a form of software.
  • the steps of the method for managing data disclosed in the embodiments of the present invention may be directly implemented as hardware processor execution completion, or performed by a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in memory 730, and processor 710 reads the information in memory 730 and, in conjunction with its hardware, performs the steps of the above method. To avoid repetition, it will not be described in detail here.
  • the units in the device 700 for managing data and the other operations or functions described above are respectively for the respective processes in the method 200, in accordance with an embodiment of the present invention. For the sake of brevity, it will not be repeated here.
  • the device for managing data enables the user to adjust the mapping relationship between the main data and the tail data by selecting main data and tail data, thereby allowing the user to adjust according to his own needs.
  • the logical relationship between the data is not limited to the data.
  • the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention.
  • the implementation process constitutes any limitation.
  • the disclosed systems, devices, and The method can be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method and apparatus for managing data, which can enable a user to adjust a logical relationship between data according to his/her own requirements. The method comprises: acquiring a plurality of pieces of metadata (210); based on a first user operation, determining at least one piece of main data from the plurality of pieces of metadata (220); based on a second user operation, determining at least one piece of tail data from the plurality of pieces of metadata, and designating a mapping relationship between the at least one piece of tail data and the at least one piece of main data (230); recording the mapping relationship between the main data and the tail data (240); and when a data request carrying indication information about the main data is received, determining the tail data according to the main data and the mapping relationship (250).

Description

管理数据的方法和装置Method and apparatus for managing data 技术领域Technical field
本发明涉及人力资源管理领域,并且更具体地,涉及一种管理数据的方法。The present invention relates to the field of human resource management and, more particularly, to a method of managing data.
背景技术Background technique
在现今的企业里,人力资源管理系统中的学习发展管理模块需要管理很多的数据,例如,企业员工的岗位、能力、技能等。而不同企业对需要管理的数据的理解不尽相同,因此,不同管理系统管理数据的业务逻辑也存在较大差异。In today's enterprises, the learning development management module in the human resource management system needs to manage a lot of data, for example, the positions, capabilities, and skills of the employees. Different companies have different understandings of the data that needs to be managed. Therefore, the business logic of management data of different management systems also has large differences.
现有技术中,人力资源管理系统的业务逻辑通常是研发技术人员在经过业务需求分析后,通过编程、数据结构的定义等创建,以用于数据管理。用户不能根据自己的需求调整数据之间的逻辑。In the prior art, the business logic of the human resource management system is usually created by the R&D technician after data analysis through programming, data structure definition, etc., for data management. Users cannot adjust the logic between data according to their needs.
发明内容Summary of the invention
本申请提供一种管理数据的方法和装置,能够让用户按照自己的需求调整数据之间的逻辑关系。The present application provides a method and apparatus for managing data, which enables a user to adjust the logical relationship between data according to his or her own needs.
第一方面,本申请提供一种管理数据的方法,该方法包括:获取多个元数据;基于第一用户操作,从所述多个元数据中确定至少一个主数据;基于第二用户操作,从所述多个元数据中确定至少一个尾数据,并指定该至少一个尾数据与该至少一个主数据之间的映射关系;记录所述主数据与所述尾数据之间的映射关系;在接收到携带有所述主数据的标识的数据请求时,根据所述主数据和所述映射关系,确定所述尾数据。In a first aspect, the present application provides a method for managing data, the method comprising: acquiring a plurality of metadata; determining at least one master data from the plurality of metadata based on a first user operation; and based on a second user operation, Determining at least one tail data from the plurality of metadata, and designating a mapping relationship between the at least one tail data and the at least one main data; recording a mapping relationship between the main data and the tail data; When receiving the data request carrying the identifier of the primary data, determining the tail data according to the primary data and the mapping relationship.
在一种可能的实现方式中,在基于第二用户操作,从所述多个元数据中确定至少一个尾数据之前,所述方法还包括:呈现管理界面,所述管理界面包括第一区域和第二区域,所述第一区域中呈现所述至少一个主数据的标识,所述第二区域中呈现所述多个元数据中的多个备选元数据的标识;以及,所述基于第二用户操作,从所述多个元数据中确定至少一个尾数据,包括:基于第二用户操作,从所述多个备选元数据中确定所述至少一个尾数据,并在所述第一区域中呈现所述至少一个尾数据的标识。 In a possible implementation, before determining at least one tail data from the plurality of metadata based on the second user operation, the method further includes: presenting a management interface, where the management interface includes the first area and a second area, the identifier of the at least one primary data is presented in the first area, and an identifier of a plurality of candidate metadata in the plurality of metadata is presented in the second area; and the Two user operations, determining at least one tail data from the plurality of metadata, including: determining the at least one tail data from the plurality of candidate metadata based on a second user operation, and at the first An identifier of the at least one tail data is presented in the area.
在一种可能的实现方式中,所述第二用户操作包括将所述尾数据的标识从所述第二区域拖拽至所述第一区域。In a possible implementation manner, the second user operation includes dragging an identifier of the tail data from the second area to the first area.
在一种可能的实现方式中,基于第三用户操作,从所述多个元数据中确定至少一个从数据,并指定该至少一个从数据与该至少一个主数据之间的第一映射关系;以及,该基于第二用户操作,从该多个元数据中确定至少一个尾数据,包括:基于第二用户操作,从该多个元数据中确定至少一个尾数据,并指定该至少一个尾数据与该至少一个从数据之间的第二映射关系;以及,所述记录所述主数据与所述尾数据之间的映射关系,包括:记录所述主数据与所述从数据之间的第一映射关系,并记录所述从数据与所述尾数据之间的第二映射关系;所述在接收到携带有所述主数据的标识的数据请求时,根据所述主数据和所述映射关系,确定尾数据,包括:在接收到携带有所述主数据的标识和所述从数据的标识的数据请求时,根据所述主数据、所述从数据、所述第一映射关系和所述第二映射关系,确定所述尾数据。In a possible implementation, determining, according to a third user operation, at least one slave data from the plurality of metadata, and designating a first mapping relationship between the at least one slave data and the at least one master data; And determining, based on the second user operation, the at least one tail data from the plurality of metadata, including: determining at least one tail data from the plurality of metadata based on the second user operation, and designating the at least one tail data And a second mapping relationship between the at least one slave data; and the recording a mapping relationship between the master data and the tail data, including: recording a relationship between the master data and the slave data a mapping relationship, and recording a second mapping relationship between the slave data and the tail data; when receiving the data request carrying the identifier of the master data, according to the master data and the mapping Relationship, determining tail data, including: when receiving the data request carrying the identifier of the master data and the identifier of the slave data, according to the master data, the slave data, the first Mapping relationship and the second mapping relation to determine the end of data.
在一种可能的实现方式中,在基于第三用户操作,从所述多个元数据中确定至少一个从数据之前,所述方法还包括:呈现管理界面,所述管理界面包括第一区域和第二区域,所述第一区域中呈现所述至少一个主数据的标识,所述第二区域中呈现所述多个元数据中的多个备选元数据的标识;以及,所述基于第三用户操作,从所述多个元数据中确定至少一个从数据,包括:基于第三用户操作,从所述多个备选元数据中确定所述至少一个从数据,并在所述第一区域中呈现所述至少一个从数据的标识。In a possible implementation, before determining at least one slave data from the plurality of metadata based on a third user operation, the method further includes: presenting a management interface, where the management interface includes the first region and a second area, the identifier of the at least one primary data is presented in the first area, and an identifier of a plurality of candidate metadata in the plurality of metadata is presented in the second area; and the The three-user operation, determining the at least one slave data from the plurality of metadata, including: determining the at least one slave data from the plurality of candidate metadata based on a third user operation, and at the first An identifier of the at least one slave data is presented in the area.
在一种可能的实现方式中,基于第二用户操作,从所述多个元数据中确定至少一个尾数据,包括:基于第二用户操作,从所述多个备选元数据中确定所述至少一个尾数据,并在所述第一区域中呈现所述至少一个尾数据的标识。In a possible implementation, determining, according to the second user operation, the at least one tail data from the plurality of metadata, including: determining, according to the second user operation, the plurality of candidate metadata At least one tail data and presenting an identification of the at least one tail data in the first area.
在一种可能的实现方式中,该第二用户操作包括将该尾数据的标识从该第二区域拖拽至该第一区域,并将该尾数据的标识关联到至少一个该从数据的标识,以指定该至少一个尾数据与至少一个该从数据之间的映射关系。In a possible implementation manner, the second user operation includes dragging the identifier of the tail data from the second area to the first area, and associating the identifier of the tail data to the identifier of the at least one slave data. To specify a mapping relationship between the at least one tail data and at least one of the slave data.
在一种可能的实现方式中,所述第三操作包括将所述从数据的标识从所述第二区域拖拽至所述第一区域。In a possible implementation manner, the third operation includes dragging the identification of the slave data from the second area to the first area.
在一种可能的实现方式中,所述主数据为至少两个,且所述至少两个主数据属于N个数据结构,N≥2,以及,所述呈现管理界面,包括:根据所 述数据结构的数量N,确定N个页面,其中,所述N个数据结构与所述N个页面一一对应,每个页面用于呈现所对应的数据结构中的主数据的标识;在所述第一区域呈现所述N个页面的页面标签,在所述第一区域呈现所述N个页面中的至少一个页面。In a possible implementation manner, the primary data is at least two, and the at least two primary data belong to N data structures, N≥2, and the presentation management interface includes: Determining N pages of the data structure, wherein the N data structures are in one-to-one correspondence with the N pages, and each page is used to present an identifier of the main data in the corresponding data structure; The first area presents a page label of the N pages, and at least one of the N pages is presented in the first area.
在一种可能的实现方式中,在所述第一区域呈现所述N个页面中的至少一个页面,包括:根据所述至少两个主数据中每个主数据的数据属性信息,从所述至少两个主数据中确定至少一个第一主数据,其中,所述第一主数据的数据属性信息满足预设条件;在所述第一区域呈现所述N个页面中的至少一个主页面,所述主页面是用于呈现所述第一主数据的页面。In a possible implementation, the presenting at least one of the N pages in the first area, including: according to data attribute information of each of the at least two pieces of main data, from the Determining at least one first main data in the at least two main data, wherein the data attribute information of the first main data satisfies a preset condition; and at least one of the N pages is presented in the first area, The main page is a page for presenting the first main data.
第二方面,本申请提供一种管理数据的装置,用于执行第一方面或第一方面的任意可能的实现方式中的方法。具体地该装置包括用于执行第一方面或第一方面的任意可能的实现方式中的方法的单元。In a second aspect, the present application provides an apparatus for managing data for performing the method of the first aspect or any possible implementation of the first aspect. In particular the apparatus comprises means for performing the method of the first aspect or any of the possible implementations of the first aspect.
第三方面,本申请提供一种管理数据的设备,该设备包括处理器、显示器、存储器、网络接口和总线系统,其中,处理器、显示器、存储器、网络接口通过总线系统相互连接。该存储器用于存储指令,该处理器用于执行该存储器存储的指令,当该指令被执行时,该处理器通过该网络接口执行第一方面或第一方面的任意可能的实现方式中的方法。In a third aspect, the present application provides an apparatus for managing data, the apparatus comprising a processor, a display, a memory, a network interface, and a bus system, wherein the processor, the display, the memory, and the network interface are connected to each other through a bus system. The memory is for storing instructions for executing the memory stored instructions, and when the instructions are executed, the processor performs the method of the first aspect or any possible implementation of the first aspect through the network interface.
第四方面,本申请提供一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行第一方面或第一方面的任意可能的实现方式中的方法的指令。In a fourth aspect, the present application provides a computer readable medium for storing a computer program, the computer program comprising instructions for performing the method of the first aspect or any of the possible implementations of the first aspect.
本申请提供的管理数据的方法和装置,能够让用户通过选择主数据和尾数据,以及指定所述主数据与所述尾数据之间的映射关系,从而让用户能够根据自己的需求调整数据之间的逻辑关系。The method and apparatus for managing data provided by the present application enable a user to adjust data according to his own needs by selecting primary data and tail data, and specifying a mapping relationship between the primary data and the tail data. Between the logical relationship.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments of the present invention will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1是适用于本发明实施例的管理数据的方法和装置的计算机系统示意图。 1 is a schematic diagram of a computer system of a method and apparatus for managing data suitable for use in an embodiment of the present invention.
图2是现有技术中人力资源管理系统常见的业务逻辑的举例。2 is an example of common business logic of a human resource management system in the prior art.
图3是根据本发明实施例的管理数据的方法的示意性流程图。FIG. 3 is a schematic flowchart of a method of managing data according to an embodiment of the present invention.
图4是根据本发明实施例的用户自定义元数据和业务逻辑的示意图。4 is a schematic diagram of user-defined metadata and business logic in accordance with an embodiment of the present invention.
图5是根据本发明实施例的管理界面的示意图。FIG. 5 is a schematic diagram of a management interface according to an embodiment of the present invention.
图6是根据本发明实施例的管理数据的方法交互设计的一例。6 is an example of an interaction design of a method of managing data according to an embodiment of the present invention.
图7是根据本发明实施例管理数据的方法的交互设计的又一例。7 is another example of interaction design of a method of managing data in accordance with an embodiment of the present invention.
图8是根据本发明实施例管理数据的方法的交互设计的再一例。FIG. 8 is still another example of interaction design of a method of managing data according to an embodiment of the present invention.
图9是根据本发明实施例的管理数据的方法的示意性架构图。9 is a schematic architectural diagram of a method of managing data in accordance with an embodiment of the present invention.
图10是根据本发明实施例的管理数据的方法的一个举例说明。FIG. 10 is an illustration of a method of managing data in accordance with an embodiment of the present invention.
图11是根据本发明实施例的管理数据的装置的示意性结构图。11 is a schematic structural diagram of an apparatus for managing data according to an embodiment of the present invention.
图12是根据本发明实施例的管理数据的设备的示意性结构图。FIG. 12 is a schematic structural diagram of an apparatus for managing data according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明的一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通技术人员在没有付出创造性劳动的前提下所获得的所有其他实施例,都应属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without departing from the inventive scope should fall within the scope of the present invention.
本发明实施例提供的管理数据的方法、装置和设备,可以应用于计算机上,该计算机包括硬件层、运行在硬件层之上的操作系统层,以及运行在操作系统层上的应用层。The method, device and device for managing data provided by the embodiments of the present invention can be applied to a computer, which includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer.
该操作系统可以是任意一种或多种通过进程(Process)实现业务处理的计算机操作系统,例如,Linux操作系统、Unix操作系统、Android操作系统、iOS操作系统或windows操作系统等。The operating system may be any one or more computer operating systems that implement business processing through a process, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a Windows operating system.
该应用层包含浏览器、通讯录、文字处理软件、即时通信软件等应用。The application layer includes applications such as browsers, contacts, word processing software, and instant messaging software.
并且,在本发明实施例中,该计算机可以是智能手机等手持设备,也可以是个人计算机等终端设备,本发明并未特别限定,只要能够通过运行记录有本发明实施例的压缩数据的方法的代码的程序,以根据本发明实施例的压缩数据的方法对数据进行处理即可。本发明实施例的管理数据的方法的执行主体可以是计算机设备,或者,是计算机设备中能够调用程序并执行程序的功能模块。In addition, in the embodiment of the present invention, the computer may be a handheld device such as a smart phone, or may be a terminal device such as a personal computer, and the present invention is not particularly limited as long as the method for recording the compressed data of the embodiment of the present invention can be operated. The program of the code may process the data in a method of compressing data according to an embodiment of the present invention. The execution body of the method for managing data according to the embodiment of the present invention may be a computer device or a functional module of the computer device capable of calling a program and executing the program.
此外,本发明的各个方面或特征可以实现成方法、装置或使用标准编程 和/或工程技术的制品。本申请中使用的术语“制品”涵盖可从任何计算机可读器件、载体或介质访问的计算机程序。例如,计算机可读介质可以包括,但不限于:磁存储器件(例如,硬盘、软盘或磁带等),光盘(例如,CD(Compact Disc,压缩盘)、DVD(Digital Versatile Disc,数字通用盘)等),智能卡和闪存器件(例如,EPROM(Erasable Programmable Read-Only Memory,可擦写可编程只读存储器)、卡、棒或钥匙驱动器等)。另外,本文描述的各种存储介质可代表用于存储信息的一个或多个设备和/或其它机器可读介质。术语“机器可读介质”可包括但不限于,无线信道和能够存储、包含和/或承载指令和/或数据的各种其它介质。Moreover, various aspects or features of the present invention can be implemented as a method, apparatus, or using standard programming And/or engineering products. The term "article of manufacture" as used in this application encompasses a computer program accessible from any computer-readable device, carrier, or media. For example, the computer readable medium may include, but is not limited to, a magnetic storage device (eg, a hard disk, a floppy disk, or a magnetic tape), and an optical disk (eg, a CD (Compact Disc), a DVD (Digital Versatile Disc). Etc.), smart cards and flash memory devices (eg, EPROM (Erasable Programmable Read-Only Memory), cards, sticks or key drivers, etc.). Additionally, various storage media described herein can represent one or more devices and/or other machine-readable media for storing information. The term "machine-readable medium" may include, without limitation, a wireless channel and various other mediums capable of storing, containing, and/or carrying instructions and/or data.
下面,结合图1对本发明实施例的计算机系统(具体地说,是计算机系统的硬件层)的结构进行实例性说明。Hereinafter, the structure of a computer system (specifically, a hardware layer of a computer system) of an embodiment of the present invention will be exemplarily described with reference to FIG.
图1是适用本发明实施例的管理数据的方法所应用的计算机系统100的示意图。如图1所示,该系统100包括:1 is a schematic diagram of a computer system 100 to which a method of managing data in accordance with an embodiment of the present invention is applied. As shown in Figure 1, the system 100 includes:
至少一个处理器110;At least one processor 110;
至少一个存储器120;At least one memory 120;
至少一个显示器130;At least one display 130;
其中,处理器110、存储器120和显示器130通信连接。The processor 110, the memory 120, and the display 130 are communicatively coupled.
在本发明实施例中,处理器110中设置有通信接口,存储器120中设置通信接口,显示器130中设置有通信接口,从而,处理器110、存储器120和显示器130可以通过该通信接口进行通信。In the embodiment of the present invention, a communication interface is disposed in the processor 110, a communication interface is disposed in the memory 120, and a communication interface is disposed in the display 130, so that the processor 110, the memory 120, and the display 130 can communicate through the communication interface.
在本发明实施例中,处理器110与存储器120和显示器130可以配置在同一设备中,此情况下,作为示例而非限定,该计算机系统100还可以包括总线140,该处理器110可以经由通信接口与该总线140连接,该存储器120可以经由通信接口与该总线140连接,显示器130可以经由通信接口与该总线140连接。从而,处理器110、存储器120和显示器130可以通过该总线140实现通信连接。该总线140除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。此情况下,处理器110的通信接口可以为计算机设备内部器件之间的通信接口,类似地,存储器120和显示器130的通信接口可以为计算机设备内部器件之间的通信接口。In the embodiment of the present invention, the processor 110 and the memory 120 and the display 130 may be configured in the same device. In this case, by way of example and not limitation, the computer system 100 may further include a bus 140, and the processor 110 may communicate via An interface is coupled to the bus 140, which may be coupled to the bus 140 via a communication interface, and the display 130 may be coupled to the bus 140 via a communication interface. Thus, the processor 110, the memory 120, and the display 130 can implement a communication connection through the bus 140. The bus 140 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. In this case, the communication interface of the processor 110 may be a communication interface between devices within the computer device. Similarly, the communication interface of the memory 120 and the display 130 may be a communication interface between devices within the computer device.
在本发明实施例中,处理器110、存储器120和显示器130可以配置在不同设备中,此情况下,处理器110、存储器120和显示器130可以通过有 线方式或无线方式通信连接。例如,在处理器110与存储器120之间(具体地说,是处理器110的通信接口与存储器120的通信接口之间)可以设置通信线缆(例如,光纤或铜线等),以实现处理器110与存储器120之间的有线方式的通信连接。此情况下,处理器110的通信接口可以为计算机设备的用于与外部设备通信的通信接口,类似地,存储器120的通信接口可以为计算机设备的用于与外部设备通信的通信接口。In the embodiment of the present invention, the processor 110, the memory 120, and the display 130 may be configured in different devices. In this case, the processor 110, the memory 120, and the display 130 may pass through Wired or wireless communication connection. For example, a communication cable (eg, fiber optic or copper wire, etc.) may be disposed between the processor 110 and the memory 120 (specifically, between the communication interface of the processor 110 and the communication interface of the memory 120) for processing. A wired communication connection between the device 110 and the memory 120. In this case, the communication interface of the processor 110 may be a communication interface of the computer device for communicating with the external device, and similarly, the communication interface of the memory 120 may be a communication interface of the computer device for communicating with the external device.
在本发明实施例中,处理器110可以是一个也可以是多个,并且,多个处理器110可以配置在同一设备(例如,服务器)中,或者,多个处理器110也可以独立配置,本发明并未特别限定。In the embodiment of the present invention, the processor 110 may be one or more, and the multiple processors 110 may be configured in the same device (for example, a server), or the multiple processors 110 may be configured independently. The invention is not particularly limited.
需要说明的是,在本发明实施例中,当处理器110为多个,且配置在同一设备中时,各处理器110可以通过总线140(例如,PCIE总线)连接,即,可以通过总线140实现各处理器110之间的信令或数据传输。另外,当各处理器110配置在不同设备中时,可以在各设备中配置与处理110连接的信息或信号收发器,并通过传输线缆连接各设备中的收发器,以实现各处理器110之间的信令或数据传输。It should be noted that, in the embodiment of the present invention, when there are multiple processors 110 and are configured in the same device, each processor 110 may be connected through a bus 140 (for example, a PCIE bus), that is, may be through the bus 140. Signaling or data transfer between the various processors 110 is implemented. In addition, when each processor 110 is configured in a different device, information or a signal transceiver connected to the process 110 may be configured in each device, and a transceiver in each device is connected through a transmission cable to implement each processor 110. Signaling or data transfer between.
在本发明实施例中,存储器120包括至少一个控制器和至少一个存储介质。In an embodiment of the invention, the memory 120 includes at least one controller and at least one storage medium.
存储介质,也可以称为存储空间,是用于存储某种不连续物理量的媒体。作为示例而非限定,该存储介质可以为存储芯片,并且,该存储介质的材料可以是半导体、磁芯、磁鼓、磁带、激光盘本领域成熟的材料等。该存储介质的类型可以是随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质类型。A storage medium, also referred to as a storage space, is a medium for storing a certain discontinuous physical quantity. By way of example and not limitation, the storage medium may be a memory chip, and the material of the storage medium may be a semiconductor, a magnetic core, a magnetic drum, a magnetic tape, a material matured in the field of laser discs, and the like. The type of the storage medium may be a random access memory, a flash memory, a read only memory, a programmable read only memory or an electrically erasable programmable memory, a register, etc., which are mature types of storage media in the field.
在本发明实施例中,存储介质可以是一个也可以是多个,并且,多个存储介质可以配置在同一设备(例如,服务器)中,或者,多个存储介质可以独立配置,本发明并未特别限定。In the embodiment of the present invention, the storage medium may be one or more, and the plurality of storage media may be configured in the same device (for example, a server), or the plurality of storage media may be independently configured, and the present invention does not Specially limited.
控制器,也可以称为存储控制器(memory controller),用于为存储介质分配物理地址,并根据物理地址访问存储介质,并在存储介质进行数据存储操作。The controller, which may also be referred to as a memory controller, is configured to allocate a physical address to the storage medium, access the storage medium according to the physical address, and perform a data storage operation on the storage medium.
控制器与上述处理器110通信连接,例如,控制器可以与总线140连接,从而,控制器可以经由该总线140与处理器110通信。The controller is communicatively coupled to the processor 110 described above, for example, the controller can be coupled to the bus 140 such that the controller can communicate with the processor 110 via the bus 140.
作为示例而非限定,该控制器可以是中央处理单元或其他通用处理器、 数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。By way of example and not limitation, the controller can be a central processing unit or other general purpose processor, Digital signal processors, application specific integrated circuits, field programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like.
在本发明实施例中,控制器可以是一个也可以是多个,并且,多个控制器可以配置在同一设备中,或者,多个控制器可以独立配置,本发明并未特别限定。In the embodiment of the present invention, the controller may be one or more, and the multiple controllers may be configured in the same device, or the multiple controllers may be independently configured, and the present invention is not particularly limited.
在本发明实施例中,存储器120可以为一个也可以为多个,本发明并未特别限定,并且,当存储器120为多个时,各存储器120可以联合配置,即,多个存储器120可以共用一个或多个控制器或存储介质。In the embodiment of the present invention, the memory 120 may be one or more, and the present invention is not particularly limited. When the memory 120 is multiple, each of the memories 120 may be jointly configured, that is, the plurality of memories 120 may be shared. One or more controllers or storage media.
图2是现有技术中人力资源管理系统常见的业务逻辑的举例。图2中示出了业务逻辑一、业务逻辑二和业务逻辑三。在不同的人力资源管理系统中,由于不同的企业对于需要管理的对象的理解不尽相同,因此,管理方式并没有统一的标准。例如,业务逻辑一和业务逻辑二以岗位能力展开,业务逻辑三以战略规划展开。又例如,业务逻辑一和业务逻辑二管理逻辑相同,即都是以岗位能力进行管理,但是业务层级不同,即业务逻辑一的业务层级为两级,而业务逻辑二的业务层级为四层。2 is an example of common business logic of a human resource management system in the prior art. Figure 2 shows the business logic 1, business logic 2 and business logic 3. In different human resource management systems, because different enterprises have different understandings of the objects that need to be managed, there is no uniform standard for management methods. For example, business logic one and business logic two are based on post capabilities, and business logic three is based on strategic planning. For example, the business logic 1 and the business logic 2 management logic are the same, that is, the management is performed by the post capability, but the service hierarchy is different, that is, the business logic level of the business logic one is two levels, and the business level of the business logic two is four layers.
一般,现有的人力资源管理系统的业务逻辑通常是研发技术人员在进行业务需求分析后,通过编程、数据结构的定义等等进行系统配置以后创建的,以实现对数据的管理。但是,对技术要求很高。管理数据的可操作性较差。Generally, the business logic of the existing human resource management system is usually created by the R&D technicians after the business needs analysis, through the programming, the definition of the data structure, etc., to realize the management of the data. However, the technical requirements are very high. The operability of managing data is poor.
以下,为了便于理解和说明,不失一般性,以将本发明实施例的管理数据的方法应用于人力资源管理领域时的过程为例,进行说明。In the following, in order to facilitate understanding and explanation, the process of managing data according to the embodiment of the present invention is applied to the field of human resource management as an example, and the description will be made.
以下结合图3至图8,对根据本发明实施例的管理数据的方法进行详细说明。A method of managing data according to an embodiment of the present invention will be described in detail below with reference to FIGS. 3 through 8.
为了便于理解,不失一般性,以处理器作为本发明实施例的管理数据的方法的执行主体为例,进行说明。For the sake of easy understanding, the general body of the method for managing data according to the embodiment of the present invention will be described as an example.
图3示出了根据本发明实施例的管理数据的方法200的示意性流程图。如图3所示,该方法200包括步骤210至250。FIG. 3 shows a schematic flow diagram of a method 200 of managing data in accordance with an embodiment of the present invention. As shown in FIG. 3, the method 200 includes steps 210 through 250.
210、适用该方法200计算机系统(例如,计算机系统中的处理器)可以获取多个元数据。210. Applying the Method 200 A computer system (eg, a processor in a computer system) can acquire a plurality of metadata.
作为示例而非限定,在本发明实施例中,获取元数据的方式可以包括多种,例如,计算机系统可以配置人机交互接口,从而,处理器可以通过该人机交互接口,可以获取用户输入的多个元数据。或者,计算机系统也可以配 置数据(或者说,信息)收发器,从而,可以通过该收发器也可以接收系统外部设备发送的多个元数据,本发明实施例不作特别限定。By way of example and not limitation, in the embodiment of the present invention, the manner of obtaining metadata may include multiple types. For example, the computer system may configure a human-computer interaction interface, so that the processor can obtain user input through the human-computer interaction interface. Multiple metadata. Or, the computer system can also be equipped A data (or information) transceiver is provided, so that a plurality of metadata transmitted by the external device of the system can be received by the transceiver, which is not limited in the embodiment of the present invention.
在本发明实施例中,用户可以自定义系统元数据,并配置元数据的详细信息。用户在配置元数据的详细信息时,可以自由地添加、编辑或删除字段,设置字段的类型(例如,可以为文本、选项或下拉列表等)。还可以设置字段为选填字段或是必填字段。In the embodiment of the present invention, the user can customize the system metadata and configure the detailed information of the metadata. When configuring the details of metadata, users can freely add, edit, or delete fields, and set the type of the field (for example, it can be text, options, or drop-down lists, etc.). You can also set the field to be an optional field or a required field.
另外,用户在自定义元数据时,还可以选择该元数据是否隐藏。其中,隐藏的元数据不能在配置元数据的映射关系时域其它元数据关联,仅限于特定场景中使用。In addition, when the user customizes the metadata, he can also choose whether the metadata is hidden. Among them, the hidden metadata cannot be associated with other metadata in the time domain of the mapping relationship of the configuration metadata, and is limited to use in a specific scenario.
系统在获取用户输入的元数据时,同时获取到元数据的详细信息。When the system obtains the metadata input by the user, the system obtains the detailed information of the metadata at the same time.
作为示例而非限定,在本发明实施例中,在人力资源管理领域中,该元数据可以包括例如:“岗位”、“能力”、“知识点”、“技能”、“学习内容”、“战略规划”等各种类型的数据。By way of example and not limitation, in the embodiment of the present invention, in the field of human resource management, the metadata may include, for example, "post", "ability", "knowledge point", "skill", "learning content", " Various types of data such as strategic planning.
220、基于第一用户操作,从所述多个元数据中确定至少一个主数据。220. Determine at least one primary data from the plurality of metadata based on a first user operation.
计算机系统(例如,处理器)在获取到多个元数据后,从该多个元数据中确定作为主数据的元数据。并且,在本发明实施例中,计算机系统可以配置用户操作检测设备(例如,针对鼠标、键盘或触摸信号等输入信号的检测设备),从而,在确定主数据时,可以是基于用户的操作(即,第一用户操作的一例)获取到的。例如,系统可以为用户提供选择主数据的页面,通过检测用户的点击、输入或编辑等操作,获取到用户自定义的多个元数据,并将该多个元数据确定为主数据。The computer system (eg, the processor) determines metadata as the main data from the plurality of metadata after acquiring the plurality of metadata. Moreover, in the embodiment of the present invention, the computer system may configure the user to operate the detecting device (for example, a detecting device for input signals such as a mouse, a keyboard or a touch signal), so that when determining the main data, it may be based on the user's operation ( That is, an example of the first user operation is acquired. For example, the system may provide a page for the user to select the main data, and obtain a plurality of user-defined metadata by detecting a user's click, input, or edit operation, and determine the plurality of metadata as the main data.
需要说明的是,在本发明实施例中,处理器可以集成该用户操作检测设备的功能,或者,该处理器与该用户操作检测设备也可以独立配置,本发明并未特别限定。It should be noted that, in the embodiment of the present invention, the processor may be integrated with the function of the user operation detecting device, or the processor and the user operation detecting device may be independently configured, and the invention is not particularly limited.
230、基于第二用户操作,从所述多个元数据中确定至少一个尾数据,并指定该至少一个尾数据与该至少一个主数据之间的映射关系。230. Determine, according to a second user operation, at least one tail data from the plurality of metadata, and specify a mapping relationship between the at least one tail data and the at least one primary data.
系统在确定至少一个主数据之后,为每一个主数据确定至少一个尾数据,并指定主数据与对应的尾数据之间的映射关系。After determining the at least one main data, the system determines at least one tail data for each main data, and specifies a mapping relationship between the main data and the corresponding tail data.
为了便于理解说明,以下仅以确定一个元数据的尾数据为例,对本发明实施例中管理数据的方法进行详细说明。In order to facilitate the understanding of the description, the method for managing data in the embodiment of the present invention will be described in detail below by taking only the tail data of one metadata as an example.
在本发明实施例中,一个或多个尾数据可以直接关联至一个主数据(即, 情况1),此情况下,该映射关系可以是指从数据至尾数据的直接映射关系。或者,一个或多个尾数据也可以经由一个或多个从数据关联至一个主数据(即,情况2),此情况下,映射关系可以包括自主数据至从数据的映射关系(即,第一映射关系),以及自从数据至尾数据的映射关系(即,第二映射关系)。下面,分别对上述两种情况下的具体处理流程进行详细说明。In an embodiment of the present invention, one or more tail data may be directly associated with one master data (ie, Case 1) In this case, the mapping relationship may refer to a direct mapping relationship from data to tail data. Alternatively, one or more tail data may also be associated with one master data (ie, case 2) via one or more slave data, in which case the mapping relationship may include a mapping relationship of autonomous data to slave data (ie, first Mapping relationship), and the mapping relationship from the data to the tail data (ie, the second mapping relationship). In the following, the specific processing flow in the above two cases will be described in detail.
情况1Situation 1
系统在确定一个主数据后,可以通过检测用户的输入操作确定尾数据。例如,系统可以为用户提供选择页面,在该选择页面中呈现可供选择的多个备选元数据。用户在该选择页面上通过点击、拖拽等方式可以自定义尾数据。从而系统通过检测用户操作,将用户选择的一个或多个元数据确定为尾数据。After the system determines a master data, it can determine the tail data by detecting the user's input operation. For example, the system can provide a selection page for the user to present a plurality of alternative metadata for selection in the selection page. The user can customize the tail data by clicking, dragging, etc. on the selection page. Thus, the system determines one or more metadata selected by the user as tail data by detecting a user operation.
可选地,在基于第二用户操作,从该多个元数据中确定至少一个尾数据之前,该方法还包括:Optionally, before determining at least one tail data from the plurality of metadata based on the second user operation, the method further includes:
呈现管理界面,该管理界面包括第一区域和第二区域,该第一区域中呈现该主数据的标识,该第二区域中呈现该多个元数据中的多个备选元数据的标识;以及a management interface, where the management interface includes a first area and a second area, where the identifier of the primary data is presented, and the identifier of the plurality of candidate metadata in the plurality of metadata is presented in the second area; as well as
该基于第二用户操作,从该多个元数据中确定至少一个尾数据,包括:Determining at least one tail data from the plurality of metadata based on the second user operation, including:
基于第二用户操作,从该多个备选元数据中确定该尾数据,并在该第一区域中呈现该尾数据的标识。The tail data is determined from the plurality of candidate metadata based on the second user operation, and the identification of the tail data is presented in the first region.
具体地说,系统可以向用户呈现管理界面,其中,该管理界面包括第一区域和第二区域。其中,对第一区域和第二区域的相对位置不作特别限定。例如,第一区域和第二区域可以上下显示,第一区域位于管理界面的上半部分,第二区域位于管理界面的下半部分,或者,第二区域位于管理界面的上半部分,第一区域位于管理界面的下半部分。又例如,第一区域和第二区域可以左右显示或其它容易想到的呈现形式等。需要说明的是,第一区域与第二区域的呈现形式不应对本发明实施例的保护范围构成任何限定。Specifically, the system can present a management interface to the user, wherein the management interface includes the first area and the second area. However, the relative positions of the first region and the second region are not particularly limited. For example, the first area and the second area may be displayed up and down, the first area is located in the upper half of the management interface, the second area is located in the lower half of the management interface, or the second area is located in the upper half of the management interface, first The area is located in the lower half of the management interface. For another example, the first area and the second area may be displayed left and right or other easily conceivable presentation forms and the like. It should be noted that the presentation forms of the first area and the second area should not be limited to the scope of protection of the embodiments of the present invention.
第一区域用于显示主数据的标识,第二区域用于显示多个备选元数据的标识。此处,多个备选元数据可以为获取的多个元数据中的部分元数据或全部。The first area is used to display the identification of the primary data, and the second area is used to display the identification of the plurality of candidate metadata. Here, the plurality of alternative metadata may be part or all of the acquired plurality of metadata.
作为示例而非限定,在本发明实施例中,数据的标识可以是数据所对应的文件夹或图标等各种能够让用户识别(或者说,能够唯一指示)一个数据 的呈现图形。并且,在选用文件夹作为标识的情况下,该文件夹能够基于用户操作实现例如展开或收缩等图形变化。By way of example and not limitation, in the embodiment of the present invention, the identifier of the data may be a folder or an icon corresponding to the data, and the like, and the user can identify (or can uniquely indicate) one data. Rendering graphics. Also, in the case where a folder is selected as the logo, the folder can implement a graphic change such as expansion or contraction based on a user operation.
系统通过检测用户在管理界面上的操作(即,第二用户操作),从该多个备选元数据中确定尾数据,并在第一区域中呈现该尾数据的标识。The system determines tail data from the plurality of candidate metadata by detecting an operation of the user on the management interface (ie, a second user operation) and presents an identification of the tail data in the first region.
例如,该第二用户操作可以为点击操作,系统在检测到用户的点击操作后,将被点击的备选元数据确定为主数据的尾数据。For example, the second user operation may be a click operation, and after detecting the click operation of the user, the system determines the clicked candidate metadata as the tail data of the main data.
或者,该第二用户操作为鼠标的拖拽操作,该拖拽操作用于指示将某一个或某几个备选元数据拖拽至管理界面的第一区域,例如,该第一区域中呈现该主数据的标识的区域附近,从而能够基于该第二用户操作指定主数据与尾数据(即,拖拽对象)的映射关系。系统检测到拖拽操作后,将被拖拽的一个或多个备选元数据确定为主数据的尾数据。Alternatively, the second user operation is a drag operation of the mouse, and the drag operation is used to indicate that one or some candidate metadata is dragged to the first area of the management interface, for example, the first area is presented. The vicinity of the identified area of the primary data, so that the mapping relationship between the primary data and the tail data (ie, the dragged object) can be specified based on the second user operation. After the system detects the drag operation, one or more candidate metadata to be dragged is determined as the tail data of the main data.
可选地,管理界面可以同时呈现第一区域和第二区域。或者,管理界面也可以单独呈现第一区域和第二区域。例如,系统检测用户的点击操作,在管理界面上呈现第一区域,检测到用户选择的主数据后,自动呈现第二区域,并在第二区域中呈现多个备选元数据的标识。通过检测用户操作,将用户从该多个备选元数据的标识中确定的一个或多个备选元数据确定为主数据的尾数据。Alternatively, the management interface may present the first area and the second area simultaneously. Alternatively, the management interface may also present the first area and the second area separately. For example, the system detects the click operation of the user, presents the first area on the management interface, automatically detects the main data selected by the user, and automatically presents the second area, and presents the identifier of the plurality of candidate metadata in the second area. The one or more candidate metadata determined by the user from the identification of the plurality of candidate metadata is determined as the tail data of the main data by detecting a user operation.
需要说明的是,元数据的标识可以包括多种形式。例如,可以为文件夹、图标或者可以标识元数据的其它形式等。It should be noted that the identifier of the metadata may include various forms. For example, it can be a folder, an icon, or other form that can identify metadata, and the like.
情况2Situation 2
可选地,该方法还包括:Optionally, the method further includes:
基于第三用户操作,从该多个元数据中确定至少一个从数据,并指定该至少一个从数据与该至少一个主数据之间的第一映射关系;Determining at least one slave data from the plurality of metadata based on a third user operation, and designating a first mapping relationship between the at least one slave data and the at least one master data;
基于第二用户操作,从该多个元数据中确定至少一个尾数据,包括:Determining at least one tail data from the plurality of metadata based on the second user operation, including:
基于第二用户操作,从该多个元数据中确定至少一个尾数据,并指定该至少一个尾数据与该至少一个从数据之间的第二映射关系;Determining at least one tail data from the plurality of metadata based on a second user operation, and specifying a second mapping relationship between the at least one tail data and the at least one slave data;
记录该主数据与该尾数据之间的映射关系,包括:Record the mapping relationship between the primary data and the tail data, including:
记录该主数据与该从数据之间的第一映射关系,并记录该从数据与该尾数据之间的第二映射关系;Recording a first mapping relationship between the primary data and the secondary data, and recording a second mapping relationship between the secondary data and the tail data;
在接收到携带有该主数据的指示信息的数据请求时,根据该主数据和该映射关系,确定尾数据,包括: When receiving the data request carrying the indication information of the main data, determining the tail data according to the main data and the mapping relationship, including:
在接收到携带有该主数据的指示信息和该从数据的指示信息的数据请求时,根据该主数据、该从数据、该第一映射关系和该第二映射关系,确定该尾数据。Upon receiving the data request carrying the indication information of the main data and the indication information of the slave data, the tail data is determined according to the main data, the slave data, the first mapping relationship, and the second mapping relationship.
具体地说,在本发明实施例中,系统也可以先确定从数据,并把从数据关联至主数据(即,生成自主数据至从数据的第一映射关系),再确定尾数据,并把尾数据关联至从数据(即,生成自从数据至尾数据的第二映射关系)。从而,由该第一映射关系和第二映射关系构成本发明实施例中的映射关系。Specifically, in the embodiment of the present invention, the system may also first determine the slave data, and associate the slave data to the master data (ie, generate the first mapping relationship from the autonomous data to the slave data), and then determine the tail data, and The tail data is associated to the slave data (ie, the second mapping relationship from the data to the tail data is generated). Therefore, the mapping relationship in the embodiment of the present invention is formed by the first mapping relationship and the second mapping relationship.
可以理解的是,从数据用于衔接主数据和尾数据。从数据和尾数据是基于主数据展开的。It can be understood that the slave data is used to connect the master data and the tail data. The slave data and tail data are based on the master data.
可选地,在基于第三用户操作,从该多个元数据中确定至少一个从数据之前,该方法还包括:Optionally, before determining the at least one slave data from the plurality of metadata based on the third user operation, the method further includes:
呈现管理界面,该管理界面包括第一区域和第二区域,该第一区域中呈现该主数据的标识,该第二区域中呈现该多个元数据中的多个备选元数据的标识;以及a management interface, where the management interface includes a first area and a second area, where the identifier of the primary data is presented, and the identifier of the plurality of candidate metadata in the plurality of metadata is presented in the second area; as well as
基于第三用户操作,从该多个元数据中确定至少一个从数据,包括:Determining at least one slave data from the plurality of metadata based on a third user operation, including:
基于第三用户操作,从该多个备选元数据中确定该从数据,并在该第一区域中呈现该从数据的标识。The slave data is determined from the plurality of candidate metadata based on a third user operation, and the identity of the slave data is presented in the first region.
具体地说,系统可以向用户提供管理界面,以便于通过检测用户的操作,确定用户自定义的从数据和尾数据。Specifically, the system can provide a management interface to the user to determine user-defined slave data and tail data by detecting user actions.
与前文所述的确定尾数据类似,管理界面的第二区域呈现有多个备选元数据的标识,在检测设备检测到用户的操作时,处理器从该多个备选元数据中确定作为从数据的元数据,并将所选定的从数据与主数据关联,并将确定的从数据呈现在第一区域,即,将主数据的标识与从数据的标识同时呈现在第一区域。Similar to the determining tail data described above, the second area of the management interface presents an identifier of a plurality of candidate metadata, and the processor determines from the plurality of candidate metadata when the detecting device detects the user's operation. From the metadata of the data, and associating the selected slave data with the master data, and presenting the determined slave data in the first region, that is, presenting the identity of the master data and the identifier of the slave data simultaneously in the first region.
例如,该第三用户操作可以为点击操作,系统在检测到用户的点击操作后,将被点击的备选元数据确定为主数据的从数据。For example, the third user operation may be a click operation, and after detecting the click operation of the user, the system determines the clicked candidate metadata as the slave data of the main data.
或者,该第三用户操作为鼠标的拖拽操作,该拖拽操作用于指示将某一个或某几个备选元数据拖拽至管理界面的第一区域,例如,该第一区域中呈现该主数据的标识的区域附近,从而能够基于该第三用户操作指定主数据与从数据(即,拖拽对象)的映射关系。系统检测到拖拽操作后,将被拖拽的一个或多个备选元数据确定为主数据的从数据。 Alternatively, the third user operation is a drag operation of the mouse, and the drag operation is used to indicate that one or some candidate metadata is dragged to the first area of the management interface, for example, the first area is presented. The vicinity of the identified area of the primary data enables the mapping of the primary data to the secondary data (i.e., the dragged object) based on the third user operation. After the system detects the drag operation, the one or more candidate metadata to be dragged is determined as the slave data of the main data.
可选地,该基于第二用户操作,从该多个元数据中确定至少一个尾数据,包括:Optionally, the determining, according to the second user operation, the at least one tail data from the plurality of metadata, including:
基于第二用户操作,从该多个备选元数据中确定该尾数据,并在该第一区域中呈现该尾数据的标识。The tail data is determined from the plurality of candidate metadata based on the second user operation, and the identification of the tail data is presented in the first region.
可以理解的是,从多个备选元数据中确定从数据和尾数据时,当确定的尾数据为确定的从数据的下一层级的数据时,可以同时确定从数据与尾数据。It can be understood that when the slave data and the tail data are determined from the plurality of candidate metadata, when the determined tail data is the data of the next level of the determined slave data, the slave data and the tail data can be simultaneously determined.
例如,用户在管理界面上通过拖拽的方式,可以将从数据和尾数据同时拖拽至管理界面的第一区域。系统检测该拖拽后,在第一区域同时呈现主数据、从数据和尾数据。For example, the user can drag and drop data and tail data to the first area of the management interface by dragging and dropping on the management interface. After the system detects the drag, the main data, the slave data and the tail data are simultaneously presented in the first area.
240、记录所述主数据和所述尾数据之间的映射关系。240. Record a mapping relationship between the primary data and the tail data.
在上述步骤230中,处理器确定了主数据和尾数据,即,建立了主数据与尾数据之间的映射关系。处理器记录该映射关系到存储器,以便于在接收到数据请求时,根据该映射关系返回数据请求的结果。In the above step 230, the processor determines the main data and the tail data, that is, establishes a mapping relationship between the main data and the tail data. The processor records the mapping relationship to the memory to facilitate returning the result of the data request based on the mapping relationship upon receipt of the data request.
250、在接收到携带有所述主数据的指示信息的数据请求时,根据所述主数据和所述映射关系,确定所述尾数据。250. When receiving a data request carrying the indication information of the primary data, determining the tail data according to the primary data and the mapping relationship.
计算机系统的接收器在接收到携带主数据的指示信息的数据请求时,处理器根据主数据的指示信息确定目标主数据。再结合记录的主数据与尾数据的映射关系,返回该目标主数据的尾数据。When the receiver of the computer system receives the data request carrying the indication information of the main data, the processor determines the target main data according to the indication information of the main data. Combined with the mapping relationship between the recorded main data and the tail data, the tail data of the target main data is returned.
应理解,数据请求中一定携带了主数据的指示信息,这样,处理器根据该指示信息才能从存储的多个主数据中确定此次数据请求所请求的主数据(为了便于说明,称为目标主数据)。进而根据该主数据和记录(或者说,存储)的映射关系确定目标主数据的尾数据。It should be understood that the data request must carry the indication information of the main data, so that the processor can determine the main data requested by the data request from the stored plurality of main data according to the indication information (for convenience of explanation, it is called a target). main data). Further, the tail data of the target main data is determined according to the mapping relationship between the main data and the record (or storage).
可选地,该数据请求中还携带从数据的指示信息。Optionally, the data request further carries indication information of the slave data.
在此种情况下,处理器接收到携带主数据的指示信息和从数据的指示信息的数据请求,处理器根据主数据和第一映射关系,确定从数据。在根据从数据和第二映射关系,确定尾数据。In this case, the processor receives the indication information carrying the main data and the data request from the indication information of the data, and the processor determines the slave data according to the main data and the first mapping relationship. The tail data is determined based on the slave data and the second mapping relationship.
本发明实施例提供的管理数据的方法,显示器通过呈现管理界面,让用户直观地自定义系统的元数据和元数据之间的映射关系,使数据之间的映射关系可视化,提高了系统管理数据的可操纵性。According to the method for managing data provided by the embodiment of the present invention, the display allows the user to intuitively customize the mapping relationship between the metadata and the metadata of the system through the presentation management interface, thereby visualizing the mapping relationship between the data, and improving the system management data. Maneuverability.
具体地说,主数据与尾数据之间的映射关系,可以通过在主数据与尾数 据之间确定一个或多个从数据来确定。即,首先生成主数据与从数据之间的映射关系(为了便于说明,记作第一映射关系),再生成从数据与尾数据之间的映射关系(为了便于说明,记作第二映射关系)。Specifically, the mapping relationship between the main data and the tail data can be passed through the main data and the mantissa. Determine between one or more data from the data. That is, first, a mapping relationship between the main data and the slave data is generated (referred to as a first mapping relationship for convenience of explanation), and a mapping relationship between the data and the tail data is generated (for convenience of explanation, the second mapping relationship is recorded) ).
相对应地,计算机系统的接收器在接收到携带有主数据的指示信息的数据请求时,可以根据该主数据的指示信息和第一映射关系,确定从数据。再根据确定的从数据和第二映射关系,确定尾数据。Correspondingly, when receiving the data request carrying the indication information of the main data, the receiver of the computer system may determine the slave data according to the indication information of the main data and the first mapping relationship. The tail data is determined according to the determined slave data and the second mapping relationship.
可选地,该主数据为至少两个,且至少两个主数据属于N个数据结构,N≥2,以及,Optionally, the primary data is at least two, and at least two primary data belong to N data structures, N≥2, and,
呈现管理界面,包括:Presentation management interface, including:
根据该数据结构的数量N,确定N个页面,其中,该N个数据结构与该N个页面一一对应,每个页面用于呈现所对应的数据结构中的主数据的标识;Determining N pages according to the number N of the data structures, wherein the N data structures are in one-to-one correspondence with the N pages, and each page is used to present an identifier of the main data in the corresponding data structure;
在该第一区域呈现该N个页面的页面标签,在该第一区域呈现该N个页面中的至少一个页面。A page label of the N pages is presented in the first area, and at least one of the N pages is presented in the first area.
在本发明实施例中,主数据可以为多个。当主数据为多个时,根据该多个主数据所属于的数据结构的个数N,在管理界面上,呈现N个页面。即,有多少个数据结构,呈现多少个页面。In the embodiment of the present invention, the main data may be multiple. When there are a plurality of pieces of main data, N pages are presented on the management interface according to the number N of data structures to which the plurality of main data belong. That is, how many data structures there are and how many pages are presented.
同时,在管理界面的第一区域呈现N个页签,每个页签对应一个页面。在第一区域呈现该N个页面时,可以仅呈现N个页面中的一个。再通过检测用户点击页签的操作,呈现与用户通过点击选择的页签对应的页面。At the same time, N tabs are presented in the first area of the management interface, and each tab corresponds to one page. When the N pages are presented in the first area, only one of the N pages may be presented. Then, by detecting the operation of the user clicking the tab, the page corresponding to the tab selected by the user by clicking is presented.
或者,第一区域也可以同时呈现该N个页面。例如,在第一区域中并列地同时显示该N个页面。这种呈现方式使得系统的多种业务逻辑一目了然,并且在每个页面中直观地显示了主数据、从数据与尾数据之间的映射关系。或者,该N个页面可以重叠地显示,系统在检测到用户点击页签的操作时,将用户选择的页签对应的页面呈现在最上层。本发明实施例对于页面的呈现形式不作任何限定,可以根据不同的应用场景而有所不同。Alternatively, the first area may also present the N pages simultaneously. For example, the N pages are simultaneously displayed side by side in the first area. This kind of presentation makes the system's various business logics clear at a glance, and visually displays the mapping relationship between the main data and the slave data and the tail data in each page. Alternatively, the N pages may be displayed in an overlapping manner, and when detecting the operation of the user clicking the tab, the system displays the page corresponding to the tab selected by the user at the top layer. The embodiment of the present invention does not limit the presentation form of the page, and may be different according to different application scenarios.
可选地,在该第一区域呈现该N个页面中的至少一个页面,包括:Optionally, presenting at least one of the N pages in the first area, including:
根据该至少两个主数据中每个主数据的数据属性信息,从该至少两个主数据中确定至少一个第一主数据,其中,该第一主数据的数据属性信息满足预设条件;Determining, according to the data attribute information of each of the at least two main data, the at least one first main data from the at least two main data, wherein the data attribute information of the first main data satisfies a preset condition;
在该第一区域呈现该N个页面中的至少一个主页面,该主页面是用于呈 现该第一主数据的页面。Presenting at least one of the N pages in the first area, the main page is for presenting Now the page of the first master data.
在本发明实施例中,系统可以根据多个主数据的数据属性信息,从该多个主数据中选择一个或多个第一主数据,并将第一区域中呈现的N个页面中呈现该第一主数据的标识的页面确定为主页面。In the embodiment of the present invention, the system may select one or more first main data from the plurality of main data according to the data attribute information of the plurality of main data, and present the N pages in the first area. The page of the identification of the first master data is determined to be the main page.
需要说明的是,上述第一主数据的数据属性信息满足预设条件,是指系统根据用户操作,将用户自定义的用于创建主要业务逻辑的元数据确定为第一主数据。It should be noted that, the data attribute information of the first primary data meets the preset condition, that is, the system determines, according to the user operation, the user-defined metadata for creating the primary service logic as the first primary data.
在本发明实施例中,用户可以根据业务需要,定义一个或多个业务逻辑。In the embodiment of the present invention, a user may define one or more business logics according to business needs.
图4示出了本发明实施例的用户自定义元数据和业务逻辑的示意图。如图4中所示,用户定义了两个业务逻辑,业务逻辑一为岗位能力模型,其中,在业务逻辑一中,用户自定义的主数据为岗位,从数据有两个,分别为能力和技能,尾数据为知识点。在业务逻辑二中,用户自定义的主数据为年度战略,从数据为工作目标,尾数据为工作任务。FIG. 4 shows a schematic diagram of user-defined metadata and business logic in an embodiment of the present invention. As shown in Figure 4, the user defines two business logics. The business logic is a post capability model. In the business logic 1, the user-defined master data is a post, and the slave data has two, respectively, the capability and Skills, tail data is a knowledge point. In Business Logic 2, user-defined master data is an annual strategy, with data from being the work target and tail data being the work task.
需要说明的是,在用户自定义了多个业务逻辑时,可以选择其中的一个作为主要业务逻辑,其余的作为非主要业务逻辑。It should be noted that when the user customizes multiple business logics, one of them may be selected as the main business logic, and the rest as the non-primary business logic.
可以理解的是,通过用户自定义元数据和元数据的业务逻辑的方式,让用户直接参与底层数据的构建,可以提升人力资源管理系统配置的灵活性,解决了现有系统中易用性差的问题。It can be understood that the user can directly participate in the construction of the underlying data by means of user-defined metadata and metadata business logic, which can improve the flexibility of the configuration of the human resource management system and solve the problem of poor usability in the existing system. problem.
图5是根据本发明实施例的管理界面的示意图。如图5所示,在本发明实施例中,管理界面包括第一区域和第二。其中,第一区域用于呈现主数据的标识,第二区域用于显示备选元数据的标识。在管理界面的左上角,显示有页签。页签中显示用户自定义的业务逻辑。如前文所述,如果用户定义的业务逻辑为多个时,相对应地,页签也为多个,每个页签对应一个业务逻辑。在图5所示的管理界面中,页签为两个。并且,主要业务逻辑在管理界面直接显示,非主要业务逻辑以页签的形式展示。FIG. 5 is a schematic diagram of a management interface according to an embodiment of the present invention. As shown in FIG. 5, in the embodiment of the present invention, the management interface includes a first area and a second. The first area is used to present an identifier of the primary data, and the second area is used to display an identifier of the candidate metadata. In the upper left corner of the management interface, a tab is displayed. The user-defined business logic is displayed in the tab. As described above, if there are multiple user-defined business logics, correspondingly, there are multiple tabs, and each tab corresponds to one business logic. In the management interface shown in Figure 5, the tabs are two. Moreover, the main business logic is directly displayed on the management interface, and the non-primary business logic is displayed in the form of a tab.
在本发明实施例中,处理器在获取到多个元数据后,向用户呈现图4所示的管理界面。针对具体的业务需求,用户可以在该管理界面上,配置元数据之间的映射关系(或者说,数据的逻辑)。其中,在一个映射关系中,至少应该包括主数据和尾数据。其中,主数据为一个,尾数据可以为一个或多个。可选地,一个映射关系中还可以包括一个或多个从数据。从数据用于衔接主数据和尾数据。 In the embodiment of the present invention, after acquiring a plurality of metadata, the processor presents the management interface shown in FIG. 4 to the user. For specific business needs, the user can configure the mapping relationship between the metadata (or the logic of the data) on the management interface. Among them, in a mapping relationship, at least the main data and the tail data should be included. Among them, the main data is one, and the tail data can be one or more. Optionally, one or more slave data may also be included in one mapping relationship. The slave data is used to interface the master data with the tail data.
以下,结合图5和图6,举例说明用户在管理界面上配置元数据之间的映射关系的过程。Hereinafter, a process in which a user configures a mapping relationship between metadata on a management interface is exemplified in conjunction with FIG. 5 and FIG. 6.
以用户对图5中所示的元数据岗位A进行配置为例,用户可以通过鼠标拖拽的方式,将第二区域的从数据和尾数据关联到岗位A(即,主数据)。假设,用户认为某一企业的岗位A的工作人员需要具备技能A、能力B、知识点A和知识点B。那么,用户首先在第二区域中点击“技能”的页签,系统检测到用户的该点击操作,管理界面的第二区域中显示多个页签“技能”对应的多个备选元数据。用户从中找到“技能A”,直接将“技能A”通过鼠标拖拽至第一区域,完成对岗位A与技能A之间映射关系的配置。此时,系统将“技能A”作为“岗位A”的尾数据,在第一区域呈现该尾数据“技能A”的标识。其后,用户在第二区域点击“能力”的页签,与前文所述,系统响应于该点击操作,在第二区域中呈现显示多个“能力”的元数据。用户可以直接将备选的元数据“能力B”拖拽至第一区域,系统检测到该拖拽操作,将元数据“能力B”的标识呈现在第一区域。For example, the user configures the metadata post A shown in FIG. 5, and the user can associate the slave data and the tail data of the second region to the post A (ie, the main data) by dragging and dropping the mouse. Assume that the user believes that the staff of position A of a certain enterprise needs to have skill A, ability B, knowledge point A and knowledge point B. Then, the user first clicks the tab of the "skill" in the second area, the system detects the click operation of the user, and displays a plurality of candidate metadata corresponding to the plurality of tabs "skills" in the second area of the management interface. The user finds "skill A" and directly drags "skill A" to the first area by mouse, completing the configuration of the mapping relationship between the post A and the skill A. At this time, the system uses "skill A" as the tail data of "post A", and presents the identifier of the tail data "skill A" in the first area. Thereafter, the user clicks the tab of "Capability" in the second area. As described above, the system presents metadata showing a plurality of "capabilities" in the second area in response to the click operation. The user can directly drag the alternative metadata "Capability B" to the first area, and the system detects the drag operation and presents the identifier of the metadata "Capability B" in the first area.
可以理解的是,如果元数据“能力B”又包括3种子能力,即,“子能力1”、“子能力2”和“子能力3”。在上述用户将“能力B”从第二区域拖拽至第一区域时,“子能力1”、“子能力2”和“子能力3”也与“岗位A”形成映射关系。系统将“子能力1”、“子能力2”和“子能力3”的标识呈现在第一区域中。如果用户认为“子能力2”需要掌握“技能1”、“技能2”和“技能3”,可以将“技能1”、“技能2”和“技能3”从第二区域拖拽至第一区域,与“子能力2”关联。同理,用户认为,“技能2”需要通过学习“知识点1”和“知识点2”获得,那么,用户可以点击第二区域“知识点”的页签,将“知识点1”和“知识点2”从第二区域拖拽至第一区域,并与“技能2”关联。最后,用户直接将“知识点A”和“知识点B”从第二区域“知识点”的页签对应的页面中拖拽至第一区域,与“岗位A”进行关联。至此,用户完成了对于主数据“岗位A”的映射关系的配置。系统在第一区域中呈现该映射关系,参见图6。It can be understood that if the metadata "Capability B" includes 3 seed capabilities, that is, "Sub-Capabilities 1", "Sub-Capabilities 2", and "Sub-Capabilities 3". When the user drags "capability B" from the second area to the first area, "sub-capability 1", "sub-capability 2", and "sub-capacity 3" also form a mapping relationship with "post A". The system presents the identifiers of "sub-capabilities 1", "sub-capabilities 2", and "sub-capabilities 3" in the first region. If the user thinks that "sub-ability 2" needs to master "skill 1", "skill 2" and "skill 3", you can drag "skill 1", "skill 2" and "skill 3" from the second area to the first The area is associated with "sub-capability 2". Similarly, the user believes that "skill 2" needs to be obtained by learning "knowledge point 1" and "knowledge point 2", then the user can click on the tab of the second area "knowledge point", and "knowledge point 1" and " Knowledge Point 2" is dragged from the second area to the first area and associated with "Skill 2". Finally, the user directly drags "Knowledge Point A" and "Knowledge Point B" from the page corresponding to the tab of the second area "Knowledge Point" to the first area, and associates with "Post A". So far, the user has completed the configuration of the mapping relationship for the main data "Post A". The system presents the mapping in the first region, see Figure 6.
应理解,上述所述的用户配置元数据之间映射关系的顺序仅作为示例说明,在本发明实施例中,对于配置的顺序,不作特别限定。It should be understood that the order of the mapping relationship between the user configuration metadata described above is only illustrated as an example. In the embodiment of the present invention, the order of the configuration is not particularly limited.
应理解,图5中所示的“岗位族”和“能力族”各为本发明实施例中数据结构的一例。 It should be understood that the "post family" and the "capability family" shown in FIG. 5 are each an example of a data structure in the embodiment of the present invention.
处理器通过检测用户在管理界面上的拖拽操作,确定主数据、从数据和尾数据,并生成该主数据、从数据和尾数据之间的映射关系,并记录该映射关系。The processor determines the main data, the slave data, and the tail data by detecting a drag operation of the user on the management interface, and generates a mapping relationship between the master data, the slave data, and the tail data, and records the mapping relationship.
图6示出了根据本发明实施例的管理数据的方法的交互设计的又一例。如图6所示,管理界面的第一区域当前呈现的是“能力岗位模型”页签对应的页面。管理界面的第二区域当前呈现的是“能力”页签对应的页面。在第一区域中所示的映射关系中,“岗位A”为主数据,尾数据为“技能A”、“知识点A”、“知识点B”、“知识点1”和“知识点2”。从数据为“能力B”、“子能力1”、“子能力2”、“子能力3”、“技能1”、“技能2”和“技能3”。在该页面中,数据结构为“岗位族”。更进一步地,在第一区域所示的映射关系中,“技能A”、能力B”、“知识点A”和“知识点B”位于主数据“岗位A”的第一层级,“子能力1”、“子能力2”、“子能力3”位于第二层级,“技能1”、“技能2”和“技能3”位于第三层级,“知识点1”和“知识点2”位于第四层级,也为最末层级。FIG. 6 illustrates still another example of interaction design of a method of managing data in accordance with an embodiment of the present invention. As shown in FIG. 6, the first area of the management interface currently presents a page corresponding to the "Capability Position Model" tab. The second area of the management interface currently presents the page corresponding to the "Capabilities" tab. In the mapping relationship shown in the first area, "post A" is the main data, and the tail data is "skill A", "knowledge point A", "knowledge point B", "knowledge point 1", and "knowledge point 2" ". The slave data is "Capability B", "Sub-Capabilities 1", "Sub-Capabilities 2", "Sub-Capabilities 3", "Skill 1", "Skill 2", and "Skill 3". In this page, the data structure is "post family". Further, in the mapping relationship shown in the first region, "skill A", capability B", "knowledge point A", and "knowledge point B" are located at the first level of the main data "post A", "sub-capabilities" 1", "Sub-Capabilities 2", "Sub-Capabilities 3" are located at the second level, "Skill 1", "Skill 2" and "Skill 3" are located at the third level, "Knowledge Point 1" and "Knowledge Point 2" are located The fourth level is also the last level.
为了合理利用管理界面,并体现相同数据与不同数据的区别,管理界面中清楚地显示出元数据的层级。一个元数据的多个层级的展开方式如图5中管理界面的第一区域所示。并且,处于同一层级的元数据的标识的缩进量相同。In order to make rational use of the management interface and to reflect the difference between the same data and different data, the level of metadata is clearly displayed in the management interface. The expansion of multiple levels of a metadata is illustrated in the first area of the management interface in Figure 5. Also, the indentation of the metadata of the same level is the same.
需要说明的是,在本发明实施例中,不同类型的元数据(例如,技能A、能力B、知识点A和知识点B)在关联同一个元数据之后,显示在同一个层级,并且,缩进量保持一致。可参见图5。It should be noted that, in the embodiment of the present invention, different types of metadata (for example, skill A, capability B, knowledge point A, and knowledge point B) are displayed at the same level after being associated with the same metadata, and The amount of indentation remains the same. See Figure 5.
还需要说明的是,在第一区域的右上角显示有“√”图标。在本发明实施例中,点击该“√”图标之后,会触发如下效果:It should also be noted that a "√" icon is displayed in the upper right corner of the first area. In the embodiment of the present invention, after clicking the “√” icon, the following effects are triggered:
所有第一区域的数据后面都有一个“√”选项,用于选择该数据,选择主数据后,所有与该主数据关联的数据都被选中;All the data of the first area is followed by a "√" option for selecting the data. After selecting the main data, all the data associated with the main data is selected;
第一区域右上角的“√”图标旁边显示下拉列表,用于对选中的元数据执行相应的操作处理。例如,操作1为导出学习计划。A drop-down list is displayed next to the "√" icon in the upper right corner of the first area, and is used to perform corresponding operation processing on the selected metadata. For example, operation 1 is to derive a learning plan.
需要说明的是,上文所述的“√”图标仅作为一种示例,显然,该图标也可以设计为其它任何形状,但都应落入本发明实施例的保护范围。It should be noted that the “√” icon described above is only an example, and it is obvious that the icon can also be designed in any other shape, but should fall within the protection scope of the embodiment of the present invention.
图7是根据本发明实施例的管理数据的方法的交互设计的又一例。如图7所示,在管理界面上,主要涉及对元数据的以下几种操作: 7 is still another example of interaction design of a method of managing data in accordance with an embodiment of the present invention. As shown in Figure 7, on the management interface, the following mainly involves the following operations on metadata:
展开或收起:在本发明实施例中,每个元数据前端的“+”用于展开一个元数据,“-”用于收起一个元数据。Expanding or stowing: In the embodiment of the present invention, "+" of each metadata front end is used to expand one metadata, and "-" is used to collapse one metadata.
显示概要信息:如果,用户是在个人计算机操作,鼠标滑过一个元数据时,停留一段时间,可以显示该元数据的概要信息。Display summary information: If the user is operating on a personal computer and the mouse slides over a piece of metadata, it stays for a while and can display summary information of the metadata.
需要说明的是,在该操作中,这里仅显示元数据的必填字段。It should be noted that in this operation, only the required fields of the metadata are displayed here.
另外,手机或平板电脑上不涉及这部分操作。但是,在手机或平板电脑上,可以通过按压的方式显示元数据的概要信息。In addition, this part of the operation is not involved on the phone or tablet. However, on a mobile phone or tablet, the summary information of the metadata can be displayed by pressing.
单击:单击一个元数据后,在该元数据后方显示多个操作选项。以图6为例,单击元数据“技能A”,显示三个操作选项,分别为“编辑”、“删除”和“增加”。分别用于用户选择对该元数据进行编辑、删除的操作处理。Click: After clicking a metadata, multiple action options are displayed after the metadata. Taking Figure 6 as an example, click on the metadata "skill A" to display three operation options, namely "edit", "delete" and "add". It is used for the user to select the operation processing for editing and deleting the metadata.
对于单击元数据的操作,在手机和平板电脑上也可以进行。The operation of clicking on metadata can also be done on mobile phones and tablets.
双击:双击一个元数据后,在当前的页面上弹出一个层,呈现编辑窗口。同时,编辑窗口后面的页面增加透明灰色蒙版,以突出弹出的层。其中,在该编辑窗口的右上角显示有关闭按钮。参见图8。Double-click: After double-clicking on a metadata, a layer pops up on the current page to render the edit window. At the same time, the page behind the edit window adds a transparent gray mask to highlight the layer that pops up. Among them, a close button is displayed in the upper right corner of the edit window. See Figure 8.
图8示出了本发明实施例的管理数据的方法的交互设计的又一例。如图8所示,在本发明实施例中,编辑窗口可以在浏览器的一个页签中打开,这样可以避免用户在做元数据映射关系配置时多个页签之间频繁切换导致的输入效率低下的问题,可以提高用户进行数据配置的效率。FIG. 8 shows still another example of the interaction design of the method of managing data according to an embodiment of the present invention. As shown in FIG. 8 , in the embodiment of the present invention, the editing window can be opened in a tab of the browser, so as to avoid input efficiency caused by frequent switching between multiple tabs when the user performs the metadata mapping relationship configuration. Low problems can improve the efficiency of data configuration for users.
图9是根据本发明实施例的管理数据的方法的示意性系统架构图。如图9所示,在该系统中主要包括以下几个部分:9 is a schematic system architecture diagram of a method of managing data in accordance with an embodiment of the present invention. As shown in Figure 9, the system mainly includes the following parts:
接入设备:用户可以选用个人计算机、笔记本、平板电脑或手机等电子设备接入系统。Access device: Users can access the system using electronic devices such as personal computers, laptops, tablets or mobile phones.
云服务端:分为数据逻辑和数据库两部分。数据逻辑用于处理用户的元数据请求,并识别元数据之间的关联。数据库用于存储用户在配置过程中产生的数据。Cloud server: divided into two parts: data logic and database. Data logic is used to process user metadata requests and to identify associations between metadata. The database is used to store data generated by the user during the configuration process.
服务器硬件:可以采用通用的服务器硬件,包括不限于x86服务器、Unix服务器,也可以使用虚拟机。存储可以使用服务器自带的存储或通用的磁盘阵列。网络设备可以使用通用的以太网交换机或虚拟网络交换机。Server hardware: Universal server hardware can be used, including not limited to x86 servers, Unix servers, or virtual machines. Storage can use the server's own storage or a generic disk array. Network devices can use a common Ethernet switch or virtual network switch.
其中,对于不同的接入设备,接入系统的方法并不完全相同。个人计算机是通过浏览器接入超文本标记语言(Hypertext Markup Language,HTML)页面,HTML页面通过封装好的网络接口(Web Interface)接入系统。平板 电脑和手机是通过原生应用接入,原生应用通过封装好的软件开发工具包(Software Development Kit,SDK)接入系统。The methods for accessing the system are not identical for different access devices. The personal computer accesses the Hypertext Markup Language (HTML) page through a browser, and the HTML page is accessed through the encapsulated Web Interface. Flat plate Computers and mobile phones are accessed through native applications, and native applications are accessed through a packaged Software Development Kit (SDK).
在本发明实施例中,上述各个设备之间的通信可以通过现有技术实现,此处不作赘述。In the embodiment of the present invention, the communication between the foregoing devices may be implemented by using the prior art, and details are not described herein.
为了便于理解本发明实施例的管理数据的方法,以下结合图10进行举例说明。In order to facilitate the understanding of the method for managing data in the embodiment of the present invention, an example will be described below with reference to FIG.
图10为根据本发明实施例的管理数据的方法的一个举例。如图10所示,在该实施例中,以制定解决方案开发经理的学习计划为例。根据本发明实施例的管理数据的方法,用户首先需要根据业务需要,定义多个元数据,并定义该多个元数据的关联关系。FIG. 10 is an example of a method of managing data according to an embodiment of the present invention. As shown in FIG. 10, in this embodiment, a learning plan of a solution development manager is taken as an example. According to the method for managing data according to an embodiment of the present invention, a user first needs to define a plurality of metadata according to a service requirement, and define an association relationship of the plurality of metadata.
首先,用户定义多个元数据分别为岗位、能力、技能和知识点。其中,用户将岗位定义为主数据,将能力和技能定义为从数据,将知识点定义为尾数据。First, the user defines multiple metadata for positions, abilities, skills, and knowledge points. Among them, the user defines the position as the main data, defines the ability and skill as the slave data, and defines the knowledge point as the tail data.
解决方案开发经理有三个能力,分别是解决方案开发能力、项目管理能力和沟通能力。详细展开解决方案开发能力,包括有三个技能,分别是LEVEL1的使用商业画布的技能、LEVEL 2的使用CHARTER模板的技能和LEVEL3的使用MKT工具的技能。将LEVEL 1的使用商业画笔技能展开,其中包括两个知识点,分别是什么是商业画布(即,商业画布介绍)和如何使用商业画布。The solution development manager has three capabilities, namely solution development capabilities, project management capabilities, and communication capabilities. Detailed development of solution development capabilities, including three skills, LEVEL1's skills to use commercial canvas, LEVEL 2's skills to use CHARTER templates and LEVEL3's skills to use MKT tools. The LEVEL 1 uses the commercial brush skills to expand, which includes two knowledge points, namely what is a commercial canvas (ie, a commercial canvas introduction) and how to use a commercial canvas.
定义完元数据和业务逻辑之后,可以通过图5至图8的用户交互方式来进行元数据之间映射关系的配置。After the metadata and the business logic are defined, the mapping relationship between the metadata can be configured through the user interaction modes of FIG. 5 to FIG. 8.
本发明实施例的管理数据的方法,能够让用户通过选择主数据和尾数据,以及指定所述主数据与所述尾数据之间的映射关系,从而让用户能够根据自己的需求调整数据之间的逻辑关系。The method for managing data in the embodiment of the present invention enables a user to select a primary data and a tail data, and specify a mapping relationship between the primary data and the tail data, thereby allowing the user to adjust data between the data according to his own needs. Logical relationship.
以上结合图2至图10详细说明了根据本发明实施例的管理数据的方法,以下结合图11和图12,说明根据本发明实施例的管理数据的装置和设备。The method for managing data according to an embodiment of the present invention is described in detail above with reference to FIGS. 2 through 10. Referring to FIG. 11 and FIG. 12, an apparatus and apparatus for managing data according to an embodiment of the present invention will be described.
图11示出了根据本发明实施例的管理数据的装置的示意性框图。如图11所示,该装置包括:FIG. 11 shows a schematic block diagram of an apparatus for managing data according to an embodiment of the present invention. As shown in Figure 11, the device includes:
获取单元510,用于获取多个元数据;The obtaining unit 510 is configured to acquire a plurality of metadata.
处理单元520,用于在检测单元530检测到第一用户操作时,从该多个元数据中确定至少一个主数据; The processing unit 520 is configured to determine at least one main data from the plurality of metadata when the detecting unit 530 detects the first user operation;
该处理单元520还用于,在该检测单元530检测到第二用户操作时,从该多个元数据中确定至少一个尾数据,并指定该至少一个尾数据与该至少一个主数据之间的映射关系;The processing unit 520 is further configured to: when the detecting unit 530 detects the second user operation, determine at least one tail data from the plurality of metadata, and specify between the at least one tail data and the at least one main data Mapping relations;
该处理单元520还用于,在接收单元540接收到该主数据的指示信息的数据请求时,根据该主数据和该映射关系,确定该尾数据。The processing unit 520 is further configured to: when the receiving unit 540 receives the data request of the indication information of the primary data, determine the tail data according to the primary data and the mapping relationship.
根据本发明实施例的管理数据的装置500中的各单元和上述其它操作或功能分别为了实现方法200中的相应流程。为了简洁,此处不再赘述。The units in the apparatus 500 for managing data and the other operations or functions described above in accordance with an embodiment of the present invention are respectively implemented to implement respective processes in the method 200. For the sake of brevity, it will not be repeated here.
本发明实施例的管理数据的方法,能够让用户通过选择主数据和尾数据,以及指定所述主数据与所述尾数据之间的映射关系,从而让用户能够根据自己的需求调整数据之间的逻辑关系。The method for managing data in the embodiment of the present invention enables a user to select a primary data and a tail data, and specify a mapping relationship between the primary data and the tail data, thereby allowing the user to adjust data between the data according to his own needs. Logical relationship.
图12是根据本发明实施例的管理数据的设备700的示意性结构图。如图12所示,该设备700包括:处理器710、显示器720、存储器730和收发器740,其中,处理器710、显示器720、存储器730和收发器740通过总线系统750相连,该存储器730用于存储指令,该处理器710用于执行该存储器730存储的指令,以控制收发器740发送或接收信号。其中,FIG. 12 is a schematic structural diagram of an apparatus 700 for managing data according to an embodiment of the present invention. As shown in FIG. 12, the device 700 includes a processor 710, a display 720, a memory 730, and a transceiver 740, wherein the processor 710, the display 720, the memory 730, and the transceiver 740 are connected by a bus system 750, which is used by the memory 730. For storing instructions, the processor 710 is configured to execute instructions stored by the memory 730 to control the transceiver 740 to transmit or receive signals. among them,
收发器740,用于获取多个元数据;The transceiver 740 is configured to acquire multiple metadata.
处理器710,用于在检测到第一用户操作时,从该多个元数据中确定至少一个主数据;The processor 710 is configured to determine at least one main data from the plurality of metadata when the first user operation is detected;
该处理器710还用于,在检测到第二用户操作时,从所述多个元数据中确定至少一个尾数据,并指定该至少一个尾数据与该至少一个主数据之间的映射关系;The processor 710 is further configured to: when detecting the second user operation, determine at least one tail data from the plurality of metadata, and specify a mapping relationship between the at least one tail data and the at least one main data;
该处理器710,还用于在收发器740接收到携带该主数据的指示信息的数据请求时,根据所述主数据和所述映射关系,确定所述尾数据。The processor 710 is further configured to determine the tail data according to the primary data and the mapping relationship when the transceiver 740 receives the data request carrying the indication information of the primary data.
应理解,在本发明实施例中,该处理器710可以是中央处理单元(central processing unit,简称为“CPU”),该处理器710还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that, in the embodiment of the present invention, the processor 710 may be a central processing unit ("CPU"), and the processor 710 may also be other general-purpose processors, digital signal processors (DSPs). , an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, and the like. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
该存储器730可以包括只读存储器和随机存取存储器,并向处理器710提供指令和数据。存储器730的一部分还可以包括非易失性随机存取存储器。例如,存储器730还可以存储设备类型的信息。 The memory 730 can include read only memory and random access memory and provides instructions and data to the processor 710. A portion of the memory 730 may also include a non-volatile random access memory. For example, the memory 730 can also store information of the device type.
该总线系统740除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线系统740。The bus system 740 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as bus system 740 in the figure.
在实现过程中,上述方法的各步骤可以通过处理器710中的硬件的集成逻辑电路或者软件形式的指令完成。结合本发明实施例所公开的管理数据的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器730,处理器710读取存储器730中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。In the implementation process, each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 710 or an instruction in a form of software. The steps of the method for managing data disclosed in the embodiments of the present invention may be directly implemented as hardware processor execution completion, or performed by a combination of hardware and software modules in the processor. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in memory 730, and processor 710 reads the information in memory 730 and, in conjunction with its hardware, performs the steps of the above method. To avoid repetition, it will not be described in detail here.
根据本发明实施例的管理数据的设备700中的各单元和上述其它操作或功能分别为了方法200中的相应流程。为了简洁,此处不再赘述。The units in the device 700 for managing data and the other operations or functions described above are respectively for the respective processes in the method 200, in accordance with an embodiment of the present invention. For the sake of brevity, it will not be repeated here.
因此,根据本发明实施例的管理数据的设备,能够让用户通过选择主数据和尾数据,以及指定所述主数据与所述尾数据之间的映射关系,从而让用户能够根据自己的需求调整数据之间的逻辑关系。Therefore, the device for managing data according to the embodiment of the present invention enables the user to adjust the mapping relationship between the main data and the tail data by selecting main data and tail data, thereby allowing the user to adjust according to his own needs. The logical relationship between the data.
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" herein is merely an association relationship describing an associated object, indicating that there may be three relationships, for example, A and/or B, which may indicate that A exists separately, and A and B exist simultaneously. There are three cases of B alone. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
应理解,在本发明的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present invention, the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention. The implementation process constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和 方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and The method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims (20)

  1. 一种管理数据的方法,其特征在于:A method of managing data, characterized by:
    获取多个元数据;Get multiple metadata;
    基于第一用户操作,从所述多个元数据中确定至少一个主数据;Determining at least one master data from the plurality of metadata based on a first user operation;
    基于第二用户操作,从所述多个元数据中确定至少一个尾数据,并指定所述至少一个尾数据与所述至少一个主数据之间的映射关系;Determining at least one tail data from the plurality of metadata based on a second user operation, and designating a mapping relationship between the at least one tail data and the at least one master data;
    记录所述主数据与所述尾数据之间的映射关系;Recording a mapping relationship between the main data and the tail data;
    在接收到携带有所述主数据的指示信息的数据请求时,根据所述主数据和所述映射关系,确定所述尾数据。When receiving the data request carrying the indication information of the main data, determining the tail data according to the main data and the mapping relationship.
  2. 根据权利要求1所述的方法,其特征在于,在基于所述第二用户操作,从所述多个元数据中确定至少一个尾数据之前,所述方法还包括:The method of claim 1, wherein the method further comprises: before determining at least one tail data from the plurality of metadata based on the second user operation, the method further comprising:
    呈现管理界面,所述管理界面包括第一区域和第二区域,所述第一区域中呈现所述至少一个主数据的标识,所述第二区域中呈现所述多个元数据中的多个备选元数据的标识;以及Presenting a management interface, where the management interface includes a first area and a second area, wherein the first area presents an identifier of the at least one primary data, and the second area presents a plurality of the plurality of metadata The identification of the alternative metadata;
    所述基于第二用户操作,从所述多个元数据中确定至少一个尾数据,包括:Determining at least one tail data from the plurality of metadata based on the second user operation, including:
    基于第二用户操作,从所述多个备选元数据中确定所述至少一个尾数据,并在所述第一区域中呈现所述至少一个尾数据的标识。Determining the at least one tail data from the plurality of candidate metadata based on a second user operation and presenting the identification of the at least one tail data in the first region.
  3. 根据权利要求2所述的方法,其特征在于,所述第二用户操作包括将所述至少一个尾数据的标识从所述第二区域拖拽至所述第一区域。The method of claim 2 wherein said second user operation comprises dragging an identification of said at least one tail data from said second region to said first region.
  4. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    基于第三用户操作,从所述多个元数据中确定至少一个从数据,并指定所述至少一个从数据与所述至少一个主数据之间的第一映射关系;Determining at least one slave data from the plurality of metadata based on a third user operation, and designating a first mapping relationship between the at least one slave data and the at least one master data;
    所述基于第二用户操作,从所述多个元数据中确定至少一个尾数据,包括:Determining at least one tail data from the plurality of metadata based on the second user operation, including:
    基于第二用户操作,从所述多个元数据中确定至少一个尾数据,并指定所述至少一个尾数据与所述至少一个从数据之间的第二映射关系;Determining at least one tail data from the plurality of metadata based on a second user operation, and designating a second mapping relationship between the at least one tail data and the at least one slave data;
    所述记录所述主数据与所述尾数据之间的映射关系,包括:Recording a mapping relationship between the primary data and the tail data, including:
    记录所述主数据与所述从数据之间的第一映射关系,并记录所述从数据与所述尾数据之间的第二映射关系;Recording a first mapping relationship between the primary data and the secondary data, and recording a second mapping relationship between the secondary data and the tail data;
    所述在接收到携带有所述主数据的指示信息的数据请求时,根据所述主 数据和所述映射关系,确定所述尾数据,包括:When receiving the data request carrying the indication information of the main data, according to the main Data and the mapping relationship, determining the tail data, including:
    在接收到携带有所述主数据的指示信息和所述从数据的指示信息的数据请求时,根据所述主数据、所述从数据、所述第一映射关系和所述第二映射关系,确定所述尾数据。When receiving the data request carrying the indication information of the main data and the indication information of the slave data, according to the main data, the slave data, the first mapping relationship, and the second mapping relationship, Determine the tail data.
  5. 根据权利要求4所述的方法,其特征在于,在基于第三用户操作,从所述多个元数据中确定至少一个从数据之前,所述方法还包括:The method according to claim 4, wherein the method further comprises: before determining the at least one slave data from the plurality of metadata based on the third user operation, the method further comprising:
    呈现管理界面,所述管理界面包括第一区域和第二区域,所述第一区域中呈现所述至少一个主数据的标识,所述第二区域中呈现所述多个元数据中的多个备选元数据的标识;以及Presenting a management interface, where the management interface includes a first area and a second area, wherein the first area presents an identifier of the at least one primary data, and the second area presents a plurality of the plurality of metadata The identification of the alternative metadata;
    所述基于所述第三用户操作,从所述多个元数据中确定至少一个从数据,包括:Determining at least one slave data from the plurality of metadata based on the third user operation, including:
    基于第三用户操作,从所述多个备选元数据中确定所述至少一个从数据,并在所述第一区域中呈现所述至少一个从数据的标识。The at least one slave data is determined from the plurality of candidate metadata based on a third user operation, and an identification of the at least one slave data is presented in the first region.
  6. 根据权利要求5所述的方法,其特征在于,基于第二用户操作,从所述多个元数据中确定至少一个尾数据,包括:The method according to claim 5, wherein determining at least one tail data from the plurality of metadata based on the second user operation comprises:
    基于第二用户操作,从所述多个备选元数据中确定所述至少一个尾数据,并在所述第一区域中呈现所述至少一个尾数据的标识。Determining the at least one tail data from the plurality of candidate metadata based on a second user operation and presenting the identification of the at least one tail data in the first region.
  7. 根据权利要求5或6所述的方法,其特征在于,所述第二用户操作包括将所述尾数据的标识从所述第二区域拖拽至所述第一区域,并将所述尾数据的标识关联到至少一个所述从数据标识,以指定所述至少一个尾数据与至少一个所述从数据之间的映射关系。A method according to claim 5 or claim 6, wherein said second user operation comprises dragging an identification of said tail data from said second area to said first area and said tail data The identifier is associated with at least one of the slave data identifiers to specify a mapping relationship between the at least one tail data and the at least one of the slave data.
  8. 根据权利要求5至7中任一项所述的方法,其特征在于,所述第三用户操作包括将所述从数据的标识从所述第二区域拖拽至所述第一区域,并将所述从数据的标识关联到至少一个所述主数据的标识,以指定所述至少一个从数据与至少一个所述主数据之间的映射关系。The method according to any one of claims 5 to 7, wherein the third user operation comprises dragging the identification of the slave data from the second area to the first area, and The identifier of the slave data is associated with an identifier of the at least one of the master data to specify a mapping relationship between the at least one slave data and at least one of the master data.
  9. 根据权利要求1至8中任一项所述的方法,其特征在于,所述主数据为至少两个,且所述至少两个主数据属于N个数据结构,N≥2,以及The method according to any one of claims 1 to 8, wherein the main data is at least two, and the at least two main data belong to N data structures, N≥2, and
    所述呈现管理界面,包括:The presentation management interface includes:
    根据所述数据结构的数量N,确定N个页面,其中,所述N个数据结构与所述N个页面一一对应,每个页面用于呈现所对应的数据结构中的主数据的标识; Determining N pages according to the number N of the data structures, where the N data structures are in one-to-one correspondence with the N pages, and each page is used to present an identifier of the main data in the corresponding data structure;
    在所述第一区域呈现所述N个页面的页面标签,在所述第一区域呈现所述N个页面中的至少一个页面。Presenting a page label of the N pages in the first area, and presenting at least one of the N pages in the first area.
  10. 根据权利要求9所述的方法,其特征在于,在所述第一区域呈现所述N页面中的至少一个页面,包括:The method according to claim 9, wherein the presenting at least one of the N pages in the first area comprises:
    根据所述至少两个主数据中每个主数据的数据属性信息,从所述至少两个主数据中确定至少一个第一主数据,其中,所述第一主数据的数据属性信息满足预设条件;Determining at least one first primary data from the at least two primary data according to data attribute information of each of the at least two primary data, wherein the data attribute information of the first primary data meets a preset condition;
    在所述第一区域呈现所述N个页面中的至少一个主页面,所述主页面是用于呈现所述第一主数据的页面。Presenting at least one of the N pages in the first area, the main page being a page for presenting the first main data.
  11. 一种管理数据的装置,其特征在于,该装置包括:An apparatus for managing data, the apparatus comprising:
    获取单元,用于获取多个元数据;An obtaining unit for acquiring a plurality of metadata;
    当检测单元检测到第一用户操作时,处理单元用于从所述多个元数据中确定至少一个主数据;When the detecting unit detects the first user operation, the processing unit is configured to determine at least one main data from the plurality of metadata;
    当所述检测单元检测到第二用户操作时,所述处理单元用于从所述多个元数据中确定至少一个尾数据,并指定所述至少一个尾数据与所述至少一个主数据之间的映射关系;And when the detecting unit detects the second user operation, the processing unit is configured to determine at least one tail data from the plurality of metadata, and specify between the at least one tail data and the at least one main data Mapping relationship;
    所述处理单元还用于记录所述主数据与所述尾数据之间的映射关系;The processing unit is further configured to record a mapping relationship between the main data and the tail data;
    当接收单元接收到携带所述主数据的指示信息的数据请求时,所述处理单元根据所述主数据和所述映射关系,确定所述尾数据。When the receiving unit receives the data request carrying the indication information of the main data, the processing unit determines the tail data according to the main data and the mapping relationship.
  12. 根据权利要求11所述的装置,其特征在于,所述装置还包括:The device according to claim 11, wherein the device further comprises:
    显示单元,用于在所述处理单元从所述多个元数据中确定至少一个尾数据之前,呈现管理界面,所述管理界面包括第一区域和第二区域,所述第一区域中呈现所述至少一个主数据的标识,所述第二区域中呈现所述多个元数据中的多个备选元数据的标识;以及a display unit, configured to: before the processing unit determines at least one tail data from the plurality of metadata, present a management interface, where the management interface includes a first area and a second area, where the first area is presented An identifier of the at least one primary data, the identifier of the plurality of candidate metadata in the plurality of metadata being presented in the second region;
    所述处理单元具体用于基于所述第二用户操作,从所述多个备选元数据中确定所述至少一个尾数据,并在所述第一区域中呈现所述尾数据的标识。The processing unit is specifically configured to determine the at least one tail data from the plurality of candidate metadata based on the second user operation, and present an identifier of the tail data in the first area.
  13. 根据权利要求12所述的装置,其特征在于,所述第二用户操作包括将所述至少一个尾数据的标识从所述第二区域拖拽至所述第一区域。The apparatus of claim 12 wherein said second user operation comprises dragging an identification of said at least one tail data from said second area to said first area.
  14. 根据权利要求11所述的装置,其特征在于,所述处理单元具体用于:The device according to claim 11, wherein the processing unit is specifically configured to:
    基于第三用户操作,从所述多个元数据中确定至少一个从数据,并指定 所述至少一个从数据与所述至少一个主数据之间的第一映射关系;Determining at least one slave data from the plurality of metadata based on a third user operation, and specifying a first mapping relationship between the at least one slave data and the at least one master data;
    基于第二用户操作,从所述多个元数据中确定至少一个尾数据,并指定所述至少一个尾数据与所述至少一个从数据之间的第二映射关系;Determining at least one tail data from the plurality of metadata based on a second user operation, and designating a second mapping relationship between the at least one tail data and the at least one slave data;
    记录所述主数据与所述从数据之间的第一映射关系,并记录所述从数据与所述尾数据之间的第二映射关系;Recording a first mapping relationship between the primary data and the secondary data, and recording a second mapping relationship between the secondary data and the tail data;
    所述处理单元还用于当所述接收单元在接收到携带有所述主数据的指示信息和所述从数据的指示信息的数据请求时,根据所述主数据、所述从数据、所述第一映射关系和所述第二映射关系,确定所述尾数据。The processing unit is further configured to, when the receiving unit receives the data request carrying the indication information of the main data and the indication information of the slave data, according to the main data, the slave data, the The first mapping relationship and the second mapping relationship determine the tail data.
  15. 根据权利要求14所述的装置,其特征在于,所述装置还包括:The device according to claim 14, wherein the device further comprises:
    显示单元,用于在所述处理单元从所述元数据中确定至少一个从数据之前,呈现管理界面,所述管理界面包括第一区域和第二区域,所述第一区域中呈现所述主数据的标识,所述第二区域中呈现所述多个元数据中的多个备选元数据的标识;a display unit, configured to present a management interface before the processing unit determines at least one slave data from the metadata, where the management interface includes a first area and a second area, where the primary is presented in the first area An identifier of the data, wherein the identifier of the plurality of candidate metadata in the plurality of metadata is presented in the second area;
    所述处理单元具体还用于基于第三用户操作,从所述多个备选元数据中确定所述至少一个从数据,且所述显示单元具体用于在所述第一区域呈现所述至少一个从数据的标识。The processing unit is further configured to determine the at least one slave data from the plurality of candidate metadata based on a third user operation, and the display unit is specifically configured to present the at least the first area An identification from the data.
  16. 根据权利要求15所述的装置,其特征在于,所述处理单元具体用于在所述检测单元检测到所述第二用户操作时,从所述多个备选元数据中确定所述至少一个尾数据,且所述显示单元具体用于在所述第一区域中呈现所述至少一个尾数据的标识。The apparatus according to claim 15, wherein the processing unit is specifically configured to determine the at least one of the plurality of candidate metadata when the detecting unit detects the second user operation Tail data, and the display unit is specifically configured to present an identifier of the at least one tail data in the first area.
  17. 根据权利要求15或16所述的装置,其特征在于,所述第二用户操作包括将所述至少一个尾数据的标识从所述第二区域拖拽至所述第一区域,并将所述至少一个尾数据的标识关联到至少一个所述从数据的标识,以指定所述至少一个尾数据与至少一个所述从数据之间的映射关系。The apparatus according to claim 15 or 16, wherein said second user operation comprises dragging an identification of said at least one tail data from said second area to said first area, and said An identification of the at least one tail data is associated with an identification of the at least one of the slave data to specify a mapping relationship between the at least one tail data and the at least one of the slave data.
  18. 根据权利要求15至17中任一项所述的装置,其特征在于,所述第三用户操作包括将所述从数据的标识从所述第二区域拖拽至所述第一区域,并将所述从数据的标识关联到所述至少一个主数据的标识,以指定所述至少一个从数据与所述至少一个主数据之间的映射关系。The apparatus according to any one of claims 15 to 17, wherein the third user operation comprises dragging the identification of the slave data from the second area to the first area, and The identifier of the slave data is associated with an identifier of the at least one master data to specify a mapping relationship between the at least one slave data and the at least one master data.
  19. 根据权利要求11至18中任一项所述的装置,其特征在于,所述主数据为至少两个,且所述至少两个主数据属于N个数据结构,N≥2,以及The apparatus according to any one of claims 11 to 18, wherein the main data is at least two, and the at least two main data belong to N data structures, N≥2, and
    所述处理单元具体用于根据所述数据结构的数量N,确定N个页面,其 中,所述N个数据结构与所述N个页面一一对应,每个页面用于呈现所对应的数据结构中的主数据的标识;The processing unit is specifically configured to determine N pages according to the number N of the data structures, where The N data structures are in one-to-one correspondence with the N pages, and each page is used to present an identifier of the main data in the corresponding data structure;
    所述显示单元具体用于在所述第一区域呈现所述N个页面的页面标签,在所述第一区域呈现所述N个页面中的至少一个页面。The display unit is specifically configured to present a page label of the N pages in the first area, and present at least one of the N pages in the first area.
  20. 根据权利要求19所述的装置,其特征在于,所述处理单元具体用于根据所述至少两个主数据中每个主数据的数据属性信息,从所述至少两个主数据中确定至少一个第一主数据,其中,所述第一主数据的数据属性信息满足预设条件;The apparatus according to claim 19, wherein the processing unit is configured to determine at least one of the at least two main data according to data attribute information of each of the at least two main data First primary data, wherein the data attribute information of the first primary data meets a preset condition;
    所述显示单元具体用于在所述第一区域呈现所述N个页面中的至少一个主页面,所述主页面是用于呈现所述第一主数据的页面。 The display unit is specifically configured to present at least one of the N pages in the first area, where the main page is a page for presenting the first main data.
PCT/CN2016/088038 2016-06-30 2016-06-30 Method and apparatus for managing data WO2018000395A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/088038 WO2018000395A1 (en) 2016-06-30 2016-06-30 Method and apparatus for managing data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/088038 WO2018000395A1 (en) 2016-06-30 2016-06-30 Method and apparatus for managing data

Publications (1)

Publication Number Publication Date
WO2018000395A1 true WO2018000395A1 (en) 2018-01-04

Family

ID=60785899

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/088038 WO2018000395A1 (en) 2016-06-30 2016-06-30 Method and apparatus for managing data

Country Status (1)

Country Link
WO (1) WO2018000395A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110188146A (en) * 2019-04-26 2019-08-30 上海苏河汇科技服务股份有限公司 It is a kind of to manage the method and devices of data, server
CN114238838A (en) * 2021-12-21 2022-03-25 金蝶医疗软件科技有限公司 Data interaction method and related equipment
CN114298561A (en) * 2021-12-29 2022-04-08 上海赛美特软件科技有限公司 Method and device for generating equipment production conditions, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622436A (en) * 2012-02-29 2012-08-01 浙江吉利汽车研究院有限公司 Data table establishing method of human resource management system
US20120239454A1 (en) * 2006-10-20 2012-09-20 Orbidyne, Inc. System and methods for managing dynamic teams
CN102968698A (en) * 2012-12-07 2013-03-13 深圳市智维通达科技有限公司 Method and system for establishing enterprise employee learning data model
CN104919414A (en) * 2012-11-06 2015-09-16 甲骨文国际公司 Role discovery using privilege cluster analysis

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120239454A1 (en) * 2006-10-20 2012-09-20 Orbidyne, Inc. System and methods for managing dynamic teams
CN102622436A (en) * 2012-02-29 2012-08-01 浙江吉利汽车研究院有限公司 Data table establishing method of human resource management system
CN104919414A (en) * 2012-11-06 2015-09-16 甲骨文国际公司 Role discovery using privilege cluster analysis
CN102968698A (en) * 2012-12-07 2013-03-13 深圳市智维通达科技有限公司 Method and system for establishing enterprise employee learning data model

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110188146A (en) * 2019-04-26 2019-08-30 上海苏河汇科技服务股份有限公司 It is a kind of to manage the method and devices of data, server
CN114238838A (en) * 2021-12-21 2022-03-25 金蝶医疗软件科技有限公司 Data interaction method and related equipment
CN114298561A (en) * 2021-12-29 2022-04-08 上海赛美特软件科技有限公司 Method and device for generating equipment production conditions, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11429270B2 (en) User interface tools for visual exploration of multi-dimensional data
US8051382B1 (en) Displaying rating indications for drop targets in response to user dragging of mobile icon
WO2019153554A1 (en) Data relationship display method and device, computer equipment and storage medium
US12118187B2 (en) Systems and methods for providing tab previews via an operating system user interface
US20130212526A1 (en) Method of providing information regarding application, device for performing the method, and computer readable recording medium having recorded thereon a program for executing the method
WO2019196744A1 (en) Interaction method and apparatus
CN106502760B (en) A kind of virtual machine compatibility strategy visualization method and device
CN110750197A (en) File sharing method, device and system, corresponding equipment and storage medium
JP7433822B2 (en) application builder
US11816769B2 (en) Multi-dimensional data insight interaction
US11860832B2 (en) Custom columns for static logical models
WO2017143996A1 (en) Data presentation method and device
WO2022048329A1 (en) Menu display method and apparatus
JP2019506645A (en) Page construction method, terminal, storage medium, and page construction device
CN112823342A (en) System and method for managing GUI of virtual NVMe entity in NVMe OVER FABRIC device
WO2018000395A1 (en) Method and apparatus for managing data
US9602359B2 (en) Methods, systems, and computer program product for providing graphical cross connectivity and dynamic configurability
TWI744216B (en) Method and device for providing prompt information
CN112579664A (en) Processing method and device for chart linkage
US12131139B2 (en) Unified pipeline flow with common and phase-specific paths
US20130275876A1 (en) Display apparatus, display method, and display program
CN115469852A (en) Chip graphical programming system, system operation method and computer readable medium
KR102075502B1 (en) Contents managing system of tree structure
US20160239164A1 (en) Context-based control of property surfacing
KR101949727B1 (en) System and operating method for generating a link between objects

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: 16906795

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16906795

Country of ref document: EP

Kind code of ref document: A1

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载