CN113362175A - Interface display method and device, storage medium and terminal equipment - Google Patents
Interface display method and device, storage medium and terminal equipment Download PDFInfo
- Publication number
- CN113362175A CN113362175A CN202110699291.8A CN202110699291A CN113362175A CN 113362175 A CN113362175 A CN 113362175A CN 202110699291 A CN202110699291 A CN 202110699291A CN 113362175 A CN113362175 A CN 113362175A
- Authority
- CN
- China
- Prior art keywords
- user
- interface
- new stock
- dealer
- account
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/604—Tools and structures for managing or administering access control systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Health & Medical Sciences (AREA)
- Business, Economics & Management (AREA)
- Bioethics (AREA)
- Health & Medical Sciences (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Human Computer Interaction (AREA)
- Databases & Information Systems (AREA)
- Medical Informatics (AREA)
- Automation & Control Theory (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- General Business, Economics & Management (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses an interface display method, an interface display device, a storage medium and a terminal device, wherein the interface display method comprises the following steps: preprocessing a new stock subscription interface to be displayed according to a preset stock compliance rule, and verifying whether the preprocessed new stock subscription interface conforms to the compliance rule or not; if the preprocessed new stock subscription interface meets the compliance rule, acquiring a display instruction of the new stock subscription interface to be displayed; interface display is carried out according to the display instruction and the preprocessed new stock subscription interface, so that the condition that the compliance problem is triggered due to the fact that a unified subscription interface is displayed for all users is avoided, and the stability and the reliability of display of the new stock subscription interface are improved.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to an interface display method and apparatus, a storage medium, and a terminal device.
Background
With the continuous development of the software industry, a plurality of powerful stock-investing software appears on the market, which not only can provide functions of market quotation display, market quotation analysis, market quotation transaction and the like, but also can provide functions of stock new stock subscription and purchase.
At present, stock-frying software client sides are generally provided with unified new stock subscription interfaces and forcibly display the new stock subscription interfaces, however, due to different security dealer supervision rules of various places, when software is popularized to different areas, the problem of compliance is easily triggered, and meanwhile, the requirements on the stability and the reliability of the new stock subscription interface display are higher due to different compliance rules of various places.
Disclosure of Invention
The application provides an interface display method, an interface display device, a storage medium and terminal equipment, which can display different new stock subscription interfaces aiming at the new stock subscription authority of a user, thereby avoiding the problem of compliance triggering and improving the stability and reliability of the display of the new stock subscription interfaces.
The application provides an interface display method, which comprises the following steps:
preprocessing a new stock subscription interface to be displayed according to a preset stock compliance rule, and verifying whether the preprocessed new stock subscription interface conforms to the compliance rule or not;
if the preprocessed new stock subscription interface meets the compliance rule, acquiring a display instruction of the new stock subscription interface to be displayed;
and performing interface display according to the display instruction and the preprocessed new stock subscription interface.
In the interface display method provided by the application, the preprocessing of the new stock subscription interface to be displayed according to the preset compliance rule of the stock comprises the following steps:
according to the compliance rule, aiming at the preset stock, dividing users into a first right user and a second right user, wherein the first right user is a user with a new stock subscription authority aiming at the preset stock, and the second right user is a user without the new stock subscription authority aiming at the preset stock;
configuring a first new stock subscription interface aiming at the first authorized user;
and configuring a second new stock subscription interface aiming at the second authorized user.
In the interface display method provided by the application, the verifying whether the preprocessed new stock subscription interface meets the compliance rule includes:
simulating and generating a plurality of account numbers related to a plurality of boundary conditions in the compliance rule in a preset test environment;
respectively determining user categories corresponding to the multiple accounts, and respectively displaying test user interfaces corresponding to the multiple accounts;
if the test user interfaces all accord with the compliance rules, determining that the preprocessed new stock subscription interface accords with the compliance rules;
and if one of the test user interfaces does not meet the compliance rules, determining that the preprocessed new stock subscription interface does not meet the compliance rules.
In the interface display method provided by the application, the display instruction carries a user category corresponding to the new stock subscription interface to be displayed, the user category includes the first right user or the second right user, and the interface display is performed according to the display instruction of the new stock subscription interface, including:
if the user category carried by the display instruction is the first authority user, displaying the first new stock subscription interface;
and if the user category carried by the display instruction is the second authority user, displaying the second new stock subscription interface.
In the interface display method provided by the application, the method further includes:
and determining the user category corresponding to the new stock subscription interface to be displayed according to the account information of the user.
In the interface display method provided by the present application, the account information includes a stock dealer, account opening information, a current network address, and an account registered account of the user, and the determining of the user category corresponding to the new stock subscription interface to be displayed according to the account information of the user includes:
if the main security dealer is a preset security dealer, determining that the user category is the first authority user; if the main security dealer is not a preset security dealer, but the account opening information indicates that the user opens an account in the preset security dealer, determining that the user category is the first authority user; if the main dealer is not a preset dealer, and the account opening information indicates that the user does not open an account in the preset dealer and the main dealer of the user does not open an account, determining that the user category is the second authority user; if the main security dealer is not a preset security dealer, the account opening information indicates that the user does not open an account in the preset security dealer and the main security dealer, and the current network address and the account opening account are not in the area corresponding to the main security dealer, determining that the user category is the first authority user; if the main push dealer is not a first preset dealer, and the account opening information indicates that the user is in the first preset dealer is not account opened and the main push dealer is account opened, and the current network address or the account opening household is in the area corresponding to the main push dealer, then the user classification is determined to be the second authority user.
In the interface display method provided by the application, the method further includes:
and storing the corresponding relation between the user and the user category corresponding to the new stock subscription interface to be displayed.
The present application further provides an interface display device, including:
the system comprises a preprocessing module, a display module and a display module, wherein the preprocessing module is used for preprocessing a new stock subscription interface to be displayed according to a preset stock compliance rule and verifying whether the preprocessed new stock subscription interface conforms to the compliance rule or not;
the acquisition module is used for acquiring a display instruction of the new stock subscription interface to be displayed if the preprocessed new stock subscription interface meets the compliance rule;
and the display module is used for carrying out interface display according to the display instruction and the preprocessed new stock subscription interface.
The application also provides a computer readable storage medium, wherein a plurality of instructions are stored in the storage medium, and the instructions are suitable for being loaded by a processor to execute any interface display method.
The application also provides a terminal device, which comprises a processor and a memory, wherein a computer program is stored in the memory, and the processor is used for any one of the interface display methods by calling the computer program stored in the memory.
The application discloses an interface display method, an interface display device, a storage medium and a terminal device, a displayed new stock subscription interface is preprocessed according to a compliance rule of preset stocks, interface display is carried out according to the preprocessed new stock subscription interface, the situation that the compliance problem is triggered due to the fact that the unified subscription interface is displayed for all users is avoided, and the preprocessed new stock subscription interface is verified and displayed, so that the stability and the reliability of interface display can be improved.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic view of an application scenario of an interface display method provided in an embodiment of the present application.
Fig. 2 is a schematic flow chart of an interface display method according to an embodiment of the present application.
Fig. 3 is a schematic view of another application scenario of the interface display method according to the embodiment of the present application.
Fig. 4 is a process schematic diagram of an interface display method provided in an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a preset test environment according to an embodiment of the present disclosure.
Fig. 6 is a schematic structural diagram of an interface display device according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Fig. 8 is another schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. In the drawings, elements having similar structures are denoted by the same reference numerals. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it is to be understood that the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
The embodiment of the application provides an interface display method, an interface display device, a storage medium and terminal equipment.
Referring to fig. 1, fig. 1 provides a schematic view of an application scenario of an interface display system, where the interface display system may include a server and a terminal (client), and the terminal may be a device with a network function, such as a smart phone and a tablet computer.
The server can preprocess a new stock subscription interface to be displayed according to a preset stock compliance rule and verify whether the preprocessed new stock subscription interface conforms to the compliance rule, and the client can acquire a display instruction and display an interface according to the display instruction and the preprocessed new stock subscription interface.
Referring to fig. 2, fig. 2 is a schematic flow chart of an interface display method according to an embodiment of the present application, where the method mainly includes steps S101 to S103, execution bodies of the steps included in the method may be the same or different, the execution body includes a terminal, a server, and the like, and the following description is provided for each step:
s101, preprocessing a new stock subscription interface to be displayed according to a preset stock compliance rule, and verifying whether the preprocessed new stock subscription interface meets the compliance rule or not.
At present, stock software on the market can not only provide display, analysis and transaction of stock market quotations, but also support users to subscribe new stocks, however, different regions have different compliance rules, for example, region a does not allow their securities traders to conduct exhibition for the public of region B, if the stock software shows the new stocks of the securities traders supervised by region a for the public of region B, the compliance problem is triggered, therefore, the new stock subscription interface can be preprocessed and displayed according to the compliance rules of the stock. It is easy to understand that, under the financial background based on the compliance rule, the requirement on the stability of the new stock subscription interface display is higher, and in order to improve the stability and the reliability of the new stock subscription interface display, after the new stock subscription interface to be displayed is preprocessed, whether the preprocessed new stock subscription interface conforms to the compliance rule is verified, so that the reliability of the interface display is ensured.
In this embodiment, the step of "preprocessing the new stock subscription interface to be displayed according to the preset compliance rule of the stock" may specifically include: according to the compliance rule, aiming at the preset stock, dividing users into a first right user and a second right user, wherein the first right user is a user with a new stock subscription right aiming at the preset stock, and the second right user is a user without the new stock subscription right aiming at the preset stock; configuring a first new stock subscription interface aiming at a first authorized user; and configuring a second new stock subscription interface aiming at the second authorized user.
The server can preprocess the new stock subscription interface to be displayed according to the compliance rule and then send the result to the client, so that the client does not need to release version adaptation when the compliance rule changes.
Specifically, for example, if the region a does not allow its dealer to perform exhibition on the public of the region B, the public of the region B may be considered as the second authorized user, that is, the user without the new stock subscription authority for the region a, and the public of the region a may be considered as the first authorized user, that is, the user with the new stock subscription authority for the region a. The first new stock subscription interface configured for the first authorized user may show the relevant information of the new stock subscription in detail, and the second new stock subscription interface configured for the second authorized user should hide the relevant information of the new stock subscription, for example, the second new stock subscription interface hides modules such as subscription record, new classroom and advertisement space.
In some embodiments, the step of "verifying whether the preprocessed new stock underwriting interface meets the compliance rules" may mainly include: simulating and generating a plurality of account numbers related to a plurality of boundary conditions in a compliance rule in a preset test environment; respectively determining user categories corresponding to a plurality of accounts, and respectively displaying test user interfaces corresponding to the plurality of accounts; if the test user interfaces all accord with the compliance rules, determining that the preprocessed new stock subscription interface accords with the compliance rules; and if one of the test user interfaces does not accord with the compliance rule, determining that the preprocessed new stock subscription interface does not accord with the compliance rule.
Specifically, referring to fig. 5, fig. 5 is a schematic structural diagram of a preset test environment provided in this embodiment of the present application, where the preset test environment may include a test environment center, a script tool center, an account creation center, a new stock authority data center, and a new stock view center, taking singapore stocks as an example, first, information of related stocks of singapore stocks may be entered into the test environment center, and the state of some stocks is modified to be a new stock, so that the new stock supports subscription or international distribution, to complete the configuration of the new stock, then, the script tool center generates virtual area information to simulate the information of an account opening area of a user and binds a lead dealer according to the account opening area, and configures a network address of the test environment, for example, network addresses of the test environment are respectively configured as chinese hong kong, singapore, and usa, to achieve the effect of simulating network addresses of chinese hong kong, singapore and usa, and then, generating an account of preset software according to the information of the main stock dealer and the account opening region, when a tester logs in the account, requesting a new stock subscription authority to a test environment center by using accounts related to different boundary conditions, determining the new stock subscription authority corresponding to different accounts by the test environment center, issuing the new stock subscription authority to a new stock authority data center, updating a local cache by the new stock authority center according to the issued new stock subscription authority, broadcasting an authority change notice, dynamically configuring an interface view by the new stock view center according to the authority, and then checking whether a currently displayed interface of the new stock center meets a rule by the tester, thereby achieving the purpose of functional validity verification.
S102, if the preprocessed new stock subscription interface meets the compliance rule, a display instruction of the new stock subscription interface to be displayed is obtained.
Specifically, the display instruction may be generated when the user clicks a new stock subscription button in the preset stock software. The display instruction can carry a user category corresponding to a new stock subscription interface to be displayed, and the user category comprises the first right user or the second right user.
Specifically, when a user logs in stock software, a new stock subscription authority can be determined, for example, the preset software supports a new stock subscription function of a certain stock, and when the user logs in the stock software, whether the user has the new stock subscription authority of the certain stock is determined to determine the user category, so that if a subsequent user wants to enter a new stock subscription interface of the certain stock, the terminal can directly perform interface display according to the new stock subscription authority of the certain stock by the user without executing a step of determining the subscription authority, thereby increasing the display speed and further improving the user experience. In addition, when the user clicks the new stock subscription button of a certain stock, the new stock subscription authority can be determined. It is readily understood that stock software may support the new stock subscription function for multiple stocks, and that if the user determines the user's right to subscribe to a new stock for multiple stocks at login, the user may waste processor resources by using only the new stock subscription function for one or a few of the stocks.
For example, if the stock software has a new stock subscription function of X stock and a new stock subscription function of Y stock, the user will subscribe to the new stock subscription right of X stock and the new stock subscription right of Y stock when the user logs in the stock software.
For another example, as shown in fig. 3, the preset buttons include an "X stock underwriting" button and a "Y stock underwriting" button, wherein, the stock category corresponding to the button for 'X stock subscription' is X stock, the stock category corresponding to the button for 'Y stock subscription' is Y stock, when the user clicks the 'X stock subscription' button, the user category aiming at the X stock is determined, a display instruction is generated, after the terminal acquires the display instruction, the X stock subscription interface is displayed according to the user category, for example, if the user has the right of subscription to the new stock of X stock, determining that the user is a first right user, displaying a first subscription interface, if the user does not have the new stock subscription right for X stocks, determining that the user is a second right user, displaying a second subscription interface, compared with the first subscription interface, the second subscription interface shields part of contents, and therefore the problem of triggering compliance can be avoided.
In this embodiment, the method may further include: and determining the user category corresponding to the new stock subscription interface to be displayed according to the account information of the user.
The account information may include a plurality of lead dealer of the user, account opening information, a current network address, and an account opening membership. It will be readily appreciated that when a user first uses the stock software and registers, the user is assigned a default to a home dealer, which may be generally determined by the user's domicile, e.g., a U.S. dealer may be assigned to the user of the U.S. domicile as the home dealer. If in the subsequent use, the user opens an account at a plurality of dealer, then the main dealer of user is a plurality of.
The step of determining the user category corresponding to the new stock subscription interface to be displayed according to the account information of the user may include: if the main security dealer is a preset security dealer, determining that the user category is a first authority user; if the main security dealer is not the preset security dealer, but the account opening information indicates that the user opens an account in the preset security dealer, determining that the user category is a first authority user; if the main dealer is not the preset dealer, and the account opening information indicates that the user does not open an account in the preset dealer and the main dealer of the user does not open an account, determining that the user category is the second authority user; if the main security dealer presets a security dealer, the account opening information indicates that the user does not open an account in the preset security dealer and the main security dealer opens an account, and the current network address and the account opening account are not in the region corresponding to the main security dealer, determining that the user category is a first authority user; if the main jockey is not the first preset security dealer, and the account opening information indicates that the user does not open an account in the first preset security dealer and the main jockey opens an account, and the current network address or the account opening account is in a region corresponding to the main jockey, the user category is determined to be the second authority user.
The preset dealer can be determined by preset software, the category of the stock supporting the new stock subscription in the preset software and the compliance rule of the supervision place of the stock supporting the new stock subscription. For example, the preset software provides a new stock subscription function of the X stock, however, the a region of the dealer custody site of the X stock specifies that active exhibition and publicity of services for the public persons in other regions are not possible, and the preset dealer is the a-site dealer providing the X stock. When a user logs in preset software, firstly, judging whether a main pushers of the user is a stock dealer A or not, if the main pushers of the user are the stock dealer A, determining that the user has a new stock subscription authority to X stocks, and determining that the category of the user is a first authority user; if the main dealer of the user is not the dealer of the A territory, determining whether the user has an account opening in the dealer of the A territory or not according to account opening information of the user, if the user has an account opening in the dealer of the A territory, determining that the user has a subscription authority for a new stock of the X stock, and determining that the category of the user is a first authority user; if the user does not release an account in the security dealer of the A place, judging whether the main jockey of the user releases the account, if the main jockey of the user does not release the account, determining that the user does not have the subscription authority of the new stock of the X stock, and determining that the category of the user is a second authority user; if the main security dealer of the user gives an account, judging whether the current network address of the user and the account book of the account are not in the region corresponding to the main security dealer, if the current network address of the user and the account book of the account are not in the region corresponding to the main security dealer, determining that the user has a new stock subscription authority to the X stock, and determining that the category of the user is a first authority user; if the current network address of the user or the account opening roll is the region corresponding to the main pushers, determining that the user does not have the subscription authority of the new stock of the X stock, and determining that the user category is a second authority user; therefore, if the user does not have the right of subscribing the new stock of the X stock, in the subsequent display step, the subscription interface of the new stock of the X stock can be dynamically configured, for example, the displayed subscription interface shields partial content, so that the problem of compliance triggering is avoided.
It is easy to understand that, a user may know a compliance rule in advance, register a current network address as a compliant address using a proxy server, and communicate with a server using the compliant address, in order to prevent this, the server may search some public proxy addresses related to the compliance rule in advance, and upon receiving the current network address of the user, check whether the current network address is consistent with the collected proxy address, and if so, determine that the user is a second authorized user. For example, the site a does not allow the dealer to perform public dealers in other regions, and users in other regions may use the proxy server to register in the site a to forge the network address, so the server side may collect some of the agents in the site a published on the internet, compare the current network address of the user with the collected network address, and if the current network address of the user is consistent with the collected network address, judge that the user uses the forged network address to communicate with the server side, warn the user and determine that the user is the second authorized user.
Specifically, when comparing the current network address of the user with the collected network addresses, the matching between the two network addresses may be calculated. For example, the matching degree between two addresses is calculated by the following formula:
wherein the current network address is X [ X ]1、x2、…、xi]And the collected network address is Y [ Y ]1、y2、…、yi]And i is used to indicate the length of the network address. After the matching degree is obtained through calculation, if the higher the matching degree is, the more similar the two network addresses are, the probability that the user uses the forged network address to communicate with the server side is higher.
Further, after the account of the counterfeit information is warned, a complaint interface can be provided to the user account for obtaining complaint information of the user account to judge the type of the user account based on the more comprehensive complaint information. The complaint information may be some more direct historical data, may include, but is not limited to, certificate information, account opening certificate, transaction certificate, and the like of the user, and may be in the form of data such as an image, a web page, and the like. When further judgment is carried out based on the complaint information, characters in each image submitted by the user can be identified and obtained in a character identification mode, and then semantic information in the characters is extracted based on the identified characters so as to judge the correctness of the complaint information based on the semantic information.
It should be noted that the above-mentioned method of collecting agents can only collect some agents that are open on the internet as far as possible, and a private agent is difficult to collect, so the server can send a request to the current network address after acquiring the current network address, the request can be used to request the client information, and the server cannot receive a reply because the client cannot receive the request, so that it can be determined that the current network address of the user is forged, and then the user is warned and determined to be a second authorized user. In addition, the server may also store the current network address corresponding to the account information, and when the user logs in each time, the server determines whether the current network address is consistent with the stored network address, and if not, the user category is determined again.
Specifically, when the user starts the preset software client, the client can send account information of the user, namely account title, security dealer, account information and current network address, to the server through a Transmission Control Protocol (TCP), the server judges user categories, and then issues the user categories to the client.
It is easily understood that, in order to protect the privacy of the user, the account information of the user may be encrypted when the account information of the user is sent to the server, for example, the account information of the user may be encrypted by using an RSA algorithm or an AES (Advanced Encryption Standard) or an RSA + AES algorithm. For example, the server may generate a pair of RSA private keys (private key + public key), send the public key to the client, encrypt the account information of the user using the AES private key at the client, encrypt the AES private key using the RSA public key, send the encrypted account information and the encrypted account information to the server, decrypt the encrypted AES private key using the RSA private key after the server receives the encrypted account information, and decrypt the encrypted account information using the AES private key to obtain the account information of the user. Therefore, the privacy and the safety of the user can be guaranteed.
In some embodiments, after determining the user category corresponding to the new stock subscription interface to be displayed according to the account information of the user, the user category corresponding to the new stock subscription interface to be displayed is stored locally.
It is easy to understand that, after determining the user category, for example, when determining that the first user is the first authorized user for X shares, the corresponding relationship is stored locally, and when logging in or clicking next time, the user category does not need to be confirmed by communicating with the server again, so as to save communication resources. If the compliance rule of the server changes, the server may re-determine the user category of the first user and send the user category to the client, so as to update the corresponding user category.
And S103, performing interface display according to the display instruction and the preprocessed new stock subscription interface.
Specifically, if the user category carried by the display instruction is a first authority user, a first new stock subscription interface is displayed, and if the user category carried by the display instruction is a second authority user, a second new stock subscription interface is displayed.
After the server side is configured with a first new subscription interface and a second new subscription interface for the first right user and the second right user, the first new subscription interface and the second new subscription interface can be issued to the client side, and after the client side obtains the display instruction and the user category, the client side directly reads the corresponding interface locally for display, so that the display speed is increased, and communication resources are saved.
In this embodiment, if the user is a first authorized user, a first new stock subscription interface is displayed, where the first new stock subscription interface displays a plurality of new stocks available for subscription, and the method may further include: determining the attention of a user to a plurality of new underwritten shares; and sequencing and displaying the plurality of new available shares according to the sequence of the attention degree from high to low.
Specifically, if the user has a new stock subscription authority for the stocks of the stock category of the subscription interface to be displayed, the user can be shown the new stocks available for subscription, and during the display, the new stocks available for subscription can be displayed in sequence from high to low according to the attention of the user to the new stocks available for subscription so as to meet the requirements of the user.
In this embodiment, the attention degree to the new endorseable stock may be determined according to whether the user clicks on the related content of the new endorseable stock in the preset software, and the number of clicks on the related content of the new endorseable stock, for example, if the user searches for a new endorseable stock in the preset software, the attention degree to the new endorseable stock is increased by one, and if the user clicks on an analysis article of the new endorseable stock, the attention degree to the new endorseable stock is increased by one, and so on.
Therefore, in the embodiment, an interface display method is provided, in which a new stock subscription interface to be displayed is preprocessed according to a compliance rule of preset stocks, and whether the preprocessed new stock subscription interface meets the compliance rule is verified, if the preprocessed new stock subscription interface meets the compliance rule, a display instruction of the new stock subscription interface to be displayed is obtained, and then, interface display is performed according to the display instruction and the preprocessed new stock subscription interface, so that a situation that a compliance problem is triggered due to the fact that uniform subscription interfaces are displayed for all users is avoided, and the stability and reliability of display of the new stock subscription interface are improved.
According to the method described in the foregoing embodiment, this embodiment will be described in terms of a user, a client and a server as a whole, please refer to fig. 4, where fig. 4 is a process diagram of an interface display method provided in this embodiment, and a specific process may be as follows:
firstly, a user logs in APP (preset stock software), a client side can send account information to a server side through TCP, then the server side determines the new stock subscription authority of the user to various stocks according to the account information and preset compliance rules, the new stock subscription authority of the user to various stocks is issued to the client side through TCP, a client side new stock authority management center updates the cache data of the new stock subscription authority of various local stocks and informs a new stock subscription interface through broadcasting, and after receiving the notice, the new stock subscription interface dynamically configures different views according to different authorities. For example, when a user requests a new stock subscription interface of a certain stock, for example, clicks a certain button to generate a display instruction, the client may display different views after configuring according to a new stock subscription authority of the certain stock by the user, for example, the current user does not have the new stock subscription authority of the certain stock (i.e., a second-authority user), the new stock subscription interface does not display subscription records, a new classroom, a new stock banner (advertisement) position and a subscription button or an international distribution identifier and portal, and the user can only experience and view market data related interactions and the like. Therefore, the situation that the user does not have the new stock subscription authority to the stock can be avoided, the content of the new stock subscription can be displayed, and the problem of compliance triggering is avoided.
The present embodiment will be further described from the perspective of the interface display device according to the method described in the above embodiment.
Referring to fig. 6, fig. 6 specifically describes an interface display apparatus provided in the embodiment of the present application, where the interface display apparatus 10 includes a preprocessing module 11, an obtaining module 12, and a display module 13, where:
(1) preprocessing module 11
The preprocessing module 11 is configured to preprocess the new stock subscription interface to be displayed according to a preset compliance rule of the stock, and verify whether the preprocessed new stock subscription interface meets the compliance rule.
In some embodiments, the pre-processing module 11 may be primarily for: according to the compliance rule, aiming at the preset stock, dividing users into a first right user and a second right user, wherein the first right user is a user with a new stock subscription right aiming at the preset stock, and the second right user is a user without the new stock subscription right aiming at the preset stock; configuring a first new stock subscription interface aiming at a first authorized user; and configuring a second new stock subscription interface aiming at the second authorized user.
In some embodiments, the preprocessing module 11 may be specifically configured to: simulating and generating a plurality of account numbers related to a plurality of boundary conditions in a compliance rule in a preset test environment; respectively determining user categories corresponding to a plurality of accounts, and respectively displaying test user interfaces corresponding to the plurality of accounts; if the test user interfaces all accord with the compliance rules, determining that the preprocessed new stock subscription interface accords with the compliance rules; and if one of the test user interfaces does not accord with the compliance rule, determining that the preprocessed new stock subscription interface does not accord with the compliance rule.
(2) Acquisition module 12
The obtaining module 12 is configured to obtain a display instruction of the new stock subscription interface to be displayed if the preprocessed new stock subscription interface meets the compliance rule.
(3) Display module 13
And the display module 13 is configured to perform interface display according to the display instruction and the preprocessed new stock subscription interface.
In this embodiment, the display instruction carries a user category corresponding to a new stock subscription interface to be displayed, where the user category includes a first right user or a second right user, and the display module 13 may specifically be configured to: if the user category carried by the display instruction is a first authority user, displaying a first new stock subscription interface; and if the user category carried by the display instruction is a second authority user, displaying a second new stock subscription interface.
In some embodiments, the interface display apparatus 10 may further include a determining module for determining a user category corresponding to the new stock subscription interface to be displayed according to the account information of the user.
Wherein, the account information includes the user's main jockey dealer, account opening information, current network address and account opening membership, and the determining module is used for: if the main security dealer is a preset security dealer, determining that the user category is a first authority user; if the main security dealer is not the preset security dealer, but the account opening information indicates that the user opens an account in the preset security dealer, determining that the user category is a first authority user; if the main dealer is not the preset dealer, and the account opening information indicates that the user does not open an account in the preset dealer and the main dealer of the user does not open an account, determining that the user category is the second authority user; if the main security dealer is not the preset security dealer, the account opening information indicates that the user does not open an account in the preset security dealer and the main security dealer is open an account, and the current network address and the account opening account are not in the region corresponding to the main security dealer, determining that the user category is a first authority user; if the main jockey is not the first preset security dealer, and the account opening information indicates that the user does not open an account in the first preset security dealer and the main jockey opens an account, and the current network address or the account opening account is in a region corresponding to the main jockey, the user category is determined to be the second authority user.
In some embodiments, the determining module may be further operable to: and storing the corresponding relation between the user and the user category corresponding to the new stock subscription interface to be displayed.
As can be seen from the above, this embodiment provides an interface display apparatus, a new stock subscription interface to be displayed is preprocessed through a preprocessing module 11 according to a compliance rule of preset stocks, and it is verified whether the preprocessed new stock subscription interface conforms to the compliance rule, if the preprocessed new stock subscription interface conforms to the compliance rule, an obtaining module 12 obtains a display instruction of the new stock subscription interface to be displayed, and then a display module 13 performs interface display according to the display instruction and the preprocessed new stock subscription interface, so as to avoid a situation that a compliance problem is triggered due to the fact that a unified subscription interface is displayed for all users, and improve stability and reliability of display of the new stock subscription interface.
In addition, an embodiment of the present application further provides a terminal device, as shown in fig. 7, the terminal device 600 includes a processor 601 and a memory 602. The processor 601 is electrically connected to the memory 602.
The processor 601 is a control center of the terminal device 600, connects various parts of the whole terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or loading an application program stored in the memory 602 and calling data stored in the memory 602, thereby performing overall monitoring of the terminal device.
In this embodiment, the processor 601 in the terminal device 600 loads instructions corresponding to processes of one or more application programs into the memory 602 according to the following steps, and the processor 601 runs the application programs stored in the memory 602, thereby implementing various functions:
preprocessing a new stock subscription interface to be displayed according to a preset stock compliance rule, and verifying whether the preprocessed new stock subscription interface conforms to the compliance rule or not;
if the preprocessed new stock subscription interface meets the compliance rule, acquiring a display instruction of the new stock subscription interface to be displayed;
and displaying an interface according to the display instruction and the preprocessed new stock subscription interface.
Fig. 8 is a block diagram showing a specific structure of a terminal device provided in an embodiment of the present application, where the terminal device may be used to implement the interface display method provided in the foregoing embodiment.
The RF circuit 710 is used for receiving and transmitting electromagnetic waves, and performs interconversion between the electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices. The RF circuitry 710 may include various existing circuit elements for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, memory, and so forth. The RF circuit 710 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a wireless local area network or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., Institute of Electrical and Electronics Engineers (IEEE) standard IEEE802.11 a, IEEE802.11 b, IEEE802.11g, and/or IEEE802.11 n), Voice over Internet Protocol (VoIP), world wide Internet Access (Microwave Access for Wireless communications, Wi-11 Max), other suitable protocols for short-message communications, and any other suitable protocols, and may even include those protocols that have not yet been developed.
The memory 720 may be used for storing software programs and modules, such as the interface display method and the corresponding program instructions/modules in the above embodiments, and the processor 730 executes various functional applications and data processing, i.e., implements the communication data saving function, by operating the software programs and modules stored in the memory 720. The memory 720 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 720 may further include memory located remotely from processor 730, which may be connected to terminal device 700 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor 730 is a control center of the terminal device 700, connects various parts of the entire terminal device using various interfaces and lines, performs various functions of the terminal device 700 and processes data by running or executing software programs and/or modules stored in the memory 720 and calling data stored in the memory 720, thereby monitoring the terminal device as a whole. Optionally, processor 730 may include one or more processing cores; in some embodiments, processor 730 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 730.
Terminal device 700 also includes a power supply 740 (e.g., a battery) for powering the various components, which may be logically coupled to processor 730 via a power management system in some embodiments to manage charging, discharging, and power consumption management functions via the power management system. The power supply 740 may also include any component including one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Specifically, in this embodiment, the terminal device further includes a memory, and one or more programs, where the one or more programs are stored in the memory, and the one or more programs configured to be executed by the one or more processors include instructions for:
preprocessing a new stock subscription interface to be displayed according to a preset stock compliance rule, and verifying whether the preprocessed new stock subscription interface conforms to the compliance rule or not;
if the preprocessed new stock subscription interface meets the compliance rule, acquiring a display instruction of the new stock subscription interface to be displayed;
and displaying an interface according to the display instruction and the preprocessed new stock subscription interface.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor. To this end, an embodiment of the present application provides a storage medium including terminal device executable instructions. The terminal device executable instructions, when executed by a terminal device processor, perform the steps of any one of the interface display methods provided by the embodiments of the present application.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any interface display method provided in the embodiments of the present application, beneficial effects that can be achieved by any interface display method provided in the embodiments of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
In summary, although the present application has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present application, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application, so that the scope of the present application shall be determined by the appended claims.
Claims (10)
1. An interface display method, comprising:
preprocessing a new stock subscription interface to be displayed according to a preset stock compliance rule, and verifying whether the preprocessed new stock subscription interface conforms to the compliance rule or not;
if the preprocessed new stock subscription interface meets the compliance rule, acquiring a display instruction of the new stock subscription interface to be displayed;
and performing interface display according to the display instruction and the preprocessed new stock subscription interface.
2. The interface display method of claim 1, wherein the preprocessing of the new stock subscription interface to be displayed according to the preset compliance rules of stocks comprises:
according to the compliance rule, aiming at the preset stock, dividing users into a first right user and a second right user, wherein the first right user is a user with a new stock subscription authority aiming at the preset stock, and the second right user is a user without the new stock subscription authority aiming at the preset stock;
configuring a first new stock subscription interface aiming at the first authorized user;
and configuring a second new stock subscription interface aiming at the second authorized user.
3. The interface display method of claim 2, wherein the verifying whether the preprocessed new stock underwriting interface meets the compliance rules comprises:
simulating and generating a plurality of account numbers related to a plurality of boundary conditions in the compliance rule in a preset test environment;
respectively determining user categories corresponding to the multiple accounts, and respectively displaying test user interfaces corresponding to the multiple accounts;
if the test user interfaces all accord with the compliance rules, determining that the preprocessed new stock subscription interface accords with the compliance rules;
and if one of the test user interfaces does not meet the compliance rules, determining that the preprocessed new stock subscription interface does not meet the compliance rules.
4. The interface display method according to claim 2, wherein the display instruction carries a user category corresponding to the new stock subscription interface to be displayed, the user category includes the first right user or the second right user, and the interface display according to the display instruction of the new stock subscription interface includes:
if the user category carried by the display instruction is the first authority user, displaying the first new stock subscription interface;
and if the user category carried by the display instruction is the second authority user, displaying the second new stock subscription interface.
5. The interface display method of claim 2, further comprising:
and determining the user category corresponding to the new stock subscription interface to be displayed according to the account information of the user.
6. The interface display method of claim 5, wherein the account information includes a principal dealer, an account opening information, a current network address, and an account holder of the user, and the determining the user category corresponding to the new stock subscription interface to be displayed according to the account information of the user comprises:
if the main security dealer is a preset security dealer, determining that the user category is the first authority user;
if the main security dealer is not a preset security dealer, but the account opening information indicates that the user opens an account in the preset security dealer, determining that the user category is the first authority user;
if the main dealer is not a preset dealer, and the account opening information indicates that the user does not open an account in the preset dealer and the main dealer of the user does not open an account, determining that the user category is the second authority user;
if the main security dealer is not a preset security dealer, the account opening information indicates that the user does not open an account in the preset security dealer and the main security dealer, and the current network address and the account opening account are not in the area corresponding to the main security dealer, determining that the user category is the first authority user;
if the main push dealer is not a first preset dealer, and the account opening information indicates that the user is in the first preset dealer is not account opened and the main push dealer is account opened, and the current network address or the account opening household is in the area corresponding to the main push dealer, then the user classification is determined to be the second authority user.
7. The interface display method of claim 5, further comprising:
and storing the corresponding relation between the user and the user category corresponding to the new stock subscription interface to be displayed.
8. An interface display device, comprising:
the system comprises a preprocessing module, a display module and a display module, wherein the preprocessing module is used for preprocessing a new stock subscription interface to be displayed according to a preset stock compliance rule and verifying whether the preprocessed new stock subscription interface conforms to the compliance rule or not;
the acquisition module is used for acquiring a display instruction of the new stock subscription interface to be displayed if the preprocessed new stock subscription interface meets the compliance rule;
and the display module is used for carrying out interface display according to the display instruction and the preprocessed new stock subscription interface.
9. A computer-readable storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor to perform the interface display method of any one of claims 1 to 7.
10. A terminal device, characterized in that the terminal device comprises a processor and a memory, wherein the memory stores a computer program, and the processor is used for executing the interface display method according to any one of claims 1 to 7 by calling the computer program stored in the memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110699291.8A CN113362175B (en) | 2021-06-23 | 2021-06-23 | Interface display method and device, storage medium and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110699291.8A CN113362175B (en) | 2021-06-23 | 2021-06-23 | Interface display method and device, storage medium and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113362175A true CN113362175A (en) | 2021-09-07 |
CN113362175B CN113362175B (en) | 2023-07-25 |
Family
ID=77536004
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110699291.8A Active CN113362175B (en) | 2021-06-23 | 2021-06-23 | Interface display method and device, storage medium and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113362175B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103077110A (en) * | 2011-10-25 | 2013-05-01 | 阿里巴巴集团控股有限公司 | Test method and device |
WO2016048462A1 (en) * | 2014-09-26 | 2016-03-31 | General Electric Company | Product compliance fulfilment portal system and method |
US20170069032A1 (en) * | 2015-09-09 | 2017-03-09 | Complii FinTech Solutions Ltd | Method and apparatus for managing compliance for financial transactions |
CN107422936A (en) * | 2017-04-18 | 2017-12-01 | 湖南福米信息科技有限责任公司 | Method, apparatus and electronic equipment for the generation of stock interface |
US20180075502A1 (en) * | 2016-09-14 | 2018-03-15 | Meijer, Inc. | System and method for processing and implementing product regulations |
CN109151514A (en) * | 2017-06-28 | 2019-01-04 | 武汉斗鱼网络科技有限公司 | Method, storage medium, equipment and the system of purchase commodity are realized in direct broadcasting room |
CN109492884A (en) * | 2018-10-25 | 2019-03-19 | 平安科技(深圳)有限公司 | Close rule risk information methods of exhibiting, device, computer equipment and storage medium |
CN109711988A (en) * | 2018-12-14 | 2019-05-03 | 北京向上一心科技有限公司 | Management method, managing device, equipment and the medium of stock account |
-
2021
- 2021-06-23 CN CN202110699291.8A patent/CN113362175B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103077110A (en) * | 2011-10-25 | 2013-05-01 | 阿里巴巴集团控股有限公司 | Test method and device |
WO2016048462A1 (en) * | 2014-09-26 | 2016-03-31 | General Electric Company | Product compliance fulfilment portal system and method |
US20160092885A1 (en) * | 2014-09-26 | 2016-03-31 | General Electric Company | Product compliance fulfillment portal system and method |
US20170069032A1 (en) * | 2015-09-09 | 2017-03-09 | Complii FinTech Solutions Ltd | Method and apparatus for managing compliance for financial transactions |
US20180075502A1 (en) * | 2016-09-14 | 2018-03-15 | Meijer, Inc. | System and method for processing and implementing product regulations |
CN107422936A (en) * | 2017-04-18 | 2017-12-01 | 湖南福米信息科技有限责任公司 | Method, apparatus and electronic equipment for the generation of stock interface |
CN109151514A (en) * | 2017-06-28 | 2019-01-04 | 武汉斗鱼网络科技有限公司 | Method, storage medium, equipment and the system of purchase commodity are realized in direct broadcasting room |
CN109492884A (en) * | 2018-10-25 | 2019-03-19 | 平安科技(深圳)有限公司 | Close rule risk information methods of exhibiting, device, computer equipment and storage medium |
CN109711988A (en) * | 2018-12-14 | 2019-05-03 | 北京向上一心科技有限公司 | Management method, managing device, equipment and the medium of stock account |
Also Published As
Publication number | Publication date |
---|---|
CN113362175B (en) | 2023-07-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110826043B (en) | Digital identity application system and method, identity authentication system and method | |
CN105262779B (en) | Identity authentication method, device and system | |
CN108805573A (en) | A kind of Information Authentication method, server and storage medium | |
CN109309657A (en) | Unauthorized access point detection system and method, user terminal and computer program for it | |
IL295578B2 (en) | Secure methods and systems for environmental credit scoring | |
CN109671205B (en) | Voting method, device and equipment based on block chain and computer storage medium | |
WO2018018697A1 (en) | Method and system for identifying spam message from false base station | |
CN106981003B (en) | Transaction method, device and system for virtual reality environment | |
CN108280369B (en) | Cloud document offline access system, intelligent terminal and method | |
CN109995876B (en) | File transmission method, device, system and computer storage medium | |
CN107368986B (en) | A kind of logistics information processing method and system | |
CN113132973A (en) | Equipment network distribution method and system and computer readable storage medium | |
CN109639771B (en) | Method and device for pushing service, computer equipment and storage medium | |
CN105577619B (en) | Client login method, client and system | |
CN106961332A (en) | A kind of purview certification method and device | |
CN111177536A (en) | Method and device for transmitting customized information to unregistered user based on device fingerprint and electronic device | |
CN110598479B (en) | Data processing method, device and computer readable storage medium | |
CN108810821A (en) | Method, apparatus, terminal, server and the storage medium of attendance tracking | |
CN113362175A (en) | Interface display method and device, storage medium and terminal equipment | |
CN109544380A (en) | Claims Resolution method and Related product based on location-based service | |
CN106060021B (en) | A kind of Email recognition methods, device and system | |
CN112995999B (en) | Fraud location identification method and device and computing equipment | |
CN107231438A (en) | Data-updating method and device | |
CN107396319A (en) | A kind of method of wireless network authentication, equipment, storage medium and terminal reclaimer | |
CN107239813A (en) | The method and device being authenticated to information medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |