CN105653528B - Service field multi-state display method and device - Google Patents

Service field multi-state display method and device Download PDF

Info

Publication number
CN105653528B
CN105653528B CN201410631305.2A CN201410631305A CN105653528B CN 105653528 B CN105653528 B CN 105653528B CN 201410631305 A CN201410631305 A CN 201410631305A CN 105653528 B CN105653528 B CN 105653528B
Authority
CN
China
Prior art keywords
field
service
target
index field
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410631305.2A
Other languages
Chinese (zh)
Other versions
CN105653528A (en
Inventor
李晓庆
江振东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qualcomm Inc
Original Assignee
Qualcomm Inc
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 Qualcomm Inc filed Critical Qualcomm Inc
Priority to CN201410631305.2A priority Critical patent/CN105653528B/en
Publication of CN105653528A publication Critical patent/CN105653528A/en
Application granted granted Critical
Publication of CN105653528B publication Critical patent/CN105653528B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a method and a device for multi-state display of a service field, wherein the method comprises the following steps: acquiring service data to be stored in a database; determining a target index field corresponding to the service data according to the service data; determining a target back-end field corresponding to the target index field by using a corresponding relation between a preset index field and the back-end field; abstracting the target back-end field by using a front-end field, extracting a target from the service data, and storing the target in the front-end field; when a service request is received, a target back-end field corresponding to the service request is obtained from the database according to the service request and is output and displayed, and the problems that when the service needs to be expanded in the prior art, an ERP system developer needs to modify and package controls of a combined field again, the field type cannot be adjusted flexibly, and the expansibility is poor are solved.

Description

Service field multi-state display method and device
Technical Field
The invention relates to the technical field of client development of enterprise quality management, in particular to a method and a device for multi-state display of business fields.
Background
With the popularization of mobile intelligent devices, a mobile Enterprise Resource Planning (ERP) becomes a management platform for providing decision-making operation means for decision-making layers and employees, and can redefine various services and their interrelations, and change supply and demand relationships on a supply chain in a flexible manner in management and organization, so as to achieve the purposes of accurately, timely and completely mastering service information, making correct decisions and taking corresponding measures in real time.
In a specific service scenario, service fields need to show different forms according to actual situations, and cannot be only single-type fields such as service data, quantity, text and the like, for example, when an analysis method is quantitative analysis, a quality index field is shown as quantity, when the analysis method is qualitative analysis, the quality index field is shown as service data, and when the analysis method is other analysis, the quality index field is shown as text, generally, the service scenario is split by using the existing fields of specific types, and each corresponding analysis method is realized in an ERP system by customizing a set of solution.
In the prior art, a package control customized by a software manufacturer is generally adopted to develop a combined field suitable for polymorphic display to support complex business field application, but because the combined field is customized and packaged by an ERP system developer according to business requirements, when the business needs to be expanded, the ERP system developer must revise and package the control of the combined field again, and cannot flexibly adjust the field type of each field in the combined field, so that the combined field cannot be edited in real time according to the continuously changing business requirements, and the expansibility is poor.
Disclosure of Invention
The embodiment of the invention provides a method and a device for multi-state display of a service field, which can solve the problems that when the service needs to be expanded in the prior art, an ERP system developer needs to modify and package controls of a combined field again, the field type cannot be flexibly adjusted, and the expansibility is poor.
The first aspect of the embodiments of the present invention provides a method for multi-state display of a service field, where the method includes:
acquiring service data to be stored in a database;
determining a target index field corresponding to the service data according to the service data;
determining a target back-end field corresponding to the target index field by using a corresponding relation between a preset index field and the back-end field;
abstracting the target back-end field by using a front-end field, extracting a target from the service data, and storing the target in the front-end field;
and when a service request is received, acquiring a target back-end field corresponding to the service request from the database according to the service request, and outputting and displaying the target back-end field.
With reference to the first aspect, in a first implementation manner of the first aspect in this embodiment of the present invention, the correspondence between the index field and the backend field is a correspondence between identifiers of the index field and the backend field, and the determining, according to the service data, a target index field corresponding to the service data specifically includes:
determining the data type of the service data according to the service data;
determining a target index field corresponding to the service data according to the corresponding relation between the data type and the index field;
further, the determining, by using a preset correspondence between the index field and the backend field, the target backend field corresponding to the target index field specifically includes:
and determining a target back-end field corresponding to the target index field according to the corresponding relation between the index field and the identifier of the back-end field.
With reference to the first aspect and the first implementation manner of the first aspect, in a second implementation manner of the first aspect in this embodiment of the present invention, the back-end field includes service data to be displayed, a service number, and a service text, the corresponding relationship is stored in the index field, and determining, according to the corresponding relationship between the data type and the index field, a target index field corresponding to the service data specifically includes:
when the data type is determined to be the service data, determining a service data index field corresponding to the service data according to the corresponding relation between the data type and the index field;
when the data type is determined to be the service quantity, determining a service quantity index field corresponding to the service data according to the corresponding relation between the data type and the index field;
and when the data type is determined to be the service text, determining a service text index field corresponding to the service data according to the corresponding relation between the data type and the index field.
With reference to the first aspect and the second implementation manner of the first aspect, in a third implementation manner of the first aspect in this embodiment of the present invention, when a service request is received, acquiring, according to the service request, a target backend field corresponding to the service request from the database, and outputting and displaying the target backend field specifically includes:
when the service request is a quantitative analysis request, the quality index field is the service quantity, the index field is determined to be a quantity index field, the quantity index field points to the service quantity of the target back-end field, and a check value, a target value, an upper limit value, a lower limit value, an upper deviation and a lower deviation which correspond to the service request in the target back-end field are output and displayed;
when the service request is a qualitative analysis request, the quality index field is service data, the index field is determined to be a data index field, the data index field points to the service data of the target back-end field, and a check value, a target value, an upper limit value, a lower limit value, an upper deviation and a lower deviation which correspond to the service request in the target back-end field are output and displayed;
and when the service request is an uncertainty analysis request, the quality index field is a service text, the index field is determined to be a text index field, the text index field points to the service text of the target rear-end field, and a check value, a target value, an upper limit value, a lower limit value, an upper deviation and a lower deviation which correspond to the service request in the target rear-end field are output and displayed.
With reference to the first aspect and the first to third implementation manners of the first aspect, in a fourth implementation manner of the first aspect in this embodiment of the present invention, the determining, according to the correspondence between the index field and the identifier of the backend field, the target backend field corresponding to the target index field specifically includes:
when the identifier of the back-end field is determined to be a service data identifier FBackBD, determining the target back-end field to be service data;
when the identifier of the back-end field is determined to be a service quantity identifier FBackQty, determining the target back-end field to be the service quantity;
and when the identifier of the back-end field is determined to be a service text identifier FBackText, determining the target back-end field to be a service text.
With reference to the first aspect and the first to third implementation manners of the first aspect, in a fifth implementation manner of the first aspect in this embodiment of the present invention, the abstracting the target backend field by using the front-end field specifically includes:
acquiring the category information of the target back-end field;
and respectively dividing the same category information into a category, and storing the obtained category in the front-end field.
A second aspect of the present invention provides an apparatus for performing multi-state presentation of a service field by using the method of the first aspect, where the apparatus includes:
the first acquisition unit is used for acquiring the service data to be stored in the database;
a first determining unit, configured to determine, according to the service data, a target index field corresponding to the service data;
the second determining unit is used for determining a target back-end field corresponding to the target index field by using a preset corresponding relation between the index field and the back-end field;
the execution unit is used for abstracting the target back-end field by using a front-end field, extracting a target from the service data and storing the target in the front-end field;
the second acquisition unit is used for acquiring a target back-end field corresponding to a service request from the database according to the service request when the service request is received;
and the output unit is used for outputting and displaying the target back-end field corresponding to the service request.
With reference to the second aspect, in a first implementation manner of the second aspect in this embodiment of the present invention, the correspondence between the index field and the backend field is a correspondence between identifiers of the index field and the backend field, where the first determining unit includes:
the first determining submodule is used for determining the data type of the service data according to the service data;
the second determining submodule is used for determining a target index field corresponding to the service data according to the corresponding relation between the data type and the index field;
further, the second determining unit is specifically configured to determine, according to the correspondence between the index field and the identifier of the back-end field, a target back-end field corresponding to the target index field.
With reference to the second aspect and the first implementation manner of the second aspect, in a second implementation manner of the second aspect in this embodiment of the present invention, the back-end field includes service data to be displayed, a service quantity, and a service text, the corresponding relationship is stored in the index field, and the second determining sub-module is specifically configured to:
when the data type is determined to be the service data, determining a service data index field corresponding to the service data according to the corresponding relation between the data type and the index field;
when the data type is determined to be the service quantity, determining a service quantity index field corresponding to the service data according to the corresponding relation between the data type and the index field;
and when the data type is determined to be the service text, determining a service text index field corresponding to the service data according to the corresponding relation between the data type and the index field.
With reference to the second aspect and the first to second implementation manners of the second aspect, in a third implementation manner of the second aspect in the embodiment of the present invention, the second obtaining unit specifically includes:
a first obtaining submodule, configured to, when the service request is a quantitative analysis request, determine that a quality index field is a service quantity, determine that an index field is a quantity index field, where the quantity index field points to the service quantity of the target backend field, and obtain, from the target backend field, a check value, a target value, an upper limit value, a lower limit value, an upper deviation, and a lower deviation corresponding to the service request;
a second obtaining submodule, configured to, when the service request is a qualitative analysis request, determine that the quality indicator field is service data, determine that the index field is a data index field, point to the service data of the target backend field in the data index field, and obtain a check value, a target value, an upper limit value, a lower limit value, an upper deviation, and a lower deviation corresponding to the service request from the target backend field;
and a third obtaining sub-module, configured to, when the service request is an uncertainty analysis request, determine that the index field is a text index field, where the text index field points to the service text of the target backend field, and obtain, from the target backend field, a check value, a target value, an upper limit value, a lower limit value, an upper deviation, and a lower deviation that correspond to the service request.
In the embodiment of the invention, the target index field corresponding to the service data is determined according to the acquired service data, the target rear-end field corresponding to the service data to be stored is determined by utilizing the corresponding relation between the index field and the rear-end field, the pertinence is stronger, the service requirement is taken as the guidance, the field type can be modified in real time according to the service requirement, then the front-end field is utilized to abstract the target rear-end field, the target is extracted from the service data and stored in the front-end field, when the service request is received, the target rear-end field corresponding to the service request is acquired from a database according to the service request and is output and displayed, a secondary service developer does not need to modify and package the control of the combined field again, the field type can be flexibly adjusted, and the expansibility is enhanced.
Drawings
Fig. 1 is a schematic diagram of an embodiment of a method for multi-state display of a service field in this embodiment;
fig. 2 is a schematic structural diagram of an apparatus for multi-state display of service fields in this embodiment;
fig. 3 is a schematic structural diagram of a first determining unit in the device for multi-state display of service fields in this embodiment;
fig. 4 is a schematic structural diagram of a second obtaining unit in the device for multi-state display of service fields in this embodiment.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, or device that comprises a list of steps or modules is not necessarily limited to those steps or elements explicitly listed, but may include other steps or modules not expressly listed or inherent to such process, apparatus, or device.
The embodiment of the invention provides a method and a device for multi-state display of a service field, which are used for a front-end service display system and can solve the problems that when the service needs to be expanded in the prior art, an ERP (enterprise resource planning) system developer needs to modify and package controls of a combined field again, the field type cannot be flexibly adjusted, and the expansibility is poor.
The combined field in the combined field includes service data, service quantity and service text, and may also include other fields of similar types, where the combined field type may be flexibly adjusted according to changes in service needs, and the specific text is not limited.
It should be noted that the combined field may be encapsulated or not encapsulated during the design of an electronic integrated drive electronics (ide) (integrated drive electronics), and the specific implementation manner is determined according to the customer requirements. In addition, when the analysis method is quantitative analysis, the quality index field is displayed as the service quantity, the corresponding quality index fields such as the inspection value, the target value, the upper limit value, the lower limit value and the like are changed into numerical value types, and only numbers can be input; when the analysis method is qualitative analysis, the quality index field is shown as business data, and when the analysis method is other analysis, the quality index field is shown as business text, and the rest are analogized in turn.
Each type of back-end field has a corresponding identifier, for example, when the back-end field is service data, the identifier of the back-end field is service data identifier FBackBD, and so on.
Referring to fig. 1, a method for multi-state display of a service field includes:
101. acquiring service data to be stored in a database;
102. determining a target index field corresponding to the service data according to the service data;
wherein the determining, according to the service data, a target index field corresponding to the service data specifically includes:
determining the data type of the service data according to the service data;
determining a target index field corresponding to the service data according to the corresponding relation between the data type and the index field;
herein, the back-end field includes service data to be displayed, a service number and a service text, the corresponding relationship is stored in the index field, and determining the target index field may also be implemented in the following manner:
when the data type is determined to be the service data, determining a service data index field corresponding to the service data according to the corresponding relation between the data type and the index field;
when the data type is determined to be the service quantity, determining a service quantity index field corresponding to the service data according to the corresponding relation between the data type and the index field;
and when the data type is determined to be the service text, determining a service text index field corresponding to the service data according to the corresponding relation between the data type and the index field.
103. Determining a target back-end field corresponding to the target index field by using a corresponding relation between a preset index field and the back-end field;
and determining a target back-end field corresponding to the target index field according to the corresponding relation between the index field and the identifier of the back-end field.
In the editing interface of the back-end field, the attributes such as display/hiding/position can be controlled according to the actual situation of the service, so that the field type can be flexibly changed in the user interface, for example, when the value needs to be displayed, the service data and other types of fields are hidden, and the like).
At the same time, the content of the index field (not visible on the interface) is changed accordingly to correctly indicate the back-end field currently being presented.
When the service developer finishes editing, namely saving the data point, the front-end field abstracts the rear-end field, extracts corresponding content from the rear-end field according to the index field and saves the content in the front-end field, and meanwhile, the rear-end field is updated and saved.
104. Abstracting the target back-end field by using a front-end field, extracting a target from the service data, and storing the target in the front-end field;
wherein, the abstract processing is concretely realized as follows:
acquiring the category information of the target back-end field;
respectively dividing the same category information into a category, and storing the obtained category in the front-end field;
that is, abstraction is to represent the appearance of data and program by its semantics, but hide its implementation details, and can achieve the purpose of reducing the complexity of program. For example, the "person" may be simulated by a program, and the movement of the person such as diet, thinking, and movement may be abstracted to the movement of the person.
In addition, when the Integrated Drive Electronics (IDE) is designed, the target index field, the target back-end field, and the target front-end field may be encapsulated and combined into the target service field, it should be noted that the field types participating in the combination may be flexibly adjusted according to the change of the service requirement, and the system provider is not required to encapsulate the control on the code level.
105. And when a service request is received, acquiring a target back-end field corresponding to the service request from the database according to the service request, and outputting and displaying the target back-end field.
The specific implementation manner of acquiring the target back-end field is as follows:
when the service request is a quantitative analysis request, the quality index field is the service quantity, the index field is determined to be a quantity index field, the quantity index field points to the service quantity of the target back-end field, and a check value, a target value, an upper limit value, a lower limit value, an upper deviation and a lower deviation which correspond to the service request in the target back-end field are output and displayed;
when the service request is a qualitative analysis request, the quality index field is service data, the index field is determined to be a data index field, the data index field points to the service data of the target back-end field, and a check value, a target value, an upper limit value, a lower limit value, an upper deviation and a lower deviation which correspond to the service request in the target back-end field are output and displayed;
and when the service request is an uncertainty analysis request, the quality index field is a service text, the index field is determined to be a text index field, the text index field points to the service text of the target rear-end field, and a check value, a target value, an upper limit value, a lower limit value, an upper deviation and a lower deviation which correspond to the service request in the target rear-end field are output and displayed.
Specifically, determining the target backend field according to the correspondence between the index field and the identifier of the backend field may further include:
when the identifier of the back-end field is determined to be a service data identifier FBackBD, determining the target back-end field to be service data;
when the identifier of the back-end field is determined to be a service quantity identifier FBackQty, determining the target back-end field to be the service quantity;
and when the identifier of the back-end field is determined to be a service text identifier FBackText, determining the target back-end field to be a service text.
In the embodiment of the invention, the target index field corresponding to the service data is determined according to the acquired service data, the target back-end field corresponding to the service data to be stored is determined by utilizing the corresponding relation between the index field and the back-end field, the pertinence is stronger, the service requirement is taken as the guidance, and can modify the field type in real time according to the service requirement, and then abstract the target back-end field by using the front-end field, and extracts targets from the service data to be stored in the front-end field, and when a service request is received, the method obtains the target back-end field corresponding to the service request from the database according to the service request, and outputs and displays the target back-end field, thereby solving the problems that when the service needs to be expanded in the prior art, and the ERP system developer needs to modify and package the controls of the combined fields again, so that the field types can not be flexibly adjusted, and the expansibility is poor.
In the above, a detailed description is given to a method for displaying multiple service fields in an embodiment of the present invention, and a device for displaying multiple service fields in an embodiment of the present invention is described below, with reference to fig. 2 to 4, where the device for displaying multiple service fields in an embodiment of the present invention includes:
a first obtaining unit 201, configured to obtain service data to be stored in a database;
a first determining unit 202, configured to determine, according to the service data, a target index field corresponding to the service data;
a second determining unit 203, configured to determine, by using a preset corresponding relationship between an index field and a backend field, a target backend field corresponding to the target index field;
the execution unit 204 is configured to perform abstraction processing on the target back-end field by using a front-end field, extract a target from the service data, and store the target in the front-end field;
a second obtaining unit 205, configured to, when a service request is received, obtain, according to the service request, a target backend field corresponding to the service request from the database;
an output unit 206, configured to output and display the target backend field corresponding to the service request.
Optionally, the correspondence between the index field and the backend field is a correspondence between the index field and an identifier of the backend field, and the first determining unit 202 may include:
the first determining submodule 2021 is configured to determine a data type of the service data according to the service data;
the second determining submodule 2022 is configured to determine, according to the correspondence between the data type and the index field, a target index field corresponding to the service data;
further, the second determining unit 203 may be further configured to:
and determining a target back-end field corresponding to the target index field according to the corresponding relation between the index field and the identifier of the back-end field.
Optionally, the back-end field includes service data to be displayed, a service quantity and a service text, the corresponding relationship is stored in the index field, and the second determining sub-module 2022 is specifically configured to:
when the data type is determined to be the service data, determining a service data index field corresponding to the service data according to the corresponding relation between the data type and the index field;
when the data type is determined to be the service quantity, determining a service quantity index field corresponding to the service data according to the corresponding relation between the data type and the index field;
and when the data type is determined to be the service text, determining a service text index field corresponding to the service data according to the corresponding relation between the data type and the index field.
Optionally, the second obtaining unit 205 may include:
a first obtaining sub-module 2051, configured to, when the service request is a quantitative analysis request, determine that the index field is a quantity index field, where the quantity index field points to the service quantity of the target backend field, and obtain, from the target backend field, a check value, a target value, an upper limit value, a lower limit value, an upper deviation, and a lower deviation corresponding to the service request;
a second obtaining sub-module 2052, configured to, when the service request is a qualitative analysis request, determine that the quality indicator field is service data, determine that the index field is a data index field, where the data index field points to the service data of the target backend field, and obtain, from the target backend field, a check value, a target value, an upper limit, a lower limit, an upper deviation, and a lower deviation corresponding to the service request;
a third obtaining sub-module 2053, configured to, when the service request is an uncertainty analysis request, determine that the quality indicator field is a service text, determine that the index field is a text index field, where the text index field points to the service text of the target backend field, and obtain, from the target backend field, a check value, a target value, an upper limit, a lower limit, an upper deviation, and a lower deviation that correspond to the service request.
In the embodiment of the present invention, a first determining unit 202 determines a target index field corresponding to acquired service data according to the acquired service data, a second determining unit 203 determines a target back-end field corresponding to the service data to be stored by using a corresponding relationship between the index field and the back-end field, the pertinence is stronger, the service requirement is taken as a guide, and the field type can be modified in real time according to the service requirement, an executing unit 204 abstracts the target back-end field by using the front-end field, extracts a target from the service data and stores the target in the front-end field, a second obtaining unit 205 obtains the target back-end field corresponding to the service request from a database according to the service request after receiving the service request, an output unit 206 outputs and displays the target back-end field, and solves the problem that when the service needs to be expanded in the prior art, an ERP system developer needs to modify and package a control of a combined field again, the field type can not be flexibly adjusted, and the expansibility is poor.
The method and the device for displaying service field multiple states provided by the invention are described in detail, a specific example is applied in the text to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, 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 invention.

Claims (9)

1. A method for multi-state display of service fields, the method comprising:
acquiring service data to be stored in a database;
determining the data type of the service data according to the service data;
determining a target index field corresponding to the service data according to the corresponding relation between the data type and the index field;
determining a target back-end field corresponding to the target index field by using a preset corresponding relation between the index field and the back-end field;
acquiring the category information of the target back-end field, dividing the same category information into a category, storing the acquired category in a front-end field, extracting a target from the service data, and storing the target in the front-end field;
and when a service request is received, acquiring a target back-end field corresponding to the service request from the database according to the service request, and outputting and displaying the target back-end field.
2. The method according to claim 1, wherein the determining, by using a preset correspondence between the index field and the backend field, the target backend field corresponding to the target index field specifically includes:
and determining a target back-end field corresponding to the target index field according to the corresponding relation between the index field and the identifier of the back-end field.
3. The method according to claim 2, wherein the back-end field includes service data to be displayed, a service number, and a service text, the correspondence is stored in the index field, and the determining the target index field corresponding to the service data according to the correspondence between the data type and the index field specifically includes:
when the data type is determined to be the service data, determining a service data index field corresponding to the service data according to the corresponding relation between the data type and the index field;
when the data type is determined to be the service quantity, determining a service quantity index field corresponding to the service data according to the corresponding relation between the data type and the index field;
and when the data type is determined to be the service text, determining a service text index field corresponding to the service data according to the corresponding relation between the data type and the index field.
4. The method according to claim 3, wherein when receiving a service request, acquiring a target backend field corresponding to the service request from the database according to the service request, and outputting and displaying specifically comprises:
when the service request is a quantitative analysis request, the quality index field is the service quantity, the index field is determined to be a quantity index field, the quantity index field points to the service quantity of the target back-end field, and a check value, a target value, an upper limit value, a lower limit value, an upper deviation and a lower deviation which correspond to the service request in the target back-end field are output and displayed;
when the service request is a qualitative analysis request, the quality index field is service data, the index field is determined to be a data index field, the data index field points to the service data of the target back-end field, and a check value, a target value, an upper limit value, a lower limit value, an upper deviation and a lower deviation which correspond to the service request in the target back-end field are output and displayed;
and when the service request is an uncertainty analysis request, the quality index field is a service text, the index field is determined to be a text index field, the text index field points to the service text of the target rear-end field, and a check value, a target value, an upper limit value, a lower limit value, an upper deviation and a lower deviation which correspond to the service request in the target rear-end field are output and displayed.
5. The method according to any one of claims 2 to 4, wherein the determining, according to the correspondence between the index field and the identifier of the back-end field, the target back-end field corresponding to the target index field specifically includes:
when the identifier of the back-end field is determined to be a service data identifier FBackBD, determining the target back-end field to be service data;
when the identifier of the back-end field is determined to be a service quantity identifier FBackQty, determining the target back-end field to be the service quantity;
and when the identifier of the back-end field is determined to be a service text identifier FBackText, determining the target back-end field to be a service text.
6. An apparatus for polymorphic presentation of a service field using the method of claim 1, the apparatus comprising:
the first acquisition unit is used for acquiring the service data to be stored in the database;
the first determining unit comprises a first determining submodule, and the first determining submodule is used for determining the data type of the service data according to the service data;
the first determining unit comprises a second determining submodule, and the second determining submodule is used for determining a target index field corresponding to the service data according to the corresponding relation between the data type and the index field;
the second determining unit is used for determining a target back-end field corresponding to the target index field by using a preset corresponding relation between the index field and the back-end field;
the execution unit is used for acquiring the category information of the target back-end field, dividing the same category information into a category, storing the acquired category in the front-end field, extracting a target from the service data, and storing the target in the front-end field;
the second acquisition unit is used for acquiring a target back-end field corresponding to a service request from the database according to the service request when the service request is received;
and the output unit is used for outputting and displaying the target back-end field corresponding to the service request.
7. The apparatus of claim 6, wherein the index field to backend field correspondence is of an identity of the index field to the backend field,
the second determining unit is specifically configured to determine, according to the correspondence between the index field and the identifier of the back-end field, a target back-end field corresponding to the target index field.
8. The apparatus according to claim 7, wherein the back-end field includes service data, a service number, and a service text to be displayed, the correspondence is stored in the index field, and the second determining sub-module is specifically configured to:
when the data type is determined to be the service data, determining a service data index field corresponding to the service data according to the corresponding relation between the data type and the index field;
when the data type is determined to be the service quantity, determining a service quantity index field corresponding to the service data according to the corresponding relation between the data type and the index field;
and when the data type is determined to be the service text, determining a service text index field corresponding to the service data according to the corresponding relation between the data type and the index field.
9. The apparatus according to any one of claims 6 to 8, wherein the second obtaining unit specifically includes:
a first obtaining submodule, configured to, when the service request is a quantitative analysis request, determine that a quality index field is a service quantity, determine that an index field is a quantity index field, where the quantity index field points to the service quantity of the target backend field, and obtain, from the target backend field, a check value, a target value, an upper limit value, a lower limit value, an upper deviation, and a lower deviation corresponding to the service request;
a second obtaining submodule, configured to, when the service request is a qualitative analysis request, determine that the quality indicator field is service data, determine that the index field is a data index field, point to the service data of the target backend field in the data index field, and obtain a check value, a target value, an upper limit value, a lower limit value, an upper deviation, and a lower deviation corresponding to the service request from the target backend field;
and a third obtaining sub-module, configured to, when the service request is an uncertainty analysis request, determine that the index field is a text index field, where the text index field points to the service text of the target backend field, and obtain, from the target backend field, a check value, a target value, an upper limit value, a lower limit value, an upper deviation, and a lower deviation that correspond to the service request.
CN201410631305.2A 2014-11-11 2014-11-11 Service field multi-state display method and device Active CN105653528B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410631305.2A CN105653528B (en) 2014-11-11 2014-11-11 Service field multi-state display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410631305.2A CN105653528B (en) 2014-11-11 2014-11-11 Service field multi-state display method and device

Publications (2)

Publication Number Publication Date
CN105653528A CN105653528A (en) 2016-06-08
CN105653528B true CN105653528B (en) 2020-04-07

Family

ID=56482434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410631305.2A Active CN105653528B (en) 2014-11-11 2014-11-11 Service field multi-state display method and device

Country Status (1)

Country Link
CN (1) CN105653528B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107066411A (en) * 2017-04-13 2017-08-18 深圳市酷开网络科技有限公司 Data transmission method, device and computer-readable recording medium
CN108647283A (en) * 2018-05-04 2018-10-12 武汉灵动在线科技有限公司 A kind of configuration of game data is quick to be generated and analytic method
CN109189998A (en) * 2018-09-07 2019-01-11 国网陕西省电力公司物资公司 A kind of diversiform data methods of exhibiting of electricity provider service hall inquiry system
CN109739474B (en) * 2018-12-17 2022-05-10 广州华多网络科技有限公司 Service request processing method, device, equipment and medium
CN113641881A (en) * 2021-08-23 2021-11-12 北京字跳网络技术有限公司 Metadata display method, device, equipment and medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968414A (en) * 2011-08-31 2013-03-13 上海夏尔软件有限公司 Efficient receipt logging method based on different field types
US9298754B2 (en) * 2012-11-15 2016-03-29 Ecole Polytechnique Federale de Lausanne (EPFL) (027559) Query management system and engine allowing for efficient query execution on raw details
EP4224324A3 (en) * 2013-02-27 2023-09-27 Hitachi Vantara LLC Rain-based archival system with self-describing objects
US20140258212A1 (en) * 2013-03-06 2014-09-11 Sap Ag Dynamic in-memory database search
CN103902702B (en) * 2014-03-31 2017-11-28 北京皮尔布莱尼软件有限公司 A kind of data-storage system and storage method

Also Published As

Publication number Publication date
CN105653528A (en) 2016-06-08

Similar Documents

Publication Publication Date Title
CN105653528B (en) Service field multi-state display method and device
CN105487864B (en) The method and apparatus of Code automatic build
CN110088751B (en) Search results integrated with interactive dialog service interface
US9189377B1 (en) Automation testing using descriptive maps
CN105677353A (en) Feature extraction method and machine learning method and device thereof
CN106936871A (en) The method and device of showing interface data
CN111190598B (en) Gas turbine monitoring software picture configuration method based on control library drag-type development
US20130332212A1 (en) Methods and systems for developing an optimised operational system in a network
AU2019253844A1 (en) Interactive design and support of a reference architecture
CN111858371A (en) Software testing method, system, storage medium and computer equipment
CN108710571B (en) Method and device for generating automatic test code
CN110716853A (en) Test script recording method, application program testing method and related device
CN105608007B (en) Page model, user interface automated testing method and device
US20180024912A1 (en) Application Testing System and Method
CN109710528A (en) A kind of test script generation method, device, equipment and medium
CN107506190A (en) XML file amending method and device based on Spring frameworks
CN107179983A (en) The method of calibration and device of ui testing result
CN109118154A (en) schedule detection method, terminal and computer readable storage medium
US8375365B2 (en) Customization verification
CN112541692B (en) Scientific data management plan generation method and device
CN111984882A (en) Data processing method, system and equipment
US9611055B2 (en) Context based content display in a wearable device
CN105243100A (en) Map rendering method, and method and apparatus for providing rendering target information
CN113220561A (en) Test case management method, device, equipment and medium
Palmqvist et al. Concepts for digitalisation of assembly instructions for short takt times

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant