Data entry processing method and device, medium and electronic equipment

文档序号:1861317 发布日期:2021-11-19 浏览:25次 中文

阅读说明:本技术 数据录入处理方法、装置、介质及电子设备 (Data entry processing method and device, medium and electronic equipment ) 是由 孙瑞明 于 2021-09-06 设计创作,主要内容包括:本公开实施例提供了一种数据录入处理方法、装置、介质及电子设备,涉及计算机技术领域。该方法包括:确定待录入数据的各个待录入数据项,待录入数据项包括多个子数据项;确定待录入数据对应的已有数据,已有数据包括多个已有数据项,已有数据项包括多个子数据项;确定各个待录入数据项的多个子数据项与对应的已有数据项的多个子数据项是否存在相同的子数据项;若每个待录入数据项与对应的已有数据项均存在相同的子数据项,则确定待录入数据重复。根据本公开实施例的技术方案,能够支持多维多子因子的录入,提高了数据的录入效率以及去重效率。(The embodiment of the disclosure provides a data entry processing method, a data entry processing device, a data entry processing medium and electronic equipment, and relates to the technical field of computers. The method comprises the following steps: determining each data item to be entered of the data to be entered, wherein the data item to be entered comprises a plurality of subdata items; determining existing data corresponding to data to be input, wherein the existing data comprises a plurality of existing data items, and the existing data items comprise a plurality of subdata items; determining whether the plurality of sub data items of each data item to be recorded and the plurality of sub data items of the corresponding existing data items have the same sub data items or not; and if the same subdata items exist in each data item to be recorded and the corresponding existing data item, determining that the data to be recorded is repeated. According to the technical scheme of the embodiment of the disclosure, the entry of multi-dimensional multi-sub-factors can be supported, and the entry efficiency and the deduplication efficiency of data are improved.)

1. A data entry processing method is characterized by comprising the following steps:

determining each data item to be entered of data to be entered, wherein the data item to be entered comprises a plurality of subdata items;

determining existing data corresponding to the data to be input, wherein the existing data comprises a plurality of existing data items, and the existing data items comprise a plurality of subdata items;

determining whether the plurality of sub data items of each data item to be entered and the plurality of sub data items of the corresponding existing data items have the same sub data items or not;

and if the same subdata items exist in each data item to be recorded and the corresponding existing data item, determining that the data to be recorded is repeated.

2. The method of claim 1, wherein the determining whether the plurality of child data items of each to-be-entered data item and the corresponding plurality of child data items of the existing data item have the same child data item comprises:

forming a first subdata item set by the subdata items of the data items to be recorded;

forming a second sub data item set by the plurality of sub data items of the existing data items;

determining whether an intersection exists between a first sub data item set of a data item to be recorded and a second sub data item set of the existing data item;

if the same subdata items exist in each data item to be entered and the corresponding existing data item, determining that the data to be entered is repeated, wherein the method comprises the following steps:

and if the intersection exists between the first subdata item set of each data item to be recorded and the corresponding second subdata item set of the existing data item, determining that the data to be recorded is repeated.

3. The method of claim 2, wherein forming the plurality of child data items of each of the data items to be entered into a first set of child data items comprises:

converting the class object corresponding to the data to be input into a JSON object;

circularly traversing a plurality of data items to be input corresponding to the data to be input, and acquiring a plurality of corresponding subdata items from the JSON object according to the current data item key word;

and converting the acquired plurality of sub data items into a first sub data item set.

4. The method of claim 1, further comprising:

if the plurality of subdata items of at least one data item to be recorded and the plurality of subdata items of the corresponding existing data items do not have the same subdata items, the data to be recorded is saved.

5. The method according to claim 1, wherein the data to be entered is charging rule data to be entered, and the determining each data item to be entered of the data to be entered comprises:

determining each data item to be entered of charging rule data to be entered of a target service;

the determining of the existing data corresponding to the data to be entered includes:

and acquiring the existing charging rule data corresponding to the charging rule data to be input according to the service code of the target service.

6. The method of claim 5, further comprising:

if the charging rule of the target service changes, correspondingly increasing or decreasing the data items of the existing charging rule data; alternatively, the first and second electrodes may be,

and if the charging rule of the target service changes, deleting the existing charging rule data, and re-inputting the changed charging rule data.

7. The method according to any one of claims 1 to 6, wherein the data to be entered further includes a plurality of service factors to be entered corresponding to service data, and the determining that the data to be entered is repeated if each data item to be entered and the corresponding existing data item have the same sub data item includes:

determining whether the same business factor exists between each business factor to be recorded and the existing business factor of the corresponding existing data;

and if the same subdata items exist in each data item to be recorded and the corresponding existing data item, and at least one business factor to be recorded is the same as the corresponding existing business factor, determining that the data to be recorded is repeated.

8. A data entry processing device, comprising:

the data item determining module is used for determining each data item to be entered of data to be entered, and the data item to be entered comprises a plurality of subdata items;

the rule query module is used for determining existing data corresponding to the data to be input, wherein the existing data comprises a plurality of existing data items, and the existing data items comprise a plurality of subdata items;

the deduplication determining module is used for determining whether the plurality of sub data items of each to-be-entered data item and the plurality of sub data items of the corresponding existing data item have the same sub data item or not; and if the same subdata items exist in each data item to be recorded and the corresponding existing data item, determining that the data to be recorded is repeated.

9. A computer-readable medium, on which a computer program is stored, which program, when executed by a processor, carries out a data entry processing method as claimed in any one of claims 1 to 7.

10. An electronic device, comprising:

one or more processors;

storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement a data entry processing method as claimed in any one of claims 1 to 7.

Technical Field

The present disclosure relates to the field of computer technologies, and in particular, to a data entry processing method, a data entry processing apparatus, a computer-readable medium, and an electronic device.

Background

With the development of internet technology, more and more financial service products appear, and how to perform charging settlement on the financial service products becomes a focus of attention.

In the related technical scheme, in the settlement of financial services such as insurance service products, charging rule data is input through a settlement system management background, and the charging rule data comprises a fixed number of single charging sub-factors. However, when the sub-factors of the data of the plurality of charging rules are different and the charging values are the same, the data entry needs to be performed for a plurality of times, which reduces the data entry efficiency of the charging rules.

It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.

Disclosure of Invention

An object of the embodiments of the present disclosure is to provide a data entry processing method, a data entry processing apparatus, a computer readable medium, and an electronic device, so as to improve the data entry efficiency at least to a certain extent.

Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.

According to a first aspect of the embodiments of the present disclosure, there is provided a data entry processing method, including: determining each data item to be entered of data to be entered, wherein the data item to be entered comprises a plurality of subdata items; determining existing data corresponding to the data to be input, wherein the existing data comprises a plurality of existing data items, and the existing data items comprise a plurality of subdata items; determining whether the plurality of sub data items of each data item to be entered and the plurality of sub data items of the corresponding existing data items have the same sub data items or not; and if the same subdata items exist in each data item to be recorded and the corresponding existing data item, determining that the data to be recorded is repeated.

According to the first aspect, in some example embodiments, the determining whether the multiple sub data items of each to-be-entered data item and the multiple sub data items of the corresponding existing data item have the same sub data item includes: forming a first subdata item set by the subdata items of the data items to be recorded; forming a second sub data item set by the plurality of sub data items of the existing data items; determining whether an intersection exists between a first sub data item set of a data item to be recorded and a second sub data item set of the existing data item;

if the same subdata items exist in each data item to be entered and the corresponding existing data item, determining that the data to be entered is repeated, wherein the method comprises the following steps:

and if the intersection exists between the first subdata item set of each data item to be recorded and the corresponding second subdata item set of the existing data item, determining that the data to be recorded is repeated.

According to the first aspect, in some example embodiments, the forming a plurality of child data items of each data item to be entered into a first child data item set includes: converting the class object corresponding to the data to be input into a JSON object; circularly traversing a plurality of data items to be input corresponding to the data to be input, and acquiring a plurality of corresponding subdata items from the JSON object according to the current data item key word; and converting the acquired plurality of sub data items into a first sub data item set.

According to the first aspect, in some example embodiments, the method further comprises: if the plurality of subdata items of at least one data item to be recorded and the plurality of subdata items of the corresponding existing data items do not have the same subdata items, the data to be recorded is saved.

According to the first aspect, in some example embodiments, the data to be entered is charging rule data to be entered, and the determining each data item to be entered of the data to be entered includes: determining each data item to be entered of charging rule data to be entered of a target service;

the determining of the existing data corresponding to the data to be entered includes:

and acquiring the existing charging rule data corresponding to the charging rule data to be input according to the service code of the target service.

According to the first aspect, in some example embodiments, the method further comprises: if the data of the target service changes, correspondingly increasing or decreasing the data items of the existing charging rule data; or, if the charging rule of the target service changes, deleting the existing charging rule data, and re-inputting the changed charging rule data.

According to the first aspect, in some example embodiments, the data to be entered further includes a plurality of service factors to be entered corresponding to service data, and if each data item to be entered and the corresponding existing data item have the same child data item, determining that the data to be entered is repeated includes: determining whether the same business factor exists between each business factor to be recorded and the existing business factor of the corresponding existing data; and if the same subdata items exist in each data item to be recorded and the corresponding existing data item, and at least one business factor to be recorded is the same as the corresponding existing business factor, determining that the data to be recorded is repeated.

According to a second aspect of the embodiments of the present disclosure, there is provided a data entry processing apparatus, including: the data item determining module is used for determining each data item to be entered of data to be entered, and the data item to be entered comprises a plurality of subdata items; the rule query module is used for determining existing data corresponding to the data to be input, wherein the existing data comprises a plurality of existing data items, and the existing data items comprise a plurality of subdata items; the deduplication determining module is used for determining whether the plurality of sub data items of each to-be-entered data item and the plurality of sub data items of the corresponding existing data item have the same sub data item or not; and if the same subdata items exist in each data item to be recorded and the corresponding existing data item, determining that the data to be recorded is repeated.

According to a second aspect, in some example embodiments, the deduplication determination module comprises: a first set generating unit, configured to form a first sub data item set from the multiple sub data items of each to-be-entered data item; a second set generating unit, configured to form a second sub data item set from the sub data items of the existing data items; the intersection determining unit is used for determining whether an intersection exists between a first subdata item set of the data items to be recorded and a second subdata item set of the existing data items; and the repetition determining unit is used for determining that the data to be recorded are repeated if the intersection exists between the first subdata item set of each data item to be recorded and the corresponding second subdata item set of the existing data item.

According to the second aspect, in some example embodiments, the first set generation unit is further configured to: converting the class object corresponding to the data to be input into a JSON object; circularly traversing a plurality of data items to be input corresponding to the data to be input, and acquiring a plurality of corresponding subdata items from the JSON object according to the current data item key word; and converting the acquired plurality of sub data items into a first sub data item set.

According to a second aspect, in some example embodiments, the apparatus further comprises: and the storage module is used for storing the data to be recorded if the plurality of subdata items of at least one data item to be recorded and the plurality of subdata items of the corresponding existing data items do not have the same subdata items.

According to the second aspect, in some example embodiments, the data to be entered is charging rule data to be entered, and the data item determination module is further configured to: determining each data item to be entered of charging rule data to be entered of a target service;

the rule query module is further configured to: and acquiring the existing data corresponding to the charging rule data to be input according to the product code of the target insurance service.

According to a second aspect, in some example embodiments, the apparatus further comprises: a rule adjusting unit, configured to correspondingly increase or decrease data items of the existing charging rule data if the charging rule of the target service changes; alternatively, the first and second electrodes may be,

and the re-entry unit is used for deleting the existing charging rule data and re-entering the changed charging rule data if the charging rule of the target service changes.

According to the second aspect, in some example embodiments, the data to be logged further includes a plurality of traffic factors to be logged corresponding to traffic data, and the deduplication determination module is further configured to: determining whether the same business factor exists between each business factor to be recorded and the existing business factor of the corresponding existing data; and if the same subdata items exist in each data item to be recorded and the corresponding existing data item, and at least one business factor to be recorded is the same as the corresponding existing business factor, determining that the data to be recorded is repeated.

According to a third aspect of embodiments of the present disclosure, there is provided a computer-readable medium, on which a computer program is stored, which when executed by a processor, implements the data entry processing method as described in the first aspect of the embodiments above.

According to a fourth aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement a data entry processing method as described in the first aspect of the embodiments above.

The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:

in some embodiments of the present disclosure, on one hand, the data item to be entered includes a plurality of sub data items, which supports entry of multi-dimensional and multi-sub factors, and improves the entry efficiency of data; on the other hand, whether the plurality of sub data items of each data item to be recorded and the plurality of sub data items of the corresponding existing data items have the same sub data items is determined; if the same subdata items exist in each data item to be input and the corresponding existing data item, determining that the data to be input is repeated, and removing the duplicate in a multi-dimensional multi-sub-factor mode, so that the duplicate removal efficiency is improved; on the other hand, the data items or the sub-data items can be increased or decreased according to the service requirements, so that dynamic switching of the data items can be supported, and the service flexibility is enhanced.

It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty. In the drawings:

FIG. 1 shows a schematic diagram of an application scenario of a data entry processing method in an exemplary embodiment of the present disclosure;

FIG. 2 illustrates a flow diagram of a data entry processing method according to some example embodiments of the present disclosure;

FIG. 3 shows a schematic diagram of a data entry processing method according to further example embodiments of the present disclosure;

FIG. 4 shows a schematic structural diagram of a data entry processing device according to an embodiment of the present disclosure;

fig. 5 shows a schematic structural diagram of an electronic device in an exemplary embodiment of the present disclosure.

Detailed Description

Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.

Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the disclosure.

The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.

The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.

In order to clearly explain technical solutions in the embodiments of the present disclosure, before specifically developing and explaining the embodiments of the present disclosure, some terms applied in the embodiments are first described.

Hereinafter, a data entry processing method in an exemplary embodiment of the present disclosure will be described in detail with reference to the drawings.

Fig. 1 illustrates a schematic diagram of an application scenario provided in accordance with some embodiments of the present disclosure. The application scenario 100 includes a client 110 and a server 120. The client 110 is used for inputting the charging rule data of the insurance service product, and the server 120 is used for storing the charging rule data of the insurance service product, which is input by the client 110.

The terminal device 110 may be, for example, a mobile phone, a PC (Personal Computer), a tablet Computer, a laptop Computer, a car terminal, or the like. The server 120 may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center. Terminal device 110 and server 120 may communicate with each other via network 130. The Network 130 may be a wired Network or a wireless Network, and the Network 130 may be a PSTN (Public Switched Telephone Network) or the internet.

It should be noted that, although the insurance business product is taken as an example, it should be understood by those skilled in the art that the technical solutions in the embodiments of the present disclosure may also be applied to other suitable data entry processes, such as data entry processes of financial business products, data entry processes of warehousing businesses, and the like, which are also within the scope of the present disclosure.

Fig. 2 illustrates a flow diagram of a data entry processing method according to some example embodiments of the present disclosure. The execution subject of the data entry processing method provided by the embodiment of the present disclosure may be a computing device having a computing processing function, for example, the terminal device 110. The data entry processing method includes steps S210 to S240, and the data entry processing method in the example embodiment is described in detail below with reference to the drawings.

Referring to fig. 2, in step S210, each to-be-entered data item of the to-be-entered data is determined, and the to-be-entered data item includes a plurality of sub data items.

In an example embodiment, for a target insurance service, a plurality of data items to be entered of corresponding data to be entered are selected, and each data item to be entered may include a plurality of sub data items. For example, for the insurance basic commission service, determining that a plurality of data items comprise data items such as guarantee period, payment mode and payment period, wherein a plurality of sub-data items of the guarantee period comprise sub-factors such as 10 days of guarantee, 10 years of guarantee, 20 years of guarantee, 60 years of guarantee and life of guarantee; the plurality of subdata items of the payment mode comprise: subdata items such as monthly transaction, season transaction, annual transaction, daily transaction, wharf transaction, one-time sexual transaction and the like, wherein the plurality of subdata items in the payment period comprise: and the sub-data items comprise 5 years of mating, 10 years of mating, 60 years of mating, 80 years of mating, lifetime mating, one-time clear mating, irregular payment and the like.

In step S220, existing data corresponding to the data to be entered is determined, where the existing data includes a plurality of existing data items, and the existing data items include a plurality of sub data items.

In an example embodiment, the target insurance service may have a plurality of pieces of data, and when data entry is performed, to avoid repeated entry, existing data corresponding to data to be entered is obtained according to a product code of the target insurance service, and whether the data to be entered is repeated with the existing data is determined. The existing data comprises a plurality of existing data items, each existing data item can comprise a plurality of subdata items, for example, the existing data items can comprise data items such as insurance channels, renewal types, guarantee schemes, guarantee period, payment modes, payment periods, payment period times, sale scenes and the like.

In step S230, it is determined whether the multiple sub data items of each to-be-entered data item and the multiple sub data items of the corresponding existing data item have the same sub data item.

In an example embodiment, whether a plurality of sub data items of a data item to be entered are the same as sub data items corresponding to existing data items or not is determined, and if so, the sub data items of the data item to be entered and the corresponding existing data items are determined to exist the same; if the data items are different, determining that the data items to be recorded and the corresponding existing data items do not have the same sub-data items.

For example, in some example embodiments, a plurality of child data items of each to-be-entered data item are formed into a first child data item set; forming a second sub data item set by the plurality of sub data items of the existing data items; and determining whether an intersection exists between a first subdata item set of the data item to be entered and a second subdata item set of the corresponding existing data item, if so, determining that the same subdata item exists between the data item to be entered and the existing data item, and if not, determining that the same subdata item does not exist between the data item to be entered and the existing subdata item.

In step S240, if each data item to be entered and the corresponding existing data item have the same sub data item, it is determined that the data to be entered is repeated.

In an example embodiment, if the data item to be entered and the corresponding existing data item in the plurality of data items to be entered have the same child data item, it is determined that the data to be entered and the existing data item are repeated.

For example, in some example embodiments, if an intersection exists between the first sub data item set of each data item to be entered and the corresponding second sub data item set of the existing data item, it is determined that the data to be entered is repeated with the existing data.

According to the technical scheme in the example embodiment of fig. 2, on one hand, the data item to be entered includes a plurality of sub data items, entry of multidimensional and multi-sub factors is supported, and the entry efficiency of data is improved; on the other hand, whether the plurality of sub data items of each data item to be recorded and the plurality of sub data items of the corresponding existing data items have the same sub data items is determined; if the same subdata items exist in each data item to be input and the corresponding existing data item, determining that the data to be input is repeated, and removing the duplicate in a multi-dimensional multi-sub-factor mode, so that the duplicate removal efficiency is improved; on the other hand, the data items or the sub-data items can be increased or decreased according to the service requirements, so that dynamic switching of the data items can be supported, and the service flexibility is enhanced.

Further, in an example embodiment, the data entry processing method further includes: if the charging rule of the target insurance service changes, correspondingly increasing or decreasing the data items of the existing charging rule data; or, if the charging rule of the target insurance service changes, deleting the existing charging rule data, and re-inputting the changed charging rule data. According to the technical scheme in the embodiment of the example, the data items or the sub-data items can be increased or decreased according to the service requirement, so that the data items can be dynamically switched, and the service flexibility is enhanced.

FIG. 3 shows a schematic diagram of a data entry processing method according to further example embodiments of the present disclosure.

In step S305, N data items of data to be entered are selected.

In an example embodiment, data items of data to be entered are selected for current products, and for example, an insurance-based commission product is taken as an example, the product has 8 data items, namely, charging factors, which are respectively a insurance channel, a renewal type, a guarantee scheme, a guarantee period, a payment mode, a payment period number and a sales scene, before data is entered, a plurality of factors can be selected as conditions of the data to be entered, and 8 data items at most are selected.

In step S310, entry processing is performed on data to be entered.

In an example embodiment, the data to be entered is entered and processed through a management background of the settlement system, and the charging data to be entered comprises a plurality of data items and a plurality of service factors. The plurality of data items may include: insurance channel, renewal type, guarantee scheme, guarantee period, payment mode, payment period, sale scene and the like. The plurality of traffic factors may include: contract coding, charging mode, charging value, data validity period and the like. When data is entered, which data items are selected in step S305, and which data items must be filled, each data item contains multiple values (sub data items or sub factors), and the value (sub data items or sub factors) of each data item supports multiple selections.

In step S315, the child data items of the N entered data items are converted into a first set.

In an example embodiment, a plurality of sub data items or sub factors of an entered data item are converted into a set, a class object, such as a bean object, corresponding to the entered data item is converted into JSON data, a loop traversal is performed according to the plurality of data items selected in step S305, the currently selected factor is an attribute key, a corresponding value is obtained from the JSON data according to the current attribute key, the value is a plurality of sub data items, the current sub data item is converted into a sub factor set, namely a first set or a first sub data item set, and a sub factor set combination conversion process of the data item to be entered is completed after the traversal is completed.

In step S320, M pieces of existing data are queried.

In an example embodiment, existing data or target data corresponding to the data to be entered is queried, e.g., data already existing under the current base product is queried according to the current base product code.

In step S325, M pieces of existing data are circularly checked.

In step S330, N data items of the data to be entered are circularly checked.

In step S335, the child data items of the existing data are converted into a second set.

In an example embodiment, data to be entered and existing data are rearranged, M pieces of existing charging rule data are queried according to step S320, current M pieces of existing charging rule data are circulated, each existing charging rule data bean object is converted into JSON data, a plurality of data items selected according to step S305 are circulated and traversed, a current selected factor is an attribute key, a corresponding value is obtained from the JSON data according to the current attribute key, the value is a plurality of existing sub-data items, the current existing sub-data items are converted into an existing sub-factor set, namely a second set or a second sub-data item set, and an intersection is taken between the entered first sub-data item set and the second sub-data item set.

In step S340, it is determined whether there is an intersection between the first set and the second set.

In an example embodiment, the first set is a set of sub-factors of each of the N data items of the data to be entered, and the second set is a set of sub-factors of data items of existing data. Whether there is an intersection between the first set and the second set may be determined by an intersection method of the sets. If there is an intersection, the process proceeds to step S345, and if there is no intersection, the process proceeds to step S360.

Taking JAVA programming language as an example, let the first SET be SET1 and the second SET be SET2, and the intersection of the first SET1 and the second SET2 is taken by an interaction method.

In step S345, it is determined whether or not there is a next data item.

In the exemplary embodiment, if there is a next data item among the N data items, it proceeds to step S355, and if there is no next data item, it proceeds to step S350.

In step S350, data duplication is determined.

In an example embodiment, if the first set of each data item to be entered and the corresponding second set of existing data items have an intersection, it is determined that the data item to be entered and the existing data are repeated, and the process is ended.

In other example embodiments, if each data item to be entered and the corresponding existing data item have the same child data item, and at least one service factor to be entered and the corresponding existing service factor are the same, it is determined that the data to be entered is repeated.

In step S355, the next data item is detected.

In step S360, it is determined whether there is a next piece of data.

In an exemplary embodiment, it is determined whether a next piece of data exists in the M pieces of existing data, and if not, the process proceeds to step S365, and if so, the process proceeds to step S370.

In step S365, the data is saved.

In an example embodiment, the data to be entered is maintained in a database.

In step S370, the next piece of data is checked.

In addition, in the exemplary embodiment, if the data of the insurance service changes, the data is required to be increased by sub-factors or decreased by data items, the data items are increased, that is, the data items are selected more frequently, and the data items are decreased, that is, a selected data item is removed. For example, when data addition or data reduction occurs, data item data corresponding to the existing data is modified, or the existing data is automatically deleted, and new data is re-entered.

According to the technical solution in the example embodiment of fig. 3, on one hand, when data increase or decrease occurs to a sub data item, the sub data item corresponding to the existing data is modified, which can support dynamic switching of multi-dimensional data items and enhance flexibility of service; on the other hand, the data item is upgraded from the multidimensional single sub-factor to the multidimensional multi-sub-factor, data containing a plurality of sub-factors can be recorded at one time, and the data recording efficiency is improved; on the other hand, the data items are divided into the sub-factor combinations, and whether the data are repeated or not is judged by adopting a mode of solving the intersection of the two sets, so that the duplicate removal efficiency is improved.

The technical solution in the exemplary embodiment of fig. 3 is described in detail with reference to specific examples.

Taking an insurance basic commission product as an example, the corresponding charging rule data comprises 8 data items and service factors, wherein the 8 data items can be selected at most, the 8 factors are respectively a insurance channel, a renewal type, a guarantee scheme, a guarantee period, a payment mode, a payment period number and a sale scene, and the service factors are contract codes, a calculation mode (in proportion and fixed value), a calculation value and a data validity period. For example, 3 data items such as a guarantee period, a payment mode, a payment period and the like are selected, the data items such as the guarantee period, the payment mode, the payment period and the like are composed of specific sub-factors, and the guarantee period is supported according to the types of days, months, years, at most, years of age, and the like, so that the guarantee period factor is composed of sub-factors such as 10 days of guarantee, 10 years of guarantee, 20 years of guarantee, 60 years of guarantee, and life of guarantee; the payment mode factor is composed of sub-factors of monthly payment, seasonal payment, annual payment, daily payment, wholesale payment, one-time sexual payment and the like, and the payment period factor is composed of the number of years of payment, the time of payment to a certain age, the time of payment to the lifetime, the time of one-time sexual payment clearance and the irregular payment, so the payment period factor is composed of sub-factors of 5-year payment, 10-year payment, the time of payment to the 60 years, the time of payment to the 80 years, the time of payment to the lifetime, the time of one-time sexual payment clearance, the irregular payment and the like.

Firstly, a first piece of charging rule data of an insurance basic commission product is entered, factor data items can support multiple choices, for example, the guarantee period is chosen to guarantee 10 years, guarantee 20 years and guarantee to 60 years, the payment mode is chosen to monthly, seasonal and yearly, the payment period is chosen to hand over 5 years, hand over 10 years and hand over to 60 years, a contract code is filled, the charging mode is selected according to proportion, the charging value is filled by 10%, and the data validity period is 2021, 01-2030, 12 and 31 days.

And secondly, recording second charging rule data, checking for 10 days and 10 years for a guarantee period, checking for annual payment and wholesale payment in a payment mode, checking for 5 years and making the payment for life in the payment period, filling in a contract code, selecting for a charging mode according to proportion, filling 8% of a charging value, and keeping for a data validity period of 2025 years, 01 and 01 to 2030, 12 and 31, wherein the second charging rule data is repeated with the first charging rule data and cannot be stored due to the fact that 3 charging factors of the second charging rule data have repeated sub-factors and data validity periods also intersect and the estimation meets all repeated conditions.

And thirdly, inputting third charging rule data, checking the guarantee period for 10 days, checking annual payment, wholesale payment and one-time sexual payment in a charging mode, checking payment for life in the charging period, filling a contract code, selecting a charging mode according to a proportion, filling a charging value by 7 percent, wherein the valid period of the data is from 2031 year 01 month 01 day to 2030 year 12 month 31 day, only one charging factor is repeated in the 3 charging factors of the third charging rule data, the charging mode does not have repeated sub-factors, the charging period does not have repeated sub-factors, the valid period of the data is not repeated, and the third charging rule data is not repeated with the first charging factor and can be stored.

Further, taking the insurance basic commission product as an example, the database stores the charging rule data of the insurance basic commission product, and the charging rule of the insurance basic commission product can be matched according to the service data for specific services. Because the charging factor of the charging rule comprises the multidimensional sub-factor, the dynamic switching of the multidimensional charging factor can be supported, and the flexibility of the service is enhanced.

It is noted that the above-mentioned figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the present disclosure and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.

The following describes embodiments of the apparatus of the present disclosure, which may be used to execute the above-mentioned data entry processing method of the present disclosure.

Fig. 4 shows a schematic structural diagram of a data entry processing device according to an embodiment of the present disclosure.

Referring to fig. 4, the data entry processing device 400 includes: a data item determining module 410, configured to determine each data item to be entered of data to be entered, where the data item to be entered includes multiple sub data items; a rule query module 420, configured to determine existing data corresponding to the data to be entered, where the existing data includes a plurality of existing data items, and the existing data items include a plurality of sub data items; a deduplication determining module 430, configured to determine whether the multiple sub data items of each to-be-entered data item and the multiple sub data items of the corresponding existing data item have the same sub data item; and if the same subdata items exist in each data item to be recorded and the corresponding existing data item, determining that the data to be recorded is repeated.

In some example embodiments, the deduplication determination module 430 comprises: a first set generating unit, configured to form a first sub data item set from the multiple sub data items of each to-be-entered data item; a second set generating unit, configured to form a second sub data item set from the sub data items of the existing data items; the intersection determining unit is used for determining whether an intersection exists between a first subdata item set of the data items to be recorded and a second subdata item set of the existing data items; and the repetition determining unit is used for determining that the data to be recorded are repeated if the intersection exists between the first subdata item set of each data item to be recorded and the corresponding second subdata item set of the existing data item.

In some example embodiments, the first set generation unit is further configured to: converting the class object corresponding to the data to be input into a JSON object; circularly traversing a plurality of data items to be input corresponding to the data to be input, and acquiring a plurality of corresponding subdata items from the JSON object according to the current data item key word; and converting the acquired plurality of sub data items into a first sub data item set.

In some example embodiments, the apparatus 400 further comprises: and the storage module is used for storing the data to be recorded if the plurality of subdata items of at least one data item to be recorded and the plurality of subdata items of the corresponding existing data items do not have the same subdata items.

In some example embodiments, the data to be entered is charging rule data to be entered, and the data item determination module is further configured to: determining each data item to be entered of charging rule data to be entered of a target service;

the rule query module is further configured to: and acquiring the existing charging rule data corresponding to the charging rule data to be input according to the service code of the target service.

In some example embodiments, the apparatus 400 further comprises: a rule adjusting unit, configured to correspondingly increase or decrease data items of the existing charging rules if the charging rules of the target service change; alternatively, the first and second electrodes may be,

and the re-entry unit is used for deleting the existing charging rule data and re-entering the changed charging rule data if the charging rule of the target service changes.

In some example embodiments, the data to be logged further includes a plurality of traffic factors to be logged corresponding to the traffic data, and the deduplication determining module 430 is further configured to: determining whether the same business factor exists between each business factor to be recorded and the existing business factor of the corresponding existing data; and if the same subdata items exist in each data item to be recorded and the corresponding existing data item, and at least one business factor to be recorded is the same as the corresponding existing business factor, determining that the data to be recorded is repeated.

It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.

Moreover, although the steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.

Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

In an exemplary embodiment of the present disclosure, there is also provided a computer storage medium capable of implementing the above method. On which a program product capable of implementing the above-described method of the present specification is stored. In some possible embodiments, various aspects of the present disclosure may also be implemented in the form of a program product including program code for causing a terminal device to perform the steps according to various exemplary embodiments of the present disclosure described in the "exemplary methods" section above of this specification when the program product is run on the terminal device.

The program product may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.

The program product described above may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.

Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

Program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).

Having described the methods, apparatus, and media of the exemplary embodiments of the present disclosure, a computing device in accordance with another exemplary embodiment of the present disclosure is next described.

As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.

In some possible embodiments, a computing device according to embodiments of the present disclosure may include at least one processor, and at least one memory. Wherein the memory stores program code that, when executed by the processor, causes the processor to perform the steps in the voice authentication method according to various exemplary embodiments of the present disclosure described in the "exemplary methods" section above in this specification. For example, the processor may perform the steps as shown in fig. 2: step S210, determining each data item to be entered of data to be entered, wherein the data item to be entered comprises a plurality of subdata items; step S220, existing data corresponding to the data to be recorded are determined, the existing data comprise a plurality of existing data items, and the existing data items comprise a plurality of subdata items; step S230, determining whether the plurality of subdata items of each data item to be recorded and the plurality of subdata items of the corresponding existing data items have the same subdata items; step S240, if each data item to be entered and the corresponding existing data item have the same sub data item, determining that the data to be entered is repeated.

An electronic device 500 according to an example embodiment of the present disclosure is described below with reference to fig. 5. The electronic device 500 shown in fig. 5 is only an example and should not bring any limitations to the functionality and scope of use of the embodiments of the present disclosure.

As shown in fig. 5, the electronic device 500 is embodied in the form of a general purpose computing device. The components of the electronic device 500 may include, but are not limited to: the at least one processing unit 510, the at least one memory unit 520, and a bus 530 that couples various system components including the memory unit 520 and the processing unit 510.

Bus 530 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures.

The storage unit 520 may include a readable medium in the form of a volatile Memory, such as a RAM (Random Access Memory) 521 and/or a cache Memory 522, and may further include a ROM (Read-Only Memory) 523.

The storage unit 520 may also include a program/utility 525 having a set (at least one) of program modules 524, such program modules 524 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.

The electronic device 500 may also communicate with one or more external devices 540 (e.g., keyboard, pointing device, Bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 500, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 500 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 550. Also, the electronic device 500 may communicate with one or more networks (e.g., a local area network, a wide area network, and/or a public network, such as the Internet) via the network adapter 560. As shown, the network adapter 560 communicates with the other modules of the electronic device 500 over the bus 530. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive Arrays, RAID (Redundant array of Independent Disks) systems, tape drives, and data backup storage systems, among others.

It should be noted that although in the above detailed description, several units or sub-units of the voice verification apparatus are mentioned, such division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.

Further, while the operations of the disclosed methods are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.

While the spirit and principles of the present disclosure have been described with reference to several particular embodiments, it is to be understood that the present disclosure is not limited to the particular embodiments disclosed, nor is the division of aspects, which is for convenience only as the features in such aspects may not be combined to benefit. The disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:兼容点读笔不同编码自动匹配下载数据的方法及点读笔

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!