WO2019085126A1 - Display method, device and apparatus for financial application interface, and storage medium - Google Patents

Display method, device and apparatus for financial application interface, and storage medium Download PDF

Info

Publication number
WO2019085126A1
WO2019085126A1 PCT/CN2017/113779 CN2017113779W WO2019085126A1 WO 2019085126 A1 WO2019085126 A1 WO 2019085126A1 CN 2017113779 W CN2017113779 W CN 2017113779W WO 2019085126 A1 WO2019085126 A1 WO 2019085126A1
Authority
WO
WIPO (PCT)
Prior art keywords
watermark
information
user
interface
financial app
Prior art date
Application number
PCT/CN2017/113779
Other languages
French (fr)
Chinese (zh)
Inventor
梁永健
杨雨芬
陈宝花
谭志杰
邓俊俊
赵媛媛
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019085126A1 publication Critical patent/WO2019085126A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/106Enforcing content protection by specific content processing
    • G06F21/1063Personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/16Program or content traceability, e.g. by watermarking
    • 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/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/606Protecting data by securing the transmission between two devices or processes

Definitions

  • the present application belongs to the technical field of financial APP interface display, and more particularly to a display method, device, device and storage medium for a financial APP interface.
  • financial APP usually adds the watermark of the company LOGO to increase the security of the data, and can play a certain traceability role when the data is illegally transmitted.
  • the general financial APP is registered, as long as the input user information meets certain requirements, such as the user name is not repeated and the password length is sufficient, it can be stored in the user database of the APP, and the legality of the financial APP user cannot be guaranteed.
  • the embodiment of the present invention provides a method, a device, a device, and a storage medium for displaying a financial APP interface, which are used to solve the problem in the prior art that the illegal transmitter cannot be accurately determined and the legality of the financial APP user cannot be guaranteed.
  • the first aspect of the present application provides a method for displaying a financial APP interface, including the following steps:
  • the second aspect of the present application provides a display device of a financial APP interface, where the display device of the financial APP interface includes:
  • a user information association module configured to acquire an address of the user information database, and associate with the user information database
  • the user information judging module is configured to acquire login information of the user when the user logs in to the financial application, and determine whether the login information exists in the user information database, when the login information does not exist in the user information. In the database, refuse to log in to the financial APP;
  • a watermark information display module configured to generate watermark information according to the login information, and embed the watermark information into an interface of the financial APP to generate a watermark interface if the login information exists in the user information database data.
  • a third aspect of the present application provides a terminal device including a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, the processor executing the computer readable instructions Implement the following steps:
  • a fourth aspect of the present application provides a computer readable storage medium storing computer readable instructions that, when executed by a processor, implement the following steps:
  • the application provides a method, a device, a device and a storage medium for displaying a financial APP interface.
  • FIG. 1 is a flowchart of a method for displaying a financial APP interface according to an embodiment of the present application
  • FIG 2 is another flow chart of the embodiment shown in Figure 1;
  • FIG. 3 is a flowchart of a method for displaying a financial APP interface according to another embodiment of the present application.
  • FIG. 4 is a flowchart of a method for displaying a financial APP interface according to another embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a display apparatus of a financial APP interface according to another embodiment of the present application.
  • Figure 6 is another schematic structural view of the embodiment shown in Figure 5;
  • FIG. 7 is a schematic structural diagram of a terminal device according to another embodiment of the present disclosure.
  • Financial APP includes APPs used by companies in the financial sector such as banks, securities, insurance, trusts, etc. Since the data involved in these APPs is very important, how to prevent illegal transmission of data is a problem that every company is very concerned about, and it must be guaranteed by users. Legitimacy, in case data is illegally transmitted, it is necessary to trace the illegally transmitted data and recover the company's losses.
  • FIG. 1 is a flowchart of a method for displaying a financial APP interface provided by an embodiment of the present application.
  • the display method of the financial APP interface includes the following steps:
  • Step S100 Acquire an address of the user information database and associate with the user information database.
  • the user information database is a third-party database of the financial APP, which can be obtained by inputting the user's input address, or can be obtained by network access or downloading connection information according to the company name input by the user, and the user information database is associated with the financial APP as a background.
  • the database is managed by the company using the financial APP.
  • the information of the employee is entered into the user information database.
  • the employee leaves the company the employee who has left the job is deleted from the user information database. , to protect the update status of the user information database.
  • the employee's information includes the username and password of the employee using the financial APP.
  • the association between the user information database and the financial APP is related through the address of the database.
  • the user information database of Company A is associated with the financial APP through the database address of Company A
  • the user information database of Company B is passed the database address and financial of Company B.
  • APP association when the employee of Company A logs in to the financial APP, the APP is associated with the user information database of Company A.
  • the employee of Company B logs in to the APP
  • the APP is associated with the user information database of Company B.
  • Step S101 When the user logs in to the financial APP, the login information of the user is obtained.
  • the financial APP When the user logs in to the financial APP through the login interface of the financial APP, the financial APP obtains the information input by the user, specifically, the user name and password input by the user on the login interface of the financial APP, and is used for comparison with the associated user information database.
  • Step S102 determining whether the login information exists in the user information database.
  • the financial APP After obtaining the information input by the user, the financial APP compares with the user information database of the company selected by the user, and if the user login information has unique data corresponding to the user information database, it is determined to exist in the user information database.
  • the user is a legitimate user of the company; if the user login information has no data corresponding to the user information database, it is determined that the user login information does not exist in the user information database, and the user is an illegal user of the company or does not have permission to open the company. user.
  • Step S103 if the login result is that the user information does not exist in the user information database, the financial APP is refused to log in.
  • the login result is that the user information does not exist in the user information database, and the user is determined to be an illegal user or a user who has not opened the permission
  • the user is denied to log in to the financial APP, so that the user cannot obtain the relevant data of the financial APP, and the user is guaranteed.
  • the legality prevents illegal users from obtaining company data and causing losses to the company.
  • Step S104 If the login result is that the user information exists in the user information database, the watermark information is generated according to the login information, and the watermark information is embedded in the interface of the financial APP to generate the interface data with the watermark.
  • the user is determined to be a legitimate user, and the user is allowed to perform a login operation.
  • the financial APP is based on the user's login.
  • the information generates watermark information, wherein the watermark information includes but is not limited to the following ways:
  • the watermark information is generated according to the company information and the user name of the user, the company information is displayed as visible content by the naked eye, and the user name is used as the watermark content, but is invisible to the naked eye.
  • the company's information can be the company's short name or LOGO, for example: “ ⁇ company”, so that when users use the APP, they only see the company's information, but they can't see the user's information, and avoid the user's active attack on the watermark. If the watermark is blocked, such as after the screen capture, the data is illegally transmitted.
  • step S104 is another flowchart of the method for displaying the financial APP interface provided by the embodiment of the present application. Specifically, embedding the watermark information into the interface of the financial APP in step S104 includes the following steps:
  • Step S1041 generating a tag based on the watermark information.
  • the watermark information is encrypted by a preset key to generate a corresponding watermark ciphertext, and a corresponding label is generated according to the watermark ciphertext.
  • the generated tag includes two parts: a plaintext part and an encrypted part.
  • the plain text part is the company's information, which is directly displayed as plain text. For example, it shows: “ ⁇ company”, based on “ ⁇ company” to generate clear text labels.
  • the encryption part includes: user information such as a user name and a login time, and the watermark information is encrypted according to the preset key, the corresponding watermark ciphertext is obtained, and the corresponding label is generated based on the watermark ciphertext. In this way, the watermark seen by the user is only the plaintext part, but the encrypted part is invisible to the user, which can largely prevent the active attack of the watermark and then illegally transmit the data.
  • the watermark information needs to be encrypted according to a preset key and an encryption algorithm, such as an Advanced Encryption Standard (AES) algorithm, and then passed through an encoding algorithm, such as The Base64 algorithm, etc., encodes, generates a corresponding watermark ciphertext, and then generates a corresponding label based on the watermark ciphertext.
  • AES Advanced Encryption Standard
  • the Base64 algorithm etc.
  • the watermark information when encrypting the user name information “Zhang San”, the watermark information may be encrypted based on the preset key, and then encoded, and a string of watermark ciphertext “ABC” is obtained, and then generated based on the watermark ciphertext.
  • the watermark ciphertext after the watermark information is encrypted, and the watermark information before the encryption cannot be intuitively obtained.
  • the watermark ciphertext can be decoded by a codec algorithm, such as Base64, and then decrypted by an encryption and decryption algorithm, such as an AES algorithm, to obtain a corresponding Watermark information, so that illegal transmitters can be traced.
  • a codec algorithm such as Base64
  • an encryption and decryption algorithm such as an AES algorithm
  • the encrypted watermark information is “CDF”, decoded by a decoding algorithm, decrypted by a decryption algorithm, and the decrypted watermark information is “Li Si”.
  • the transparency of the label can also be set.
  • the user sets the properties of the tag and sets the transparency of the tag to 90%.
  • the user can browse the APP without being affected by the label.
  • step S1042 the label is added to the preset layer.
  • the preset layer is a size suitable for the screen of the user's mobile phone, covering the entire APP interface, and the layer is divided into N ⁇ N areas, and the value of N can be set.
  • the value of N is greater than 3. In this way, it can ensure that the data of each area of the financial APP has watermark information, which plays a role in protecting data security and traceability.
  • the preset layer is divided into 16 regions, that is, the interface equivalent to the financial APP is also divided into 16 regions, and the watermark information is available in the 16 regions, which is difficult for the user. Illegal transmission of data in a certain area by means of screen capture, because at least one complete watermark information is likely to be included in the area of the screen shot.
  • step S1043 the layer and the APP interface data are superimposed and presented.
  • the attribute parameters of the layer may be adjusted first; then, the adjusted layer is placed in the APP boundary. Above the face, the layer and the APP interface are overlapped.
  • At least one or any combination of the following parameters at least one or any combination of the following parameters: layer shape, layer transparency, layer center coordinates, layer rotation angle.
  • the layer's attribute parameters For example, adjust the layer's attribute parameters, set the shape of the layer to a rectangle, the layer's transparency is 80%, the layer's center coordinate is the center of the screen, and the layer's rotation angle is 0 degrees.
  • the desired layer coverage is achieved by setting the position, shape, and transparency of the layer.
  • the adjusted layer is placed above the financial APP interface, so that the layer and the APP interface are overlapped, so that the user can see the layer and the APP interface at the same time.
  • Manner 1 When it is determined that the user instructs to scroll, page, or zoom the APP interface, the position and display content of the layer are kept unchanged.
  • the APP interface scrolls, pages, or zooms, the center coordinates of the layer and the rotation angle of the layer remain unchanged, the number of labels in the layer is always the same, and always according to the preset N ⁇ N.
  • the arrangement is arranged so that the labels in the layer can always cover the screen in a preset N ⁇ N arrangement.
  • Manner 2 When it is determined that the user instructs to scroll or page through the APP interface, the layer and the APP interface are synchronously scrolled and paged, and the number of labels currently displayed in the layer is detected, and based on the detection result, N is adopted. ⁇ N arrangement mode, the label in the layer is additionally added; when it is determined that the user instructs to zoom the APP interface, the layer and the APP interface are synchronously scaled, and the number of labels currently displayed in the layer is detected. Based on the detection result, the labels in the layer are added in an N ⁇ N arrangement.
  • the labels in the layer are arranged in a 4 ⁇ 4 square matrix, and the layer size is set to the size of the entire screen.
  • the layer and the APP interface are scrolled synchronously, and the layer is layered.
  • the number of labels currently displayed in the layer is detected.
  • the number of labels in the layer is less than 4 ⁇ 4, the number of remaining labels in the layer is 3 ⁇ 4, and 4 labels are added to the figure by 4 ⁇ 4 arrangement.
  • the number of tags is restored to 16; for example: when determining the user indicates the right
  • the number of remaining labels in the layer is 0*0
  • 16 labels are added to the corresponding position in the layer by 4 ⁇ 4 arrangement
  • the number of labels is restored to 16
  • the number of remaining labels in the layer is 3 ⁇ 3, and then 7 labels are added to the corresponding positions in the layer by using a 4 ⁇ 4 arrangement.
  • the labels displayed in the layer are always arranged in an N ⁇ N arrangement, which ensures the coverage of the labels on the financial APP interface in the layer.
  • the watermark information is embedded into the financial APP interface, so that the APP interface data and the watermark are combined to prevent the APP interface data from being illegally transmitted.
  • the method for displaying the financial APP interface provided by the embodiment of the present application, by comparing the user login information with the APP-associated user information database, rejects the illegal user, ensures the legality of the financial APP user, and, according to the user information
  • the watermark information is generated, and the watermark information is generated by using the key to generate the plaintext and ciphertext watermark information into the APP interface, so that the user can only see the plaintext watermark information, thereby reducing the possibility that the watermark is damaged by the attack, in case If the data is illegally transmitted, the source of the illegal transmitter can be traced, and the security of the financial APP interface data is improved.
  • the watermark information on the interface data is decrypted, the user information of the watermark is extracted, and the user information is checked whether the user right meets the usage authority. If the permission is used, the user is prohibited from forwarding the data. If the usage rights are met, the interface data is decrypted and the user is allowed to perform the forwarding operation.
  • the APP interface data In the actual application of the financial APP, in order to communicate on the work and the like, the APP interface data needs to be forwarded, for example, the APP interface data is forwarded to the mail or other communication tools; in addition, the data of the financial APP interface is directed to different users.
  • the operation rights are different. Ordinary users, that is, ordinary employees do not have the right to forward data. Advanced users with supervisor level or higher have the right to forward data; or employees of each branch of the company can view data information of the whole company, but Only the company's segment information can be forwarded.
  • Shenzhen branch For example, if a company has a Shenzhen branch and a Guangzhou branch, then an employee of the Shenzhen branch can view the data of the Shenzhen branch and the data of the Guangzhou branch, but only for Shenzhen. The data of the branch is forwarded.
  • FIG. 3 is a flowchart of a method for displaying a financial APP interface provided by an embodiment of the present application. Specifically, the forwarding operation of the monitoring user includes the following steps:
  • step S200 the user requests to forward the financial APP interface data.
  • the user can select the forwarding instruction in the financial APP interface.
  • the financial APP receives the instruction that the user requests to forward the financial APP interface data.
  • Step S201 extracting watermark information of the financial APP interface.
  • the financial APP When the financial APP receives the instruction that the user requests to forward the financial APP interface data, the financial APP extracts the watermark information in the preset layer, and may decode the watermark ciphertext by using a codec algorithm, such as Base64, and then pass the The encryption and decryption algorithm, such as the AES algorithm, performs decryption to obtain corresponding watermark information.
  • a codec algorithm such as Base64
  • step S202 it is determined whether the user meets the usage right.
  • the user-related information is obtained, and the user level or the company branch is verified. If the user is determined to be an ordinary user or the user's branch and the financial APP interface data belongs to the company. When the department is not at the same time, it is judged that the user does not meet the usage right; if it is determined that the user is an advanced user and is the same as the company branch to which the APP interface data belongs, it is determined that the user meets the usage right.
  • step S203 if the usage right is not met, the forwarding operation of the user is prohibited.
  • the judgment result after extracting the user information is that the user does not meet the usage right, the user is prohibited from performing the forwarding operation, thereby improving the threshold of data security and further improving the security of the financial APP interface data.
  • Step S204 if the usage right is met, the user's forwarding operation is allowed.
  • the user is allowed to perform the forwarding operation, specifically, the data of the financial APP interface is decrypted first, and the permission of the transfer is released, so that the user can forward the data. Operation, bringing convenience to users of financial apps.
  • the method for displaying the financial APP interface avoids the number of APP interfaces that do not meet the usage rights by verifying the permission of a user who requests the forwarding of the financial APP interface data. According to the forwarding operation, the possibility of illegal transmission of data is further reduced. At the same time, it allows the APP users who meet the usage rights to perform the forwarding operation, and can bring the user's work convenience.
  • the embodiment of the present application adds a watermark to the forwarded APP interface data by means of scrambling and encrypting. In case the data is illegally transmitted, the transmitter can be traced.
  • FIG. 4 is a flowchart of a method for displaying a financial APP interface provided by an embodiment of the present application. Specifically, adding watermarks to the forwarded information includes the following steps:
  • Step S300 generating a watermark matrix according to the watermark information.
  • the financial APP when the user performs the forwarding operation, extracts the information of the watermark, and after determining that the user meets the usage right to allow the user to forward the operation, the watermark information is first represented as a matrix before the actual APP interface data is forwarded. The form of the generated watermark matrix.
  • Step S301 generating a thread relationship matrix according to a program corresponding to the interface data of the financial APP.
  • the most appropriate relationship type can be selected according to the situation of the financial APP itself, such as the order of thread execution, and the thread execution process.
  • step S302 the thread relationship matrix is subjected to arnold transformation scrambling processing to generate an out-of-order thread relationship matrix.
  • the thread relationship matrix generated after the financial APP is run is scrambled.
  • the Arnold transform is used to scramble the thread relationship matrix to break up the thread relationship matrix.
  • Step S303 embedding the watermark matrix in the out-of-order thread relationship matrix, performing inverse scrambling processing, and restoring to the sequential thread relationship matrix.
  • Embed the watermark matrix in the out-of-order thread relationship matrix in order to increase the resistance to malicious attacks,
  • the quantization technique is used to make multiple elements in the thread relationship matrix correspond to one element in the watermark matrix, so that even if the elements in the thread relationship matrix are tampered with, the watermark data may not be falsified.
  • the parity of the elements in the four thread relationship matrices corresponding to the value of one element of the embedded watermark. The possibility that the watermark element has a value of 0 or 1 is the same, so half of the four elements may not need to be modified.
  • the out-of-order thread relationship matrix embedded with the software watermark matrix is inversely scrambled and restored to a sequential thread relationship matrix.
  • Step S304 modifying the source code of the financial APP according to the sequential thread relationship matrix, and generating a final program with a watermark.
  • the financial APP Since the watermark matrix is embedded in the thread relationship matrix, the financial APP is modified to reflect the change of the thread relationship matrix, and the two threads affected by the thread relationship matrix are determined by determining the position of the value before and after the watermark is embedded, and then according to the selection.
  • the relationship type modifies the code of the corresponding thread in the financial APP source code, and after completing the modification of the thread corresponding to all the changed elements, the final program after embedding the watermark can be obtained.
  • the display method of the financial APP interface provided by the embodiment of the present application further improves the security of the financial APP data by adding a watermark of the thread relationship to the financial APP information of the forwarding operation, and achieves the purpose of preventing illegal transmission of data.
  • FIG. 5 is a schematic structural diagram of a display device of a financial APP interface provided by an embodiment of the present application.
  • the display device 50 of the financial APP interface includes: a user information association module 501, a user information determination module 502, and a watermark information display module. 503.
  • the user information association module 501 is configured to acquire an address of the user information database and the user information.
  • the database is associated;
  • the user information judging module 502 is configured to acquire login information of the user when the user logs in to the financial APP, and determine whether the login information exists in the user information database, and refuse to log in to the financial APP when the login information does not exist in the user information database. ;
  • the watermark information display module 503 is configured to generate watermark information according to the login information when the login information exists in the user information database, and embed the watermark information into the interface of the financial APP to generate the interface data with the watermark.
  • the watermark information display module 503 is configured to generate watermark information according to the login information, add the watermark information to the preset layer, and overlay the interface of the layer and the financial APP to generate a watermark. Interface data.
  • the watermark information display module 503 is configured to generate watermark information according to the login information, encrypt the watermark information according to the preset key, and add the encrypted watermark information to the preset layer, and the layer is The interface with the financial APP is overlapped to generate interface data with watermarks.
  • FIG. 6 is a schematic diagram of another structure of the display device of the financial APP interface provided by the embodiment of the present application.
  • the display device 50 of the financial APP interface further includes: a watermark information extraction module 504 and a usage authority determination module 505 .
  • the watermark information extraction module 504 is configured to perform decryption processing on the watermark information on the interface data when the user performs a forwarding operation on the financial APP interface data file, and extract the user information of the watermark;
  • the use permission judgment module 505 is configured to determine whether the user information meets the use permission. If the usage right is not met, the user is prohibited from forwarding the data. If the usage right is met, the interface data is decrypted, and the user is allowed to perform the forwarding operation.
  • the display device of the financial APP interface provided by the embodiment of the present application allows the login of the financial APP by determining the user information in the user information database by verifying the login of the financial APP user information, thereby ensuring the legality of the financial APP user.
  • the user information is generated to generate watermark information into the gold.
  • the illegal transmitter can be tracked to protect the data security.
  • Another embodiment of the present application provides a computer readable storage medium having stored thereon computer readable instructions that, when executed by a processor, implement display of a financial APP interface in the above embodiments
  • the method in order to avoid repetition, will not be described here.
  • the computer readable instructions when executed by the processor, the functions of the modules/units in the display device of the financial APP interface in the above embodiments are implemented. To avoid repetition, details are not described herein again.
  • FIG. 7 is a schematic diagram of a terminal device provided by an embodiment of the present application.
  • the terminal device 6 includes a processor 60, a memory 61, and computer readable instructions 62 stored in the memory 61 and executable on the processor 60.
  • the processor 60 executes the computer readable instructions 62 to implement the various steps of the financial product display method of the above-described embodiments, such as steps S100, S101, S102, and S103 shown in FIG.
  • processor 60 when executing computer readable instructions 62, implements the functions of the various modules/units of the display device of the financial APP interface in the above-described embodiments.
  • computer readable instructions 62 may be partitioned into one or more modules/units, one or more modules/units being stored in memory 61 and executed by processor 60 to complete the application.
  • the one or more modules/units may be a series of computer readable instruction segments capable of performing a particular function for describing the execution of computer readable instructions 62 in the terminal device 6.
  • computer readable instructions 62 may be partitioned into user information association module 501, user information determination module 502, and watermark information display module 503 as shown in FIG.
  • the terminal device 6 can be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the terminal device may include, but is not limited to, the processor 60, the memory 61. It will be understood by those skilled in the art that FIG. 7 is only an example of the terminal device 6, and does not constitute a limitation of the terminal device 6, and may include more or less components than those illustrated, or combine some components, or different components.
  • the terminal device may further include an input/output device, a network access device, a bus, and the like.
  • the so-called processor 60 may be a central processing unit (CPU), or may be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 61 may be an internal storage unit of the terminal device 6, such as a hard disk or a memory of the terminal device 6.
  • the memory 61 may also be an external storage device of the terminal device 6, such as a plug-in hard disk provided on the terminal device 6, a smart memory card (SMC), a Secure Digital (SD) card, and a flash memory card (Flash). Card) and so on.
  • the memory 61 may also include both an internal storage unit of the terminal device 6 and an external storage device.
  • the memory 61 is used to store computer readable instructions and other programs and data required by the terminal device.
  • the memory 61 can also be used to temporarily store data that has been output or is about to be output.
  • the terminal device 6 can be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the terminal device may include, but is not limited to, the processor 60, the memory 61. It will be understood by those skilled in the art that FIG. 7 is only an example of the terminal device 6, and does not constitute a limitation of the terminal device 6, and may include more or less components than those illustrated, or combine some components, or different components.
  • the terminal device may further include an input/output device, a network access device, a bus, and the like.
  • the so-called processor 60 may be a central processing unit (CPU), or may be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 61 may be an internal storage unit of the terminal device 6, such as a hard disk or a memory of the terminal device 6.
  • the memory 61 may also be an external storage device of the terminal device 6, such as that provided on the terminal device 6. Plug-in hard drives, Smart Memory Cards (SMC), Secure Digital (SD) cards, Flash Cards, etc. Further, the memory 61 may also include both an internal storage unit of the terminal device 6 and an external storage device.
  • the memory 61 is used to store computer readable instructions and other programs and data required by the terminal device.
  • the memory 61 can also be used to temporarily store data that has been output or is about to be output.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated modules/units if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium.
  • the present application implements all or part of the processes in the foregoing embodiments, and may also be implemented by computer readable instructions, which may be stored in a computer readable storage medium.
  • the computer readable instructions when executed by a processor, may implement the steps of the various method embodiments described above.
  • the computer readable instructions comprise computer readable instruction code, which may be in the form of source code, an object code form, an executable file or some intermediate form or the like.
  • the computer readable medium can include any entity or device capable of carrying the computer readable instruction code, a recording medium, a USB flash drive, a removable hard drive, a magnetic disk, an optical disk, a computer memory, a read only memory (ROM, Read-Only) Memory), random access memory (RAM), electrical carrier signals, telecommunications signals, and software distribution media.
  • a recording medium a USB flash drive
  • a removable hard drive a magnetic disk, an optical disk
  • a computer memory a read only memory (ROM, Read-Only) Memory
  • RAM random access memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Storage Device Security (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The present invention relates to the field of display techniques for financial application interfaces. Provided are a display method, device and apparatus for a financial application interface, and a storage medium. The display method comprises: acquiring an address of a user information database, and associating with the user information database; when a user logs into a financial application, acquiring login information of the user, and determining whether the login information exists in the user information database; if the login information does not exist in the user information database, rejecting a login request for the financial application; and if the login information exists in the user information database, generating watermark information according to the login information, and inserting the watermark information into an interface of the financial application to generate interface data containing a watermark. The invention ensures the validity of a user using a financial application. Upon occurrence of unauthorized transmission of data of the financial application, a person committing the unauthorized transmission can be traced.

Description

金融APP界面的显示方法、装置、设备及存储介质Display method, device, device and storage medium of financial APP interface
本专利申请以2017年10月30日提交的申请号为201711052046.8,名称为“金融APP界面的显示方法、装置、设备及存储介质”的中国发明专利申请为基础,并要求其优先权。This patent application is based on the Chinese invention patent application filed on October 30, 2017, with the application number of 201711052046.8, entitled "Display method, device, device and storage medium for financial APP interface", and requires priority.
技术领域Technical field
本申请属于金融APP界面显示技术领域,更具体地说,是涉及一种金融APP界面的显示方法、装置、设备及存储介质。The present application belongs to the technical field of financial APP interface display, and more particularly to a display method, device, device and storage medium for a financial APP interface.
背景技术Background technique
现在工作上的方式越来越多样化,由于手机的便携性,使应用手机APP来进行工作上的信息获取和交流成为常态,相应的,金融APP是一种涉及金融财经方面的APP,金融APP界面的数据一般都有很高的机密性,因此,如何加强金融APP的数据安全成为了一项重要的课题。Nowadays, the way of working is more and more diversified. Due to the portability of mobile phones, it is normal to use mobile app to carry out information acquisition and communication at work. Correspondingly, financial APP is an APP involving financial and financial aspects, financial APP. The data of the interface generally has high confidentiality. Therefore, how to strengthen the data security of financial APP has become an important issue.
目前金融APP通常会加入公司LOGO的水印来增加数据的安全性,在数据被非法传输时能起到一定的溯源的作用,但是,无法精确地确定具体的非法传输者。况且,一般的金融APP注册时,只要输入的用户信息符合一定的要求,如用户名不重复并且密码长度足够,就可以存储在APP的用户数据库中,不能保证金融APP用户的合法性。At present, financial APP usually adds the watermark of the company LOGO to increase the security of the data, and can play a certain traceability role when the data is illegally transmitted. However, it is impossible to accurately determine the specific illegal transmitter. Moreover, when the general financial APP is registered, as long as the input user information meets certain requirements, such as the user name is not repeated and the password length is sufficient, it can be stored in the user database of the APP, and the legality of the financial APP user cannot be guaranteed.
发明内容Summary of the invention
本申请实施例提供一种金融APP界面的显示方法、装置、设备及存储介质,用以解决现有技术中无法精确确定非法传输者以及无法保证使用金融APP用户的合法性的问题。 The embodiment of the present invention provides a method, a device, a device, and a storage medium for displaying a financial APP interface, which are used to solve the problem in the prior art that the illegal transmitter cannot be accurately determined and the legality of the financial APP user cannot be guaranteed.
本申请实施例是这样实现的:The embodiment of the present application is implemented as follows:
本申请第一方面提供一种金融APP界面的显示方法,包括以下步骤:The first aspect of the present application provides a method for displaying a financial APP interface, including the following steps:
获取用户信息数据库的地址,并与所述用户信息数据库进行关联;Obtaining an address of the user information database and associating with the user information database;
当用户登陆所述金融APP时,获取用户的登录信息,并判断所述登录信息是否存在于所述用户信息数据库中;When the user logs in to the financial application, acquiring login information of the user, and determining whether the login information exists in the user information database;
若所述登录信息不存在于所述用户信息数据库中时,则拒绝登陆所述金融APP;If the login information does not exist in the user information database, refusing to log in to the financial APP;
若所述登录信息存在于所述用户信息数据库中时,则根据所述登录信息生成水印信息,将所述水印信息嵌入到所述金融APP的界面中生成具有水印的界面数据。If the login information exists in the user information database, generate watermark information according to the login information, and embed the watermark information into an interface of the financial APP to generate interface data with a watermark.
本申请第二方面提供一种金融APP界面的显示装置,所述金融APP界面的显示装置包括:The second aspect of the present application provides a display device of a financial APP interface, where the display device of the financial APP interface includes:
用户信息关联模块,用于获取用户信息数据库的地址,并与所述用户信息数据库进行关联;a user information association module, configured to acquire an address of the user information database, and associate with the user information database;
用户信息判断模块,当用户登陆所述金融APP时,用于获取用户的登录信息,并判断所述登录信息是否存在于所述用户信息数据库中,当所述登录信息不存在于所述用户信息数据库中时,则拒绝登陆所述金融APP;The user information judging module is configured to acquire login information of the user when the user logs in to the financial application, and determine whether the login information exists in the user information database, when the login information does not exist in the user information. In the database, refuse to log in to the financial APP;
水印信息显示模块,若所述登录信息存在于所述用户信息数据库中时,用于根据所述登录信息生成水印信息,将所述水印信息嵌入到所述金融APP的界面中生成具有水印的界面数据。a watermark information display module, configured to generate watermark information according to the login information, and embed the watermark information into an interface of the financial APP to generate a watermark interface if the login information exists in the user information database data.
本申请第三方面提供一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:A third aspect of the present application provides a terminal device including a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, the processor executing the computer readable instructions Implement the following steps:
获取用户信息数据库的地址,并与所述用户信息数据库进行关联;Obtaining an address of the user information database and associating with the user information database;
当用户登陆所述金融APP时,获取用户的登录信息,并判断所述登录信息是否存在于所述用户信息数据库中; When the user logs in to the financial application, acquiring login information of the user, and determining whether the login information exists in the user information database;
若所述登录信息不存在于所述用户信息数据库中时,则拒绝登陆所述金融APP;If the login information does not exist in the user information database, refusing to log in to the financial APP;
若所述登录信息存在于所述用户信息数据库中时,则根据所述登录信息生成水印信息,将所述水印信息嵌入到所述金融APP的界面中生成具有水印的界面数据。If the login information exists in the user information database, generate watermark information according to the login information, and embed the watermark information into an interface of the financial APP to generate interface data with a watermark.
本申请第四方面提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如下步骤:A fourth aspect of the present application provides a computer readable storage medium storing computer readable instructions that, when executed by a processor, implement the following steps:
获取用户信息数据库的地址,并与所述用户信息数据库进行关联;Obtaining an address of the user information database and associating with the user information database;
当用户登陆所述金融APP时,获取用户的登录信息,并判断所述登录信息是否存在于所述用户信息数据库中;When the user logs in to the financial application, acquiring login information of the user, and determining whether the login information exists in the user information database;
若所述登录信息不存在于所述用户信息数据库中时,则拒绝登陆所述金融APP;If the login information does not exist in the user information database, refusing to log in to the financial APP;
若所述登录信息存在于所述用户信息数据库中时,则根据所述登录信息生成水印信息,将所述水印信息嵌入到所述金融APP的界面中生成具有水印的界面数据。If the login information exists in the user information database, generate watermark information according to the login information, and embed the watermark information into an interface of the financial APP to generate interface data with a watermark.
本申请提供一种金融APP界面的显示方法、装置、设备及存储介质,通过对登陆金融APP用户信息的校验,当判定用户信息数据库中存在该用户信息时,才允许登陆金融APP,保证了金融APP用户的合法性,同时将用户信息生成水印信息加入到金融APP中,万一数据遭到非法传输,则可以对非法传输者进行追踪,达到保护数据安全的目的。The application provides a method, a device, a device and a storage medium for displaying a financial APP interface. By verifying the information of the login financial APP user, when it is determined that the user information exists in the user information database, the financial APP is allowed to be logged in, and the user is guaranteed. The legality of the financial APP user, and the user information generated watermark information is added to the financial APP. In case the data is illegally transmitted, the illegal transmitter can be tracked to protect the data security.
附图说明DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only the present application. For some embodiments, other drawings may be obtained from those of ordinary skill in the art in light of the inventive workability.
图1是本申请一实施例提供的金融APP界面的显示方法的流程图;1 is a flowchart of a method for displaying a financial APP interface according to an embodiment of the present application;
图2是图1所示实施例的另一流程图;Figure 2 is another flow chart of the embodiment shown in Figure 1;
图3是本申请又一实施例提供的金融APP界面的显示方法的流程图;3 is a flowchart of a method for displaying a financial APP interface according to another embodiment of the present application;
图4是本申请又一实施例提供的金融APP界面的显示方法的流程图;4 is a flowchart of a method for displaying a financial APP interface according to another embodiment of the present application;
图5是本申请又一实施例提供的金融APP界面的显示装置的结构示意图;FIG. 5 is a schematic structural diagram of a display apparatus of a financial APP interface according to another embodiment of the present application; FIG.
图6是图5所示实施例的另一结构示意图;Figure 6 is another schematic structural view of the embodiment shown in Figure 5;
图7是本申请又一实施例提供的终端设备的结构示意图。FIG. 7 is a schematic structural diagram of a terminal device according to another embodiment of the present disclosure.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the objects, technical solutions, and advantages of the present application more comprehensible, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.
金融APP包括银行、证券、保险、信托等金融领域公司所使用的APP,由于这些APP涉及的数据非常重要,因此,如何防止数据被非法传输是各个公司都十分关注的问题,必须要保证用户的合法性,万一数据遭到非法传输,需要对非法传输的数据进行溯源,挽回公司的损失。Financial APP includes APPs used by companies in the financial sector such as banks, securities, insurance, trusts, etc. Since the data involved in these APPs is very important, how to prevent illegal transmission of data is a problem that every company is very concerned about, and it must be guaranteed by users. Legitimacy, in case data is illegally transmitted, it is necessary to trace the illegally transmitted data and recover the company's losses.
请参考图1,其示出了本申请实施例提供的金融APP界面的显示方法的流程图,所述金融APP界面的显示方法包括以下步骤:Please refer to FIG. 1 , which is a flowchart of a method for displaying a financial APP interface provided by an embodiment of the present application. The display method of the financial APP interface includes the following steps:
步骤S100.获取用户信息数据库的地址,并与用户信息数据库进行关联。Step S100. Acquire an address of the user information database and associate with the user information database.
用户信息数据库为金融APP的第三方数据库,可以通过用户输入地址进行获取,也可以根据用户输入的公司名称进行联网获取或者下载连接信息进行获取,将用户信息数据库与金融APP关联在一起,作为后台的数据库,由使用金融APP的公司进行管理,当有新入职员工时,将该入职员工的信息录入到该用户信息数据库中,当有员工离职时,将离职的员工从该用户信息数据库中删除,保护该用户信息数据库的更新状态。The user information database is a third-party database of the financial APP, which can be obtained by inputting the user's input address, or can be obtained by network access or downloading connection information according to the company name input by the user, and the user information database is associated with the financial APP as a background. The database is managed by the company using the financial APP. When there is a new employee, the information of the employee is entered into the user information database. When the employee leaves the company, the employee who has left the job is deleted from the user information database. , to protect the update status of the user information database.
其中,员工的信息包括员工使用金融APP的用户名和密码。 Among them, the employee's information includes the username and password of the employee using the financial APP.
用户信息数据库与金融APP的关联是通过数据库的地址进行关联的,例如,甲公司的用户信息数据库通过甲公司的数据库地址与金融APP关联,乙公司的用户信息数据库通过乙公司的数据库地址与金融APP关联,当甲公司员工登陆金融APP时,APP关联的是甲公司的用户信息数据库,当乙公司员工登陆APP时,APP关联的是乙公司的用户信息数据库。The association between the user information database and the financial APP is related through the address of the database. For example, the user information database of Company A is associated with the financial APP through the database address of Company A, and the user information database of Company B is passed the database address and financial of Company B. APP association, when the employee of Company A logs in to the financial APP, the APP is associated with the user information database of Company A. When the employee of Company B logs in to the APP, the APP is associated with the user information database of Company B.
步骤S101,当用户登陆金融APP时,获取用户的登陆信息。Step S101: When the user logs in to the financial APP, the login information of the user is obtained.
用户通过金融APP的登陆界面登陆金融APP时,金融APP获取用户输入的信息,具体为获取用户在金融APP的登陆界面输入的用户名和密码,用于与关联的用户信息数据库进行比对。When the user logs in to the financial APP through the login interface of the financial APP, the financial APP obtains the information input by the user, specifically, the user name and password input by the user on the login interface of the financial APP, and is used for comparison with the associated user information database.
步骤S102,判断登陆信息是否存在于用户信息数据库中。Step S102, determining whether the login information exists in the user information database.
金融APP获取用户输入的信息后,与用户所选择的公司的用户信息数据库进行比较,若用户登陆信息在用户信息数据库中有唯一的数据与之对应时,则判断为存在于用户信息数据库中,用户为该公司的合法用户;若用户登陆信息在用户信息数据库中无数据与之对应时,则判断为不存在于用户信息数据库中,用户为该公司的非法用户或未在该公司开通权限的用户。After obtaining the information input by the user, the financial APP compares with the user information database of the company selected by the user, and if the user login information has unique data corresponding to the user information database, it is determined to exist in the user information database. The user is a legitimate user of the company; if the user login information has no data corresponding to the user information database, it is determined that the user login information does not exist in the user information database, and the user is an illegal user of the company or does not have permission to open the company. user.
步骤S103,若登陆判断结果为用户信息不存在于用户信息数据库中时,拒绝登陆金融APP。Step S103, if the login result is that the user information does not exist in the user information database, the financial APP is refused to log in.
具体的,若登陆判断结果为用户信息不存在于用户信息数据库中时,判断用户为非法用户或未开通权限的用户,则拒绝用户登陆金融APP,使用户无法获取金融APP的相关数据,保证用户的合法性,防止非法用户获取公司的数据资料,给公司造成损失。Specifically, if the login result is that the user information does not exist in the user information database, and the user is determined to be an illegal user or a user who has not opened the permission, the user is denied to log in to the financial APP, so that the user cannot obtain the relevant data of the financial APP, and the user is guaranteed. The legality prevents illegal users from obtaining company data and causing losses to the company.
步骤S104,若登陆判断结果为用户信息存在于用户信息数据库中时根据登陆信息生成水印信息,将水印信息嵌入到金融APP的界面中生成具有水印的界面数据。Step S104: If the login result is that the user information exists in the user information database, the watermark information is generated according to the login information, and the watermark information is embedded in the interface of the financial APP to generate the interface data with the watermark.
具体的,若登陆判断结果为用户信息存在于用户信息数据库中时,判断用户为合法用户,允许用户进行登陆操作,登陆成功后金融APP根据用户的登陆 信息生成水印信息,其中,水印信息包含但不限于以下几种方式:Specifically, if the login result is that the user information exists in the user information database, the user is determined to be a legitimate user, and the user is allowed to perform a login operation. After the login is successful, the financial APP is based on the user's login. The information generates watermark information, wherein the watermark information includes but is not limited to the following ways:
1.根据用户的公司信息和用户名生成水印信息,公司信息作为肉眼可以辨识的显示内容,而用户名作为水印内容,但肉眼不可见。公司的信息可以是公司的简称或者是LOGO,例如:“××公司”,这样,用户在使用APP时,只是看到公司的信息,但看不到用户的信息,避免用户对水印主动进行攻击如截屏后涂改等方式遮挡水印的信息再进行数据的非法传输。1. The watermark information is generated according to the company information and the user name of the user, the company information is displayed as visible content by the naked eye, and the user name is used as the watermark content, but is invisible to the naked eye. The company's information can be the company's short name or LOGO, for example: “×× company”, so that when users use the APP, they only see the company's information, but they can't see the user's information, and avoid the user's active attack on the watermark. If the watermark is blocked, such as after the screen capture, the data is illegally transmitted.
2.根据用户的公司信息、用户名和登陆时间生成水印信息,公司信息作为肉眼可以辨识的显示内容,而用户名和登陆时间作为水印内容,但肉眼不可见。这样对水印进行提取时,还可以提取到用户的登陆时间信息,帮助对非法传输数据进行追踪溯源,提高溯源的效率和精度。2. Generate watermark information according to the user's company information, user name and login time. The company information is displayed as visible to the naked eye, and the user name and login time are used as watermark content, but the naked eye is not visible. In this way, when the watermark is extracted, the user's login time information can also be extracted, which helps to trace and trace the illegally transmitted data, thereby improving the efficiency and accuracy of traceability.
请参考图2,其示出了本申请实施例提供的金融APP界面的显示方法的另一流程图,具体的,步骤S104中将水印信息嵌入到金融APP的界面包括以下步骤:Please refer to FIG. 2, which is another flowchart of the method for displaying the financial APP interface provided by the embodiment of the present application. Specifically, embedding the watermark information into the interface of the financial APP in step S104 includes the following steps:
步骤S1041,根据水印信息生成标签。Step S1041, generating a tag based on the watermark information.
通过预设密钥对水印信息进行加密处理,生成相应的水印密文,根据水印密文生成相应的标签。The watermark information is encrypted by a preset key to generate a corresponding watermark ciphertext, and a corresponding label is generated according to the watermark ciphertext.
具体的,生成的标签包括两个部分:明文部分和加密部分。明文部分为公司的信息,直接显示为明文,如显示:“××公司”,基于“××公司”生成明文标签。加密部分包括:用户名和登陆时间等这些用户信息,基于预设密钥,对水印信息进行加密处理,获取相应的水印密文,并基于水印密文生成相应的标签。这样用户看到的水印只是明文部分,但加密部分用户看不到,可以在很大程度上阻止针对水印的主动攻击再进行数据的非法传输。Specifically, the generated tag includes two parts: a plaintext part and an encrypted part. The plain text part is the company's information, which is directly displayed as plain text. For example, it shows: “×× company”, based on “×× company” to generate clear text labels. The encryption part includes: user information such as a user name and a login time, and the watermark information is encrypted according to the preset key, the corresponding watermark ciphertext is obtained, and the corresponding label is generated based on the watermark ciphertext. In this way, the watermark seen by the user is only the plaintext part, but the encrypted part is invisible to the user, which can largely prevent the active attack of the watermark and then illegally transmit the data.
实际应用中,获取的水印信息若需要保密,则需要基于预设密钥,通过加密算法,如高级加密标准(Advanced Encryption Standard,AES)算法,对水印信息进行加密处理,然后通过编码算法,如Base64算法等,进行编码,生成相应的水印密文,然后,基于水印密文生成相应的标签。这样,用户在浏览文件的 时候,无法直观地通过显示的标签获知加密前的水印信息,达到水印加密的目的。In practical applications, if the obtained watermark information needs to be kept secret, the watermark information needs to be encrypted according to a preset key and an encryption algorithm, such as an Advanced Encryption Standard (AES) algorithm, and then passed through an encoding algorithm, such as The Base64 algorithm, etc., encodes, generates a corresponding watermark ciphertext, and then generates a corresponding label based on the watermark ciphertext. In this way, the user is browsing the file At that time, it is impossible to intuitively know the watermark information before encryption through the displayed label, and the purpose of watermark encryption is achieved.
例如:对用户名信息“张三”进行加密时,可以基于预设密钥,对水印信息进行加密,然后进行编码处理,得到一串字符串水印密文“ABC”,再基于水印密文生成相应的标签,用户在使用APP的时候看到的是水印信息加密后的水印密文,无法直观的获知加密前的水印信息。For example, when encrypting the user name information “Zhang San”, the watermark information may be encrypted based on the preset key, and then encoded, and a string of watermark ciphertext “ABC” is obtained, and then generated based on the watermark ciphertext. Corresponding tags, when the user uses the APP, the watermark ciphertext after the watermark information is encrypted, and the watermark information before the encryption cannot be intuitively obtained.
万一数据受到非法传输,需要对水印的信息进行提取时,可以按将水印密文通过编解码算法,如Base64,进行解码,然后,通过加解密算法,如AES算法,进行解密,获得相应的水印信息,这样,就可以对非法传输者进行溯源。In case the data is illegally transmitted and needs to extract the information of the watermark, the watermark ciphertext can be decoded by a codec algorithm, such as Base64, and then decrypted by an encryption and decryption algorithm, such as an AES algorithm, to obtain a corresponding Watermark information, so that illegal transmitters can be traced.
例如,加密后的水印信息为“CDF”,通过解码算法解码,解密算法解密,获取解密后的水印信息为“李四”。For example, the encrypted watermark information is “CDF”, decoded by a decoding algorithm, decrypted by a decryption algorithm, and the decrypted watermark information is “Li Si”.
进一步地,在生成标签的过程中,还可以设置标签的透明度。Further, in the process of generating the label, the transparency of the label can also be set.
例如:用户设置标签的属性,设置标签的透明度位90%。For example, the user sets the properties of the tag and sets the transparency of the tag to 90%.
通过设置标签的透明度,使用户可以在浏览APP的时候,不受到标签的影响。By setting the transparency of the label, the user can browse the APP without being affected by the label.
步骤S1042,将标签加入到预设的图层中。In step S1042, the label is added to the preset layer.
其中,预设的图层为与用户手机屏幕相适应的大小,覆盖整个APP界面,图层分为N×N个区域,N的取值可以设定,优选的,N的取值大于3,这样,就可以保证金融APP每个区域的数据都有水印的信息,起到保护数据安全和溯源的作用。The preset layer is a size suitable for the screen of the user's mobile phone, covering the entire APP interface, and the layer is divided into N×N areas, and the value of N can be set. Preferably, the value of N is greater than 3. In this way, it can ensure that the data of each area of the financial APP has watermark information, which plays a role in protecting data security and traceability.
例如,N取值为4,则预设的图层分为16个区域,即相当于金融APP的界面也被分为16个区域,在这16个区域中都有水印的信息,用户很难通过截屏的方式对某一区域的数据进行非法传输,因为在截屏的区域中很可能包括了至少1个完整的水印信息。For example, if the value of N is 4, the preset layer is divided into 16 regions, that is, the interface equivalent to the financial APP is also divided into 16 regions, and the watermark information is available in the 16 regions, which is difficult for the user. Illegal transmission of data in a certain area by means of screen capture, because at least one complete watermark information is likely to be included in the area of the screen shot.
步骤S1043,将图层与APP界面数据重叠呈现。In step S1043, the layer and the APP interface data are superimposed and presented.
具体的,可以先调整图层的属性参数;然后,将调整后的图层置于APP界 面的上方,使图层和APP界面重叠呈现。Specifically, the attribute parameters of the layer may be adjusted first; then, the adjusted layer is placed in the APP boundary. Above the face, the layer and the APP interface are overlapped.
其中,调整图层的属性参数时,至少调整以下参数中的一种或任意组合:图层形状、图层透明度、图层中心坐标、图层旋转角度。In the adjustment of the layer's attribute parameters, at least one or any combination of the following parameters: layer shape, layer transparency, layer center coordinates, layer rotation angle.
例如,调整图层的属性参数,设置图层的形状为长方形,图层的透明度80%,图层的中心坐标为屏幕中心,图层的旋转角度为0度。For example, adjust the layer's attribute parameters, set the shape of the layer to a rectangle, the layer's transparency is 80%, the layer's center coordinate is the center of the screen, and the layer's rotation angle is 0 degrees.
通过设置图层的位置,形状以及透明度等,达到想要的图层覆盖效果。The desired layer coverage is achieved by setting the position, shape, and transparency of the layer.
另外,将调整后的图层置于金融APP界面的上方,使图层和APP界面重叠呈现,这样,用户可以同时看到图层和APP界面。In addition, the adjusted layer is placed above the financial APP interface, so that the layer and the APP interface are overlapped, so that the user can see the layer and the APP interface at the same time.
进一步地,当确定用户指示对APP界面进行滚动、翻页或缩放操作时,为保证标签始终覆盖金融APP界面,可以采用但不限于以下两种方式:Further, when it is determined that the user instructs to scroll, page, or zoom the APP interface, in order to ensure that the label always covers the financial APP interface, the following two methods may be adopted:
方式一:当确定用户指示对APP界面进行滚动、翻页或缩放操作时,保持图层的位置及显示内容不变。Manner 1: When it is determined that the user instructs to scroll, page, or zoom the APP interface, the position and display content of the layer are kept unchanged.
采用方式一,当APP界面滚动、翻页或缩放时,图层的中心坐标和图层的旋转角度保持不变,图层中的标签的数量始终不变,并且始终按照预设的N×N排列方式排列,使图层中的标签始终能够按照预设的N×N排列方式覆盖屏幕。In the first mode, when the APP interface scrolls, pages, or zooms, the center coordinates of the layer and the rotation angle of the layer remain unchanged, the number of labels in the layer is always the same, and always according to the preset N×N. The arrangement is arranged so that the labels in the layer can always cover the screen in a preset N×N arrangement.
方式二:当确定用户指示对APP界面进行滚动或翻页操作时,将图层与APP界面进行同步滚动、翻页,并对图层中当前显示的标签数目进行检测,基于检测结果,采用N×N排列方式,对图层中的标签进行补充添加;当确定用户指示对APP界面进行缩放操作时,将图层与APP界面进行同步缩放,并对图层中当前显示的标签数目进行检测,基于检测结果,采用N×N排列方式,对图层中的标签进行补充添加。Manner 2: When it is determined that the user instructs to scroll or page through the APP interface, the layer and the APP interface are synchronously scrolled and paged, and the number of labels currently displayed in the layer is detected, and based on the detection result, N is adopted. ×N arrangement mode, the label in the layer is additionally added; when it is determined that the user instructs to zoom the APP interface, the layer and the APP interface are synchronously scaled, and the number of labels currently displayed in the layer is detected. Based on the detection result, the labels in the layer are added in an N×N arrangement.
例如:图层中标签采用4×4的方阵方式排列,图层大小设定为整个屏幕的大小,当确定用户指示对APP界面进行滚动操作时,图层与APP界面同步滚动,对图层中当前显示的标签数目进行检测,当图层中标签数目小于4×4时,如图层中剩余标签数目为3×4,将4个标签,采用4×4的排列方式,补充添加到图层中相应的位置,将标签数目恢复至16个;又例如:当确定用户指示对 APP界面进行翻页操作时,图层中剩余标签数目为0*0,则将16个标签,采用4×4的排列方式,补充添加到图层中相应的位置,将标签数目恢复至16个;又例如,当确定用户指示对APP界面进行放大操作时,图层中剩余标签数目为3×3,则将7个标签,采用4×4的排列方式,补充添加到图层中相应的位置。For example, the labels in the layer are arranged in a 4×4 square matrix, and the layer size is set to the size of the entire screen. When it is determined that the user instructs to scroll the APP interface, the layer and the APP interface are scrolled synchronously, and the layer is layered. The number of labels currently displayed in the layer is detected. When the number of labels in the layer is less than 4×4, the number of remaining labels in the layer is 3×4, and 4 labels are added to the figure by 4×4 arrangement. The corresponding position in the layer, the number of tags is restored to 16; for example: when determining the user indicates the right When the APP interface performs the page turning operation, the number of remaining labels in the layer is 0*0, then 16 labels are added to the corresponding position in the layer by 4×4 arrangement, and the number of labels is restored to 16 For example, when it is determined that the user instructs to perform an enlargement operation on the APP interface, the number of remaining labels in the layer is 3×3, and then 7 labels are added to the corresponding positions in the layer by using a 4×4 arrangement. .
采用方式二,图层中显示的标签始终按照N×N排列方式排列,保证了图层中标签对金融APP界面的覆盖率。In the second mode, the labels displayed in the layer are always arranged in an N×N arrangement, which ensures the coverage of the labels on the financial APP interface in the layer.
通过以上三个步骤,将水印信息嵌入到金融APP界面中,使APP界面数据与水印结合在一起,起到了防止APP界面数据被非法传输的目的。Through the above three steps, the watermark information is embedded into the financial APP interface, so that the APP interface data and the watermark are combined to prevent the APP interface data from being illegally transmitted.
本申请实施例提供的金融APP界面的显示方法,通过对用户登陆信息与APP关联用户信息数据库的比较,将非法用户拒之门外,保证了金融APP用户的合法性,同时,根据用户的信息生成水印信息,并通过密钥将水印的信息生成明文和密文两部分水印信息嵌入到APP界面中,使用户只能看到明文水印信息,减少了水印受到攻击而破坏的可能性,万一数据被非法传输,则可以对非法传输者进行溯源,提高了金融APP界面数据的安全性。The method for displaying the financial APP interface provided by the embodiment of the present application, by comparing the user login information with the APP-associated user information database, rejects the illegal user, ensures the legality of the financial APP user, and, according to the user information The watermark information is generated, and the watermark information is generated by using the key to generate the plaintext and ciphertext watermark information into the APP interface, so that the user can only see the plaintext watermark information, thereby reducing the possibility that the watermark is damaged by the attack, in case If the data is illegally transmitted, the source of the illegal transmitter can be traced, and the security of the financial APP interface data is improved.
在前一实施例的基础上,当用户对金融APP界面数据文件进行转发操作时,对界面数据上的水印信息进行解密处理,提取水印的用户信息,核对用户信息是否符合使用权限,若不符合使用权限,则禁止用户对数据进行转发操作,若符合使用权限,解密界面数据,允许用户进行转发操作。On the basis of the previous embodiment, when the user forwards the financial APP interface data file, the watermark information on the interface data is decrypted, the user information of the watermark is extracted, and the user information is checked whether the user right meets the usage authority. If the permission is used, the user is prohibited from forwarding the data. If the usage rights are met, the interface data is decrypted and the user is allowed to perform the forwarding operation.
在金融APP的实际应用中,为了工作上的交流等原因,需要对APP界面数据进行转发操作,例如将APP界面数据转发到邮件或者其他通讯工具中;另外,金融APP界面的数据针对不同用户的操作权限是不同的,普通用户即一般的员工没有转发数据的权限,高级用主管级以上的用户才有转发数据的权限;又或者公司每个分部的员工可以查看全公司的数据信息,但只能对公司的分部信息进行转发操作。例如,某公司有深圳分部和广州分部,那么,深圳分部的某员工既可以查看深圳分部的数据又可以查看广州分部的数据,但只能对深圳 分部的数据进行转发操作。In the actual application of the financial APP, in order to communicate on the work and the like, the APP interface data needs to be forwarded, for example, the APP interface data is forwarded to the mail or other communication tools; in addition, the data of the financial APP interface is directed to different users. The operation rights are different. Ordinary users, that is, ordinary employees do not have the right to forward data. Advanced users with supervisor level or higher have the right to forward data; or employees of each branch of the company can view data information of the whole company, but Only the company's segment information can be forwarded. For example, if a company has a Shenzhen branch and a Guangzhou branch, then an employee of the Shenzhen branch can view the data of the Shenzhen branch and the data of the Guangzhou branch, but only for Shenzhen. The data of the branch is forwarded.
请参考图3,其示出了本申请实施例提供的金融APP界面的显示方法的流程图,具体的,监控用户的转发操作包括以下步骤:Please refer to FIG. 3 , which is a flowchart of a method for displaying a financial APP interface provided by an embodiment of the present application. Specifically, the forwarding operation of the monitoring user includes the following steps:
步骤S200,用户要求对金融APP界面数据进行转发操作。In step S200, the user requests to forward the financial APP interface data.
用户根据自己的需要,可以在金融APP界面选择转发的指令,此时金融APP收到用户要求转发金融APP界面数据的指令。According to their own needs, the user can select the forwarding instruction in the financial APP interface. At this time, the financial APP receives the instruction that the user requests to forward the financial APP interface data.
步骤S201,提取金融APP界面的水印信息。Step S201, extracting watermark information of the financial APP interface.
当金融APP接收到用户要求转发金融APP界面数据的指令时,金融APP对预设图层中的水印信息进行提取,可以按将水印密文通过编解码算法,如Base64,进行解码,然后,通过加解密算法,如AES算法,进行解密,获得相应的水印信息。When the financial APP receives the instruction that the user requests to forward the financial APP interface data, the financial APP extracts the watermark information in the preset layer, and may decode the watermark ciphertext by using a codec algorithm, such as Base64, and then pass the The encryption and decryption algorithm, such as the AES algorithm, performs decryption to obtain corresponding watermark information.
步骤S202,判断用户是否符合使用权限。In step S202, it is determined whether the user meets the usage right.
具体的,获取了水印信息之后,也就获取了用户相关的信息,对用户的级别或公司分部进行校验,若判断用户为普通用户或用户的分部与金融APP界面数据所属的公司分部不同时,则判断用户不符合使用权限;若判断用户为高级用户和与APP界面数据所属公司分部相同时,则判断用户符合使用权限。Specifically, after the watermark information is acquired, the user-related information is obtained, and the user level or the company branch is verified. If the user is determined to be an ordinary user or the user's branch and the financial APP interface data belongs to the company. When the department is not at the same time, it is judged that the user does not meet the usage right; if it is determined that the user is an advanced user and is the same as the company branch to which the APP interface data belongs, it is determined that the user meets the usage right.
步骤S203,不符合使用权限,则禁止用户的转发操作。In step S203, if the usage right is not met, the forwarding operation of the user is prohibited.
具体的,若提取用户信息后的判断结果为用户不符合使用权限时,则禁止用户进行转发操作,这样提高了数据安全的门槛,进一步提高了金融APP界面数据的安全性。Specifically, if the judgment result after extracting the user information is that the user does not meet the usage right, the user is prohibited from performing the forwarding operation, thereby improving the threshold of data security and further improving the security of the financial APP interface data.
步骤S204,符合使用权限,则允许用户的转发操作。Step S204, if the usage right is met, the user's forwarding operation is allowed.
具体的,若提取用户信息后的判断结果为用户符合使用权限时,则允许用户进行转发操作,具体为先对金融APP界面的数据进行解密操作,释放转放的权限,使用户可以进行转发的操作,给金融APP的用户带来使用上的便利。Specifically, if the judgment result after extracting the user information is that the user meets the usage right, the user is allowed to perform the forwarding operation, specifically, the data of the financial APP interface is decrypted first, and the permission of the transfer is released, so that the user can forward the data. Operation, bringing convenience to users of financial apps.
本申请实施例提供的金融APP界面的显示方法,通过对要求转发金融APP界面数据的用户一个权限的验证,避免了不符合使用权限的用户对APP界面数 据进行转发操作,进一步减少了数据被非法传输的可能性。同时,允许符合使用权限的APP用户进行转发操作,又能带给用户工作上的便利。The method for displaying the financial APP interface provided by the embodiment of the present application avoids the number of APP interfaces that do not meet the usage rights by verifying the permission of a user who requests the forwarding of the financial APP interface data. According to the forwarding operation, the possibility of illegal transmission of data is further reduced. At the same time, it allows the APP users who meet the usage rights to perform the forwarding operation, and can bring the user's work convenience.
在前一实施例的基础上,为了对转发之后的数据也进行一个加密,防止数据被非法传输,本申请实施例将用户的信息通过置乱加密的方式对转发的APP界面数据进行一个水印添加,万一数据被非法传输时,可以对传输者进行溯源。On the basis of the previous embodiment, in order to perform an encryption on the data after the forwarding, the data is illegally transmitted. The embodiment of the present application adds a watermark to the forwarded APP interface data by means of scrambling and encrypting. In case the data is illegally transmitted, the transmitter can be traced.
请参考图4,其示出了本申请实施例提供的金融APP界面的显示方法的流程图,具体的,转发的信息添加水印包括以下步骤:Please refer to FIG. 4 , which is a flowchart of a method for displaying a financial APP interface provided by an embodiment of the present application. Specifically, adding watermarks to the forwarded information includes the following steps:
步骤S300,根据水印信息生成水印矩阵。Step S300, generating a watermark matrix according to the watermark information.
在实施例二中,用户进行转发操作时,金融APP会对水印的信息进行提取,在判断用户符合使用权限允许用户转发操作之后,在实际APP界面数据转发出去之前,先将水印信息表示为矩阵的形式,生成水印矩阵。In the second embodiment, when the user performs the forwarding operation, the financial APP extracts the information of the watermark, and after determining that the user meets the usage right to allow the user to forward the operation, the watermark information is first represented as a matrix before the actual APP interface data is forwarded. The form of the generated watermark matrix.
步骤S301,根据金融APP的界面数据对应的程序生成线程关系矩阵。Step S301, generating a thread relationship matrix according to a program corresponding to the interface data of the financial APP.
由于本申请实施例基于金融APP的线程关系,而线程间关系有多种类型,在实际过程中可以根据金融APP本身情况选择最合适的关系类型,如线程执行的先后顺序关系,线程执行过程中的主控制关系等等。为了利用并修改线程间的关系,需要获得金融APP的现有线程关系,通过调试器监测金融APP的执行过程,记录金融APP的线程关系,并对线程关系进行编号,再根据带有编号的线程关系生成线程关系矩阵。Since the embodiment of the present application is based on the thread relationship of the financial APP, and the relationship between threads has multiple types, in the actual process, the most appropriate relationship type can be selected according to the situation of the financial APP itself, such as the order of thread execution, and the thread execution process. The main control relationship and so on. In order to utilize and modify the relationship between threads, it is necessary to obtain the existing thread relationship of the financial APP, monitor the execution process of the financial APP through the debugger, record the thread relationship of the financial APP, and number the thread relationship, and then according to the thread with the number Relationship generation thread relationship matrix.
步骤S302,将线程关系矩阵进行arnold变换置乱处理,生成乱序线程关系矩阵。In step S302, the thread relationship matrix is subjected to arnold transformation scrambling processing to generate an out-of-order thread relationship matrix.
对金融APP运行后生成的线程关系矩阵进行置乱处理,本申请实施例中采用Arnold变换将线程关系矩阵进行置乱处理,打散线程关系矩阵。The thread relationship matrix generated after the financial APP is run is scrambled. In the embodiment of the present application, the Arnold transform is used to scramble the thread relationship matrix to break up the thread relationship matrix.
步骤S303,将水印矩阵嵌入乱序线程关系矩阵中,进行逆置乱处理,还原为顺序线程关系矩阵。Step S303, embedding the watermark matrix in the out-of-order thread relationship matrix, performing inverse scrambling processing, and restoring to the sequential thread relationship matrix.
将水印矩阵嵌入乱序线程关系矩阵中,为了增加对于恶意攻击的抵抗性, 使用量化技术使线程关系矩阵中的多个元素对应水印矩阵中的一个元素,从而线程关系矩阵中的元素即使被篡改,也不一定能够篡改水印数据。本申请实施例中,根据嵌入的水印一个元素的值对应的4个线程关系矩阵中元素的奇偶性。水印元素的值为0或为1的可能性相同,因此这四个元素有一半的可能不需要修改。同时由于线程关系矩阵多属于稀疏矩阵,即线程关系矩阵中大部分值为0,因此即使修改也只需要将这4个元素中的一个0修改为1即可。将嵌入有软件水印矩阵的乱序线程关系矩阵进行逆置乱,恢复成顺序线程关系矩阵。Embed the watermark matrix in the out-of-order thread relationship matrix, in order to increase the resistance to malicious attacks, The quantization technique is used to make multiple elements in the thread relationship matrix correspond to one element in the watermark matrix, so that even if the elements in the thread relationship matrix are tampered with, the watermark data may not be falsified. In the embodiment of the present application, the parity of the elements in the four thread relationship matrices corresponding to the value of one element of the embedded watermark. The possibility that the watermark element has a value of 0 or 1 is the same, so half of the four elements may not need to be modified. At the same time, since the thread relationship matrix mostly belongs to the sparse matrix, that is, most of the values in the thread relationship matrix are 0, so even if the modification, only one of the four elements is required to be changed to 1. The out-of-order thread relationship matrix embedded with the software watermark matrix is inversely scrambled and restored to a sequential thread relationship matrix.
步骤S304,根据顺序线程关系矩阵修改金融APP的源代码,生成具有水印的最终程序。Step S304, modifying the source code of the financial APP according to the sequential thread relationship matrix, and generating a final program with a watermark.
由于在线程关系矩阵中嵌入了水印矩阵,对金融APP进行修改以反映线程关系矩阵的改变,通过确定线程关系矩阵在嵌入水印前后变化的值的位置,确定它影响的两个线程,再根据选择的关系类型修改金融APP源代码中对应线程处代码,完成所有变动元素对应的线程修改后,就可得到嵌入水印后的最终程序。Since the watermark matrix is embedded in the thread relationship matrix, the financial APP is modified to reflect the change of the thread relationship matrix, and the two threads affected by the thread relationship matrix are determined by determining the position of the value before and after the watermark is embedded, and then according to the selection. The relationship type modifies the code of the corresponding thread in the financial APP source code, and after completing the modification of the thread corresponding to all the changed elements, the final program after embedding the watermark can be obtained.
由于金融APP传播过程中的各种常规变化不会对线程关系造成影响,同时用户由于没有软件的源代码,因而不能够完全明确线程间的关系,贸然进行修改会造成金融APP不能正常使用,因而利用基于线程关系的水印有着较高的安全性。Since the various conventional changes in the process of financial APP propagation will not affect the thread relationship, and the user does not have the source code of the software, the user cannot completely clarify the relationship between the threads. The tampering of the modification may result in the financial APP not being used normally. The use of watermarks based on thread relationships has a higher security.
本申请实施例提供的金融APP界面的显示方法,通过对转发操作的金融APP信息添加线程关系的水印,进一步提高了金融APP数据的安全性,达到了防止数据被非法传输的目的。The display method of the financial APP interface provided by the embodiment of the present application further improves the security of the financial APP data by adding a watermark of the thread relationship to the financial APP information of the forwarding operation, and achieves the purpose of preventing illegal transmission of data.
请参考图5,其示出了本申请实施例提供的金融APP界面的显示装置的结构示意图,金融APP界面的显示装置50包括:用户信息关联模块501、用户信息判断模块502和水印信息显示模块503。Please refer to FIG. 5 , which is a schematic structural diagram of a display device of a financial APP interface provided by an embodiment of the present application. The display device 50 of the financial APP interface includes: a user information association module 501, a user information determination module 502, and a watermark information display module. 503.
用户信息关联模块501,用于获取用户信息数据库的地址,并与用户信息 数据库进行关联;The user information association module 501 is configured to acquire an address of the user information database and the user information. The database is associated;
用户信息判断模块502,当用户登陆金融APP时,用于获取用户的登录信息,并判断登录信息是否存在于用户信息数据库中,当登录信息不存在于用户信息数据库中时,则拒绝登陆金融APP;The user information judging module 502 is configured to acquire login information of the user when the user logs in to the financial APP, and determine whether the login information exists in the user information database, and refuse to log in to the financial APP when the login information does not exist in the user information database. ;
水印信息显示模块503,若登录信息存在于用户信息数据库中时,用于根据登录信息生成水印信息,将水印信息嵌入到金融APP的界面中生成具有水印的界面数据。The watermark information display module 503 is configured to generate watermark information according to the login information when the login information exists in the user information database, and embed the watermark information into the interface of the financial APP to generate the interface data with the watermark.
进一步的,一种实施方式中,水印信息显示模块503用于根据登录信息生成水印信息,将水印信息添加至预置的图层中,将图层和金融APP的界面进行重叠呈现生成具有水印的界面数据。Further, in an embodiment, the watermark information display module 503 is configured to generate watermark information according to the login information, add the watermark information to the preset layer, and overlay the interface of the layer and the financial APP to generate a watermark. Interface data.
另一种实施方式中,水印信息显示模块503用于根据登录信息生成水印信息,根据预设密钥对水印信息进行加密,将加密后的水印信息添加至预置的图层中,将图层和金融APP的界面进行重叠呈现生成具有水印的界面数据。In another embodiment, the watermark information display module 503 is configured to generate watermark information according to the login information, encrypt the watermark information according to the preset key, and add the encrypted watermark information to the preset layer, and the layer is The interface with the financial APP is overlapped to generate interface data with watermarks.
请参考图6,其示出本申请实施例提供的金融APP界面的显示装置另一结构示意图,金融APP界面的显示装置50还包括:水印信息提取模块504和使用权限判断模块505。Please refer to FIG. 6 , which is a schematic diagram of another structure of the display device of the financial APP interface provided by the embodiment of the present application. The display device 50 of the financial APP interface further includes: a watermark information extraction module 504 and a usage authority determination module 505 .
水印信息提取模块504,当用户对金融APP界面数据文件进行转发操作时,用于对界面数据上的水印信息进行解密处理,提取水印的用户信息;The watermark information extraction module 504 is configured to perform decryption processing on the watermark information on the interface data when the user performs a forwarding operation on the financial APP interface data file, and extract the user information of the watermark;
使用权限判断模块505,用于判断用户信息是否符合使用权限,若不符合使用权限,则禁止用户对数据进行转发操作,若符合使用权限,解密界面数据,允许用户进行转发操作。The use permission judgment module 505 is configured to determine whether the user information meets the use permission. If the usage right is not met, the user is prohibited from forwarding the data. If the usage right is met, the interface data is decrypted, and the user is allowed to perform the forwarding operation.
上述终端设备中模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。For the specific working process of the module in the foregoing terminal device, reference may be made to the corresponding process in the foregoing method embodiment, and details are not described herein again.
本申请实施例提供的金融APP界面的显示装置,通过对登陆金融APP用户信息的校验,当判定用户信息数据库中存在该用户信息时,才允许登陆金融APP,保证了金融APP用户的合法性,同时将用户信息生成水印信息加入到金 融APP中,万一数据遭到非法传输,则可以对非法传输者进行追踪,达到保护数据安全的目的。The display device of the financial APP interface provided by the embodiment of the present application allows the login of the financial APP by determining the user information in the user information database by verifying the login of the financial APP user information, thereby ensuring the legality of the financial APP user. At the same time, the user information is generated to generate watermark information into the gold. In the APP, if the data is illegally transmitted, the illegal transmitter can be tracked to protect the data security.
本申请另一种实施例提供一计算机可读存储介质,该计算机可读存储介质上存储有计算机可读指令,该计算机可读指令被处理器执行时实现上述实施例中的金融APP界面的显示方法,为避免重复,这里不再赘述。或者,该计算机可读指令被处理器执行时实现上述实施例中金融APP界面的显示装置中各模块/单元的功能,为避免重复,这里不再赘述。Another embodiment of the present application provides a computer readable storage medium having stored thereon computer readable instructions that, when executed by a processor, implement display of a financial APP interface in the above embodiments The method, in order to avoid repetition, will not be described here. Alternatively, when the computer readable instructions are executed by the processor, the functions of the modules/units in the display device of the financial APP interface in the above embodiments are implemented. To avoid repetition, details are not described herein again.
请参考图7,其示出了本申请实施例提供的终端设备的示意图。终端设备6包括处理器60、存储器61以及存储在存储器61中并可在处理器60上运行的计算机可读指令62。处理器60执行计算机可读指令62时实现上述实施例中金融产品显示方法的各个步骤,例如图1所示的步骤S100、S101、S102和S103。或者,处理器60执行计算机可读指令62时实现上述实施例中金融APP界面的显示装置各模块/单元的功能。Please refer to FIG. 7, which is a schematic diagram of a terminal device provided by an embodiment of the present application. The terminal device 6 includes a processor 60, a memory 61, and computer readable instructions 62 stored in the memory 61 and executable on the processor 60. The processor 60 executes the computer readable instructions 62 to implement the various steps of the financial product display method of the above-described embodiments, such as steps S100, S101, S102, and S103 shown in FIG. Alternatively, processor 60, when executing computer readable instructions 62, implements the functions of the various modules/units of the display device of the financial APP interface in the above-described embodiments.
示例性的,计算机可读指令62可以被分割成一个或多个模块/单元,一个或者多个模块/单元被存储在存储器61中,并由处理器60执行,以完成本申请。一个或多个模块/单元可以是能够完成特定功能的一系列计算机可读指令段,该指令段用于描述计算机可读指令62在终端设备6中的执行过程。例如,计算机可读指令62可以被分割成如图5所示的用户信息关联模块501,用户信息判断模块502和水印信息显示模块503。Illustratively, computer readable instructions 62 may be partitioned into one or more modules/units, one or more modules/units being stored in memory 61 and executed by processor 60 to complete the application. The one or more modules/units may be a series of computer readable instruction segments capable of performing a particular function for describing the execution of computer readable instructions 62 in the terminal device 6. For example, computer readable instructions 62 may be partitioned into user information association module 501, user information determination module 502, and watermark information display module 503 as shown in FIG.
该终端设备6可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。终端设备可包括,但不仅限于,处理器60、存储器61。本领域技术人员可以理解,图7仅仅是终端设备6的示例,并不构成对终端设备6的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如终端设备还可以包括输入输出设备、网络接入设备、总线等。 The terminal device 6 can be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The terminal device may include, but is not limited to, the processor 60, the memory 61. It will be understood by those skilled in the art that FIG. 7 is only an example of the terminal device 6, and does not constitute a limitation of the terminal device 6, and may include more or less components than those illustrated, or combine some components, or different components. For example, the terminal device may further include an input/output device, a network access device, a bus, and the like.
所称处理器60可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 60 may be a central processing unit (CPU), or may be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
存储器61可以是终端设备6的内部存储单元,例如终端设备6的硬盘或内存。存储器61也可以是终端设备6的外部存储设备,例如终端设备6上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器61还可以既包括终端设备6的内部存储单元也包括外部存储设备。存储器61用于存储计算机可读指令以及终端设备所需的其他程序和数据。存储器61还可以用于暂时地存储已经输出或者将要输出的数据。The memory 61 may be an internal storage unit of the terminal device 6, such as a hard disk or a memory of the terminal device 6. The memory 61 may also be an external storage device of the terminal device 6, such as a plug-in hard disk provided on the terminal device 6, a smart memory card (SMC), a Secure Digital (SD) card, and a flash memory card (Flash). Card) and so on. Further, the memory 61 may also include both an internal storage unit of the terminal device 6 and an external storage device. The memory 61 is used to store computer readable instructions and other programs and data required by the terminal device. The memory 61 can also be used to temporarily store data that has been output or is about to be output.
该终端设备6可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。终端设备可包括,但不仅限于,处理器60、存储器61。本领域技术人员可以理解,图7仅仅是终端设备6的示例,并不构成对终端设备6的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如终端设备还可以包括输入输出设备、网络接入设备、总线等。The terminal device 6 can be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The terminal device may include, but is not limited to, the processor 60, the memory 61. It will be understood by those skilled in the art that FIG. 7 is only an example of the terminal device 6, and does not constitute a limitation of the terminal device 6, and may include more or less components than those illustrated, or combine some components, or different components. For example, the terminal device may further include an input/output device, a network access device, a bus, and the like.
所称处理器60可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 60 may be a central processing unit (CPU), or may be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
存储器61可以是终端设备6的内部存储单元,例如终端设备6的硬盘或内存。存储器61也可以是终端设备6的外部存储设备,例如终端设备6上配备的 插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器61还可以既包括终端设备6的内部存储单元也包括外部存储设备。存储器61用于存储计算机可读指令以及终端设备所需的其他程序和数据。存储器61还可以用于暂时地存储已经输出或者将要输出的数据。The memory 61 may be an internal storage unit of the terminal device 6, such as a hard disk or a memory of the terminal device 6. The memory 61 may also be an external storage device of the terminal device 6, such as that provided on the terminal device 6. Plug-in hard drives, Smart Memory Cards (SMC), Secure Digital (SD) cards, Flash Cards, etc. Further, the memory 61 may also include both an internal storage unit of the terminal device 6 and an external storage device. The memory 61 is used to store computer readable instructions and other programs and data required by the terminal device. The memory 61 can also be used to temporarily store data that has been output or is about to be output.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。It will be apparent to those skilled in the art that, for convenience and brevity of description, only the division of each functional unit and module described above is exemplified. In practical applications, the above functions may be assigned to different functional units as needed. The module is completed by dividing the internal structure of the device into different functional units or modules to perform all or part of the functions described above.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。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 separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一计算机可读存储介质中,该计算机可读指令在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机可读指令包括计算机可读指令代码,所述计算机可读指令代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机可读指令代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质 不包括是电载波信号和电信信号。The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, the present application implements all or part of the processes in the foregoing embodiments, and may also be implemented by computer readable instructions, which may be stored in a computer readable storage medium. The computer readable instructions, when executed by a processor, may implement the steps of the various method embodiments described above. Wherein, the computer readable instructions comprise computer readable instruction code, which may be in the form of source code, an object code form, an executable file or some intermediate form or the like. The computer readable medium can include any entity or device capable of carrying the computer readable instruction code, a recording medium, a USB flash drive, a removable hard drive, a magnetic disk, an optical disk, a computer memory, a read only memory (ROM, Read-Only) Memory), random access memory (RAM), electrical carrier signals, telecommunications signals, and software distribution media. It should be noted that the content contained in the computer readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in a jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, computer readable media It does not include electrical carrier signals and telecommunication signals.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。 The above-mentioned embodiments are only used to explain the technical solutions of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still implement the foregoing embodiments. The technical solutions described in the examples are modified or equivalently replaced with some of the technical features; and the modifications or substitutions do not deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in Within the scope of protection of this application.

Claims (20)

  1. 一种金融APP界面的显示方法,其特征在于,所述金融APP界面的显示方法包括以下步骤:A display method of a financial APP interface, characterized in that the display method of the financial APP interface comprises the following steps:
    获取用户信息数据库的地址,并与所述用户信息数据库进行关联;Obtaining an address of the user information database and associating with the user information database;
    当用户登陆所述金融APP时,获取用户的登录信息,并判断所述登录信息是否存在于所述用户信息数据库中;When the user logs in to the financial application, acquiring login information of the user, and determining whether the login information exists in the user information database;
    若所述登录信息不存在于所述用户信息数据库中时,则拒绝登陆所述金融APP;If the login information does not exist in the user information database, refusing to log in to the financial APP;
    若所述登录信息存在于所述用户信息数据库中时,则根据所述登录信息生成水印信息,将所述水印信息嵌入到所述金融APP的界面中生成具有水印的界面数据。If the login information exists in the user information database, generate watermark information according to the login information, and embed the watermark information into an interface of the financial APP to generate interface data with a watermark.
  2. 如权利要求1所述的金融APP界面的显示方法,其特征在于,根据所述登录信息生成水印信息,将所述水印信息嵌入到所述金融APP的界面中生成具有水印的界面数据,包括:The method for displaying a financial APP interface according to claim 1, wherein the watermark information is generated according to the login information, and the watermark information is embedded in the interface of the financial APP to generate interface data having a watermark, including:
    根据所述登录信息生成水印信息,将所述水印信息添加至预置的图层中,将所述图层和所述金融APP的界面进行重叠呈现生成具有水印的界面数据。Generating watermark information according to the login information, adding the watermark information to a preset layer, and overlaying the interface of the layer and the financial APP to generate interface data with a watermark.
  3. 如权利要求1所述的金融APP界面的显示方法,其特征在于,根据所述登录信息生成水印信息,将所述水印信息嵌入到所述金融APP的界面中生成具有水印的界面数据,包括:The method for displaying a financial APP interface according to claim 1, wherein the watermark information is generated according to the login information, and the watermark information is embedded in the interface of the financial APP to generate interface data having a watermark, including:
    根据所述登录信息生成水印信息,根据预设密钥对所述水印信息进行加密,将加密后的水印信息添加至预置的图层中,将所述图层和所述金融APP的界面进行重叠呈现生成具有水印的界面数据。Generating watermark information according to the login information, encrypting the watermark information according to a preset key, adding the encrypted watermark information to a preset layer, and performing an interface between the layer and the financial APP The overlay presentation generates interface data with a watermark.
  4. 如权利要求3所述的金融APP界面的显示方法,其特征在于,根据预设密钥对所述水印信息进行加密,将加密后的水印信息添加至预置的图层中,包括: The method for displaying a financial APP interface according to claim 3, wherein the watermark information is encrypted according to a preset key, and the encrypted watermark information is added to the preset layer, including:
    通过预设密钥对所述水印信息进行加密处理,生成相应的水印密文,根据所述水印密文生成相应的标签,将所述标签添加至预置的图层中。The watermark information is encrypted by a preset key to generate a corresponding watermark ciphertext, and the corresponding label is generated according to the watermark ciphertext, and the label is added to the preset layer.
  5. 如权利要求3所述的金融APP界面的显示方法,其特征在于,所述金融APP界面的显示方法还包括:The method for displaying a financial APP interface according to claim 3, wherein the display method of the financial APP interface further comprises:
    当用户对所述金融APP界面数据文件进行转发操作时,对所述界面数据上的水印信息进行解密处理,提取所述水印的用户信息;When the user performs the forwarding operation on the financial APP interface data file, the watermark information on the interface data is decrypted, and the user information of the watermark is extracted;
    判断所述用户信息是否符合使用权限,若不符合使用权限,则禁止所述用户对所述数据进行转发操作,若符合,解密所述界面数据,允许所述用户进行转发操作。Determining whether the user information meets the usage right, if the usage right is not met, the user is prohibited from forwarding the data, and if yes, the interface data is decrypted, and the user is allowed to perform a forwarding operation.
  6. 如权利要求5所述的金融APP界面的显示方法,其特征在于,解密所述界面数据,允许所述用户进行转发操作,之后还包括:The method for displaying a financial APP interface according to claim 5, wherein the decrypting the interface data allows the user to perform a forwarding operation, and further comprising:
    根据所述水印信息生成水印矩阵;Generating a watermark matrix according to the watermark information;
    根据所述金融APP的界面数据对应的程序生成线程关系矩阵;Generating a thread relationship matrix according to a program corresponding to the interface data of the financial APP;
    将所述线程关系矩阵进行arnold变换置乱处理,生成乱序线程关系矩阵;Performing arnold transformation scrambling on the thread relationship matrix to generate an out-of-order thread relationship matrix;
    将所述水印矩阵嵌入所述乱序线程关系矩阵中,进行逆置乱处理,还原为顺序线程关系矩阵;Embedging the watermark matrix into the out-of-order thread relationship matrix, performing inverse scrambling processing, and restoring to a sequential thread relationship matrix;
    根据所述顺序线程关系矩阵修改所述金融APP的源代码,生成所述具有水印的最终程序Modifying the source code of the financial APP according to the sequential thread relationship matrix to generate the final program with the watermark.
  7. 一种金融APP界面的显示装置,其特征在于,所述金融APP界面的显示装置包括:A display device of a financial APP interface, wherein the display device of the financial APP interface comprises:
    用户信息关联模块,用于获取用户信息数据库的地址,并与所述用户信息数据库进行关联;a user information association module, configured to acquire an address of the user information database, and associate with the user information database;
    用户信息判断模块,当用户登陆所述金融APP时,用于获取用户的登录信息,并判断所述登录信息是否存在于所述用户信息数据库中,当所述登录信息不存在于所述用户信息数据库中时,则拒绝登陆所述金融APP;The user information judging module is configured to acquire login information of the user when the user logs in to the financial application, and determine whether the login information exists in the user information database, when the login information does not exist in the user information. In the database, refuse to log in to the financial APP;
    水印信息显示模块,若所述登录信息存在于所述用户信息数据库中时,用 于根据所述登录信息生成水印信息,将所述水印信息嵌入到所述金融APP的界面中生成具有水印的界面数据。a watermark information display module, if the login information exists in the user information database, Generating watermark information according to the login information, embedding the watermark information into an interface of the financial APP to generate interface data with a watermark.
  8. 如权利要求7所述的金融APP界面的显示装置,其特征在于,所述水印信息显示模块用于根据所述登录信息生成水印信息,将所述水印信息添加至预置的图层中,将所述图层和所述金融APP的界面进行重叠呈现生成具有水印的界面数据;The display device of the financial APP interface according to claim 7, wherein the watermark information display module is configured to generate watermark information according to the login information, and add the watermark information to a preset layer, The layer and the interface of the financial APP are overlapped to generate interface data with a watermark;
    或者,所述水印信息显示模块用于根据所述登录信息生成水印信息,根据预设密钥对所述水印信息进行加密,将加密后的水印信息添加至预置的图层中,将所述图层和所述金融APP的界面进行重叠呈现生成具有水印的界面数据;Alternatively, the watermark information display module is configured to generate watermark information according to the login information, encrypt the watermark information according to a preset key, and add the encrypted watermark information to a preset layer, where The layer and the interface of the financial APP are overlapped and presented to generate interface data with a watermark;
    所述金融APP界面的显示装置还包括:The display device of the financial APP interface further includes:
    水印信息提取模块,当用户对所述金融APP界面数据文件进行转发操作时,用于对所述界面数据上的水印信息进行解密处理,提取所述水印的用户信息;The watermark information extraction module is configured to perform decryption processing on the watermark information on the interface data when the user performs a forwarding operation on the financial APP interface data file, and extract user information of the watermark;
    使用权限判断模块,用于判断所述用户信息是否符合使用权限,若不符合所述使用权限,则禁止所述用户对所述数据进行转发操作,若符合所述使用权限,解密所述界面数据,允许所述用户进行转发操作。The usage permission judging module is configured to determine whether the user information meets the usage right, and if the usage permission is not met, prohibiting the user from forwarding the data, and if the usage permission is met, decrypting the interface data Allowing the user to perform forwarding operations.
  9. 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,其特征在于,所述处理器执行所述计算机可读指令时实现如下步骤:A terminal device comprising a memory, a processor, and computer readable instructions stored in the memory and operable on the processor, wherein the processor executes the computer readable instructions as follows step:
    获取用户信息数据库的地址,并与所述用户信息数据库进行关联;Obtaining an address of the user information database and associating with the user information database;
    当用户登陆所述金融APP时,获取用户的登录信息,并判断所述登录信息是否存在于所述用户信息数据库中;When the user logs in to the financial application, acquiring login information of the user, and determining whether the login information exists in the user information database;
    若所述登录信息不存在于所述用户信息数据库中时,则拒绝登陆所述金融APP;If the login information does not exist in the user information database, refusing to log in to the financial APP;
    若所述登录信息存在于所述用户信息数据库中时,则根据所述登录信息生成水印信息,将所述水印信息嵌入到所述金融APP的界面中生成具有水印的界面数据。 If the login information exists in the user information database, generate watermark information according to the login information, and embed the watermark information into an interface of the financial APP to generate interface data with a watermark.
  10. 如权利要求9所述的终端设备,其特征在于,根据所述登录信息生成水印信息,将所述水印信息嵌入到所述金融APP的界面中生成具有水印的界面数据,包括:The terminal device according to claim 9, wherein the watermark information is generated according to the login information, and the watermark information is embedded in the interface of the financial APP to generate interface data with a watermark, including:
    根据所述登录信息生成水印信息,将所述水印信息添加至预置的图层中,将所述图层和所述金融APP的界面进行重叠呈现生成具有水印的界面数据。Generating watermark information according to the login information, adding the watermark information to a preset layer, and overlaying the interface of the layer and the financial APP to generate interface data with a watermark.
  11. 如权利要求9所述的终端设备,其特征在于,根据所述登录信息生成水印信息,将所述水印信息嵌入到所述金融APP的界面中生成具有水印的界面数据,包括:The terminal device according to claim 9, wherein the watermark information is generated according to the login information, and the watermark information is embedded in the interface of the financial APP to generate interface data with a watermark, including:
    根据所述登录信息生成水印信息,根据预设密钥对所述水印信息进行加密,将加密后的水印信息添加至预置的图层中,将所述图层和所述金融APP的界面进行重叠呈现生成具有水印的界面数据。Generating watermark information according to the login information, encrypting the watermark information according to a preset key, adding the encrypted watermark information to a preset layer, and performing an interface between the layer and the financial APP The overlay presentation generates interface data with a watermark.
  12. 如权利要求11所述的终端设备,其特征在于,根据预设密钥对所述水印信息进行加密,将加密后的水印信息添加至预置的图层中,包括:The terminal device according to claim 11, wherein the watermark information is encrypted according to a preset key, and the encrypted watermark information is added to the preset layer, including:
    通过预设密钥对所述水印信息进行加密处理,生成相应的水印密文,根据所述水印密文生成相应的标签,将所述标签添加至预置的图层中。The watermark information is encrypted by a preset key to generate a corresponding watermark ciphertext, and the corresponding label is generated according to the watermark ciphertext, and the label is added to the preset layer.
  13. 如权利要求11所述的终端设备,其特征在于,所述处理器执行所述计算机可读指令时还实现如下步骤:The terminal device according to claim 11, wherein said processor further implements the following steps when said computer readable instructions are executed:
    当用户对所述金融APP界面数据文件进行转发操作时,对所述界面数据上的水印信息进行解密处理,提取所述水印的用户信息;When the user performs the forwarding operation on the financial APP interface data file, the watermark information on the interface data is decrypted, and the user information of the watermark is extracted;
    判断所述用户信息是否符合使用权限,若不符合使用权限,则禁止所述用户对所述数据进行转发操作,若符合,解密所述界面数据,允许所述用户进行转发操作。Determining whether the user information meets the usage right, if the usage right is not met, the user is prohibited from forwarding the data, and if yes, the interface data is decrypted, and the user is allowed to perform a forwarding operation.
  14. 如权利要求13所述的终端设备,其特征在于,解密所述界面数据,允许所述用户进行转发操作之后,所述处理器执行所述计算机可读指令时还实现如下步骤:The terminal device according to claim 13, wherein after decrypting the interface data and allowing the user to perform a forwarding operation, the processor further implements the following steps when the computer readable instructions are executed:
    根据所述水印信息生成水印矩阵; Generating a watermark matrix according to the watermark information;
    根据所述金融APP的界面数据对应的程序生成线程关系矩阵;Generating a thread relationship matrix according to a program corresponding to the interface data of the financial APP;
    将所述线程关系矩阵进行arnold变换置乱处理,生成乱序线程关系矩阵;Performing arnold transformation scrambling on the thread relationship matrix to generate an out-of-order thread relationship matrix;
    将所述水印矩阵嵌入所述乱序线程关系矩阵中,进行逆置乱处理,还原为顺序线程关系矩阵;Embedging the watermark matrix into the out-of-order thread relationship matrix, performing inverse scrambling processing, and restoring to a sequential thread relationship matrix;
    根据所述顺序线程关系矩阵修改所述金融APP的源代码,生成所述具有水印的最终程序Modifying the source code of the financial APP according to the sequential thread relationship matrix to generate the final program with the watermark.
  15. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被处理器执行时实现如下步骤:A computer readable storage medium storing computer readable instructions, wherein the computer readable instructions, when executed by a processor, implement the following steps:
    获取用户信息数据库的地址,并与所述用户信息数据库进行关联;Obtaining an address of the user information database and associating with the user information database;
    当用户登陆所述金融APP时,获取用户的登录信息,并判断所述登录信息是否存在于所述用户信息数据库中;When the user logs in to the financial application, acquiring login information of the user, and determining whether the login information exists in the user information database;
    若所述登录信息不存在于所述用户信息数据库中时,则拒绝登陆所述金融APP;If the login information does not exist in the user information database, refusing to log in to the financial APP;
    若所述登录信息存在于所述用户信息数据库中时,则根据所述登录信息生成水印信息,将所述水印信息嵌入到所述金融APP的界面中生成具有水印的界面数据。If the login information exists in the user information database, generate watermark information according to the login information, and embed the watermark information into an interface of the financial APP to generate interface data with a watermark.
  16. 如权利要求15所述的计算机可读存储介质,其特征在于,根据所述登录信息生成水印信息,将所述水印信息嵌入到所述金融APP的界面中生成具有水印的界面数据,包括:The computer readable storage medium according to claim 15, wherein the watermark information is generated according to the login information, and the watermark information is embedded in an interface of the financial APP to generate interface data having a watermark, including:
    根据所述登录信息生成水印信息,将所述水印信息添加至预置的图层中,将所述图层和所述金融APP的界面进行重叠呈现生成具有水印的界面数据。Generating watermark information according to the login information, adding the watermark information to a preset layer, and overlaying the interface of the layer and the financial APP to generate interface data with a watermark.
  17. 如权利要求15所述的计算机可读存储介质,其特征在于,根据所述登录信息生成水印信息,将所述水印信息嵌入到所述金融APP的界面中生成具有水印的界面数据,包括:The computer readable storage medium according to claim 15, wherein the watermark information is generated according to the login information, and the watermark information is embedded in an interface of the financial APP to generate interface data having a watermark, including:
    根据所述登录信息生成水印信息,根据预设密钥对所述水印信息进行加密,将加密后的水印信息添加至预置的图层中,将所述图层和所述金融APP的界面 进行重叠呈现生成具有水印的界面数据。Generating watermark information according to the login information, encrypting the watermark information according to a preset key, adding the encrypted watermark information to a preset layer, and using the interface of the layer and the financial APP Performing an overlay presentation generates interface data with a watermark.
  18. 如权利要求17所述的计算机可读存储介质,其特征在于,根据预设密钥对所述水印信息进行加密,将加密后的水印信息添加至预置的图层中,包括:The computer readable storage medium according to claim 17, wherein the watermark information is encrypted according to a preset key, and the encrypted watermark information is added to the preset layer, including:
    通过预设密钥对所述水印信息进行加密处理,生成相应的水印密文,根据所述水印密文生成相应的标签,将所述标签添加至预置的图层中。The watermark information is encrypted by a preset key to generate a corresponding watermark ciphertext, and the corresponding label is generated according to the watermark ciphertext, and the label is added to the preset layer.
  19. 如权利要求17所述的计算机可读存储介质,其特征在于,所述处理器执行所述计算机可读指令时还实现如下步骤:The computer readable storage medium of claim 17, wherein the processor further implements the following steps when the computer readable instructions are executed:
    当用户对所述金融APP界面数据文件进行转发操作时,对所述界面数据上的水印信息进行解密处理,提取所述水印的用户信息;When the user performs the forwarding operation on the financial APP interface data file, the watermark information on the interface data is decrypted, and the user information of the watermark is extracted;
    判断所述用户信息是否符合使用权限,若不符合使用权限,则禁止所述用户对所述数据进行转发操作,若符合,解密所述界面数据,允许所述用户进行转发操作。Determining whether the user information meets the usage right, if the usage right is not met, the user is prohibited from forwarding the data, and if yes, the interface data is decrypted, and the user is allowed to perform a forwarding operation.
  20. 如权利要求19所述的计算机可读存储介质,其特征在于,解密所述界面数据,允许所述用户进行转发操作之后,所述处理器执行所述计算机可读指令时还实现如下步骤:The computer readable storage medium of claim 19, wherein after decrypting the interface data to allow the user to perform a forwarding operation, the processor further implements the following steps when the computer readable instructions are executed:
    根据所述水印信息生成水印矩阵;Generating a watermark matrix according to the watermark information;
    根据所述金融APP的界面数据对应的程序生成线程关系矩阵;Generating a thread relationship matrix according to a program corresponding to the interface data of the financial APP;
    将所述线程关系矩阵进行arnold变换置乱处理,生成乱序线程关系矩阵;Performing arnold transformation scrambling on the thread relationship matrix to generate an out-of-order thread relationship matrix;
    将所述水印矩阵嵌入所述乱序线程关系矩阵中,进行逆置乱处理,还原为顺序线程关系矩阵;Embedging the watermark matrix into the out-of-order thread relationship matrix, performing inverse scrambling processing, and restoring to a sequential thread relationship matrix;
    根据所述顺序线程关系矩阵修改所述金融APP的源代码,生成所述具有水印的最终程序Modifying the source code of the financial APP according to the sequential thread relationship matrix to generate the final program with the watermark.
PCT/CN2017/113779 2017-10-30 2017-11-30 Display method, device and apparatus for financial application interface, and storage medium WO2019085126A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711052046.8 2017-10-30
CN201711052046.8A CN107784207B (en) 2017-10-30 2017-10-30 Display method, device and equipment of financial APP interface and storage medium

Publications (1)

Publication Number Publication Date
WO2019085126A1 true WO2019085126A1 (en) 2019-05-09

Family

ID=61432341

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/113779 WO2019085126A1 (en) 2017-10-30 2017-11-30 Display method, device and apparatus for financial application interface, and storage medium

Country Status (2)

Country Link
CN (1) CN107784207B (en)
WO (1) WO2019085126A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113780798A (en) * 2021-09-07 2021-12-10 杭州天宽科技有限公司 Key index display system based on cloud computing

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109658123A (en) * 2018-10-23 2019-04-19 平安普惠企业管理有限公司 The method, apparatus and storage medium of financial business are promoted by small routine
CN109598140A (en) * 2018-11-28 2019-04-09 国家电网有限公司 A kind of guard method of webpage information and device
CN109801205B (en) * 2018-12-21 2022-02-25 苏宁易购集团股份有限公司 Traceable implicit watermark adding method and device
CN112084516A (en) * 2020-09-14 2020-12-15 洛阳众智软件科技股份有限公司 Method and equipment for safely protecting CAD drawing information
CN115167969B (en) * 2022-09-07 2022-12-23 平安银行股份有限公司 Remote collaboration method and device based on cloud

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116717A (en) * 2013-01-25 2013-05-22 东莞宇龙通信科技有限公司 User login method and system
CN103379101A (en) * 2012-04-20 2013-10-30 腾讯科技(深圳)有限公司 Watermark generation method, client side and server

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609890B (en) * 2011-01-20 2016-08-24 北京中盈信安科技发展有限责任公司 A kind of image digital watermark embeds and detecting system
CN102521536B (en) * 2011-12-06 2014-08-27 杭州安恒信息技术有限公司 Method and system for detecting inner core object invasion of database
CN103929473B (en) * 2014-03-25 2017-10-27 冯力新 Build unified APP and access distributed data storage in the method for the system of multiple subsystem
CN106023059A (en) * 2016-05-26 2016-10-12 北京启迪思创科技有限公司 Watermarking information generation method and apparatus
CN107066491A (en) * 2016-12-28 2017-08-18 北京五八信息技术有限公司 The method and device of quick log-on webpage application

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379101A (en) * 2012-04-20 2013-10-30 腾讯科技(深圳)有限公司 Watermark generation method, client side and server
CN103116717A (en) * 2013-01-25 2013-05-22 东莞宇龙通信科技有限公司 User login method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113780798A (en) * 2021-09-07 2021-12-10 杭州天宽科技有限公司 Key index display system based on cloud computing
CN113780798B (en) * 2021-09-07 2024-05-28 杭州天宽科技有限公司 Key index display system based on cloud computing

