WO2019019769A1 - 业务功能实现的方法、装置、计算机设备及存储介质 - Google Patents

业务功能实现的方法、装置、计算机设备及存储介质 Download PDF

Info

Publication number
WO2019019769A1
WO2019019769A1 PCT/CN2018/086242 CN2018086242W WO2019019769A1 WO 2019019769 A1 WO2019019769 A1 WO 2019019769A1 CN 2018086242 W CN2018086242 W CN 2018086242W WO 2019019769 A1 WO2019019769 A1 WO 2019019769A1
Authority
WO
WIPO (PCT)
Prior art keywords
function
attribute
button
query
page
Prior art date
Application number
PCT/CN2018/086242
Other languages
English (en)
French (fr)
Inventor
陈杰
吴海波
姜云鹏
凌剑
马向东
丁杰
张捷
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019019769A1 publication Critical patent/WO2019019769A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/35Creation or generation of source code model driven
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design

Definitions

  • the present application relates to the field of computer processing, and in particular, to a method, device, computer device and storage medium for implementing a service function.
  • the business function refers to the function developed in order to realize the operation of the corresponding business data, wherein the operations on the business data include four aspects of adding, deleting, querying and modifying.
  • each new business function needs to separately develop a corresponding page and background processing logic for the newly added business function, and the development workload is large, and the corresponding cost is also high. .
  • a method, apparatus, computer device, and storage medium for implementing a business function are provided.
  • a method for implementing a business function comprising:
  • a device for implementing a business function comprising:
  • a receiving module configured to receive, by using a function node corresponding to the target service function, an operation request for the target service function
  • a function identifier finding module configured to search, from the model table, a function identifier corresponding to the function node according to the operation request;
  • An attribute information searching module configured to search for attribute information corresponding to the function identifier from a public attribute table, where the attribute information includes an attribute name;
  • a determining module configured to determine page location information corresponding to the attribute name according to the attribute number corresponding to the attribute name
  • Loading a display module configured to load the attribute name into a common page corresponding to the model table according to the page location information, and display a function button associated with the function identifier at a preset page location;
  • an interaction module configured to complete, add, delete, and modify the corresponding target service data by interacting with the function button.
  • a computer device comprising a memory and one or more processors having stored therein computer readable instructions, the computer readable instructions being executed by the one or more processors such that the one or more The processor performs the following steps: receiving, by the function node corresponding to the target service function, an operation request for the target service function;
  • One or more non-transitory computer readable storage mediums storing computer readable instructions, when executed by one or more processors, cause the one or more processors to perform the following steps: Receiving an operation request for the target service function by a function node corresponding to the target service function;
  • FIG. 1 is a block diagram of a computer device in accordance with one or more embodiments.
  • FIG. 2 is a flow diagram of a method of implementing a business function in accordance with one or more embodiments.
  • FIG. 3 is a schematic diagram of a page containing function buttons in accordance with one or more embodiments.
  • FIG. 4 is a flow diagram of a method of interacting with a query button in accordance with one or more embodiments.
  • FIG. 5 is a flow chart of a method for implementing a service function in another embodiment.
  • FIG. 6 is a flow chart of a method for implementing a service function in still another embodiment.
  • FIG. 7 is a block diagram of an apparatus for implementing a business function in accordance with one or more embodiments.
  • FIG. 8 is a block diagram of an interaction module in accordance with one or more embodiments.
  • FIG. 9 is a block diagram of an apparatus for implementing a service function in another embodiment.
  • FIG. 10 is a block diagram of a device for implementing a service function in still another embodiment.
  • FIG. 1 is a schematic diagram showing the internal structure of a computer device in an embodiment.
  • the computer device may be a terminal, wherein the terminal may be a personal computer or a mobile electronic device, and the mobile electronic device includes at least one of a mobile phone, a tablet computer, a personal digital assistant, or a wearable device.
  • the computer device includes a processor, memory, display screen, and network interface connected by a system bus.
  • the processor of the computer device is used to provide computing and control capabilities to support the operation of the entire computer device.
  • the memory of the computer device includes a non-transitory computer readable storage medium and an internal memory.
  • the non-transitory computer readable storage medium of the computer device can store an operating system and computer readable instructions that, when executed, cause the processor to perform a method of business function implementation.
  • the display screen of the computer device may be a liquid crystal display or an electronic ink display screen, and the input device may be a touch layer covered on the display screen, or may be a button, a trackball or a touchpad, a remote controller, etc. provided on the TV casing. .
  • the network interface of the computer device is used for network communication. It will be understood by those skilled in the art that the structure shown in FIG. 1 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation of the computer device to which the solution of the present application is applied.
  • the specific computer device may It includes more or fewer components than those shown in the figures, or some components are combined, or have different component arrangements.
  • a method for implementing a service function comprising:
  • Step 202 Receive an operation request for a target service function by using a function node corresponding to the target service function.
  • the terminal receives an operation request for the target service function through a function node corresponding to the target service function.
  • Each service function corresponds to a corresponding function node, and the function node is displayed on the page, and the function node enters a corresponding business function display page, and the function node is equivalent to a hyperlink, and is used for responding to an operation request for the corresponding business function.
  • Business functions include four operational functions: adding, deleting, modifying, and querying business data. The implementation of traditional business functions requires a separate set of pages and corresponding background processing logic for each business function. In this embodiment, in order to reduce the development workload and the development cost, the corresponding service functions can be separately implemented by sharing a plurality of service functions with a set of pages.
  • each business function by treating each business function as a model, the function identifiers of the plurality of business functions are maintained in the same model table, and a common page code is developed for the model table to make multiple services in the model table.
  • the functions collectively correspond to a set of public pages, that is, each business function in the model table can be displayed using the public page.
  • the function nodes corresponding to multiple service functions are maintained in a node attribute table, and the mapping relationship between the function nodes and the function identifiers is established.
  • Step 204 Search for a function identifier corresponding to the function node from the model table according to the operation request.
  • each business function is regarded as a model, and multiple business function models are maintained in the same model table, in which the function name and function identifier of each business function are stored. And other information, wherein the function identifier is used to uniquely identify a business function.
  • the mapping relationship between the function node and the function identifier is established in advance. When the operation request of the trigger function node is detected, the function identifier corresponding to the function node may be searched from the model table in response to the operation request.
  • Step 206 Search for attribute information corresponding to the function identifier from the public attribute table, where the attribute information includes the attribute name.
  • the common attribute table records attribute information associated with each business function, and the attribute information refers to an information attribute corresponding to the business function, including the attribute name.
  • a business function includes attribute information such as name, gender, age, and occupation.
  • the attribute name can be simply understood as the field name corresponding to the business function.
  • Each service function often includes multiple attribute information, and the service data corresponding to each attribute information is an attribute value corresponding to the attribute information.
  • both the business function 1 and the business function 2 include attribute information such as name, gender, occupation, and the like. Then, the attribute information such as name, gender, occupation, and the like in the public attribute table can be associated with the business function 1 and the business function 2 at the same time.
  • Step 208 Determine page location information corresponding to the attribute name according to the attribute number corresponding to the attribute name.
  • a service function often corresponds to multiple attribute information, that is, corresponding to multiple attribute names.
  • the attribute name and attribute need to be stored in advance.
  • the corresponding relationship of the number, the attribute number indicates the ordering number of the corresponding attribute name on the page, and the attribute number is used to determine the page position information of the corresponding attribute name displayed on the page.
  • the page location information refers to the coordinate position where the attribute name is displayed on the page. The corresponding attribute name is loaded to the corresponding page for display according to the determined coordinate position.
  • Step 210 Load the attribute name into the public page corresponding to the model table according to the page location information, and display the corresponding function button at the preset page position.
  • the business function in order to enable a plurality of business functions to use a common set of common pages, the business function is regarded as a model and added to the model table, and only a set of common pages is required to correspond to the model table.
  • the model objects corresponding to the business functions are searched from the model table, and each model object corresponds to a function identifier, and then the attribute name corresponding to the model object is loaded to the corresponding public.
  • the page displays the addition and query function buttons associated with the function identifier at the preset page position.
  • the function button is associated with the data table corresponding to the function identifier and the function identifier, and the service data corresponding to the function identifier is stored in the data table.
  • the function button includes at least one of add, delete, modify, and query.
  • the function buttons include an add and query button. By interacting with the query button, the corresponding business data can be queried, and then the delete and modify buttons are displayed on the queried page to delete or modify the business data.
  • the corresponding business data can be added to the data table by adding a button.
  • the function button includes an add, delete, modify, and query button, and subsequently interacts with the add, delete, modify, and query buttons to perform corresponding addition, deletion, and corresponding to the service data in the corresponding data table. Modify and query operations. As shown in FIG. 3, in one embodiment, the attribute name is loaded into the public page, and a schematic diagram of the corresponding add and query function buttons is displayed at the preset page position.
  • Step 212 Perform an addition, deletion, and re-inspection operation on the corresponding target service data by interacting with the function button.
  • the function button is associated with the data table corresponding to the function identifier, and the service data corresponding to the function identifier is stored in the data table, so the service data corresponding to the function identifier can be directly added or deleted through the function button. Change and check the operation.
  • the function button refers to four buttons including adding, deleting, modifying, and querying, and by adding interaction with the four function buttons, the addition/deletion/change/check operation of the corresponding target service data can be completed. .
  • the corresponding service data needs to be obtained through the query button, and then the corresponding service data can be deleted or modified accordingly.
  • the delete and modify buttons can be displayed after querying the business data, that is, when the function button is displayed on the home page, the query and the add button can be displayed first.
  • the process of querying is the process of extracting business data from the data table according to the query conditions.
  • Each service function corresponds to a data table of its own, and the service data corresponding to the service function is stored therein.
  • the display box corresponding to each attribute information needs to be displayed, and the added information is received through the display box.
  • the type of the display frame may be preset according to the attribute information, wherein the type of the display frame may be divided into a drop-down box. Click the box or input box.
  • the method for implementing the foregoing service function receives an operation request for the target service function by using a function node corresponding to the target service function, and searches for a function identifier corresponding to the function node from the model table according to the operation request, and searches for the function from the public attribute table. Identify the corresponding attribute information, the attribute information includes the attribute name, determine the page location information corresponding to the attribute name according to the attribute number corresponding to the attribute name, and load the attribute name into the common page corresponding to the model table according to the page location information, and preset The page position displays the corresponding function button, and interacts with the function button to complete the addition, deletion and change operation of the corresponding target business data.
  • each business function By treating each business function as a model, the above method maintains multiple models in the same model table, and simultaneously maintains the attribute information corresponding to each business function in a common attribute table, so that The model can use a common set of common pages corresponding to the model table.
  • you need to add new business functions in the future you only need to treat the new business function as a model, then add the model to the model table, and add the attribute information of the new business function to the public attribute table.
  • the newly added business function separately develops a corresponding page and background processing logic, which not only reduces the workload and cost of development, but also greatly improves the corresponding development efficiency.
  • the function button includes an add and query button; and the adding, deleting, and revising operations for the corresponding target service data by interacting with the function button include: interacting with the function identifier by interacting with the query button Obtaining the target service data corresponding to the query operation in the data table, displaying the corresponding modification and/or delete button at the preset page position, and performing corresponding interaction on the target service by interacting with the modify or delete button a display or a deletion operation of the data; the display frame corresponding to the attribute name is loaded to the corresponding page according to the attribute type in the attribute information by the interaction with the addition button, and the corresponding increase operation is received through the display frame .
  • the addition, deletion, and re-inspection operations of the target service data are completed by interacting with the four types of function buttons of adding, deleting, modifying, and querying, respectively.
  • the query button is used to receive the query request of the user, and the query request page is entered into the query page, and the attribute having the query attribute is obtained from the attribute information corresponding to the function identifier, and the attribute having the query attribute is used as the query field, and the input and the input are received.
  • the query condition corresponding to the query field obtains the target service data corresponding to the query condition from the data table, and displays a modify or delete button on the corresponding page for further modifying or deleting the target service data.
  • the page receives the corresponding added data through the display box, wherein the display box is divided into a drop-down box, a check box, and an input box according to the type.
  • the display box corresponding to the name is the input box, and the gender can be selected by the male and female options.
  • the form of the box is selected, and the date of birth includes the year and month. You can choose to use the drop-down box to select the corresponding year and month.
  • the interaction with the query button acquires target service data from a data table corresponding to the function identifier, and displays the corresponding page position at a preset page position.
  • the steps to modify and/or delete buttons include:
  • Step 402 Receive a query request by using a query button, and obtain attribute information with a query attribute according to the query request.
  • the query button is configured to receive a query request from the user, and the query page can be clicked by clicking the query button, and the attribute information that can be used as the query field is displayed on the query page.
  • the attribute having the query attribute is obtained from the attribute information corresponding to the function identifier, and the attribute information having the query attribute is used as the query field, and the query condition corresponding to the query field received and received is obtained from the data table and corresponding to the query condition.
  • Target business data Each service function corresponds to a data table, where the service data corresponding to the service function is stored in the data table, and the field name and the corresponding service data are included in the data table.
  • the field names in the data table and the attribute names in the common attribute table are in one-to-one correspondence, which is convenient for multiplexing the code, because after obtaining the attribute name from the public attribute table, the corresponding information can be quickly obtained.
  • the attribute value (business data) should be maintained in which field in the data table. Similarly, when the target business data is obtained from the data table, it can also quickly know which attribute information the target business data should be displayed below.
  • Step 404 Receive a query condition corresponding to the attribute information of the query attribute, obtain the target service data matching the query condition from the data table corresponding to the function identifier according to the query condition, and display the target service data at the preset page position. Corresponding modifications and/or delete buttons.
  • a service function often corresponds to multiple attribute information, and not every attribute information has a query function.
  • one or two attribute information is set as attribute information with a query function, and the The attribute information of the query attribute can be queried to obtain the corresponding target business data.
  • the corresponding query condition is received by the attribute information having the query attribute, and the target service data matching the query condition is obtained from the data table corresponding to the function identifier according to the query condition for display. For example, if a business function has the attribute information of the query attribute as: name, then by receiving the query condition corresponding to the name, such as "Zhang San", the target business data matching "Zhang San" can be obtained.
  • the corresponding target business data Before the modification or deletion of the target business data is implemented, the corresponding target business data needs to be queried for display by the query operation, so when the obtained target business data is displayed on the corresponding page, the page is simultaneously displayed. Show the appropriate edit and/or delete buttons.
  • the modification or deletion operation of the target service data is implemented by the corresponding modification or deletion button.
  • Step 502 Receive an operation request for a target service function by using a function node corresponding to the target service function.
  • Step 504 Search for a function identifier corresponding to the function node from the model table according to the operation request.
  • Step 506 Search for attribute information corresponding to the function identifier from the public attribute table, where the attribute information includes the attribute name.
  • Step 508 Obtain a page layout rule corresponding to the function identifier.
  • Step 510 Determine page location information corresponding to the attribute name according to the attribute number corresponding to the attribute name and the corresponding page layout rule.
  • Step 512 Load the attribute name into the public page corresponding to the model table according to the page location information, and display the corresponding function button at the preset page position, and the function button includes an add, delete, modify, and query button.
  • Step 514 Perform an addition, deletion, and re-inspection operation on the corresponding target service data by interacting with the function button.
  • the different service functions need to be displayed in different forms. Therefore, the unused page layout rules may be set for the unused service functions, and the function identifiers are correspondingly stored in the corresponding page layout rules, so as to facilitate subsequent use according to the page.
  • the layout rules show the corresponding attribute names and business data.
  • the page layout rule specifies the location information corresponding to each attribute number. Therefore, after obtaining the attribute number corresponding to the attribute name, the page location information corresponding to each attribute name can be determined according to the attribute number corresponding to the attribute name. Then, according to the determined page location information corresponding to each attribute name, the corresponding attribute name is loaded onto the public page for display.
  • the method before receiving the operation request for the target service function by the function node corresponding to the target service function, the method further includes:
  • Step 214 Receive a login request of the user, and extract user post information.
  • the corresponding settings have different operation rights for different users, and firstly, the user's job information, that is, the role information, is obtained by receiving the user's login request. .
  • the staff in different positions and different positions have different operation rights.
  • the relationship between the user's job information and the authority information is set in advance, so that the corresponding authority information can be obtained according to the post information.
  • Step 216 Obtain a right corresponding to the user's job information from the public rights attribute table.
  • the rights attributes of different business functions are maintained in a common rights attribute table.
  • the privilege of the business function in the privilege attribute table is stored in association with the user post information. After obtaining the user's job information, the user's job information may be obtained from the public authority attribute table according to the user's job information, and one user job information may correspond to one or more business function rights.
  • the privilege includes the node privilege and the privilege.
  • the node privilege refers to the privilege of obtaining the function node, and the privilege refers to the operation permission of adding, deleting, and modifying the service function.
  • Step 218 The corresponding service function node is displayed according to the permission, and each service function node corresponds to a service function.
  • the service function node corresponding to the privilege is displayed, that is, the service function node matching the job information of the user is displayed, where Each business function node corresponds to a business function. Subsequent operations of the corresponding business functions are performed through the function nodes that are available for operation.
  • the rights of different job information are maintained in the public rights attribute table, and the available service functions corresponding to the job information can be obtained through the determined job information, and then the corresponding service function nodes are performed. Display, thus achieving the authority management of different positions, effectively preventing business data from being maliciously tampering.
  • steps in the flowcharts of FIGS. 2 through 6 are sequentially displayed as indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Except as explicitly stated herein, the execution of these steps is not strictly limited, and the steps may be performed in other orders. Moreover, at least some of the steps in FIGS. 2 to 6 may include a plurality of sub-steps or stages, which are not necessarily performed at the same time, but may be executed at different times, these sub-steps or stages The order of execution is not necessarily performed sequentially, but may be performed alternately or alternately with at least a portion of other steps or sub-steps or stages of other steps.
  • an apparatus for implementing a service function comprising:
  • the receiving module 702 is configured to receive, by using a function node corresponding to the target service function, an operation request for the target service function.
  • the function identifier finding module 704 is configured to search for a function identifier corresponding to the function node from the model table according to the operation request;
  • the attribute information searching module 706 is configured to search for attribute information corresponding to the function identifier from the public attribute table, where the attribute information includes an attribute name.
  • a determining module 708, configured to determine, according to the attribute number corresponding to the attribute name, page location information corresponding to the attribute name;
  • the loading display module 710 is configured to load the attribute name into a common page corresponding to the model table according to the page location information, and display a function button associated with the function identifier at a preset page location;
  • the interaction module 712 is configured to complete, add, delete, and modify the corresponding target service data by interacting with the function button.
  • the function button includes an add and query button;
  • the interaction module 712 includes:
  • the query module 712A is configured to obtain target service data from the data table corresponding to the function identifier by performing interaction with the query button, and display a corresponding modification and/or delete button at a preset page position;
  • a modification module 712B configured to complete a modification operation on the target service data by interacting with the modification button
  • a deleting module 712C configured to complete a deletion operation on the target service data by interacting with the delete button
  • the adding module 712D is configured to load a display box corresponding to the attribute name into a common page by interacting with the adding button, and receive a corresponding adding operation by using the display box.
  • the query module 712A is further configured to receive a query request by using the query button, obtain attribute information having a query attribute according to the query request, and receive a query condition corresponding to the attribute information having the query attribute. And obtaining, according to the query condition, the target service data that matches the query condition from the data table corresponding to the function identifier, and displaying the corresponding modification and/or delete button at the preset page position.
  • the foregoing implementation of the service function further includes:
  • a layout rule obtaining module 707 configured to acquire a page layout rule corresponding to the function identifier
  • the determining module 708 is further configured to determine page location information corresponding to the attribute name according to an attribute number corresponding to the attribute name and a corresponding page layout rule.
  • the apparatus for implementing the foregoing service function further includes:
  • the extracting module 714 is configured to receive a login request of the user, and extract user post information
  • the privilege obtaining module 716 is configured to obtain the privilege corresponding to the user post information from the public privilege attribute table;
  • the function node display module 718 is configured to display corresponding service function nodes according to the rights, and each service function node corresponds to a service function.
  • the various modules in the apparatus implemented by the above business functions may be implemented in whole or in part by software, hardware, and combinations thereof.
  • the network interface may be an Ethernet card or a wireless network card.
  • the above modules may be embedded in the hardware in the processor or in the memory in the server, or may be stored in the memory in the server, so that the processor calls the corresponding operations of the above modules.
  • the processor can be a central processing unit (CPU), a microprocessor, a microcontroller, or the like.
  • the apparatus implemented by the above business functions can be implemented in the form of a computer readable instruction that can be run on a computer device as shown in FIG.
  • the embodiment of the present application proposes a computer device.
  • the internal structure of the computer device may correspond to the structure shown in FIG. 1.
  • the computer device is a terminal, which includes a series of computer readable instructions stored on the memory, when the computer When the readable instructions are executed by the processor, the method for implementing the service function proposed by the embodiments of the present application can be implemented.
  • a computer apparatus comprising a memory and one or more processors, the memory storing computer readable instructions, the steps of the method for implementing the business function implementation provided in any one of the embodiments of the present application when the computer readable instructions are executed by the processor .
  • One or more non-volatile storage media storing computer readable instructions, when executed by one or more processors, causing one or more processors to implement the services provided in any one embodiment of the present application The steps of the method of function implementation.
  • the storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请提出了一种业务功能实现的方法,包括:通过目标业务功能对应的功能节点接收对目标业务功能的操作请求,根据操作请求从模型表中查找与功能节点对应的功能标识,从公用属性表中查找与功能标识对应的属性信息,属性信息包括属性名称,根据属性名称对应的属性编号确定与属性名称对应的页面位置信息,根据页面位置信息将属性名称加载到与模型表对应的公用页面,并在预设的页面位置展示与功能标识关联的功能按钮,通过与功能按钮进行交互完成对相应的目标业务数据的增删改查操作。

Description

业务功能实现的方法、装置、计算机设备及存储介质
本申请要求于2017年7月25日提交中国专利局、申请号为2017106144081、发明名称为“业务功能实现的方法、装置、计算机设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机处理领域,特别是涉及一种业务功能实现的方法、装置、计算机设备及存储介质。
背景技术
业务功能是指为了实现对相应业务数据进行操作而开发的功能,其中,对业务数据的操作包括增加、删除、查询和修改四个方面。传统技术中,在开发业务功能时,每新增一个业务功能,需要针对新增的业务功能单独开发一套与之对应的页面和后台处理逻辑,开发工作量大,且相应的成本也较高。
发明内容
根据本申请的各种实施例,提供了一种业务功能实现的方法、装置、计算机设备及存储介质。
一种业务功能实现的方法,包括:
通过目标业务功能对应的功能节点接收对所述目标业务功能的操作请求;
根据所述操作请求从模型表中查找与所述功能节点对应的功能标识;
从公用属性表中查找与所述功能标识对应的属性信息,所述属性信息包括属性名称;
根据所述属性名称对应的属性编号确定与所述属性名称对应的页面位置信息;
根据所述页面位置信息将所述属性名称加载到与所述模型表对应的公用页面,并在预设的页面位置展示与所述功能标识关联的功能按钮;及
通过与所述功能按钮进行交互完成对相应的目标业务数据的增删改查操作。
一种业务功能实现的装置,包括:
接收模块,用于通过目标业务功能对应的功能节点接收对所述目标业务功能的操作请求;
功能标识查找模块,用于根据所述操作请求从模型表中查找与所述功能节点对应的功能标识;
属性信息查找模块,用于从公用属性表中查找与所述功能标识对应的属性信息,所述属性信息包括属性名称;
确定模块,用于根据所述属性名称对应的属性编号确定与所述属性名称对应的页面位置信息;
加载展示模块,用于根据所述页面位置信息将所述属性名称加载到与所述模型表对应的公用页面,并在预设的页面位置展示与所述功能标识关联的功能按钮;及
交互模块,用于通过与所述功能按钮进行交互完成对相应的目标业务数据的增删改查操作。
一种计算机设备,包括存储器和一个或多个处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:通过目标业务功能对应的功能节点接收对所述目标业务功能的操作请求;
根据所述操作请求从模型表中查找与所述功能节点对应的功能标识;
从公用属性表中查找与所述功能标识对应的属性信息,所述属性信息包括属性名称;
根据所述属性名称对应的属性编号确定与所述属性名称对应的页面位置信息;
根据所述页面位置信息将所述属性名称加载到与所述模型表对应的公用页面,并在预设的页面位置展示与所述功能标识关联的功能按钮;及
通过与所述功能按钮进行交互完成对相应的目标业务数据的增删改查操作。
一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:通过目标业务功能对应的功能节点接收对所述目标业务功能的操作请求;
根据所述操作请求从模型表中查找与所述功能节点对应的功能标识;
从公用属性表中查找与所述功能标识对应的属性信息,所述属性信息包括属性名称;
根据所述属性名称对应的属性编号确定与所述属性名称对应的页面位置信息;
根据所述页面位置信息将所述属性名称加载到与所述模型表对应的公用页面,并在预设的页面位置展示与所述功能标识关联的功能按钮;及
通过与所述功能按钮进行交互完成对相应的目标业务数据的增删改查操作。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为根据一个或多个实施例中计算机设备的框图。
图2为根据一个或多个实施例中业务功能实现的方法流程图。
图3为根据一个或多个实施例中包含功能按钮的页面示意图。
图4为根据一个或多个实施例中与查询按钮进行交互的方法流程图。
图5为另一个实施例中业务功能实现的方法流程图。
图6为又一个实施例中业务功能实现的方法流程图。
图7为根据一个或多个实施例中业务功能实现的装置框图。
图8为根据一个或多个实施例中交互模块的框图。
图9为另一个实施例中业务功能实现的装置框图。
图10为又一个实施例中业务功能实现的装置框图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
图1为一个实施例中计算机设备的内部结构示意图。该计算机设备可以是终端,其中,终端可以是个人计算机或者移动电子设备,移动电子设备包括手机、平板电脑、个人数字助理或者穿戴式设备等中的至少一种。参照图1,该计算机设备包括通过系统总线连接的处理器、存储器、显示屏和网络接口。该计算机设备的处理器用于提供计算和控制能力,支撑整个计算机设备的运行。该计算机设备的存储器包括非易失性计算机可读存储介质和内存储器。该计算机设备的非易失性计算机可读存储介质可存储操作系统和计算机可读指令,该计算机可读指令被执行时,可使得处理器执行一种业务功能实现的方法。计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏等,输入装置可以是显示屏上覆盖的触摸层,也可以是电视机外壳上设置的按键、轨迹球或触控板、遥控器等。计算机设备的网络接口用于进行网络通信。本领域技术人员可以理解,图1中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
如图2所示,在一些实施例中,提出了一种业务功能实现的方法,该方法包括:
步骤202,通过目标业务功能对应的功能节点接收对目标业务功能的操作请求。
在其中一个实施例中,终端通过与目标业务功能对应的功能节点接收对目标业务功能的操作请求。每个业务功能都对应有相应的功能节点,将功能节点展示在页面上,通过该功能节点进入相应的业务功能展示页面,功能节点相当于超链接,用于响应对相应业务功能的操作请求。业务功能包括对业务数据的增加、删除、修改和查询四个操作功能。传统的业务功能的实现需要针对每个业务功能单独开发一套页面和相应的后台处理逻辑。而本实施例中为了减少开发工作量和开发成本,通过使多个业务功能共用一套页面就可以分别实现相应的业务功能。具体地,通过将每个业务功能看作是一个模型,将多个业务功能的功能标识维护在同一张模型表中,针对该模型表开发一套公用页面代码,使模型表中的多 个业务功能共同对应一套公用页面,即模型表中的每个业务功能都可以使用该公用页面进行展示。同时将多个业务功能对应的功能节点维护在一张节点属性表中,并建立功能节点与功能标识的映射关系。
步骤204,根据操作请求从模型表中查找与功能节点对应的功能标识。
在其中一个实施例中,将每个业务功能看作是一个模型,并将多个业务功能模型维护在同一张模型表中,在该模型表中存储有每个业务功能的功能名称、功能标识等信息,其中,功能标识用于唯一标识一个业务功能。预先建立功能节点与功能标识之间的映射关系,当检测到触发功能节点的操作请求时,可以立即响应该操作请求从模型表中查找与功能节点对应的功能标识。
步骤206,从公用属性表中查找与功能标识对应的属性信息,属性信息包括属性名称。
在其中一个实施例中,公用属性表中记载了与每个业务功能关联的属性信息,属性信息是指与业务功能对应的信息属性,包括属性名称。比如,某个业务功能包括姓名、性别、年龄、职业等属性信息。属性名称可以简单的理解为是与业务功能对应的字段名称。每个业务功能往往包括多个属性信息,与每个属性信息对应的业务数据即为属性信息对应的属性值。通过将多个业务功能的属性信息共同维护在一张公用属性表中,后续只需要根据功能标识便可从该公用属性表中提取与之关联的多个属性信息。在一些实施例中,为了节约存储的成本,在该公用属性表中,一个属性信息可以被多个业务功能使用,比如,业务功能1和业务功能2都包括姓名、性别、职业等属性信息,那么公用属性表中的姓名、性别、职业等属性信息可以同时与业务功能1和业务功能2关联。
步骤208,根据属性名称对应的属性编号确定与属性名称对应的页面位置信息。
在其中一个实施例中,一个业务功能往往对应多个属性信息,即对应多个属性名称,为了将属性名称按照预设的规则加载到对应的公用页面进行显示,首先需要预先存储属性名称和属性编号的对应关系,属性编号表示对应的属性名称在页面上的排列顺序编号,该属性编号用于确定相应的属性名称展示在页面上的页面位置信息。页面位置信息是指属性名称在页面上显示的坐标位置。根据该确定的坐标位置将相应的属性名称加载到对应的页面进行展示。
步骤210,根据页面位置信息将属性名称加载到与模型表对应的公用页面,并在预设的页面位置展示相应的功能按钮。
在其中一个实施例中,为了使多个业务功能可以共同使用一套公用页面,将业务功能看作是一个模型,并将其添加到模型表中,只需要开发一套公用页面与模型表对应,后续需要对具体的业务功能进行操作时,首先从模型表中查找与业务功能对应的模型对象,每个模型对象对应一个功能标识,然后将该模型对象所对应的属性名称加载到对应的公用页面,同时在预设的页面位置展示与功能标识关联的增加和查询功能按钮,该功能按钮与通过功能标识与功能标识对应的数据表关联,数据表中存储了与功能标识对应的业务数据。所以通过该功能按钮就可以对相应数据表中的业务数据进行相应的增加、删除、修改和查 询操作。功能按钮包括增加、删除、修改和查询中的至少一个。在一些实施例中,功能按钮包括增加和查询按钮。通过与查询按钮进行交互可以查询到对应的业务数据,然后再在查询到的页面上展示删除和修改按钮,以便对业务数据进行删除或修改。通过增加按钮可以添加相应的业务数据到数据表中。在另一个实施例中,功能按钮包括增加、删除、修改和查询按钮,后续分别通过与增加、删除、修改和查询按钮进行交互完成对相应的数据表中的业务数据进行相应的增加、删除、修改和查询操作。如图3所示,为一个实施例中,将属性名称加载到公用页面,并在预设的页面位置展示相应的增加和查询功能按钮的示意图。
步骤212,通过与功能按钮进行交互完成对相应的目标业务数据的增删改查操作。
具体地,功能按钮是与功能标识对应的数据表关联的,而数据表中存储了与该功能标识对应的业务数据,所以通过功能按钮可以直接对该功能标识对应的业务数据进行增、删、改、查的操作。在一些实施例中,功能按钮是指包括增加、删除、修改和查询四个按钮,通过与该四个功能按钮分别进行交互就可以完成对相应的目标业务数据的增/删/改/查操作。在另一个实施例中,在进行删除或修改之前,需要先通过查询按钮获取到相应的业务数据,然后才能对相应的业务数据进行相应的删除或修改。所以删除和修改按钮可以在查询到业务数据后再进行展示,即在首页展示功能按钮时可以先只展示查询和增加按钮。查询的过程是根据查询条件从数据表中提取业务数据的过程。其中,每个业务功能都对应一个自己的数据表,里面存储了与该业务功能对应的业务数据。在进行增加操作时,需要展示与每个属性信息对应的展示框,通过展示框接收增加的信息,展示框的类型可以根据属性信息进行预先设置,其中,展示框的类型可以分为下拉框,点选框或输入框等。
上述业务功能实现的方法,通过目标业务功能对应的功能节点接收对该目标业务功能的操作请求,根据操作请求从模型表中查找与功能节点对应的功能标识,从公用属性表中查找与该功能标识对应的属性信息,属性信息包括属性名称,根据属性名称对应的属性编号确定与属性名称对应的页面位置信息,根据页面位置信息将属性名称加载到与模型表对应的公用页面,并在预设的页面位置展示相应的功能按钮,通过与功能按钮进行交互完成对相应的目标业务数据的增删改查操作。上述方法通过将每一个业务功能看作是一个模型,将多个模型维护在同一张模型表中,同时将每个业务功能对应的属性信息也共同维护在一张公用属性表中,这样针对所有的模型可以共同使用一套与模型表对应的公用页面。以后需要添加新业务功能时,只需要将该新业务功能看作是一个模型,然后将该模型添加到模型表中,同时将该新业务功能的属性信息添加到公用属性表中,不需要针对新增的业务功能单独开发一套与之对应的页面和后台处理逻辑,不但减少了开发的工作量和成本,而且大大提高了相应的开发效率。
在一些实施例中,功能按钮包括增加和查询按钮;通过与功能按钮进行交互完成对相应的目标业务数据的增删改查操作包括:通过与所述查询按钮进行交互从与所述功能标识对应的数据表中获取与查询操作对应的目标业务数据进行展示,并在预设的页面位置展示 相应的修改和/或删除按钮,通过与所述修改或删除按钮进行交互完成相应的对所述目标业务数据的修改或删除操作;通过与所述增加按钮进行交互根据所述属性信息中的属性类型将与所述属性名称对应的展示框加载到对应的页面,通过所述展示框接收相应的增加操作。
在其中一个实施例中,分别通过与增加、删除、修改和查询四个类型的功能按钮进行交互来完成对目标业务数据的增删改查操作。具体地,通过查询按钮接收用户的查询请求,响应该查询请求进入查询页面,从功能标识对应的属性信息中获取具有查询属性的属性,将该具有查询属性的属性作为查询字段,接收输入的与查询字段对应的查询条件,从数据表中获取与查询条件对应的目标业务数据,同时在相应的页面展示修改或删除按钮,用于对目标业务数据进行进一步的修改或删除操作。通过增加按钮接收用户添加信息的请求,根据该请求获取每个属性名称对应的属性类型,属性类型用于表示相应的展示框的类型,然后根据属性类型将与属性名称对应的展示框加载到对应的页面,通过展示框接收相应的增加数据,其中,展示框根据类型不同分为下拉框、点选框、输入框。比如,假设添加的业务数据包括姓名、性别、出生年月等,那么由于姓名没有共性,所以采用的与姓名对应的展示框为输入框,性别由于只有男和女两个选项,可以通过点选框的形式选择,而出生年月包括年份和月份,可以选择使用下拉框来选择相应的年份和月份。
如图4所示,在一些实施例中,所述通过与所述查询按钮进行交互从与所述功能标识对应的数据表中获取目标业务数据进行展示,并在预设的页面位置展示相应的修改和/或删除按钮的步骤包括:
步骤402,通过查询按钮接收查询请求,根据查询请求获取具有查询属性的属性信息。
在其中一个实施例中,查询按钮用于接收用户的查询请求,通过点击查询按钮即可进行查询页面,并在查询页面上展示可用作查询字段的属性信息。具体地,从功能标识对应的属性信息中获取具有查询属性的属性,将该具有查询属性的属性信息作为查询字段,接收输入的与查询字段对应的查询条件从数据表中获取与查询条件对应的目标业务数据。其中,每个业务功能都对应一个数据表,该数据表中存储了与该业务功能对应的业务数据,在数据表中包括字段名称和相应的业务数据。在一些实施例中,数据表中的字段名称和公用属性表中的属性名称一一对应,这样做可以方便复用代码,因为从公用属性表中获取到属性名称后,就可以快速地获知相应的属性值(业务数据)应该维护到数据表中的哪个字段中,同样地,当从数据表中获取目标业务数据时也可以快速地获知该目标业务数据应该显示到哪个属性信息下面。
步骤404,接收与具有查询属性的属性信息对应的查询条件,根据所述查询条件从与功能标识对应的数据表中获取与查询条件匹配的目标业务数据进行展示,并在预设的页面位置展示相应的修改和/或删除按钮。
在其中一个实施例中,一个业务功能往往对应多个属性信息,并不是每个属性信息都具有查询功能,一般会设置其中的一个或两个属性信息作为具有查询功能的属性信息,通 过该具有查询属性的属性信息可以查询获取到相应的目标业务数据。具体地,通过具有查询属性的属性信息接收相应的查询条件,根据查询条件从功能标识对应的数据表中获取与查询条件匹配的目标业务数据进行展示。比如,假设一个业务功能具有查询属性的属性信息为:姓名,那么通过接收与姓名对应的查询条件,比如“张三”,就可以获取与“张三”匹配的目标业务数据。由于在实现对目标业务数据的修改或删除之前,首先需要通过查询操作将相应的目标业务数据查询出来进行展示,所以将获取到的目标业务数据展示到相应的页面上时,同时在该页面上展示相应的修改和/或删除按钮。通过该相应的修改或删除按钮来实现对目标业务数据的修改或删除操作。
如图5所示,在一些实施例中,提出了另一种业务功能实现的方法,该方法包括:
步骤502,通过目标业务功能对应的功能节点接收对目标业务功能的操作请求。
步骤504,根据操作请求从模型表中查找与功能节点对应的功能标识;
步骤506,从公用属性表中查找与功能标识对应的属性信息,属性信息包括属性名称。
步骤508,获取与功能标识对应的页面布局规则。
步骤510,根据属性名称对应的属性编号和相应的页面布局规则确定与属性名称对应的页面位置信息。
步骤512,根据页面位置信息将属性名称加载到与模型表对应的公用页面,并在预设的页面位置展示相应的功能按钮,功能按钮包括增加、删除、修改和查询按钮。
步骤514,通过与功能按钮进行交互完成对相应的目标业务数据的增删改查操作。
在其中一个实施例中,由于不同业务功能需要展示的形式不同,所以针对不用的业务功能可以设置不用的页面布局规则,预先将功能标识与对应的页面布局规则进行对应存储,便于后续根据该页面布局规则展示相应的属性名称和业务数据。页面布局规则规定了每个属性编号对应的位置信息,所以获取到与属性名称对应的属性编号后,就可以根据与属性名称对应的属性编号确定与每个属性名称对应的页面位置信息。然后根据确定的与每个属性名称对应的页面位置信息将相应的属性名称加载到公用页面上进行显示。
如图6所示,在一些实施例中,在通过目标业务功能对应的功能节点接收对目标业务功能的操作请求之前还包括:
步骤214,接收用户的登录请求,提取用户岗位信息。
在其中一个实施例中,为了实现对不同用户实行不同的权限管理,针对于不同的用户,相应的设置有不同的操作权限,首先通过接收用户的登录请求,获取用户的岗位信息,即角色信息。在一个公司中处于不同岗位及不同职位的工作人员所具有的操作权限是不同的,预先设置用户岗位信息与权限信息之间的关系,便于后续根据岗位信息获取到相应的权限信息。
步骤216,从公用权限属性表中获取与用户岗位信息对应的权限。
在其中一个实施例中,将不同业务功能的权限属性维护在一张公用权限属性表中。其中,权限属性表中的业务功能的权限是与用户岗位信息进行关联存储的。获取到用户岗位 信息后,就可以根据该用户岗位信息从公用权限属性表中获取与用户岗位信息对应的权限,一个用户岗位信息可以对应一个或多个业务功能的权限。其中,权限包括节点权限和操作权限,节点权限是指获取功能节点的权限,操作权限是指对业务功能进行相应的增删改的操作权限。
步骤218,根据权限将对应的可供操作的业务功能节点进行展示,每个业务功能节点对应一个业务功能。
在其中一个实施例中,在确定了与用户岗位信息对应的权限后,获取与该权限对应的可供操作的业务功能节点进行展示,即展示与该用户岗位信息匹配的业务功能节点,其中,每个业务功能节点对应一个业务功能。后续通过可供操作的功能节点完成对相应业务功能的操作。
在其中一个实施例中,将不同岗位信息的权限维护在公用权限属性表中,通过确定的岗位信息就可以获取与该岗位信息对应的可供操作的业务功能,进而将相应的业务功能节点进行展示,从而实现了对不同岗位进行权限管理,有效防止了业务数据被恶意篡改。
应该理解的是,虽然图2至6的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2至6中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
如图7所示,在一些实施例中,提出了一种业务功能实现的装置,该装置包括:
接收模块702,用于通过目标业务功能对应的功能节点接收对所述目标业务功能的操作请求;
功能标识查找模块704,用于根据所述操作请求从模型表中查找与所述功能节点对应的功能标识;
属性信息查找模块706,用于从公用属性表中查找与所述功能标识对应的属性信息,所述属性信息包括属性名称;
确定模块708,用于根据所述属性名称对应的属性编号确定与所述属性名称对应的页面位置信息;
加载展示模块710,用于根据所述页面位置信息将所述属性名称加载到与所述模型表对应的公用页面,并在预设的页面位置展示与功能标识关联的功能按钮;
交互模块712,用于通过与所述功能按钮进行交互完成对相应的目标业务数据的增删改查操作。
如图8所示,在一些实施例中,功能按钮包括增加和查询按钮;交互模块712包括:
查询模块712A,用于通过与所述查询按钮进行交互从与所述功能标识对应的数据表 中获取目标业务数据进行展示,并在预设的页面位置展示相应的修改和/或删除按钮;
修改模块712B,用于通过与所述修改按钮进行交互完成对所述目标业务数据的修改操作;
删除模块712C,用于通过与所述删除按钮进行交互完成对所述目标业务数据的删除操作;
增加模块712D,用于通过与所述增加按钮进行交互将与所述属性名称对应的展示框加载到公用页面,通过所述展示框接收相应的增加操作。
在一些实施例中,所述查询模块712A还用于通过所述查询按钮接收查询请求,根据所述查询请求获取具有查询属性的属性信息,接收与所述具有查询属性的属性信息对应的查询条件,根据所述查询条件从与功能标识对应的数据表中获取与查询条件匹配的目标业务数据进行展示,并在预设的页面位置展示相应的修改和/或删除按钮。
如图9所示,在一些实施例中,上述业务功能实现的装置还包括:
布局规则获取模块707,用于获取与所述功能标识对应的页面布局规则;
所述确定模块708还用于根据所述属性名称对应的属性编号和相应的页面布局规则确定与所述属性名称对应的页面位置信息。
如图10所示,在一些实施例中,上述业务功能实现的装置还包括:
提取模块714,用于接收用户的登录请求,提取用户岗位信息;
权限获取模块716,用于从公用权限属性表中获取与所述用户岗位信息对应的权限;
功能节点展示模块718,用于根据所述权限将对应的可供操作的业务功能节点进行展示,每个业务功能节点对应一个业务功能。
上述业务功能实现的装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。其中,网络接口可以是以太网卡或无线网卡等。上述各模块可以硬件形式内嵌于或独立于服务器中的处理器中,也可以以软件形式存储于服务器中的存储器中,以便于处理器调用执行以上各个模块对应的操作。该处理器可以为中央处理单元(CPU)、微处理器、单片机等。
上述业务功能实现的装置可以实现为一种计算机可读指令的形式,计算机可读指令可以在如图1所示的计算机设备上运行。
本申请实施例提出了一种计算机设备,计算机设备的内部结构可对应于如图1所示的结构,该计算机设备为终端,其包括一系列存储于存储器上的计算机可读指令,当该计算机可读指令被处理器执行时,可以实现本申请各实施例提出的业务功能实现的方法。
一种计算机设备,包括存储器和一个或多个处理器,存储器中存储有计算机可读指令,计算机可读指令被处理器执行时实现本申请任意一个实施例中提供的业务功能实现的方法的步骤。
一个或多个存储有计算机可读指令的非易失性存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器实现本申请任意一个实施例中提供的业务功能实 现的方法的步骤。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,该计算机可读指令可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,前述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random Access Memory,RAM)等。
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (20)

  1. 一种业务功能实现的方法,包括:
    通过目标业务功能对应的功能节点接收对所述目标业务功能的操作请求;
    根据所述操作请求从模型表中查找与所述功能节点对应的功能标识;
    从公用属性表中查找与所述功能标识对应的属性信息,所述属性信息包括属性名称;
    根据所述属性名称对应的属性编号确定与所述属性名称对应的页面位置信息;
    根据所述页面位置信息将所述属性名称加载到与所述模型表对应的公用页面,并在预设的页面位置展示与所述功能标识关联的功能按钮;及
    通过与所述功能按钮进行交互完成对相应的目标业务数据的增删改查操作。
  2. 根据权利要求1所述的方法,其特征在于,所述功能按钮包括增加和查询按钮;
    所述通过与所述功能按钮进行交互完成对相应的目标业务数据的增删改查操作,包括:
    通过与所述查询按钮进行交互从与所述功能标识对应的数据表中获取目标业务数据进行展示,并在预设的页面位置展示相应的修改和/或删除按钮;
    通过与所述修改或删除按钮进行交互完成对所述目标业务数据的修改或删除操作;及
    通过与所述增加按钮进行交互将与所述属性名称对应的展示框加载到公用页面,通过所述展示框接收相应的增加操作。
  3. 根据权利要求2所述的方法,其特征在于,所述通过与所述查询按钮进行交互从与所述功能标识对应的数据表中获取目标业务数据进行展示,并在预设的页面位置展示相应的修改和/或删除按钮,包括:
    通过所述查询按钮接收查询请求,根据所述查询请求获取具有查询属性的属性信息;及
    接收与所述具有查询属性的属性信息对应的查询条件,根据所述查询条件从与功能标识对应的数据表中获取与查询条件匹配的目标业务数据进行展示,并在预设的页面位置展示相应的修改和/或删除按钮。
  4. 根据权利要求1所述的方法,其特征在于,在所述根据所述属性名称对应的属性编号确定与所述属性名称对应的页面位置信息之前,还包括:
    获取与所述功能标识对应的页面布局规则;
    所述根据所述属性名称对应的属性编号确定与所述属性名称对应的页面位置信息包括:及
    根据所述属性名称对应的属性编号和相应的页面布局规则确定与所述属性名称对应的页面位置信息。
  5. 根据权利要求1所述的方法,其特征在于,在通过目标业务功能对应的功能节点接收对所述目标业务功能的操作请求之前,还包括:
    接收用户的登录请求,提取用户岗位信息;
    从公用权限属性表中获取与所述用户岗位信息对应的权限;及
    根据所述权限将对应的可供操作的业务功能节点进行展示,每个业务功能节点对应一个业务功能。
  6. 一种业务功能实现的装置,包括:
    接收模块,用于通过目标业务功能对应的功能节点接收对所述目标业务功能的操作请求;
    功能标识查找模块,用于根据所述操作请求从模型表中查找与所述功能节点对应的功能标识;
    属性信息查找模块,用于从公用属性表中查找与所述功能标识对应的属性信息,所述属性信息包括属性名称;
    确定模块,用于根据所述属性名称对应的属性编号确定与所述属性名称对应的页面位置信息;
    加载展示模块,用于根据所述页面位置信息将所述属性名称加载到与所述模型表对应的公用页面,并在预设的页面位置展示与所述功能标识关联的功能按钮;及
    交互模块,用于通过与所述功能按钮进行交互完成对相应的目标业务数据的增删改查操作。
  7. 根据权利要求6所述的装置,其特征在于,所述功能按钮包括增加和查询按钮;交互模块包括:
    查询模块,用于通过与所述查询按钮进行交互从与所述功能标识对应的数据表中获取目标业务数据进行展示,并在预设的页面位置展示相应的修改和/或删除按钮;
    修改模块,用于通过与所述修改按钮进行交互完成对所述目标业务数据的修改操作;
    删除模块,用于通过与所述删除按钮进行交互完成对所述目标业务数据的删除操作;及
    增加模块,用于通过与所述增加按钮进行交互将与所述属性名称对应的展示框加载到公用页面,通过所述展示框接收相应的增加操作。
  8. 根据权利要求7所述的装置,其特征在于,所述查询模块还用于通过所述查询按钮接收查询请求,根据所述查询请求获取具有查询属性的属性信息,接收与所述具有查询属性的属性信息对应的查询条件,根据所述查询条件从与功能标识对应的数据表中获取与查询条件匹配的目标业务数据进行展示,并在预设的页面位置展示相应的修改和/或删除按钮。
  9. 根据权利要求6所述的装置,其特征在于,所述装置还包括:
    布局规则获取模块,用于获取与所述功能标识对应的页面布局规则;及
    所述确定模块还用于根据所述属性名称对应的属性编号和相应的页面布局规则确定 与所述属性名称对应的页面位置信息。
  10. 根据权利要求6所述的装置,其特征在于,所述装置还包括:
    提取模块,用于接收用户的登录请求,提取用户岗位信息;
    权限获取模块,用于从公用权限属性表中获取与所述用户岗位信息对应的权限;及
    功能节点展示模块,用于根据所述权限将对应的可供操作的业务功能节点进行展示,每个业务功能节点对应一个业务功能。
  11. 一种计算机设备,包括存储器及一个或多个处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:
    通过目标业务功能对应的功能节点接收对所述目标业务功能的操作请求;
    根据所述操作请求从模型表中查找与所述功能节点对应的功能标识;
    从公用属性表中查找与所述功能标识对应的属性信息,所述属性信息包括属性名称;
    根据所述属性名称对应的属性编号确定与所述属性名称对应的页面位置信息;
    根据所述页面位置信息将所述属性名称加载到与所述模型表对应的公用页面,并在预设的页面位置展示与所述功能标识关联的功能按钮;及
    通过与所述功能按钮进行交互完成对相应的目标业务数据的增删改查操作。
  12. 根据权利要求11所述的计算机设备,其特征在于,所述功能按钮包括增加和查询按钮;
    所述通过与所述功能按钮进行交互完成对相应的目标业务数据的增删改查操作,包括:
    通过与所述查询按钮进行交互从与所述功能标识对应的数据表中获取目标业务数据进行展示,并在预设的页面位置展示相应的修改和/或删除按钮;
    通过与所述修改或删除按钮进行交互完成对所述目标业务数据的修改或删除操作;及
    通过与所述增加按钮进行交互将与所述属性名称对应的展示框加载到公用页面,通过所述展示框接收相应的增加操作。
  13. 根据权利要求12所述的计算机设备,其特征在于,所述通过与所述查询按钮进行交互从与所述功能标识对应的数据表中获取目标业务数据进行展示,并在预设的页面位置展示相应的修改和/或删除按钮,包括:
    通过所述查询按钮接收查询请求,根据所述查询请求获取具有查询属性的属性信息;及
    接收与所述具有查询属性的属性信息对应的查询条件,根据所述查询条件从与功能标识对应的数据表中获取与查询条件匹配的目标业务数据进行展示,并在预设的页面位置展示相应的修改和/或删除按钮。
  14. 根据权利要求11所述的计算机设备,其特征在于,在所述根据所述属性名称对 应的属性编号确定与所述属性名称对应的页面位置信息之前,所述处理器还用于执行以下步骤:
    获取与所述功能标识对应的页面布局规则;
    所述根据所述属性名称对应的属性编号确定与所述属性名称对应的页面位置信息包括:及
    根据所述属性名称对应的属性编号和相应的页面布局规则确定与所述属性名称对应的页面位置信息。
  15. 根据权利要求11所述的计算机设备,其特征在于,在通过目标业务功能对应的功能节点接收对所述目标业务功能的操作请求之前,所述处理器还用于执行以下步骤:
    接收用户的登录请求,提取用户岗位信息;
    从公用权限属性表中获取与所述用户岗位信息对应的权限;及
    根据所述权限将对应的可供操作的业务功能节点进行展示,每个业务功能节点对应一个业务功能。
  16. 一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:
    通过目标业务功能对应的功能节点接收对所述目标业务功能的操作请求;
    根据所述操作请求从模型表中查找与所述功能节点对应的功能标识;
    从公用属性表中查找与所述功能标识对应的属性信息,所述属性信息包括属性名称;
    根据所述属性名称对应的属性编号确定与所述属性名称对应的页面位置信息;
    根据所述页面位置信息将所述属性名称加载到与所述模型表对应的公用页面,并在预设的页面位置展示与所述功能标识关联的功能按钮;及
    通过与所述功能按钮进行交互完成对相应的目标业务数据的增删改查操作。
  17. 根据权利要求16所述的存储介质,其特征在于,所述功能按钮包括增加和查询按钮;
    所述通过与所述功能按钮进行交互完成对相应的目标业务数据的增删改查操作,包括:
    通过与所述查询按钮进行交互从与所述功能标识对应的数据表中获取目标业务数据进行展示,并在预设的页面位置展示相应的修改和/或删除按钮;
    通过与所述修改或删除按钮进行交互完成对所述目标业务数据的修改或删除操作;及
    通过与所述增加按钮进行交互将与所述属性名称对应的展示框加载到公用页面,通过所述展示框接收相应的增加操作。
  18. 根据权利要求17所述的存储介质,其特征在于,所述通过与所述查询按钮进行交互从与所述功能标识对应的数据表中获取目标业务数据进行展示,并在预设的页面位置展示相应的修改和/或删除按钮,包括:
    通过所述查询按钮接收查询请求,根据所述查询请求获取具有查询属性的属性信息;及
    接收与所述具有查询属性的属性信息对应的查询条件,根据所述查询条件从与功能标识对应的数据表中获取与查询条件匹配的目标业务数据进行展示,并在预设的页面位置展示相应的修改和/或删除按钮。
  19. 根据权利要求16所述的存储介质,其特征在于,在所述根据所述属性名称对应的属性编号确定与所述属性名称对应的页面位置信息之前,所述处理器还用于执行以下步骤:
    获取与所述功能标识对应的页面布局规则;
    所述根据所述属性名称对应的属性编号确定与所述属性名称对应的页面位置信息包括:及
    根据所述属性名称对应的属性编号和相应的页面布局规则确定与所述属性名称对应的页面位置信息。
  20. 根据权利要求16所述的存储介质,其特征在于,在通过目标业务功能对应的功能节点接收对所述目标业务功能的操作请求之前,所述处理器还用于执行以下步骤:
    接收用户的登录请求,提取用户岗位信息;
    从公用权限属性表中获取与所述用户岗位信息对应的权限;及
    根据所述权限将对应的可供操作的业务功能节点进行展示,每个业务功能节点对应一个业务功能。
PCT/CN2018/086242 2017-07-25 2018-05-10 业务功能实现的方法、装置、计算机设备及存储介质 WO2019019769A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710614408.1 2017-07-25
CN201710614408.1A CN107918548A (zh) 2017-07-25 2017-07-25 业务功能实现的方法、装置、计算机设备及存储介质

Publications (1)

Publication Number Publication Date
WO2019019769A1 true WO2019019769A1 (zh) 2019-01-31

Family

ID=61898673

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/086242 WO2019019769A1 (zh) 2017-07-25 2018-05-10 业务功能实现的方法、装置、计算机设备及存储介质

Country Status (2)

Country Link
CN (1) CN107918548A (zh)
WO (1) WO2019019769A1 (zh)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107918548A (zh) * 2017-07-25 2018-04-17 平安科技(深圳)有限公司 业务功能实现的方法、装置、计算机设备及存储介质
CN108595924B (zh) * 2018-04-28 2022-08-02 平安科技(深圳)有限公司 一种业务权限管理方法、装置、计算机设备及存储介质
CN109101232B (zh) * 2018-06-08 2024-03-12 中国平安人寿保险股份有限公司 一种产品开发的方法、装置、计算机设备及存储介质
CN108846576B (zh) * 2018-06-14 2021-11-02 新奥(中国)燃气投资有限公司 一种预算编制方法和预算编制装置
CN109447411A (zh) * 2018-09-26 2019-03-08 平安普惠企业管理有限公司 业务流程控制方法、装置、计算机设备和存储介质
CN109766158A (zh) * 2018-12-27 2019-05-17 益萃网络科技(中国)有限公司 用户界面的展示方法、装置、计算机设备和存储介质
CN109871211B (zh) * 2019-01-28 2024-05-07 平安科技(深圳)有限公司 信息展示方法和装置
CN109858607A (zh) * 2019-03-08 2019-06-07 网宿科技股份有限公司 一种模型应用方法、管理方法、系统及服务器
CN110209378A (zh) * 2019-04-26 2019-09-06 平安科技(深圳)有限公司 页面生成方法、装置、终端及存储介质
CN110619096B (zh) * 2019-06-12 2022-08-23 北京无限光场科技有限公司 用于同步数据的方法和装置
CN111414405A (zh) * 2020-03-23 2020-07-14 北京同邦卓益科技有限公司 数据获取方法、装置及电子设备
CN111428430B (zh) * 2020-03-24 2023-11-03 广州视源电子科技股份有限公司 电路设计中的电路器件信息获取方法、装置、设备及介质
CN111460298A (zh) * 2020-03-31 2020-07-28 深圳市酷开网络科技有限公司 业务数据处理方法、装置、计算机设备和存储介质
CN111522616A (zh) * 2020-04-24 2020-08-11 北京思特奇信息技术股份有限公司 一种页面变化的方法和装置
CN111367446B (zh) * 2020-05-26 2020-09-25 太平金融科技服务(上海)有限公司 业务操作方法、装置、计算机设备和存储介质
CN114090846A (zh) * 2021-11-11 2022-02-25 北京中兵智航软件技术有限公司 业务资产展示方法、装置、存储介质及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1308854A1 (en) * 2000-07-07 2003-05-07 Sharp Kabushiki Kaisha Information providing apparatus
CN101299750A (zh) * 2007-04-30 2008-11-05 华为技术有限公司 一种实现业务管理的方法和设备
CN101609403A (zh) * 2009-07-29 2009-12-23 金蝶软件(中国)有限公司 一种页面布局动态切换方法及系统
CN103019693A (zh) * 2012-11-21 2013-04-03 用友软件股份有限公司 用户界面的生成系统和生成方法
CN107918548A (zh) * 2017-07-25 2018-04-17 平安科技(深圳)有限公司 业务功能实现的方法、装置、计算机设备及存储介质

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770359A (zh) * 2008-12-30 2010-07-07 华为技术有限公司 界面生成和获取数据进行存储的方法、装置和系统
CN102819423B (zh) * 2011-12-12 2016-01-20 金蝶软件(中国)有限公司 动态控制单据界面展示的方法及装置
CN106227785A (zh) * 2016-07-15 2016-12-14 杭州数梦工场科技有限公司 一种页面对象的显示方法和装置
CN106528129B (zh) * 2016-10-27 2019-06-21 南京南瑞继保电气有限公司 一种Web应用界面生成系统及方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1308854A1 (en) * 2000-07-07 2003-05-07 Sharp Kabushiki Kaisha Information providing apparatus
CN101299750A (zh) * 2007-04-30 2008-11-05 华为技术有限公司 一种实现业务管理的方法和设备
CN101609403A (zh) * 2009-07-29 2009-12-23 金蝶软件(中国)有限公司 一种页面布局动态切换方法及系统
CN103019693A (zh) * 2012-11-21 2013-04-03 用友软件股份有限公司 用户界面的生成系统和生成方法
CN107918548A (zh) * 2017-07-25 2018-04-17 平安科技(深圳)有限公司 业务功能实现的方法、装置、计算机设备及存储介质

Also Published As

Publication number Publication date
CN107918548A (zh) 2018-04-17

Similar Documents

Publication Publication Date Title
WO2019019769A1 (zh) 业务功能实现的方法、装置、计算机设备及存储介质
US11269823B1 (en) Migrating data between databases
US11042662B2 (en) Data aggregation system for enabling query operations on restricted data that originates from multiple independent multiple sources
WO2019051946A1 (zh) 节点任务数据显示方法、装置、存储介质和计算机设备
CN106970936A (zh) 数据处理方法及装置、数据查询方法及装置
US10235476B2 (en) Matching objects using match rules and lookup key
WO2019109518A1 (zh) 一种数据列表的上传方法及其终端
WO2019134340A1 (zh) 薪资计算方法、应用服务器及计算机可读存储介质
US20130198217A1 (en) Techniques for testing rule-based query transformation and generation
US10803031B1 (en) Migrating data between databases
WO2019056494A1 (zh) 图表生成方法、装置、计算机设备和存储介质
WO2021217846A1 (zh) 接口数据处理方法、装置、计算机设备和存储介质
CN107515879B (zh) 用于文档检索的方法和电子设备
US20130275369A1 (en) Data record collapse and split functionality
WO2019153555A1 (zh) Er关系生成方法、装置、计算机设备及存储介质
US20170097742A1 (en) Generating dashboards using a mobile computing device
US20130346405A1 (en) Systems and methods for managing data items using structured tags
US10802670B2 (en) User interface for polymorphic lookup
US9817891B1 (en) System, method, and computer program for creating metadata-based search queries
JP2015184991A (ja) リソース管理装置、リソース管理方法およびリソース管理プログラム
US10764204B2 (en) Cloud extensibility framework
US10803465B2 (en) Enabling hierarchical structure representation of entities
US11120015B2 (en) Importing data using a mobile computing device
US20140201721A1 (en) Framework and repository for analysis of software products
WO2020233093A1 (zh) 关联图谱生成方法、装置、计算机设备和存储介质

Legal Events

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

Ref document number: 18837277

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18837277

Country of ref document: EP

Kind code of ref document: A1

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

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

122 Ep: pct application non-entry in european phase

Ref document number: 18837277

Country of ref document: EP

Kind code of ref document: A1