CN113362175B - Interface display method and device, storage medium and terminal equipment - Google Patents

Interface display method and device, storage medium and terminal equipment Download PDF

Info

Publication number
CN113362175B
CN113362175B CN202110699291.8A CN202110699291A CN113362175B CN 113362175 B CN113362175 B CN 113362175B CN 202110699291 A CN202110699291 A CN 202110699291A CN 113362175 B CN113362175 B CN 113362175B
Authority
CN
China
Prior art keywords
user
new
interface
stock
subscription
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.)
Active
Application number
CN202110699291.8A
Other languages
Chinese (zh)
Other versions
CN113362175A (en
Inventor
郑文磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Futuo Network Technology Shenzhen Co ltd
Original Assignee
Futuo Network Technology Shenzhen Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Futuo Network Technology Shenzhen Co ltd filed Critical Futuo Network Technology Shenzhen Co ltd
Priority to CN202110699291.8A priority Critical patent/CN113362175B/en
Publication of CN113362175A publication Critical patent/CN113362175A/en
Application granted granted Critical
Publication of CN113362175B publication Critical patent/CN113362175B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • 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/604Tools and structures for managing or administering access control systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application discloses an interface display method, an interface display device, a storage medium and terminal equipment, 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 accords with the compliance rule; if the preprocessed new strand subscription interface accords with the compliance rule, acquiring a display instruction of the new strand subscription interface to be displayed; and displaying the interface according to the display instruction and the preprocessed new subscription interface, so that the condition that the compliance problem is triggered due to the fact that the unified subscription interface is displayed for all users is avoided, and the stability and reliability of displaying the new subscription interface are improved.

Description

Interface display method and device, storage medium and terminal equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an interface display method, an apparatus, a storage medium, and a terminal device.
Background
With the continuous development of the software industry, a plurality of powerful stock frying software appears on the market, which not only can provide functions of market display, market analysis, market transaction and the like, but also can provide new stock subscription functions of stocks.
At present, a stock-frying software client is generally provided with a unified new stock subscription interface and forcedly displays the new stock subscription interface, however, due to different dealer supervision rules in various places, the problem of compliance is easily triggered when the software is promoted to different places, and meanwhile, the requirements on the stability and reliability of the display of the new stock subscription interface are higher based on different compliance rules in 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-strand subscription interfaces according to new-strand subscription rights of a user to stocks, so that the problem of triggering compliance is avoided, and the stability and reliability of displaying the new-strand subscription interfaces are improved.
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 accords with the compliance rule;
if the preprocessed new strand subscription interface accords with the compliance rule, acquiring a display instruction of the new strand subscription interface to be displayed;
and displaying an interface according to the display instruction and the preprocessed new 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 compliance rule of the preset stock includes:
dividing users into a first authority user and a second authority user according to the compliance rule aiming at the preset stock, wherein the first authority user is a user with new stock subscription authority aiming at the preset stock, and the second authority user is a user without new stock subscription authority aiming at the preset stock;
configuring a first new subscription interface for the first authority user;
and configuring a second new subscription interface for the second authority user.
In the interface display method provided in the present application, the verifying whether the new purchase interface after preprocessing 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 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 strand subscription interfaces accord with the compliance rules;
And if one of the test user interfaces does not accord with the compliance rule, determining that the preprocessed new purchase interface does not accord with the compliance rule.
In the interface display method provided by the application, the display instruction carries a user category corresponding to the new subscription interface to be displayed, where the user category includes the first authority user or the second authority user, and the interface display is performed according to the display instruction of the new subscription interface, and the method 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 subscription interface.
In the interface display method provided by the application, the method further comprises the following steps:
and determining the user category corresponding to the new subscription interface to be displayed according to the account information of the user.
In the interface display method provided by the application, the account information includes a host stock dealer of the user, account opening information, a current network address and account opening account book, and the determining, according to the account information of the user, a user category corresponding to the new subscription interface to be displayed includes:
If the master dealer is a preset dealer, determining the user category as the first authority user; if the master dealer is not a preset dealer, but the account opening information indicates that the user opens an account at the preset dealer, determining the user category as the first authority user; if the master stock dealer is not a preset stock dealer and the account opening information indicates that the user does not open an account at the preset stock dealer and the master stock dealer of the user does not open an account, determining the user category as the second authority user; if the master dealer is not a preset dealer, the account opening information indicates that a user does not open an account at the preset dealer and the master dealer opens an account, and the current network address and account opening register are not areas corresponding to the master dealer, determining the user category as the first authority user; if the master-push dealer is not the first preset dealer and the account opening information indicates that the user opens an account in the first preset dealer and the master-push dealer, and the current network address or the account opening account is the area corresponding to the master-push dealer, determining that the user category is the second authority user.
In the interface display method provided by the application, the method further comprises the following steps:
And storing the corresponding relation between the user and the user category corresponding to the new subscription interface to be displayed.
The application also provides an interface display device, comprising:
the pretreatment module is used for pretreating a new stock subscription interface to be displayed according to a preset stock compliance rule and verifying whether the pretreated new stock subscription interface accords with the compliance rule or not;
the acquisition module is used for acquiring a display instruction of the new subscription interface to be displayed if the preprocessed new subscription interface accords with the compliance rule;
and the display module is used for displaying an interface according to the display instruction and the preprocessed new subscription interface.
The present application also provides a computer readable storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform any of the interface display methods described above.
The application also provides a terminal device, which comprises a processor and a memory, wherein the memory stores a computer program, 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, device, storage medium and terminal equipment, wherein the method comprises the steps of preprocessing a new subscription interface according to a compliance rule of a preset stock, displaying the interface according to the preprocessed new subscription interface, and further avoiding the occurrence of the condition of triggering the compliance problem caused by displaying a uniform subscription interface for all users.
Drawings
Technical solutions and other advantageous effects of the present application will be made apparent from the following detailed description of specific embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is an application scenario schematic diagram of an interface display method provided in an embodiment of the present application.
Fig. 2 is a flow chart of an interface display method according to an embodiment of the present application.
Fig. 3 is a schematic diagram of another application scenario of the interface display method provided in the embodiment of the present application.
Fig. 4 is a process schematic diagram of an interface display method according to 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 application.
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 will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. In the drawings, like elements are designated by like reference numerals. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In the description of the present application, it should be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or an implicit indication of the number of technical features being indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more of the described features. In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined 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 an application scenario schematic diagram 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, a tablet computer, or the like.
The server can preprocess a new stock subscription interface to be displayed according to a preset stock compliance rule, verify whether the preprocessed new stock subscription interface accords with the compliance rule, and the client can acquire a display instruction and then display the interface according to the display instruction and the preprocessed new stock subscription interface.
Referring to fig. 2, fig. 2 is a flow chart of an interface display method provided in an embodiment of the present application, where the method mainly includes steps S101 to S103, execution bodies of respective steps included in the method may be the same or different, and the execution bodies include a terminal, a server, etc., and the descriptions for the respective steps are as follows:
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 accords with the compliance rule.
At present, stock software on the market not only can provide display, analysis and trade of stock market quotations, but also can support users to carry out new stock subscription, however, different areas have different compliance rules, for example, area A does not allow a dealer to carry out exhibition on a public person in area B, if the stock software presents a new stock of a dealer supervised by area A to the public person in area B, compliance problems are triggered, and therefore, a new stock subscription interface can be preprocessed according to the compliance rules of stocks and then displayed. It is easy to understand that under the financial background based on the compliance rule, the requirement on the stability of the display of the new-strand subscription interface is higher, and in order to improve the stability and reliability of the display of the new-strand subscription interface, after the pretreatment of the new-strand subscription interface to be displayed, whether the pretreated new-strand subscription interface accords with the compliance rule can be verified, so that the reliability of the display of the interface is ensured.
In this embodiment, the step of "preprocessing a new stock subscription interface to be displayed according to a preset compliance rule of stocks" may specifically include: dividing users into a first authority user and a second authority user according to a compliance rule aiming at preset stocks, wherein the first authority user is a user with new stock subscription authority aiming at the preset stocks, and the second authority user is a user without new stock subscription authority aiming at the preset stocks; configuring a first new subscription interface for a first authority user; and configuring a second new subscription interface for the second authority user.
The server can preprocess a new subscription interface to be displayed according to the compliance rule and then send the new subscription interface to the client, so that the client does not need to issue version adaptation when the compliance rule changes.
Specifically, for example, if the region a does not allow its dealer to develop the public of the region B, the public of the region B may be considered as the second authority user, i.e., the user not having the new stock subscription authority for the stock of the region a, and the public of the region a may be considered as the first authority user, i.e., the user having the new stock subscription authority for the stock of the region a. The related information of the new subscription can be displayed in detail for the first new subscription interface configured by the first authority user, and the related information of the new subscription should be hidden for the second new subscription interface configured by the second authority user, for example, the second new subscription interface hides the subscription record, the new class and the advertisement space.
In some embodiments, the step of "verifying whether the preprocessed new stock subscription interface meets the compliance rule" 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; user categories corresponding to the multiple accounts are respectively determined, and test user interfaces corresponding to the multiple accounts are respectively displayed; if the test user interfaces all accord with the compliance rules, determining that the preprocessed new subscription interfaces accord with the compliance rules; if one of the test user interfaces does not accord with the compliance rule, determining that the preprocessed new purchase 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 by an 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, and by taking singapore stocks as an example, first, singapore related stock information may be entered into the test environment center, and states of some stocks are modified to be new stocks, so that the new stocks support subscription or support international allocation to complete configuration of the new stocks, then, the script tool center generates virtual area information to simulate user's home area information and binds a primary push-in dealer according to the home area, and configures network addresses of the test environment, for example, to respectively configure the network addresses of the test environment as hong kong, singapore, usa, to achieve the effect of simulating the network addresses of hong, singapore, usa, and then, according to the primary push-in-plane and home area information, when the test personnel logs in, a new stock related to the test environment center is requested by using a new stock of different boundary conditions, the new stock of the test environment center is to be fully allocated, and the new stock accounts are correspondingly allocated to the test environment center is determined, and the new accounts are correspondingly released to the new accounts are correspondingly, and the current authority view is updated according to the home authority view, and the current authority view is changed, and the current authority view is verified.
S102, if the preprocessed new strand subscription interface meets the compliance rule, acquiring a display instruction of the new strand subscription interface to be displayed.
Specifically, the display instruction may be generated when the user clicks a new stock subscription button in preset stock software. The display instruction may carry a user category corresponding to the new subscription interface to be displayed, where the user category includes the first authority user or the second authority user.
Specifically, when a user logs in the stock software, the new stock subscription authority can be determined, for example, the preset software supports the new stock subscription function of a certain stock, 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 the subsequent user wants to enter a new stock subscription interface of a certain stock, the terminal can directly display the new stock subscription authority of the certain stock according to the user without executing the step of determining the subscription authority, and the display speed is improved, and the user experience is further improved. In addition, when the user clicks a new stock subscription button of a certain stock, the new stock subscription authority of the new stock may be determined. It is easy to understand that stock software may support new stock subscription functions of a plurality of stocks, if a user determines new stock subscription authority of a plurality of stocks when logging in, the user may waste processor resources by using only one or several new stock subscription functions of the stocks.
For example, the stock software has a new-strand subscription function of X strands and a new-strand subscription function of Y strands, and when the user logs in the stock software, the user subscribes to the new-strand subscription rights of X strands and the new-strand subscription rights of Y strands.
For another example, as shown in fig. 3, the preset buttons include an "X-strand subscription" button and a "Y-strand subscription" button, where the stock category corresponding to the "X-strand subscription" button is X-strand, the stock category corresponding to the "Y-strand subscription" button is Y-strand, when the user clicks the "X-strand subscription" button, the user category for the X-strand is determined, and a display instruction is generated, after the terminal obtains the display instruction, the terminal displays the X-strand subscription interface according to the user category, for example, if the user has a new subscription authority for the X-strand, the user is determined to be a first authority user, the first subscription interface is displayed, if the user does not have a new subscription authority for the X-strand, the user is determined to be a second authority user, and a second subscription interface is displayed, where the second subscription interface shields a part of content compared with the first subscription interface, so that the triggering of the compliance problem can be avoided.
In this embodiment, the method may further include: and determining the user category corresponding to the new subscription interface to be displayed according to the account information of the user.
The account information may include a master dealer of the user, account opening information, a current network address, and account opening register, and the master dealer of the user may be plural. It will be readily appreciated that when a user first uses the stock software and registers, the user will be assigned a master dealer by default, which may typically be determined by the user's home registration, e.g., a U.S. dealer may be assigned to the user of the U.S. home registration as the master dealer. If the user opens accounts among a plurality of dealer in the subsequent use process, the number of the dealer of the user is plural.
The step of determining the user category corresponding to the new subscription interface to be displayed according to the account information of the user may include: if the master dealer is a preset dealer, determining the user category as a first authority user; if the master dealer is not the preset dealer, but the account opening information indicates that the user opens an account at the preset dealer, determining the user category as a first authority user; if the master dealer is not the preset dealer and the account opening information indicates that the user is not in the preset dealer and the master dealer of the user is not in the account opening, determining the user category as the second authority user; if the master dealer is preset, the account opening information indicates that the user opens accounts in the preset dealer and the master dealer, and the current network address and the account opening register are not areas corresponding to the master dealer, determining the user category as a first authority user; if the master dealer is not the first preset dealer and the account opening information indicates that the user opens accounts in the first preset dealer and the master dealer, and the current network address or account opening register is the area corresponding to the master dealer, determining the user category as the second authority user.
The preset dealer may be determined by preset software, and a regulatory compliance rule of a stock category supporting new stock subscription in the preset software. For example, the preset software provides a new stock subscription function of X stock, however, if the stock dealer of X stock is regulatory region a, the public in other regions cannot actively develop and advertise its services, then the preset dealer is the site dealer providing X stock. When a user logs in preset software, firstly, judging whether a master stock dealer of the user is a site dealer, if the master stock dealer of the user is the site dealer, determining that the user has new stock subscription authority for X stocks, and determining that the user type is a first authority user; if the master stock dealer of the user is not the site dealer, determining whether the user opens an account at the site dealer according to the information of the user opening an account, if the user opens an account at the site dealer, determining that the user has new stock subscription authority for X strands, and determining that the user type is a first authority user; if the user does not open an account at the dealer A, judging whether the dealer of the user opens an account, if the dealer of the user does not open an account, determining that the user does not have the new subscription authority for the X strands, and determining that the user category is a second authority user; if the current network address and the account opening register of the user are not the areas corresponding to the main-pushing dealer, determining that the user has new subscription authority for X strands, and determining that the user category is a first authority user; if the current network address of the user or the account book is a region corresponding to the master dealer, determining that the user does not have new subscription authority to the X strands, and determining that the user type is a second authority user; therefore, if the user does not have the new subscription authority for the X strands, in the subsequent display step, the new subscription interface of the X strands, such as the shielding part content of the displayed subscription interface, can be dynamically configured, so that the problem of triggering compliance is avoided.
It is easy to understand that the user may know the compliance rule in advance, register the current network address as a compliance address using the proxy server, and communicate with the server using the compliance address, in order to prevent this, the server may search for some public proxy addresses related to the compliance rule in advance, and when 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 authority user. For example, the site a does not allow its dealer to develop business to other regional public persons, and users in other regions may register to the site a using the proxy server to achieve the purpose of forging a network address, so the server side may collect some site a agents disclosed on the internet, compare the current network address of the user with the collected site a, if they are consistent, determine that the user uses the forged network address to communicate with the server side, warn it and determine that it is a second authority user.
In particular, when comparing the current network address of the user with the collected network addresses, this may be done by calculating the degree of matching between the two network addresses. For example, the degree of matching between two addresses is calculated by the following formula:
Wherein, the current network address is X [ X ] 1 、x 2 、…、x i ]The collected network address is Y Y 1 、y 2 、…、y i ]I is used to represent the length of the network address. After the matching degree is calculated, if the matching degree is higher, the two network addresses are similar, and the probability that the user uses the forged network address to communicate with the server side is higher.
Further, after alerting the account of the counterfeit information, a complaint interface may be provided to the user account for obtaining complaint information of the user account to determine the type of the user account based on the more comprehensive complaint information. The complaint information may be more direct historical data, including but not limited to certificate information, account opening evidence, transaction evidence, etc. of the user, and may be in the form of data such as images, web pages, etc. 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 disclosed on the internet as much as possible, and private agents are difficult to collect, so that the server side can send a request to the current network address after obtaining the current network address, the request can be used to request the client side for information, and the client side cannot receive the request, so that the server side cannot receive a reply, thereby determining that the current network address of the user is counterfeit, and warning it and determining it as the second authority user. In addition, the server side can also store the current network address corresponding to the account information, and when the user logs in each time, the server judges whether the current network address is consistent with the stored network address or not, and if not, the user type is determined again.
Specifically, when the user starts the preset software client, the client can send account information of the user, namely account opening register, master dealer, account opening information and current network address, to the server through TCP (Transmission Control Protocol ), the server judges the user category, and then the user category is issued to the client, so that when the compliance rule changes, the client does not need to update the release version, and user experience is improved.
It will be readily appreciated that in order to protect the privacy of a user, the account information of the user may be encrypted when sent to the server, for example, the account information of the user may be encrypted using the RSA algorithm or AES (Advanced Encryption Standard ) or rsa+aes algorithm. For example, the server may generate a pair of RSA keys (private key+public key) and send the public key to the client, and after the client encrypts the account information of the user using the AES private key, the client encrypts the AES private key using the RSA public key and sends the encrypted account information and the encrypted account information to the server, and after the server receives the encrypted account information and the encrypted account information, the server decrypts the encrypted AES private key using the RSA private key and decrypts the encrypted account information using the AES private key, thereby obtaining the account information of the user. Thus, the privacy security of the user can be ensured.
In some embodiments, after determining a user category corresponding to a new subscription interface to be displayed according to account information of a user, the user category corresponding to the new subscription interface to be displayed is stored locally.
It is easy to understand that after determining the user category, for example, determining that the first user is the first authority user for the X strands, 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 side changes, the server side can redetermine the user category of the first user and send the user category to the client side so as to update the corresponding user category.
S103, displaying the interface according to the display instruction and the preprocessed new subscription interface.
Specifically, if the user category carried by the display instruction is the first authority user, displaying a first new subscription interface, and if the user category carried by the display instruction is the second authority user, displaying a second new subscription interface.
After the server side is configured with a first new subscription interface and a second new subscription interface for the first authority user and the second authority 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 interfaces locally for display, so that the display speed is improved, and the communication resources are saved.
In this embodiment, if the user is a first authority user, a first new-strand subscription interface is displayed, where the first new-strand subscription interface displays a plurality of available new strands, and the method may further include: determining the attention degree of a user to a plurality of new purchasable strands; and sequencing and displaying the plurality of new purchasable strands according to the order of the attention degree from high to low.
Specifically, if the user has a new stock subscription authority of stocks of a stock category to be displayed with a subscription interface, the new stock which can be subscribed can be displayed for the user, and when the new stock is displayed, the new stock which can be subscribed can be displayed according to the order of the user from high to low attention degree so as to meet the demands of the user.
In this embodiment, the attention degree of the subscription new strand may be determined according to whether the user clicks on the related content of the subscription new strand in the preset software and the number of clicks on the related content of the subscription new strand, for example, if the user searches for a subscription new strand in the preset software, the attention degree of the subscription new strand is increased by one, if the user clicks on an analysis article of a subscription new strand, the attention degree of the subscription new strand is increased by one, and so on.
As can be seen from the foregoing, the present embodiment provides an interface display method, by preprocessing a new underwriting interface to be displayed according to a preset compliance rule of stocks, and verifying whether the preprocessed new underwriting interface meets the compliance rule, if the preprocessed new underwriting interface meets the compliance rule, acquiring a display instruction of the new underwriting interface to be displayed, and then displaying the interface according to the display instruction and the preprocessed new underwriting interface, so that occurrence of triggering of a compliance problem due to displaying of the unified underwriting interface to all users is avoided, and stability and reliability of display of the new underwriting interface are improved.
According to the method described in the foregoing embodiments, the present embodiment will be described in its entirety from the perspective of a user, a client, and a server, referring to fig. 4, fig. 4 is a process diagram of an interface display method provided in the embodiment of the present application, and the specific process may be as follows:
firstly, a user logs in an APP (preset stock software), a client can send account information to a server through a TCP, then the server determines new stock subscription rights of the user to various stocks according to the account information and preset compliance rules, the new stock subscription rights of the user to various stocks are issued to the client through the TCP, a new stock rights management center of the client updates local new stock subscription rights cache data of various stocks, and the new stock subscription rights cache data is notified to a new stock subscription interface through broadcasting, and after the new stock subscription interface receives notification, different views are displayed after dynamic configuration according to different rights. For example, when a user requests a new stock subscription interface of a certain stock, for example, when clicking a certain button to generate a display instruction, the client may display different views according to the configuration of the new stock subscription authority of the user on the certain stock, for example, the current user does not have the new stock subscription authority (i.e. the second authority user) on the certain stock, and the new stock subscription interface does not display subscription records, play new classes, new stock canner (advertisement) positions and subscription buttons or international allocation identifiers and portals, and the user can only experience interaction related to viewing market data. Therefore, the display of the new stock subscription content under the condition that the user does not have the new stock subscription authority of the stock can be avoided, and the problem of triggering compliance is avoided.
According to the method described in the above embodiment, the present embodiment will be further described from the viewpoint of the interface display device.
Referring to fig. 6, fig. 6 specifically illustrates an interface display device provided in an embodiment of the present application, where the interface display device 10 includes a preprocessing module 11, an obtaining module 12, and a display module 13, where:
(1) Pretreatment module 11
The preprocessing module 11 is configured to preprocess a new stock subscription interface to be displayed according to a preset compliance rule of stocks, and verify whether the preprocessed new stock subscription interface meets the compliance rule.
In some embodiments, the preprocessing module 11 may be used mainly for: dividing users into a first authority user and a second authority user according to a compliance rule aiming at preset stocks, wherein the first authority user is a user with new stock subscription authority aiming at the preset stocks, and the second authority user is a user without new stock subscription authority aiming at the preset stocks; configuring a first new subscription interface for a first authority user; and configuring a second new subscription interface for the second authority 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; user categories corresponding to the multiple accounts are respectively determined, and test user interfaces corresponding to the multiple accounts are respectively displayed; if the test user interfaces all accord with the compliance rules, determining that the preprocessed new subscription interfaces accord with the compliance rules; if one of the test user interfaces does not accord with the compliance rule, determining that the preprocessed new purchase interface does not accord with the compliance rule.
(2) Acquisition module 12
And the obtaining module 12 is configured to obtain a display instruction of the new purchase interface to be displayed if the preprocessed new purchase interface meets the compliance rule.
(3) Display module 13
And the display module 13 is used for displaying the interface according to the display instruction and the preprocessed new subscription interface.
In this embodiment, the display instruction carries a user category corresponding to the new subscription interface to be displayed, where the user category includes the first authority user or the second authority user, and the display module 13 may specifically be configured to: if the user category carried by the display instruction is the first authority user, displaying a first new strand subscription interface; and if the user category carried by the display instruction is the second authority user, displaying a second new subscription interface.
In some embodiments, the interface display device 10 may further include a determining module for determining a user category corresponding to the new purchase interface to be displayed according to the account information of the user.
The account information comprises a master dealer of the user, account opening information, a current network address and account opening account book, and the determining module is used for: if the master dealer is a preset dealer, determining the user category as a first authority user; if the master dealer is not the preset dealer, but the account opening information indicates that the user opens an account at the preset dealer, determining the user category as a first authority user; if the master dealer is not the preset dealer and the account opening information indicates that the user is not in the preset dealer and the master dealer of the user is not in the account opening, determining the user category as the second authority user; if the master stock dealer is not a preset stock dealer, and the account opening information indicates that the user opens an account in the preset stock dealer and the master stock dealer, and the current network address and the account opening register are not areas corresponding to the master stock dealer, determining the user category as a first authority user; if the master dealer is not the first preset dealer and the account opening information indicates that the user opens accounts in the first preset dealer and the master dealer, and the current network address or account opening register is the area corresponding to the master dealer, determining the user category as the second authority user.
In some embodiments, the determination module may also be configured to: and storing the corresponding relation between the user and the user category corresponding to the new purchase interface to be displayed.
As can be seen from the foregoing, the present embodiment provides an interface display device, which performs pretreatment on a new underwriting interface to be displayed according to preset compliance rules of stocks by using a pretreatment module 11, verifies whether the pretreated new underwriting interface meets the compliance rules, if so, obtains a display instruction of the new underwriting interface to be displayed by using an obtaining module 12, and then performs interface display by using a display module 13 according to the display instruction and the pretreated new underwriting interface, so as to avoid occurrence of a trigger compliance problem caused by displaying uniform underwriting interfaces to all users, and improve stability and reliability of display of the new underwriting interface.
In addition, the embodiment of the 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 respective parts of the entire terminal device using various interfaces and lines, and performs various functions of the terminal device and processes data by running or loading application programs 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 the processes of one or more application programs into the memory 602 according to the following steps, and the processor 601 executes 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 accords with the compliance rule;
if the preprocessed new strand subscription interface accords with the compliance rule, acquiring a display instruction of the new strand subscription interface to be displayed;
and displaying the interface according to the display instruction and the preprocessed new subscription interface.
Fig. 8 shows a specific block diagram of a terminal device provided in an embodiment of the present application, which may be used to implement the interface display method provided in the above embodiment.
The RF circuit 710 is configured to receive and transmit electromagnetic waves, and to perform mutual conversion between the electromagnetic waves and the 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 an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, memory, and the like. The RF circuitry 710 may communicate with various networks such as the internet, intranets, wireless networks, or with other devices over wireless networks. The wireless network may include 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 communications (Global System for Mobile Communication, GSM), enhanced mobile communications technology (Enhanced Data GSM Environment, EDGE), wideband code division multiple access technology (Wideband Code Division Multiple Access, WCDMA), code division multiple access technology (Code Division Access, CDMA), time division multiple access technology (Time Division Multiple Access, TDMA), wireless fidelity technology (Wireless Fidelity, wi-Fi) (e.g., institute of electrical and electronics engineers standards IEEE 802.11a,IEEE 802.11b,IEEE802.11g and/or IEEE802.11 n), internet telephony (Voice over Internet Protocol, voIP), worldwide interoperability for microwave access (Worldwide Interoperability for Microwave Access, wi-Max), other protocols for mail, instant messaging, and short messages, as well as any other suitable communication protocols, even including those not currently developed.
The memory 720 may be used to store software programs and modules, such as the interface display method and corresponding program instructions/modules in the above embodiments, and the processor 730 executes the software programs and modules stored in the memory 720 to perform various functional applications and data processing, i.e., to implement a communication data storage function. 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.
Processor 730 is the control center of terminal device 700 and connects the various parts of the overall terminal using various interfaces and lines, and performs various functions of terminal device 700 and processes data by running or executing software programs and/or modules stored in memory 720 and invoking data stored in memory 720, thereby overall monitoring the terminal. Optionally, processor 730 may include one or more processing cores; in some embodiments, processor 730 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 730.
The terminal device 700 also includes a power supply 740 (e.g., a battery) that provides power to the various components, and in some embodiments, may be logically coupled to the processor 730 via a power management system to enable management of charging, discharging, and power consumption by the power management system. The power supply 740 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
In particular, 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 configured to be executed by the one or more processors, the one or more programs 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 accords with the compliance rule;
if the preprocessed new strand subscription interface accords with the compliance rule, acquiring a display instruction of the new strand subscription interface to be displayed;
and displaying the interface according to the display instruction and the preprocessed new subscription interface.
In the implementation, each module may be implemented as an independent entity, or may be combined arbitrarily, and implemented as the same entity or several entities, and the implementation of each module may be referred to the foregoing method embodiment, which is not described herein again.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor. To this end, embodiments of the present application provide a storage medium including terminal device executable instructions. The terminal device executable instructions, when executed by the terminal device processor, perform steps in any of the interface display methods provided in the embodiments of the present application.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The instructions stored in the storage medium may perform steps in any of the interface display methods provided in the embodiments of the present application, so that the beneficial effects that any of the interface display methods provided in the embodiments of the present application can be achieved are detailed in the previous embodiments, and are not repeated herein.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
In summary, although the present application has been described with reference to the preferred embodiments, the preferred embodiments are not intended to limit the application, and those skilled in the art can make various modifications and adaptations without departing from the spirit and scope of the application, and the scope of the application is therefore defined by the claims.

Claims (9)

1. An interface display method, comprising:
preprocessing a new stock subscription interface to be displayed according to a preset stock compliance rule, wherein the preprocessing the new stock subscription interface to be displayed according to the preset stock compliance rule comprises the following steps: determining a current network address and a collected network address, the collected network address being a published proxy address relating to a compliance rule, determining a degree of match between the current network address and the collected network address, the degree of match determined by the formula:
wherein the matching degree is Sim, and the current network address is X [ X ] 1 、x 2 、…、x i ]The collected network address is Y [ Y ] 1 、y 2 、…、y i ]I is used to represent the length of the network address;
Determining whether a user has subscription authority for the preset stock according to the matching degree, and preprocessing the new stock subscription interface to be displayed according to a determination result;
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 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 strand subscription interfaces accord with the compliance rules;
if one of the test user interfaces does not accord with the compliance rule, determining that the preprocessed new strand subscription interface does not accord with the compliance rule;
if the preprocessed new strand subscription interface accords with the compliance rule, acquiring a display instruction of the new strand subscription interface to be displayed;
and displaying an interface according to the display instruction and the preprocessed new subscription interface.
2. The interface display method according to claim 1, wherein the preprocessing of the new stock subscription interface to be displayed according to the compliance rule of the preset stock includes:
Dividing users into a first authority user and a second authority user according to the compliance rule aiming at the preset stock, wherein the first authority user is a user with new stock subscription authority aiming at the preset stock, and the second authority user is a user without new stock subscription authority aiming at the preset stock;
configuring a first new subscription interface for the first authority user;
and configuring a second new subscription interface for the second authority user.
3. The interface display method according to claim 2, wherein the display instruction carries a user category corresponding to the new subscription interface to be displayed, the user category includes the first authority user or the second authority user, and the interface display is performed according to the display instruction of the new 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 subscription interface.
4. The interface display method according to claim 2, characterized in that the method further comprises:
And determining the user category corresponding to the new subscription interface to be displayed according to the account information of the user.
5. The interface display method according to claim 4, wherein the account information includes a master dealer of the user, account opening information, a current network address, and account opening account book, and the determining the user category corresponding to the new subscription interface to be displayed according to the account information of the user includes:
if the master dealer is a preset dealer, determining the user category as the first authority user;
if the master dealer is not a preset dealer, but the account opening information indicates that the user opens an account at the preset dealer, determining the user category as the first authority user;
if the master stock dealer is not a preset stock dealer and the account opening information indicates that the user does not open an account at the preset stock dealer and the master stock dealer of the user does not open an account, determining the user category as the second authority user;
if the master dealer is not a preset dealer, the account opening information indicates that a user does not open an account at the preset dealer and the master dealer opens an account, and the current network address and account opening register are not areas corresponding to the master dealer, determining the user category as the first authority user;
If the master-push dealer is not the first preset dealer and the account opening information indicates that the user opens an account in the first preset dealer and the master-push dealer, and the current network address or the account opening account is the area corresponding to the master-push dealer, determining that the user category is the second authority user.
6. The interface display method according to claim 4, characterized in that the method further comprises:
and storing the corresponding relation between the user and the user category corresponding to the new subscription interface to be displayed.
7. An interface display device, comprising:
the pretreatment module is used for pretreating the new stock subscription interface to be displayed according to the compliance rule of the preset stock, wherein the pretreatment of the new stock subscription interface to be displayed according to the compliance rule of the preset stock comprises the following steps: determining a current network address and a collected network address, the collected network address being a published proxy address relating to a compliance rule, determining a degree of match between the current network address and the collected network address, the degree of match determined by the formula:
wherein the matching degree is Sim, and the current network address is X [ X ] 1 、x 2 、…、x i ]The collected network address is Y [ Y ] 1 、y 2 、…、y i ]I is used to represent the length of the network address;
determining whether a user has subscription authority for the preset stock according to the matching degree, and preprocessing the new stock subscription interface to be displayed according to a determination result;
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 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 strand subscription interfaces accord with the compliance rules;
if one of the test user interfaces does not accord with the compliance rule, determining that the preprocessed new strand subscription interface does not accord with the compliance rule;
the acquisition module is used for acquiring a display instruction of the new subscription interface to be displayed if the preprocessed new subscription interface accords with the compliance rule;
and the display module is used for displaying an interface according to the display instruction and the preprocessed new subscription interface.
8. A computer readable storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the interface display method of any one of claims 1 to 6.
9. A terminal device, characterized in that the terminal device comprises a processor and a memory, the memory storing a computer program, the processor being adapted to execute the interface display method according to any one of claims 1 to 6 by calling the computer program stored in the memory.
CN202110699291.8A 2021-06-23 2021-06-23 Interface display method and device, storage medium and terminal equipment Active CN113362175B (en)

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 CN113362175A (en) 2021-09-07
CN113362175B true 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)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077110B (en) * 2011-10-25 2015-11-25 阿里巴巴集团控股有限公司 A kind of method of testing and device
US10049367B2 (en) * 2014-09-26 2018-08-14 General Electric Company Product compliance fulfillment portal system and method
AU2015224455A1 (en) * 2015-09-09 2017-03-23 Complii Pty Ltd Improved method and apparatus for managing compliance for financial transactions
US10861070B2 (en) * 2016-09-14 2020-12-08 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
CN109151514B (en) * 2017-06-28 2021-06-15 武汉斗鱼网络科技有限公司 Method, storage medium, equipment and system for purchasing commodities in live broadcast 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
CN113362175A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
CN110365491B (en) Service processing method, device, equipment, storage medium and data sharing system
EP3484125A1 (en) Method and device for scheduling interface of hybrid cloud
CN110826043B (en) Digital identity application system and method, identity authentication system and method
CN107862552B (en) Advertisement information pushing method, device and system
CN107104874B (en) Resource sharing method, device, terminal and computer readable storage medium
CN104660557B (en) operation processing method and device
JP2019503533A (en) Information processing method, server, and computer storage medium
CN105701423B (en) Date storage method and device applied to high in the clouds payment transaction
CN104680463B (en) Information processing method and terminal
CN107342966B (en) Authority credentials distribution method and device
CN111159587A (en) User access information processing method and device and terminal equipment
CN109582873A (en) Method and apparatus for pushed information
CN109245902A (en) The guard method of instant messaging message authentication codes and device
CN112672357A (en) Method and device for processing user account in business system and computer equipment
CN112948224B (en) Data processing method, device, terminal and storage medium
CN110602311B (en) Message display method and related product
CN114385382A (en) Light application access method and device, computer equipment and storage medium
CN113362175B (en) Interface display method and device, storage medium and terminal equipment
CN110365533B (en) Digital asset transaction method, system and computer readable storage medium
CN111310242B (en) Method and device for generating device fingerprint, storage medium and electronic device
CN111177536A (en) Method and device for transmitting customized information to unregistered user based on device fingerprint and electronic device
CN114513331B (en) Mining Trojan detection method, device and equipment based on application layer communication protocol
CN109714357A (en) Method and apparatus for distributing resource
CN108122151B (en) Graphic code display method, graphic code processing method, device and system
CN106060021B (en) A kind of Email recognition methods, device and system

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