CN110825807B - Data interactive conversion method, device, equipment and medium based on artificial intelligence - Google Patents

Data interactive conversion method, device, equipment and medium based on artificial intelligence Download PDF

Info

Publication number
CN110825807B
CN110825807B CN201910898998.4A CN201910898998A CN110825807B CN 110825807 B CN110825807 B CN 110825807B CN 201910898998 A CN201910898998 A CN 201910898998A CN 110825807 B CN110825807 B CN 110825807B
Authority
CN
China
Prior art keywords
data
conversion
interactive
converter
field
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
CN201910898998.4A
Other languages
Chinese (zh)
Other versions
CN110825807A (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910898998.4A priority Critical patent/CN110825807B/en
Publication of CN110825807A publication Critical patent/CN110825807A/en
Priority to PCT/CN2020/093592 priority patent/WO2021057064A1/en
Application granted granted Critical
Publication of CN110825807B publication Critical patent/CN110825807B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the application discloses a data interactive conversion method, device, equipment and storage medium based on artificial intelligence, and relates to the technical field of data conversion. The method comprises the following steps: receiving interaction data to be converted; acquiring a data conversion instruction for processing the interactive data, and calling a data converter in response to the data conversion instruction; configuring a parameter table of the data converter based on the conversion requirement to update the data converter; and executing data conversion processing on the interactive data through the updated data converter so as to acquire interactive conversion data required by a target user. The method can configure various types of subconverters in the parameter table of the data convertor, thereby reducing redundant codes, enabling the data convertor to be called once when the data is converted, realizing flexible configuration and dynamic modification through database operation, improving conversion efficiency and being capable of better adapting to the requirement of data conversion.

Description

Data interactive conversion method, device, equipment and medium based on artificial intelligence
Technical Field
The embodiment of the application relates to the technical field of data conversion, in particular to a data interactive conversion method, device, equipment and storage medium based on artificial intelligence.
Background
In the development and practical application of software, data interaction between various systems is the most common behavior, at this time, the data interaction often occurs between different database architectures, but the storage forms of data in the different database architectures are different, in the process of data interaction, part of fields in the acquired data cannot be directly applied, and data conversion needs to be performed on the data so as to enable the data to adapt to receivers at two ends of interaction. Data conversion is the process of changing data from one representation to another.
In the process of data interaction among the systems, when data conversion processing is needed, a lot of redundant codes are generated, and when the mapping relation is modified, program codes are required to be modified, so that the processing process is very inconvenient.
Disclosure of Invention
The technical problem to be solved by the embodiment of the application is to provide a data interactive conversion method, device, equipment and storage medium based on artificial intelligence, which can reduce the generation of redundant codes and realize flexible configuration and dynamic modification of data conversion through database operation.
In order to solve the above technical problems, the data interaction conversion method based on artificial intelligence in the embodiments of the present application adopts the following technical scheme:
an artificial intelligence based data interactive conversion method, comprising:
receiving interaction data to be converted;
acquiring a data conversion instruction for processing the interactive data, and calling a data converter in response to the data conversion instruction, wherein conversion requirements are set in the data conversion instruction;
configuring a parameter table of the data converter based on the conversion requirement to update the data converter;
and executing data conversion processing on the interactive data through the updated data converter so as to acquire interactive conversion data required by a target user.
According to the artificial intelligence-based data interactive conversion method, multiple types of subconverters can be configured in the parameter table of the data converter, so that redundant codes can be reduced, the data converter is only required to be called once when data conversion is carried out, flexible configuration and dynamic modification can be realized through database operation, the conversion efficiency is improved, and the requirements of data conversion can be well met.
Further, in the artificial intelligence-based data interactive conversion method, the step of obtaining a data conversion instruction for processing the interactive data includes:
sequentially acquiring system identifiers of a sender and a receiver during data interaction, wherein the receiver is a current server, and the sender is other servers for sending the interaction data to the current server;
sequentially matching a preset interaction scene table according to system identifiers of a sender and a receiver;
and when the data conversion instruction is matched with one standard scene in the interaction scene table, acquiring the data conversion instruction corresponding to the matched standard scene.
Further, in the artificial intelligence-based data interactive conversion method, after the step of obtaining the data conversion instruction corresponding to the matched standard scene, the method further includes the steps of:
transmitting a confirmation instruction for the conversion requirement to the target user, wherein the confirmation instruction is used for confirming whether the conversion requirement in the data conversion instruction is the same as the conversion requirement expected by the target user;
if the conversion requirements are different, the expected conversion requirements are obtained from the target user, and the conversion requirements in the data conversion instruction are replaced by the conversion requirements expected by the target user so as to update the data conversion instruction.
Further, in the artificial intelligence based data interactive conversion method, a plurality of different types of subconverters are configured in the data converter, and before the step of configuring the parameter table of the data converter based on the conversion requirement, the method further includes the steps of:
establishing a parameter table for the data converter in a database;
configuring a plurality of function fields in a parameter table, wherein the function fields comprise a first field for distinguishing the type of the sub-converter, a second field for storing conversion rules, a third field for representing the source of exchange data and a fourth field for representing the running state of the converter of different types;
and setting the association relation between different function fields.
Further, in the artificial intelligence based data interactive conversion method, the step of setting association relations between different function fields includes:
for each parameter value of the first field, one or more parameter values are associated under the second field to configure one or more conversion rules for each subconverter.
Further, in the artificial intelligence based data interactive conversion method, the conversion requirement is specified with a type of a sub-converter and carries a conversion rule, and the step of configuring the parameter table of the data converter based on the conversion requirement comprises the following steps:
Matching the parameter value of the first field in the parameter table based on the type of the sub-converter specified in the conversion requirement, and further matching the parameter value of the second field under the matched parameter value of the first field based on the conversion rule specified in the conversion requirement, so as to confirm whether the parameter value conforming to the conversion rule exists;
if yes, setting the corresponding parameter value in the second field as an activated state, and logging off other parameter values in the second field;
if not, a parameter value of an activation state is newly added in the second field to record the conversion rule, and other parameter values in the second field are logged off.
Further, in the artificial intelligence based data interactive conversion method, the conversion requirement specifies the execution sequence of the subconverter, and the step of configuring a plurality of function fields in the parameter table includes:
configuring a fifth field for determining an execution order of the sub-converters in the function field;
the step of setting the association relation between different function fields comprises the following steps: associating a parameter value of said fifth field for each parameter value of said first field;
The step of configuring the parameter table of the data converter based on the conversion requirement includes:
and updating the parameter value of the fifth field in the parameter table based on the execution sequence of the sub-converters specified in the conversion requirement.
In order to solve the technical problems, the embodiment of the application also provides a data interaction conversion device based on artificial intelligence, which adopts the following technical scheme:
an artificial intelligence based data interactive conversion device, comprising:
the data receiving module is used for receiving the interactive data to be converted;
the instruction acquisition module is used for acquiring a data conversion instruction for processing the interactive data and calling a data converter in response to the data conversion instruction, wherein the data conversion instruction is provided with conversion requirements;
a converter update module for configuring a parameter table of the data converter based on the conversion requirement to update the data converter;
and the data conversion module is used for executing data conversion processing on the interactive data through the updated data converter so as to acquire the interactive conversion data required by the target user.
According to the artificial intelligence-based data interactive conversion device, multiple types of subconverters can be configured in the parameter table of the data converter, so that redundant codes can be reduced, the data converter is only required to be called once when data conversion is carried out, flexible configuration and dynamic modification can be realized through database operation, the conversion efficiency is improved, and the requirements of data conversion can be well met.
In order to solve the above technical problems, the embodiments of the present application further provide a computer device, which adopts the following technical schemes:
a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the artificial intelligence based data interactive conversion method according to any one of the above claims when the computer program is executed.
In order to solve the above technical problems, embodiments of the present application further provide a computer readable storage medium, which adopts the following technical solutions:
a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the artificial intelligence based data interactive conversion method according to any one of the above claims.
Compared with the prior art, the embodiment of the application has the following main beneficial effects:
the embodiment of the application discloses a data interactive conversion method, a device, equipment and a storage medium based on artificial intelligence, wherein the data interactive conversion method based on the artificial intelligence receives interactive data to be converted; acquiring a data conversion instruction for processing the interactive data, and calling a data converter in response to the data conversion instruction; configuring a parameter table of the data converter based on the conversion requirement to update the data converter; and executing data conversion processing on the interactive data through the updated data converter so as to acquire interactive conversion data required by a target user. The method can configure various types of subconverters in the parameter table of the data convertor, thereby reducing redundant codes, enabling the data convertor to be called once when the data is converted, realizing flexible configuration and dynamic modification through database operation, improving conversion efficiency and being capable of better adapting to the requirement of data conversion.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is an exemplary system architecture diagram in which embodiments of the present application may be applied;
FIG. 2 is a flow chart of one embodiment of an artificial intelligence based data interactive conversion method as described in embodiments of the present application;
FIG. 3 is a schematic structural diagram of one embodiment of an artificial intelligence based data interactive conversion device according to an embodiment of the present application;
fig. 4 is a schematic structural view of one embodiment of a computer device in an embodiment of the present application.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
It is noted that the terms "comprising," "including," and "having," and any variations thereof, in the description and claims of the present application and in the foregoing figures, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus. In the claims, specification, and drawings of this application, relational terms such as "first" and "second," and the like are used solely to distinguish one entity/operation/object from another entity/operation/object without necessarily requiring or implying any actual such relationship or order between such entities/operations/objects.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
In order to better understand the solution of the present application, the following description will clearly and completely describe the technical solution of the embodiment of the present application with reference to the related drawings in the embodiment of the present application.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various communication client applications, such as a web browser application, a shopping class application, a search class application, an instant messaging tool, a mailbox client, social platform software, etc., may be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablet computers, electronic book readers, MP3 players (Moving Picture Experts Group Audio Layer III, dynamic video expert compression standard audio plane 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video expert compression standard audio plane 4) players, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background server providing support for pages displayed on the terminal devices 101, 102, 103.
It should be noted that, the data interactive conversion method based on artificial intelligence provided in the embodiments of the present application is generally executed by a server/terminal device, and accordingly, the data interactive conversion device based on artificial intelligence is generally disposed in the server/terminal device.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow chart of one embodiment of an artificial intelligence based data interactive conversion method as described in embodiments of the present application is shown. The artificial intelligence-based data interactive conversion method comprises the following steps:
step 201: and receiving the interaction data to be converted.
In the embodiment of the application, in the process of data interaction, the current server interaction end receives interaction data from other interaction ends, but because the database structures of the two interaction ends are different, the interaction data does not accord with the data storage form of the database in the current server, and therefore, data conversion processing is needed.
Step 202: and acquiring a data conversion instruction for processing the interactive data, and calling a data converter in response to the data conversion instruction, wherein conversion requirements are set in the data conversion instruction.
The data conversion instruction for executing the data conversion processing is generally edited by the target user according to the requirement, then sent out, and received by the current server for response. And when the target user edits the data conversion instruction, setting a conversion requirement for performing data conversion on the interactive data according to the actual requirement. The data converter may include a plurality of types of sub-converters, and when the data converter is called, one or more sub-converters in the data converter may be called to perform data conversion based on the type of the sub-converter indicated in the conversion requirement.
Through the step, the data converter can be called only once, so that various requirements of data conversion can be met, redundant codes are reduced, and conversion efficiency is improved.
In some embodiments of the present application, the step of obtaining the data conversion instruction for processing the interaction data in step 202 includes:
sequentially acquiring system identifiers of a sender and a receiver during data interaction, wherein the receiver is a current server, and the sender is other servers for sending the interaction data to the current server;
Sequentially matching a preset interaction scene table according to system identifiers of a sender and a receiver;
and when the data conversion instruction is matched with one standard scene in the interaction scene table, acquiring the data conversion instruction corresponding to the matched standard scene.
In some data interaction scenes where the sender and the receiver are fixed when the interaction is performed, since both parties are determined, an interaction scene table about the standard interaction scene can be configured in the system, and system identifiers of the sender and the receiver of the interaction data are written in the interaction scene table according to a specified sequence, wherein the system identifiers are used for distinguishing specific interaction parties. The writing sequence of the system identifiers of the sender and the receiver can be set arbitrarily.
And corresponding to each type of standard scene in the interaction scene table, a matched data conversion instruction can be preset for each type of standard scene respectively. If a large amount of data interaction is performed, when the current scene is the same as a preset standard scene, the system can automatically send a data conversion instruction corresponding to the standard scene by triggering an instruction program preset by the system, and the data conversion instruction is acquired at the interaction receiver. If the conversion requirement of the interactive data is consistent with the conversion requirement in the preset data conversion instruction, the data conversion instruction can be directly responded, and the subsequent data conversion step can be executed.
The data conversion requirement when the interactive data is sent from the A system to the B system is generally different from the data conversion requirement when the interactive data is sent from the B system to the A system, so that the sequence of system identifications of a sender and a receiver when data interaction is acquired is required to be consistent with the sequence of the system identifications of the sender and the receiver configured in the interaction scene table, and then the sequence is matched in the interaction scene table according to the sequence.
Further, after the step of obtaining the data conversion instruction corresponding to the matched standard scene, the data interactive conversion method based on artificial intelligence further includes the steps of:
transmitting a confirmation instruction for the conversion requirement to the target user, wherein the confirmation instruction is used for confirming whether the conversion requirement in the data conversion instruction is the same as the conversion requirement expected by the target user;
if the conversion requirements are different, the expected conversion requirements are obtained from the target user, and the conversion requirements in the data conversion instruction are replaced by the conversion requirements expected by the target user so as to update the data conversion instruction.
The conversion requirement of the data conversion instruction acquired when the data conversion instruction is matched with one standard scene in the preset interaction scene table may not be consistent with the conversion requirement expected by the target user in the current interaction scene, so that the conversion requirement in the data conversion instruction also needs to be confirmed. The current server sends a confirmation instruction to the target user, if the target user confirms that the conversion requirement in the data conversion instruction meets the current requirement, the data conversion instruction can be used for the current server to execute the subsequent steps, and if the conversion requirement is different from the conversion requirement expected by the target user, the conversion requirement expected by the target user is required to be re-acquired, and then the conversion requirement in the data conversion instruction is replaced.
In the embodiment of the application, when a large amount of data interaction is performed in the same interaction scene in a short period of time, generally, the conversion requirements of the data are the same, but when the requirement for changing the conversion requirements exists in the interaction process, the conversion requirements in the conversion instructions are reset based on the conversion requirements after the requirement change, so that the conversion instructions are updated to meet the current requirement.
In this embodiment of the present application, the electronic device (for example, the server/terminal device shown in fig. 1) on which the data interaction conversion method based on artificial intelligence operates may receive the data conversion instruction sent by the user through a wired connection manner or a wireless connection manner. It should be noted that the wireless connection may include, but is not limited to, 3G/4G connections, wiFi connections, bluetooth connections, wiMAX connections, zigbee connections, UWB (ultra wideband) connections, and other now known or later developed wireless connection means.
Step 203: the parameter table of the data converter is configured to update the data converter based on the conversion requirement.
A data converter may be regarded as a tool dedicated to data conversion of data in a database. The method comprises the steps of customizing a parameter table for executing data conversion in a database in advance, enabling the parameter table to be accessed after the data converter is called, and executing data conversion processing through the parameter table. Before the data conversion processing is executed, the parameter table is updated according to the current conversion requirement, so that the data converter is applied to data conversion under the current interaction scene. When a certain data conversion processing related setting is needed to be newly added, modified and deleted, the operation is carried out by modifying the database configuration without modifying codes, thereby being convenient for a target user to carry out flexible configuration and effectively reducing the generation of redundant codes.
In some embodiments of the present application, the data converter is configured with a plurality of different types of subconverters, and before step 203, the artificial intelligence based data interactive conversion method further includes the steps of:
establishing a parameter table for the data converter in a database;
configuring a plurality of function fields in a parameter table, wherein the function fields comprise a first field for distinguishing the type of the sub-converter, a second field for storing conversion rules, a third field for representing the source of exchange data and a fourth field for representing the running state of the converter of different types;
and setting the association relation between different function fields.
After a parameter table is established for the data converter, a plurality of function fields related to data conversion related processing are configured in the parameter table, and the association relation between different function fields and the parameter values in the function fields are set, so that the configuration for the data converter can be conveniently realized. And updating the data converter, namely updating the parameter values of the corresponding fields in the parameter table according to the current conversion requirement, so that the data converter is applied to the data conversion under the current interaction scene.
The function field at least comprises a first field for distinguishing the type of the sub-converter, a second field for storing conversion rules, a third field for representing the source of exchange data and a fourth field for representing the running state of the different types of converters. In a specific implementation manner of the embodiment of the present application, a plurality of spare function fields may be preset in the established parameter table, so as to expand when a function needs to be added.
In one implementation of the embodiment of the present application, under the first field, parameter values such as "normal", "time", "amount", and "regular expression" may be set to represent different types of subconverters. While a first field representing the type of subconverter needs to be associated with several other functional fields to achieve a complete data conversion function.
The sub-converter of the common type is used for performing simple data conversion on common fields in the interactive data; the time type subconverter is used for carrying out data conversion on the unified processing of the interactive data representing the time; the sub-converter of the amount type is used for carrying out data conversion on the unified processing of the interactive data representing the amount; the regular expression type subconverter is used for conducting more complex data conversion on the interaction data according to the conversion rule which is set under the second field and represented by the regular conversion formula.
In the second field for storing the conversion rule, parameter values may be preconfigured to define the rule of data conversion, or the conversion rule may be modified in real time according to the conversion requirement in the data conversion instruction to perform dynamic update. As with the normal type of subconverter, a configuration of "{" Y ":"1"," N ":"2"}" in the second field means that Y in the corresponding data will be converted to 1 and N to 2. In updating the second field according to the conversion requirement, the content to be updated should also include parameter values of the third field and the fourth field.
In the third field for indicating the source of the exchange data, the part of data to be subjected to data conversion in the exchange data should be configured, specifically, a data set corresponding to the data conversion may be written therein, or a specific path where the data is located may be configured. In the process of data conversion processing, data conversion of corresponding conversion rules is performed on all interaction data under the specific path.
In a fourth field for representing the operating state of different types of subconverters, the specific parameter values thereof can be dynamically modified in real time to adapt to the change of the conversion requirements. In one embodiment of the present disclosure, the operation state of the sub-converter is denoted as an active state by "Y", and the operation state of the sub-converter is denoted as an inactive state by "N". When a certain subconverter needs to be called, the parameter value under the fourth field associated with the subconverter is modified to be Y in the parameter table, and when the calling is stopped, the parameter value is modified to be N.
In a specific implementation of the embodiment of the present application, the step 2033 includes: for each parameter value of the first field, one or more parameter values are associated under the second field to configure one or more conversion rules for each subconverter.
When data conversion is carried out, the parameter value needs to be modified under the corresponding second field according to the change of the conversion rule, and if the parameter value needs to be modified again for updating after each change of the conversion rule, time is wasted.
Therefore, for some interactive scenes needing to be switched under multiple conversion rules, multiple conversion rules can be configured for each sub-converter in advance under the second field, and when the conversion rules need to be updated, matching is performed in the multiple conversion rules which are configured in advance, so as to check whether the conversion rules meeting the updating requirements exist.
Further, the conversion requirement specifies the type of the sub-converter and carries a conversion rule, and the step 203 includes the steps of:
matching the parameter value of the first field in the parameter table based on the type of the sub-converter specified in the conversion requirement, and further matching the parameter value of the second field under the matched parameter value of the first field based on the conversion rule specified in the conversion requirement, so as to confirm whether the parameter value conforming to the conversion rule exists;
If yes, setting the corresponding parameter value in the second field as an activated state, and logging off other parameter values in the second field;
if not, a parameter value of an activation state is newly added in the second field to record the conversion rule, and other parameter values in the second field are logged off.
And (3) presetting a plurality of conversion rules in a second field or recording the conversion rules in the history scene to be experienced as the history conversion rules, and according to the type of the subconverter and the conversion rules described in the data conversion instruction, firstly matching the parameter value of the first field in the parameter table according to the type of the subconverter, and further matching the parameter value under the second field associated with the parameter value.
If the parameter values in the second field are in accordance with the conversion rules in the data conversion instruction, setting the corresponding parameter values as the activation state as the current conversion rules, and canceling other parameter values as the history conversion rules so as to update the parameter table by applying the conversion rules in the data conversion instruction. When the conversion rule is updated next time, the history conversion rule can be matched first, if the conversion rule accords with the term, the current conversion rule is logged out, recorded and marked as the history conversion rule, and the matched history conversion rule is activated to be used as the updated conversion rule. In a specific embodiment, when a certain sub-converter is invoked, the history conversion rule recorded under the sub-converter can be displayed through a visual interactive interface for direct selection by a user.
In a further specific embodiment of the present application, the conversion requirement specifies an execution order of the sub-converters, and the step of configuring a plurality of function fields in the parameter table includes: a fifth field for determining the execution order of the subconverters is arranged in the function field.
The step of setting the association relation between different function fields comprises the following steps: one parameter value of the fifth field is associated with each parameter value of the first field.
The step 203 includes: and updating the parameter value of the fifth field in the parameter table based on the execution sequence of the sub-converters specified in the conversion requirement.
In some specific interaction scenarios, it is also necessary to specify the order of performing data conversion on the interaction data, especially for the execution order of different types of subconverters, so after receiving the data conversion instruction and obtaining the conversion requirement therein, if the execution order of the subconverter is specified therein, the parameter value of the fifth field in the parameter table is updated so as to set the execution order among the plurality of subconverters to be applied. Thus, when the data converter is called and a plurality of sub-converters are applied, the data conversion is sequentially performed on the interactive data in the execution order among the sub-converters specified in the updated parameter table.
Step 204: and executing data conversion processing on the interactive data through the updated data converter so as to acquire interactive conversion data required by a target user.
After the data converter is updated, the data conversion processing can be conveniently carried out through the data converter, and finally the interactive data is converted into the required data, so that the data butt joint between the interactive systems is completed.
According to the artificial intelligence-based data interactive conversion method, multiple types of subconverters can be configured in the parameter table of the data converter, so that redundant codes can be reduced, the data converter is only required to be called once when data conversion is carried out, flexible configuration and dynamic modification can be realized through database operation, the conversion efficiency is improved, and the requirements of data conversion can be well met.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored in a computer-readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. The storage medium may be a nonvolatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a random access Memory (Random Access Memory, RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
With further reference to FIG. 3, FIG. 3 illustrates a schematic diagram of one embodiment of an artificial intelligence based data interactive conversion device as described in embodiments herein. As an implementation of the method shown in fig. 2, the present application provides an embodiment of an artificial intelligence-based data interactive conversion device, where an embodiment of the device corresponds to the embodiment of the method shown in fig. 2, and the device may be specifically applied to various electronic devices.
As shown in fig. 3, the data interactive conversion device based on artificial intelligence according to this embodiment includes:
a data receiving module 301; for receiving interaction data to be converted.
An instruction fetch module 302; and the data conversion instruction is used for acquiring the data conversion instruction for processing the interactive data, and calling a data converter in response to the data conversion instruction, wherein the data conversion instruction is provided with conversion requirements.
A converter update module 303; and configuring a parameter table of the data converter based on the conversion requirement to update the data converter.
A data conversion module 304; and the interactive data processing device is used for executing data conversion processing on the interactive data through the updated data converter so as to acquire the interactive conversion data required by the target user.
In some embodiments of the present application, the instruction fetch module 302 further includes: and a scene matching sub-module. The scene matching sub-module is used for sequentially acquiring system identifiers of a sender and a receiver during data interaction; sequentially matching a preset interaction scene table according to system identifiers of a sender and a receiver; and when the data conversion instruction is matched with one standard scene in the interaction scene table, acquiring the data conversion instruction corresponding to the matched standard scene. The receiver is a current server, and the sender is other servers for sending the interaction data to the current server.
In a specific implementation manner of the embodiment of the present application, the data interaction conversion module based on artificial intelligence further includes: and an instruction confirmation module. After the scene matching sub-module acquires the data conversion instruction corresponding to the matched standard scene, the instruction confirmation module is used for sending a confirmation instruction for the conversion requirement to the target user, and the confirmation instruction is used for confirming whether the conversion requirement in the data conversion instruction is the same as the conversion requirement expected by the target user; and if the data conversion instruction is different, acquiring the conversion requirement expected by the target user, and replacing the conversion requirement in the data conversion instruction with the conversion requirement expected by the target user to update the data conversion instruction.
In some embodiments of the present application, the artificial intelligence based data interactive conversion module further includes: the converter configures the module. The data converter is configured with a plurality of sub-converters of different types, and before the step of configuring the parameter table of the data converter by the converter update module 303 based on the conversion requirement, the converter configuration module is configured to establish a parameter table for the data converter in a database; configuring a plurality of function fields in a parameter table; and setting the association relation between different function fields. Wherein the function field includes a first field for distinguishing the type of the sub-converter, a second field for storing conversion rules, a third field for indicating the source of the exchanged data, and a fourth field for indicating the operation status of the different types of converters.
In a specific implementation manner of the embodiment of the present application, the converter configuration module is configured to associate, for each parameter value of the first field, one or more parameter values under the second field, so as to configure one or more conversion rules for each sub-converter.
Further, the conversion requirement specifies a type of a sub-converter and carries a conversion rule, and the converter update module 303 is further configured to match a parameter value of a first field in the parameter table based on the type of the sub-converter specified in the conversion requirement, and further, based on the conversion rule specified in the conversion requirement, match a parameter value of a second field under the matched parameter value of the first field, and determine whether there is a parameter value conforming to the conversion rule; if yes, setting the corresponding parameter value in the second field as an activated state, and logging off other parameter values in the second field; if not, a parameter value of an activation state is newly added in the second field to record the conversion rule, and other parameter values in the second field are logged off.
In a further specific embodiment of the present application, the conversion requirement specifies an execution order of the sub-converters, and the converter configuration module is configured to configure a fifth field for determining the execution order of the sub-converters in the function field; one parameter value of the fifth field is associated with each parameter value of the first field. The converter updating module 303 is configured to update the parameter value of the fifth field in the parameter table based on the execution order of the sub-converters specified in the conversion requirement.
According to the artificial intelligence-based data interactive conversion device, multiple types of subconverters can be configured in the parameter table of the data converter, so that redundant codes can be reduced, the data converter is only required to be called once when data conversion is carried out, flexible configuration and dynamic modification can be realized through database operation, the conversion efficiency is improved, and the requirements of data conversion can be well met.
In order to solve the technical problems, the embodiment of the application also provides computer equipment. Referring specifically to fig. 4, fig. 4 is a basic structural block diagram of a computer device according to the present embodiment.
The computer device 6 comprises a memory 61, a processor 62, a network interface 63 communicatively connected to each other via a system bus. It is noted that only computer device 6 having components 61-63 is shown in the figures, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may be implemented instead. It will be appreciated by those skilled in the art that the computer device herein is a device capable of automatically performing numerical calculations and/or information processing in accordance with predetermined or stored instructions, the hardware of which includes, but is not limited to, microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASICs), programmable gate arrays (fields-Programmable Gate Array, FPGAs), digital processors (Digital Signal Processor, DSPs), embedded devices, etc.
The computer equipment can be a desktop computer, a notebook computer, a palm computer, a cloud server and other computing equipment. The computer equipment can perform man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch pad or voice control equipment and the like.
The memory 61 includes at least one type of readable storage media including flash memory, hard disk, multimedia card, card memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), programmable Read Only Memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the storage 61 may be an internal storage unit of the computer device 6, such as a hard disk or a memory of the computer device 6. In other embodiments, the memory 61 may also be an external storage device of the computer device 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card) or the like, which are provided on the computer device 6. Of course, the memory 61 may also comprise both an internal memory unit of the computer device 6 and an external memory device. In this embodiment, the memory 61 is generally used to store an operating system and various application software installed on the computer device 6, such as program codes of an artificial intelligence-based data interactive conversion method. Further, the memory 61 may be used to temporarily store various types of data that have been output or are to be output.
The processor 62 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 62 is typically used to control the overall operation of the computer device 6. In this embodiment, the processor 62 is configured to execute the program code stored in the memory 61 or process data, for example, execute the program code of the artificial intelligence-based data interactive conversion method.
The network interface 63 may comprise a wireless network interface or a wired network interface, which network interface 63 is typically used for establishing a communication connection between the computer device 6 and other electronic devices.
The present application also provides another embodiment, namely, a computer-readable storage medium storing an artificial intelligence based data interactive conversion program executable by at least one processor to cause the at least one processor to perform the steps of the artificial intelligence based data interactive conversion method as described above.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
In the foregoing embodiments provided herein, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple modules or components may be combined or integrated into another system, or some features may be omitted or not performed.
The modules or components may or may not be physically separate, and components shown as modules or components may or may not be physical modules, may or may not be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules or components thereof may be selected according to actual needs to achieve the purpose of the embodiment.
The present application is not limited to the above embodiments, but the above embodiments are preferred embodiments of the present application, and the examples are only for illustrating the present application and not for limiting the scope of the present application, and it should be noted that, for those skilled in the art, it is still possible to make several improvements and modifications to the technical solutions described in the foregoing specific embodiments, or to make equivalent substitutions for some of the technical features thereof, without departing from the principles of the present application. All equivalent structures made by the specification and drawings of the present application, directly or indirectly, are considered to be included in the protection scope of the present application.
It is apparent that the embodiments described above are only some embodiments of the present application, but not all embodiments, the preferred embodiments of the present application are given in the drawings, but not limiting the patent scope of the present application. This application may be embodied in many different forms, but rather, embodiments are provided in order to provide a more thorough understanding of the present disclosure. Although the present application has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that modifications may be made to the embodiments described in the foregoing, or equivalents may be substituted for elements thereof. All other embodiments obtained by those skilled in the art without creative efforts based on the embodiments in the application and all equivalent structures made by the specification and drawings of the application are directly or indirectly applied to other related technical fields and are equally within the protection scope of the application.

Claims (9)

1. The data interactive conversion method based on artificial intelligence is characterized by comprising the following steps of:
receiving interaction data to be converted;
Acquiring a data conversion instruction for processing the interactive data, and calling a data converter in response to the data conversion instruction, wherein conversion requirements are set in the data conversion instruction;
configuring a parameter table of the data converter based on the conversion requirement to update the data converter;
performing data conversion processing on the interactive data through the updated data converter so as to acquire interactive conversion data required by a target user;
wherein the step of obtaining a data conversion instruction for processing the interaction data includes:
sequentially acquiring system identifiers of a sender and a receiver during data interaction, wherein the receiver is a current server, and the sender is other servers for sending the interaction data to the current server;
sequentially matching a preset interaction scene table according to system identifiers of a sender and a receiver; system identifiers of a sender and a receiver of the interactive data in the interactive scene table are written in a specified sequence;
and when the data conversion instruction is matched with one standard scene in the interaction scene table, acquiring the data conversion instruction corresponding to the matched standard scene.
2. The artificial intelligence based data interactive conversion method according to claim 1, wherein after the step of acquiring the data conversion instruction corresponding to the matched standard scene, the method further comprises the steps of:
Transmitting a confirmation instruction for the conversion requirement to the target user, wherein the confirmation instruction is used for confirming whether the conversion requirement in the data conversion instruction is the same as the conversion requirement expected by the target user;
if the conversion requirements are different, the expected conversion requirements are obtained from the target user, and the conversion requirements in the data conversion instruction are replaced by the conversion requirements expected by the target user so as to update the data conversion instruction.
3. The artificial intelligence based data interactive conversion method according to claim 1, wherein a plurality of different types of sub-converters are configured in the data converter, and wherein before the step of configuring the parameter table of the data converter based on the conversion requirement, the method further comprises the steps of:
establishing a parameter table for the data converter in a database;
configuring a plurality of function fields in a parameter table, wherein the function fields comprise a first field for distinguishing the type of the sub-converter, a second field for storing conversion rules, a third field for representing the source of exchange data and a fourth field for representing the running state of the converter of different types;
and setting the association relation between different function fields.
4. The artificial intelligence based data interactive conversion method according to claim 3, wherein the step of setting association relations between different function fields comprises:
for each parameter value of the first field, one or more parameter values are associated under the second field to configure one or more conversion rules for each subconverter.
5. The artificial intelligence based data interactive conversion method according to claim 4, wherein the conversion requirement is specified with a type of sub-converter and carries a conversion rule, the step of configuring a parameter table of the data converter based on the conversion requirement comprises:
matching the parameter value of the first field in the parameter table based on the type of the sub-converter specified in the conversion requirement, and further matching the parameter value of the second field under the matched parameter value of the first field based on the conversion rule specified in the conversion requirement, so as to confirm whether the parameter value conforming to the conversion rule exists;
if yes, setting the corresponding parameter value in the second field as an activated state, and logging off other parameter values in the second field;
if not, a parameter value of an activation state is newly added in the second field to record the conversion rule, and other parameter values in the second field are logged off.
6. The artificial intelligence based data interactive conversion method according to claim 3, wherein the conversion requirement specifies an execution order of the sub-converters, and the step of configuring a plurality of function fields in the parameter table comprises:
configuring a fifth field for determining an execution order of the sub-converters in the function field;
the step of setting the association relation between different function fields comprises the following steps: associating a parameter value of said fifth field for each parameter value of said first field;
the step of configuring the parameter table of the data converter based on the conversion requirement includes:
and updating the parameter value of the fifth field in the parameter table based on the execution sequence of the sub-converters specified in the conversion requirement.
7. An artificial intelligence based data interactive conversion device, comprising:
the data receiving module is used for receiving the interactive data to be converted;
the instruction acquisition module is used for acquiring a data conversion instruction for processing the interactive data and calling a data converter in response to the data conversion instruction, wherein the data conversion instruction is provided with conversion requirements;
a converter update module for configuring a parameter table of the data converter based on the conversion requirement to update the data converter;
The data conversion module is used for executing data conversion processing on the interactive data through the updated data converter so as to acquire interactive conversion data required by a target user;
the instruction acquisition module further comprises a scene matching submodule, wherein the scene matching submodule is used for:
sequentially acquiring system identifiers of a sender and a receiver during data interaction, wherein the receiver is a current server, and the sender is other servers for sending the interaction data to the current server;
sequentially matching a preset interaction scene table according to system identifiers of a sender and a receiver; system identifiers of a sender and a receiver of the interactive data in the interactive scene table are written in a specified sequence;
and when the data conversion instruction is matched with one standard scene in the interaction scene table, acquiring the data conversion instruction corresponding to the matched standard scene.
8. A computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the artificial intelligence based data interactive conversion method according to any one of claims 1-6 when the computer program is executed.
9. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the artificial intelligence based data interactive conversion method according to any of claims 1-6.
CN201910898998.4A 2019-09-23 2019-09-23 Data interactive conversion method, device, equipment and medium based on artificial intelligence Active CN110825807B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910898998.4A CN110825807B (en) 2019-09-23 2019-09-23 Data interactive conversion method, device, equipment and medium based on artificial intelligence
PCT/CN2020/093592 WO2021057064A1 (en) 2019-09-23 2020-05-30 Data interaction conversion method and apparatus based on artificial intelligence, device, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910898998.4A CN110825807B (en) 2019-09-23 2019-09-23 Data interactive conversion method, device, equipment and medium based on artificial intelligence

Publications (2)

Publication Number Publication Date
CN110825807A CN110825807A (en) 2020-02-21
CN110825807B true CN110825807B (en) 2023-07-25

Family

ID=69548183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910898998.4A Active CN110825807B (en) 2019-09-23 2019-09-23 Data interactive conversion method, device, equipment and medium based on artificial intelligence

Country Status (2)

Country Link
CN (1) CN110825807B (en)
WO (1) WO2021057064A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825807B (en) * 2019-09-23 2023-07-25 平安科技(深圳)有限公司 Data interactive conversion method, device, equipment and medium based on artificial intelligence
CN113741904A (en) * 2021-08-27 2021-12-03 浙江惠瀜网络科技有限公司 Data processing method, device and storage medium
US11765604B2 (en) 2021-12-16 2023-09-19 T-Mobile Usa, Inc. Providing configuration updates to wireless telecommunication networks

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339384B (en) * 2015-07-07 2021-03-09 小米科技有限责任公司 Storage process conversion method and device
CN108563768B (en) * 2018-04-19 2023-05-23 中国平安财产保险股份有限公司 Data conversion method, device, equipment and storage medium for different data models
CN108829727B (en) * 2018-05-09 2021-06-25 未鲲(上海)科技服务有限公司 Data storage method and device, computer equipment and storage medium
CN109558443A (en) * 2018-11-29 2019-04-02 北京数聚鑫云信息技术有限公司 A kind of method and device of data in integrated data sources
CN109871408B (en) * 2019-03-05 2023-07-14 深圳市迅雷网络技术有限公司 Multi-type database adaptation method, device, electronic equipment and storage medium
CN110825807B (en) * 2019-09-23 2023-07-25 平安科技(深圳)有限公司 Data interactive conversion method, device, equipment and medium based on artificial intelligence

Also Published As

Publication number Publication date
WO2021057064A1 (en) 2021-04-01
CN110825807A (en) 2020-02-21

Similar Documents

Publication Publication Date Title
CN111046150B (en) Man-machine interaction processing system and method, storage medium and electronic equipment
CN110825807B (en) Data interactive conversion method, device, equipment and medium based on artificial intelligence
CN102223363B (en) System and method for generating persistent sessions in a graphical interface for managing communication sessions
CN109933760A (en) List generation method, device, computer equipment and computer readable storage medium
CN111782304B (en) Paging loading data logic control method, device, computer equipment and medium
CN111475468A (en) Log access method, device, equipment and storage medium of newly added system
WO2021068247A1 (en) Neural network scheduling method and apparatus, computer device, and readable storage medium
CN116112457A (en) Method, device, computer equipment and storage medium for notifying message
CN107479891B (en) MVC model-based data processing system and method
CN113760487B (en) Service processing method and device
CN110765610B (en) PDM integration method, PDM integration device, computer equipment and storage medium
CN114138401A (en) Container configuration method, device, equipment and medium based on artificial intelligence
CN112764802A (en) Business logic customization method and device, electronic equipment and storage medium
CN111090530A (en) Distributed cross-interprocess communication bus system
CN105446774B (en) A kind of plug-in unit processing method and user terminal
CN115729530B (en) Cross-system logic statement generation method, device, storage medium and equipment
CN111090432A (en) Interface processing method and device and electronic equipment
CN109388536B (en) Data collection method and device
CN117290019A (en) Interface calling method and device, computer equipment and storage medium
CN117111957A (en) Code generation method, device, computer equipment and storage medium
CN117270973A (en) Method, device, equipment, medium and program product for brushing intelligent wearable equipment
CN117527561A (en) Function arrangement method, device, computer equipment and storage medium
CN117851014A (en) Application program calling method and device, computer equipment and storage medium
CN116841522A (en) Method and device for operating form component, computer equipment and storage medium
CN115826922A (en) Proposal process template definition method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40018221

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant