Data processing method and device and related products thereof
By determining the variable storage identifier based on the original variable identification and variable meaning description information in the target business system, the problem of low comprehensiveness and update accuracy of portrait data caused by data inconsistency between different business systems is solved, and the image data of the target object is realized Unified management and comprehensiveness.
Patent Information
- Application Number
- CN202410832159.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-12-17
AI Technical Summary
When processing image data of target objects, the prior art has problems such as poor comprehensiveness of image data and low update accuracy, especially data inconsistency caused by different variable naming methods of different business systems.
By obtaining the first key-value pair generated by the target business system for the target object, determining the variable storage identity based on the original variable identification and variable meaning description information, and updating the image data of the target object based on the variable storage identification and variable value, realizing the multiple services Unified management and comprehensiveness of system data.
It realizes unified management and accurate update of tag data generated by multiple business systems, ensuring the comprehensiveness and accuracy of image data.
Smart Images

Figure CN119149611A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to a data processing method, device and related products. Background Art
[0002] At present, with the advent of the Internet era, the Internet has been widely used in people's daily study, work and life. People's daily affairs can be processed and presented through the Internet. Therefore, it is not only possible to obtain user tag data that represents the basic attributes of users, but also to obtain user behavior data generated by online business processing. Then, data analysis is performed based on user behavior data to obtain corresponding user tag data. These user tag data can be used as a key reference for business processing; for example, for outbound business scenarios, a call channel is established between customer service personnel (i.e., agents) and customers (i.e., target objects) through an intelligent call center. Agents push products to target objects, answer questions, etc. Then, if agents can obtain user tags related to current business processing in a timely manner, this will help agents to process business in a targeted manner. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a data processing method, device and related products thereof, which can realize unified management of label data generated by multiple business systems for target objects and continuously update the portrait data of the target objects; and, since the portrait data of the target objects comes from multiple target business systems, the comprehensiveness of the portrait data can be ensured.
[0004] In order to implement the above technical solution, the embodiment of the present application is implemented as follows:
[0005] In a first aspect, an embodiment of the present application provides a data processing method, the method comprising:
[0006] Obtaining a first key-value pair generated by the target business system for the target object; the first key-value pair includes an original variable identifier and a variable value;
[0007] Determine a variable storage identifier based on the original variable identifier and the variable meaning description information of the original variable identifier;
[0008] Based on the variable storage identifier and the variable value, the portrait data of the target object is updated.
[0009] In a second aspect, an embodiment of the present application provides a data processing device, the device comprising:
[0010] A data acquisition module, used to acquire a first key-value pair generated by a target business system for a target object; the first key-value pair includes an original variable identifier and a variable value;
[0011] A storage identifier determination module, used to determine a variable storage identifier based on the original variable identifier and the variable meaning description information of the original variable identifier;
[0012] A portrait updating module is used to update the portrait data of the target object based on the variable storage identifier and the variable value.
[0013] In a third aspect, an embodiment of the present application provides an electronic device, the device comprising:
[0014] A processor; and a memory arranged to store computer executable instructions, wherein the executable instructions are configured to be executed by the processor, and the executable instructions include instructions for executing the steps in the above method.
[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the storage medium is used to store computer-executable instructions, and the executable instructions enable the computer to execute the steps in the above method.
[0016] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a computer program, and when the computer program is executed by a processor, it implements part or all of the steps in the above method.
[0017] It can be seen that in the embodiment of the present application, the update process of the portrait data of the target object does not directly store the first key-value pair, but first converts the original variable identifier into a variable storage identifier, and uniformly names the variables of different business systems, thereby achieving unified management of the label data generated by multiple business systems for the target object, and continuously updating the portrait data of the target object; and, since the portrait data of the target object comes from multiple target business systems, the comprehensiveness of the portrait data can be ensured. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in one or more of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0019] Figure 1 A schematic diagram of an application scenario of a data processing system provided in an embodiment of the present application;
[0020] Figure 2 A first flow chart of a data processing method provided in an embodiment of the present application;
[0021] Figure 3 A schematic diagram of the first implementation principle of the data processing method provided in the embodiment of the present application;
[0022] Figure 4 A second flow chart of the data processing method provided in the embodiment of the present application;
[0023] Figure 5 A schematic diagram of a second implementation principle of the data processing method provided in an embodiment of the present application;
[0024] Figure 6 A schematic diagram of the module composition of a data processing device provided in an embodiment of the present application;
[0025] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] In order to enable those skilled in the art to better understand the technical solutions in one or more of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only one or more partial embodiments of the present application, rather than all embodiments. Based on one or more embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0027] It should be noted that, in the absence of conflict, one or more embodiments and features in the embodiments of the present application may be combined with each other. The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0028] One or more embodiments of the present application provide a data processing method, device and related products thereof. In certain business scenarios, it is necessary to perform corresponding business processing based on the portrait data of the target object (including multiple label data of the target object). Therefore, there is a need to store and use the portrait data of the target object so as to obtain the label data of the target object required in the current business scenario from the portrait data (for example, the target object is the target user, and correspondingly, the label data may include basic attribute labels such as user age, behavioral analysis labels such as user preferences, etc.); wherein, considering that if the portrait data of the target object only comes from a certain business system, that is, the portrait data only includes the label data obtained by a certain business system based on the business-related data of the target object (such as user behavior data, user social data), then there is bound to be a problem of poor comprehensiveness of the label data contained in the portrait data; and considering that if the portrait data comes from multiple business systems, that is, the portrait data includes the label data obtained by multiple business systems based on the business associations of their respective target objects, then the difference in the variable naming methods of different business systems may lead to the problem of low updating accuracy of the portrait data. Based on the above problems, the present technical solution obtains the target business system's target label data through the acquisition of the target business system's target label data. After the first key-value pair (i.e., object label data) is generated for the target object, the variable storage identifier is first determined based on the original variable identifier and the variable meaning description information of the original variable identifier; then, based on the variable storage identifier and the variable value in the first key-value pair, the portrait data of the target object is updated. In this way, since the first key-value pair is not directly stored, but the original variable identifier is first converted into the variable storage identifier, in the process of converting the original variable identifier into the variable storage identifier, not only the original variable identifier itself but also the variable meaning description information of the original variable identifier is considered. In this way, for the case where the variable names are the same but the variable meanings are different, the original variable identifiers with the same name can be distinguished and converted into different variable storage identifiers, and for the case where the variable names are different but the variable meanings are the same, the original variable identifiers with different names can be regarded as the same variable parameter and converted into the same variable storage identifier, thereby realizing unified naming of variable names of different business systems, and then realizing unified management of label data generated by multiple business systems for the target object, and more accurately updating the portrait data of the target object; in addition, since the portrait data of the target object can come from multiple target business systems, this can ensure the comprehensiveness of the portrait data.
[0029] Among them, the above-mentioned target object can be a target user, a commodity for sale, or other objects. In the embodiments of the present application, the target object is taken as a target user as an example for detailed description, but the present application does not limit this. Figure 1 A schematic diagram of an application scenario of a data processing system provided in an embodiment of the present application, such as Figure 1As shown, the system includes: multiple target business service terminals (service terminals of the target business system), a portrait data storage device and at least one designated terminal device (a terminal device that needs to obtain user tags), wherein the designated terminal device can be a mobile terminal such as a smart phone, a tablet computer, or a terminal device such as a personal computer. When the user authorizes the user tag data of the target business system to the portrait data storage device, the portrait data storage device can be an electronic device that updates the portrait data based on the user tag data uploaded by multiple target business service terminals. The electronic device can be a terminal device or a server. The server can be an independent server or a server cluster composed of multiple servers. In addition, the portrait data storage device can be a service terminal of a preset business system, that is, the user tag data generated by other business systems is stored in a preset business system (the service terminal of the business system as the user tag recipient not only stores the user tags generated by itself for the target user, but also stores the user tags generated by other business systems for the target user). The portrait data storage device can also be a data storage server independent of any target business system, that is, the user tag data of all target business systems is stored in a separate data storage server (the data storage server itself will not generate user tags for the target user, but will uniformly store the user tags generated by any target business system). Specifically, the specific process of the above data processing is:
[0030] The target business server performs data analysis based on the business-related data of the target user to obtain user tag data; the user tag data includes at least one first key-value pair, each first key-value pair includes an original variable identifier and a variable value, corresponding to a user tag;
[0031] After receiving the user tag data uploaded by the target business server, the portrait data storage device extracts the first key-value pair generated by the target business system for the target user from the user tag data;
[0032] The portrait data storage device determines the variable storage identifier based on the original variable identifier in the first key-value pair and the variable meaning description information of the original variable identifier;
[0033] The portrait data storage device updates the portrait data of the target user based on the variable storage identifier and the variable value in the first key-value pair;
[0034] The portrait data storage device queries the sub-portrait data required by the designated terminal device from the above-mentioned portrait data;
[0035] The portrait data storage device sends business processing guidance information to the designated terminal device based on the above sub-portrait data.
[0036] in, Figure 1 A flowchart of a data processing method provided by one or more embodiments of the present application is provided. Figure 1 The method can be performed by an electronic device (i.e., the above Figure 1 The image data storage device in the image data storage device) is executed; Figure 2 As shown, the method comprises at least the following steps:
[0037] S202, obtaining a first key-value pair generated by the target business system for the target object; the first key-value pair includes an original variable identifier and a variable value.
[0038] The above-mentioned heading business system can be any business system. Taking the target object as the target user as an example, the above-mentioned first key-value pair can be a user tag obtained by the target business system based on the analysis of the target user's business-related data (such as user behavior data, user social data). For example, if the target business system includes an intelligent risk control system, the first key-value pair may include the available funds amount and the funds amount value; for another example, if the target business system includes a model prediction system, the first key-value pair may include the business application intention and the model prediction score (used to characterize the degree of intention of the user to apply for a certain business); for another example, if the target business system includes an online shopping system, the first key-value pair may include the user's consumption level and the consumption level value, and the first key-value pair may also include the user's clothing preference and the clothing preference type.
[0039] In some example embodiments, the first key-value pair may be extracted from user tag data uploaded by the target business system. Considering that the data structures of user tag data uploaded by different target business systems are different, resulting in different data parsing rules (such as variable value extraction paths) of different target business systems, variable extraction configuration information may be pre-constructed. The variable extraction configuration information may include multiple variable extraction configuration records, each variable extraction configuration record may include multiple variable extraction configuration fields, and the multiple variable extraction configuration fields may include at least one of a business system identifier, an original variable identifier, a variable type, a variable value extraction path, a variable meaning description information, and a variable value storage priority; wherein, determining the variable extraction configuration information A target extraction configuration record containing a business system identifier of the target business system; based on the target extraction configuration record, extracting a first key-value pair from the user tag data uploaded by the target business system; specifically, since the extraction process of the first key-value pair is executed based on the target extraction configuration record related to the target business system in the variable extraction configuration information, it is possible not to extract the first key-value pairs corresponding to the full amount of original variable identifiers in the user tag data, but to selectively extract the first key-value pairs corresponding to part of the original variable identifiers in the user tag data, thereby achieving more flexible extraction of the required first key-value pairs; and since the variable extraction configuration record can be flexibly configured, dynamic parsing of the user tag data of each target business system can be achieved.
[0040] It should be noted that the above-mentioned first key-value pair is obtained by the target business system performing data analysis according to its own data analysis rules. The embodiment of the present application does not limit which data analysis rules are adopted by different target business systems.
[0041] S204: Determine a variable storage identifier based on the original variable identifier and the variable meaning description information of the original variable identifier.
[0042] After obtaining at least one first key-value pair that can be used as a user label, the variable storage identifier is determined based on the original variable identifier in the first key-value pair and the variable meaning description information of the original variable identifier; in some example embodiments, the original variable identifier can be directly converted based on the preset variable conversion rule to obtain the corresponding variable storage identifier; however, considering that for the original variable identifier A, there may be a situation where a business system uploads user label data containing the original variable identifier A at different time nodes, and there may also be a situation where different business systems upload user label data containing the original variable identifier A, and there may also be a situation where the user identification data contains the first key-value pairs A of multiple target users (that is, the original variable identifier is the first key-value pair of the original variable identifier A), in order to avoid targeting the same To solve the problem of repeated identifier conversion for an original variable identifier, the variable storage identifier a obtained by performing the identifier conversion for the first time for the same original variable identifier can be stored. In this way, if the user tag data containing the original variable identifier A is obtained again subsequently, the stored variable storage identifier a can be directly queried. Therefore, in other example embodiments, the variable storage identifier obtained by performing the identifier conversion for the first time for any original variable identifier is stored in a variable identifier mapping table. Based on this, in the process of determining the variable storage identifier corresponding to the original variable identifier, it is first determined whether there is a target mapping record (for example, a variable identifier mapping record containing the original variable identifier A and its variable description information) in the stored variable identifier mapping table, and then the variable storage identifier corresponding to the original variable identifier is determined according to the determination result.
[0043] Specifically, the above-mentioned variable meaning description information can be obtained from the user tag data uploaded by the target business system; however, considering that the user tag data mainly includes the first key-value pair, if it also includes the variable meaning description information, then it will inevitably increase the complexity of the data structure of the user tag data. In order to simplify the data structure of the user tag data and improve the extraction accuracy of the first key-value pair, therefore, the above-mentioned variable meaning description information can also be obtained from the above-mentioned variable extraction configuration information. Each variable extraction configuration record in the above-mentioned variable extraction configuration information includes not only the business system identifier, the original variable identifier, the variable type, and the variable value extraction path, but also the variable meaning description information.
[0044] S206: Update the portrait data of the target object based on the variable storage identifier and the variable value in the first key-value pair.
[0045] In some example embodiments, multiple tag data in the portrait data may be stored in the form of a key-value pair, and the combination of the variable storage identifier and the variable value in the first key-value pair may be referred to as a second key-value pair. Specifically, after determining the variable storage identifier corresponding to the original variable identifier in the first key-value pair, a second key-value pair is generated based on the variable storage identifier and the variable value in the first key-value pair; then, the portrait data of the target object is updated based on the second key-value pair.
[0046] In an embodiment of the present application, after obtaining the first key-value pair (i.e., object label data) generated by the target business system for the target object, the variable storage identifier is first determined based on the original variable identifier and the variable meaning description information of the original variable identifier; then, based on the variable storage identifier and the variable value in the first key-value pair, the portrait data of the target object is updated. In this way, since the first key-value pair is not directly stored, but the original variable identifier is first converted into the variable storage identifier, in the process of converting the original variable identifier into the variable storage identifier, not only the original variable identifier itself but also the variable meaning description information of the original variable identifier is considered. In this way, for the case where the variable names are the same but the variable representations have different meanings, the original variable identifiers with the same names can be distinguished and converted into different variable storage identifiers, and for the case where the variable names are different but the variable representations have the same meanings, the original variable identifiers with different names can be regarded as the same variable parameter and converted into the same variable storage identifier, thereby realizing unified naming of variable names of different business systems, and then realizing unified management of label data generated by multiple business systems for the target object, and more accurately updating the portrait data of the target object; in addition, since the portrait data of the target object can come from multiple target business systems, this can ensure the comprehensiveness of the portrait data.
[0047] In a specific embodiment, the portrait data storage device may be a server end of an outbound call service system (which may be referred to as an outbound call service server end, i.e., a server end of a preset service system), and the target service system may be other designated service systems other than the outbound call service system (which may be referred to as a target service server end), for example, the target object is a target user, and the target service system may include an intelligent risk control system, a model analysis system, and an online shopping system; in the above Figure 1 Based on this, the update process of the portrait data is as follows: Figure 3 As shown in FIG. 1 , a specific implementation process of a data processing method is given, which mainly includes:
[0048] The target service server sends the generated user tag data to the outbound service server; the user tag data includes at least one first key-value pair, each first key-value pair includes an original variable identifier and a variable value, corresponding to a user tag;
[0049] The outbound call service server receives the user tag data sent by each target service server, and extracts the first key-value pair generated by the target service system for the target user from the user tag data;
[0050] The outbound call service server determines the variable storage identifier based on the original variable identifier in the first key-value pair and the variable meaning description information of the original variable identifier;
[0051] The outbound call service server generates a second key-value pair based on the variable storage identifier and the variable value in the first key-value pair;
[0052] The outbound call service server updates the user portrait data of the target user based on the second key-value pair.
[0053] Among them, for the process of determining the variable storage identifier corresponding to the original variable identifier, taking into account the possibility of storing the same original variable identifier repeatedly (such as the object tag data contains the first key-value pairs of multiple target objects, or the target business system successively uploads the first key-value pairs of different target objects), in order to avoid the problem of repeatedly performing identifier conversion for the same original variable identifier, thereby improving the efficiency of determining the variable storage identifier corresponding to the original variable identifier, based on this, the above S204, based on the above original variable identifier and the variable meaning description information of the original variable identifier, determines the variable storage identifier, specifically including:
[0054] (1) If there is a target mapping record in the variable identifier mapping table, the variable mapping identifier in the target mapping record is determined as the variable storage identifier corresponding to the original variable identifier; the target mapping record is a mapping record including the original variable identifier and the variable meaning description information of the original variable identifier;
[0055] (2) If the target mapping record does not exist in the variable identifier mapping table, an identifier conversion process is performed based on the above original variable identifier to obtain a variable storage identifier corresponding to the original variable identifier; and the variable identifier mapping table is updated based on the variable storage identifier; in a specific implementation, the variable storage identifier corresponding to the original variable identifier is used as the variable mapping identifier, and a variable identifier mapping record is generated based on the original variable identifier, the variable meaning description information of the original variable identifier, and the corresponding variable mapping identifier, and the variable identifier mapping record is added to the variable identifier mapping table.
[0056] Specifically, if there is no target mapping record in the variable identifier mapping table, it means that the user tag data containing a certain original variable identifier (such as the original variable identifier A) is received for the first time. Therefore, it is necessary to perform an identifier conversion process on the original variable identifier based on the preset variable conversion rule to obtain a variable storage identifier (such as variable storage identifier a); if there is a target mapping record in the variable identifier mapping table, it means that it is not the first time that the user tag data containing the original variable identifier (such as the original variable identifier A) is received. Therefore, the variable mapping identifier corresponding to the original variable identifier in the target mapping record is directly determined as the variable storage identifier; for example, after receiving the user tag data of target user 1 uploaded by a target business system, the original variable identifier A is identifier converted based on the preset variable conversion rule to obtain the variable storage identifier a; then, for the first key-value pair containing the original variable identifier A of target user 2, the variable storage identifier a can be directly obtained from the variable identifier mapping table.
[0057] Among them, in the process of converting the original variable identifier to the variable identifier, in order to ensure that the variable storage identifier corresponding to the original variable identifier has regularity and uniqueness, and at the same time to simplify the process of determining the variable storage identifier, the variable storage identifier can be determined by combining the type mark character corresponding to the type of the variable to which the original variable identifier belongs and the variable newly added serial number of the original variable identifier under the type to which the variable belongs. Based on this, the above-mentioned identifier conversion processing based on the above-mentioned original variable identifier is performed to obtain the variable storage identifier corresponding to the original variable identifier, which specifically includes:
[0058] Based on the variable type of the above-mentioned original variable identifier, determine the newly added variable serial number under the variable type; in some example embodiments, the newly added variable serial number can be equal to the number of existing variable identifiers under the variable type of the original variable identifier plus one; the existing variable identifier refers to the original variable identifier that belongs to the same variable type and the corresponding variable storage identifier has been determined, that is, the number of existing variable identifiers refers to the number of mapping records of the variable type of the original variable identifier in the variable identifier mapping table.
[0059] Based on the newly added serial number of the above variable and the type marking character set for the type to which the above variable belongs, an identifier conversion process is performed to obtain a variable storage identifier corresponding to the above original variable identifier.
[0060] In some example embodiments, the types of the above-mentioned variables may include static user tags (such as age, gender, etc.) and dynamic user tags (such as shopping preferences, credit rating, etc.). The types of variables can be divided according to whether the user tags corresponding to the original variable identifiers are obtained based on the analysis of user behavior data. The types of variables can also be distinguished according to other division dimensions, for example, according to the source of the user tags (that is, which target business system they come from). This application does not limit what the types of variables specifically include.
[0061] Specifically, after determining the variable new serial number and type mark character corresponding to the original variable identifier to be converted, the variable new serial number and the type mark character can be combined to obtain the variable storage identifier corresponding to the original variable identifier; in some example embodiments, in order to reduce the storage space occupied by the variable storage identifier and improve the utilization rate of the data storage space, the variable new serial number can be first converted to hexadecimal to obtain the hexadecimal new serial number, and then the hexadecimal new serial number and the type mark character are combined to obtain the variable storage identifier corresponding to the original variable identifier.
[0062] In order to improve the extraction efficiency and accuracy of the first key-value pair, the object tag data from the target business system may be data that conforms to a preset data exchange format. Based on this, the above S202, obtaining the first key-value pair generated by the target business system for the target object, specifically includes:
[0063] Step 1: receiving object tag data in a preset data exchange format sent by a target business system;
[0064] Step 2: Based on the data parsing rules corresponding to the target business system, the object tag data is parsed to obtain a first key-value pair generated by the target business system for the target object.
[0065] In some example embodiments, the preset data exchange format may be JSON (JavaScript Object Notation) format, which is a lightweight data exchange format, or other data exchange formats, so as to concatenate multiple first key-value pairs together in JSON format to obtain object label data. In this way, the value path of the first key-value pair contained in the object label data (corresponding to the variable value extraction path, used to indicate how to obtain values from data in JSON format) is known, and the portrait data storage device can quickly and accurately extract the required first key-value pair from the object label data.
[0066] The above-mentioned data parsing rules correspond to at least one variable extraction configuration record. Therefore, the above-mentioned data parsing rules may include variable value extraction paths, and the variable value extraction paths corresponding to different target business systems may be different; for the case where the object tag data uploaded by a certain target business system includes first key-value pairs corresponding to multiple original variable identifiers, the variable value extraction paths containing first key-value pairs with different original variable identifiers may also be different. Therefore, the data parsing rules corresponding to the target business system may include multiple data sub-parsing rules, each data sub-parsing rule and a target extraction configuration record in the variable extraction configuration information, and the data parsing rules corresponding to the target business system are determined based on the variable value extraction path in the target extraction configuration record.
[0067] Specifically, since the variable extraction configuration information has been constructed in advance, after obtaining the object tag data from the target business system, the target extraction configuration record of the target business system (that is, the variable extraction configuration record containing the business system identifier of the target business system) is first determined from the variable extraction configuration information; then, based on the variable value extraction path in the target extraction configuration record, the first key-value pair is extracted from the object tag data uploaded by the target business system; in the specific implementation, each target extraction configuration record corresponds to an original identification variable. If it is necessary to extract the first key-value pairs corresponding to multiple original identification variables from the object tag data of a certain target business system, then the number of target extraction configuration records can be multiple, and then, for each original identification variable, based on the variable value extraction path in the target extraction configuration record corresponding to the original identification variable, the first key-value pair containing the original identification variable is extracted from the object tag data.
[0068] In the updating process of the portrait data, based on the object identifier of the target object, the variable storage identifier and the corresponding variable value are stored in the corresponding portrait data. Specifically, the above S206, based on the above variable storage identifier and the variable value in the above first key-value pair, updates the portrait data of the target object, specifically including:
[0069] The variable storage identifier and the variable value in the first key-value pair are stored in the portrait data of the target object; in this way, the newly added variable storage identifier and the variable value corresponding to the variable storage identifier (corresponding to the second key-value pair) are continuously added to the portrait data of the target object, and the portrait data of the target object is dynamically updated, so that the portrait data contains object labels in more dimensions, making the portrait data more comprehensive for reference.
[0070] In some example embodiments, taking into account that the portrait data of the target object is continuously updated along with the object tag data sent by the target business system, the first key-value pairs corresponding to different original variable identifiers may be obtained at different time nodes. In order to avoid scattered storage of the portrait data of the same target object, thereby ensuring the query efficiency of the sub-portrait data, the portrait data of the same target object is stored in the same storage block in the storage medium. Based on this, for the update process of the portrait data of the target object, the storage block identifier corresponding to the target object is first determined, and based on the storage block identifier, the above-mentioned variable storage identifier and the variable value corresponding to the variable storage identifier are written to the target storage block used to store the portrait data of the target object; in this way, in the query process of the portrait data of the target object, the target storage block of the target object is first located based on the object identifier of the target object, and then the sub-portrait data required by the specified terminal device is read from the target storage block. In addition, when portrait data is stored in a distributed database (such as Hadoop database), in order to avoid hbase hot spots, the object identifier of the target object is usually inverted and the inverted object identifier is stored. However, this will inevitably lead to the problem of dispersing highly correlated data in different storage blocks in different regions, resulting in reduced data query efficiency. Therefore, by partitioning the storage medium and storing the portrait data of the same target object in the same storage block in the storage medium, the problem of low data query efficiency caused by object identifier inversion can also be avoided.
[0071] Among them, considering that if the order of magnitude of the target object is relatively large, it will take a certain amount of time to update the portrait data. Therefore, for the case where there are multiple original variable identifiers, the use priority of the variable values of different original variable identifiers may be different. For example, the data query party has a relatively high timeliness requirement for the acquisition of the variable value of a certain original variable identifier. Therefore, in order to meet the data query party's requirements for the timeliness of the acquisition of certain variable values, the use priority of the variable values of the original variable identifier is distinguished, and then the storage priority order of the variable value corresponding to the variable storage identifier (corresponding to the second key-value pair corresponding to the original variable identifier) is determined, so as to achieve the effect of giving priority to the storage of the variable value of the original variable identifier with high timeliness requirement. Specifically, the above-mentioned storing the above-mentioned variable storage identifier and the variable value in the portrait data of the target object specifically includes:
[0072] Determine the data storage priority of the variable storage identifier based on the variable value usage priority of the original variable identifier;
[0073] In descending order of data storage priority, multiple variable storage identifiers and variable values corresponding to the variable storage identifiers are stored in the portrait data of the target object.
[0074] In some example embodiments, since there is a need to obtain the variable value usage priority of the original variable identifier, the variable value usage priority can also be obtained from the variable extraction configuration information. Each variable extraction configuration record in the variable extraction configuration information includes not only the business system identifier, the original variable identifier, the type of variable, the variable value extraction path, and the variable meaning description information, but also the variable value usage priority. In addition, for the original variable identifier after the identifier conversion has been completed, the variable value usage priority of the original variable identifier can also be obtained from the variable identifier mapping table. Each variable identifier mapping record in the variable identifier mapping table includes not only the original variable identifier, the type of variable, and the variable meaning description information, but also the variable value usage priority. For the newly added original variable identifier, there is no target mapping record corresponding to the original variable identifier in the variable identifier mapping table. Therefore, the variable value usage priority corresponding to the original variable identifier needs to be obtained from the variable extraction configuration information. Then, after determining the corresponding variable storage identifier for the newly added original variable identifier and adding a variable identifier mapping record, the original variable The variable value usage priority corresponding to the identifier is added to the corresponding variable identifier mapping record, so that the variable storage identifier and variable value usage priority corresponding to the original variable identifier can be obtained from the variable identifier mapping table later, and then the data storage priority of the variable storage identifier (that is, the storage priority of the second key-value pair containing the variable storage identifier and the variable value) is determined; then, in order of data storage priority from high to low, multiple second key-value pairs are stored in the portrait data of the target object; for example, for the original variable identifier A (corresponding to the variable storage identifier a) and the original variable identifier B (corresponding to the variable storage identifier b), if the storage timeliness requirement of the variable value of the original variable identifier A is higher than that of the original variable identifier B, that is, the variable value usage priority of the original variable identifier A is higher than that of the original variable identifier B, then, the variable storage identifier a and the variable value of the variable storage identifier a of each target object are first stored in the portrait data of the target object, and after the portrait data is updated based on the variable value of the variable storage identifier a, the variable storage identifier b and the variable value of the variable storage identifier b of each target object are stored in the portrait data of the target object.
[0075] Among them, considering that the portrait data of the target object can be used as a key reference for a certain business processing, therefore, according to the data acquisition requirements of the data query party, the required sub-portrait data or the business processing guidance information generated based on the sub-portrait data can be sent to the terminal device of the data query party. Specifically, Figure 4 As shown, in the above S206, after updating the portrait data of the target object based on the above variable storage identifier and the variable value, it also includes:
[0076] S208, querying the sub-portrait data required by the designated terminal device from the portrait data of the target object.
[0077] S210: Based on the above sub-portrait data, business processing guidance information is sent to the designated terminal device.
[0078] In some example embodiments, corresponding sub-portrait data may be queried based on a query request from a data query party, and a designated terminal device may be a target query terminal. In other example embodiments, corresponding sub-portrait data may also be automatically queried based on the business processing requirements of the designated terminal device. For example, for an outbound call service system, the designated terminal device may be a target agent terminal, and sub-portrait data may be automatically determined based on event association information between the target agent terminal and the outbound call event of the target object. The outbound call interaction speech may then be determined based on the sub-portrait data, and the outbound call interaction speech may be used as business processing guidance information. That is, outbound call interaction speech for guiding agent business processing may be automatically sent to the target agent terminal for the outbound call event between the target agent terminal and the target object, without the agent terminal sending a data query request, so as to achieve the effect of providing business processing guidance to the target agent.
[0079] Among them, for the case where the above-mentioned designated terminal device includes a target query terminal, that is, when the query party initiates a data query request, the corresponding business processing guidance information is returned to the target query terminal. Specifically, the above-mentioned S208 queries the sub-portrait data required by the designated terminal device from the portrait data of the target object, specifically including: obtaining a data query request from the target query terminal; the above-mentioned data query request carries the object identification and query range indication information of the target object; in response to the above-mentioned data query request, obtaining the sub-portrait data corresponding to the above-mentioned query range indication information from the portrait data of the target object.
[0080] Correspondingly, the above S210, based on the above sub-portrait data, sends business processing guidance information to the designated terminal device, specifically including: restoring the variable identifier based on the above sub-portrait data to obtain the restored original variable identifier; generating business processing guidance information based on the original variable identifier and the variable value corresponding to the original variable identifier, and sending the business processing guidance information to the above target query terminal; specifically, considering that the sub-portrait data includes multiple variable storage identifiers and corresponding variable values, and the variable storage identifier may be a character string whose variable name is unknown, therefore, for each variable storage identifier contained in the sub-portrait data (corresponding to a second key-value pair), the variable storage identifier can be first restored to obtain the corresponding original variable identifier, and then based on the original variable identifier and the corresponding variable value, a first key-value pair is generated, and then the sub-portrait data containing the first key-value pair is determined as the business processing guidance information.
[0081] Specifically, considering that the querying party usually needs to obtain multiple object tags of the target object at the same time, multiple variable identifiers can be grouped in advance, and each variable identifier group corresponds to a variable query interface, so that the querying party can obtain the variable value of each variable identifier in the corresponding variable identifier group through a variable query interface. Based on this, the above-mentioned query range indication information includes the variable query interface identifier, and the above-mentioned response to the above-mentioned data query request, obtaining the sub-portrait data corresponding to the above-mentioned query range indication information from the above-mentioned portrait data, specifically includes: responding to the above-mentioned data query request, based on the pre-stored variable grouping configuration information, determining the variable identifier group corresponding to the above-mentioned variable query interface identifier; obtaining the sub-portrait data corresponding to the above-mentioned variable identifier group from the portrait data of the target object.
[0082] In some example embodiments, in order to facilitate the query party to more intuitively select which variable identifier group to query for variable values, the above-mentioned variable query interface can be implemented by a touchable control, and a corresponding variable group query control is configured for each variable identifier group, and then the variable group query control is displayed on the target query terminal. If a trigger operation of a variable group query control by the query user is detected, the target query terminal sends a data query request carrying the control identifier of the variable group query control to the portrait data storage device. Based on this, the above-mentioned query range indication information includes the control identifier of the variable group query control, and the above-mentioned query range indication information is determined by the target query terminal detecting a trigger operation on a pre-configured variable group query control; therefore, in the data query When the query user needs to query the variable values corresponding to multiple original variable identifiers, there is no need to manually enter the multiple variable identifiers one by one. Instead, the query user only needs to click the variable group query control corresponding to the multiple original variable identifiers to trigger the query terminal to send a query request to the portrait data storage device to query the variable values corresponding to the multiple original variable identifiers, thereby enabling the portrait data storage device to quickly and accurately query the corresponding sub-portrait data from the portrait data of the target object; in addition, the query party can also check which variables are included in the variable identifier group corresponding to the variable group query control through the first trigger operation of the variable group query control, and then decide which variable group query control to perform the second trigger operation on to trigger the target query terminal to send the corresponding data query request.
[0083] Among them, for the case where the above-mentioned designated terminal device includes the target agent terminal, that is, there is no need for the user to initiate a data query request, but the corresponding business processing guidance information is automatically returned to the designated terminal device. Specifically, the above-mentioned S208 queries the sub-portrait data required by the designated terminal device from the portrait data of the target object, specifically including: obtaining event association information of the outbound call event between the target agent terminal and the target object; determining the sub-portrait data associated with the above-mentioned event association information from the above-mentioned portrait data.
[0084] Correspondingly, the above S210 sends business processing guidance information to the designated terminal device based on the above sub-portrait data, specifically including: matching interactive speech based on the above sub-portrait data to obtain outbound interactive speech information; generating business processing guidance information based on the outbound interactive speech information, and sending the business processing guidance information to the target agent terminal.
[0085] In a specific embodiment, Figure 5 As shown, the portrait data storage device can be a server of an outbound call service system (can be called an outbound call service server, i.e., a server of a preset service system), and the target service system can be other designated service systems other than the outbound call service system (can be called a target service server). For example, the target object is a target user, and the target service system can include an intelligent risk control system, a model analysis system, and an online shopping system. In addition, the terminal device requesting data query is a target agent terminal. In the above Figure 3 Based on this, a specific implementation process of a data processing method is given, which mainly includes:
[0086] (1) The target service server sends the generated user tag data to the outbound service server; the user tag data conforms to the JSON format, and the user tag data includes a plurality of first key-value pairs concatenated in the JSON format, and each first key-value pair includes an original variable identifier and a variable value.
[0087] In some example embodiments, the specific data structure of the user tag data may be:
[0088]
[0089] (2) After receiving the user tag data sent by the target business server, the outbound call service server determines the target extraction configuration record corresponding to the target business system based on a pre-constructed variable extraction configuration table; based on the variable value extraction path in the target extraction configuration record, extracts the first key-value pair generated by the target business system for the target user from the user tag data.
[0090] In some example embodiments, the user tag data is parsed, and the first key-value pairs obtained may include:
[0091] Serial number Original variable identifier Variable Value 1 appName1 Risk Control 2 name1 Zhang San 3 age1 30 4 sex1 male 5 amountUp 1 6 rateDown 1
[0092] (3) After extracting the first key-value pair, the outbound call service server determines whether there is a target mapping record in the variable identifier mapping table based on the original variable identifier in the first key-value pair and the variable meaning description information of the original variable identifier; if so, the variable mapping identifier in the target mapping record is determined as the variable storage identifier corresponding to the original variable identifier; if not, the server performs identifier conversion processing based on the newly added sequence number of the variable under the type to which the original variable identifier belongs and the type mark character corresponding to the type to which the original variable identifier belongs, and determines the variable storage identifier corresponding to the original variable identifier; and updates the variable identifier mapping table based on the newly added original variable identifier and its corresponding variable storage identifier.
[0093] In some example embodiments, when the variable identifier mapping table is empty, if the original variable identifiers appName1, name1, age1, and sex1 belong to the same variable type, then the newly added variable serial number of appName1 can be 1, the newly added variable serial number of name1 can be 2, the newly added variable serial number of age1 can be 3, and the newly added variable serial number of sex1 can be 4; if the original variable identifiers amountUp and rateDown belong to another variable type, then the newly added variable serial number of amountUp can be 1, and the newly added variable serial number of rateDown can be 2.
[0094] In the specific implementation, in order to reduce the storage space occupied by the variable storage identifier and improve the utilization rate of the data storage space, the new variable serial number can be first converted into hexadecimal to obtain the new hexadecimal serial number, and then the new hexadecimal serial number and the type mark character are combined to obtain the variable storage identifier corresponding to the original variable identifier.
[0095] Specifically, the hexadecimal conversion table can be:
[0096] Decimal Thirty-hexadecimal 10 a 20 k 30 u 40 14 50 1e 100 2s 1000 rs 10000 7ps
[0097] Still taking the example that the variable types include static user tags (such as age, gender, etc.) and dynamic user tags (such as shopping preferences, credit rating, etc.), if the type marking character corresponding to the static user tag can be p, and the type marking character corresponding to the dynamic user tag can be b, for an original variable identifier belonging to a static user tag, if the original variable identifier is the 1000th newly added variable under the static user tag, then the variable new serial number is 1000, the variable storage identifier before hexadecimal conversion is p1000, and the variable storage identifier after hexadecimal conversion is p rs.
[0098] (4) The outbound call service server generates a second key-value pair based on the variable storage identifier and the variable value in the first key-value pair.
[0099] (5) After determining the above-mentioned second key-value pair, the outbound call service service end determines the data storage priority corresponding to the variable storage identifier based on the variable value usage priority of the original variable identifier; and updates the user portrait data of the target user based on the above-mentioned second key-value pair in the order of storage priority from high to low.
[0100] (6) After monitoring the triggering operation of a variable group query control by the query user, the target query terminal sends a data query request carrying the user ID of the target user and the control ID of the variable group query control to the outbound call service server.
[0101] (7) The outbound call service server, in response to the data query request, determines the target variable identifier group corresponding to the control identifier based on a pre-stored variable group configuration table.
[0102] In some example embodiments, the pre-stored variable grouping configuration table may be:
[0103]
[0104] In a specific implementation, if the control identifier carried in the data query request is code1, the variable identifier group of user basic information is determined as the target variable identifier group.
[0105] (8) The outbound call service server queries the sub-portrait data corresponding to the target variable identification group from the target user's portrait data.
[0106] (9) The outbound call service server performs variable identification restoration based on the above sub-portrait data, and sends service processing guidance information to the designated terminal device based on the sub-portrait data after identification restoration.
[0107] The data processing method in the embodiment of the present application, after obtaining the first key-value pair (i.e., object label data) generated by the target business system for the target object, first determines the variable storage identifier based on the original variable identifier and the variable meaning description information of the original variable identifier; then, based on the variable storage identifier and the variable value in the first key-value pair, updates the portrait data of the target object. In this way, since the first key-value pair is not directly stored, but the original variable identifier is first converted into the variable storage identifier, wherein in the process of converting the original variable identifier into the variable storage identifier, not only the original variable identifier itself but also the variable meaning description information of the original variable identifier is considered, so that for the case where the variable names are the same but the variable representations have different meanings, the original variable identifiers with the same names can be distinguished and converted into different variable storage identifiers, and for the case where the variable names are different but the variable representations have the same meanings, the original variable identifiers with different names can be regarded as the same variable parameter and converted into the same variable storage identifier, thereby realizing unified naming of variable names of different business systems, and then realizing unified management of label data generated by multiple business systems for the target object, and more accurately updating the portrait data of the target object; in addition, since the portrait data of the target object can come from multiple target business systems, this can ensure the comprehensiveness of the portrait data.
[0108] Corresponding to the above Figures 2 to 5 The data processing method described above is based on the same technical concept. The embodiment of the present application also provides a data processing device. Figure 6 A schematic diagram of the first module composition of a data processing device provided in an embodiment of the present application, the device is used to execute Figures 2 to 5 The data processing methods described, such as Figure 6 As shown, the device comprises:
[0109] The data acquisition module 602 is used to acquire a first key-value pair generated by the target business system for the target object; the first key-value pair includes an original variable identifier and a variable value;
[0110] A storage identifier determination module 604, configured to determine a variable storage identifier based on the original variable identifier and the variable meaning description information of the original variable identifier;
[0111] The portrait updating module 606 is used to update the portrait data of the target object based on the variable storage identifier and the variable value.
[0112] The data processing device in the embodiment of the present application, after obtaining the first key-value pair (i.e., object label data) generated by the target business system for the target object, first determines the variable storage identifier based on the original variable identifier and the variable meaning description information of the original variable identifier; then, based on the variable storage identifier and the variable value in the first key-value pair, updates the portrait data of the target object. In this way, since the first key-value pair is not directly stored, but the original variable identifier is first converted into the variable storage identifier, wherein in the process of converting the original variable identifier into the variable storage identifier, not only the original variable identifier itself but also the variable meaning description information of the original variable identifier is considered, so that for the case where the variable names are the same but the variable representations have different meanings, the original variable identifiers with the same names can be distinguished and converted into different variable storage identifiers, and for the case where the variable names are different but the variable representations have the same meanings, the original variable identifiers with different names can be regarded as the same variable parameter and converted into the same variable storage identifier, thereby realizing unified naming of variable names of different business systems, and then realizing unified management of label data generated by multiple business systems for the target object, and more accurately updating the portrait data of the target object; in addition, since the portrait data of the target object can come from multiple target business systems, the comprehensiveness of the portrait data can be ensured.
[0113] It should be noted that the embodiments of the data processing device in the present application and the embodiments of the data processing method in the present application are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the corresponding data processing method mentioned above, and the repeated parts will not be repeated.
[0114] Corresponding to the above Figures 2 to 5 Based on the same technical concept, the present application also provides an electronic device for executing the above data processing method. Figure 7 shown.
[0115] Electronic devices may have relatively large differences due to different configurations or performances, and may include one or more processors 701 and memory 702, and the memory 702 may store one or more storage applications or data. Among them, the memory 702 may be a temporary storage or a permanent storage. The application stored in the memory 702 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the electronic device. Furthermore, the processor 701 may be configured to communicate with the memory 702 to execute a series of computer executable instructions in the memory 702 on the electronic device. The electronic device may also include one or more power supplies 703, one or more wired or wireless network interfaces 704, one or more input and output interfaces 705, one or more keyboards 706, etc.
[0116] The electronic device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions for the electronic device, and the one or more programs are configured to be executed by one or more processors, including computer executable instructions for performing the following:
[0117] Obtaining a first key-value pair generated by the target business system for the target object; the first key-value pair includes an original variable identifier and a variable value;
[0118] Determine a variable storage identifier based on the original variable identifier and the variable meaning description information of the original variable identifier;
[0119] Based on the variable storage identifier and the variable value, the portrait data of the target object is updated.
[0120] The electronic device in the embodiment of the present application, after obtaining the first key-value pair (i.e., object label data) generated by the target business system for the target object, first determines the variable storage identifier based on the original variable identifier and the variable meaning description information of the original variable identifier; then, based on the variable storage identifier and the variable value in the first key-value pair, updates the portrait data of the target object. In this way, since the first key-value pair is not directly stored, but the original variable identifier is first converted into the variable storage identifier, wherein in the process of converting the original variable identifier into the variable storage identifier, not only the original variable identifier itself but also the variable meaning description information of the original variable identifier is considered, so that for the case where the variable names are the same but the variable representations have different meanings, the original variable identifiers with the same names can be distinguished and converted into different variable storage identifiers, and for the case where the variable names are different but the variable representations have the same meanings, the original variable identifiers with different names can be regarded as the same variable parameter and converted into the same variable storage identifier, thereby realizing unified naming of variable names of different business systems, and then realizing unified management of label data generated by multiple business systems for the target object, and more accurately updating the portrait data of the target object; in addition, since the portrait data of the target object can come from multiple target business systems, this can ensure the comprehensiveness of the portrait data.
[0121] It should be noted that the embodiment of the electronic device in the present application and the embodiment of the data processing method in the present application are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the corresponding data processing method mentioned above, and the repeated parts will not be repeated.
[0122] Corresponding to the above Figures 2 to 5The method shown is based on the same technical concept. The embodiment of the present application also provides a computer-readable storage medium for storing computer-executable instructions. The storage medium can be a USB flash drive, an optical disk, a hard disk, etc. When the computer-executable instructions stored in the storage medium are executed by the processor, the following process can be implemented:
[0123] Obtaining a first key-value pair generated by the target business system for the target object; the first key-value pair includes an original variable identifier and a variable value;
[0124] Determine a variable storage identifier based on the original variable identifier and the variable meaning description information of the original variable identifier;
[0125] Based on the variable storage identifier and the variable value, the portrait data of the target object is updated.
[0126] When the computer executable instructions stored in the storage medium in the embodiment of the present application are executed by the processor, after obtaining the first key-value pair (i.e., object label data) generated by the target business system for the target object, the variable storage identifier is first determined based on the original variable identifier and the variable meaning description information of the original variable identifier; then, based on the variable storage identifier and the variable value in the first key-value pair, the portrait data of the target object is updated. In this way, since the first key-value pair is not directly stored, but the original variable identifier is first converted into the variable storage identifier, in the process of converting the original variable identifier into the variable storage identifier, not only the original variable identifier itself but also the variable meaning description of the original variable identifier is considered. Information, so that in the case where the variable names are the same but the variable meanings are different, the original variable identifiers with the same name can be distinguished and converted into different variable storage identifiers; and in the case where the variable names are different but the variable meanings are the same, the original variable identifiers with different names can be regarded as the same variable parameters and converted into the same variable storage identifier, thereby achieving unified naming of variable names in different business systems, and then achieving unified management of label data generated by multiple business systems for target objects, and more accurately updating the portrait data of the target object; in addition, since the portrait data of the target object can come from multiple target business systems, this can ensure the comprehensiveness of the portrait data.
[0127] It should be noted that the embodiment of the storage medium in the present application and the embodiment of the data processing method in the present application are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the corresponding data processing method mentioned above, and the repeated parts will not be repeated.
[0128] An embodiment of the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements some or all of the steps in the above method; wherein, when the computer program product is run on a computer, it enables the computer to execute the above-mentioned related steps to implement the method in the above embodiment.
[0129] In addition, an embodiment of the present application also provides a device, which may specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor may execute the computer-executable instructions stored in the memory so that the chip executes the methods in the above-mentioned method embodiments.
[0130] Among them, the electronic device, server, computer storage medium, computer program product or chip provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.
[0131] The above describes a specific embodiment of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiment and still achieve the desired results. In addition, the process depicted in the accompanying drawings does not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous. It should be understood by those skilled in the art that the embodiments of the present application can be provided as methods, systems or computer program products. Therefore, the embodiments of the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0132] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.
[0133] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0134] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory. Memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium. Computer-readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission medium for storing information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory media, such as modulated data signals and carrier waves. It should also be noted that the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device that includes a series of elements includes not only those elements, but also other elements that are not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device that includes the elements.
[0135] The embodiments of the present application can be described in the general context of computer executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of the present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices. The various embodiments in the present application are described in a progressive manner, and the same and similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The above is only an embodiment of this document and is not intended to limit this document. For those skilled in the art, this document may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this document should be included in the scope of the claims of this document.
Claims
1. A data processing method, characterized in that: The method comprises: Obtaining a first key-value pair generated by the target business system for the target object; the first key-value pair includes an original variable identifier and a variable value; Determine a variable storage identifier based on the original variable identifier and the variable meaning description information of the original variable identifier; Based on the variable storage identifier and the variable value, the portrait data of the target object is updated.
2. The method according to claim 1, characterized in that: The determining the variable storage identifier based on the original variable identifier and the variable meaning description information of the original variable identifier includes: If there is a target mapping record in the variable identifier mapping table, the variable mapping identifier in the target mapping record is determined as the variable storage identifier; the target mapping record is a mapping record including the original variable identifier and the variable meaning description information of the original variable identifier; If the target mapping record does not exist in the variable identifier mapping table, an identifier conversion process is performed based on the original variable identifier to obtain the variable storage identifier.
3. The method according to claim 2, characterized in that The performing the identifier conversion process based on the original variable identifier to obtain the variable storage identifier includes: Based on the type of the variable identified by the original variable, determine a newly added sequence number of the variable under the type to which the variable belongs; The variable storage identifier is obtained by performing identifier conversion processing based on the newly added serial number of the variable and the type marking character set for the type to which the variable belongs.
4. The method according to claim 1, characterized in that: The step of obtaining a first key-value pair generated by the target business system for the target object includes: Receiving object tag data that complies with a preset data exchange format and is sent by a target business system; Based on the data parsing rule corresponding to the target business system, the object tag data is parsed to obtain the first key-value pair.
5. The method according to claim 1, characterized in that The updating of the portrait data of the target object based on the variable storage identifier and the variable value includes: The variable storage identifier and the variable value are stored in the portrait data of the target object.
6. The method according to claim 5, characterized in that The number of the original variable identifiers is multiple; storing the variable storage identifier and the variable value in the portrait data of the target object includes: Determining a data storage priority of the variable storage identifier based on the variable value usage priority of the original variable identifier; According to the data storage priority, the plurality of variable storage identifiers and the variable values corresponding to the variable storage identifiers are stored in the portrait data of the target object.
7. The method according to claim 1, characterized in that Also includes: Querying sub-portrait data required by a designated terminal device from the portrait data; Based on the sub-portrait data, business processing guidance information is sent to the designated terminal device.
8. The method according to claim 7, characterized in that The designated terminal device includes a target query terminal, and querying the sub-portrait data required by the designated terminal device from the portrait data includes: Acquire a data query request from the target query terminal; the data query request carries the object identifier of the target object and query range indication information; In response to the data query request, acquiring sub-portrait data corresponding to the query range indication information from the portrait data; The sending of service processing guidance information to the designated terminal device based on the sub-portrait data includes: Perform variable identification restoration based on the sub-portrait data to obtain the restored original variable identification; Based on the original variable identifier and the variable value corresponding to the original variable identifier, business processing guidance information is generated, and the business processing guidance information is sent to the target query terminal.
9. The method according to claim 7, characterized in that: The designated terminal device includes a target agent terminal, and the querying of the sub-portrait data required by the designated terminal device from the portrait data includes: Acquire event association information between the target agent terminal and the outbound call event of the target object; Determining sub-portrait data associated with the event-related information from the portrait data; The sending of service processing guidance information to the designated terminal device based on the sub-portrait data includes: Perform interactive speech matching based on the sub-portrait data to obtain outbound interactive speech information; Based on the outbound call interaction speech information, business processing guidance information is generated, and the business processing guidance information is sent to the target agent terminal.
10. The method according to claim 8, characterized in that The query range indication information includes a variable query interface identifier; The acquiring sub-portrait data corresponding to the query range indication information from the portrait data includes: Determine, based on pre-stored variable grouping configuration information, a variable identifier group corresponding to the variable query interface identifier; Sub-portrait data corresponding to the variable identification grouping is obtained from the portrait data.
11. A data processing device, characterized in that: The device comprises: A data acquisition module, used to acquire a first key-value pair generated by a target business system for a target object; the first key-value pair includes an original variable identifier and a variable value; A storage identifier determination module, used to determine a variable storage identifier based on the original variable identifier and the variable meaning description information of the original variable identifier; A portrait updating module is used to update the portrait data of the target object based on the variable storage identifier and the variable value.
12. An electronic device, characterized in that: The device comprises: Processor; and A memory arranged to store computer executable instructions, the executable instructions being configured to be executed by the processor, the executable instructions comprising instructions for performing the steps of the method according to any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that: The storage medium is used to store computer-executable instructions, and the executable instructions enable a computer to execute the method according to any one of claims 1 to 10.
14. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 10 is implemented.
Citation Information
Patent Citations
Personalized information pushing method based on user portrait and user side
CN110659414A
Data storage method, apparatus and device, data query method, apparatus and device, and medium
CN110955646A
On-demand method based on user portrait, storage medium and smart television
CN111327955A
Data batch processing method, device and equipment and computer readable storage medium
CN115495483A
Data conversion method and device, equipment and storage medium
CN117539590A