Also Published As

Publication number Publication date
CN107784207B (en) 2019-12-10
CN107784207A (en) 2018-03-09

Similar Documents

Publication Publication Date Title
WO2019085126A1 (en) Display method, device and apparatus for financial application interface, and storage medium
EP3583740B1 (en) Data owner restricted secure key distribution
US10009173B2 (en) System, device, and method of secure entry and handling of passwords
US10284372B2 (en) Method and system for secure management of computer applications
CN109412812B (en) Data security processing system, method, device and storage medium
EP3198498B1 (en) A challenge-response method and associated computing device
US8862892B2 (en) System and method for detecting a security compromise on a device
CN108027853B (en) Multi-user strong authentication token
WO2019085076A1 (en) Watermark insertion method, device and apparatus for financial application interface, and storage medium
US9619653B2 (en) System and method for detecting a security compromise on a device
CN105740725A (en) File protection method and system
EP2922235A1 (en) Security module for secure function execution on untrusted platform
CN110245464B (en) Method and device for protecting file
CN110837634A (en) Electronic signature method based on hardware encryption machine
CN106548351A (en) A kind of optimization method and terminal of fingerprint payment flow
CN107391970B (en) Function access control method and device in Flash application program
CN113901507B (en) Multi-party resource processing method and privacy computing system
CN117751551A (en) System and method for secure internet communications
WO2020088515A1 (en) Security authentication method and apparatus for pos user public key, and terminal device
CN109219814B (en) System and method for forensic access control
CN110263553B (en) Database access control method and device based on public key verification and electronic equipment
Dharmadhikari et al. Review of digital data protection using the traditional methods, steganography and cryptography
Mirza et al. Security Analysis of Android Hot Cryptocurrency Wallet Applications
KR101473410B1 (en) Method for Accessing Recording Area of Digital Certificate
CN114726655A (en) Character set encryption method based on digital certificate identity authentication

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17930279

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 30/09/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17930279

Country of ref document: EP

Kind code of ref document: A1