[go: up one dir, main page]

CN114385997A - OA-based payroll allocation method and related device - Google Patents

OA-based payroll allocation method and related device Download PDF

Info

Publication number
CN114385997A
CN114385997A CN202210036982.4A CN202210036982A CN114385997A CN 114385997 A CN114385997 A CN 114385997A CN 202210036982 A CN202210036982 A CN 202210036982A CN 114385997 A CN114385997 A CN 114385997A
Authority
CN
China
Prior art keywords
server
salary
employee
payroll
slip
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
CN202210036982.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.)
Tubatu Group Co Ltd
Original Assignee
Tubatu Group 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 Tubatu Group Co Ltd filed Critical Tubatu Group Co Ltd
Priority to CN202210036982.4A priority Critical patent/CN114385997A/en
Publication of CN114385997A publication Critical patent/CN114385997A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/31User authentication
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/12Accounting
    • G06Q40/125Finance or payroll

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Strategic Management (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Economics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Marketing (AREA)
  • Game Theory and Decision Science (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Operations Research (AREA)
  • Educational Administration (AREA)
  • Databases & Information Systems (AREA)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本申请公开一种基于OA的工资条部署方法以及相关装置,用于解决线上OA部署过程中工资条安全性的问题。本申请方法应用的系统包括:OA服务器、薪资服务器及客户端;员工在客户端通过员工账号登录OA服务器,在工资条查询页面输入二级密码;OA服务器对二级密码进行核对,当二级密码核对正确,OA服务器将公钥加密后的请求参数传输至薪资服务器,以使得薪资服务器使用对应的私钥解密后对应生成员工的员工工资条,并将生成的员工工资条私钥加密后回传至OA服务器;OA服务器使用公钥对加密的员工工资条解密后向所述客户端反馈;当二级密码核对错误且错误次数小于规定次数,提示重新输入;当二级密码核对错误且错误次数大于规定次数,对员工账号进行锁定。

Figure 202210036982

The present application discloses an OA-based salary slip deployment method and a related device, which are used to solve the problem of salary slip security in the online OA deployment process. The system applied by the application method includes: an OA server, a salary server and a client; the employee logs in to the OA server through the employee account on the client, and enters the secondary password on the salary slip query page; the OA server verifies the secondary password, and when the secondary password is The password is checked correctly, and the OA server transmits the request parameters encrypted by the public key to the payroll server, so that the payroll server decrypts with the corresponding private key and generates the employee payslip of the employee, and encrypts the generated private key of the employee payroll and returns it to the payroll server. Send it to the OA server; the OA server uses the public key to decrypt the encrypted employee salary slip and feed it back to the client; when the secondary password is checked incorrectly and the number of errors is less than the specified number of times, it will prompt to re-enter; when the secondary password is checked incorrectly and is incorrect If the number of times is greater than the specified number, the employee account will be locked.

Figure 202210036982

Description

一种基于OA的工资条部署方法以及相关装置An OA-based salary slip deployment method and related device

技术领域technical field

本申请属于数据信息处理领域,尤其涉及一种基于OA的工资条部署方法以及相关装置。The present application belongs to the field of data information processing, and in particular relates to an OA-based salary slip deployment method and related devices.

背景技术Background technique

在企业管理中一般都会有工资管理模块,其中包含工资条功能,但是每个企业的工资条打印内容可能都不一样,因此,传统的做法是根据工资条打印内容每次都设计工资条模板,根据模板进行打印。但这种方式的缺点是不便于企业用户操作,同时每个企业用户都需要重新设计,增加企业人力成本,降低工作效率。In enterprise management, there is generally a salary management module, which includes the function of salary slips, but the printing content of salary slips in each enterprise may be different. Therefore, the traditional method is to design a salary slip template every time according to the printing content of salary slips. Print according to the template. However, the disadvantage of this method is that it is inconvenient for enterprise users to operate, and each enterprise user needs to be redesigned, which increases the labor cost of the enterprise and reduces work efficiency.

纸质工资条存在以下缺点:制作麻烦,需要分割工资表、打印工资条、剪裁工资条、发放工资条;保密性不好,普通的纸质工资条员工领取的时候容易看到其他员工的工资条;形式太落后,也不符合社会节能减排、环保生活的概念,而且如今已是无纸化办公年代,纸质工资条是很落后的手段。Paper payslips have the following disadvantages: it is troublesome to make, it is necessary to divide payroll, print payslips, cut payslips, and distribute payslips; confidentiality is not good, and ordinary paper payslips are easy for employees to see the wages of other employees when they receive them The form is too backward, and it does not conform to the concept of social energy saving, emission reduction, and environmental protection life, and now is the era of paperless office, and paper salary slips are very backward means.

办公自动化(Office Automation,简称OA)是将现代化办公和计算机技术结合起来的一种新型的办公方式,办公自动化没有统一的定义,凡是在传统的办公室中采用各种新技术、新机器、新设备从事办公业务,都属于办公自动化的领域,通过实现办公自动化,或者说实现数字化办公,可以优化现有的管理组织结构,调整管理体制,在提高效率的基础上,增加协同办公能力,强化决策的一致性。Office Automation (OA) is a new type of office method that combines modern office and computer technology. There is no unified definition of office automation. All kinds of new technologies, new machines and new equipment are used in traditional offices. Engaging in office business belongs to the field of office automation. By realizing office automation, or realizing digital office, the existing management organization structure can be optimized, the management system can be adjusted, and on the basis of improving efficiency, the collaborative office ability can be increased, and the decision-making ability can be strengthened. consistency.

薪资作为企业敏感的数据,需要有很高的保密级别,现有技术中没有成熟的完善方案措施,因此,提出一种基于OA的工资条部署方法。As sensitive data of enterprises, salary needs to have a high level of confidentiality. There is no mature and perfect solution in the existing technology. Therefore, a method of deploying salary slips based on OA is proposed.

发明内容SUMMARY OF THE INVENTION

本申请提供一种基于OA的工资条实现部署方法,旨在解决现有技术中工资条实现线上化OA部署的过程中的安全性问题。The present application provides a method for implementing and deploying salary slips based on OA, which aims to solve the security problem in the process of realizing online OA deployment of salary slips in the prior art.

第一方面,本申请提供员工在所述客户端通过员工账号登录所述OA服务器,在工资条查询页面输入二级密码;In the first aspect, the present application provides that the employee logs in to the OA server through the employee account on the client side, and enters the secondary password on the salary slip query page;

所述OA服务器对所述二级密码进行核对,所述OA服务器对二级密码进行核对的过程包括:The OA server checks the secondary password, and the process for the OA server to check the secondary password includes:

当所述二级密码核对正确,所述OA服务器将公钥加密后的请求参数传输至所述薪资服务器,以使得所述薪资服务器将接收的请求参数使用对应的私钥解密后对应生成所述员工的员工工资条,并将生成的所述员工工资条私钥加密后回传至所述OA服务器;所述OA服务器使用所述公钥对加密的所述员工工资条解密后向所述客户端反馈;When the secondary password is checked correctly, the OA server transmits the request parameters encrypted by the public key to the payroll server, so that the payroll server decrypts the received request parameters with the corresponding private key and generates the corresponding The employee salary slip of the employee, and encrypts the generated private key of the employee salary slip and sends it back to the OA server; the OA server decrypts the encrypted employee salary slip using the public key and sends it to the client end feedback;

当所述二级密码核对错误且错误次数小于规定次数,提示重新输入;When the secondary password is checked incorrectly and the number of errors is less than the specified number of times, prompting to re-enter;

当所述二级密码核对错误且错误次数大于规定次数,对所述员工账号进行锁定。When the secondary password is checked incorrectly and the number of errors is greater than a specified number of times, the employee account is locked.

可选的,还包括:Optionally, also include:

当所述员工账号在工资条查询页面调用所述工资条时,所述OA服务器对该调用行为进行记录并生成OA日志;When the employee account calls the salary slip on the salary slip query page, the OA server records the calling behavior and generates an OA log;

当所述OA服务器将员工数据发送至所述薪资服务器时,所述薪资服务器生成薪资日志;When the OA server sends employee data to the payroll server, the payroll server generates a payroll log;

对比所述OA日志和所述薪资日志的数量,若所述OA日志和所述薪资日志的数量不一致,发出警告。Compare the numbers of the OA logs and the salary logs, and issue a warning if the numbers of the OA logs and the salary logs are inconsistent.

可选的,所述对比所述OA日志和所述薪资日志包括:Optionally, the comparing the OA log and the salary log includes:

若所述OA日志和所述薪资日志的数量一致,执行所述OA服务器和所述薪资服务器交互方法流程;If the numbers of the OA log and the salary log are the same, execute the process of the interaction method between the OA server and the salary server;

若所述OA日志和所述薪资日志的数量不一致之后,所述方法还包括:If the numbers of the OA log and the salary log are inconsistent, the method further includes:

邮件通知运维部门管理账号。Email notification to the operation and maintenance department to manage the account.

可选的,还包括:Optionally, also include:

所述客户端向所述OA服务器发送工资条查询请求,所述工资条查询请求包括所述员工账户与密码;The client sends a salary slip query request to the OA server, and the salary slip query request includes the employee account and password;

所述OA服务器根据所述工资条查询请求向所述薪资服务器转发;The OA server forwards the query request to the salary server according to the salary slip;

所述薪资服务器验证所述员工账户与密码正确后返回加密的所述员工工资条至所述OA服务器;The salary server returns the encrypted employee salary slip to the OA server after verifying that the employee account and password are correct;

所述OA服务器将解密后的所述员工工资条发送至所述客户端;The OA server sends the decrypted employee salary slip to the client;

所述客户端展示所述员工工资条。The client displays the employee pay slip.

可选的,所述OA服务器与所述薪资服务器为两台独立的电脑,所述薪资服务器对内仅与所述OA服务器通讯连接。Optionally, the OA server and the payroll server are two independent computers, and the payroll server only communicates with the OA server internally.

可选的,还包括:Optionally, also include:

所述薪资服务器判断所有外接端口的连接状态;The salary server judges the connection status of all external ports;

当发现外接端口的连接状态存在移动存储设备时,发出警告。When a removable storage device is found in the connection status of the external port, a warning is issued.

可选的,当发现外接端口的连接状态存在移动存储设备时,还包括:Optionally, when it is found that there is a removable storage device in the connection state of the external port, the method further includes:

拒绝在所述移动存储设备读取或写入数据,并形成警报日志。Refuse to read or write data on the mobile storage device, and form an alarm log.

可选的,所述薪资服务器中存储加密的所述员工工资条;Optionally, the encrypted salary slip of the employee is stored in the salary server;

所述薪资服务器所处的电脑设有登录密码,所述登录密码为pin+token,其中所述pin指定运维管理账号具有管理权限,所述token指定薪资管理员账号具有管理权限。The computer where the salary server is located is provided with a login password, and the login password is pin+token, wherein the pin specifies that the operation and maintenance management account has management authority, and the token specifies that the salary administrator account has management authority.

可选的所述薪资服务器中存储的所述员工工资条均经过RSA公钥加密后再存于数据库,所述RSA公钥对应的解密私钥存储于所述薪资服务器中的预设文件中。Optionally, the employee salary slips stored in the salary server are encrypted with the RSA public key and then stored in the database, and the decrypted private key corresponding to the RSA public key is stored in a preset file in the salary server.

第二方面,本申请提供一种基于OA的工资条实现部署系统,所述系统包括:OA服务器、薪资服务器及客户端;In a second aspect, the present application provides an OA-based salary slip implementation and deployment system, the system comprising: an OA server, a salary server and a client;

员工在所述客户端通过员工账号登录所述OA服务器,在工资条查询页面输入二级密码;The employee logs in to the OA server through the employee account on the client, and enters the secondary password on the salary slip query page;

所述OA服务器对所述二级密码进行核对,所述OA服务器对二级密码进行核对的过程包括:The OA server checks the secondary password, and the process for the OA server to check the secondary password includes:

当所述二级密码核对正确,所述OA服务器将公钥加密后的请求参数传输至所述薪资服务器,以使得所述薪资服务器将接收的请求参数使用对应的私钥解密后对应生成所述员工的员工工资条,并将生成的所述员工工资条私钥加密后回传至所述OA服务器;所述OA服务器使用所述公钥对加密的所述员工工资条解密后向所述客户端反馈;When the secondary password is checked correctly, the OA server transmits the request parameters encrypted by the public key to the payroll server, so that the payroll server decrypts the received request parameters with the corresponding private key and generates the corresponding The employee salary slip of the employee, and encrypts the generated private key of the employee salary slip and sends it back to the OA server; the OA server decrypts the encrypted employee salary slip using the public key and sends it to the client end feedback;

当所述二级密码核对错误且错误次数小于规定次数,提示重新输入;When the secondary password is checked incorrectly and the number of errors is less than the specified number of times, prompting to re-enter;

当所述二级密码核对错误且错误次数大于规定次数,对所述员工账号进行锁定。When the secondary password is checked incorrectly and the number of errors is greater than a specified number of times, the employee account is locked.

第三方面,本申请提供一种计算机设备,包括:In a third aspect, the present application provides a computer device, comprising:

处理器、存储器、总线、输入输出接口、无线网络接口;Processor, memory, bus, input and output interface, wireless network interface;

所述处理器通过总线与所述存储器、所述输入输出接口、所述无线网络接口相连;The processor is connected with the memory, the input and output interface, and the wireless network interface through a bus;

所述存储器中存储有计算机可读程序;A computer-readable program is stored in the memory;

所述处理器执行所述存储器中存储的所述计算机可读程序时,实现前述第一方面中所述客户端、所述OA服务器或所述薪资服务器执行的任意一项所述基于OA的工资条实现部署方法。When the processor executes the computer-readable program stored in the memory, any one of the OA-based payroll executed by the client, the OA server or the payroll server in the first aspect is implemented. Article implements the deployment method.

从以上技术方案可以看出,本申请实施例具有以下优点:As can be seen from the above technical solutions, the embodiments of the present application have the following advantages:

本申请提供一种实现基于OA的工资条部署方法,解决现有技术中工资条实现线上化OA部署的问题,并且解决部署过程中的安全性问题,从代码安全层面、回溯运营层面、安全边界层面、物理安全层面、数据库安全层面去保证新资数据的安全性,并且有效的防止OA服务器被黑后找到接口查询任意人的工资条。This application provides a method for implementing OA-based salary slip deployment, solves the problem of online OA deployment of salary slips in the prior art, and solves the security problem in the deployment process, from the code security level, retrospective operation level, security The boundary layer, physical security layer, and database security layer ensure the security of new capital data, and effectively prevent the OA server from finding the interface to query the salary slip of any person after being hacked.

附图说明Description of drawings

图1为本申请基于OA的工资条部署方法的一个实施例流程示意图;1 is a schematic flowchart of an embodiment of an OA-based salary slip deployment method of the application;

图2为本申请所提供的实施例的OA服务器和薪资服务器调用关系逻辑图;FIG. 2 is a logical diagram of the calling relationship between the OA server and the payroll server according to the embodiment provided by the present application;

图3为本申请所提供的实施例的登录工资条系统交互流程图;Fig. 3 is the login salary slip system interaction flow chart of the embodiment provided by this application;

图4为本申请所提供的实施例的回溯运营层面逻辑图;Fig. 4 is the backtracking operation level logic diagram of the embodiment provided by this application;

图5为本申请基于OA的工资条部署系统的一个实施例结构示意图。FIG. 5 is a schematic structural diagram of an embodiment of the OA-based salary slip deployment system of the present application.

具体实施方式Detailed ways

本申请实施例提供了一种基于OA的工资条实现部署方法,用于解决工资条在线上OA部署的过程中的安全性问题,本申请实施例可以通过从代码安全层面、回溯运营层面、安全边界层面、物理安全层面、数据库安全层面等去保证数据的安全性,并且有效的防止OA服务器被黑后找到接口查询任意人的工资条。The embodiment of the present application provides an OA-based salary slip implementation and deployment method, which is used to solve the security problem in the process of online OA deployment of the salary slip. Boundary level, physical security level, database security level, etc. to ensure the security of data, and effectively prevent the OA server from finding the interface to query the salary slip of any person after being hacked.

请参阅图1至图4,一种基于OA的工资条部署方法,包括:OA服务器、薪资服务器及客户端;Please refer to Figure 1 to Figure 4, an OA-based payroll deployment method, including: an OA server, a payroll server and a client;

101、员工通过客户端向OA服务器发送登录请求或者员工通过扫码登录的方式向OA服务器发送登录请求,该登录请求至少包括员工账号与对应的密码;101. The employee sends a login request to the OA server through the client or the employee sends a login request to the OA server by scanning the code to log in, and the login request at least includes the employee account and the corresponding password;

102、OA服务器向员工登录的客户端反馈登录请求验证结果,该登录请求验证结果包括登录成功、登录失败;102. The OA server feeds back a login request verification result to the client logged in by the employee, and the login request verification result includes login success and login failure;

103、客户端根据登录成功的登录请求验证结果确定员工账号完成登录;103. The client determines that the employee account has completed the login according to the verification result of the successful login request;

104、客户端在员工账号登录OA服务器的前提下,接收用户在工资条查询页面输入二级密码,该二级密码用于请求查询员工账号所属员工的工资条;104. On the premise that the employee account logs in to the OA server, the receiving user enters a secondary password on the salary slip query page, and the secondary password is used to request to query the salary slip of the employee to which the employee account belongs;

105、OA服务器对二级密码进行核对,具体过程包括:105. The OA server checks the secondary password, and the specific process includes:

106、当步骤105中OA服务器核对二级密码发现错误且错误次数小于规定次数(例如3次),OA服务器向客户端反馈核对二级密码结果为提示重新输入;当步骤105中OA服务器核对二级密码发现错误且错误次数大于规定次数(例如3次),OA服务器向客户端反馈核对二级密码结果为对员工账号进行锁定(例如锁定该员工账号24小时);106. When the OA server checks the secondary password in step 105 and finds an error and the number of errors is less than a specified number of times (for example, 3 times), the OA server feeds back to the client that the result of checking the secondary password is a prompt to re-enter; when the OA server checks the second password in step 105 If the first-level password is found to be wrong and the number of errors is greater than the specified number of times (for example, 3 times), the OA server reports to the client that the result of checking the second-level password is that the employee account is locked (for example, the employee account is locked for 24 hours);

107、客户端根据步骤106中二级密码核对结果执行提示用户重新输入二级密码或对该员工账号进行锁定。107. The client terminal prompts the user to re-enter the secondary password or lock the employee account according to the secondary password verification result in step 106.

108、当步骤105中OA服务器核对二级密码核对正确,OA服务器将公钥加密后的加密请求参数(例如员工账号以及二级密码)传输至薪资服务器;108. When the OA server checks that the secondary password is correct in step 105, the OA server transmits the encryption request parameters (such as employee account number and secondary password) encrypted by the public key to the payroll server;

109、薪资服务器将OA服务器发送过来的请求参数通过私钥进行解密,并验证该请求参数的合法性,验证该请求参数的过程包括但不限制于:该员工账号是否有访问权限、请求参数是否完整或是否被篡改、二级密码是否正确、请求是否在有效期内等;具体对请求参数的合法性验证的方式可以根据实际需要进行设定,在此不进行限定。109. The salary server decrypts the request parameters sent by the OA server through the private key, and verifies the validity of the request parameters. The process of verifying the request parameters includes but is not limited to: whether the employee account has access rights and whether the request parameters are Whether it is complete or tampered with, whether the secondary password is correct, whether the request is within the validity period, etc.; the specific method of verifying the validity of the request parameters can be set according to actual needs, which is not limited here.

110、薪资服务器进一步检查判断该员工账号对工资条的查询次数是否超过次数限制,若该员工账号对工资条的查询次数超过次数限制,则不反馈对应的工资条;该员工账号对工资条的查询次数未超过次数限制,则执行步骤111;110. The payroll server further checks and determines whether the number of queries made by the employee account for the payroll exceeds the limit. If the number of queries made by the employee account for the payroll exceeds the limit, the corresponding payroll will not be fed back; If the number of queries does not exceed the number limit, step 111 is executed;

111、薪资服务器按照OA服务器的工资条查询请求从数据库中查询出对应员工的员工工资条;111. The salary server queries the employee salary slip of the corresponding employee from the database according to the salary slip query request of the OA server;

112、薪资服务器该员工工资条私钥加密后回传至OA服务器;112. The salary server encrypts the private key of the employee's salary slip and sends it back to the OA server;

113、OA服务器对该加密后的员工工资条进行公钥解密后向客户端反馈员工账号对应的员工工资条;113. The OA server decrypts the encrypted employee salary slip with the public key and feeds back the employee salary slip corresponding to the employee account to the client;

114、客户端根据步骤113的反馈展示工资条。进一步的,工资条中的敏感数据可以马赛克的形式显示在页面中,需将鼠标滑动到对应的数据项上面才会显示对应的数据,且当页面在一段时间内未操作时,会显示遮罩层锁定当前页面,员工需再次输入二级密码方可继续查看。114. The client displays the salary slip according to the feedback in step 113. Further, the sensitive data in the salary slip can be displayed on the page in the form of a mosaic. You need to slide the mouse over the corresponding data item to display the corresponding data, and when the page is not operated for a period of time, the mask will be displayed. The current page is locked at the level, and employees need to enter the secondary password again to continue viewing.

可见,本申请基于OA的工资条部署方法通过设定二级密码验证的方式确保员工查询工资条的安全性,有效的防止OA服务器被黑后找到接口查询任意人的工资条,而且OA服务器与薪资服务器之间传输的数据均是加密的,进一步有效保证员工工资条传输的安全性。It can be seen that the OA-based salary slip deployment method of the present application ensures the security of employees querying salary slips by setting a secondary password verification method, which effectively prevents the OA server from finding an interface to query the salary slip of any person after being hacked. The data transmitted between payroll servers is encrypted, which further effectively ensures the security of employee payroll transmission.

在另外的实施例中,基于上述图1实施例的基础上,当客户端所登录的员工账号在工资条查询页面调用工资条时,OA服务器应对该调用行为进行记录并生成OA日志,且当OA服务器将员工数据发送至薪资服务器时,薪资服务器生成薪资日志;本实施例周期性地对比OA日志和薪资日志的数量,以便验证是否有其他设备曾冒充OA服务器向薪资服务器发送员工的工资条查询请求,若OA日志和薪资日志的数量不一致,则表明可能曾有其他设备冒充OA服务器向薪资服务器发送员工的工资条查询请求,此时应发出警告,以便运维人员及时决策处理,此处的警告方式可以是声光报警、给指定邮箱账户(例如运维部门管理账号)发送警告邮件等,具体不限定。In another embodiment, based on the above embodiment of FIG. 1 , when the employee account logged in by the client calls the salary slip on the salary slip query page, the OA server should record the calling behavior and generate an OA log, and when When the OA server sends employee data to the payroll server, the payroll server generates a payroll log; this embodiment periodically compares the number of the OA log and the payroll log, so as to verify whether any other device has pretended to be the OA server and sent the payroll of the employee to the payroll server For query requests, if the number of OA logs and payroll logs is inconsistent, it means that there may have been other devices pretending to be the OA server to send employee salary slip query requests to the payroll server. At this time, a warning should be issued so that the operation and maintenance personnel can make timely decisions. Here The warning method can be sound and light alarm, sending a warning email to a designated email account (such as the management account of the operation and maintenance department), etc., which are not limited in detail.

在另外的实施例中,客户端向OA服务器发送工资条查询请求可以是包括所述员工账户与密码(具体包括登录密码和二级密码),OA服务器根据工资条查询请求向薪资服务器转发该工资条查询请求,薪资服务器验证员工账户与密码正确后返回加密的员工工资条至OA服务器,OA服务器将解密后的员工工资条发送至客户端,客户端展示员工工资条。In another embodiment, the client sends the salary slip query request to the OA server may include the employee account and password (specifically including the login password and the secondary password), and the OA server forwards the salary to the salary server according to the salary slip query request The salary server verifies that the employee account and password are correct and returns the encrypted employee salary slip to the OA server. The OA server sends the decrypted employee salary slip to the client, and the client displays the employee salary slip.

在另外的实施例中,基于上述图1实施例的基础上,薪资服务器实时判断所有外接端口的连接状态,当发现外接端口的连接状态存在移动存储设备时,发出警告,且拒绝在移动存储设备读取或写入数据,并形成警报日志,实现拒绝外接移动存储设备的功能,保护薪资服务器的数据安全。In another embodiment, based on the above-mentioned embodiment of FIG. 1 , the payroll server judges the connection status of all external ports in real time, when it finds that the connection status of the external ports exists in a removable storage device, it issues a warning and rejects the connection status of the external port in the removable storage device. Read or write data, and form an alarm log, realize the function of rejecting external mobile storage devices, and protect the data security of the payroll server.

具体的,OA服务器中存储加密的员工工资条或周期性定时清理该员工工资条,这些员工工资条为向OA服务器发送过工资条查询请求的薪资服务器反馈,薪资服务器所处的电脑都可以设有登录密码,登录密码为pin+token,其中pin指定运维管理账号具有管理权限,token指定薪资管理员账号具有管理权限,而运维管理账号为运维管理人员所持有,薪资管理员账号为薪资管理员持有,只要在实际情况中保证运维管理人员与薪资管理员不是同一个人,可以实现在现实中有力保证薪资服务器中数据的安全性,只有同时拥有运维管理人员与薪资管理员分别设定的部分密码进行组合成pin+token才能直接访问薪资服务器中的数据。Specifically, the OA server stores encrypted employee salary slips or periodically clears the employee salary slips. These employee salary slips are the feedback from the salary server that has sent the salary slip query request to the OA server. The computer where the salary server is located can be set There is a login password, and the login password is pin+token. The pin designates the operation and maintenance management account with management rights, the token designates the salary administrator account with management rights, and the operation and maintenance management account is held by the operation and maintenance management personnel, and the salary administrator account It is held for the payroll administrator. As long as the operation and maintenance administrator and the payroll administrator are not the same person in the actual situation, the security of the data in the payroll server can be effectively guaranteed in reality. Only if the operation and maintenance administrator and the payroll administrator are at the same time Part of the passwords set by the employees can be combined into pin+token to directly access the data in the payroll server.

具体的,薪资服务器中存储的所有员工工资条均经过RSA公钥加密后再存于数据库,其中RSA公钥对应的解密私钥存储于薪资服务器中的预设文件中,有力保证即使薪资服务器的数据被泄露,只要RSA公钥对应的解密私钥未被准确找到,也不会泄露员工工资条。更具体的,薪资服务器对内仅与OA服务器连接,在物理连接上杜绝其他设备的访问,减少薪资服务器数据泄露风险。Specifically, all employee salary slips stored in the payroll server are encrypted by the RSA public key and then stored in the database. The decrypted private key corresponding to the RSA public key is stored in a preset file in the payroll server, which effectively guarantees that even if the payroll server’s If the data is leaked, as long as the decrypted private key corresponding to the RSA public key is not accurately found, the employee salary slip will not be leaked. More specifically, the payroll server is only connected to the OA server internally, preventing the access of other devices on the physical connection and reducing the risk of data leakage of the payroll server.

在另外的具体实施例中,如图2所示,OA服务器将公钥加密后的请求参数传输至薪资服务器,薪资服务器将接收的员工数据使用公钥解密后,生成员工工资条,工资条查询时薪资服务器将生成的员工工资条私钥加密后回传至OA服务器;其中薪资服务器配置有至少2台PC主机,2台PC主机中的一台作为薪酬管理专用,另外若干组均为薪资管理员正常办公使用,其中工资条资产只允许存在于薪酬管理专用PC主机上,且薪酬管理专用PC主机对外只放行通往银行的网络,对内只放行通往OA服务器,其他一律封闭,薪酬管理专用机器上禁止移动存储设备,薪酬管理专用PC主机的工资条服务器登陆密码为pin+token,pin为运维管理员账号持有,token薪资管理员账号持有。In another specific embodiment, as shown in FIG. 2 , the OA server transmits the request parameters encrypted by the public key to the payroll server, and the payroll server decrypts the received employee data with the public key, generates employee payroll, and queries the payroll When the salary server encrypts the private key of the generated employee salary slip and sends it back to the OA server; the salary server is configured with at least 2 PC hosts, one of the 2 PC hosts is dedicated for salary management, and the other groups are for salary management. For normal office use by employees, the salary slip assets are only allowed to exist on the dedicated PC host for salary management, and the dedicated PC host for salary management only allows the network to the bank externally, and only allows the OA server internally, and all others are closed. Salary management Mobile storage devices are prohibited on the dedicated machine. The login password of the payroll server of the dedicated PC host for payroll management is pin+token. The pin is held by the operation and maintenance administrator account, and the token is held by the payroll administrator account.

进一步的,OA服务器采用查询鉴权系统和ID序列化配合的方式禁止普通用户越权,其中查询鉴权系统具体包括:Further, the OA server uses the query authentication system and ID serialization to prohibit ordinary users from overreaching, wherein the query authentication system specifically includes:

可接收查询要求的查询管理器、鉴权服务器及存储有被管对象的数据的数据库系统,所述鉴权服务器可接受来自客户端的鉴权请求信息,所述鉴权服务器将该鉴权请求信息传送给查询管理器;A query manager that can receive a query request, an authentication server, and a database system that stores the data of the managed object, the authentication server can accept the authentication request information from the client, and the authentication server uses the authentication request information sent to the query manager;

所述查询管理器可解析该鉴权请求信息生成查询语句,所述鉴权服务器向数据库系统进行查询;The query manager can parse the authentication request information to generate a query statement, and the authentication server queries the database system;

所述对象管理器存储有根据被管对象间的关联关系配置信息而生成的被管理对象的关联关系图,该关联关系图中包括至少一个根对象及非根对象;所述数据库系统求解所述对象管理器中关联关系图中的路径,该对象管理器将求解的最优结果返回给查询管理器;The object manager stores an association relationship graph of the managed objects generated according to the association relationship configuration information between the managed objects, and the association relationship graph includes at least one root object and a non-root object; the database system solves the The path in the relationship graph in the object manager, the object manager returns the optimal result of the solution to the query manager;

所述数据库系统中存储有与根对象相关的鉴权配置信息,该数据库系统可向查询管理器返回所查询的经鉴权后的信息;The authentication configuration information related to the root object is stored in the database system, and the database system can return the queried authenticated information to the query manager;

所述ID序列化的方法具体为:The method for serializing the ID is as follows:

1)OA服务器获取客户端请求的各个字符串;1) The OA server obtains each string requested by the client;

2)OA服务器根据各字符串与各管理服务器之间的对应关系,确定每个字符串对应的客户端;2) The OA server determines the client corresponding to each character string according to the correspondence between each character string and each management server;

3)OA服务器将所述字符串发送至相应的管理服务器,以供各管理服务器根据其维护的映射表,将接收到的字符串转化为相应的序列化ID;其中,不同管理服务器维护的映射表中的字符串互不相同;3) The OA server sends the string to the corresponding management server, so that each management server converts the received string into a corresponding serialized ID according to the mapping table maintained by the management server; wherein, the mappings maintained by different management servers The strings in the table are different from each other;

4)OA服务器接收各个客户端返回的对应各个字符串的序列化ID;4) The OA server receives the serialized ID corresponding to each string returned by each client;

5)OA服务器根据接收到的各字符串对应的序列化ID,将各个样本数据中的字符串转换为相应的序列化ID;5) The OA server converts the strings in each sample data into the corresponding serialization IDs according to the serialization IDs corresponding to the received strings;

所述数据库系统安全具体采用如下方式:The security of the database system is specifically adopted as follows:

1)OA服务器调用工资条接口查询用户工资条,必须带上该用户二级密码去工资条接口验证是否正确,正确后再获取个token,以此token只可以查询该用户的工资条,防止OA服务器被黑后找到接口查询任意人的工资条;1) The OA server calls the salary stub interface to query the user's salary stub. It must bring the user's secondary password to the salary stub interface to verify whether it is correct, and then obtain a token after it is correct. With this token, only the user's salary stub can be queried to prevent OA After the server is hacked, find the interface to query the salary slip of any person;

2)OA服务器提交的工资条数据,全部RSA公钥加密后再存于数据库中,解密私钥存在于文件中。2) For the salary slip data submitted by the OA server, all the RSA public keys are encrypted and stored in the database, and the decrypted private keys are stored in the file.

进一步的,所述薪资服务器包括二级私钥生成系统,所述二级私钥生成系统包括:Further, the salary server includes a secondary private key generation system, and the secondary private key generation system includes:

登录模块,其用于供用户输入登录信息,进入所述管理终端的管理界面,并输入用户指令;a login module, which is used for the user to input login information, enter the management interface of the management terminal, and input user instructions;

编码生成模块,其用于根据用户指令随机生成所述编码;所述编码由6-10位字符组成,且所述字符采用阿拉伯数字、大写英文字母和小写英文字母中的至少两种的组合;A code generation module, which is used to randomly generate the code according to user instructions; the code is composed of 6-10 characters, and the characters use at least two combinations of Arabic numerals, uppercase English letters and lowercase English letters;

编码输入模块,其用于供用户输入获得的所述编码;a code input module, which is used for the user to input the obtained code;

限制条件设置模块,其用于供用户设置关于所述秘钥的使用限制条件信息;所述二级私钥生成系统还包括:A restriction setting module, which is used for setting the use restriction information about the secret key for the user; the secondary private key generation system also includes:

加密模块,加密模块连接所述编码输入模块以及限制条件设置模块,条件设置模块用于接收所述编码以及使用限制条件信息,并对所述编码以及使用限制条件信息进行加密运算,生成包含有所述编码以及使用限制条件信息的秘钥;Encryption module, the encryption module is connected to the encoding input module and the restriction condition setting module, and the condition setting module is used to receive the encoding and the use restriction condition information, and perform an encryption operation on the encoding and the use restriction condition information, and generate a code including the the encoding and the key of the use restriction information;

所述使用限制条件信息包括秘钥使用次数以及秘钥有效时间;所述加密运算具体采用RC算法,所述RC算法包括初始化算法和伪随机子密码生成算法两大部分,在初始化的过程中,密钥的主要功能是将一个256字节的初始数簇进行随机搅乱,不同的数簇在经过伪随机子密码生成算法的处理后可以得到不同的子密钥序列,将得到的子密钥序列和明文进行异或运算后,得到密文。The use restriction information includes the number of times of use of the secret key and the effective time of the secret key; the encryption operation specifically adopts the RC algorithm, and the RC algorithm includes two parts: an initialization algorithm and a pseudo-random sub-cipher generation algorithm. In the process of initialization, The main function of the key is to randomly scramble a 256-byte initial number cluster. Different clusters can get different sub-key sequences after being processed by the pseudo-random sub-cipher generation algorithm. After the XOR operation with the plaintext, the ciphertext is obtained.

在另外的实施例中,OA服务器和薪资服务器交互方法流程为:In another embodiment, the flow of the interaction method between the OA server and the payroll server is:

S1、员工通过员工账号登录所述OA服务器,在工资条查询页面输入二级密码;S1. The employee logs in to the OA server through the employee account, and enters the secondary password on the salary slip query page;

S2、对所述二级密码进行核对,所述对二级密码进行核对的过程包括:S2, verifying the secondary password, the process of verifying the secondary password includes:

1)当所述二级密码核对正确,反馈所述员工账号对应的工资条;1) When the secondary password is checked correctly, feedback the salary slip corresponding to the employee account;

2)当所述二级密码核对错误且错误次数小于规定次数,提示重新输入;2) When the secondary password is checked incorrectly and the number of errors is less than the specified number of times, it will prompt to re-enter;

3)当所述二级密码核对错误且错误次数大于规定次数,对所述员工账号进行锁定;3) When the secondary password is checked incorrectly and the number of errors is greater than the specified number of times, lock the employee account;

作为本实施例可选的优化,二级私钥密码输入采用软键盘进行输入,软键盘是通过软件模拟键盘通过鼠标点击输入字符,是为了防止木马记录键盘输入的密码,软键盘的显示具体方法为:As an optional optimization of this embodiment, a soft keyboard is used to input the secondary private key password. The soft keyboard uses a software simulation keyboard to input characters by clicking a mouse, in order to prevent the Trojan from recording the password input by the keyboard. The specific method of displaying the soft keyboard for:

1)当文本输入框接收到用户的触发时,按照预先设定的约束条件,对随机算法进行约束,产生随机数,所述文本输入框与软键盘相关联;1) when the text input box receives the trigger from the user, according to the preset constraints, the random algorithm is constrained to generate a random number, and the text input box is associated with the soft keyboard;

2)利用所述随机数,对数组内存储的按键进行排序,所述数组为预先创建的,用于存储软键盘中的按键;2) utilize the random number to sort the keys stored in the array, and the array is pre-created for storing the keys in the soft keyboard;

3)按照所述排序,在软键盘中显示所述按键;3) According to the sorting, the keys are displayed in the soft keyboard;

其中,所述按键包括数字按键和字母按键,并且还具有字母大小写切换按键,所述按照预先设定的约束条件,对随机算法进行约束,产生随机数,包括:按照预先设定的第一约束条件,对随机算法进行约束,产生对应数字0-9的10个随机数;Wherein, the buttons include numeric buttons and letter buttons, and also have letter case switching buttons, and the random algorithm is constrained according to preset constraints to generate random numbers, including: according to preset first constraints Constraints: Constrain the random algorithm to generate 10 random numbers corresponding to numbers 0-9;

利用所述随机数,对数组内存储的数字按键进行排序,包括:利用所产生的10个随机数,对数组内存储的10个数字按键进行排序;Using the random numbers to sort the digital keys stored in the array, including: using the 10 generated random numbers to sort the 10 digital keys stored in the array;

按照所述排序,在软键盘中显示所述数字按键,包括:按照所述数字按键的排列顺序,在软键盘中显示10个数字按键,字母按键与字母大小写切换按键不参与随机数排序;According to the sorting, displaying the numeric keys on the soft keyboard includes: displaying 10 numeric keys in the soft keyboard according to the arrangement order of the numeric keys, and the letter keys and the letter case switching keys do not participate in the random number sorting;

上述软键盘排序方式通过排序系统实现,所述排序系统包括:随机数产生模块,用于当文本输入框接收到用户的触发时,按照预先设定的约束条件,对随机算法进行约束,产生随机数,所述文本输入框与软键盘相关联;The above-mentioned soft keyboard sorting method is realized by a sorting system, and the sorting system includes: a random number generating module, which is used to constrain the random algorithm according to the preset constraint conditions when the text input box receives the trigger from the user, and generate a random number. number, the text input box is associated with the soft keyboard;

排序模块,用于利用所述随机数,对数组内存储的按键进行排序,所述数组为预先创建的,用于存储软键盘中的按键;a sorting module, configured to use the random number to sort the keys stored in the array, and the array is pre-created and used to store the keys in the soft keyboard;

显示模块,用于按照所述排序,在软键盘中显示所述按键。The display module is used for displaying the keys in the soft keyboard according to the sorting.

在另外的实施例中,本基于OA的工资条部署方法,还包括回溯运营方法,具体流程为:In another embodiment, the OA-based salary slip deployment method further includes a retrospective operation method, and the specific process is:

A1、当员工在所述OA服务器的工资条查询页面调用所述工资条时,所述OA服务器对该调用行为进行记录并生成OA日志;A1, when the employee calls the salary slip on the salary slip query page of the OA server, the OA server records the calling behavior and generates an OA log;

A2、当所述OA服务器将员工数据发送至所述薪资服务器时,所述薪资服务器生成薪资日志;A2. When the OA server sends employee data to the salary server, the salary server generates a salary log;

A3、对比所述OA日志和所述薪资日志的数量,若所述OA日志和所述薪资日志的数量不一致,发出警告。A3. Compare the quantity of the OA log and the salary log, and issue a warning if the quantity of the OA log and the salary log are inconsistent.

所述对比所述OA日志和所述薪资日志包括:The comparing the OA log and the salary log includes:

若所述OA日志和所述薪资日志的数量一致,执行所述OA服务器和所述薪资服务器交互方法流程;If the numbers of the OA log and the salary log are the same, execute the process of the interaction method between the OA server and the salary server;

若所述OA日志和所述薪资日志的数量一致,还包括:邮件通知运维部门。If the number of the OA log and the salary log is the same, the method further includes: notifying the operation and maintenance department by email.

作为本实施例中OA日志和薪资日志对比的可选方案,采用日志对比系统进行OA日志和薪资日志对比,所述日志对比系统包括日志收集模块、日志存储模块、日志分析模块和日志特征库,其中,所述日志收集模块与所述日志存储模块相耦接,用于读取应用程序产生的原始日志,并将所述原始日志写入到所述日志存储模块中;As an optional solution for comparing the OA log and the salary log in this embodiment, a log comparison system is used to compare the OA log and the salary log, and the log comparison system includes a log collection module, a log storage module, a log analysis module and a log feature library, Wherein, the log collection module is coupled to the log storage module, and is used to read the original log generated by the application program, and write the original log into the log storage module;

所述日志存储模块分别与所述日志收集模块和所述日志分析模块相耦接,用于存储所述日志收集模块写入的所述原始日志和所述日志分析模块返回的所述加工后的日志;The log storage module is respectively coupled to the log collection module and the log analysis module, and is used to store the original log written by the log collection module and the processed log returned by the log analysis module. log;

所述日志分析模块分别与所述日志存储模块和所述日志特征库相耦接,用于从所述日志存储模块中读取所述原始日志,并提取所述原始日志内容中的特征词,将所述特征词与所述日志特征库中存储的关键词进行比对分析;当所述日志特征库中含有与所述特征词相同的所述关键词时,将所述原始日志中的所述特征词进行高亮显示,并将所述日志特征库中所述关键词所对应的提示信息写入所述原始日志中,成为所述加工后的日志,将所述加工后的日志存储到所述日志存储模块中;所述日志分析模块采用异步处理方式处理所述原始日志;The log analysis module is respectively coupled to the log storage module and the log feature library, and is configured to read the original log from the log storage module, and extract the feature words in the original log content, Compare and analyze the feature word with the keywords stored in the log feature library; when the log feature library contains the same keyword as the feature word, compare all the keywords in the original log. The feature words are highlighted, and the prompt information corresponding to the keywords in the log feature library is written into the original log to become the processed log, and the processed log is stored in the In the log storage module; the log analysis module processes the original log in an asynchronous processing manner;

所述日志特征库与所述日志分析模块相耦接,用于存储日志特征信息和提示信息;所述提示信息包括日志错误分析与原因和修改建议;所述日志特征信息包括日志常出现的错误问题关键词库、关键词对应的原因和推荐解决方案;The log feature library is coupled to the log analysis module, and is used to store log feature information and prompt information; the prompt information includes log error analysis and causes and modification suggestions; the log feature information includes log frequently occurring errors The problem keyword database, the reasons corresponding to the keywords and the recommended solutions;

当检索结果为所述加工后的日志时,点击所述加工后的日志中的高亮特征词,显示提示信息,当所述日志分析模块从所述日志存储模块中读取所述原始日志,并提取所述原始日志内容中的特征词,将所述特征词与所述日志特征库中存储的关键词进行比对分析;当所述日志特征库中不含有与所述特征词相同的关键词时,对所述原始日志不做处理;当用日志查询模块从所述日志存储模块中检索到所述原始日志后,即可查看所述原始日志。When the retrieval result is the processed log, click the highlighted feature word in the processed log to display prompt information, and when the log analysis module reads the original log from the log storage module, And extract the feature words in the original log content, and compare and analyze the feature words with the keywords stored in the log feature library; when the log feature library does not contain the same key as the feature word When the word is entered, the original log is not processed; after the original log is retrieved from the log storage module by the log query module, the original log can be viewed.

上述实施例对本申请基于OA的工资条实现部署方法进行了描述,下面对本申请基于OA的工资条实现部署系统进行描述,基于OA的工资条实现部署系统,所述系统包括:OA服务器、薪资服务器及客户端;The above-mentioned embodiment describes the implementation and deployment method of the salary slip based on OA of the present application. The following describes the implementation and deployment system of the salary slip based on OA of the present application. The deployment system based on the salary slip of OA includes: OA server, salary server and client;

员工在所述客户端通过员工账号登录所述OA服务器,在工资条查询页面输入二级密码;The employee logs in to the OA server through the employee account on the client, and enters the secondary password on the salary slip query page;

所述OA服务器对所述二级密码进行核对,所述OA服务器对二级密码进行核对的过程包括:The OA server checks the secondary password, and the process for the OA server to check the secondary password includes:

当所述二级密码核对正确,所述OA服务器将公钥加密后的员工数据传输至所述薪资服务器,以使得所述薪资服务器将接收的员工数据使用公钥解密后对应生成员工工资条,并将生成的所述员工工资条私钥加密后回传至所述OA服务器;所述OA服务器向所述客户端反馈所述员工账号对应的工资条;When the secondary password is checked correctly, the OA server transmits the employee data encrypted with the public key to the payroll server, so that the payroll server decrypts the received employee data with the public key and generates a corresponding employee pay slip, and encrypting the generated private key of the employee salary slip and sending it back to the OA server; the OA server feeds back the salary slip corresponding to the employee account to the client;

当所述二级密码核对错误且错误次数小于规定次数,提示重新输入;When the secondary password is checked incorrectly and the number of errors is less than the specified number of times, prompting to re-enter;

当所述二级密码核对错误且错误次数大于规定次数,对所述员工账号进行锁定。When the secondary password is checked incorrectly and the number of errors is greater than a specified number of times, the employee account is locked.

可选的,具体还包括:Optionally, it also includes:

当所述员工账号在工资条查询页面调用所述工资条时,所述OA服务器对该调用行为进行记录并生成OA日志;When the employee account calls the salary slip on the salary slip query page, the OA server records the calling behavior and generates an OA log;

当所述OA服务器将员工数据发送至所述薪资服务器时,所述薪资服务器生成薪资日志;When the OA server sends employee data to the payroll server, the payroll server generates a payroll log;

对比所述OA日志和所述薪资日志的数量,若所述OA日志和所述薪资日志的数量不一致,发出警告。Compare the numbers of the OA logs and the salary logs, and issue a warning if the numbers of the OA logs and the salary logs are inconsistent.

可选的,所述对比所述OA日志和所述薪资日志包括:Optionally, the comparing the OA log and the salary log includes:

若所述OA日志和所述薪资日志的数量一致,执行所述OA服务器和所述薪资服务器交互方法流程;If the numbers of the OA log and the salary log are the same, execute the process of the interaction method between the OA server and the salary server;

若所述OA日志和所述薪资日志的数量不一致之后,还包括:If the numbers of the OA log and the salary log are inconsistent, further include:

邮件通知运维部门管理账号。Email notification to the operation and maintenance department to manage the account.

可选的,还包括:Optionally, also include:

所述客户端向所述OA服务器发送工资条查询请求,所述工资条查询请求包括所述员工账户与密码;The client sends a salary slip query request to the OA server, and the salary slip query request includes the employee account and password;

所述OA服务器根据所述工资条查询请求向所述薪资服务器转发;The OA server forwards the query request to the salary server according to the salary slip;

所述薪资服务器验证所述员工账户与密码正确后返回加密的所述员工工资条至所述OA服务器;The salary server returns the encrypted employee salary slip to the OA server after verifying that the employee account and password are correct;

所述OA服务器将解密后的所述员工工资条发送至所述客户端;The OA server sends the decrypted employee salary slip to the client;

所述客户端展示所述员工工资条。The client displays the employee pay slip.

可选的,所述OA服务器与所述薪资服务器为两台独立的电脑,所述薪资服务器对内仅与所述OA服务器通讯连接,所述薪资服务器对外仅与银行服务系统网络连接。Optionally, the OA server and the payroll server are two independent computers, the payroll server only communicates with the OA server internally, and the payroll server is only connected to the network of the banking service system externally.

可选的,还包括:Optionally, also include:

所述薪资服务器判断所有外接端口的连接状态;The salary server judges the connection status of all external ports;

当发现外接端口的连接状态存在移动存储设备时,发出警告。When a removable storage device is found in the connection status of the external port, a warning is issued.

可选的,当发现外接端口的连接状态存在移动存储设备时,还包括:Optionally, when it is found that there is a removable storage device in the connection state of the external port, the method further includes:

拒绝在所述移动存储设备读取或写入数据,并形成警报日志。Refuse to read or write data on the mobile storage device, and form an alarm log.

可选的,所述OA服务器中存储加密的所述员工工资条;Optionally, the encrypted employee salary slip is stored in the OA server;

所述OA服务器所处的电脑设有登录密码,所述登录密码为pin+token,其中所述pin指定运维管理账号具有管理权限,所述token指定薪资管理员账号具有管理权限。The computer where the OA server is located is provided with a login password, and the login password is pin+token, wherein the pin specifies that the operation and maintenance management account has management authority, and the token specifies that the salary administrator account has management authority.

可选的,所述薪资服务器中存储的所述员工工资条均经过RSA公钥加密后再存于数据库,所述RSA公钥对应的解密私钥存储于所述薪资服务器中的预设文件中。Optionally, the employee salary slips stored in the payroll server are encrypted with the RSA public key and then stored in the database, and the decrypted private key corresponding to the RSA public key is stored in a preset file in the payroll server. .

下面对本申请实施例的计算机设备进行描述,请参阅图5,本申请实施例中计算机设备的一个实施例包括:The computer device in the embodiment of the present application will be described below. Please refer to FIG. 5. An example of the computer device in the embodiment of the present application includes:

该计算机设备500可以包括一个或一个以上处理器(central processing units,CPU)501和存储器502,该存储器502中存储有一个或一个以上的应用程序或数据。其中,存储器502是易失性存储或持久存储。存储在存储器502的程序可以包括一个或一个以上模块,每个模块可以包括对计算机设备中的一系列指令操作。更进一步地,处理器501可以设置为与存储器502通信,在计算机设备500上执行存储器502中的一系列指令操作。计算机设备500还可以包括一个或一个以上无线网络接口503,一个或一个以上输入输出接口504,和/或,一个或一个以上操作系统,例如Windows Server,Mac OS,Unix,Linux,FreeBSD等。该处理器501可以执行前述图1至图4所示实施例中所执行的操作,具体此处不再赘述。The computer device 500 may include one or more processors (central processing units, CPU) 501 and a memory 502 in which one or more application programs or data are stored. Among them, the memory 502 is volatile storage or persistent storage. A program stored in memory 502 may include one or more modules, each of which may include a series of instructions to operate on a computer device. Still further, the processor 501 may be arranged to communicate with the memory 502 to execute a series of instruction operations in the memory 502 on the computer device 500 . Computer device 500 may also include one or more wireless network interfaces 503, one or more input-output interfaces 504, and/or, one or more operating systems, such as Windows Server, Mac OS, Unix, Linux, FreeBSD, and the like. The processor 501 may perform the operations performed in the foregoing embodiments shown in FIG. 1 to FIG. 4 , and details are not repeated here.

在本申请实施例所提供的几个实施例中,本领域技术人员应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,该单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,read-only memory)、随机存取存储器(RAM,random accessmemory)、磁碟或者光盘等各种可以存储程序代码的介质。In the several embodiments provided by the embodiments of the present application, those skilled in the art should understand that the disclosed systems, devices and methods may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be combined or Integration into another system, or some features can be ignored, or not implemented. In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units. The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in the various embodiments of the present application. The aforementioned storage medium includes: U disk, removable hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), magnetic disk or optical disk and other media that can store program codes.

以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内所作的任何修改、等同替换或改进等,均应包含在本申请的保护范围之内。The above descriptions are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements or improvements made within the spirit and principles of the present application shall be included in the protection of the present application. within the range.

Claims (10)

1.一种基于OA的工资条部署方法,其特征在于,所述方法应用的系统包括:OA服务器、薪资服务器及客户端;1. a salary slip deployment method based on OA, is characterized in that, the system of described method application comprises: OA server, salary server and client; 员工在所述客户端通过员工账号登录所述OA服务器,在工资条查询页面输入二级密码;The employee logs in to the OA server through the employee account on the client, and enters the secondary password on the salary slip query page; 所述OA服务器对所述二级密码进行核对,所述OA服务器对二级密码进行核对的过程包括:The OA server checks the secondary password, and the process for the OA server to check the secondary password includes: 当所述二级密码核对正确,所述OA服务器将公钥加密后的请求参数传输至所述薪资服务器,以使得所述薪资服务器将接收的请求参数使用对应的私钥解密后对应生成所述员工的员工工资条,并将生成的所述员工工资条私钥加密后回传至所述OA服务器;所述OA服务器使用所述公钥对加密的所述员工工资条解密后向所述客户端反馈;When the secondary password is checked correctly, the OA server transmits the request parameters encrypted by the public key to the payroll server, so that the payroll server decrypts the received request parameters with the corresponding private key and generates the corresponding The employee salary slip of the employee, and encrypts the generated private key of the employee salary slip and sends it back to the OA server; the OA server decrypts the encrypted employee salary slip using the public key and sends it to the client end feedback; 当所述二级密码核对错误且错误次数小于规定次数,提示重新输入;When the secondary password is checked incorrectly and the number of errors is less than the specified number of times, prompting to re-enter; 当所述二级密码核对错误且错误次数大于规定次数,对所述员工账号进行锁定。When the secondary password is checked incorrectly and the number of errors is greater than a specified number of times, the employee account is locked. 2.根据权利要求1所述的一种基于OA的工资条部署方法,其特征在于,还包括:2. a kind of OA-based salary slip deployment method according to claim 1, is characterized in that, also comprises: 当所述员工账号在工资条查询页面调用所述工资条时,所述OA服务器对该调用行为进行记录并生成OA日志;When the employee account calls the salary slip on the salary slip query page, the OA server records the calling behavior and generates an OA log; 当所述OA服务器将员工数据发送至所述薪资服务器时,所述薪资服务器生成薪资日志;When the OA server sends employee data to the payroll server, the payroll server generates a payroll log; 对比所述OA日志和所述薪资日志的数量,若所述OA日志和所述薪资日志的数量不一致,发出警告。Compare the numbers of the OA logs and the salary logs, and issue a warning if the numbers of the OA logs and the salary logs are inconsistent. 3.根据权利要求2所述的一种基于OA的工资条部署方法,其特征在于,所述对比所述OA日志和所述薪资日志包括:3. a kind of OA-based salary slip deployment method according to claim 2, is characterized in that, described comparing described OA log and described salary log comprises: 若所述OA日志和所述薪资日志的数量一致,执行所述OA服务器和所述薪资服务器交互方法流程;If the numbers of the OA log and the salary log are the same, execute the process of the interaction method between the OA server and the salary server; 若所述OA日志和所述薪资日志的数量不一致之后,所述方法还包括:If the numbers of the OA log and the salary log are inconsistent, the method further includes: 邮件通知运维部门管理账号。Email notification to the operation and maintenance department to manage the account. 4.根据权利要求1所述的一种基于OA的工资条部署方法,其特征在于,所述OA服务器与所述薪资服务器为两台独立的电脑,所述薪资服务器对内仅与所述OA服务器通讯连接。4. The OA-based payroll deployment method according to claim 1, wherein the OA server and the payroll server are two independent computers, and the payroll server only internally communicates with the OA. Server communication connection. 5.根据权利要求4所述的一种基于OA的工资条部署方法,其特征在于,还包括:5. a kind of OA-based salary slip deployment method according to claim 4, is characterized in that, also comprises: 所述薪资服务器判断所有外接端口的连接状态;The salary server judges the connection status of all external ports; 当发现外接端口的连接状态存在移动存储设备时,发出警告。When a removable storage device is found in the connection status of the external port, a warning is issued. 6.根据权利要求5所述的一种基于OA的工资条部署方法,其特征在于,当发现外接端口的连接状态存在移动存储设备时,还包括:6. a kind of OA-based payroll deployment method according to claim 5, is characterized in that, when discovering that the connection state of external port exists mobile storage device, also comprises: 拒绝在所述移动存储设备读取或写入数据,并形成警报日志。Refuse to read or write data on the mobile storage device, and form an alarm log. 7.根据权利要求4所述的一种基于OA的工资条实现部署方法,其特征在于,所述薪资服务器中存储加密的所述员工工资条;7. a kind of OA-based payroll implementation deployment method according to claim 4, is characterized in that, the described employee payroll of encryption is stored in described payroll server; 所述薪资服务器所处的电脑设有登录密码,所述登录密码为pin+token,其中所述pin指定运维管理账号具有管理权限,所述token指定薪资管理员账号具有管理权限。The computer where the salary server is located is provided with a login password, and the login password is pin+token, wherein the pin specifies that the operation and maintenance management account has management authority, and the token specifies that the salary administrator account has management authority. 8.根据权利要求4所述的一种基于OA的工资条部署方法,其特征在于,所述薪资服务器中存储的所述员工工资条均经过RSA公钥加密后再存于数据库,所述RSA公钥对应的解密私钥存储于所述薪资服务器中的预设文件中。8. a kind of OA-based salary slip deployment method according to claim 4, is characterized in that, described employee salary slip stored in described salary server is all stored in database after RSA public key encryption, described RSA The decrypted private key corresponding to the public key is stored in a preset file in the payroll server. 9.一种基于OA的工资条部署系统,其特征在于,包括:OA服务器、薪资服务器及客户端;9. A salary slip deployment system based on OA, characterized in that, comprising: OA server, salary server and client; 员工在所述客户端通过员工账号登录所述OA服务器,在工资条查询页面输入二级密码;The employee logs in to the OA server through the employee account on the client, and enters the secondary password on the salary slip query page; 所述OA服务器对所述二级密码进行核对,所述OA服务器对二级密码进行核对的过程包括:The OA server checks the secondary password, and the process for the OA server to check the secondary password includes: 当所述二级密码核对正确,所述OA服务器将公钥加密后的请求参数传输至所述薪资服务器,以使得所述薪资服务器将接收的请求参数使用对应的私钥解密后对应生成所述员工的员工工资条,并将生成的所述员工工资条私钥加密后回传至所述OA服务器;所述OA服务器使用所述公钥对加密的所述员工工资条解密后向所述客户端反馈;When the secondary password is checked correctly, the OA server transmits the request parameters encrypted by the public key to the payroll server, so that the payroll server decrypts the received request parameters with the corresponding private key and generates the corresponding The employee salary slip of the employee, and encrypts the generated private key of the employee salary slip and sends it back to the OA server; the OA server decrypts the encrypted employee salary slip using the public key and sends it to the client end feedback; 当所述二级密码核对错误且错误次数小于规定次数,提示重新输入;When the secondary password is checked incorrectly and the number of errors is less than the specified number of times, prompting to re-enter; 当所述二级密码核对错误且错误次数大于规定次数,对所述员工账号进行锁定。When the secondary password is checked incorrectly and the number of errors is greater than a specified number of times, the employee account is locked. 10.一种计算机设备,其特征在于,包括:10. A computer equipment, characterized in that, comprising: 处理器、存储器、总线、输入输出接口、无线网络接口;Processor, memory, bus, input and output interface, wireless network interface; 所述处理器通过总线与所述存储器、所述输入输出接口、所述无线网络接口相连;The processor is connected with the memory, the input and output interface, and the wireless network interface through a bus; 所述存储器中存储有计算机可读程序;A computer-readable program is stored in the memory; 所述处理器执行所述存储器中存储的所述计算机可读程序时,实现前述权1至权8中所述客户端、所述OA服务器或所述薪资服务器执行的任意一项所述基于OA的工资条部署方法。When the processor executes the computer-readable program stored in the memory, it implements any one of the OA-based OA-based programs executed by the client, the OA server or the payroll server in the foregoing claims 1 to 8. The payslip deployment method.
CN202210036982.4A 2022-01-13 2022-01-13 OA-based payroll allocation method and related device Pending CN114385997A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210036982.4A CN114385997A (en) 2022-01-13 2022-01-13 OA-based payroll allocation method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210036982.4A CN114385997A (en) 2022-01-13 2022-01-13 OA-based payroll allocation method and related device

Publications (1)

Publication Number Publication Date
CN114385997A true CN114385997A (en) 2022-04-22

Family

ID=81200866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210036982.4A Pending CN114385997A (en) 2022-01-13 2022-01-13 OA-based payroll allocation method and related device

Country Status (1)

Country Link
CN (1) CN114385997A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187300A (en) * 2015-08-26 2015-12-23 河南智业科技发展有限公司 Method for sending payroll through PC end and mobile end
CN109039859A (en) * 2018-07-17 2018-12-18 成都泰盟软件有限公司 A kind of wage information-pushing method based on payroll statistics table
CN109981655A (en) * 2019-03-29 2019-07-05 富士施乐实业发展(中国)有限公司 A kind of method and device transmitted, receive information
CN110427254A (en) * 2019-07-05 2019-11-08 深圳壹账通智能科技有限公司 Task processing method, device, equipment and computer readable storage medium
CN111597425A (en) * 2020-05-15 2020-08-28 西安大唐电信有限公司 Mobile terminal service system and method for querying security wages of unified standard cloud-side network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187300A (en) * 2015-08-26 2015-12-23 河南智业科技发展有限公司 Method for sending payroll through PC end and mobile end
CN109039859A (en) * 2018-07-17 2018-12-18 成都泰盟软件有限公司 A kind of wage information-pushing method based on payroll statistics table
CN109981655A (en) * 2019-03-29 2019-07-05 富士施乐实业发展(中国)有限公司 A kind of method and device transmitted, receive information
CN110427254A (en) * 2019-07-05 2019-11-08 深圳壹账通智能科技有限公司 Task processing method, device, equipment and computer readable storage medium
CN111597425A (en) * 2020-05-15 2020-08-28 西安大唐电信有限公司 Mobile terminal service system and method for querying security wages of unified standard cloud-side network

Similar Documents

Publication Publication Date Title
US7540018B2 (en) Data security for digital data storage
US8762713B2 (en) User authentication system and method for encryption and decryption
US6185681B1 (en) Method of transparent encryption and decryption for an electronic document management system
US6981141B1 (en) Transparent encryption and decryption with algorithm independent cryptographic engine that allows for containerization of encrypted files
US8544110B2 (en) Sensitive data aliasing
US8381287B2 (en) Trusted records using secure exchange
US8666065B2 (en) Real-time data encryption
JP5833146B2 (en) Apparatus and method for preventing leakage of confidential data
US20070169174A1 (en) User authentication for computer systems
US20040199778A1 (en) Method and system for increasing the accuracy and security of data capture from a paper form
Longley Data security
US7808664B2 (en) Approach for securely printing electronic documents
US20060279768A1 (en) Approach for securely printing electronic documents
CN105740725A (en) File protection method and system
CN118395461A (en) Database data encryption and decryption method, system, electronic equipment and storage medium
Mattsson A practical implementation of transparent encryption and separation of duties in enterprise databases: protection against external and internal attacks on databases
CN114385997A (en) OA-based payroll allocation method and related device
Kubariev et al. The Research on Methods for Generating Random Passwords
CN101957895A (en) A system and method for external authority control and management of electronic files
Mattsson Transparent Encryption and Separation of Duties for Enterprise Databases-A Solution for Field Level Privacy in Databases
Birmé Document Management System Security
Aitchison et al. Encryption

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