[go: up one dir, main page]

CN115203199A - Business data display method and device, electronic equipment and storage medium - Google Patents

Business data display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115203199A
CN115203199A CN202210731497.9A CN202210731497A CN115203199A CN 115203199 A CN115203199 A CN 115203199A CN 202210731497 A CN202210731497 A CN 202210731497A CN 115203199 A CN115203199 A CN 115203199A
Authority
CN
China
Prior art keywords
business
data
service
enumeration
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210731497.9A
Other languages
Chinese (zh)
Inventor
易旺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank 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 Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN202210731497.9A priority Critical patent/CN115203199A/en
Publication of CN115203199A publication Critical patent/CN115203199A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a business data display method, a business data display device, electronic equipment and a computer readable storage medium. The method comprises the steps of obtaining a target business state type in a current page and a target business scene type under the target business state type after receiving a business instruction input by a user based on the current page, determining corresponding business data to be displayed from a plurality of business databases according to obtained contents, wherein the business databases comprise enumeration data automatically generated based on each business scene type, analyzing the business instruction, determining a data display mode corresponding to the business instruction, and finally displaying the business data to be displayed in the current page according to the data display mode. According to the method, the enumeration data automatically generated based on each service scene type is stored in the service database, so that the purpose of automatically generating and controlling the enumeration data under the service development is achieved, the accuracy and the working efficiency of the enumeration data definition are improved, and the development cost is reduced.

Description

Business data display method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of financial technology, and in particular, to a method and an apparatus for displaying business data, an electronic device, and a computer-readable storage medium.
Background
In the traditional business function development process, research personnel and a business party or a product manager firstly discuss through a plurality of conferences, define various enumeration data according to the established business of products or the appointed business meaning in the industry and the like, then store the enumeration data into a database for being called by a front end, and in the calling process of the front end, convert the enumeration data into corresponding display contents and display the display contents at the front end.
However, when a research and development staff defines enumeration data, because a scene is not comprehensive enough, the definition of the enumeration data may be inaccurate, so that the quality of a front-end design is affected, and meanwhile, the enumeration data may change along with the development of a service.
Therefore, it is necessary to provide a method for automatically generating and controlling enumeration data under the development of services, so as to improve accuracy and working efficiency of the definition of enumeration data and reduce development cost.
Disclosure of Invention
The application provides a business data display method, a business data display device, an electronic device and a computer-readable storage medium, which are used for automatically generating and controlling enumeration data under business development, so that accuracy and working efficiency of enumeration data definition are improved, and development cost is reduced.
In order to solve the technical problem, the present application provides the following technical solutions:
the application provides a business data display method, which comprises the following steps:
receiving a service instruction input by a user based on a current page;
responding to the service instruction, and acquiring a target business state type in the current page and a target business scene type under the target business state type;
determining corresponding business data to be displayed from a plurality of business databases according to the target business state type and the target business scene type; the business database comprises enumeration data automatically generated based on each business scenario type, and the enumeration data comprises enumeration codes and enumeration descriptions corresponding to the enumeration codes;
analyzing the service instruction and determining a data display mode corresponding to the service instruction;
and displaying the business data to be displayed in the current page according to the data display mode.
Correspondingly, the present application further provides a service data display device, including:
the instruction receiving module is used for receiving a service instruction input by a user based on the current page;
the instruction response module is used for responding to the service instruction and acquiring a target business state type in the current page and a target business scene type under the target business state type;
the data determining module is used for determining corresponding service data to be displayed from a plurality of service databases according to the target business state type and the target business scene type; the business database comprises enumeration data automatically generated based on each business scenario type, and the enumeration data comprises enumeration codes and enumeration descriptions corresponding to the enumeration codes;
the instruction analysis module is used for analyzing the service instruction and determining a data display mode corresponding to the service instruction;
and the data display module is used for displaying the business data to be displayed in the current page according to the data display mode.
Meanwhile, the application provides an electronic device, which comprises a processor and a memory, wherein the memory is used for storing a computer program, and the processor is used for operating the computer program in the memory so as to execute the steps in the service data presentation method.
In addition, the present application further provides a computer-readable storage medium, where multiple instructions are stored in the computer-readable storage medium, and the instructions are suitable for being loaded by a processor to perform the steps in the service data display method.
Has the advantages that: the application provides a business data display method and device, electronic equipment and a computer readable storage medium. Specifically, after receiving a service instruction input by a user based on a current page, the method responds to the service instruction, obtains a target business state type in the current page and a target business scene type under the target business state type, then determines corresponding service data to be displayed from a plurality of business databases according to the target business state type and the target business scene type, wherein the business databases comprise enumeration data automatically generated based on each business scene type, the enumeration data comprises enumeration codes and enumeration descriptions corresponding to the enumeration codes, then analyzes the service instruction, determines a data display mode corresponding to the service instruction, and finally displays the service data to be displayed in the current page according to the data display mode. In the front-end display process, the method determines the service data to be displayed from the plurality of service databases by acquiring the target business state type of the current page and the target business scene type under the target state type, reduces the workload compared with the mode of converting enumeration data into the content to be displayed in the prior art, and simultaneously realizes the purpose of automatically generating and controlling the enumeration data under the business development by storing the enumeration data automatically generated based on each business scene type in the service databases, improves the accuracy and the working efficiency of the definition of the enumeration data and reduces the development cost.
Drawings
The technical solutions and other advantages of the present application will become apparent from the following detailed description of specific embodiments of the present application when taken in conjunction with the accompanying drawings.
Fig. 1 is a system architecture diagram of a service data presentation system according to an embodiment of the present application.
Fig. 2 is a flowchart illustrating a service data display method according to an embodiment of the present application.
Fig. 3 is a mapping table of business type and service scenario type provided in this embodiment.
Fig. 4 is a schematic storage structure diagram of a service database provided in an embodiment of the present application.
Fig. 5 is an interface schematic diagram of a current page provided in an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a service data presentation apparatus according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "including" and "having," and any variations thereof, in the description and claims of this application are intended to cover non-exclusive inclusions; the division of the modules presented in this application is merely a logical division, and in practical applications, there may be other divisions, for example, multiple modules may be combined or integrated into another system, or some features may be omitted, or not implemented.
In this application, the target business type refers to the business type involved in the current page. The business type is a variety of business types including a financial industry, an educational industry, an entertainment industry, a scientific research industry, and the like.
In this application, the service instruction refers to a relevant instruction triggered by the user based on the current page. Such as financial transaction instructions, bank card management instructions, account management instructions, and the like.
In the present application, the target service scenario type refers to a service scenario type involved in the current page. The service scene type refers to a type of a service scene related under a current business state type, and taking a financial state as an example, the service scene type related under the financial state includes a financial transaction scene, a bank card management scene, an account management scene, a credit card management scene and the like.
In the application, the service database is provided with a plurality of service databases, and each type of business type is provided with one service database corresponding to the service database.
In this application, enumerating data means that a limited number of instances in a certain service scenario type are exhausted, data corresponding to each instance is enumeration data, and the enumeration data includes an enumeration code and an enumeration description. The enumeration code refers to a unique identification code formed by specific numbers, number combinations, letters, letter combinations or the combination of the numbers and the letters, and the enumeration description refers to descriptive words or phrases for describing the same type of transactions in a business scene. It should be noted that the enumeration codes and the enumeration descriptions correspond to each other one by one, which is similar to the message unpacking specification of 8583 message protocol interacted in the financial industry, that is, each string of messages corresponds to unique reading information.
The application provides a business data display method, a business data display device, electronic equipment and a computer readable storage medium.
Referring to fig. 1, fig. 1 is a schematic diagram of a system architecture of a business data presentation system provided in the present application, as shown in fig. 1, the business data presentation system at least includes a front-end device 101, a processing server 102, and a database cluster 103, where:
communication links are arranged among the front-end equipment 101, the processing server 102 and the database cluster 103 so as to realize information interaction. The type of communication link may include a wired, wireless communication link, or fiber optic cable, etc., and the application is not limited thereto.
The front-end device 101 may be any intelligent device such as a smart phone, a tablet computer, a portable personal computer, and the like, and various application programs may be installed on the front-end device. For example, in the embodiment of the present application, a financial transaction may be initiated through a financial transaction platform on the front-end device 101, and the corresponding business data to be presented may be presented on the financial transaction platform.
The processing server 102 may be an independent server, or a server network or a server cluster composed of servers; for example, the server described in the present application includes, but is not limited to, a computer, a network host, a storage server, and a Cloud server formed by an application server or a plurality of servers, wherein the Cloud server is formed by a large number of computers or network servers based on Cloud Computing (Cloud Computing).
The database cluster 103 includes a plurality of business databases, wherein each business database corresponds to a type of business state type.
The application provides a business data display system which comprises front-end equipment, a processing server and a database cluster. Specifically, a user inputs a service instruction through a current page of front-end equipment, the front-end equipment receives the service instruction input by the user based on the current page, and then sends the service instruction to a processing server, the processing server responds to the service instruction, and obtains a target business state type in the current page and a target business scene type under the target business state type from the front-end equipment, then the processing server determines a corresponding target business database from a plurality of business databases of a database cluster according to the target business state type and the target business scene type, and determines business data to be displayed from the target business database, wherein the business database comprises automatically generated enumeration data based on each business scene type, the enumeration data comprises enumeration codes and enumeration descriptions corresponding to the enumeration codes, and then the processing server analyzes the service instruction, so that a data display mode corresponding to the service instruction is determined, and the data display mode and the determined data to be displayed are sent to the front-end equipment, so that the front-end equipment displays the business data to be displayed in the current page.
In the process of displaying the business data, the processing server acquires the target business state type of the current page and the target business scene type under the target business state type, and determines the business data to be displayed from the plurality of business databases.
It should be noted that the system architecture diagram shown in fig. 1 is only an example, and the server, the terminal, the device and the scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation to the technical solution provided in the embodiment of the present application, and as a person having ordinary skill in the art knows that along with the evolution of the system and the occurrence of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems. The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
By combining the system architecture of the service data presentation system, the service data presentation method in the present application will be described in detail below, please refer to fig. 2, and fig. 2 is a schematic flow chart of the service data presentation method provided in the embodiment of the present application. The method at least comprises the following steps:
s201: and receiving a service instruction input by a user based on the current page.
The method comprises the steps that a user inputs a service instruction through a current page of front-end equipment, the front-end equipment receives the service instruction input by the user based on the current page and then sends the service instruction to a processing server, and the processing server receives the service instruction input by the user based on the current page in the communication process with the front-end equipment. The service instruction refers to a related instruction triggered by a user based on a current page; such as financial transaction instructions, bank card management instructions, account management instructions, and the like.
S202: and responding to the service instruction, and acquiring the target business state type in the current page and the target business scene type under the target business state type.
After receiving the service instruction, the processing server needs to perform corresponding processing according to the service instruction, and first, responds to the service instruction, obtains a current page of the front-end device, and analyzes the current page, thereby determining an industry type and a service scene type in the current page, and taking the industry type of the current page as a target industry type and the service scene type of the current page as a target service scene type. It should be noted that the service scene type of the current page and the business type of the current page are in a generic relationship, that is, the service scene type of the current page belongs to one of the business scene types of the current page. The service scene type refers to the type of the service scene related under the current state type. Specifically, the business type may include a financial business, an educational business, a scientific business, and the like; taking the financial state as an example, the types of business scenarios involved in the financial state may include a financial transaction scenario, a bank card management scenario, an account management scenario, a credit card management scenario, and the like.
S203: determining corresponding business data to be displayed from a plurality of business databases according to the target business state type and the target business scene type; the business database comprises enumeration data automatically generated based on each business scenario type, and the enumeration data comprises enumeration codes and enumeration descriptions corresponding to the enumeration codes.
In the traditional business function development process, enumerated data defined by research and development personnel based on manpower can be stored in a database, when a front-end page is displayed or an interface calling party is called, the enumerated data are converted into contents to be displayed, the process is time-consuming and labor-consuming, sometimes, when the research and development personnel define enumeration according to business, a plurality of scenes are incomplete, the enumerated data are defined inaccurately, the design quality can be affected subsequently, and along with subsequent business change, the adjustment (such as increase) of enumerated data levels is a round of research joint debugging, so that the working efficiency is difficult to promote, and the joint debugging development cost is high. The efficiency is slow, the progress is slow, and enumeration change customer experience is poor.
Thus, the present application provides an intelligent enumeration production tool capable of automatically generating enumeration data. The intelligent enumeration production tool can automatically collect the most complete general service scene types under each business type, and automatically generate enumeration data of each service scene type under each business type in an exhaustive manner, wherein the exhaustive manner is not limited to parameters, states, indexes and dictionaries. Specifically, the step of generating enumeration data of each service scene type under each business state type through automatic exhaustion includes: acquiring a data enumeration model and a preset association condition; inputting the collected multiple service scene types into a data enumeration model in sequence to obtain enumeration data under each service scene type; wherein the enumeration data comprises an enumeration code and an enumeration description; and respectively storing enumeration data under each service scene type in a corresponding service database according to preset association conditions. The core of the intelligent enumeration production tool is a data enumeration model, the model is obtained based on data training under various service scene types, the specific learning capacity of the data enumeration model can automatically generate corresponding enumeration data according to the service scene types, and the mode of automatically generating enumeration data according to the service scene types reduces the workload of front-end and back-end developers, improves the development efficiency and saves the development cost. In addition, the service scene type comprises a general service scene type and a custom service scene type; the general service scene type is a common service scene in practical application, such as a financial transaction scene, a bank card management scene, and the like, and the customized service scene type refers to a service scene that can be customized according to the requirements of a user.
In one embodiment, the enumeration data includes data in each business scenario type in each business type, and therefore the enumeration data needs to be stored in a corresponding business database according to the business type and the business scenario type, and the specific steps include: acquiring a mapping table of the business type and the business scene type; determining the business state type corresponding to the enumeration data under each business scene type according to the mapping table; and storing the enumeration data under each service scene type in a corresponding service database according to the business state type corresponding to the enumeration data under each service scene type. The mapping table of the business type and the business scene type refers to a table for describing the relationship between the business type and the business scene type, and the mapping table can be in a form of a table, a form of a linked list, and the like; the type of business refers to the type of each business, including financial, educational, entertainment, and research, among others.
Specifically, as shown in fig. 3, fig. 3 is a mapping table of a business state type and a business scenario type provided in this embodiment of the present application. Since the enumeration data is automatically generated according to the service scene types, that is, each enumeration data has a label of the corresponding service scene type when being generated, according to the mapping table shown in fig. 3, which type of business state type the enumeration data under each service scene type corresponds to can be uniquely determined, and the service database in the present application corresponds to the business state type one by one, after the business state type is determined, which service database the enumeration data under each service scene type should be stored in correspondingly can be uniquely determined. For example, the status type corresponding to the enumeration data in the financial transaction scenario is the financial status, the enumeration data in the bank card management scenario also corresponds to the financial status, and the enumeration data in the literature query scenario corresponds to the educational status.
In one embodiment, each service database is further divided into a plurality of storage units, each storage unit stores enumeration data in a service scenario type, and the specific steps include: determining a corresponding service database according to the business state type corresponding to the enumeration data under each service scene type; and classifying and storing each enumerated data in each storage unit in a corresponding service database according to the service scene type of the enumerated data under each service scene type. The service database can be a relational database, such as PostgreSQL, oracle, and the like, and can quickly locate enumeration data in a target service scenario type through the relational database.
As shown in fig. 4, fig. 4 is a schematic view of a storage structure of a service database provided in the embodiment of the present application. According to the steps, after the business database corresponding to the enumeration data in each business scene type is determined, the enumeration data in each business scene type needs to be classified and stored, so that subsequent calling is facilitated, and the data processing efficiency during calling is improved. Since the enumeration data is automatically generated according to the service scene type, that is, each enumeration data has a tag of the corresponding service scene type when being generated, the corresponding storage unit can be uniquely determined according to each service scene type, for example, the enumeration data of the financial transaction scene type is stored in the storage unit a, the enumeration data of the bank card management scene type is stored in the storage unit B, the enumeration data of the account management scene type is stored in the storage unit C, and the enumeration data of the credit card management scene type is stored in the storage unit D.
In one embodiment, since different business databases correspond to different business types, the business databases can be automatically embedded into corresponding business systems according to the business types represented by the business databases, and the specific steps include: acquiring the state type of each state system; and embedding the service database into the corresponding business state system according to the business state type of each business state system. Each business system has its corresponding business type, for example, in a financial system, its corresponding business is a financial business, in an educational system, its corresponding business is an educational business, etc.; and embedding the service database into the corresponding business state system, namely matching the service database with the corresponding business state system, and automatically performing operations such as attribute conversion and the like according to the data attribute of the business state system. Because each type of business state type in the application has a business database corresponding to the business database, the business database can be automatically matched into the corresponding business state system, and the operations such as attribute conversion and the like can be automatically carried out according to the data attribute of the corresponding business state system. By the automatic embedding mode, full automation is realized, various debugging during manual access are avoided, and the efficiency of interface development is improved.
In a possible embodiment, the enumeration data may also change with the development of technology, the expansion of a scene, and the like, so that the enumeration data in the database may be updated, and the specific steps include: receiving a data updating instruction; and executing a data updating instruction, and updating enumeration data in a corresponding service database. The data updating instruction can be an updating instruction which is automatically executed at preset intervals by a system, and the updating instruction comprises new enumeration data and deleted enumeration data.
Specifically, since the relevant data of various service scene types may not be changed, and at the same time, the service scene types may not be changed, it is necessary to perform automatic management and control on the data in the service database at any time. After a data updating instruction is received, new business scene types can be collected again based on an intelligent enumeration production tool, new enumeration data under each business scene type is generated according to the collected new business scene types through a data enumeration model, and finally, the enumeration data in the business database is updated by comparing the new enumeration data under each business scene type with the original enumeration data under each business scene type in the business database, so that the automatic management and control of the enumeration data in the business database are realized. In addition, new data can be directly collected through the intelligent enumeration production tool, and the collected data are identified and classified through the intelligent enumeration production tool, so that the collected data are stored in the service database, and the purpose of updating the enumeration data in the service database is achieved.
In one embodiment, the step of determining corresponding service data to be displayed from a plurality of service databases according to the target business state type and the target business scene type specifically includes: determining a target business database from a plurality of business databases according to the target business state type; determining a corresponding enumeration code from a target service database according to the type of the target service scene; and determining corresponding business data to be displayed according to the enumeration codes. The enumeration code refers to a unique identification code formed by specific numbers, number combinations, letters, letter combinations or the combination of the numbers and the letters, and the enumeration description refers to descriptive words or phrases for describing the same type of transactions in a business scene. It should be noted that the enumeration codes and the enumeration descriptions are in one-to-one correspondence, which is similar to the message unpacking specification of 8583 message protocol interacted in the financial state, that is, each string of messages corresponds to unique reading information.
Take the target business type as financial business and the target business scene type as financial transaction scene as examples. According to the financial state, a financial service database is determined from a plurality of service databases to be a target service database, then corresponding enumeration codes (for example, including CUP, VISA, MC, JCB, ACQ, OTHER, MULTII, AE, NET, MCJV and the like) are determined from the financial service database according to financial transaction scenes, and then corresponding service data to be shown (namely, CUP corresponds to a bank union, VISA corresponds to VISA, MC corresponds to a mastercard, JCB corresponds to Ji Shimei card, ACQ corresponds to a self-receiving bill, OTHER corresponds to a self-OTHER, MULTI corresponds to a bank union MULTI-channel, AE corresponds to an American express, NET corresponds to a network union, MCJV corresponds to a mastercard network union and the like) are determined according to the enumeration codes.
Take the target business type as financial business and the target business scene type as account management scene as examples. According to the financial business state, a financial business database is determined from a plurality of business databases to be a target business database, then corresponding enumeration codes (for example, N, D, A, C, P, Z and the like) are determined from the financial business database according to an account management scene, and then corresponding business data to be displayed (namely, N corresponds to a new user, D corresponds to a static state, A corresponds to an active state, C corresponds to a closed state, P corresponds to a deleted state, Z corresponds to a verified state and the like) are determined according to the enumeration codes.
Take the target business type as financial business type and the target business scene type as bank card management scene as examples. According to the financial business state, a financial business database is determined from a plurality of business databases to be a target business database, then corresponding enumeration codes (for example, including 0, 1, 2, 3, 4, 7 and the like) are determined from the financial business database according to a bank card management scene, and then corresponding business data to be displayed (namely, 0 corresponds to no action, 1 corresponds to a new card, 2 corresponds to a card supplement, 3 corresponds to a card change, 4 corresponds to a card return, 7 corresponds to a card continuation and the like) are determined according to the enumeration codes.
S204: and analyzing the service instruction and determining a data display mode corresponding to the service instruction.
And after the data to be displayed is determined, the processing server analyzes the service instruction, so that a data display mode corresponding to the service instruction is determined.
S205: and displaying the business data to be displayed in the current page according to the data display mode.
As shown in fig. 5, fig. 5 is a schematic interface diagram of a current page provided in the embodiment of the present application. Taking a bank card management scenario as an example, after a user sends a business instruction for bank card management through a current interface of front-end equipment, the processing server determines business data to be displayed through the processing of the foregoing steps and determines a data display mode, so that the business data to be displayed is displayed in a current page in a form shown in fig. 5. As for the "please select contents to be transacted" and "return to previous interface" shown in FIG. 5, they are automatically presented by the processing server according to the system settings.
According to the business data display method, the automatic intelligent enumeration generation tool is provided, the enumeration data automatically generated based on each business scene type is stored in the business database, the purpose of automatically generating and controlling the enumeration data under the business development is achieved, the accuracy and the working efficiency of the enumeration data definition are improved, and the development cost is reduced.
Based on the content of the foregoing embodiments, an embodiment of the present application provides a service data display device. The service data presentation apparatus is configured to execute the service data presentation method provided in the foregoing method embodiment, and specifically, referring to fig. 6, the apparatus includes:
an instruction receiving module 601, configured to receive a service instruction input by a user based on a current page;
an instruction response module 602, configured to respond to the service instruction, and obtain a target business state type in the current page and a target business scene type in the target business state type;
a data determining module 603, configured to determine, according to the target business state type and the target business scene type, corresponding business data to be displayed from multiple business databases; the business database comprises enumeration data automatically generated based on each business scenario type, and the enumeration data comprises enumeration codes and enumeration descriptions corresponding to the enumeration codes;
the instruction analysis module 604 is configured to analyze the service instruction and determine a data display mode corresponding to the service instruction;
and a data display module 605, configured to display the service data to be displayed in the current page according to the data display manner.
In one embodiment, the service data presentation apparatus further comprises:
the first acquisition module is used for acquiring a data enumeration model and a preset association condition;
the data generation module is used for sequentially inputting the collected multiple service scene types into the data enumeration model to obtain enumeration data under each service scene type; wherein the enumeration data comprises an enumeration code and an enumeration description;
and the first storage module is used for respectively storing enumeration data under each service scene type into corresponding service databases according to the preset association conditions.
The service scene types comprise a general service scene type and a user-defined service scene type.
In one embodiment, the first storage module comprises:
the second acquisition module is used for acquiring a mapping table of the business state type and the business scene type;
the first determining module is used for determining the business state type corresponding to the enumeration data under each business scene type according to the mapping table;
and the second storage module is used for storing the enumeration data under each service scene type into a corresponding service database according to the business state type corresponding to the enumeration data under each service scene type.
In one embodiment, the second storage module comprises:
the second determining module is used for determining a corresponding service database according to the business state type corresponding to the enumeration data under each service scene type;
and the third storage module is used for storing each enumerated data in a classified manner in each storage unit in the corresponding service database according to the service scene type of the enumerated data under each service scene type.
In one embodiment, the service data presentation apparatus further comprises:
the third acquisition module is used for acquiring the business state type of each business state system;
and the embedding module is used for embedding the business database into the corresponding business state system according to the business state type of each business state system.
In one embodiment, the service data presentation apparatus further comprises:
the updating instruction receiving module is used for receiving a data updating instruction;
and the data updating module is used for executing the data updating instruction and updating the enumeration data in the corresponding service database.
In one embodiment, the data determination module 603 comprises:
the third determining module is used for determining a target business database from a plurality of business databases according to the target business state type;
a fourth determining module, configured to determine, according to the target service scene type, a corresponding enumeration code from the target service database;
and a fifth determining module, configured to determine, according to the enumeration code, corresponding service data to be displayed.
The service data display device in the embodiment of the present application may be configured to implement the technical solution in the foregoing method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
Different from the current technology, the business data display device provided by the application is provided with the data determining module, business data to be displayed are determined from the multiple business databases through the data determining module based on the acquisition of the target business state type and the target business scene type, compared with the mode of converting enumeration data into content to be displayed in the current technology, the workload is reduced, meanwhile, the enumeration data automatically generated based on each business scene type is stored in the business databases, the purpose of automatically generating and controlling the enumeration data under the business development is achieved, the accuracy and the working efficiency of the enumeration data definition are improved, and the development cost is reduced.
Accordingly, an electronic device may include, as shown in fig. 7, a processor 701 having one or more processing cores, a Wireless Fidelity (WiFi) module 702, a memory 703 having one or more computer-readable storage media, an audio circuit 704, a display unit 705, an input unit 706, a sensor 707, a power supply 708, and a Radio Frequency (RF) circuit 709. Those skilled in the art will appreciate that the configuration of the electronic device shown in fig. 7 does not constitute a limitation of the electronic device and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 701 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 703 and calling data stored in the memory 703, thereby performing overall monitoring of the electronic device. In one embodiment, processor 701 may include one or more processing cores; preferably, the processor 701 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 701.
WiFi belongs to short-distance wireless transmission technology, and electronic equipment can help a user to send and receive e-mails, browse webpages, access streaming media and the like through a wireless module 702, and provides wireless broadband internet access for the user. Although fig. 7 shows the wireless module 702, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The memory 703 may be used to store software programs and modules, and the processor 701 may execute various functional applications and data processing by operating the computer programs and modules stored in the memory 703. The memory 703 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 703 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 703 may also include a memory controller to provide the processor 701 and the input unit 706 with access to the memory 703.
The audio circuitry 704 includes speakers that can provide an audio interface between a user and the electronic device. The audio circuit 704 can transmit the electrical signal converted from the received audio data to a speaker, and the electrical signal is converted into a sound signal by the speaker and output; on the other hand, the speaker converts the collected sound signal into an electrical signal, which is received by the audio circuit 704 and converted into audio data, and the audio data is processed by the audio data output processor 701 and then transmitted to another electronic device via the rf circuit 709, or the audio data is output to the memory 703 for further processing. The audio circuit 704 may also include an earbud jack to provide communication of a peripheral headset with the electronic device.
The display unit 705 may be used to display information input by or provided to a user and various graphic user interfaces of the terminal, which may be configured of graphics, text, icons, video, and any combination thereof. The Display unit 705 may include a Display panel, and in one embodiment, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may cover the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 701 to determine the type of the touch event, and then the processor 701 provides a corresponding visual output on the display panel according to the type of the touch event. Although in FIG. 7 the touch-sensitive surface and the display panel are implemented as two separate components for input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel for input and output functions.
The input unit 706 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, the input unit 706 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. In one embodiment, the touch sensitive surface may comprise two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 701, and can receive and execute commands sent by the processor 701. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 706 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The electronic device may also include at least one sensor 707, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a distance sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of ambient light (the proximity sensor may turn off the display panel and/or backlight when the terminal moves to the ear; as one type of motion sensor, the gravity acceleration sensor may detect the magnitude of acceleration in various directions (generally three axes), may detect the magnitude and direction of gravity when the terminal is stationary, and may be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), and the like); as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured to the electronic device, detailed descriptions thereof are omitted.
The electronic device further includes a power source 708 (e.g., a battery) for supplying power to the various components, which may preferably be logically connected to the processor 701 via a power management system, such that the power management system may manage charging, discharging, and power consumption. The power source 708 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The rf circuit 709 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then sends the received downlink information to one or more processors 701 for processing; in addition, data relating to uplink is transmitted to the base station. In general, rf circuitry 709 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the radio frequency circuit 709 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), general Packet Radio Service (GPRS), code Division Multiple Access (CDMA), wideband Code Division Multiple Access (WCDMA), long Term Evolution (LTE), email, short Message Service (SMS), and the like.
Although not shown, the electronic device may further include a camera, a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 701 in the electronic device loads the executable file corresponding to the process of one or more application programs into the memory 703 according to the following instructions, and the processor 701 runs the application program stored in the memory 703, so as to implement the following functions:
receiving a service instruction input by a user based on a current page;
responding to the service instruction, and acquiring a target business state type in the current page and a target business scene type under the target business state type;
determining corresponding business data to be displayed from a plurality of business databases according to the target business state type and the target business scene type; the business database comprises enumeration data automatically generated based on each business scenario type, and the enumeration data comprises enumeration codes and enumeration descriptions corresponding to the enumeration codes;
analyzing the service instruction and determining a data display mode corresponding to the service instruction;
and displaying the business data to be displayed in the current page according to the data display mode.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer-readable storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to implement the functions of the service data presentation method.
Wherein the computer-readable storage medium may include: read Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, and the like.
The business data display method, the business data display device, the electronic device and the computer-readable storage medium provided by the embodiments of the present application are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the present application, and the description of the embodiments is only used to help understanding the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (11)

1. A business data display method is characterized by comprising the following steps:
receiving a service instruction input by a user based on a current page;
responding to the service instruction, and acquiring a target business state type in the current page and a target business scene type under the target business state type;
determining corresponding business data to be displayed from a plurality of business databases according to the target business state type and the target business scene type; the business database comprises enumeration data automatically generated based on each business scenario type, and the enumeration data comprises enumeration codes and enumeration descriptions corresponding to the enumeration codes;
analyzing the service instruction and determining a data display mode corresponding to the service instruction;
and displaying the business data to be displayed in the current page according to the data display mode.
2. The business data presentation method of claim 1, wherein before the step of determining corresponding business data to be presented from a plurality of business databases according to the target business state type and the target business scenario type, further comprising:
acquiring a data enumeration model and a preset association condition;
sequentially inputting the collected multiple service scene types into the data enumeration model to obtain enumeration data under each service scene type; wherein the enumeration data comprises an enumeration code and an enumeration description;
and respectively storing enumeration data under each service scene type into corresponding service databases according to the preset association conditions.
3. The method for displaying business data according to claim 2, wherein the step of respectively storing enumeration data under each business scenario type in a corresponding business database according to the preset association condition comprises:
acquiring a mapping table of the business type and the business scene type;
determining the business state type corresponding to the enumeration data under each business scene type according to the mapping table;
and storing the enumeration data under each service scene type in a corresponding service database according to the business state type corresponding to the enumeration data under each service scene type.
4. The business data display method of claim 3, wherein the step of storing the enumeration data under each business scenario type in the corresponding business database according to the business state type corresponding to the enumeration data under each business scenario type comprises:
determining a corresponding service database according to the business state type corresponding to the enumeration data under each service scene type;
and classifying and storing each enumerated data in each storage unit in a corresponding service database according to the service scene type of the enumerated data under each service scene type.
5. The service data presentation method according to claim 4, after the step of storing each enumeration data in each storage unit in the corresponding service database according to the classification label of each enumeration data in a classified manner, further comprising:
acquiring the state type of each state system;
and embedding the service database into the corresponding business state system according to the business state type of each business state system.
6. The method for displaying service data according to claim 2, wherein after the step of respectively storing enumeration data under each service scenario type in the corresponding service database according to the preset association condition, the method further comprises:
receiving a data updating instruction;
and executing the data updating instruction, and updating the enumeration data in the corresponding service database.
7. The service data presentation method of claim 2, wherein the service scenario types comprise a generic service scenario type and a custom service scenario type.
8. The business data display method of claim 3, wherein the step of determining corresponding business data to be displayed from a plurality of business databases according to the target business state type and the target business scene type comprises:
determining a target business database from a plurality of business databases according to the target business state type;
determining a corresponding enumeration code from the target service database according to the type of the target service scene;
and determining corresponding business data to be displayed according to the enumeration codes.
9. A business data presentation apparatus, comprising:
the instruction receiving module is used for receiving a service instruction input by a user based on the current page;
the instruction response module is used for responding to the service instruction and acquiring a target business state type in the current page and a target business scene type under the target business state type;
the data determining module is used for determining corresponding business data to be displayed from a plurality of business databases according to the target business state type and the target business scene type; the business database comprises enumeration data automatically generated based on each business scenario type, and the enumeration data comprises enumeration codes and enumeration descriptions corresponding to the enumeration codes;
the instruction analysis module is used for analyzing the service instruction and determining a data display mode corresponding to the service instruction;
and the data display module is used for displaying the business data to be displayed in the current page according to the data display mode.
10. An electronic device, comprising a processor and a memory, wherein the memory is used for storing a computer program, and the processor is used for operating the computer program in the memory to execute the steps in the business data presentation method according to any one of claims 1 to 8.
11. A computer-readable storage medium storing instructions adapted to be loaded by a processor to perform the steps of the business data presentation method of any one of claims 1 to 8.
CN202210731497.9A 2022-06-24 2022-06-24 Business data display method and device, electronic equipment and storage medium Pending CN115203199A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210731497.9A CN115203199A (en) 2022-06-24 2022-06-24 Business data display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210731497.9A CN115203199A (en) 2022-06-24 2022-06-24 Business data display method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115203199A true CN115203199A (en) 2022-10-18

