Methods, devices, electronic equipment, and storage media for displaying business data
By parsing application requests and determining target processing strategies, display data is generated, solving the problems of dropdown content flexibility and storage space occupation. This enables displays that can adapt to various business scenarios, reducing labor costs and storage requirements.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA CONSTRUCTION BANK
- Filing Date
- 2022-12-20
- Publication Date
- 2026-07-03
AI Technical Summary
In existing technologies, dropdown list content lacks flexibility, the manual cost of modifying or adding dropdown list content is high, storage space consumption is large, and it is difficult to adapt to changes in various business scenarios.
By parsing the application request, the target processing strategy is determined. Based on business information and attribute information, display data is selected from multiple business data. The display data is generated by combining the processing strategies, which can adapt to various business scenarios without modifying the code or dataset.
It enables greater flexibility and breadth of dropdown content, reduces labor costs and storage space requirements, and improves processing efficiency.
Smart Images

Figure CN116226240B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of data visualization technology, and in particular to a method, apparatus, electronic device, and storage medium for displaying business data. Background Technology
[0002] A dropdown list is a scrollable list that provides users with options and information. Depending on the application scenario, dropdown lists on a webpage can display various types of information to users. Because business users and users face numerous business scenarios, there are a wide variety and large number of dropdown list contents.
[0003] In related technologies, dropdown menus for multiple business scenarios are typically pre-built to meet the needs of business personnel or users. This can be achieved by writing front-end page code, back-end execution code, or pre-building datasets for multiple business scenarios.
[0004] However, when business scenarios change or new business scenarios emerge, related technologies typically meet the needs of business personnel or users by modifying or adding pre-built dropdown content. This leads to technical problems such as high manual costs for improving dropdown content, poor display flexibility, and large storage space consumption. Summary of the Invention
[0005] In view of the above problems, this disclosure provides a method, apparatus, electronic device and storage medium for displaying business data.
[0006] According to the first aspect of this disclosure, a method for displaying business data is provided, including:
[0007] In response to the received application request, the application request is parsed to obtain business information, which includes M business data, which are used to characterize the business requirements included in the application request, where M≥1;
[0008] Based on the business information, determine the target processing strategy corresponding to the business information;
[0009] The strategy information is processed according to the target processing strategy, and N display data are determined from M business data. The strategy information includes at least one of the following: business information and attribute information, where attribute information is used to characterize the identity of the processing object, 1 ≤ N ≤ M; and
[0010] Display N sets of data.
[0011] According to embodiments of this disclosure, determining a target processing strategy corresponding to the business information based on the business information includes:
[0012] For the m-th business data, based on the identifier of the m-th business data, determine K processing strategies, where 1 ≤ m ≤ M, K ≥ 1; and
[0013] By combining K processing strategies, a target processing strategy corresponding to the m-th business data is obtained.
[0014] According to embodiments of this disclosure, determining K processing strategies based on the identifier of the m-th service data includes:
[0015] Based on the identifier of the m-th business data, obtain K first strategies from the first data table;
[0016] In response to determining that there is no second strategy corresponding to the m-th business data in the second data table, K first strategies are determined as K processing strategies, wherein the second data table is associated with the first data table;
[0017] In response to determining that a second strategy corresponding to the m-th business data exists in the second data table, obtain L second strategies, where L≥1;
[0018] Use L second policies to update K first policies to obtain K updated first policies, and use the updated K first policies as K processing policies.
[0019] According to embodiments of this disclosure, the strategy information is processed according to a target processing strategy to determine N display data from M business data, including:
[0020] For the m-th business data, K processing strategies are used to process the m-th business data and / or attribute information to determine the final display result corresponding to the m-th business data; and
[0021] Based on the final display results of M business data, determine N display data from the M business data.
[0022] According to embodiments of this disclosure, processing the m-th business data and / or attribute information using K processing strategies to determine the final display result corresponding to the m-th business data includes:
[0023] Based on the processing types of K processing strategies, the m-th business data and / or attribute information are processed to obtain K processing results; and
[0024] The final display result is obtained by combining the K processing results.
[0025] According to embodiments of this disclosure, the m-th business data and / or attribute information is processed according to the processing types of K processing strategies to obtain K processing results, including:
[0026] If the i-th processing strategy includes a permission restriction strategy, the attribute information is processed based on the permission restriction strategy to obtain the i-th processing result corresponding to the i-th processing strategy, where 1≤i≤K.
[0027] According to embodiments of this disclosure, the process of processing the m-th business data and / or attribute information according to the processing types of K processing strategies to obtain K processing results further includes:
[0028] If the j-th processing strategy is determined to include an expression processing strategy, at least one piece of first processing data is obtained based on the expression within the expression processing strategy, wherein the first processing data is the data to be calculated in the expression, 1≤j≤K; and
[0029] The first processed data is calculated based on the expression, and the j-th processing result corresponding to the j-th processing strategy is obtained.
[0030] According to embodiments of this disclosure, the process of processing the m-th business data and / or attribute information according to the processing types of K processing strategies to obtain K processing results further includes:
[0031] If the k-th processing strategy is determined to include a chained processing strategy, at least one second processing data is obtained according to the processing chain within the chained processing strategy, wherein the second processing data is the data to be calculated in the processing chain, 1≤k≤K;
[0032] The second processing data is processed according to the sequential nodes in the processing chain to obtain the kth processing result corresponding to the kth processing strategy. The sequential nodes process the second processing data according to the expression processing strategy.
[0033] A second aspect of this disclosure provides a business data display apparatus, comprising:
[0034] The parsing module is used to respond to the received application request, parse the application request, and obtain business information. The business information includes M business data, which are used to represent the business requirements included in the application request, where M≥1.
[0035] The first determining module is used to determine the target processing strategy corresponding to the business information based on the business information.
[0036] The second determining module is used to process the strategy information according to the target processing strategy, and determine N display data from M business data. The strategy information includes at least one of the following: business information and attribute information, where the attribute information is used to characterize the identity of the processing object, 1 ≤ N ≤ M; and
[0037] The display module is used to display N pieces of data.
[0038] A third aspect of this disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors perform the method for displaying the aforementioned business data.
[0039] A fourth aspect of this disclosure also provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform a method for displaying the aforementioned business data.
[0040] The fifth aspect of this disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements a method for displaying the aforementioned business data.
[0041] The embodiments of this disclosure, in response to a received application request, parse the application request to obtain business information; determine the target processing strategy corresponding to the business information based on the business information; process the strategy information according to the target processing strategy, determine N display data from M business data, and display N display data, adapting to multiple business scenarios and realizing flexible selection and display of business data. For multiple business scenarios, since the embodiments of this disclosure do not require modification of code or the corresponding dataset, but only filter the business information and / or attribute information through the determined target processing strategy, display data suitable for multiple business scenarios can be calculated in real time, increasing the breadth and flexibility of drop-down list content and reducing the workload and manual cost of improving drop-down list content. In addition, since the embodiments of this disclosure do not require a lot of manpower to modify the display data, nor do they waste a lot of storage space to store datasets of multiple application scenarios, this disclosure also achieves the technical effects of improving the processing efficiency of improving drop-down list content and reducing storage space occupation. Attached Figure Description
[0042] The foregoing contents, as well as other objects, features, and advantages of this disclosure, will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:
[0043] Figure 1 This illustration schematically depicts an application scenario of a method for displaying business data according to an embodiment of the present disclosure;
[0044] Figure 2 A flowchart illustrating a method for displaying business data according to an embodiment of this disclosure is shown schematically.
[0045] Figure 3 A flowchart illustrating a method for determining a target processing strategy according to an embodiment of the present disclosure is shown schematically.
[0046] Figure 4This illustration schematically shows a target processing strategy for determining M business data according to a specific embodiment of the present disclosure;
[0047] Figure 5 A flowchart illustrating a method for determining K processing strategies according to an embodiment of the present disclosure is shown schematically.
[0048] Figure 6 This illustration schematically shows a process flow diagram for displaying business data according to an embodiment of the present disclosure;
[0049] Figure 7A A flowchart illustrating the determination of processing results according to a first embodiment of the present disclosure is shown schematically.
[0050] Figure 7B A flowchart illustrating the determination of processing results according to a second embodiment of the present disclosure is shown schematically.
[0051] Figure 7C A flowchart illustrating the determination of processing results according to a third embodiment of the present disclosure is shown schematically.
[0052] Figure 8 This schematically illustrates a structural block diagram of a service data display device according to an embodiment of the present disclosure; and
[0053] Figure 9 A block diagram of an electronic device suitable for displaying business data according to an embodiment of the present disclosure is shown schematically. Detailed Implementation
[0054] The embodiments of the present disclosure will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the disclosure. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of the present disclosure.
[0055] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. The terms “comprising,” “including,” etc., as used herein indicate the presence of the stated features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.
[0056] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.
[0057] When using expressions such as "at least one of A, B, and C", they should generally be interpreted in accordance with the meaning that is commonly understood by a person skilled in the art (e.g., "a system having at least one of A, B, and C" should include, but is not limited to, a system having A alone, a system having B alone, a system having C alone, a system having A and B, a system having A and C, a system having B and C, and / or a system having A, B, and C, etc.).
[0058] In the technical solutions disclosed herein, the collection, storage, use, processing, transmission, provision, disclosure, and application of data (including but not limited to user personal information) comply with the provisions of relevant laws and regulations, necessary confidentiality measures have been taken, and they do not violate public order and good morals.
[0059] When using dropdown menus on a webpage, business users or administrators face numerous business scenarios, resulting in a wide variety and quantity of dropdown content. In related technologies, dropdown content for multiple business scenarios is typically pre-built to meet the needs of business users or administrators. For example, for each business scenario, all dropdown options can be listed coded on the front-end page; alternatively, back-end code for all business scenarios can be pre-written, executing corresponding descendant code based on parameters transmitted from the front-end to return the corresponding dropdown content; or a dataset required for all business scenarios can be pre-built, returning the dataset corresponding to the dropdown content based on the obtained dataset number.
[0060] However, when business scenarios change or new business scenarios emerge, both front-end and back-end coding methods require code-level adjustments. This necessitates modifying or adding code to support the changed or newly generated business scenarios. This results in high manual costs and poor display flexibility when updating or improving dropdown content.
[0061] The method of constructing datasets requires operations at the data level, modifying or adding datasets to support changed or newly emerging business scenarios. While creating corresponding datasets for multiple application scenarios can simplify code writing, it presents technical challenges such as large storage space consumption and impacted processing efficiency.
[0062] Embodiments of this disclosure provide a method for displaying business data, comprising: responding to a received application request, parsing the application request to obtain business information, wherein the business information includes M pieces of business data, the business data being used to characterize the business requirements included in the application request, M≥1; determining a target processing strategy corresponding to the business information based on the business information; processing strategy information according to the target processing strategy to determine N pieces of display data from the M pieces of business data, wherein the strategy information includes at least one of the following: business information and attribute information, the attribute information being used to characterize the identity meaning of the processing object, 1≤N≤M; and displaying the N pieces of display data.
[0063] Figure 1 The illustration depicts an application scenario of a method for displaying business data according to an embodiment of this disclosure.
[0064] like Figure 1 As shown, application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 serves as a medium for providing a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc.
[0065] Users or business personnel can use at least one of the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 via the network 104 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as web browser applications, search applications, instant messaging tools, email clients, social media platform software, mobile banking clients, etc. (for example only).
[0066] The first terminal device 101, the second terminal device 102, and the third terminal device 103 can be various electronic devices with displays and web browsing capabilities, including but not limited to smartphones, tablets, laptops, desktop computers, and offline self-service ticket machines, etc.
[0067] Server 105 can be a server that provides various services, such as a backend management server that supports websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103 (this is just an example). The backend management server can analyze and process data such as received user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal devices.
[0068] It should be noted that the business data display method provided in this embodiment can generally be executed by server 105. Correspondingly, the business data display device provided in this embodiment can generally be located in server 105. The business data display method provided in this embodiment can also be executed by a server or server cluster that is different from server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or server 105. Correspondingly, the business data display device provided in this embodiment can also be located in a server or server cluster that is different from server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or server 105.
[0069] The method for displaying business data provided in this embodiment can also be executed by the first terminal device 101, the second terminal device 102, or the third terminal device 103. Accordingly, the device for displaying business data provided in this embodiment can also be disposed in the first terminal device 101, the second terminal device 102, or the third terminal device 103.
[0070] It should be understood that Figure 1 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.
[0071] Figure 2 A flowchart illustrating a method for displaying business data according to an embodiment of this disclosure is shown schematically.
[0072] like Figure 2 As shown, the method includes operations S210 to S240.
[0073] In operation S210, in response to the received application request, the application request is parsed to obtain business information, which includes M business data, which are used to characterize the business requirements included in the application request.
[0074] According to embodiments of this disclosure, the application request includes business information requested by a user or business personnel, and the business information includes M pieces of business data. The business information characterizes the business scenario requested by the user or business personnel, and the business data characterizes multiple business requirements to be displayed within that business scenario. Specifically, the business scenarios include user-facing loan applications, bus applications, product recommendations, etc.; and also include business personnel-facing loan approvals, bus applications, process approvals, etc.
[0075] According to embodiments of this disclosure, parsing an application request includes: in response to a received application request, parsing the message of the application request to obtain the service information and M service data carried in the message of the application request.
[0076] Application requests can be generated after users or business personnel perform preset operations on their terminal devices. For example, clicking on operation buttons such as "Apply," "Create," or "Approve" generates an application request.
[0077] According to embodiments of this disclosure, user or business personnel are authenticated before receiving an application request. Specifically, the user or business personnel performs a login operation on a terminal device, generating a login request; the server receives the login request from the terminal device and completes authentication based on the login request. Alternatively, the terminal device continues to complete authentication based on the login request after it has been generated.
[0078] In operation S220, the target processing strategy corresponding to the business information is determined based on the business information.
[0079] According to embodiments of this disclosure, the business information includes M business data items, each corresponding to a target processing strategy. Each business data item also corresponds to a dropdown list; the target processing strategy processes the corresponding business data to determine whether or not to display it.
[0080] For M business data, determine M target processing strategies corresponding to the M business data, process the M business data using the M target processing strategies, determine the business data to be displayed from the M business data, and finally complete the display of the business data to be displayed in this business scenario.
[0081] According to embodiments of this disclosure, the target processing strategy includes processing logic or constraints for processing business information and / or attribute information. The target processing strategy can be obtained from a database. Specifically, based on the business information, the required processing logic or constraints for the business scenario are determined from the database and combined to form the target processing strategy.
[0082] For example, in scenarios where multiple loan products are presented to users, multiple business data points correspond to multiple loan products; in scenarios involving loan restrictions, multiple business data points correspond to multiple loan restrictions; and in scenarios involving loan approval by business personnel, multiple business data points correspond to multiple loan approval conditions.
[0083] For example, in a company's internal vehicle management system, depending on the vehicle usage scenario, business personnel in Department A can only apply for the "external vehicle use" type, while business personnel in Department B can only apply for the "internal vehicle use" type. Multiple business data points are used to represent the "external vehicle use" type or the multiple options within "external vehicle use," and a targeted processing strategy is used to determine the specific external or internal vehicle use type to be displayed.
[0084] In operation S230, the strategy information is processed according to the target processing strategy to determine N display data from M business data.
[0085] According to embodiments of this disclosure, after determining M target processing strategies corresponding to M business data, the strategy information corresponding to the M business data is processed using the M target processing strategies to determine N display data to be displayed from the M business data, where 1≤N≤M.
[0086] Specifically, the strategy information includes at least one of the following: business information and attribute information, whereby the attribute information is used to characterize the identity of the object being processed. Based on different target processing strategies, the business information and / or attribute information are processed to determine N pieces of display data.
[0087] For example, taking the aforementioned "loan product" as an example, business information and attribute information are processed according to the target processing strategy. Specifically, based on the business information, the user's asset status and the attribute information of "VIP users" are obtained from the database. Then, based on the target processing strategy, the asset status and "VIP users" are judged to determine N loan products from M loan products.
[0088] For example, taking the aforementioned vehicle usage type as an example, the attribute information of business personnel in Department A and Department B is processed using a target processing strategy, so that the drop-down list visible to business personnel in Department A only includes multiple options for the "external vehicle use" type, while the drop-down list visible to business personnel in Department B only includes multiple options for the "internal vehicle use" type.
[0089] When operating S240, display N pieces of data.
[0090] According to embodiments of this disclosure, after determining N business data from M business data, the N business data are identified as N display data, and the corresponding display plugin is called to process the N display data, and the N display data are displayed to business personnel or users on the terminal device.
[0091] Specifically, pre-built display plugins can be called to process N display data points and display them directly; alternatively, multiple display plugins can be called to process N display data points through custom settings and display them on the terminal device.
[0092] The embodiments of this disclosure, in response to a received application request, parse the application request to obtain business information; determine the target processing strategy corresponding to the business information based on the business information; process the strategy information according to the target processing strategy, determine N display data from M business data, and display N display data, adapting to various business scenarios and realizing flexible selection and display of business data. For various business scenarios, since the embodiments of this disclosure do not require modification of code or the corresponding dataset, but only filter the business information or attribute information through the determined target processing strategy, display data suitable for various business scenarios can be calculated in real time, increasing the breadth and flexibility of drop-down list content display and reducing the workload and manual cost of improving drop-down list content. In addition, since the embodiments of this disclosure do not require a lot of manpower to modify the display data, nor do they waste a lot of storage space to store datasets of multiple application scenarios, this disclosure also achieves the technical effects of improving the processing efficiency of improving drop-down list content and reducing storage space occupation.
[0093] Figure 3 A flowchart illustrating a method for determining a target processing strategy according to an embodiment of the present disclosure is shown schematically.
[0094] like Figure 3 As shown, the method for determining the target processing strategy in this embodiment includes operations S321 to S322, which can be used as a specific embodiment of operation S220.
[0095] In operation S321, for the m-th business data, K processing strategies are determined based on the identifier of the m-th business data.
[0096] According to the embodiments of this disclosure, for M business data, each business data uniquely corresponds to a target processing strategy. Here, taking the m-th business data as an example, the method for determining the target processing strategy is specifically described, where 1≤m≤M.
[0097] Specifically, the database stores multiple processing strategies corresponding to business data, limiting whether the business data should be displayed from multiple dimensions. Based on the identifier of the m-th business data, at least one processing strategy corresponding to the m-th business data can be retrieved from the database.
[0098] In operation S322, K processing strategies are combined to obtain the target processing strategy corresponding to the m-th business data.
[0099] According to embodiments of this disclosure, for the m-th service data, after determining K processing strategies, a target processing strategy corresponding to the m-th service data is obtained by combining the K processing strategies.
[0100] According to embodiments of this disclosure, K processing strategies can be randomly combined to obtain a corresponding target processing strategy. Alternatively, the K processing strategies can be combined according to their processing types.
[0101] Specifically, the processing types of the processing strategies include unconditional strategies, permission-restricted strategies, expression processing strategies, chained processing strategies, and custom method strategies.
[0102] For example, a chained processing strategy can define the processing order of multiple processing strategies. If a chained processing strategy is included among K processing strategies, then K-1 other processing strategies can be combined based on the chained processing strategy. Priority is given to combining processing strategies included in the chained processing strategy, and then processing strategies not included in the chained processing strategy are randomly combined.
[0103] For example, K processing strategies can be combined based on their priority. The database contains priority information for processing strategies across multiple processing types; the specific priority information can be determined based on the actual situation.
[0104] According to embodiments of this disclosure, for the m-th business data, whether to display it can be determined using K processing strategies. For each of the K processing strategies, a processing result corresponding to that strategy can be calculated based on at least one piece of processing data. Each processing strategy can further include multiple processing type strategies, and the processing strategy is obtained by combining multiple processing type strategies.
[0105] For example, let's take the m-th business data as "Loan Product A". For the determined k-th processing strategy, the processed data includes the user's asset status, credit status, and historical application products. The k-th processing strategy includes a custom method strategy and two expression processing strategies. The first expression processing strategy handles asset status, the second expression processing strategy handles credit status, and the custom method strategy handles historical application products.
[0106] Figure 4 The illustration shows a schematic diagram of determining a target processing strategy for M business data according to a specific embodiment of the present disclosure.
[0107] like Figure 4 As shown, the application request includes M pieces of business data. Based on the identifiers of each of the M pieces of business data, multiple corresponding processing strategies are determined. Then, by combining these multiple processing strategies, a target processing strategy corresponding to each of the M pieces of business data is obtained.
[0108] For example, based on the identifier of the first business data, P processing strategies are determined corresponding to the first business data, where P is greater than or equal to 1. Then, the P processing strategies are combined to obtain the target business data of the first business data.
[0109] Based on the identifier of the m-th business data, determine K processing strategies corresponding to the m-th business data, where K is greater than or equal to 1. Then, combine the K processing strategies to obtain the target business data of the m-th business data.
[0110] Based on the identifier of the Mth business data, determine Q processing strategies corresponding to the Mth business data, where Q is greater than or equal to 1. Then, combine the Q processing strategies to obtain the target business data of the Mth business data.
[0111] Among them, the number of processing strategies included in the target processing strategy corresponding to M business data can be the same, that is, P = K = Q; the number of processing strategies can also be different, that is, P ≠ K ≠ Q.
[0112] The embodiments of this disclosure obtain a target processing strategy by combining K processing strategies, so that the target processing strategy for M business data covers multiple processing scenarios. Without having to improve the code or datasets of multiple business scenarios one by one, the target processing strategy can automatically match business requirements and improve multiple business scenarios, which greatly reduces the cost of improving business scenarios.
[0113] Figure 5 A flowchart illustrating a method for determining K processing strategies according to an embodiment of the present disclosure is shown schematically.
[0114] like Figure 5 As shown, the method for determining K processing strategies in this embodiment includes operations S5211 to S5214, which can be used as a specific embodiment of operation S321.
[0115] In operation S5211, K first strategies are obtained from the first data table based on the identifier of the m-th business data.
[0116] According to embodiments of this disclosure, for the m-th business data, K first strategies can be obtained from a first data table in the database based on the identifier of the m-th business data. The first data table is a full data table, including first strategies for processing multiple business data.
[0117] Table 1
[0118]
[0119]
[0120] As shown in Table 1, for business scenarios involving vehicle use, the first data table includes business data item number, business data item sequence number, data key, data value, processing strategy, type, judgment method, and description.
[0121] The identification of business data includes business data item number and business data item sequence number. The first strategy corresponding to the business data can be determined based on the business data item number and business data item sequence number.
[0122] For example, if the business information is related to vehicle use, the business information includes five business data points: "Other", "Private Customers", "Document Exchange", "Airport Pickup and Drop-off", and "Station Pickup and Drop-off". Each of the five business data points corresponds to a first strategy.
[0123] As shown in Table 1, based on the business data item number "001" and the business data item sequence number "2", the first strategy corresponding to the business data "Private Customers" to be displayed can be determined to be "01". Here, "01" represents the permission restriction strategy, that is, to restrict the attribute information of the processing object to determine whether "Private Customers" is the data to be displayed.
[0124] Specifically, based on the determination that the first strategy includes the weighted restriction strategy, for "private customers", the first data table may also include a first strategy (not shown in the table) with business data item number 2, data key 02, processing strategy 01, and type 02. At this time, two first strategies corresponding to the "private customer" business data can be determined from the first data table.
[0125] In operation S5212, in response to determining that there is no second strategy corresponding to the m-th business data in the second data table, K first strategies are determined as K processing strategies, wherein the second data table is associated with the first data table.
[0126] According to embodiments of this disclosure, a second data table is used to further define the first strategy within the data table. When it is determined that there is no second strategy corresponding to the m-th business data in the second data table, it indicates that the first strategy is not further defined, and the K first strategies in the first data table are taken as the K processing strategies.
[0127] In operation S5213, in response to determining that there is a second strategy corresponding to the m-th business data in the second data table, L second strategies are obtained.
[0128] According to embodiments of this disclosure, when it is determined that a second strategy corresponding to the m-th business data exists in the second data table, it indicates that the second data table further limits the first strategy. At this time, the processing strategy for the m-th business data is obtained by combining the second strategy and the first strategy.
[0129] As shown in Table 2, for business scenarios involving vehicle usage, the existence of a second strategy corresponding to the m-th business data is determined within the second data table based on the identifier of the m-th business data. Specifically, the second strategy corresponding to the business data can be determined based on the business data item number and the business data item sequence number.
[0130] According to embodiments of this disclosure, multiple second data tables may exist in the database for various business scenarios to further define the first strategy. Specifically, the second data tables are associated with the first data table based on the business data item number and the business data item sequence number.
[0131] Table 2
[0132]
[0133] Taking "file exchange" as an example, as shown in Table 2, the first strategy determined in the first data table is the "04" custom method strategy, and the specific judgment method is "Method1". Based on the business data item number "001" and the business data item sequence number "3", it is determined that there is also a second strategy corresponding to "file exchange" in the second data table, namely the custom method strategy, and the specific judgment method is "Method1 8".
[0134] For business information related to vehicle use, the business information includes five data categories: "Other," "Private Clients," "Document Exchange," "Airport Pickup and Drop-off," and "Station Pickup and Drop-off." Each of these five data categories corresponds to a first strategy, resulting in a total of five first strategies. For "Document Exchange," "Airport Pickup and Drop-off," "Private Clients," and "Station Pickup and Drop-off," there are corresponding second strategies in the second data table, meaning there are four second strategies used to limit the four first strategies.
[0135] For business scenarios involving vehicle usage, the second data table also includes query type and query number. For each vehicle usage type, the corresponding query type in the second data table is "01", and the query number includes "010" and "020".
[0136] According to embodiments of this disclosure, query type and query number are used to provide query functionality to users. For example, a user can query all business data under "file exchange" based on the query type and query number.
[0137] According to embodiments of this disclosure, the first data table may also include query type and query number, which, together with the second data table, are used to provide query functionality to users.
[0138] In operation S5214, L second policies are used to update K first policies to obtain K updated first policies, and the updated K first policies are used as K processing policies.
[0139] According to embodiments of this disclosure, given L second strategies, the L second strategies are combined with K first strategies based on the identifier of the business data to obtain K processing strategies.
[0140] According to embodiments of this disclosure, taking the aforementioned vehicle usage type as an example, four processing strategies can be obtained based on the four first strategies and four second strategies acquired. Specifically, the first and second strategies, where both the business data item number and the business data item sequence number are the same, are combined to serve as a method for determining whether the business data should be displayed, resulting in processing strategies corresponding to "file exchange," "airport pick-up and drop-off," "private customers," and "station pick-up and drop-off," respectively.
[0141] For example, regarding "file exchange", based on the business data item number "001" and the business data item sequence number "3", the first strategy obtained from the first data table is "04" and the judgment method is Method1; the second strategy obtained from the second data table is "04" and the judgment method is Method18.
[0142] Based on this, according to the business data item number "001" and the business data item sequence number "3", the second data table also includes a second strategy of expression processing strategy "02", with the judgment method being "date = 0101" (not shown in the table). In this case, for "file exchange", the first strategy can be determined as a custom method strategy, and the second strategy includes both an expression processing strategy and a custom method strategy. Combining the two custom method strategies and one expression processing strategy, the processing strategy corresponding to "file exchange" can be obtained. For business data "other", there is no second strategy in the second data table to limit the first strategy; therefore, the first strategy "00" is directly used as the processing strategy.
[0143] According to embodiments of this disclosure, the method for determining the target processing strategy for M business data is similar to the method described above, and will not be repeated here.
[0144] Since the first data table is the complete data table, the embodiments of this disclosure combine the first data table and the second data table, eliminating the need to determine the processing strategy entirely from the first data table. This reduces the process and search time of searching for the processing strategy from the complete data table and improves the efficiency of determining the target processing strategy.
[0145] According to embodiments of this disclosure, strategy information is processed according to a target processing strategy to determine N display data from M business data, including: for the m-th business data, processing the m-th business data and / or attribute information using K processing strategies to determine the final display result corresponding to the m-th business data; and determining N display data from the M business data based on the final display result of the M business data.
[0146] According to embodiments of this disclosure, after determining the target processing strategy corresponding to each of the M business data, the specific business data and / or attribute information can be processed according to the target processing strategy to determine the final display result corresponding to each business data.
[0147] The final display result indicates whether business data should be displayed. Specifically, the final display result can be the result of an expression calculation, or it can be a "yes" or "no" expression.
[0148] The system can receive the final display result if the business data calculation result is to be displayed; otherwise, it will receive an empty final display result. It should be noted that the final display result can be determined based on the actual situation.
[0149] After determining M final display results, N display data are determined from the M business data based on the M final display results, so that the display components can be used to process and display the N display data in the future.
[0150] According to embodiments of this disclosure, processing the m-th business data and / or attribute information using K processing strategies to determine the final display result corresponding to the m-th business data includes: processing the m-th business data and / or attribute information according to the processing type of the K processing strategies to obtain K processing results; and combining the K processing results to obtain the final display result.
[0151] According to embodiments of this disclosure, since each piece of business data may include at least one processing strategy, after processing the business data and / or attribute data according to each processing strategy, each processing strategy can obtain a corresponding processing result. By combining the K processing results of K processing strategies, a final processing result corresponding to the current business data can be obtained.
[0152] According to embodiments of this disclosure, each processing result can represent whether the current business data is to be displayed. If each processing result indicates that the data is to be displayed, the final processing result obtained by combining the K processing results is "displayed". If any processing result indicates that the data is not to be displayed, the final processing result obtained by combining the K processing results is "not displayed".
[0153] Figure 6 The illustration shows a schematic diagram of the process for displaying business data according to an embodiment of the present disclosure.
[0154] like Figure 6As shown, based on the identifiers of the M business data included in the business information, P processing strategies, K processing strategies, Q processing strategies, etc., corresponding to the M business data are determined respectively. For each business data, multiple processing strategies corresponding to that business data are combined to obtain the target processing strategy corresponding to the M business data.
[0155] After determining the M target processing strategies corresponding to the M business data, each target processing strategy is used to process the strategy information of the current business data, i.e., the business data and / or attribute information, to obtain the M final processing results corresponding to the M business data.
[0156] Finally, based on the M final display results, N display data are determined, and then the display components are used to render and display the N display data.
[0157] According to embodiments of this disclosure, in the process of processing policy information using K processing strategies to obtain processing results, K processing strategies can be used simultaneously to obtain K processing results. Alternatively, after obtaining one processing result, the next processing strategy can be used for further processing. If it is determined that the current processing result is not to be displayed, the execution of the next processing strategy can be stopped, and the processing results of subsequent processing strategies can be set to empty to obtain the final display result, thereby reducing the waste of computer resources and improving determination efficiency.
[0158] For each piece of business data, the embodiments of this disclosure utilize multiple processing strategies to determine the processing result corresponding to each dimension from multiple dimensions; by combining multiple dimensions, the final display result is determined, ensuring the accuracy and reliability of the determined final display result.
[0159] According to embodiments of this disclosure, the m-th business data and / or attribute information is processed according to the processing types of K processing strategies to obtain K processing results, including: when it is determined that the i-th processing strategy includes a permission restriction strategy, the attribute information is processed based on the permission restriction strategy to obtain the i-th processing result corresponding to the i-th processing strategy, 1≤i≤K.
[0160] Specifically, when the processing strategy is determined to be an access control strategy, the processing strategy only processes the attribute information and obtains the final processing result.
[0161] Figure 7A A flowchart illustrating the determination of processing results according to a first embodiment of the present disclosure is shown schematically.
[0162] like Figure 7AAs shown, if it is determined that there is a permission restriction policy among the K processing policies, and it is determined that the i-th processing policy includes a permission restriction policy, the attribute information is processed according to the permission restriction policy to obtain the i-th processing result.
[0163] For example, taking the vehicle usage type and business data as "private customer" as an example. According to Tables 1 and 2, the processing type is "01", and the corresponding processing strategy is the access control strategy. The first strategy determined from the first data table is "42100", and the second strategy determined from the second data table is "R003". Therefore, the resulting processing strategy is "show private customer information to business personnel with organization 421000 and role R003".
[0164] Attribute information is used to characterize the identity meaning of the processed object. Attribute information includes multiple types such as organization, department, and role, which are used to comprehensively represent the identity meaning of the processed object.
[0165] According to embodiments of this disclosure, since the business personnel or user has completed the login operation before initiating the application request, the attribute information of the currently processed object, i.e., the attribute information of the business personnel or user, can be obtained from the database based on the login information of the business personnel or user.
[0166] According to embodiments of this disclosure, authorization from business personnel or users has been obtained before using their attribute information.
[0167] If the attribute information of the currently processed object is "421000-R003", the obtained processing strategy is used to match the attribute information, and the matching result is "Matched, can be displayed". Therefore, the business data "Private Customer" is determined to be the data to be displayed. If the attribute information of the currently processed object is "421000-R002", the obtained processing strategy is used to match the attribute information, and the matching result is "No match, not displayed". Therefore, "Private Customer" will not be displayed to the current processed object with role R002.
[0168] This disclosure, by defining attribute information such as identity meaning, starts from the information carried by the operator himself, which helps to realize the distinctive display of multiple institutions, multiple departments, and multiple roles based on the attribute information and permission characteristics of the processing personnel.
[0169] According to embodiments of this disclosure, processing the m-th business data and / or attribute information according to the processing types of K processing strategies to obtain K processing results further includes: when it is determined that the j-th processing strategy includes an expression processing strategy, obtaining at least one first processing data item, 1≤j≤K, based on the expression within the expression processing strategy; and calculating the first processing data based on the expression to obtain the j-th processing result corresponding to the j-th processing strategy.
[0170] According to embodiments of this disclosure, the first processed data is the data to be calculated in the expression. If the processing strategy is determined to be an expression processing strategy, the expression processing strategy uses the expression to determine whether to display the business data.
[0171] Figure 7B A flowchart illustrating the determination of processing results according to a second embodiment of the present disclosure is shown schematically.
[0172] Specifically, the expression includes identifiers for multiple pieces of data to be processed. For example... Figure 7B As shown, for the m-th business data, after determining the j-th processing strategy (including the expression processing strategy) based on the m-th business data, the specific first processing data is further retrieved from the database based on the identifier of the processing data included in the expression. Finally, the expression is used to determine whether the first processing data meets the judgment condition, resulting in the j-th processing result corresponding to the j-th business data, which determines whether to display the current business data.
[0173] It should be noted that the business data refers to the content of the drop-down list to be displayed, while the first processing data is other information related to the current business data and the processing object.
[0174] For example, for the business data "airport pick-up and drop-off", the processing strategy obtained from the first data table is "04", which is the expression processing strategy. The first strategy is "Age>60", and the second strategy is "Sex=female". The resulting processing strategy and the target processing strategy are both "Age>60 and Sex=female".
[0175] According to the above processing strategy, two initial processing data items can be retrieved from the database: the age and gender information of the current processing object. If the current processing object's age is 48 and gender is female, or its age is 61 and gender is male, the j-th processing result determined by the processing strategy is "not matched, not displayed," meaning that the current "private customer" is not included in the N displayed data. If the current processing object's age is 63 and gender is female, the j-th processing result is "matched, can be displayed." Since "airport pick-up and drop-off" only includes the current processing strategy, the corresponding final processing result is also "matched, can be displayed," and "airport pick-up and drop-off" is included in the determined N displayed data.
[0176] Since the expressions within the expression processing strategy are applicable to various coding systems, such as JAVA, C, and Python, and also to various systems, such as distributed and centralized systems, using expressions to determine whether to display business data improves the flexibility and applicability of data display.
[0177] Based on the processing types of K processing strategies, the m-th business data and / or attribute information are processed to obtain K processing results. This also includes: if the k-th processing strategy includes a chained processing strategy, obtaining at least one piece of second processing data according to the processing chain within the chained processing strategy, wherein the second processing data is the data to be calculated in the processing chain, 1≤k≤K; processing the second processing data according to the sequential nodes in the processing chain to obtain the k-th processing result corresponding to the k-th processing strategy. The sequential nodes process the second processing data according to the expression processing strategy.
[0178] Figure 7C A flowchart illustrating the determination of processing results according to a third embodiment of the present disclosure is shown schematically.
[0179] like Figure 7C As shown, if a chained processing strategy is found among the K processing strategies, and the k-th processing strategy is determined to include a chained processing strategy, the second processing data of the current processing object is retrieved from the database based on the identifier of the processing data included in the chained processing strategy. Specifically, the sequential nodes in the chained processing strategy process the second processing data according to the expression processing strategy.
[0180] The second processing data is processed using a chained processing strategy to obtain the k-th processing data corresponding to the k-th processing strategy.
[0181] For example, taking the vehicle usage type and business data as "pick-up and drop-off at the station" as an example. According to Tables 1 and 2, the processing type is "03", and the corresponding processing strategy is a chained processing strategy. The first strategy determined from the first data table is "Chain1", and the second strategy determined from the second data table is "Chain8". Therefore, the resulting processing strategy is "execute the first processing chain first, and then execute the eighth processing chain".
[0182] "Chain1" is used to define transaction conditions, specifically the processing chain of "whether assets exceed 500 - whether monthly consumption frequency exceeds 3 - whether offline consumption frequency exceeds 3". "Chain8" is used to define service conditions, specifically the processing chain of "whether application frequency exceeds 20 - whether service evaluation satisfaction rate exceeds 80%". Based on the identifiers of the processing data defined in the first and second processing chains, five second processing data items are obtained: assets, monthly consumption frequency, offline consumption frequency, application frequency, and service evaluation satisfaction rate.
[0183] Then, at the first sequential node, the assets, monthly consumption count, and offline consumption count are processed according to the first processing chain; at the second sequential node, the number of applications and service evaluation satisfaction rate are calculated a second time according to the second processing chain to obtain the processing result.
[0184] Alternatively, the processing strategy could be "execute the first processing chain first, then execute the second processing chain." The second processing chain would determine if the asset value is greater than 100. After using the first processing chain to evaluate the asset, the second processing chain would be used to perform a second calculation on the asset, thus performing tiered calculations to obtain the final result.
[0185] According to embodiments of this disclosure, in a chained processing strategy, if the result of a certain sequential node is mismatched, the execution of the next sequential node can be stopped, and the processing result of "mismatch, no display" can be directly displayed.
[0186] According to embodiments of this disclosure, sequential nodes in a chained processing strategy can also process the second processing data according to a permission restriction strategy or a custom method strategy.
[0187] According to embodiments of this disclosure, i, j, and k can be the same or different. When i, j, and k are the same, it indicates that the current processing strategy includes multiple processing types. For example, when i = j, the i-th or j-th processing strategy includes two processing types, such as a permission restriction strategy and an expression processing strategy. When i, j, and k are all different, it indicates that the current processing strategy includes only one processing type.
[0188] This disclosure uses a chained processing strategy to process the second processing data, which not only enhances the relationship between expressions within sequential nodes, but also stops the calculation when the calculation result of a sequential node is not displayed, thereby reducing the calculation time.
[0189] Figure 8 A schematic block diagram of a device for displaying business data according to an embodiment of the present disclosure is shown.
[0190] like Figure 8 As shown, the business data display device 800 of this embodiment includes a parsing module 810, a first determining module 820, a second determining module 830, and a display module 840.
[0191] The parsing module 810 is used to respond to the received application request, parse the application request, and obtain business information. The business information includes M business data points, which represent the business requirements included in the application request, where M ≥ 1. In one embodiment, the parsing module 810 can be used to perform the operation S210 described above, which will not be repeated here.
[0192] The first determining module 820 is used to determine the target processing strategy corresponding to the business information based on the business information. In one embodiment, the first determining module 820 can be used to execute the operation S220 described above, which will not be repeated here.
[0193] The second determining module 830 is used to process the strategy information according to the target processing strategy, and determine N display data from M business data. The strategy information includes at least one of the following: business information and attribute information. The attribute information is used to characterize the identity meaning of the processing object, 1 ≤ N ≤ M. In one embodiment, the second determining module 830 can be used to perform the operation S230 described above, which will not be repeated here.
[0194] The display module 840 is used to display N pieces of display data. In one embodiment, the display module 840 can be used to perform the operation S240 described above, which will not be repeated here.
[0195] According to embodiments of this disclosure, the first determining module 820 includes a first determining unit and a second determining unit.
[0196] The first determining unit is used to determine K processing strategies for the m-th service data based on the identifier of the m-th service data, where 1≤m≤M and K≥1. In one embodiment, the first determining unit can be used to perform the operation S321 described above, which will not be repeated here.
[0197] The second determining unit is used to combine K processing strategies to obtain the target processing strategy corresponding to the m-th service data. In one embodiment, the second determining unit can be used to execute the operation S322 described above, which will not be repeated here.
[0198] According to embodiments of this disclosure, the first determining unit includes a first determining subunit, a second determining subunit, a third determining subunit, and a fourth determining subunit.
[0199] The first determining subunit is used to obtain K first strategies from the first data table based on the identifier of the m-th service data. In one embodiment, the first determining subunit can be used to perform the operation S5211 described above, which will not be repeated here.
[0200] The second determining subunit is used to determine K first strategies as K processing strategies in response to determining that there is no second strategy corresponding to the m-th business data in the second data table, wherein the second data table is associated with the first data table. In one embodiment, the second determining subunit can be used to perform the operation S5212 described above, which will not be repeated here.
[0201] The third determining subunit is used to obtain L second strategies, where L≥1, in response to determining that a second strategy corresponding to the m-th business data exists in the second data table. In one embodiment, the third determining subunit can be used to perform the operation S5213 described above, which will not be repeated here.
[0202] The fourth determining subunit is used to update the K first strategies using the L second strategies to obtain the updated K first strategies, and uses the updated K first strategies as the K processing strategies. In one embodiment, the fourth determining subunit can be used to execute the operation S5214 described above, which will not be repeated here.
[0203] According to embodiments of this disclosure, the second determining module 830 includes a first determining submodule and a second determining submodule.
[0204] The first determination submodule is used to process the m-th business data and / or attribute information using K processing strategies to determine the final display result corresponding to the m-th business data.
[0205] The second determination submodule is used to determine N display data from the M business data based on the final display results of the M business data.
[0206] According to embodiments of this disclosure, the first determining submodule includes a first processing unit and a second processing unit.
[0207] The first processing unit is used to process the m-th business data and / or attribute information according to the processing type of K processing strategies, and obtain K processing results.
[0208] The second processing unit is used to integrate the K processing results to obtain the final display result.
[0209] According to an embodiment of this disclosure, the first processing unit includes a first processing subunit, which is used to process attribute information based on the permission restriction policy when it is determined that the i-th processing policy includes a permission restriction policy, and obtain the i-th processing result corresponding to the i-th processing policy, where 1≤i≤K.
[0210] According to an embodiment of this disclosure, the first processing unit further includes a second processing subunit, configured to, when it is determined that the j-th processing strategy includes an expression processing strategy, obtain at least one first processing data item based on the expression within the expression processing strategy, wherein the first processing data is the data to be calculated in the expression, 1≤j≤K; and calculate the first processing data based on the expression to obtain the j-th processing result corresponding to the j-th processing strategy.
[0211] According to an embodiment of this disclosure, the first processing unit further includes a third processing subunit, configured to, when it is determined that the k-th processing strategy includes a chained processing strategy, obtain at least one second processing data item according to the processing chain within the chained processing strategy, wherein the second processing data is data to be calculated in the processing chain, 1≤k≤K; process the second processing data according to the sequential nodes in the processing chain to obtain the k-th processing result corresponding to the k-th processing strategy, wherein the sequential nodes process the second processing data according to the expression processing strategy.
[0212] According to embodiments of this disclosure, any plurality of modules among the parsing module 810, the first determining module 820, the second determining module 830, and the display module 840 may be combined into one module, or any one of these modules may be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of other modules and implemented in one module. According to embodiments of this disclosure, at least one of the parsing module 810, the first determining module 820, the second determining module 830, and the display module 840 may be at least partially implemented as hardware circuitry, such as a field-programmable gate array (FPGA), a programmable logic array (PLA), a system-on-a-chip, a system-on-a-substrate, a system-on-package, an application-specific integrated circuit (ASIC), or implemented in hardware or firmware by any other reasonable means of integrating or packaging circuitry, or implemented in any one of software, hardware, and firmware methods, or in a suitable combination of any of these methods. Alternatively, at least one of the parsing module 810, the first determining module 820, the second determining module 830, and the display module 840 may be at least partially implemented as a computer program module, which can perform corresponding functions when the computer program module is run.
[0213] Figure 9 A block diagram of an electronic device suitable for displaying business data according to an embodiment of the present disclosure is shown schematically.
[0214] like Figure 9 As shown, an electronic device 900 according to an embodiment of the present disclosure includes a processor 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage portion 908 into a random access memory (RAM) 903. The processor 901 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or an associated chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 901 may also include onboard memory for caching purposes. The processor 901 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0215] RAM 903 stores various programs and data required for the operation of electronic device 900. Processor 901, ROM 902, and RAM 903 are interconnected via bus 904. Processor 901 performs various operations of the method flow according to embodiments of the present disclosure by executing programs in ROM 902 and / or RAM 903. It should be noted that the programs may also be stored in one or more memories other than ROM 902 and RAM 903. Processor 901 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in said one or more memories.
[0216] According to embodiments of this disclosure, the electronic device 900 may further include an input / output (I / O) interface 905, which is also connected to a bus 904. The electronic device 900 may also include one or more of the following components connected to the I / O interface 905: an input section 906 including a keyboard, mouse, etc.; an output section 907 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a LAN card, modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the I / O interface 905 as needed. A removable medium 911, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 910 as needed so that computer programs read from it can be installed into the storage section 908 as needed.
[0217] This disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or it may exist independently and not assembled into the device / apparatus / system. The computer-readable storage medium carries one or more programs that, when executed, implement the method according to the embodiments of this disclosure.
[0218] According to embodiments of this disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, such as including, but not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to embodiments of this disclosure, the computer-readable storage medium may include ROM 902 and / or RAM 903 and / or one or more memories other than ROM 902 and RAM 903 described above.
[0219] Embodiments of this disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowchart. When the computer program product is run on a computer system, the program code enables the computer system to implement the business data display method provided in the embodiments of this disclosure.
[0220] When the computer program is executed by the processor 901, it performs the functions defined in the system / apparatus of this disclosure embodiments. According to embodiments of this disclosure, the systems, apparatuses, modules, units, etc., described above can be implemented by computer program modules.
[0221] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may also be transmitted and distributed in the form of signals over a network medium, and downloaded and installed via the communication section 909, and / or installed from a removable medium 911. The program code contained in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination thereof.
[0222] In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 909, and / or installed from the removable medium 911. When the computer program is executed by the processor 901, it performs the functions defined in the system of this disclosure embodiment. According to embodiments of this disclosure, the systems, devices, apparatuses, modules, units, etc., described above can be implemented by computer program modules.
[0223] According to embodiments of this disclosure, program code for executing the computer programs provided in embodiments of this disclosure can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, languages such as Java, C++, Python, "C", or similar programming languages. The program code can execute entirely on the user's computing device, partially on the user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0224] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0225] Those skilled in the art will understand that the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways, even if such combinations or combinations are not explicitly described in this disclosure. In particular, the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or combinations fall within the scope of this disclosure.
[0226] The specific embodiments described above further illustrate the purpose, technical solutions, and beneficial effects of this disclosure. It should be understood that the above descriptions are merely specific embodiments of this disclosure and are not intended to limit this disclosure. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the protection scope of this disclosure.
Claims
1. A method for displaying business data, comprising: In response to a received application request, the application request is parsed to obtain business information, wherein the business information includes M business data, which are used to characterize the business requirements included in the application request, where M≥1; Based on the business information, determine the target processing strategy corresponding to the business information; The strategy information is processed according to the target processing strategy to determine N display data from M business data, wherein the strategy information includes at least one of the following: the business information and attribute information, wherein the attribute information is used to characterize the identity meaning of the processing object, 1≤N≤M; and Display the N pieces of data; The step of determining the target processing strategy corresponding to the business information based on the business information includes: For the m-th business data, K first strategies are obtained from the first data table based on the identifier of the m-th business data; where 1≤m≤M, K≥1; In response to determining that a second strategy corresponding to the m-th business data exists in the second data table, L second strategies are obtained, where L≥1; the first data table is a full data table, including a first strategy for processing multiple business data; the second data table is used to further define the first strategies within the first data table; the second data table is associated with the first data table based on the business data item number and the business data item sequence number; The K first strategies are updated using the L second strategies to obtain the updated K first strategies, and the updated K first strategies are used as the K processing strategies; The K processing strategies are combined to obtain the target processing strategy corresponding to the m-th business data.
2. The method according to claim 1, wherein, The method further includes: In response to determining that there is no second strategy corresponding to the m-th business data in the second data table, the K first strategies are determined as the K processing strategies, wherein the second data table is associated with the first data table.
3. The method according to claim 1, wherein, The step of processing the strategy information according to the target processing strategy to determine N display data from M business data includes: For the m-th business data, the K processing strategies are used to process the m-th business data and / or the attribute information to determine the final display result corresponding to the m-th business data; and Based on the final display results of the M business data, N display data are determined from the M business data.
4. The method according to claim 3, wherein, The step of processing the m-th business data and / or the attribute information using the K processing strategies to determine the final display result corresponding to the m-th business data includes: Based on the processing type of the K processing strategies, the m-th business data and / or the attribute information are processed to obtain K processing results; and The final display result is obtained by combining the K processing results.
5. The method according to claim 4, wherein, The process of processing the m-th business data and / or the attribute information according to the processing types of the K processing strategies to obtain K processing results includes: If the i-th processing strategy includes a permission restriction strategy, the attribute information is processed based on the permission restriction strategy to obtain the i-th processing result corresponding to the i-th processing strategy, where 1≤i≤K.
6. The method according to claim 4, wherein, The step of processing the m-th business data and / or the attribute information according to the processing types of the K processing strategies to obtain K processing results further includes: If the j-th processing strategy is determined to include an expression processing strategy, at least one piece of first processing data is obtained based on the expression within the expression processing strategy, wherein the first processing data is the data to be calculated in the expression, 1≤j≤K; and The first processed data is calculated based on the expression to obtain the j-th processing result corresponding to the j-th processing strategy.
7. The method according to claim 4, wherein, The step of processing the m-th business data and / or the attribute information according to the processing types of the K processing strategies to obtain K processing results further includes: If the k-th processing strategy is determined to include a chained processing strategy, at least one second processing data is obtained according to the processing chain within the chained processing strategy, wherein the second processing data is the data to be calculated in the processing chain, 1≤k≤K; The second processed data is processed according to the sequential nodes in the processing chain to obtain the kth processing result corresponding to the kth processing strategy, wherein the sequential nodes process the second processed data according to the expression processing strategy.
8. A device for displaying business data, comprising: The parsing module is used to respond to the received application request, parse the application request, and obtain business information, wherein the business information includes M business data, which are used to characterize the business requirements included in the application request, and M≥1; The first determining module is used to determine the target processing strategy corresponding to the business information based on the business information. The second determining module is used to process the strategy information according to the target processing strategy, and determine N display data from M business data, wherein the strategy information includes at least one of the following: the business information and attribute information, the attribute information being used to characterize the identity meaning of the processing object, 1≤N≤M; and The display module is used to display the N pieces of display data; The first determining module is further configured to: For the m-th business data, K first strategies are obtained from the first data table based on the identifier of the m-th business data; where 1≤m≤M, K≥1; In response to determining that a second strategy corresponding to the m-th business data exists in the second data table, L second strategies are obtained, where L≥1; the first data table is a full data table, including a first strategy for processing multiple business data; the second data table is used to further define the first strategies within the first data table; the second data table is associated with the first data table based on the business data item number and the business data item sequence number; The K first strategies are updated using the L second strategies to obtain the updated K first strategies, and the updated K first strategies are used as the K processing strategies; The K processing strategies are combined to obtain the target processing strategy corresponding to the m-th business data.
9. An electronic device, comprising: One or more processors; Storage device for storing one or more programs. Wherein, when the one or more programs are executed by the one or more processors, the one or more processors perform the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the method according to any one of claims 1 to 7.
11. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1 to 7.