Support degree determination method and device based on interaction data, electronic equipment and medium
By calculating the interaction score in the interactive data, the support score of the target object is automatically determined, which solves the problem of low efficiency in the existing technology of interactive data processing, and realizes efficient data processing and personalized management plan support.
Patent Information
- Application Number
- CN202510127814.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-05
- Publication Date
- 2025-03-04
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, the interactive data generated during the supervision process is less efficient, and relying on manual evaluation leads to inefficiency.
By obtaining the interaction data of the target object, including interaction methods, interaction times and interaction types, the interaction score is calculated using the preset weight table, and the support score of the target object is determined based on the interaction score.
It realizes automated processing of interactive data, improves the processing efficiency of interactive data, and provides a reliable basis for personalized customized management plans.
Smart Images

Figure CN119558735A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data analysis technology, and in particular to a method, device, electronic device and medium for determining support based on interactive data. Background Art
[0002] During the supervision process, the target object often generates a large amount of interaction data. The existing technology processes the interaction data in a way that monitoring personnel conduct manual evaluation to obtain corresponding evaluation scores, so as to facilitate subsequent analysis based on the evaluation scores. This data processing method of the existing technology is inefficient. Summary of the invention In view of this, the purpose of the present invention is to overcome the deficiencies in the prior art and provide a method, device, electronic device and medium for determining support based on interactive data. The present invention provides the following technical solutions: In a first aspect, the present invention provides a method for determining support based on interaction data, the method comprising: Acquire interaction data of the target object, the interaction data including N interaction object identifiers and interaction information corresponding to each of the interaction object identifiers, the interaction information including interaction mode, interaction times and interaction type; Traversing the first preset weight table according to the interaction mode corresponding to the i-th interaction object identifier, obtaining the mode weight corresponding to the i-th interaction object identifier; Traversing the second preset weight table according to the interaction type corresponding to the i-th interaction object identifier, obtaining the type weight corresponding to the i-th interaction object identifier; Determine the interaction score corresponding to the i-th interaction object identifier according to the mode weight, the type weight and the number of interactions corresponding to the i-th interaction object identifier, 1≤i≤N; A support score of the target object is determined according to each of the interaction scores.
[0003] In one implementation, the interaction score corresponding to the ith interaction object identifier is determined according to the mode weight, the type weight, and the number of interactions corresponding to the ith interaction object identifier, and the calculation formula is:
[0004] in, represents the interaction score corresponding to the ith interaction object identifier, represents the mode weight corresponding to the i-th interaction object identifier, represents the type weight corresponding to the i-th interactive object identifier, Indicates the number of interactions corresponding to the i-th interaction object identifier.
[0005] In one implementation, determining the support score of the target object according to each of the interaction scores includes: Acquire a relationship data table, and traverse the relationship data table according to the i-th interaction object identifier to obtain the relationship type to which the i-th interaction object identifier belongs; Obtaining at least one target interaction score according to the interaction score corresponding to at least one of the interaction object identifiers having the same relationship type, wherein the target interaction score is a total score of a corresponding one of the relationship types; A support score of the target object is determined according to each of the target interaction scores.
[0006] In one implementation, the obtaining of the relationship data table includes: Acquire an initial relationship data table, wherein the initial relationship data table includes a plurality of different interaction object identifiers and initial relationship information corresponding to each interaction object identifier; Standardizing each of the initial relationship information to obtain target relationship information corresponding to each of the interactive object identifiers; According to each of the target relationship information, respectively determine the relationship type to which each of the interactive object identifiers belongs; The identification of each interactive object and the type of relationship to which it belongs are saved as the relationship data table.
[0007] In one implementation, the respectively standardizing the initial relationship information to obtain the target relationship information respectively corresponding to the interactive object identifiers includes: Acquire a preset relationship word list, and traverse the preset relationship word list according to each of the initial relationship information to obtain the target relationship information corresponding to each of the interactive object identifiers; The determining, according to each of the target relationship information, the relationship type corresponding to each of the interactive object identifiers, includes: A preset type table is obtained, and the preset type table is traversed according to each target relationship information to obtain the relationship type corresponding to each interactive object identifier.
[0008] In one embodiment, the support score includes: a dynamic support score and a static support score, and determining the support score of the target object according to each of the target interaction scores includes: Determine each of the relationship types as a target relationship type in sequence, and determine the target interaction scores corresponding to the target relationship types in different preset time periods as the dynamic support score of the target relationship type for the target object; The sum of the target interaction scores corresponding to the target relationship type in different preset time periods is determined as the static support score of the target relationship type for the target object.
[0009] In a second aspect, the present invention provides a method for determining support based on interaction data, the method comprising: Acquire interaction data of the target object, the interaction data including N interaction object identifiers and interaction information corresponding to each of the interaction object identifiers, the interaction information including interaction mode, interaction times and interaction type; Traversing the first preset weight table according to the interaction mode corresponding to the i-th interaction object identifier, obtaining the mode weight corresponding to the i-th interaction object identifier; Traversing the second preset weight table according to the interaction type corresponding to the i-th interaction object identifier, obtaining the type weight corresponding to the i-th interaction object identifier; The interaction score corresponding to the i-th interaction object identifier is determined according to the mode weight, the type weight and the number of interactions corresponding to the i-th interaction object identifier, where 1≤i≤N.
[0010] In a third aspect, the present invention provides a device for determining support based on interaction data, the device comprising: An acquisition module, used to acquire interaction data of a target object, wherein the interaction data includes N interaction object identifiers and interaction information corresponding to each of the interaction object identifiers, wherein the interaction information includes an interaction mode, a number of interactions, and an interaction type; A first determining module, configured to traverse a first preset weight table according to the interaction mode corresponding to the ith interaction object identifier, to obtain a mode weight corresponding to the ith interaction object identifier; A second determining module, configured to traverse a second preset weight table according to the interaction type corresponding to the ith interaction object identifier, to obtain a type weight corresponding to the ith interaction object identifier; A third determining module, configured to determine an interaction score corresponding to the ith interaction object identifier according to the mode weight, the type weight and the number of interactions corresponding to the ith interaction object identifier, 1≤i≤N; The fourth determination module is used to determine the support score of the target object according to each of the interaction scores.
[0011] In a fourth aspect, the present invention provides an electronic device comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program runs on the processor, the method for determining support based on interactive data described in the first aspect or the method for determining support based on interactive data described in the second aspect is executed.
[0012] In a fifth aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for determining support based on interaction data described in the first aspect, or the method for determining support based on interaction data described in the second aspect, is implemented.
[0013] The present invention provides a method, device, electronic device and medium for determining support based on interaction data, the method comprising: obtaining interaction data of a target object, the interaction data comprising N interaction object identifiers, and interaction information corresponding to each of the interaction object identifiers, the interaction information comprising interaction mode, number of interactions and interaction type; traversing a first preset weight table according to the interaction mode corresponding to the ith interaction object identifier to obtain a mode weight corresponding to the ith interaction object identifier; traversing a second preset weight table according to the interaction type corresponding to the ith interaction object identifier to obtain a type weight corresponding to the ith interaction object identifier; determining an interaction score corresponding to the ith interaction object identifier according to the mode weight, the type weight and the number of interactions corresponding to the ith interaction object identifier, 1≤i≤N; determining a support score of the target object according to each interaction score. The present invention realizes automatic processing of interaction data, improves the processing efficiency of interaction data, and provides a reliable basis for personalized customization management plans. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the technical solution of the present invention, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be regarded as limiting the scope of protection of the present invention. In each of the drawings, similar components are numbered similarly.
[0015] Figure 1 A schematic diagram of a process of determining support based on interactive data provided by an embodiment of the present invention is shown; Figure 2 Another schematic diagram of the process of determining support based on interactive data provided by an embodiment of the present invention is shown; Figure 3 Another schematic diagram of a flow chart of a method for determining support based on interactive data provided by an embodiment of the present invention is shown; Figure 4 Another schematic diagram of a flow chart of a method for determining support based on interactive data provided by an embodiment of the present invention is shown; Figure 5 A schematic diagram of the structure of a device for determining support based on interactive data provided by an embodiment of the present invention is shown; Figure 6 A schematic structural diagram of an electronic device provided by an embodiment of the present invention is shown.
[0016] Description of main component symbols: 500 - support determination device based on interactive data; 510 - acquisition module; 520 - first determination module; 530 - second determination module; 540 - third determination module; 550 - fourth determination module; 600 - electronic device; 601 - transceiver; 602 - processor; 603 - memory. DETAILED DESCRIPTION
[0017] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0018] The components of the embodiments of the present invention generally described and shown in the drawings herein may be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0019] Hereinafter, the terms "including", "having" and their cognates, which may be used in various embodiments of the present invention, are intended only to indicate specific features, numbers, steps, operations, elements, components or combinations of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or combinations of the foregoing items or adding the possibility of one or more features, numbers, steps, operations, elements, components or combinations of the foregoing items.
[0020] Furthermore, the terms “first”, “second”, “third”, etc. are merely used for distinguishing descriptions and are not to be understood as indicating or implying relative importance.
[0021] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present invention belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present invention.
[0022] Example 1 The present invention provides a method for determining support based on interactive data. Figure 1 , the method includes steps S110~S150.
[0023] Step S110, acquiring interaction data of the target object, wherein the interaction data includes N interaction object identifiers and interaction information corresponding to each of the interaction object identifiers, wherein the interaction information includes interaction mode, interaction times and interaction type.
[0024] During the supervision period, the target object often generates some interaction data with outsiders. By processing the interaction data generated by each target object separately, the corresponding processing results can provide corresponding basis for supervisors to specify more targeted and personalized management plans.
[0025] In this embodiment, the interaction object identifier refers to the identifier of the person who interacts with the target object, such as an ID number; the interaction method refers to the method of exchanging information with the target object, such as: text messages, phone calls, meetings, remittances, deposits, letters, packages, etc.; the number of interactions refers to the number of times information is interacted with the target object through the corresponding interaction method; the interaction type includes active interaction by the target object or passive interaction by the interaction object.
[0026] Step S120: traverse the first preset weight table according to the interaction mode corresponding to the ith interaction object identifier to obtain the mode weight corresponding to the ith interaction object identifier.
[0027] In this embodiment, the first preset weight table stores all weight values corresponding to different interaction modes related to the target object, for example, the weight value corresponding to SMS is 1, the weight value corresponding to phone call is 3, the weight value corresponding to meeting is 10, etc. The interaction modes included in the first preset weight table and the weight values corresponding to each interaction mode can be added, deleted or modified according to actual applications, which is only illustrated here as an example.
[0028] Step S130: traverse the second preset weight table according to the interaction type corresponding to the ith interaction object identifier to obtain the type weight corresponding to the ith interaction object identifier.
[0029] In this embodiment, the second preset weight table stores weight values corresponding to different interaction types related to the target object, for example, the weight value corresponding to the active interaction of the target object is 1, and the weight value corresponding to the passive interaction of the target object is 2. The interaction types included in the second preset weight table and the weight values corresponding to each interaction type can be added, deleted or modified according to actual applications.
[0030] Step S140: determining the interaction score corresponding to the ith interaction object identifier according to the mode weight, the type weight and the number of interactions corresponding to the ith interaction object identifier, 1≤i≤N.
[0031] In this embodiment, the method weight corresponding to the i-th interactive object identifier can be determined by traversing the first preset weight table, and the type weight corresponding to the i-th interactive object identifier can be determined by traversing the second preset weight table. The interaction score corresponding to the i-th interactive object identifier is determined by its corresponding method weight, type weight and number of interactions.
[0032] In one implementation, the mode weight, the type weight, and the number of interactions corresponding to the ith interaction object identifier are used to determine the interaction score corresponding to the ith interaction object identifier, and the calculation formula is:
[0033] in, represents the interaction score corresponding to the ith interaction object identifier, represents the mode weight corresponding to the i-th interaction object identifier, represents the type weight corresponding to the i-th interactive object identifier, Indicates the number of interactions corresponding to the i-th interaction object identifier.
[0034] For example, if the mode weight corresponding to the ith interaction object identifier is 2, the type weight is 1, and the number of interactions is 3, then it can be determined that the interaction score corresponding to the ith interaction object identifier=2×1×3=6.
[0035] Step S150: determining the support score of the target object according to each of the interaction scores.
[0036] In this embodiment, different interaction object identifiers correspond to different interaction objects, and different interaction objects may belong to different relationship types. According to each of the interaction scores, the support of different relationship types for the target object can be determined, that is, the support score of the target object, and then the management plan can be adaptively adjusted according to the support score.
[0037] In one embodiment, see Figure 2 , determining the support score of the target object according to each of the interaction scores includes: step S151 and step S153.
[0038] The interaction data corresponding to the target object includes multiple interaction object identifiers and interaction information corresponding to each interaction object identifier. There may be multiple identical interaction object identifiers among the multiple interaction object identifiers related to the target object. For example, external personnel corresponding to the same interaction object identifier have multiple information interactions with the target object; the relationship between external personnel corresponding to different interaction object identifiers and the target interaction object may be the same.
[0039] Step S151, obtaining a relationship data table, traversing the relationship data table according to the i-th interaction object identifier, and obtaining the relationship type to which the i-th interaction object identifier belongs.
[0040] In this embodiment, the relationship data table includes all interacting personnel identifiers related to the target object and the relationship type to which each interacting personnel identifier belongs. According to actual conditions, the information in the interaction data table can be added, deleted or modified.
[0041] In one embodiment, see Figure 3 , the obtaining of the relationship data table includes steps S1511 to S1514.
[0042] Step S1511: obtaining an initial relationship data table, wherein the initial relationship data table includes a plurality of different interaction object identifiers and initial relationship information corresponding to each interaction object identifier.
[0043] In this embodiment, different interactive object identifiers and their corresponding initial relationship information constitute an initial relationship data table. An interactive object identifier may correspond to multiple different initial relationship information, for example: dad, daddy, daddy-kin, daddy, etc. However, it should be noted that although the same interactive object identifier may correspond to multiple different initial relationship information, the relationship it represents with the target object is the same.
[0044] Step S1512: performing standardization processing on each of the initial relationship information to obtain target relationship information corresponding to each of the interactive object identifiers.
[0045] In this embodiment, the initial relationship data table includes multiple initial relationship information, such as: father, dad, elder brother, eldest brother, and younger brother. There may be at least two different initial relationship information among the multiple initial relationship information, and the two initial relationship information represent the same relationship with the target object. Each initial relationship information is standardized, that is, each initial relationship information is converted into a unified relationship expression form, for example: father and dad are both represented as father, and elder brother and eldest brother are both represented as elder brother.
[0046] In one embodiment, the initial relationship information is standardized to obtain target relationship information corresponding to each interactive object identifier, including: obtaining a preset relationship vocabulary, traversing the preset relationship vocabulary according to each initial relationship information, to obtain the target relationship information corresponding to each interactive object identifier.
[0047] In this embodiment, a plurality of target relationship information is pre-stored in the preset relationship word table, that is, each target relationship information corresponds to at least one initial relationship information.
[0048] Step S1513: Determine the relationship type to which each interactive object identifier belongs according to each target relationship information.
[0049] In this embodiment, the relationship types of the target objects are divided into the following five types: spouse of the adopted family, children of the adopted family, original family, relatives, and friends. In other embodiments, the classification types can be set according to actual needs.
[0050] In one embodiment, determining the relationship type corresponding to each interactive object identifier respectively according to each target relationship information includes: obtaining a preset type table, traversing the preset type table respectively according to each target relationship information, and obtaining the relationship type corresponding to each interactive object identifier respectively.
[0051] In this embodiment, the preset relationship type table pre-stores a plurality of different relationship types and at least one target relationship information corresponding to each relationship type. The preset relationship type table is searched according to the target relationship information to obtain the relationship type corresponding to the target relationship information, and the relationship type is used as the relationship type of the interactive object identifier corresponding to the target relationship information.
[0052] Step S1514: save the identifiers of the interactive objects and the relationship types to which they belong as the relationship data table.
[0053] In this embodiment, the relationship data table is composed of a plurality of different interaction object identifiers and the relationship type to which each interaction object identifier belongs.
[0054] Step S152: obtaining at least one target interaction score according to the interaction score corresponding to at least one of the interaction object identifiers having the same relationship type, wherein the target interaction score is a total score corresponding to the relationship type.
[0055] In this embodiment, with respect to multiple interactive object identifiers and the relationship types to which each interactive object identifier belongs, at least one interactive object identifier with the same relationship type is determined as a group, and with respect to this group of interactive object identifiers, the interaction scores corresponding to each interactive object identifier are added together to obtain a target interaction score for this group of interactive object identifiers. It can be understood that the relationship type corresponding to the target interaction score for this group of interactive object identifiers is the same as the relationship type corresponding to any interactive object identifier in this group of interactive object identifiers.
[0056] It should be noted that the target interaction score can reflect the degree of influence of different relationship types on the target interaction object, so the target interaction score can be used as one of the bases for adjusting the management method of the target interaction object.
[0057] Step S153: determining the support score of the target object according to each of the target interaction scores.
[0058] The target interaction score refers to the sum of the interaction scores of at least one interaction object identifier corresponding to a certain relationship type.
[0059] In one embodiment, the support score includes: a dynamic support score and a static support score. The support score of the target object is determined based on each of the target interaction scores, including: determining each of the relationship types as a target relationship type in turn, and determining the target interaction scores corresponding to the target relationship type in different preset time periods as the dynamic support score of the target relationship type for the target object; and determining the sum of the target interaction scores corresponding to the target relationship type in different preset time periods as the static support score of the target relationship type for the target object.
[0060] In this embodiment, for example, for relationship type A, and the target interaction score corresponding to relationship type A, the target interaction scores corresponding to relationship type A in different months are determined as the dynamic support scores of relationship type A for the target object. Specifically, the target interaction score corresponding to relationship type A in March is 6 points, the target interaction score corresponding to relationship type A in April is 7 points, and the target interaction score corresponding to relationship type A in May is 8 points. The target interaction scores of 6, 7, and 8 are determined as the dynamic support scores of relationship type A for the target object.
[0061] For another example, for relationship type A and the target interaction score corresponding to relationship type A, the sum of the target interaction scores corresponding to relationship type A in different months is determined as the static support score of relationship type A for the target object. Specifically, the target interaction score corresponding to relationship type A in March is 6 points, the target interaction score corresponding to relationship type A in April is 7 points, and the target interaction score corresponding to relationship type A in May is 8 points. The sum of the target interaction scores, i.e. 6+7+8=21, is determined as the static support score of relationship type A for the target object.
[0062] It should be noted that a support score trend graph of the relationship type for the target object can also be generated according to the dynamic support scores corresponding to different relationship types. It is understandable that different relationship types correspond to different score trend graphs.
[0063] The present invention provides a support determination method based on interaction data, which obtains interaction data of a target object, wherein the interaction data includes N interaction object identifiers and interaction information corresponding to each of the interaction object identifiers, wherein the interaction information includes an interaction mode, a number of interactions and an interaction type; traverses a first preset weight table according to the interaction mode corresponding to the ith interaction object identifier to obtain a mode weight corresponding to the ith interaction object identifier; traverses a second preset weight table according to the interaction type corresponding to the ith interaction object identifier to obtain a type weight corresponding to the ith interaction object identifier; determines an interaction score corresponding to the ith interaction object identifier according to the mode weight, the type weight and the number of interactions corresponding to the ith interaction object identifier, 1≤i≤N; and determines a support score of the target object according to each of the interaction scores, thereby realizing automatic processing of interaction data, improving processing efficiency of interaction data and providing a reliable basis for personalized customization management plans.
[0064] Example 2 The present invention provides a method for determining support based on interactive data. Figure 4 , the method includes steps S410~S440.
[0065] Step S410, acquiring interaction data of a target object, wherein the interaction data includes N interaction object identifiers and interaction information corresponding to each of the interaction object identifiers, wherein the interaction information includes interaction mode, interaction times and interaction type; Step S420, traversing the first preset weight table according to the interaction mode corresponding to the i-th interaction object identifier, to obtain the mode weight corresponding to the i-th interaction object identifier; Step S430, traversing the second preset weight table according to the interaction type corresponding to the i-th interaction object identifier to obtain the type weight corresponding to the i-th interaction object identifier; Step S440: determining the interaction score corresponding to the ith interaction object identifier according to the mode weight, the type weight and the number of interactions corresponding to the ith interaction object identifier, 1≤i≤N.
[0066] In one implementation, the interaction score corresponding to the ith interaction object identifier is determined according to the mode weight, the type weight, and the number of interactions corresponding to the ith interaction object identifier, and the calculation formula is:
[0067] in, represents the interaction score corresponding to the ith interaction object identifier, represents the mode weight corresponding to the i-th interaction object identifier, represents the type weight corresponding to the i-th interactive object identifier, Indicates the number of interactions corresponding to the i-th interaction object identifier.
[0068] In one embodiment, after step S440, it also includes: obtaining a relationship data table, traversing the relationship data table according to the i-th interaction object identifier, and obtaining the relationship type to which the i-th interaction object identifier belongs; obtaining at least one target interaction score according to the interaction score corresponding to at least one interaction object identifier with the same relationship type, and the target interaction score is the total score of the corresponding relationship type.
[0069] In one embodiment, the obtaining of the relationship data table includes: obtaining an initial relationship data table, the initial relationship data table including a plurality of different interaction object identifiers and initial relationship information corresponding to each interaction object identifier; performing standardization processing on each of the initial relationship information to obtain target relationship information corresponding to each of the interaction object identifiers; determining the relationship type to which each of the interaction object identifiers belongs according to each of the target relationship information; and saving each of the interaction object identifiers and the relationship type to which they belong as the relationship data table.
[0070] In one embodiment, the standardizing each of the initial relationship information to obtain target relationship information corresponding to each of the interactive object identifiers includes: obtaining a preset relationship word list, traversing the preset relationship word list according to each of the initial relationship information, and obtaining the target relationship information corresponding to each of the interactive object identifiers; Determining the relationship type corresponding to each interactive object identifier respectively according to each target relationship information includes: obtaining a preset type table, traversing the preset type table respectively according to each target relationship information, and obtaining the relationship type corresponding to each interactive object identifier respectively.
[0071] The present invention provides a method for determining support based on interaction data. The method comprises acquiring interaction data of a target object, wherein the interaction data comprises N interaction object identifiers and interaction information corresponding to each of the interaction object identifiers, wherein the interaction information comprises interaction mode, number of interactions and interaction type; traversing a first preset weight table according to the interaction mode corresponding to the ith interaction object identifier to obtain a mode weight corresponding to the ith interaction object identifier; traversing a second preset weight table according to the interaction type corresponding to the ith interaction object identifier to obtain a type weight corresponding to the ith interaction object identifier; determining an interaction score corresponding to the ith interaction object identifier according to the mode weight, the type weight and the number of interactions corresponding to the ith interaction object identifier, wherein 1≤i≤N is set, thereby improving the processing efficiency of interaction data and providing a reliable basis for a personalized customization management plan.
[0072] Example 3 Also, see Figure 5 The present invention further provides a support determination device 500 based on interactive data, the support determination device 500 based on interactive data comprising: An acquisition module 510 is used to acquire interaction data of a target object, wherein the interaction data includes N interaction object identifiers and interaction information corresponding to each of the interaction object identifiers, wherein the interaction information includes an interaction mode, an interaction number, and an interaction type; A first determining module 520 is configured to traverse a first preset weight table according to the interaction mode corresponding to the ith interaction object identifier to obtain a mode weight corresponding to the ith interaction object identifier; A second determining module 530 is configured to traverse a second preset weight table according to the interaction type corresponding to the ith interaction object identifier to obtain a type weight corresponding to the ith interaction object identifier; A third determining module 540 is configured to determine an interaction score corresponding to the ith interaction object identifier according to the mode weight, the type weight and the number of interactions corresponding to the ith interaction object identifier, where 1≤i≤N; The fourth determination module 550 is used to determine the support score of the target object according to each of the interaction scores.
[0073] The present invention provides a support determination device based on interaction data. The device obtains interaction data of a target object, wherein the interaction data includes N interaction object identifiers and interaction information corresponding to each of the interaction object identifiers, wherein the interaction information includes an interaction mode, a number of interactions and an interaction type; traverses a first preset weight table according to the interaction mode corresponding to the ith interaction object identifier to obtain a mode weight corresponding to the ith interaction object identifier; traverses a second preset weight table according to the interaction type corresponding to the ith interaction object identifier to obtain a type weight corresponding to the ith interaction object identifier; determines an interaction score corresponding to the ith interaction object identifier according to the mode weight, the type weight and the number of interactions corresponding to the ith interaction object identifier, 1≤i≤N; and determines a support score of the target object according to each of the interaction scores, thereby realizing automatic processing of interaction data, improving processing efficiency of interaction data and providing a reliable basis for personalized customization management plans.
[0074] Example 4 In addition, an embodiment of the present invention provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program runs on the processor, the method for determining support based on interactive data provided in Example 1 is executed.
[0075] For details, see Figure 6 The electronic device 600 includes: a transceiver 601, a bus interface and a processor 602, wherein the processor 602 is used to obtain interaction data of a target object, wherein the interaction data includes N interaction object identifiers and interaction information corresponding to each of the interaction object identifiers, wherein the interaction information includes an interaction mode, a number of interactions and an interaction type; traverse a first preset weight table according to the interaction mode corresponding to the ith interaction object identifier to obtain a mode weight corresponding to the ith interaction object identifier; traverse a second preset weight table according to the interaction type corresponding to the ith interaction object identifier to obtain a type weight corresponding to the ith interaction object identifier; determine an interaction score corresponding to the ith interaction object identifier according to the mode weight, the type weight and the number of interactions corresponding to the ith interaction object identifier, 1≤i≤N; determine a support score of the target object according to each interaction score.
[0076] In the embodiment of the present invention, the electronic device 600 further includes a memory 603. Figure 6In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically linking various circuits of one or more processors represented by processor 602 and memory represented by memory 603. The bus architecture may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 601 may be a plurality of components, i.e., including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. The processor 602 is responsible for managing the bus architecture and general processing, and the memory 603 may store data used by the processor 602 when performing operations.
[0077] The electronic device 600 provided in the embodiment of the present invention can execute the support determination method based on interactive data provided in the above method embodiment 1, which will not be described again here to avoid repetition.
[0078] Example 5 In addition, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for determining support based on interactive data provided in Example 1 is implemented.
[0079] In this embodiment, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0080] The computer-readable storage medium provided in this embodiment can implement the support determination method based on interactive data provided in Embodiment 1, and will not be described again here to avoid repetition.
[0081] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the structure diagram and / or the flow chart, and the combination of boxes in the structure diagram and / or the flow chart, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0082] In addition, the functional modules or units in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.
[0083] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0084] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A method for determining support based on interactive data, characterized in that: The method comprises: Acquire interaction data of the target object, the interaction data including N interaction object identifiers and interaction information corresponding to each of the interaction object identifiers, the interaction information including interaction mode, interaction times and interaction type; Traversing the first preset weight table according to the interaction mode corresponding to the i-th interaction object identifier, obtaining the mode weight corresponding to the i-th interaction object identifier; Traversing the second preset weight table according to the interaction type corresponding to the i-th interaction object identifier, obtaining the type weight corresponding to the i-th interaction object identifier; Determine the interaction score corresponding to the i-th interaction object identifier according to the mode weight, the type weight and the number of interactions corresponding to the i-th interaction object identifier, 1≤i≤N; A support score of the target object is determined according to each of the interaction scores.
2. The method for determining support based on interactive data according to claim 1, characterized in that: The interaction score corresponding to the ith interaction object identifier is determined according to the mode weight, the type weight and the number of interactions corresponding to the ith interaction object identifier, and the calculation formula is: in, represents the interaction score corresponding to the ith interaction object identifier, represents the mode weight corresponding to the i-th interaction object identifier, represents the type weight corresponding to the i-th interactive object identifier, Indicates the number of interactions corresponding to the i-th interaction object identifier.
3. The method for determining support based on interactive data according to claim 1, characterized in that: Determining the support score of the target object according to each of the interaction scores includes: Acquire a relationship data table, and traverse the relationship data table according to the i-th interaction object identifier to obtain the relationship type to which the i-th interaction object identifier belongs; Obtaining at least one target interaction score according to the interaction score corresponding to at least one of the interaction object identifiers having the same relationship type, wherein the target interaction score is a total score of a corresponding one of the relationship types; A support score of the target object is determined according to each of the target interaction scores.
4. The method for determining support based on interactive data according to claim 3, characterized in that: The obtaining of the relationship data table includes: Acquire an initial relationship data table, wherein the initial relationship data table includes a plurality of different interaction object identifiers and initial relationship information corresponding to each interaction object identifier; Standardizing each of the initial relationship information to obtain target relationship information corresponding to each of the interactive object identifiers; According to each of the target relationship information, respectively determine the relationship type to which each of the interactive object identifiers belongs; The identification of each interactive object and the type of relationship to which it belongs are saved as the relationship data table.
5. The method for determining support based on interactive data according to claim 4, characterized in that: The respectively standardizing the initial relationship information to obtain the target relationship information corresponding to the interaction object identifiers includes: Acquire a preset relationship word list, and traverse the preset relationship word list according to each of the initial relationship information to obtain the target relationship information corresponding to each of the interactive object identifiers; The determining, according to each of the target relationship information, the relationship type corresponding to each of the interactive object identifiers, includes: A preset type table is obtained, and the preset type table is traversed according to each target relationship information to obtain the relationship type corresponding to each interactive object identifier.
6. The method for determining support based on interactive data according to claim 3, characterized in that: The support score includes: a dynamic support score and a static support score. The support score of the target object is determined according to each target interaction score, including: Determine each of the relationship types as a target relationship type in sequence, and determine the target interaction scores corresponding to the target relationship types in different preset time periods as dynamic support scores of the target relationship types for the target object; The sum of the target interaction scores corresponding to the target relationship type in different preset time periods is determined as the static support score of the target relationship type for the target object.
7. A method for determining support based on interactive data, characterized in that: The method comprises: Acquire interaction data of the target object, the interaction data including N interaction object identifiers and interaction information corresponding to each of the interaction object identifiers, the interaction information including interaction mode, interaction times and interaction type; Traversing the first preset weight table according to the interaction mode corresponding to the i-th interaction object identifier, obtaining the mode weight corresponding to the i-th interaction object identifier; Traversing the second preset weight table according to the interaction type corresponding to the i-th interaction object identifier, obtaining the type weight corresponding to the i-th interaction object identifier; The interaction score corresponding to the i-th interaction object identifier is determined according to the mode weight, the type weight and the number of interactions corresponding to the i-th interaction object identifier, where 1≤i≤N.
8. A device for determining support based on interactive data, characterized in that: The device comprises: An acquisition module, used to acquire interaction data of a target object, wherein the interaction data includes N interaction object identifiers and interaction information corresponding to each of the interaction object identifiers, wherein the interaction information includes an interaction mode, a number of interactions, and an interaction type; A first determining module, configured to traverse a first preset weight table according to the interaction mode corresponding to the ith interaction object identifier, to obtain a mode weight corresponding to the ith interaction object identifier; A second determining module, configured to traverse a second preset weight table according to the interaction type corresponding to the ith interaction object identifier, to obtain a type weight corresponding to the ith interaction object identifier; A third determining module, configured to determine an interaction score corresponding to the ith interaction object identifier according to the mode weight, the type weight and the number of interactions corresponding to the ith interaction object identifier, 1≤i≤N; The fourth determination module is used to determine the support score of the target object according to each of the interaction scores.
9. An electronic device, characterized in that: It includes a memory and a processor, the memory stores a computer program, and when the computer program runs on the processor, it executes the method for determining support based on interactive data described in any one of claims 1 to 6, or the method for determining support based on interactive data described in claim 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for determining support based on interactive data described in any one of claims 1 to 6, or the method for determining support based on interactive data described in claim 7, is implemented.