CN113343150A - Data processing method and device, electronic equipment and storage medium - Google Patents

Data processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113343150A
CN113343150A CN202110705340.4A CN202110705340A CN113343150A CN 113343150 A CN113343150 A CN 113343150A CN 202110705340 A CN202110705340 A CN 202110705340A CN 113343150 A CN113343150 A CN 113343150A
Authority
CN
China
Prior art keywords
access
request
page content
static
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110705340.4A
Other languages
Chinese (zh)
Inventor
马位涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN202110705340.4A priority Critical patent/CN113343150A/en
Publication of CN113343150A publication Critical patent/CN113343150A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Storage Device Security (AREA)

Abstract

The invention relates to the data processing field, and provides a data processing method, firstly, the page content of the application front end is deployed on a static server through a deployment script, then a preset uniform request address is opened on the static server, the static resource in the page content is connected with the application back end based on the preset maintenance qualification through the uniform request address, namely, the front end code of all services is deployed on one server, the front end technical personnel and the back end technical personnel are decoupled, the correlation of the front end technical personnel and the back end technical personnel is reduced, the development efficiency is improved, the later maintenance is convenient, the page style is uniform, the uniform request address is provided, the login address is unique, the user can enter different service system menus according to the self authority only by logging in the front end page, and only the related user can load the data corresponding to the qualification, so the data management can be centralized, and the safety of the whole data processing and management is improved.

Description