Family

ID=83578160

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210731497.9A Pending CN115203199A (en) 2022-06-24 2022-06-24 Business data display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115203199A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120179942A (en) * 2025-05-21 2025-06-20 中债金科信息技术有限公司 Method, device, electronic device and storage medium for processing enumeration data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120179942A (en) * 2025-05-21 2025-06-20 中债金科信息技术有限公司 Method, device, electronic device and storage medium for processing enumeration data
CN120179942B (en) * 2025-05-21 2025-11-04 中债金科信息技术有限公司 Enumeration data processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106775637B (en) Page display method and device for application program
CN105867751B (en) Operation information processing method and device
CN111178012A (en) Form rendering method, device and equipment and storage medium
CN104852885B (en) Method, device and system for verifying verification code
CN112231144A (en) Data processing method and device and electronic equipment
CN108958606B (en) Split screen display method and device, storage medium and electronic equipment
CN104281394A (en) Method and device for intelligently selecting words
CN109062468B (en) Split-screen display method, device, storage medium and electronic device
CN111078556B (en) Application testing method and device
CN107197024A (en) Single table access and control method, user terminal, server and storage medium
CN109451130B (en) Mobile terminal testing method and device, mobile terminal and storage medium
CN108205568A (en) Method and device based on label selection data
CN108958629A (en) Split screen quitting method and device, storage medium and electronic equipment
CN114064447B (en) Interface testing method and device, storage medium and terminal
CN109062469B (en) Split screen display method and device, storage medium and electronic equipment
CN105335434B (en) Log management method and device and electronic equipment
CN105631059B (en) Data processing method, data processing device and data processing system
CN115203199A (en) Business data display method and device, electronic equipment and storage medium
CN116011426A (en) File analysis method and device based on template, electronic equipment and storage medium
CN111359210B (en) Data processing method and device, electronic equipment and storage medium
CN114580451B (en) Antenna parameter configuration method and device, storage medium and electronic equipment
CN111027406B (en) Picture identification method and device, storage medium and electronic equipment
EP3951622A1 (en) Image-based search method, server, terminal, and medium
CN117743170A (en) Test case generation method and device, storage medium and terminal equipment
CN115878457A (en) Test data verification method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination