CN111930449A - Data management method and server - Google Patents

Data management method and server Download PDF

Info

Publication number
CN111930449A
CN111930449A CN202011040168.7A CN202011040168A CN111930449A CN 111930449 A CN111930449 A CN 111930449A CN 202011040168 A CN202011040168 A CN 202011040168A CN 111930449 A CN111930449 A CN 111930449A
Authority
CN
China
Prior art keywords
data
customization
interface
identifier
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011040168.7A
Other languages
Chinese (zh)
Other versions
CN111930449B (en
Inventor
王亚其
罗伦文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Zhongke Tongda High New Technology Co Ltd
Original Assignee
Wuhan Zhongke Tongda High New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Zhongke Tongda High New Technology Co Ltd filed Critical Wuhan Zhongke Tongda High New Technology Co Ltd
Priority to CN202011040168.7A priority Critical patent/CN111930449B/en
Publication of CN111930449A publication Critical patent/CN111930449A/en
Application granted granted Critical
Publication of CN111930449B publication Critical patent/CN111930449B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Abstract

The application provides a data management method and a server, wherein the data management method comprises the following steps: receiving a data query request sent by data customization equipment, wherein the data query request carries an application identifier and a user identifier; determining candidate data items corresponding to the data query request according to the application identifier and the user identifier; sending the candidate data item to the data customization device; receiving a data customization request generated by data customization equipment based on a first data customization interface, wherein the data customization request carries target data to be customized; generating an interface identifier and an interface address of a data calling interface corresponding to the target data; sending the interface identifier and the interface address to the data customizing device, so that the data customizing device calls the target data based on the interface identifier and the interface address; according to the method and the system, the corresponding target data are dynamically generated according to the query requests of different users, communication with a data center administrator is not needed, and service customization efficiency is improved; and the dynamic calling code is adopted to customize the service, so that the data leakage risk is reduced.

Description

Data management method and server
Technical Field
The present application relates to the field of big data, and in particular, to a data management method and a server.
Background
Currently, each system generally provides data externally in an API (Application Programming Interface) Interface manner, so that potential safety hazards caused by directly exposing a database Interface can be avoided. The first method is that after receiving the requirement of terminal to obtain data, the developer writes code to generate corresponding API interface; the second is that the data center station provides a visual operation interface, and after receiving the requirement of acquiring data by a terminal, a platform administrator can directly operate related functions to generate a corresponding API interface without code development.
Although the two data service modes can both meet the requirement of providing data to the outside on the premise of ensuring the safety of the database, certain defects exist in both the two data service modes. In the first mode, not only the data requirement needs to be communicated with the service system user, but also the code development is carried out, the requirements on the communication capacity and the code compiling capacity of the user are higher, the maintenance cost is relatively higher, and the efficiency is lower; in the second mode, although code development is not required, data requirements need to be communicated with business system users manually, and efficiency is not high.
Therefore, the current data management technology has the technical problems that when a user generates a data service interface, the user needs to communicate with a data center station administrator, the process is complex, and the efficiency of service customization is low.
Disclosure of Invention
The embodiment of the application provides a data management method and a server, which are used for solving the technical problems that in the current data management technology, when a user generates a data service interface, the user needs to communicate with a data center station administrator, the process is complex, and the service customization efficiency is low.
An embodiment of the present application provides a data management method, including:
receiving a data query request sent by data customization equipment, wherein the data query request carries an application identifier and a user identifier, and the data query request is generated when the data customization equipment needs to customize data;
determining candidate data items corresponding to the data query request according to the application identifier and the user identifier;
sending the candidate data item to the data customization equipment so that the data customization equipment displays the candidate data item on a first data customization interface;
receiving a data customization request generated by the data customization equipment based on the first data customization interface, wherein the data customization request carries target data to be customized;
generating an interface identifier and an interface address of a data calling interface corresponding to the target data;
sending the interface identification and the interface address to the data customization equipment so that the data customization equipment calls the target data based on the interface identification and the interface address.
An embodiment of the present application further provides a server, where the server includes: the system comprises a processor, a memory, a bus and a computer program which is stored on the memory and can run on the processor, wherein the processor and the memory are communicated with each other through the bus; the memory and the processor implement the data management method of any one of the above when executing the computer program.
The embodiment of the application provides a data management method and a server, wherein the data management method comprises the following steps: receiving a data query request sent by data customization equipment, wherein the data query request carries an application identifier and a user identifier, and the data query request is generated when the data customization equipment needs to customize data; determining candidate data items corresponding to the data query request according to the application identifier and the user identifier; sending the candidate data item to the data customization equipment so that the data customization equipment displays the candidate data item on a first data customization interface; receiving a data customization request generated by the data customization equipment based on the first data customization interface, wherein the data customization request carries target data to be customized; generating an interface identifier and an interface address of a data calling interface corresponding to the target data; sending the interface identification and the interface address to the data customization equipment so that the data customization equipment calls the target data based on the interface identification and the interface address; the beneficial effects are that: the method and the system can dynamically generate the corresponding target data according to the query requests of different users, do not need to communicate with a data center administrator, and improve the efficiency of service customization; and the service is customized by adopting a dynamic code calling mode, so that the safety of service interface access is ensured, and the risk of data leakage is reduced.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic view of a scenario of a data management system according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of a data management system according to an embodiment of the present application.
Fig. 3 is a schematic flowchart of a data management method according to an embodiment of the present application.
Fig. 4(a) is a schematic diagram of a first data customization interface of the data management system according to the embodiment of the present application.
Fig. 4(b) is a schematic diagram of a second data customization interface of the data management system according to the embodiment of the present application.
Fig. 5 is a schematic view of a data service interface of a data management system according to an embodiment of the present application.
Fig. 6 is a schematic view of a data review interface of the data management system according to the embodiment of the present application.
Fig. 7(a) is a schematic view of a first interface created by an account of a data management system according to an embodiment of the present application.
Fig. 7(b) is a schematic diagram of a second interface created by the account of the data management system according to the embodiment of the present application.
Fig. 8 is a schematic view of an application registration interface of the data management system according to the embodiment of the present application.
Fig. 9 is a schematic flowchart of a process of acquiring a dynamic call code by a data management system according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the embodiment of the application, data management refers to a data warehouse-oriented service system which fully utilizes modern electronic information technologies such as internet of things, cloud computing, artificial intelligence, automatic control, mobile internet and the like in various big data fields; through the service system, a user can define the interface of the data service 14 by user, the process of communicating with a data center station administrator is avoided, the workload of the data center station administrator is reduced, the flow is simplified, the service customization efficiency is improved, and meanwhile, the error probability of the service customization is reduced. The data management method and system are described in detail below with reference to a data center system of a public security department.
Embodiments of the present application provide a data management method and a server, which are described in detail below.
Referring to fig. 1, fig. 1 is a schematic view of a scenario of a data management system according to an embodiment of the present application, where the data management method according to the present application is applied to the data management system, and the system may include a data center station 1 and a data customization device 2, and the data center station 1 and the data customization device 2 may be connected and communicated through an internet formed by various gateways, such as a wide area network and a local area network, which are not described herein again. It can be understood that the data center 1 is a set of sustainable mechanisms for "making the data of the enterprise useful", and a strategic selection and organization form is that a set of mechanisms for continuously changing the data into assets and serving the businesses is constructed through tangible products and implementation methodology support according to the specific business mode and organization architecture of the enterprise. The data center station 1 mainly has 4 core capabilities of data aggregation and integration, data purification and processing, data service 14 visualization and data value change. The data customizing device 2 is a client device which is registered and authorized by the data center 1 system and has operation requirements on data and devices in the system, and specifically may include a client for public security, a client for developers, and the like, and the data customizing device 2 is a device which provides data customizing services for business system users, and may be a device which includes receiving and transmitting hardware, that is, a device which has receiving and transmitting hardware capable of performing two-way communication on a two-way communication link. Such a device may include: the cellular or other communication device, which may have a single line display or a multi-line display or may not have a multi-line display, may specifically be one of a desktop terminal or a mobile terminal, such as a mobile phone, a tablet computer, a notebook computer, etc.
It should be further noted that the scenario diagram of the data management system shown in fig. 1 is only an example, and the data management system and the scenario described in the embodiment of the present invention are for more clearly illustrating the technical solution of the embodiment of the present invention, and do not form a limitation on the technical solution provided in the embodiment of the present invention. The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
Referring to fig. 2 and fig. 3, fig. 2 is a schematic structural diagram of a data management system, and fig. 3 is a schematic flow chart of a data management method. In one embodiment, the present application provides a data management method. The present embodiment is mainly illustrated by applying the method to the data center 1 and the data customizing device 2 in fig. 1. Referring to fig. 3, the data management method specifically includes steps S101 to S106, and specifically includes the following steps:
s101, receiving a data query request sent by a data customization device 2, wherein the data query request carries an application identifier and a user identifier, and the data query request is generated by the data customization device 2 when data customization is needed.
The data query request refers to data of the station 1 customizing service in the historical trigger data collected by the first data customizing interface or the second data customizing interface of the data customizing device 2. It can be understood that the data query request in this embodiment is a request sent to the data center station 1 by the application identifier and the user identifier according to a requirement of the user for customizing data, and the user searches for a related service in the data center station 1 according to the requirement of the user, customizes the service 21, and generates the data service 14 after the data center station 1 is approved for the user to call.
The display area refers to a relatively independent interface sub-area in the display interface.
The first data customization interface and the second data customization interface are operation interfaces which are used for collecting user history in the data customization equipment 2 and triggering the data center station 1 to perform customization service 21, so that candidate data items are generated by using the operation interfaces, and all the candidate data items are displayed for a user.
The user identifier refers to a login account of the user, and the user can customize the service 21 in the data center 1 only by having the login account; the application identifier is a login password matched with the user identifier, and when the user logs in the data center station 1, the application identifier and the user identifier need to be matched for use at the same time to ensure that the user successfully logs in the data center station 1.
Specifically, referring to fig. 4(a), an interface diagram of a first data customization interface for a data management method is shown. And the interface schematic diagrams of different functional controls are filled in different display areas in the first data customization interface. The first data customization interface mainly comprises four areas: a guide mode function area, a first selection function area, a second selection function area and a display function area; the wizard mode function area includes: operable controls and inoperable controls; the operable controls are, for example: the service name and the application name can be searched in the service name by the user according to the service to be inquired, the service to be called can be directly found, the time for searching the service directory is reduced, and the method is convenient and quick; the service names belong to the application names, the user needs to select the application names first and then search the related services in the related application names, and the application names can be understood as the classification of the service names; the inoperable control contains a service address and the like, for example: after the indexes of each level of the services displayed in the display function area are obtained for the first time, when the same service needs to be called again for the next time, a user can directly search and find the related service according to the application name and the service name in the indexes obtained for the first time.
Further, the size of each of the different regions is not limited, nor is it fixed. The user can adjust the size of each area to a certain extent according to the use requirement of the user, but the four area ranges exist all the time.
In an embodiment, in a first data customization interface of the data customization device, a user can see metadata information of all data assets in the data center, the metadata information belongs to different parent directories and different sub-directories respectively, and the user can check corresponding services according to the use requirement of the user to obtain the required customized service 21. The data customization mode is a customization mode of one data service 14 provided by a data center station.
This service customization mode may also be referred to as a wizard mode, specifically, a user selects a data engine- > data link- > database- > data table, then checks a required field according to a related field name, finds data required by the user, and then generates a data service 14, where the data service 14 may be a data service 14 provided with a filtering condition, and the filtering condition may specifically be: deduplication data (i.e., data service 14 after eliminating invalid data); the data customization mode can complete the customization of the data service 14 only by simple check, is convenient and quick, and is more suitable for the customization of the conventional data service 14.
In another embodiment, referring to fig. 4(b), an interface diagram of a second data customization interface for a data management method is shown. The second data customization interface mainly comprises two areas: a basic attribute setting area and a condition calling function area; the basic attribute setting area comprises a plurality of operable controls, the functions of the operable controls in the basic attribute setting area are matched with the functions in the condition calling function area, a user can call SQL sentences in the condition calling function area, and related services are customized through the SQL sentences, the service customization mode is specially provided for professionals, the degree of freedom is high, and the customization requirements of various complex data services 14 can be met.
Similarly, the sizes of the two areas in the second data customization interface are not fixed values, and the user can also adjust the sizes to a certain degree according to the own requirements.
It should be noted that, the user referred to in the embodiment of the present application may be a developer of the data customizing device 2, or may be an insider of the public security system.
S102, determining candidate data items corresponding to the data query request according to the application identification and the user identification.
The application identifiers and the user identifiers are in one-to-one correspondence, and the application identifiers and the user identifiers must be used together, when a user logs in the data center station 1 through the application identifiers and the user identifiers, all candidate data items can be inquired through a data inquiry request, a required service application 22 is sent to the data center station 1 for auditing, and after the administrator of the data center station 1 agrees, a corresponding data service 14 is generated for the user to call.
The candidate data items are all services that can be called in the data center 1, and the user calls the relevant services that need to be used in the data center 1 according to the own requirements to generate the candidate data items.
It should be noted that, a user can only use the user identifier and the application identifier of the user to enter the data center station 1 to customize, add, or delete a service, and can only view the service under the application of the user, in other words, the user can only view the service that can be customized in the data center station 1 and the service that has been customized in the account of the user, and can only perform operations such as adding or deleting the service in the account of the user, and the control of the authority is very important, and the manner of customizing the service 21 can fully control the authority of each user, so that the data and information in the user and the data center station 1 are protected, and data leakage is prevented.
It should be noted that the number of the display areas may be set according to practical application requirements, and the embodiment of the present application only illustrates the processing manner when the number of the display areas is 4, and does not exclude that the number of the display areas is 3 or other embodiments, so the present application does not specifically limit the number of the display areas. Meanwhile, the acquisition mode of the number of the regions can be determined not only by the number of the functional control group, but also by the functional attributes, appearance styles, trigger modes and other factors of the functional controls. Therefore, the present application does not specifically limit the manner in which the number of display areas is acquired.
S103, sending the candidate data item to the data customization equipment, so that the data customization equipment displays the candidate data item on a first data customization interface.
The first data customization interface is different from the second data customization interface mainly in that the first data customization interface obtains service customization directly by checking different services; the second data customization interface acquires service customization by calling SQL statements, and users need to have certain script writing capability, have higher use requirements on the users and are more suitable for the users with higher service requirements; when the user selects to customize the service 21 in a checking mode, displaying the candidate data items in a first data customization interface of the data customization equipment; when the user selects to customize the service 21 by calling the SQL statement, the candidate data items are displayed in the second data customization interface of the data customization device.
The data center station 1 is an important component of a security system, and with the rapid development of computers, networks and big data technologies, the data center station technology has been developed.
Wherein, a control refers to a component (visualization component) with a User Interface (UI), for example, a button, a list box, an edit box, or static text in a dialog box; a functionality control refers to a control having a specified utility.
The data of the station 1 in the history trigger data refers to the frequency number of data query requests received by the station 1 in the data customizing device 2 within a preset time period, for example, the number of data query requests sent by the station 1 in the data customizing device 2 within the last 24 hours is 5.
Similarly, referring to FIG. 5, the data service 14 interface includes two main areas: a basic attribute setting area and a service state area; the basic attribute setting area comprises an inoperable control and at least one operable control, the functions of the operable controls in the basic attribute setting area are matched with the functions in the service state area, and a user can select related services and states thereof in the service state area to obtain services required by the user.
The size of each of the different regions within the data service 14 interface is not limited, nor is it fixed. The user can adjust the size of each area to a certain extent according to the use requirement of the user, but the two area ranges exist all the time.
And S104, receiving a data customization request generated by the data customization equipment 2 based on the first data customization interface, wherein the data customization request carries target data to be customized.
Specifically, the data center station 1 receives a data customization request generated in the first data customization interface in the data customization device 2, wherein the data customization request contains target data to be customized.
It should be noted that the function control may be an independent control, or a function control composed of a plurality of sub-controls, and the number of the function controls of the same type may be determined according to actual application requirements.
And S105, generating an interface identifier and an interface address of the data call interface corresponding to the target data.
Specifically, the data customization device converts the target data into a service application 22, and then sends the target data to the data center station 1 through the service application 22 to be checked 13, that is, the data center station 1 checks 13 the data customization request sent by the data customization device 2, and determines whether the interface identifier and the interface address of the data call interface corresponding to the target data can be generated through the data customization request.
Further, the data customization request sent by the data customization equipment is compared with a data customization request preset by the data center station, and whether the data customization request sent by the data customization equipment is within a data customization request range preset by the data center station is judged.
If the data customization request sent by the data customization equipment is within a data customization request range preset by the data center station, the data center station generates the interface identifier and the interface address of a data calling interface corresponding to the target data after checking 13 is passed;
and if the data customization request sent by the data customization equipment is not in the data customization request range preset by the data console, the data console does not pass the verification 13, and the data console resends the candidate data item to the data customization equipment, so that the data customization equipment displays the candidate data item on a first data customization interface.
The interface identifier is an identifier of the customized service 21, and after the user passes the audit of the data center 1, the user can call the relevant customized service 21 through the interface identifier; the interface address is an address corresponding to the interface identifier, that is, an address of the customized service 21, and when the user calls the customized service 21, the interface identifier and the interface address are matched and are in one-to-one correspondence. For example, a great deal of file information is stored in a folder, if the file information in the folder needs to be acquired, a user needs to know the name of the folder and the storage location of the folder, the interface identifier is the name of the folder, the interface address is the storage address of the file, and when the user inputs the name of the folder and the storage address of the folder at the same time, the file information in the folder can be called successfully.
In an embodiment, the data customization request sent by the data customization device 2 is in a data customization request range preset by the data center station 1, and the data center station 1 generates the interface identifier and the interface address of the data call interface corresponding to the target data for a user to call after the data customization request passes the audit 13;
in another embodiment, the data customization request sent by the data customization device 2 is not within a data customization request range preset by the data console 1, the audit 13 cannot pass, the data console resends the candidate data item to the data customization device, the data customization device resends the data query request, the customization service 21, and returns the data query request to the data console audit 13, so that the data customization device displays the candidate data item on the first data customization interface.
Referring to FIG. 6, the data review 13 interface generally includes two areas: a basic attribute setting area and a service state auditing area; the basic attribute setting area comprises an inoperable control and at least one operable control, the function of the operable control in the basic attribute setting area is matched with the function in the service status area, and a user can check the status of the relevant service customized by the user in the service audit 13 status area, and can customize the service 21 or need to be reset.
The size of each of the different regions within the data review 13 interface is not limited, nor is it fixed. The user can adjust the size of each area to a certain extent according to the use requirement of the user, but the two area ranges exist all the time.
S106, sending the interface identifier and the interface address to the data customization equipment, so that the data customization equipment calls the target data based on the interface identifier and the interface address.
Specifically, the data center station 1 generates the interface identifier and the interface address related to the customizing service 21, and sends the interface identifier and the interface address to the data customizing device 2, and the user can call the customizing service 21 in the data customizing device 2 through the target data carried by the interface identifier and the interface address.
Further, referring to fig. 7(a) and 7(b), the account of the data center station 1 is generated by the data center station 1, the account after successful creation carries an application identifier and a user identifier, the data center station 1 grants the right of the data customizing device 2 to query the related service after registering the account, and the user can enter the data center station 1 through the data customizing device 2 to query and customize the service 21.
Similarly, the two interfaces for creating an account 11 each mainly include two areas, and the first interface for creating an account includes: a basic attribute setting area and a role creating area; the basic property setting area comprises a non-operable control and at least one operable control, the function of the operable control in the basic property setting area is matched with the function in the service state area, and a user can define the role needing to customize the service 21 in the role creating area.
The second create account interface includes: a basic property setting area and an associated information binding area; the basic property setting area comprises an inoperable control and at least one operable control, the function of the operable control in the basic property setting area is matched with the function in the associated information binding area, and a user can bind the associated information of the corresponding role into the account, so that the future calling and inquiring are facilitated.
The size of each of the different regions within the data service 14 interface is not limited, nor is it fixed. The user can adjust the size of each area to a certain extent according to the use requirement of the user, but the two area ranges exist all the time.
Further, referring to fig. 8, a schematic view of an application registration interface of the data management system according to the embodiment of the present application is provided. The step before receiving the data query request sent by the data customizing device further includes: generating a login account of the data customization equipment 2, and acquiring the application identifier and the user identifier; and registering the login account, and granting the data customization equipment the authority to inquire related services, namely application registration 12.
Specifically, the data center station 1 is a non-open service system, in other words, the user needs to customize and invoke the service in the data center station 1, and must have an account authorized by the data center station 1, and the user cannot enter the data center station 1 without the account. Therefore, the data center station 1 needs to own the registered account of the data center station 1 before receiving the data query request sent by the data customizing device.
Further, the application registration 12 is also largely divided into four areas: a user name area, a user identification area, an application identification area, and an authorization administrator area, all of which are operational areas. It will be appreciated that the authorized administrator area is an administrator who agrees to grant the application registry 12 to the logging station 1, and that the logging station 1 includes at least one administrator.
Likewise, the size of each of the different regions is not limited, nor is it fixed. The user can adjust the size of each area to a certain extent according to the use requirement of the user, but the four area ranges exist all the time.
Further, before receiving a data query request sent by the data customizing device 2, where the data query request carries an application identifier and a user identifier, and the data query request is generated by the data customizing device 2 when data needs to be customized, the method further includes: the data center station 1 generates a corresponding dynamic calling code according to the user identifier and the application identifier; or, the data customizing device 2 requests the data console 1 to create the dynamic call code through the user identifier and the application identifier.
Further, before the steps of generating a login account of the data customizing device 2 and acquiring the application identifier and the user identifier, the method further includes: the invocation of all services is monitored with the service monitor 15.
Further, the size of each of the different regions is not limited, nor is it fixed. The user can adjust the size of each area to a certain extent according to the use requirement of the user, but the two area ranges exist all the time.
In an embodiment, in the first data customization interface of the data customization device 2, a user can see metadata information of all data assets in the data center 1, the metadata information belongs to different parent directories and different sub directories respectively, and the user can also check corresponding services according to the use requirement of the user to obtain the required customized service 21. The data customization mode is a customization mode of one data service 14 provided by a data center station.
If the dynamic call code is not registered in the platform, the valid dynamic call code cannot be obtained, and the data service 14 interface cannot be successfully called to obtain data, referring to fig. 9, a flow diagram for obtaining the dynamic call code specifically includes the following steps:
s110, acquiring a dynamic calling code according to the application identifier and the user identifier;
s120, receiving a data calling request, wherein the data calling request carries the dynamic calling code, and the data calling request is generated when the data customizing device needs to customize data;
s130, determining candidate data items corresponding to the data calling request according to the data calling request; s140, sending the candidate data item to the data customization equipment so that the data customization equipment displays the candidate data item on a first data customization interface;
s150, receiving a data customization request generated by the data customization equipment based on the first data customization interface, wherein the data customization request carries target data to be customized;
s160, generating an interface identifier and an interface address of a data calling interface corresponding to the target data;
s170, sending the interface identifier and the interface address to the data customizing device, so that the data customizing device calls the target data based on the interface identifier and the interface address.
Specifically, firstly, an interface of a dynamic calling code is obtained through a user identifier and an application identifier for authentication;
then, refreshing or renewing the dynamic calling code for use;
the dynamic calling code is a calling certificate for calling the authorization relationship interface, and due to the fact that the validity period (currently 2 hours) of the dynamic calling code is short, the dynamic calling code can be refreshed by using an updating instruction after being overtime, and the refreshing result of the dynamic calling code is two types: one is that if the dynamic calling code is overtime, a new dynamic calling code and a new overtime time can be obtained by carrying out an updating instruction; if the dynamic calling code is not overtime, the dynamic calling code is not changed by carrying out the updating instruction, but the overtime time is refreshed, which is equivalent to the time-out dynamic calling code.
The update instruction has a long validity period (30 days) and cannot be renewed, and when the update instruction fails, authentication is needed to continue use.
The authorization credential (dynamic invocation code) is checked for validity.
In one embodiment, the dynamic call code is automatically generated by the data center when the login account is registered; in another embodiment, the dynamic call code is created by the data customizing device, the dynamic call code created by the data customizing device 2 is sent to the data center station 1 by the data customizing device 2 to generate a dynamic call code request, and after the request of the data center station 1 is passed, the data customizing device 2 obtains the dynamic call code.
Further, before receiving a data query request sent by a data customization device, where the data query request carries an application identifier and a user identifier, and the data query request is generated by the data customization device when data customization is needed, the method further includes: the data center station generates a corresponding dynamic calling code according to the user identifier and the application identifier; or, the data customizing device requests the data center station to create the dynamic calling code through the user identifier and the application identifier.
Further, the data customizing device 2 makes a service call 23 to the data service 14 generated by the application identifier and the user identifier or by means of a dynamic call code of the data center station 1, so as to meet the use requirement of the user. An embodiment of the present application further provides a server, where the server includes: the method comprises the following steps: the system comprises a processor, a memory, a bus and a computer program which is stored on the memory and can run on the processor, wherein the processor and the memory are communicated with each other through the bus; the memory processor implements all of the above data management methods when executing the computer program.
By adopting the data management method and the server, firstly, an external business system user can customize the data service 14 in the data center platform, thereby avoiding the complex requirement communication work with a center platform administrator, simplifying the flow, improving the service customization efficiency and reducing the risk of service customization errors; then, a dynamic code calling mode is adopted, so that the safety of service interface access is ensured, and the risk of data leakage is reduced; finally, the external service systems are all registered in the data center, so that the calling condition of the data service 14 can be monitored in more detail, the frequency of which specific service system accesses the data service 14 can be monitored, and corresponding control and optimization are performed in subsequent use.
In an embodiment, the control module may be further configured to obtain a request frequency for service customization in different sub-display areas in each display area; acquiring the request frequency of service customization of each function control in each function control group; determining a sub-display area of each function control in the function control group in the corresponding display area according to the corresponding relation between the request frequency customized by the service and the corresponding service; and correspondingly displaying the function control in the sub-display area.
In the above embodiment, a data management method and a server are provided, and by using the device, a tedious demand communication work with a middle station administrator can be avoided, so that a flow is simplified, and meanwhile, service customization efficiency is improved.
In summary, for specific limitations of the data management system, reference may be made to the above limitations on the data center display method, which is not described herein again. The various modules in the data management system described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, the present application also provides a computer device, which may be a data center station. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a method of monitoring data presentation. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 2 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present application provides a storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to implement the following functions:
receiving a data query request sent by data customization equipment, wherein the data query request carries an application identifier and a user identifier, and the data query request is generated when the data customization equipment needs to customize data;
determining candidate data items corresponding to the data query request according to the application identifier and the user identifier;
sending the candidate data item to the data customization equipment so that the data customization equipment displays the candidate data item on a first data customization interface;
receiving a data customization request generated by the data customization equipment based on the first data customization interface, wherein the data customization request carries target data to be customized;
generating an interface identifier and an interface address of a data calling interface corresponding to the target data;
sending the interface identification and the interface address to the data customization equipment so that the data customization equipment calls the target data based on the interface identification and the interface address.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any method provided in the embodiments of the present application, the beneficial effects that can be achieved by any method provided in the embodiments of the present application can be achieved, for details, see the foregoing embodiments, and are not described herein again.
The data management method and the server provided by the embodiment of the present application are described in detail above, and a specific example is applied in the description to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the technical solution and the core idea of the present application; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.

Claims (10)

1. A method for managing data, comprising:
receiving a data query request sent by data customization equipment, wherein the data query request carries an application identifier and a user identifier, and the data query request is generated when the data customization equipment needs to customize data;
determining candidate data items corresponding to the data query request according to the application identifier and the user identifier;
sending the candidate data item to the data customization equipment so that the data customization equipment displays the candidate data item on a first data customization interface;
receiving a data customization request generated by the data customization equipment based on the first data customization interface, wherein the data customization request carries target data to be customized;
generating an interface identifier and an interface address of a data calling interface corresponding to the target data;
sending the interface identification and the interface address to the data customization equipment so that the data customization equipment calls the target data based on the interface identification and the interface address.
2. The data management method according to claim 1, further comprising, before the step of generating the interface identifier and the interface address of the data call interface corresponding to the target data, the step of:
auditing the data customization request sent by the data customization equipment;
and judging whether the interface identifier and the interface address of the data call interface corresponding to the target data can be generated through the data customization request.
3. The data management method according to claim 2, wherein the step of checking the data customization request sent by the data customization device and determining whether the interface identifier and the interface address of the data call interface corresponding to the target data can be generated by the data customization request includes:
and comparing the data customization request sent by the data customization equipment with a data customization request preset by the data center station, and judging whether the data customization request sent by the data customization equipment is within a data customization request range preset by the data center station.
4. The data management method according to claim 3, wherein the step of checking the data customization request sent by the data customization device and determining whether the interface identifier and the interface address of the data call interface corresponding to the target data can be generated by the data customization request includes:
if the data customization request sent by the data customization equipment is within a data customization request range preset by the data center station, the data center station generates the interface identifier and the interface address of a data calling interface corresponding to the target data after passing the audit;
and if the data customization request sent by the data customization equipment is not in a data customization request range preset by the data center station, the data customization equipment does not pass the verification, and the data center station resends the candidate data item to the data customization equipment so that the data customization equipment displays the candidate data item on a first data customization interface.
5. The data management method according to claim 1, further comprising, before the step of receiving the data query request sent by the data customizing device:
generating a login account of the data customization equipment, and acquiring the application identifier and the user identifier;
and registering the login account, and granting the data customization equipment the authority to inquire related services.
6. The data management method according to claim 5, wherein the step of registering the login account and granting the data customization device the right to query for the related service comprises:
acquiring a dynamic calling code corresponding to the data customization equipment according to the application identifier and the user identifier;
generating the interface identifier and the interface address of a data calling interface corresponding to the target data according to a data calling request sent by the dynamic calling code;
sending the interface identification and the interface address to the data customization equipment so that the data customization equipment calls the target data based on the interface identification and the interface address.
7. The data management method according to claim 6, wherein before receiving a data query request sent by a data customization device, where the data query request carries an application identifier and a user identifier, and the data query request is generated by the data customization device when data customization is needed, the method further comprises:
the data center station generates a corresponding dynamic calling code according to the user identifier and the application identifier;
or, the data customizing device requests the data center station to create the dynamic calling code through the user identifier and the application identifier.
8. The data management method according to claim 5, before the steps of generating a login account of the data customization device and acquiring the application identifier and the user identifier, further comprising:
and monitoring the calling condition of all data by adopting service monitoring.
9. The data management method of claim 1, further comprising:
calling SQL statements on a second data customization interface;
receiving a data customization request generated by the data customization equipment based on the second data customization interface, wherein the data customization request carries target data to be customized;
generating the interface identifier and the interface address of a data calling interface corresponding to the target data;
sending the interface identification and the interface address to the data customization equipment so that the data customization equipment calls the target data based on the interface identification and the interface address.
10. A server, characterized in that the server comprises: the system comprises a processor, a memory, a bus and a computer program which is stored on the memory and can run on the processor, wherein the processor and the memory are communicated with each other through the bus; the memory, the processor implementing the data management method of any one of claims 1-9 when executing the computer program.
CN202011040168.7A 2020-09-28 2020-09-28 Data management method and server Active CN111930449B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011040168.7A CN111930449B (en) 2020-09-28 2020-09-28 Data management method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011040168.7A CN111930449B (en) 2020-09-28 2020-09-28 Data management method and server

Publications (2)

Publication Number Publication Date
CN111930449A true CN111930449A (en) 2020-11-13
CN111930449B CN111930449B (en) 2021-01-12

Family

ID=73334603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011040168.7A Active CN111930449B (en) 2020-09-28 2020-09-28 Data management method and server

Country Status (1)

Country Link
CN (1) CN111930449B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114679446A (en) * 2022-03-28 2022-06-28 阿里云计算有限公司 Data processing method, system and data processing equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107679071A (en) * 2017-08-22 2018-02-09 中国科学院计算机网络信息中心 A kind of generic data service of facing relation database customizes method for packing
CN109698842A (en) * 2017-10-20 2019-04-30 阿里巴巴集团控股有限公司 It is a kind of that the method and apparatus of data service are provided
US10275489B1 (en) * 2016-03-30 2019-04-30 Amazon Technologies, Inc. Binary encoding-based optimizations at datastore accelerators
US10360067B1 (en) * 2017-03-28 2019-07-23 Amazon Technologies, Inc. Dynamic function calls in an on-demand network code execution system
CN110929109A (en) * 2019-10-30 2020-03-27 中盈优创资讯科技有限公司 Data query method and device for data center station
CN110968603A (en) * 2019-11-29 2020-04-07 中国银行股份有限公司 Data access method and device
CN111181943A (en) * 2019-12-24 2020-05-19 平安医疗健康管理股份有限公司 Service interaction method and device based on service middlebox, computer equipment and computer storage medium
CN111461847A (en) * 2020-05-18 2020-07-28 中建材信息技术股份有限公司 Method for solving SAP universal service customization

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10275489B1 (en) * 2016-03-30 2019-04-30 Amazon Technologies, Inc. Binary encoding-based optimizations at datastore accelerators
US10360067B1 (en) * 2017-03-28 2019-07-23 Amazon Technologies, Inc. Dynamic function calls in an on-demand network code execution system
CN107679071A (en) * 2017-08-22 2018-02-09 中国科学院计算机网络信息中心 A kind of generic data service of facing relation database customizes method for packing
CN109698842A (en) * 2017-10-20 2019-04-30 阿里巴巴集团控股有限公司 It is a kind of that the method and apparatus of data service are provided
CN110929109A (en) * 2019-10-30 2020-03-27 中盈优创资讯科技有限公司 Data query method and device for data center station
CN110968603A (en) * 2019-11-29 2020-04-07 中国银行股份有限公司 Data access method and device
CN111181943A (en) * 2019-12-24 2020-05-19 平安医疗健康管理股份有限公司 Service interaction method and device based on service middlebox, computer equipment and computer storage medium
CN111461847A (en) * 2020-05-18 2020-07-28 中建材信息技术股份有限公司 Method for solving SAP universal service customization

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SFG CONTRIBUTOR : "Spring Data JPA @Query", 《HTTPS://SPRINGFRAMEWORK.GURU/SPRING-DATA-JPA-QUERY/》 *
乔文娟: "数据服务平台的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114679446A (en) * 2022-03-28 2022-06-28 阿里云计算有限公司 Data processing method, system and data processing equipment

Also Published As

Publication number Publication date
CN111930449B (en) 2021-01-12

Similar Documents

Publication Publication Date Title
KR102117727B1 (en) Security and data isolation for tenants in a business data system
US9886675B2 (en) User support experience with automatically generated virtual environment
US11086692B2 (en) Multiplatform management system and method for mobile devices
US20120089974A1 (en) User terminal device and service providing method thereof
CN110298189B (en) Database authority management method and device
EP3889971A1 (en) Online diagnosis platform, permission management method and permission management system for online diagnosis platform
AU2016100635A4 (en) Software creation system
CN109587233A (en) Cloudy Container Management method, equipment and computer readable storage medium
US9158932B2 (en) Modeled authorization check implemented with UI framework
US20200233907A1 (en) Location-based file recommendations for managed devices
US20230328114A1 (en) Security zone policy enforcement in a cloud infrastructure system
CN113761552A (en) Access control method, device, system, server and storage medium
CN111586177B (en) Cluster session loss prevention method and system
CN111930449B (en) Data management method and server
US10250586B2 (en) Security certification and application categorization for mobile device management
US11907396B2 (en) Using policies to comply with a request from a person for data that pertains to a person
CN116720206A (en) Authority management method and device, electronic equipment and storage medium
US11757976B2 (en) Unified application management for heterogeneous application delivery
CN113031928B (en) Web system generation method and device, electronic equipment and computer readable storage medium
US20180069859A1 (en) Mobile terminal and control method thereof
US10805182B2 (en) Provisioner disaster-recovery framework for platform-as-a-service offering
KR20180060360A (en) Method and Apparatus of providing user-defined UI in administrative management program provided in cloud computing
US11968212B2 (en) Systems and methods for memory tracing in asset managing systems
Sekar et al. Avoidance of security breach through selective permissions in android operating system
CN117093215A (en) Page generation method, device, equipment and storage medium

Legal Events

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