Data processing method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of data processing, and in particular, to a data processing method and apparatus, an electronic device, and a computer-readable storage medium.
Background
With the rapid development of social economy and the overall progress of science and technology, the requirements of people on life quality and working environment are higher and higher, and the computer technology and the network technology increasingly permeate the aspects of life, work and entertainment of people, in order to improve the security of confidential documents, the documents related to privacy are managed in an overall mode by adopting a traditional manual management mode or a front-end and back-end unified computer management mode all the time, but the traditional manual management mode has low efficiency and the front-end and back-end unified computer management has high complexity;
particularly, as the kind of insurance itself is complicated, and the storage period of insurance data is long, in order to ensure the security, the traditional insurance company respectively maintains front-end pages for underwriting, wind control, accounting, finance, security deposit, document and other business systems, the back-end codes and the front-end codes are deployed in one application package of one server, the front-end codes and the back-end codes are coupled, and developers are coupled, so that the requirement on the overall consistency of developers is high, and the page styles of the underwriting, wind control, accounting, finance, security deposit, document and other business systems are not uniform, and the business personnel need to log in different websites to realize centralized management.
Therefore, a data processing method that decouples front-end codes and technical staff and improves management security and simplicity is needed.
Disclosure of Invention
The invention provides a data processing method, a data processing device, electronic equipment and a computer readable storage medium, and mainly aims to solve the problems that each service system such as insurance acceptance, wind control, accounting, finance, security, document and the like of a traditional insurance company respectively maintains a front-end page, a back-end code and a front-end code deploy complicated services in one application package of one server, the front-end code and the back-end code are coupled and coupled with developers, the development efficiency is low, the page styles of each system are not uniform, the service personnel need to log in different websites, the login authentication, roles and menu authorities cannot realize centralized management, the management period is long, and the management risk is high.
In order to achieve the above object, the present invention provides a data processing method, including:
deploying the page content of the application front end on a static server through a deployment script; wherein the page content includes at least static resources;
opening a preset unified request address on the static server;
enabling static resources in the page content to be connected with an application rear end based on a preset maintenance qualification through the uniform request address;
and calling management data at the application back end based on the maintenance qualification, and loading the management data into the page content of the front end.
Optionally, the deploying the page content of the application front-end on the static server by the deployment script includes:
selecting static resources in the page content of the application front end according to the selection instruction;
and the static resources correspond to the background micro-services one by one to form a background micro-service group, and the static resources are deployed in a static server through a preset deployment script, so that when the static resources are clicked, the static server sends an access request triggered by the static resources to the background micro-services.
Optionally, the opening a preset unified request address on the static server includes:
creating a request window in the page content of the front end;
giving a request link adaptive to the static server to the request window;
and performing module division operation on the request window based on the request link to form an ID column and a password column so as to form a unified request address.
Optionally, the connecting, by the unified request address, the static resource in the page content to the application backend based on the preset maintenance qualification includes:
determining maintenance qualification according to user responsibility through a safety instruction; wherein the maintenance qualifications include a document maintenance qualification and a security maintenance qualification;
matching the maintenance qualification with the ID of the user based on an authentication algorithm, so that the user only has the right to adapt to the maintenance qualification;
and entering the uniform request address through the ID of the user to acquire page content, and connecting the background micro-service according to the static resource in the page content, so that the background micro-service forwards the access request triggered by the static resource to the application back end adapted to the maintenance qualification.
Optionally, the invoking management data at the application backend based on the maintenance qualification and loading the management data into the page content of the front end includes:
extracting access information adapted to the maintenance qualification from the access request based on the maintenance qualification; wherein the access information is stored in a public cache database;
distributing the access request to a secondary response corresponding to the access request through a preset distribution plug-in the application back end, so that the secondary response calls the access information in the public cache database according to a token command carried in the access request;
judging whether the access request is overtime according to the access information, and if not, calling management data in the secondary response according to the access content of the access request;
and displaying a third-level button in the page content of the front end based on the access address in the access request, and loading the management data into the page content of the front end through the third-level button for a user to use.
Optionally, the distributing, by a preset distribution plug-in the application backend, the access request to a secondary response corresponding to the access request includes:
analyzing and reading the access request to obtain an access entry of the access request;
traversing a preset entry dictionary related to the secondary response to judge whether the access entry belongs to an entry related to a document management department or an entry related to an escort management department;
if the access entry belongs to an entry related to a document management place, distributing the access request to the document management place; and if the access entry belongs to an entry related to an escort management department, distributing the access request to the escort management department.
Optionally, the determining whether the access request is overtime according to the access information includes:
extracting access initiation time from the access information;
acquiring the time difference between the current time and the initiation time;
if the time difference is larger than a preset access time threshold value, the access is overtime; and if the time difference is smaller than or equal to the access time threshold, the access is not overtime.
In order to solve the above problem, the present invention also provides a data management apparatus, comprising:
the page deployment unit is used for deploying the page content of the application front end on the static server through the deployment script; wherein the page content includes at least static resources;
the unified request unit is used for opening a preset unified request address on the static server;
the qualification access unit is used for enabling the static resources in the page content to be connected with the application back end based on the preset maintenance qualification through the uniform request address;
and the data management unit is used for calling management data at the application back end based on the maintenance qualification and loading the management data into the page content of the front end.
In order to solve the above problem, the present invention also provides an electronic device, including:
a memory storing at least one instruction; and
and the processor executes the instructions stored in the memory to realize the steps of the data processing method.
In order to solve the above problem, the present invention also provides a computer-readable storage medium, which stores at least one instruction, and the at least one instruction is executed by a processor in an electronic device to implement the data processing method.
The embodiment of the invention firstly deploys the page content of the application front end on a static server through a deployment script, opens a preset uniform request address on the static server, enables the static resource in the page content to be connected with the application back end based on the preset maintenance qualification through the uniform request address, namely, the front end codes of all services are deployed on one server, the front end technical personnel and the back end technical personnel are decoupled, the correlation between the front end technical personnel and the back end technical personnel is reduced, the development efficiency is improved, the later maintenance is convenient, all the services are deployed on one server, the page style is uniform, the uniform request address is provided, the login address is unique, a user only needs to log in the front end page to enter different service system menus according to the self authority, and the management data is called at the application back end based on the maintenance and loaded into the page content of the front end, only the users with related qualification can load the data suitable for the qualification, so that the data management can be centralized, and the safety of the whole data processing and management is improved.
Drawings
Fig. 1 is a schematic flow chart of a data processing method according to an embodiment of the present invention;
FIG. 2 is a block diagram of a data processing apparatus according to an embodiment of the present invention;
fig. 3 is a schematic internal structural diagram of an electronic device implementing a data processing method according to an embodiment of the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides a data processing method. Fig. 1 is a schematic flow chart of a data processing method according to an embodiment of the present invention. The method may be performed by an apparatus, which may be implemented by software and/or hardware.
In this embodiment, the data processing method includes:
s1: deploying the page content of the application front end on a static server through a deployment script; wherein the page content comprises at least static resources;
s2: opening a preset unified request address on the static server;
s3: connecting the static resources in the page content to the application back end based on the preset maintenance qualification through the uniform request address;
s4: and calling management data at the application back end based on the maintenance qualification, and loading the management data into the page content of the front end.
It should be noted that, the present application relates to the technical field of artificial intelligence, and mainly deploys the page content of the application front end on a static server, so that business personnel can enter different business system menus according to their own rights by only logging in one front end, and connect the background through a unified request address, so that the front and back end codes and the technical personnel can be performed separately without mutual interference.
In addition, the front end: refers to a user-visible interface, and an application front-end page is a page development of an application, such as contents of special effects, layouts, pictures, videos, audios, and the like on an application (e.g., a web page). The front-end working content is the webpage which can be operated by the browser and is designed by the effect diagram of the art designer, and the back-end working content is matched with the data display, interaction and other visual aspects of the webpage; a rear end: the method is characterized in that the method refers to things which cannot be seen by a user, usually data interaction and website data storage and reading are carried out with a front-end engineer, relatively speaking, the back end relates to more logic codes than the front end, and the back end considers the realization of bottom service logic, the stability and the performance of a platform and the like; static resources: refers to a front fixed page, which contains HTML, CSS, JS, pictures, etc., and can be displayed directly without looking up a database and processing by a program, and if the content is modified, the page must be modified, but the access efficiency is quite high.
In the embodiment shown in fig. 1, in step S1, the deploying script deploys the page content of the application front end on the static server, including:
s11: selecting static resources in the page content of the application front end according to the selection instruction;
s12: and the static resources correspond to the background micro-services one by one to form a background micro-service group, and the static resources are deployed in a static server through a preset deployment script, so that when the static resources are clicked, the static server sends an access request triggered by the static resources to the background micro-services.
Before step S11, an initial static resource is created in the page content of the application front end, where the static resource includes at least a first-level menu and a second-level menu, where the first-level menu is used to trigger an access request, so as to forward the access request to a subsequent application back end through a background micro-service, and the second-level menu is used to perform specific operations in the subsequent application back end, and how to perform the specific operations is not described herein, because the problem to be solved by the present application is not involved.
The selection instruction is an instruction preset in the configuration stage, and is used for selecting a static resource (in this embodiment, a first-level menu) that is needed and can be connected to the background microservice.
Specifically, in this embodiment, taking an insurance company as an example, it is necessary to create an initial static resource, that is, an insurance click menu related to managing insurance data in a page, select a static resource from the page content of an application front end according to a selected instruction, and correspond the static resource to a background micro-service one by one to form a background micro-service group, that is, each level of the insurance menu corresponds to the background micro-server one by one, and deploy the static resource in one static server through a preset deployment script, so that front-end codes of each business system of the insurance company are uniformly deployed on one server, and each business system only needs to pay attention to a background technology, thereby reducing the coupling requirement of developers, improving the development efficiency, and reducing the later maintenance cost.
In the embodiment shown in fig. 1, step S2 is to open a predetermined unified request address on the static server; in step S2, opening a predetermined unified request address on the static server includes:
s21: creating a request window in the page content of the front end;
s22: giving a request link adaptive to the static server to the request window;
s23: performing module-splitting operation on the request window based on the request link to form an ID column and a password column so as to form a unified request address;
in this embodiment, the unified request address may be a key, may also be a key pair, and may even be a single entry channel;
if the same request address is a key, firstly performing ID matching on the key, wherein the key is a multidimensional key, and most of the keys comprise a key lock and decoding; the key lock can correspond to a plurality of IDs, and each ID corresponds to one decoding; when a user applies for an account, an ID is distributed to the user through a key matching principle, the ID name is not particularly limited, in the embodiment, the number of a key lock is used as a first digit, the sequence of the ID in the key lock is used as a middle digit, the rest digits are the ranking of an applicant in the total number of application persons, a password corresponding to the ID is set by the user, the password is converted into a decoding corresponding to the ID during initial setting, and the corresponding relation between the password and the decoding and between the decoding and the ID is stored, so that when the user logs in next time, if the user inputs a correct ID number and a correct password in an ID column and a password column, the static server can be accessed through a unified request address;
if the unified request address is a key pair, the key pair comprises a public key and a private key, the public key and the private key are firstly separated, the public key is stored in the static server, the private key is stored in the request window, and a verification plug-in is set before the public key;
if the unified request address is a single access channel, a loggable IP is preset for the request link, and when a user logs in the request link through a server with the loggable IP, the user can automatically access the static server through the request window.
Therefore, the static server is accessed through the key, the key pair and the single access channel, the deployment script deploys all the page contents of the application front end on the static server, the page styles of the static server are uniform, the login address is unique, and business personnel can access the static server only through logging in the key, the key pair and the single access channel, so that the business personnel can access different business system menus according to the self authority to perform related business operations.
In this embodiment, an insurance company is taken as a specific embodiment, each business system of the insurance company, such as insurance underwriting, wind control, accounting, finance, security, documents and the like, can be uniformly deployed in one static server, and enters the static server through a key, a key pair and a single access channel, so that when a user or a worker of the insurance company performs the businesses of underwriting, wind control, accounting, finance, security, documents and the like, the user or the worker of the insurance company can obtain the authority corresponding to the user or the staff of the insurance company only by logging in the static server through the corresponding password, that is, the user or the staff of the insurance company enters the static resource corresponding to the authority to perform related business operations.
In the embodiment shown in fig. 1, step S3 is to connect the application back end with the static resource in the page content based on the preset maintenance qualification through the unified request address; in step S3, connecting the static resource in the page content to the application backend based on the preset maintenance qualification through the unified request address, including:
s31: determining maintenance qualification according to user responsibility through a safety instruction; wherein the maintenance qualifications include a document maintenance qualification and a security maintenance qualification;
s32: matching the maintenance qualification with the ID of the user based on an authentication algorithm, so that the user only has the right to adapt to the maintenance qualification;
s33: and entering the uniform request address through the ID of the user to acquire page content, and connecting the background micro-service according to the static resource in the page content, so that the background micro-service forwards the access request triggered by the static resource to the application back end adaptive to the maintenance qualification.
The application back end comprises a secondary response, the secondary response comprises a document management part and an escort management part, the document management part only enables users with document maintenance qualification to enter, and the escort management part only enables users with escort maintenance qualification to enter.
Specifically, in this embodiment, the process of determining the maintenance qualification according to the user responsibility through the security instruction is as follows: when a user performs ID registration, connecting a company personnel information intranet of the user to acquire the job information of the user, acquiring the authority of the user according to the job information, and determining the maintenance qualification of the user according to the authority; the job information includes the maintained role, the located organization information, and the like.
Matching the maintenance eligibility with the user's ID, such that the user only has the right to accommodate the maintenance eligibility, comprises: when a user performs ID registration, when a security command acquires the maintenance qualification of the user, and when the user also acquires an ID and sets a password, whether the maintenance qualification acquired by the security command is consistent with the user is judged based on an authentication algorithm, the authentication algorithm can be a question acquisition mode or a bulletin pop-up mode, in one specific embodiment, if the authentication algorithm is the question acquisition mode, at least ten questions about the user' S own job are popped in a request window when the user logs in the ID and the password for the first time, then whether the user has the maintenance qualification is deduced according to the answer condition of the user, if so, the maintenance qualification is bound with the ID, and if not, S31 is returned to ensure that the security command reconfirms the maintenance qualification until the maintenance qualification is affirmed by the authentication algorithm; if the user logs in the ID and the password for the first time in the bulletin popup mode, the bulletin is popped in the request window, the user is enabled to confirm whether the job information acquired by the safety command is accurate in the bulletin, if the job information is accurate, the user passes through the bulletin, if the job information is inaccurate, the user returns the bulletin by clicking, and if the job information returns by clicking, the authentication algorithm automatically exits, so that the safety command in the S31 acquires the job information again until the job information is acquired correctly, if the job information is still inaccurate for three times, the user is allowed to input the job number by himself, so that the safety command calls the job information corresponding to the job number, the maintenance qualification is determined according to the authentication information, and the maintenance qualification is bound with the ID of the user; the mode of the authentication algorithm is not particularly limited, and may be a problem acquisition mode or a bulletin pop-up mode, specifically considering the security of the system, if the security requirement is strict, the problem acquisition mode may be adopted, and if the security requirement is not strict, the bulletin pop-up mode may be adopted;
in the process of accessing the unified request address through the ID of the user to obtain the page content, and connecting the application back end adapted to the maintenance qualification according to the static resource in the page content, the static resource at least includes a primary menu and a secondary menu, the application back end adapted to the maintenance qualification is accessed through the primary menu to send an access request to the application back end, and specific operations, how to operate specifically, are performed in the application back end through the secondary menu, which is not described herein again.
In the embodiment shown in fig. 1, step S4 is to retrieve management data at the application back end based on the maintenance qualification and load the management data into the page content of the front end; based on the maintenance qualification, the management data is called at the application back end, and the management data is loaded into the page content of the front end, including:
s41: extracting access information adapted to the maintenance qualification from the access request based on the maintenance qualification; wherein the access information is stored in a public cache database;
s42: distributing the access request to a secondary response corresponding to the access request through a distribution plug-in preset in the application back end, so that the secondary response calls the access information in the public cache database according to a token command carried in the access request;
s43: judging whether the access request is overtime according to the access information, if not, calling management data in the secondary response according to the access content of the access request;
s44: and displaying a third-level button in the page content of the front end based on the access address in the access request, and loading the management data into the page content of the front end through the third-level button for a user to use.
In step S42, the distributing plugin is preset in advance, specifically, the distributing plugin distributes the access request to the secondary response corresponding to the access request through the distributing plugin preset in the application backend includes:
s42-1: analyzing and reading the access request to obtain an access entry of the access request;
s42-2: traversing a preset entry dictionary related to the secondary response to judge whether the access entry belongs to an entry related to a document management department or an entry related to an escort management department;
s42-3: if the access entry belongs to an entry related to a document management department, distributing the access request to the document management department; if the access entry belongs to an entry related to a deposit management department, the access request is distributed to the deposit management department.
In step S43, the determining whether the access request is time-out according to the access information includes:
s43-1: extracting access initiation time from the access information;
s43-2: acquiring the time difference between the current time and the initiation time;
s43-3: if the time difference is larger than a preset access time threshold value, the access is overtime; if the time difference is smaller than or equal to the access time threshold, the access is not overtime.
In this embodiment, the common cache database may employ a Redis database to increase the overall storage space; the access information comprises the access time, the access content and the access address of the access request, and also comprises the job information;
taking an insurance company as an example, the process of invoking management data at the application back end based on the maintenance qualification of users and workers of the insurance company and loading the management data into the page content at the front end is that firstly, access information corresponding to the maintenance qualification is extracted from an access request based on the maintenance qualification of the users and the workers of the insurance company, then the access information of the users and the workers of the insurance company is stored in a public cache database, then the access request is distributed to a secondary response corresponding to the access request through a distribution plug-in preset in the application back end, so that the secondary response invokes the access information of the users and the workers of the insurance company from the public cache database according to a token command carried in the access request, and then whether the access request is overtime is judged according to the access information of the users and the workers of the insurance company, if not, the management data is called in the secondary response according to the access content of the access request, the three-level button is displayed in the page content of the front end based on the access address in the access request of the insurance company user and the insurance company staff, and the management data is loaded into the page content of the front end by the three-level button for the user to use, so that when the insurance company carries out the services of insurance underwriting, wind control, accounting, finance, security, documents and the like, all the services are uniformly deployed in a static server, and the corresponding maintenance qualification can be obtained by entering the static server through a secret key, a secret key pair and a single access channel, so that when the user or the insurance company staff carries out the services of underwriting, wind control, accounting, finance, security, documents and the like, the corresponding authority can be obtained by logging in the static server through the corresponding password, the method enters the static resource corresponding to the authority to perform related business operation, so that the insurance company performs centralized management on data of all users and workers, the safety is high, and the front end and the rear end are decoupled, so that the maintenance and the management are facilitated.
In addition, the user's job information includes the organization code to which the user belongs, the application back end can use the organization code as a query condition to limit a result set to be queried for the access request, and the result set includes organization code dimensions, so that business personnel of different organizations can only view detailed data (management data) belonging to the organization, and overall security is improved.
As mentioned above, the data processing method provided by the invention comprises the steps of firstly deploying the page content of the application front end on the static server through the deployment script, then opening the preset uniform request address on the static server, connecting the static resource in the page content to the application back end based on the preset maintenance qualification through the uniform request address, namely, the front end codes of all services are deployed on one server, the front end technical personnel and the back end technical personnel are decoupled, the correlation between the front end technical personnel and the back end technical personnel is reduced, the development efficiency is improved, the post-maintenance is convenient, all the services are deployed on one server, the page style is uniform, the uniform request address is provided, the login address is unique, a user only needs to log in the front end page, can enter different service system menus according to the self authority, and call management data at the application back end based on the maintenance qualification, and the management data is loaded into the page content at the front end, and only the user with the relevant qualification can load the data suitable for the qualification, so that the data management can be centralized, and the safety of the whole data management is improved.
As shown in fig. 2, the present invention provides a data management apparatus 100, and the present invention can be installed in an electronic device. According to the implemented functions, the data management apparatus 100 may include a page deployment unit 101, a unified request unit 102, a qualification access unit 103, and a data management unit 104. The module of the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
the page deployment unit 101 is configured to deploy the page content of the application front end on the static server through the deployment script; wherein the page content comprises at least static resources;
a unified request unit 102, configured to open a preset unified request address on the static server;
the qualification access unit 103 is used for enabling the static resources in the page content to be connected with the application back end based on the preset maintenance qualification through the unified request address;
and the data management unit 104 is used for calling management data at the application back end based on the maintenance qualification and loading the management data into the page content of the front end.
The process of the page deployment unit 101 deploying the page content of the application front end on the static server through the deployment script includes:
selecting static resources in the page content of the application front end according to the selection instruction;
and the static resources correspond to the background micro-services one by one to form a background micro-service group, and the static resources are deployed in a static server through a preset deployment script, so that when the static resources are clicked, the static server sends an access request triggered by the static resources to the background micro-services.
The process of opening the preset unified request address on the static server by the unified request unit 102 includes:
creating a request window in the page content of the front end;
giving a request link adaptive to the static server to the request window;
and performing module division operation on the request window based on the request link to form an ID column and a password column so as to form a unified request address.
The qualification accessing unit 103 connects the static resource in the page content to the application back end based on the preset maintenance qualification through the unified request address, and comprises:
determining maintenance qualification according to user responsibility through a safety instruction; wherein the maintenance qualifications include a document maintenance qualification and a security maintenance qualification;
matching the maintenance qualification with the ID of the user based on an authentication algorithm, so that the user only has the right to adapt to the maintenance qualification;
and entering the uniform request address through the ID of the user to acquire page content, and connecting the background micro-service according to the static resource in the page content, so that the background micro-service forwards the access request triggered by the static resource to the application back end adapted to the maintenance qualification.
The data management unit 104 calls management data at the application back end based on the maintenance qualification and loads the management data into the page content of the front end, including:
extracting access information adapted to the maintenance qualification from the access request based on the maintenance qualification; wherein the access information is stored in a public cache database;
distributing the access request to a secondary response corresponding to the access request through a distribution plug-in preset in the application back end, so that the secondary response calls the access information in the public cache database according to a token command carried in the access request;
judging whether the access request is overtime according to the access information, if not, calling management data in the secondary response according to the access content of the access request;
and displaying a third-level button in the page content of the front end based on the access address in the access request, and loading the management data into the page content of the front end through the third-level button for a user to use.
Specifically, the data management unit 104 distributes the access request to the secondary response corresponding to the access request through a distribution plug-in preset in the application backend, including:
analyzing and reading the access request to obtain an access entry of the access request;
traversing a preset entry dictionary related to the secondary response to judge whether the access entry belongs to an entry related to a document management department or an entry related to an escort management department;
if the access entry belongs to an entry related to a document management department, distributing the access request to the document management department; if the access entry belongs to an entry related to a deposit management department, the access request is distributed to the deposit management department.
Judging whether the access request is overtime according to the access information, comprising the following steps:
extracting access initiation time from the access information;
acquiring the time difference between the current time and the initiation time;
if the time difference is larger than a preset access time threshold value, the access is overtime; if the time difference is smaller than or equal to the access time threshold, the access is not overtime.
As shown in fig. 3, the present invention provides an electronic device 1 of a data processing method.
The electronic device 1 may comprise a processor 10, a memory 11 and a bus, and may further comprise a computer program, such as a data management program 12, stored in the memory 11 and operable on said processor 10.
The memory 11 includes at least one type of readable storage medium, which includes flash memory, removable hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device 1, such as a removable hard disk of the electronic device 1. The memory 11 may also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device 1. The memory 11 may be used not only to store application software installed in the electronic device 1 and various types of data, such as codes of a data management program, but also to temporarily store data that has been output or is to be output.
The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various components of the electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device 1 by running or executing programs or modules (e.g., data management programs, etc.) stored in the memory 11 and calling data stored in the memory 11.
The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is arranged to enable connection communication between the memory 11 and at least one processor 10 or the like.
Fig. 3 shows only an electronic device with components, and it will be understood by those skilled in the art that the structure shown in fig. 3 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
For example, although not shown, the electronic device 1 may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 10 through a power management device, so as to implement functions of charge management, discharge management, power consumption management, and the like through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device 1 may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
Further, the electronic device 1 may further include a network interface, and optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used for establishing a communication connection between the electronic device 1 and other electronic devices.
Optionally, the electronic device 1 may further comprise a user interface, which may be a Display (Display), an input unit (such as a Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the electronic device 1 and for displaying a visualized user interface, among other things.
It is to be understood that the described embodiments are for purposes of illustration only and that the scope of the appended claims is not limited to such structures.
The data management program 12 stored in the memory 11 of the electronic device 1 is a combination of instructions that, when executed in the processor 10, may implement:
deploying the page content of the application front end on a static server through a deployment script; wherein the page content comprises at least static resources;
opening a preset unified request address on the static server;
connecting the static resources in the page content to the application back end based on the preset maintenance qualification through the uniform request address;
and calling management data at the application back end based on the maintenance qualification, and loading the management data into the page content of the front end.
Specifically, the specific implementation method of the processor 10 for the instruction may refer to the description of the relevant steps in the embodiment corresponding to fig. 1, which is not described herein again. It should be emphasized that, in order to further ensure the privacy and security of the data management, the data of the data management is stored in the node of the block chain where the server cluster is located.
Further, the integrated modules/units of the electronic device 1, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. The computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM).
An embodiment of the present invention further provides a computer-readable storage medium, where the storage medium may be nonvolatile or volatile, and the storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements:
deploying the page content of the application front end on a static server through a deployment script; wherein the page content includes at least static resources;
opening a preset unified request address on the static server;
connecting the static resources in the page content to the application back end based on the preset maintenance qualification through the uniform request address;
and calling management data at the application back end based on the maintenance qualification, and loading the management data into the page content of the front end.
Specifically, the specific implementation method of the computer program when being executed by the processor may refer to the description of the relevant steps in the data processing method in the embodiment, which is not repeated herein.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. A data processing method, comprising:
deploying the page content of the application front end on a static server through a deployment script; wherein the page content includes at least static resources;
opening a preset unified request address on the static server;
enabling static resources in the page content to be connected with an application rear end based on a preset maintenance qualification through the uniform request address;
and calling management data at the application back end based on the maintenance qualification, and loading the management data into the page content of the front end.
2. The data processing method of claim 1, wherein the deploying the page content of the application front-end on the static server by the deployment script comprises:
selecting static resources in the page content of the application front end according to the selection instruction;
and the static resources correspond to the background micro-services one by one to form a background micro-service group, and the static resources are deployed in a static server through a preset deployment script, so that when the static resources are clicked, the static server sends an access request triggered by the static resources to the background micro-services.
3. The data processing method of claim 1, wherein opening a predetermined unified request address on the static server comprises:
creating a request window in the page content of the front end;
giving a request link adaptive to the static server to the request window;
and performing module division operation on the request window based on the request link to form an ID column and a password column so as to form a unified request address.
4. The data processing method of claim 1, wherein the connecting the static resource in the page content to the application backend based on the preset maintenance qualification through the unified request address comprises:
determining maintenance qualification according to user responsibility through a safety instruction; wherein the maintenance qualifications include a document maintenance qualification and a security maintenance qualification;
matching the maintenance qualification with the ID of the user based on an authentication algorithm, so that the user only has the right to adapt to the maintenance qualification;
and entering the uniform request address through the ID of the user to acquire page content, and connecting the background micro-service according to the static resource in the page content, so that the background micro-service forwards the access request triggered by the static resource to the application back end adapted to the maintenance qualification.
5. The data processing method of claim 4, wherein the retrieving management data at the application backend based on the maintenance qualifications and loading the management data into page content of the front end comprises:
extracting access information adapted to the maintenance qualification from the access request based on the maintenance qualification; wherein the access information is stored in a public cache database;
distributing the access request to a secondary response corresponding to the access request through a preset distribution plug-in the application back end, so that the secondary response calls the access information in the public cache database according to a token command carried in the access request;
judging whether the access request is overtime according to the access information, and if not, calling management data in the secondary response according to the access content of the access request;
and displaying a third-level button in the page content of the front end based on the access address in the access request, and loading the management data into the page content of the front end through the third-level button for a user to use.
6. The data processing method according to claim 5, wherein the distributing the access request to the secondary response corresponding to the access request by a distribution plug-in preset in the application backend comprises:
analyzing and reading the access request to obtain an access entry of the access request;
traversing a preset entry dictionary related to the secondary response to judge whether the access entry belongs to an entry related to a document management department or an entry related to an escort management department;
if the access entry belongs to an entry related to a document management place, distributing the access request to the document management place; and if the access entry belongs to an entry related to an escort management department, distributing the access request to the escort management department.
7. The data processing method of claim 5, wherein the determining whether the access request is timed out according to the access information comprises:
extracting access initiation time from the access information;
acquiring the time difference between the current time and the initiation time;
if the time difference is larger than a preset access time threshold value, the access is overtime; and if the time difference is smaller than or equal to the access time threshold, the access is not overtime.
8. A data processing apparatus, characterized in that the apparatus comprises:
the page deployment unit is used for deploying the page content of the application front end on the static server through the deployment script; wherein the page content includes at least static resources;
the unified request unit is used for opening a preset unified request address on the static server;
the qualification access unit is used for enabling the static resources in the page content to be connected with the application back end based on the preset maintenance qualification through the uniform request address;
and the data management unit is used for calling management data at the application back end based on the maintenance qualification and loading the management data into the page content of the front end.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the data processing method of any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the data processing method of any one of claims 1 to 7.
CN202110705340.4A 2021-06-24 2021-06-24 Data processing method and device, electronic equipment and storage medium Pending CN113343150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110705340.4A CN113343150A (en) 2021-06-24 2021-06-24 Data processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110705340.4A CN113343150A (en) 2021-06-24 2021-06-24 Data processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113343150A true CN113343150A (en) 2021-09-03

Family

ID=77478489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110705340.4A Pending CN113343150A (en) 2021-06-24 2021-06-24 Data processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113343150A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107645508A (en) * 2017-10-16 2018-01-30 深圳市买买提乐购金融服务有限公司 A kind of data handling system, method, client and server
CN110958237A (en) * 2019-11-26 2020-04-03 苏州思必驰信息科技有限公司 Authority verification method and device
CN111586030A (en) * 2020-04-30 2020-08-25 武汉时波网络技术有限公司 Interface authentication and permission verification method and system based on micro-service multi-tenant
CN111966877A (en) * 2020-06-29 2020-11-20 北京百度网讯科技有限公司 Front-end service method, device, equipment and storage medium
CN112615849A (en) * 2020-12-15 2021-04-06 平安科技(深圳)有限公司 Micro-service access method, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107645508A (en) * 2017-10-16 2018-01-30 深圳市买买提乐购金融服务有限公司 A kind of data handling system, method, client and server
CN110958237A (en) * 2019-11-26 2020-04-03 苏州思必驰信息科技有限公司 Authority verification method and device
CN111586030A (en) * 2020-04-30 2020-08-25 武汉时波网络技术有限公司 Interface authentication and permission verification method and system based on micro-service multi-tenant
CN111966877A (en) * 2020-06-29 2020-11-20 北京百度网讯科技有限公司 Front-end service method, device, equipment and storage medium
CN112615849A (en) * 2020-12-15 2021-04-06 平安科技(深圳)有限公司 Micro-service access method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US20170236130A1 (en) Emulating Manual System of Filing Using Electronic Document and Electronic File
US20090265392A1 (en) Data verifying device, data verifying method, and data verifying program
CN111866121B (en) Safety monitoring and management cloud platform for large crane equipment
CN107798037A (en) The acquisition methods and server of user characteristic data
CN109359113B (en) Tax payment report checking method and device, storage medium and server
CN112417503A (en) Method and device for authorizing post authority, electronic equipment and storage medium
CN111429121B (en) Block chain-based electronic ticket processing method, device, equipment and storage medium
CN113238929B (en) Code testing method and device based on Mock data, electronic equipment and storage medium
CN111931471A (en) Form collection method and device, electronic equipment and storage medium
CN111651738A (en) Fine-grained role authority unified management method based on front-end and back-end separation framework and electronic device
CN112580079A (en) Authority configuration method and device, electronic equipment and readable storage medium
CN114881616A (en) Business process execution method and device, electronic equipment and storage medium
US20150154606A1 (en) System, method, and software for enterprise-wide complaint aggregation
CN112085611A (en) Asynchronous data verification method and device, electronic equipment and storage medium
CN113343150A (en) Data processing method and device, electronic equipment and storage medium
CN113434397B (en) Task system testing method and device, electronic equipment and storage medium
CN113032256B (en) Automated testing method, apparatus, computer system, and readable storage medium
CN111859452A (en) Page information checking method, device and equipment and computer readable storage medium
CN112631675A (en) Workflow configuration method, device, equipment and computer readable storage medium
CN112527655A (en) Software version quality abnormity detection method and device, electronic equipment and storage medium
CN113704109B (en) Front-end and back-end data interaction method and device, electronic equipment and storage medium
US11831490B1 (en) Systems, methods, and media for performing information technology service management correlation for infrastructure environment functions
Essel et al. Digitalising the Clearance Processes of Higher Education Institutions through the Design and Implementation of an Online Clearance System
CN115114670B (en) File unlocking method and device based on external link, network disk and storage medium
CN111652747B (en) Electronic policy processing method, device, equipment and computer readable 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