CN112163130A - Access processing method for social security data query - Google Patents

Access processing method for social security data query Download PDF

Info

Publication number
CN112163130A
CN112163130A CN202011167944.XA CN202011167944A CN112163130A CN 112163130 A CN112163130 A CN 112163130A CN 202011167944 A CN202011167944 A CN 202011167944A CN 112163130 A CN112163130 A CN 112163130A
Authority
CN
China
Prior art keywords
data
query
request
query request
data query
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
CN202011167944.XA
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.)
Hebei Times Electronics Ltd
Original Assignee
Hebei Times Electronics 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 Hebei Times Electronics Ltd filed Critical Hebei Times Electronics Ltd
Priority to CN202011167944.XA priority Critical patent/CN112163130A/en
Publication of CN112163130A publication Critical patent/CN112163130A/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/903Querying
    • 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/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • 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
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • 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)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Computational Linguistics (AREA)
  • Technology Law (AREA)
  • Software Systems (AREA)
  • Educational Administration (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses an access processing method for social security data query, which comprises the following steps: after receiving the data query request, the data storage terminal equipment transmits the data query request to a working thread module of the terminal equipment; the working thread module processes the data query request; extracting corresponding target data information in a target database, and returning a queried data result, wherein the work thread module establishes a task sequence when receiving a data query request, respectively establishes corresponding data access request tasks according to the number of the received data query requests, and then establishes a sequence queue to be processed according to the established task time to add when a task processing queue can be added. According to the processing method, when aiming at large-batch query requests, the processing method has the advantages of safety and efficiency, can ensure the access safety and simultaneously quickly provide query results, and is favorable for improving the query experience of people.

Description

Access processing method for social security data query
Technical Field
The invention belongs to the technical field of data query processing, and particularly relates to an access processing method for social security data query.
Background
The inconsistent storage access architecture can meet the requirement of people on high-performance computing based on the expansibility advantage, and is more and more widely applied to medium and high-end servers. However, NUMA remote access latency is a bottleneck in improving system performance, and particularly in the case of multiple cores and multiple cores, the number of nodes is large, and the latency of remote access increases as the number of nodes increases. For data frequently accessed by a system, such as kernel code, kernel read-only data, etc., only one copy of data is usually stored in one system, and when a process running at a remote end needs to be switched to a kernel, remote access delay becomes a key factor affecting performance.
In the prior art, each node stores a kernel code, so that the access of the kernel code becomes the access of a local memory, and the same linear address is mapped into different physical addresses by adopting an implementation mechanism of a paging technology, and mapping relationships on the nodes are respectively recorded in respective kernel page tables. Once a process runs on the node, the kernel page table part on the node is synchronized to the page table of the process, so that the process can access the local kernel code and read-only data.
Social security generally refers to social insurance, and is a social and economic system for providing income or compensation for people who lose labor capacity, temporarily lose labor positions or lose loss due to health reasons.
Disclosure of Invention
The invention aims to: in order to solve the problem that the efficiency is not high enough when the social security data query request is processed, an access processing method for the social security data query is provided.
The technical scheme adopted by the invention is as follows:
an access processing method for social security data query includes the following steps:
s1: after receiving the data query request, the data storage terminal equipment transmits the data query request to a working thread module of the terminal equipment;
s2: the working thread module processes the data query request;
s3: and extracting corresponding target data information in the target database, and replying the queried data result.
The method for establishing the task sequence when the work thread module receives the data query request specifically comprises the following steps: respectively establishing corresponding data access request tasks according to the number of received data query requests, then establishing a to-be-processed sequence queue according to the established task time to add when the task processing queue can be added, querying whether a priority processing request is added to the request tasks or not before the task time sequence is established, if so, preferentially arranging the task sequence to the front of the to-be-processed sequence queue, and if not, adding the to-be-processed sequence queue according to the original established time sequence.
The data storage terminal equipment performs security detection after receiving the data query request, and specifically includes: detecting whether an application program calls a kernel interface of a current access system, if so, confirming that the application program has the authority of accessing the kernel interface of the system, if not, confirming that the application program does not have the authority of accessing the kernel interface of the system, and intercepting and stopping a corresponding system calling function.
And when the application program is confirmed to have the authority of accessing the system kernel interface, acquiring the identity information and the interface authority mapping table of the corresponding application program.
After the validity of the data query request is confirmed, the data query request is analyzed, and the method specifically includes: and extracting the IP address of the query application program, analyzing the domain name, acquiring the security protocol of the domain name address, calling the corresponding security protocol in the terminal equipment, and attaching the security protocol to the data folder for sending after target data is extracted.
The extraction process of the target data comprises the following steps: extracting query keywords according to the query request, searching matched annotation information in a database by using the keywords, and displaying prompt information of the annotation information; establishing a target database containing query request data; then, the query keyword is used again to query the object data in the target database; and when the object data is acquired, writing the object data into a program editing interface for performing return receipt preprocessing.
Wherein, the return receipt pretreatment comprises the following steps:
a1: determining the name of the object data according to the query keyword and the annotation information;
a2: determining the class of the object data according to the classification information of the object data;
a3: and editing the data name and the data category into a receipt file, and making a character start.
In summary, due to the adoption of the technical scheme, the invention has the beneficial effects that:
1. in the invention, after the main thread processing module receives the data access request, the data access request is submitted to the task thread processing module, the task thread processing module processes the data access request, the data access request and the data access processing are distributed in two different thread processing modules without mutual influence, and the main thread processing module can return to continue to execute other operations after submitting the data access request, thereby eliminating the blockage in the data access processing process, reducing the waste of system resources and being beneficial to improving the response speed.
2. In the invention, whether the application program accesses the system kernel interface through system call is detected, if yes, whether the application program has the authority of accessing the system kernel interface is judged, and if the application program does not have the corresponding authority, the system call sent by the application program is intercepted, so that the application program is prevented from illegally accessing the system kernel interface, and the running safety of the system is improved.
3. According to the processing method, when aiming at large-batch query requests, the processing method has the advantages of safety and efficiency, can ensure the access safety and simultaneously quickly provide query results, and is favorable for improving the query experience of people.
Drawings
FIG. 1 is a process flow diagram of the present invention;
FIG. 2 is a flow chart of the receipt processing of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In a first embodiment, referring to fig. 1, an access processing method for social security data query includes the following steps:
s1: after receiving the data query request, the data storage terminal equipment transmits the data query request to a working thread module of the terminal equipment;
s2: the working thread module processes the data query request;
s3: and extracting corresponding target data information in the target database, and replying the queried data result.
The method comprises the steps that a working thread module respectively establishes corresponding data access request tasks according to the number of received data query requests, then establishes a to-be-processed sequence queue according to the established task time and adds the to-be-processed sequence queue when the task processing queue can be added, queries whether a request task is added with a priority processing request or not before establishing a task time sequence, if the query result is yes, the task sequence is preferentially arranged to the front of the to-be-processed sequence queue, if the query result is not, the to-be-processed sequence queue is added according to the originally established time sequence, and can effectively and quickly perform request processing when a plurality of requests are ensured, so that the response speed of a system is improved;
after the data storage terminal equipment receives a data query request, detecting whether an application program calls a kernel interface of a current access system, if so, confirming that the application program has the authority of accessing the kernel interface of the system, acquiring identity information and an interface authority mapping table corresponding to the application program, if not, confirming that the application program does not have the authority of accessing the kernel interface of the system, and simultaneously intercepting and stopping a corresponding system calling function so as to ensure the legal validity of a query request source;
after the validity of the data query request is confirmed, the IP address of the query application program is extracted, the domain name is analyzed, the security protocol of the domain name address is obtained, then the corresponding security protocol in the terminal equipment is called, after the target data is extracted, the security protocol is added into the data folder to be sent, so that the multi-port or different-port request can be processed and satisfied, and the query result is effectively sent.
In a second embodiment, referring to fig. 1, an access processing method for social security data query includes the following steps:
s1: after receiving the data query request, the data storage terminal equipment transmits the data query request to a working thread module of the terminal equipment;
s2: the working thread module processes the data query request;
s3: and extracting corresponding target data information in the target database, and replying the queried data result.
The method comprises the steps that a working thread module respectively establishes corresponding data access request tasks according to the number of received data query requests, then establishes a to-be-processed sequence queue according to the established task time and adds the to-be-processed sequence queue when the task processing queue can be added, queries whether a request task is added with a priority processing request or not before establishing a task time sequence, if the query result is yes, the task sequence is preferentially arranged to the front of the to-be-processed sequence queue, if the query result is not, the to-be-processed sequence queue is added according to the originally established time sequence, and can effectively and quickly perform request processing when a plurality of requests are ensured, so that the response speed of a system is improved;
after the data storage terminal equipment receives a data query request, detecting whether an application program calls a kernel interface of a current access system, if so, confirming that the application program has the authority of accessing the kernel interface of the system, acquiring identity information and an interface authority mapping table corresponding to the application program, if not, confirming that the application program does not have the authority of accessing the kernel interface of the system, and simultaneously intercepting and stopping a corresponding system calling function so as to ensure the legal validity of a query request source;
after the validity of the data query request is confirmed, extracting an IP address of a query application program, analyzing a domain name, acquiring a security protocol of the domain name address, calling a corresponding security protocol in terminal equipment, after target data is extracted, attaching the security protocol in a data folder for sending so as to ensure that the request of multiple ports or different ports can be processed and satisfied, and effectively sending a query result;
before extracting target data, extracting query keywords according to a query request, searching matched annotation information in a database by using the keywords, displaying prompt information of the annotation information, establishing the target database containing query request data, then querying the target data in the target database by using the query keywords again, writing the target data into a program editing interface for performing return receipt preprocessing when the target data is obtained, and thus, the query response speed of the data during query is improved.
In a third embodiment, referring to fig. 1 to 2, a method for processing access to social security data query includes the following steps:
s1: after receiving the data query request, the data storage terminal equipment transmits the data query request to a working thread module of the terminal equipment;
s2: the working thread module processes the data query request;
s3: and extracting corresponding target data information in the target database, and replying the queried data result.
The method comprises the steps that a working thread module respectively establishes corresponding data access request tasks according to the number of received data query requests, then establishes a to-be-processed sequence queue according to the established task time and adds the to-be-processed sequence queue when the task processing queue can be added, queries whether a request task is added with a priority processing request or not before establishing a task time sequence, if the query result is yes, the task sequence is preferentially arranged to the front of the to-be-processed sequence queue, if the query result is not, the to-be-processed sequence queue is added according to the originally established time sequence, and can effectively and quickly perform request processing when a plurality of requests are ensured, so that the response speed of a system is improved;
after the data storage terminal equipment receives a data query request, detecting whether an application program calls a kernel interface of a current access system, if so, confirming that the application program has the authority of accessing the kernel interface of the system, acquiring identity information and an interface authority mapping table corresponding to the application program, if not, confirming that the application program does not have the authority of accessing the kernel interface of the system, and simultaneously intercepting and stopping a corresponding system calling function so as to ensure the legal validity of a query request source;
after the validity of the data query request is confirmed, extracting an IP address of a query application program, analyzing a domain name, acquiring a security protocol of the domain name address, calling a corresponding security protocol in terminal equipment, after target data is extracted, attaching the security protocol in a data folder for sending so as to ensure that the request of multiple ports or different ports can be processed and satisfied, and effectively sending a query result;
before extracting target data, extracting query keywords according to a query request, searching matched annotation information in a database by using the keywords, displaying prompt information of the annotation information, establishing the target database containing query request data, then querying the target data in the target database by using the query keywords again, writing the target data into a program editing interface for performing return receipt pretreatment when the target data is obtained, and thus, the query response speed of the data during query is improved;
the return receipt pretreatment comprises the following steps:
a1: determining the name of the object data according to the query keyword and the annotation information;
a2: determining the class of the object data according to the classification information of the object data;
a3: and editing the data name and the data category into a receipt file, and making a character start.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (7)

1. An access processing method for social security data query, characterized by comprising the following steps:
s1: after receiving the data query request, the data storage terminal equipment transmits the data query request to a working thread module of the terminal equipment;
s2: the working thread module processes the data query request;
s3: and extracting corresponding target data information in the target database, and replying the queried data result.
2. The access processing method for social security data query as claimed in claim 1, wherein the task order is established by the worker thread module when receiving a data query request, specifically comprising: respectively establishing corresponding data access request tasks according to the number of received data query requests, then establishing a to-be-processed sequence queue according to the established task time to add when the task processing queue can be added, querying whether a priority processing request is added to the request tasks or not before the task time sequence is established, if so, preferentially arranging the task sequence to the front of the to-be-processed sequence queue, and if not, adding the to-be-processed sequence queue according to the original established time sequence.
3. The method as claimed in claim 1, wherein the security detection performed by the data storage terminal device after receiving the data query request includes: detecting whether an application program calls a kernel interface of a current access system, if so, confirming that the application program has the authority of accessing the kernel interface of the system, if not, confirming that the application program does not have the authority of accessing the kernel interface of the system, and intercepting and stopping a corresponding system calling function.
4. The method as claimed in claim 3, wherein when the application program is determined to have the access right to the kernel interface of the system, the identity information and the interface right mapping table of the corresponding application program are obtained.
5. The method as claimed in claim 3, wherein the analyzing after the validity of the data query request is confirmed includes: and extracting the IP address of the query application program, analyzing the domain name, acquiring the security protocol of the domain name address, calling the corresponding security protocol in the terminal equipment, and attaching the security protocol to the data folder for sending after target data is extracted.
6. The method as claimed in claim 1, wherein the step of extracting the target data comprises: extracting query keywords according to the query request, searching matched annotation information in a database by using the keywords, and displaying prompt information of the annotation information; establishing a target database containing query request data; then, the query keyword is used again to query the object data in the target database; and when the object data is acquired, writing the object data into a program editing interface for performing return receipt preprocessing.
7. The method as claimed in claim 6, wherein the response piece pre-processing comprises the following steps:
a1: determining the name of the object data according to the query keyword and the annotation information;
a2: determining the class of the object data according to the classification information of the object data;
a3: and editing the data name and the data category into a receipt file, and making a character start.
CN202011167944.XA 2020-10-28 2020-10-28 Access processing method for social security data query Pending CN112163130A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011167944.XA CN112163130A (en) 2020-10-28 2020-10-28 Access processing method for social security data query

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011167944.XA CN112163130A (en) 2020-10-28 2020-10-28 Access processing method for social security data query

Publications (1)

Publication Number Publication Date
CN112163130A true CN112163130A (en) 2021-01-01

Family

ID=73864902

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011167944.XA Pending CN112163130A (en) 2020-10-28 2020-10-28 Access processing method for social security data query

Country Status (1)

Country Link
CN (1) CN112163130A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113127208A (en) * 2021-05-06 2021-07-16 杭州天宽科技有限公司 Method for limiting user access service based on thread

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714835A (en) * 2013-12-16 2015-06-17 中国移动通信集团公司 Data access processing method and device
CN106557586A (en) * 2016-11-30 2017-04-05 北京小度信息科技有限公司 Database access processing method and processing device
CN106778208A (en) * 2016-12-01 2017-05-31 深圳Tcl新技术有限公司 The access processing method and device of application program
CN109787951A (en) * 2018-11-22 2019-05-21 北京奇艺世纪科技有限公司 A kind of network data access method, device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714835A (en) * 2013-12-16 2015-06-17 中国移动通信集团公司 Data access processing method and device
CN106557586A (en) * 2016-11-30 2017-04-05 北京小度信息科技有限公司 Database access processing method and processing device
CN106778208A (en) * 2016-12-01 2017-05-31 深圳Tcl新技术有限公司 The access processing method and device of application program
CN109787951A (en) * 2018-11-22 2019-05-21 北京奇艺世纪科技有限公司 A kind of network data access method, device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113127208A (en) * 2021-05-06 2021-07-16 杭州天宽科技有限公司 Method for limiting user access service based on thread
CN113127208B (en) * 2021-05-06 2023-08-04 杭州天宽科技有限公司 Method for limiting user to access service based on thread

Similar Documents

Publication Publication Date Title
CN104035923B (en) Inquire about the method and device of data
US20170126617A1 (en) Method, device and system for processing dns cache information
CN108717426B (en) Enterprise data updating method and device, computer equipment and storage medium
CN111062684B (en) System and method for realizing consistency processing of business data and process data under cloud process platform
CN107798135B (en) Paging query method and device and electronic equipment
WO2020000716A1 (en) Big data analysis system, server, data processing method, program and storage medium
CN112559386A (en) Method and device for improving SSD performance, computer equipment and storage medium
US20140095644A1 (en) Processing of write requests in application server clusters
CN111382206B (en) Data storage method and device
CN112163130A (en) Access processing method for social security data query
CN113961832A (en) Page rendering method, device, equipment, storage medium and program product
CN113742392A (en) Data synchronization method and device, electronic equipment and storage medium
CN116662426A (en) Database connection establishment method, device, equipment and medium
CN115328734A (en) Cross-service log processing method and device and server
CN111353116B (en) Content detection method, system and device, client device and storage medium
CN115344620A (en) Method for realizing data on-demand synchronization after front-end and back-end separation by user-defined data pool
CN113553332B (en) Decentralized data storage access method and device
CN112039869B (en) Method, device, storage medium and equipment for establishing network access relationship
CN115098738A (en) Service data extraction method and device, storage medium and electronic equipment
CN110109956B (en) Method and terminal for preventing cache from penetrating
CN113419792A (en) Event processing method and device, terminal equipment and storage medium
CN114610762A (en) Three-level response method, system, equipment and storage medium for data request
CN114547050A (en) Batch processing content duplication judging method, system, device, terminal equipment and storage medium
CN113157738A (en) In-pile data cache synchronization method and device, computer equipment and storage medium
CA3126363A1 (en) Message data processing method and device, computer 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210101

RJ01 Rejection of invention patent application after publication