CN109635015B - Determination method and device for attribute data using object and server - Google Patents

Determination method and device for attribute data using object and server Download PDF

Info

Publication number
CN109635015B
CN109635015B CN201811160470.9A CN201811160470A CN109635015B CN 109635015 B CN109635015 B CN 109635015B CN 201811160470 A CN201811160470 A CN 201811160470A CN 109635015 B CN109635015 B CN 109635015B
Authority
CN
China
Prior art keywords
data
attribute data
functional
functional object
target attribute
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811160470.9A
Other languages
Chinese (zh)
Other versions
CN109635015A (en
Inventor
陆冰冰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Advanced New Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201811160470.9A priority Critical patent/CN109635015B/en
Publication of CN109635015A publication Critical patent/CN109635015A/en
Application granted granted Critical
Publication of CN109635015B publication Critical patent/CN109635015B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The specification provides a method, a device and a server for determining an attribute data use object. Wherein the method comprises the following steps: the method comprises the steps that a server obtains a data extraction rule of a first functional object, wherein the data extraction rule is used for extracting target attribute data from object data by the first functional object, and the object data is data obtained by calling a preset data interface from a second functional object for the first functional object; and the server determines the first functional object as a use object of target attribute data according to the data extraction rule. In the embodiment of the present specification, by acquiring and extracting the data extraction rule used for extracting the target attribute data from the object data according to the first functional object, the attribute data extracted for use by the first functional object is accurately found from the object data containing a plurality of attribute data called by the first functional object, so that the use object of the attribute data can be efficiently and finely determined.

Description

Determination method and device for attribute data using object and server
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a method, an apparatus, and a server for determining an attribute data usage object.
Background
In a system architecture for data processing, different functional objects (also referred to as different services, application components, functional units, etc.) often invoke each other when performing specific data processing tasks. For example, a functional object in the system may invoke one or more attribute data required for the generation of other functional objects.
Specifically, for example, in an SOA (Service Oriented Architecture ) system, a plurality of functional objects respectively responsible for executing different data processing tasks are distributed, and a general data interface is respectively disposed on each functional object. The function object can call other function objects through data interfaces on the other function objects to acquire one or more attribute data required to complete the data processing task of the function object. Based on the architecture, in order to meet the call requirements of multiple different functional objects on different attribute data at the same time, the data interface is generally required to have better universality. Thus, based on the above architecture, the data interface provides object data that includes a plurality of attribute data simultaneously in response to a call from another functional object. The function object directly obtains object data which often contains various attribute data through the data interface; after the object data is obtained, one or more attribute data required by the object data are further extracted from the object data to complete the data processing task. However, it is not disclosed to the outside which attribute data among the above object data is used for specific extraction of the functional object.
Based on the existing method, only the condition that a data interface outside the functional object is called can be roughly recorded, namely only which functional object calls the data interface to acquire the object data can be determined, and the specific attribute data in the object data provided by the data interface cannot be finely determined which functional object is used.
For example, reference may be made to fig. 1. In the data processing system based on the SOA system architecture, independent functional objects a, B and C are distributed. When executing respective data processing tasks, the functional object a and the functional object C need to acquire object data containing multiple attribute data generated by the functional object B by calling a data interface of the functional object B. The functional object a really needs to extract only the attribute data e in the used data, and the functional object C really needs to extract only the attribute data f in the used data. The data interface provided by the functional object B is a universal data interface capable of meeting various call requirements of various functional objects such as the functional object a and the functional object C. That is, through the data interface, the function object a can call and acquire the object data containing a plurality of attribute data such as the attribute data e and the attribute data f. Similarly, through the data interface, the function object C may call and acquire object data that includes multiple attribute data such as attribute data e and attribute data f.
For the data processing system, the existing method can only roughly determine that the functional object A and the functional object C call the object data in the data interface, but cannot precisely determine which attribute data in the object data is specifically extracted and used by the functional object A and the functional object C, and cannot determine specific use conditions of various attribute data in the object data.
In this case, if the attribute data e in the object data generated by the function object B is changed, it cannot be determined which function object actually extracts and uses the attribute data e, and the server simultaneously sends a change evaluation request to both the function object a and the function object C that have called the data interface. And then, the function object A and the function object C respond to the change evaluation request to evaluate the influence condition of the changed attribute data e so as to determine whether to respond to the change of the attribute data e and carry out modification adjustment of corresponding parameters. However, in reality, the functional object C, although calling the object data of the data interface, does not extract and use the attribute data e in the object data, and does not need to waste resources and time to evaluate the change of the attribute data e.
In view of the foregoing, there is a need for a more efficient and precise determination method for determining the usage object of various attribute data efficiently and precisely.
Disclosure of Invention
The object of the present specification is to provide a method, apparatus and server for determining an attribute data usage object, so that the attribute data used by a first function object can be accurately found out from a plurality of attribute data in object data called by the first function object, thereby determining usage objects of various attribute data efficiently and finely.
The method, the device and the server for determining the attribute data use object provided by the specification are realized in the following way:
a method of determining an attribute data use object, comprising: the method comprises the steps that a server obtains a data extraction rule of a first functional object, wherein the data extraction rule is used for extracting target attribute data from object data by the first functional object, and the object data is data obtained by calling a preset data interface from a second functional object for the first functional object; and the server determines the first functional object as a use object of target attribute data according to the data extraction rule.
A method of determining an attribute data use object, comprising: the method comprises the steps that a first functional object receives a change evaluation request for target attribute data sent by a server, wherein the server is used for determining whether the first functional object is a use object of the target attribute data according to acquired data extraction rules, and sending the change evaluation request to the first functional object under the condition that the first functional object is determined to be the use object of the target attribute data; the first functional object responds to the change event request and evaluates the change of the target attribute data to obtain an evaluation result; and the first functional object determines whether parameter change is required based on the changed target attribute data according to the evaluation result.
A data processing method, comprising: the server receives an update instruction of changing the target attribute data in the second functional object; the server determines whether a first functional object is a use object of the target attribute data according to a data extraction rule of the first functional object, wherein the data extraction rule is used for extracting required attribute data from the object data by the first functional object, and the object data is data obtained by calling a preset data interface for the first functional object from the second functional object; the server transmits a change evaluation request for the target attribute data to the first functional object when determining that the first functional object is a use object of the target attribute data.
A method for determining usage of attribute data, comprising: acquiring data extraction rules of a plurality of functional objects, wherein the data extraction rules are used for extracting required attribute data from the invoked object data by the functional objects; and determining the use condition of the attribute data according to the data extraction rules of the plurality of functional objects.
A determination apparatus of an attribute data use object, comprising: the device comprises an acquisition module, a data extraction module and a data processing module, wherein the acquisition module is used for acquiring a data extraction rule of a first functional object, the data extraction rule is used for extracting target attribute data from object data by the first functional object, and the object data is data acquired from a second functional object by calling a preset data interface for the first functional object; and the determining module is used for determining the first functional object as a using object of the target attribute data according to the data extraction rule.
The server comprises a processor and a memory for storing instructions executable by the processor, wherein the processor realizes that the server obtains a data extraction rule of a first functional object when executing the instructions, the data extraction rule is used for extracting target attribute data from object data by the first functional object, and the object data is data obtained from a second functional object by calling a preset data interface for the first functional object; and the server determines the first functional object as a use object of target attribute data according to the data extraction rule.
A computer readable storage medium having stored thereon computer instructions that, when executed, implement a server to obtain a data extraction rule for a first functional object, wherein the data extraction rule is for the first functional object to extract target attribute data from object data, wherein the object data is data obtained from a second functional object by the first functional object invoking a preset data interface; and the server determines the first functional object as a use object of target attribute data according to the data extraction rule.
According to the determining method, the determining device and the determining server for the attribute data using object, through acquiring and according to the data extraction rule used by extracting target attribute data from object data of the first functional object, the attribute data extracted and used by the first functional object are accurately found from the object data containing various attribute data, which are called by the first functional object, so that the using object of the attribute data is determined efficiently and precisely.
Drawings
In order to more clearly illustrate the embodiments of the present description or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some of the embodiments described in the present description, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of one embodiment of obtaining object data via a data interface for different objects in a system;
FIG. 2 is a schematic diagram of one embodiment of a method for determining an object for using attribute data provided by embodiments of the present disclosure, in one example of a scenario;
FIG. 3 is a schematic diagram of one embodiment of a method for determining an object for use of attribute data provided by embodiments of the present description;
FIG. 4 is a schematic diagram of another embodiment of a method for determining an object for use in attribute data provided by embodiments of the present disclosure;
FIG. 5 is a schematic diagram of one embodiment of a data processing method provided by embodiments of the present disclosure;
FIG. 6 is a schematic diagram of one embodiment of a method for determining usage of attribute data provided by embodiments of the present disclosure;
FIG. 7 is a schematic diagram of one embodiment of a server provided by embodiments of the present description;
fig. 8 is a schematic diagram of an embodiment of a determination apparatus for attribute data use object provided in the embodiment of the present specification.
Detailed Description
In order to make the technical solutions in the present specification better understood by those skilled in the art, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present specification, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are intended to be within the scope of the present disclosure.
Considering that based on the existing system architecture, which attribute data in the object data is specifically used by the functional object cannot be directly determined because the attribute data is not disclosed externally. The existing method only records that the function object obtains the object data by calling a certain data interface from the outside, but cannot determine which attribute data in the called object data is specifically used by the function object, and cannot determine specific use conditions of various attribute data. That is, the existing method can only simply and roughly determine whether the function object obtains the object data generated by a certain function object through the data interface call of the function object, and cannot accurately determine which attribute data in the object data is specifically used by the function object.
In view of the above, the present specification proposes that a marking unit may be preset in a rule packet of each functional object, so as to record a data extraction rule for each functional object to extract usage of target attribute data (i.e., required attribute data) from object data, and determine which attribute data is specifically used by the functional object according to the data extraction rule, thereby determining usage objects of the attribute data and specific usage situations of various attribute data in the system efficiently and accurately.
The present embodiment provides a method for determining an attribute data usage object, which is particularly applicable to a system architecture including a server (or a center server, to distinguish from sub-servers) and a plurality of sub-servers. The sub-servers may be configured to execute corresponding functional objects, where the functional objects are configured to perform specific data processing tasks (or functional services, application services, etc.). The rule packages of the functional objects are also respectively provided with a marking unit for recording the data extraction rule used when the functional object extracts the required target attribute data from the object data. The central server is coupled with the marking unit and is used for receiving the data extraction rule of the functional object recorded by the marking unit and determining the use condition of various attribute data in the system and the use object of the various attribute data according to the data extraction rule of the functional object.
In this embodiment, the servers related to the central server and the sub-servers may specifically be an electronic device having a data operation, a storage function, and a network interaction function; software running in the electronic device that supports data processing, storage, and network interactions may also be used. The number of servers is not particularly limited in the present embodiment. The server may be one server, several servers, or a server cluster formed by several servers. The present specification is not limited to this.
In a specific scenario example, referring to fig. 2, the method for determining the usage object of attribute data provided in the embodiment of the present disclosure may be applied to count the usage situation of each attribute data related to a data processing system of a network platform, and determine the usage object of each attribute data.
In this scenario example, the data processing system of the network platform may include a plurality of following functional objects deployed on different sub-servers respectively: function object Q, function object W, function object E. Wherein, the functional objects correspond to different business processes in the data processing process of the network platform. That is, different functional objects are respectively responsible for handling different task data processes (or different business data processes).
The above functional objects may be specifically understood as functional modules (such as application components, functional units, etc.) or program codes (such as APP, etc.) in a data processing system that are responsible for processing data of specific tasks. The different functional objects are functionally independent and respectively responsible for processing the respective task data. Specifically, for example, the function object Q is responsible for executing the task data processing 1 and generating a plurality of attribute data including attribute data v, attribute data b, and attribute data n; the function object W is responsible for executing the task data processing 2 and generating various attribute data including attribute data m, attribute data l and the like; the function object E is responsible for executing the task data processing 3 and generating various attribute data including attribute data k and attribute data j.
The attribute data may be specifically understood as parameter data that characterizes a specific attribute feature generated by the functional object when performing task data processing. It should be noted that, the functional object may generate a plurality of different attribute data when executing corresponding task data processing. Specifically, when the functional object executes the responsible task data processing, it can generate an object data containing multiple attribute data at the same time; the functional object may then be further extracted from the object data to obtain a plurality of different attribute data. The object data is specifically understood to be a data set containing a plurality of attribute data.
Specifically, for example, when the functional object L responsible for retrieving and acquiring the user information performs the responsible task data processing to acquire the information data of the user a, the acquiring may include: user a's name, user a's gender, user a's telephone number, user a's mailbox and user a's address information, etc. Each of the above information data (e.g., the name of the user a) corresponds to one attribute feature characterizing the user a, i.e., corresponds to one attribute data. The functional object L is obtained by searching and includes the above-mentioned various information data sets related to the user a (i.e., the information data of the user a), and can be understood as the object data generated by the task data processing that the functional object L is responsible for executing.
In this scenario example, the different functional objects may have a certain relationship when specifically executing the task data processing that is responsible for. For example, in executing the task data processing 1, the function object Q needs to use the attribute data m generated by the function object W and the attribute data k generated by the function object E. The function object W needs to use the attribute data v generated by the function object Q in executing the task data processing 2. The function object E needs to use the attribute data v and the attribute data b generated by the function object Q in executing the responsible data processing task 3.
Since different functional objects in the system may invoke object data generated by the same functional object when performing respective task data processing. For example, both the function object W and the function object E call object data generated by the function object Q. But there may be differences in the specific use of attribute data in the invoked object data by different functional objects. For example, the function object W specifically uses the attribute data v in the object data generated by the function object Q, and the function object E specifically uses the attribute data v and the attribute data b in the object data generated by the function object Q. In order to meet the differentiated use requirements of different functional objects at the same time, the system may set a general data interface (i.e., a preset data interface) on each functional object in advance. Other functional objects can acquire object data simultaneously containing various attribute data by calling the interfaces. For example, although the attribute data to be used for the function object W and the function object E are different, the object data including the attribute data v, the attribute data b, and the attribute data n can be obtained by calling a preset data interface on the function object Q. The subsequent function object W and the function object E can extract required attribute data from the invoked object data, respectively, according to respective specific needs for use.
With the existing method, only the object data in which preset data interface is called by the function object can be recorded and determined. The specific extraction of the functional object uses the attribute data in the invoked object data, which is realized in the functional object, is not disclosed externally, and cannot be accurately determined based on the existing method.
In the present scenario example, however, in consideration of the above, the flag units are preset in the rule packages of the respective function objects in the system, respectively. The marking unit may be used for recording a data extraction rule used when the functional object obtains object data containing multiple attribute data by calling a preset data interface, and further extracts required attribute data from the called object data.
The rule package may be specifically understood as a rule set stored with a generation based on a corresponding interface protocol, where the rule set may correspond to a preset data interface, so as to call the preset data interface to obtain object data, and extract required attribute data from the called object data. For example, the rule package may specifically be a package-jar set on a certain function application APP. Of course, the above listed rule packages are only one illustrative. The specification is not limited to a specific form of rule package.
Specifically, the rule package may include a calling rule for calling the object data in the preset data interface. Each set of calling rules may specifically further include an extraction rule for extracting various attribute data from the called object data. The extraction rule may specifically carry feature identifiers (e.g. "data_v") of attribute data to be extracted, each feature identifier corresponding to one type of attribute data. Through the feature identification, the functional object can accurately determine the corresponding attribute data from object data containing various attribute data to extract.
In this scenario example, the calling rule and the extracting rule satisfy the corresponding interface protocol. For example, the calling rule and the extracting rule may be code programs written according to a preset format based on an interface protocol. Of course, the above-listed calling rules, extraction rules are only one illustrative example. In specific implementation, the calling rule and the extracting rule can be in other forms according to specific situations. The present specification is not limited to this.
In the implementation, the function object can call the data interface according to a specified call rule corresponding to the specified data interface so as to acquire object data generated by the function object corresponding to the data interface; and extracting one or more kinds of attribute data from the called object data according to the data extraction rule corresponding to the designated attribute data in the designated calling rule.
For example, the function object W may call and acquire the object data including the attribute data v, the attribute data b, and the attribute data n, which are generated by the function object Q, according to the call rule of the data interface for calling the function object Q in the rule packet, and further extract the specific attribute data v from the object data according to the data extraction rule for the attribute data v in the call rule, for example, through the code statement "get data_v" for use, so as to complete the corresponding task data processing 2.
In this scenario example, the data extraction rule (e.g., record data extraction rule "get data_v") used by the function object W in extracting the required attribute data, i.e., the target attribute data, from the invoked object data may be recorded by a marking unit preset in the rule package of the function object W. Similarly, by presetting a flag unit in a rule package of the function object E, it is possible to record data extraction rules (e.g., record "get data_v" and "get data_b") used by the function object E in extracting required attribute data from the invoked object data.
Further, the marking unit may transmit the data extraction rule used by the recorded function object W to extract the attribute data to the center server through the information data in the preset format. After acquiring information data in a preset format sent by a marking unit in a rule packet of the functional object W, the central server can acquire an extraction rule used for extracting target attribute data of the object W through data analysis, for example, get data_v and get data_b; and further, according to the characteristic identification in the data extraction rule, the attribute data used by the specific extraction of the functional object E can be determined. For example, according to the feature identifier "data_v" in "get data_v", it can be determined that the function object W specifically extracts the attribute data v in the object data generated by the function object Q, and further the function object W can be determined as a use object of the attribute data v.
According to the mode, the attribute data v and the attribute data b in the object data generated by the functional object Q extracted and used by the functional object E can be determined in sequence; and determines that the function object E is a use object of the attribute data v and is also a use object of the attribute data b. The function object Q extracts the attribute data m in the object data generated using the function object W and the attribute data k in the object data generated using the function object E, and determines that the function object Q is a use object of the attribute data m and is also a use object of the attribute data k.
The central server can determine the service condition of each attribute data by sorting and counting the acquired data extraction rules of each functional object.
For example, by collating statistics of the data extraction rules described above, the following usage can be determined: the functional object using the attribute data v (i.e., the use object of the attribute data v) includes: a function object W and a function object E; the function object using the attribute data b (i.e., the function object of the attribute data b) includes: a functional object E; the function object using the attribute data m (i.e., the use object of the attribute data m) includes a function object Q; the functional object using the attribute data k (i.e., the use object of the attribute data k) includes: a functional object Q. Thus, the use condition of each attribute data in the data processing system of the network platform and the statistics and the determination of the use object of the attribute data are completed.
When the attribute data b generated by the function object Q changes due to the service upgrade, the network platform needs to send a change evaluation request to the function object affected by the change of the attribute data b. Based on the existing method, because specific use conditions of attribute data of each attribute cannot be determined precisely, only that the functional object W and the functional object E call the data interface of the functional object Q to acquire the object data containing the attribute data b can be determined. Therefore, a change evaluation request is sent to both the function object W and the function object E.
By the determination method of the attribute data use object provided in the present specification, the central server can accurately determine that the function object using the attribute data b is actually extracted according to the data extraction rule of the function object use recorded by the marking unit, that is, the function object W calls the object data containing the attribute data b but does not use the attribute data b, that is, only the function object E is the use object of the attribute data b. Therefore, the center server can accurately determine only the function object E as an evaluation object, and send a change evaluation request for the attribute data b to the function object E. The change evaluation request may specifically be used to characterize that the attribute data b is changed, and instruct the functional object that receives the change evaluation request to perform change evaluation on the influence of the change of the attribute data b.
After receiving the change evaluation request, the functional object E can evaluate the influence condition of the change of the attribute data b according to the change evaluation request to obtain a change evaluation result; and then, according to the change evaluation result, whether the change of the attribute data b needs to be responded or not can be determined, and the parameters related to the attribute data b, which are related to the functional object E when the task data processing 3 is executed, are correspondingly modified and adjusted so as to be matched with the change of the attribute data b, and the responsible task data processing can be accurately completed.
As can be seen from the above-described scene examples, the determination method of the attribute data usage object provided in the present specification, since the attribute data used for extracting the functional object from the object data containing a plurality of attribute data is accurately determined from the object data called by the functional object by acquiring and extracting the required attribute data from the object data according to the data extraction rule used for extracting the required attribute data from the object data by the respective functional objects, thereby efficiently and finely determining the usage situation of the various attribute data and the usage object of the various attribute data.
Referring to fig. 3, an embodiment of the present disclosure provides a method for determining an attribute data usage object. The method can be applied to the side of a central server. In particular implementations, the method may include the following:
S31: the method comprises the steps that a server obtains a data extraction rule of a first functional object, wherein the data extraction rule is used for extracting target attribute data from object data by the first functional object, and the object data is data obtained from a second functional object by calling a preset data interface for the first functional object.
In this embodiment, the server may be specifically understood as a central server in the system. The central server may be understood as an electronic device (for example, a processor) or software (for example, a Center APP) having a certain data analysis and processing capability.
In this embodiment, the first functional object may be specifically understood as a functional object that obtains object data by calling a corresponding preset data interface, and extracts attribute data required for use from the object data. The second function object may be specifically understood as a function object provided with a corresponding preset data interface for other function objects to call to generate object data containing multiple attribute data. It should be noted that any one of the function objects in the system may be used as the first function object to call and acquire the object data. Any one of the function objects can be used as a second function object and is called by the first function object to generate corresponding object data.
The above functional objects may be specifically understood as functional modules (such as application components, functional units, etc.) or program codes (such as APP, etc.) in a data processing system that are responsible for processing data of specific tasks. Different functional objects are mutually independent in function and are respectively responsible for processing respective task data; however, there is information data interaction in the process of executing task data processing specifically, for example, attribute data generated by other functional objects will be called to complete the task data processing.
The attribute data may be specifically understood as parameter data characterizing a specific attribute feature generated by the functional object when performing task data processing. The object data is specifically understood to be a collection containing a plurality of attribute data generated by the same functional object. The target attribute data may be specifically understood as attribute data required for the first functional object to extract and use from object data containing a plurality of attribute data.
Specifically, for example, user information data generated in charge of retrieving a functional object that acquires user information may be understood as one type of object data; specific information data included in the user information data, such as the name of the user, the sex of the user, the telephone number of the user, and the like, can be understood as attribute data in the above object data. If the attribute data required to be used by the functional object responsible for verifying the name information of the user is the name of the user, the attribute data of the name of the user can be understood as target attribute data required to be extracted and used by the functional object responsible for verifying the name information of the user.
In this embodiment, considering that there may be a difference in specific attribute data used by different functional objects in a system, in order to meet the needs of the different functional objects, in the implementation, a universal data interface, that is, a preset data interface, may be set in advance for each functional object based on a unified interface protocol. Through the preset data interface, other functional objects can call and acquire object data simultaneously containing various attribute data.
In this embodiment, in order to enable each functional object to acquire corresponding object data by calling a preset data interface, and extract required attribute data from the object data, in implementation, a rule packet may be set in each functional object separately based on the above-mentioned unified interface protocol. The rule package may be specifically understood as a rule set stored with a generation based on a corresponding interface protocol, where the rule set may correspond to a preset data interface, so as to call the preset data interface to obtain object data, and extract required attribute data from the called object data. For example, the rule package may specifically be a package-jar set on a certain function application APP. Of course, the above listed rule packages are only one illustrative. The specification is not limited to a specific form of rule package.
Specifically, the rule package may include a calling rule for calling the object data in the preset data interface. Each set of calling rules may specifically further include an extraction rule for extracting various attribute data from the called object data. The extraction rule may specifically carry feature identifiers of attribute data to be extracted, where each feature identifier corresponds to one type of attribute data. Through the feature identification, the functional object can accurately determine the corresponding attribute data from object data containing various attribute data to extract.
In this embodiment, the feature identifier of the attribute data may specifically be a tag symbol for indicating the corresponding attribute data. Specifically, the feature identifiers may be character strings of feature identifiers arranged in a certain format for distinguishing other attribute data. For example, the feature identification of the attribute data f may be expressed in the form of: data_f. Of course, the above-listed characteristic identifiers of the attribute data are only illustrative. The specification is not limited to a specific form of feature identification of attribute data.
In this embodiment, the calling rule and the extracting rule satisfy the corresponding interface protocol. Therefore, the function object can call a preset data interface corresponding to the call rule according to the corresponding call rule to acquire object data generated by the corresponding function object; corresponding attribute data may also be extracted from the object data invoked based on the above-described invocation rules according to the corresponding extraction rules. Specifically, for example, the calling rule and the extracting rule may be code programs written according to preset rules and formats based on an interface protocol. Of course, the above-listed calling rules, extraction rules are only one illustrative example. In specific implementation, the calling rule and the extracting rule can be in other forms according to specific situations. The present specification is not limited to this.
In this embodiment, during implementation, the first functional object may acquire, according to a calling rule corresponding to a preset data interface of the second functional object, object data including multiple attribute data generated by the second functional object by calling the preset data interface of the second functional object; and extracting the required target attribute data from the object data according to a data extraction rule corresponding to the required target attribute data.
S32: and the server determines the first functional object as a use object of target attribute data according to the data extraction rule.
In this embodiment, the server may determine, according to the feature identifier of the target attribute data carried by the data extraction rule, that the first functional object specifically extracts the target attribute data to be used from the object data by using the data extraction rule, and further may finely determine that the first functional object using the data extraction rule is a use object of the target attribute data.
As can be seen from the above, the method for determining an attribute data usage object according to the embodiments of the present disclosure, by acquiring and extracting, according to the first function object, the data extraction rule used for extracting the required target attribute data from the object data, the target attribute data used by the first function object is accurately found from the object data including multiple attribute data called by the first function object, so that the usage object of the target attribute data is determined efficiently and precisely.
In one embodiment, the server may obtain the data extraction rule of the first functional object, and when implementing, the data extraction rule may include the following: the server records a data extraction rule used by the first functional object to extract target attribute data from object data through a marking unit preset in a rule packet of the first functional object. The rule package may include a plurality of sets of calling rules, where the calling rules are used to call a preset data interface to obtain corresponding object data, and the calling rules further include a plurality of data extraction rules, where the data extraction rules are used to extract required attribute data from the called object data.
In this embodiment, the above-mentioned marking unit may be specifically understood as a function device or an application program preset in a rule package of a function object for recording a data extraction rule used by the function unit to collect and record target attribute data required for extraction from the invoked acquired object data. For example, the data extraction rule used for extracting the target attribute data of the functional object can be recorded by marking by a marking unit preset in a rule packet of the functional object as follows: get data_f.
In one embodiment, after the server records the data extraction rule used by the first functional object to extract the target attribute data from the object data through the marking unit preset in the rule packet of the first functional object, the method may include the following steps when implementing: the server acquires the data extraction rule recorded by the marking unit through information data in a preset format, wherein the information data in the preset format comprises the data extraction rule. That is, the marking unit may send the data extraction rule to the server through the information data in the preset format after recording the data extraction rule of the first functional object. After receiving the information data in the preset format, the central server can acquire the characteristic identification of the data extraction rule in the information data in the preset format through data analysis, and according to the characteristic identification, determine that the attribute data extracted and used by the first functional object is target attribute data, and further determine that the first functional object is a use object of the target attribute data.
Specifically, for example, the central server may determine, according to the information data in the preset format sent by the marking unit, that a data extraction rule of the first functional object extraction target attribute data recorded by the marking unit is "get data_f", and determine that a feature identifier carried by the data extraction rule is "data_f"; further, the target attribute data extracted and used by the first functional object can be determined to be the attribute data f according to the characteristic identification; the first functional object is determined as a use object of the attribute data f.
In this embodiment, in specific implementation, the marking unit may generate corresponding information data in a preset format including the data extraction rule according to the recorded target extraction rule, and directly send the information data in the preset format to the central server, so that the central server may determine the use condition of the target attribute data and the use object of the target attribute data more efficiently and accurately directly according to the information data in the preset format. Of course, in a specific implementation, the marking unit may also record the data extraction rule used by the recorded first functional object in the log record of the corresponding object. The central server may periodically obtain a log record of the first functional object, and parse the log record of the first functional object to determine a data extraction rule used by the first functional object.
In one embodiment, the information data in a preset format may specifically include httpcLIENT information data. In specific implementation, the marking unit can send the httpclient request (namely httpclient information data) carrying the data extraction rule to the central server as the information data with the preset format, so that the central server can acquire the data extraction rule more timely and efficiently, analyze and summarize the data extraction rule used by the first functional object, and improve the processing efficiency. It should be noted that the above-listed information data in a predetermined format is only a schematic illustration. In specific implementation, the recorded data extraction rule can be transferred by adopting information data with other formats as the information data with the preset format according to specific conditions. The present specification is not limited to this.
In one embodiment, after the server determines that the first functional object is a usage object of the target attribute data according to the data extraction rule, the method may further include the following when implemented: and when the target attribute data is changed, sending a change evaluation request for the target attribute data to a use object of the target attribute data, wherein the change evaluation request is used for indicating the use object of the target attribute data to determine whether parameter change is needed based on the changed target attribute data.
In the present embodiment, when the attribute data related to a certain function object in the system is changed, for example, the attribute data y originally generated by the function object is changed to the attribute data x, and the function object may send an update instruction indicating that the target attribute data y is changed to the center server. After receiving the update instruction, the central server can determine changed target attribute data y according to the update instruction, and find a use object of the target attribute data y from a plurality of functional objects in the system as an evaluation object; further, a change evaluation request may be sent only to the evaluation object, where the change evaluation request may specifically be used to characterize that the target attribute data is changed, and instruct the functional object that receives the change evaluation request to perform change evaluation with respect to the influence of the change of the target attribute data. After receiving the evaluation change request, the evaluation object can determine that the changed target attribute data is attribute data y and the target attribute data is changed into attribute data x according to the change evaluation request; furthermore, according to the specific change condition, change evaluation on the attribute data y can be performed, and a change evaluation result can be obtained, wherein the change evaluation result can be used for indicating the affected parameter and the affected degree related to the task data processing of the evaluation object along with the change of the target attribute data; and then the evaluation object can determine whether to respond to the change of the attribute data y according to the change evaluation result, and correspondingly modify and adjust the parameters related to the attribute data y and how to modify and adjust the parameters related to the attribute data y when the evaluation object executes the task data processing. Therefore, the functional object which extracts the target attribute data y can respond to the change of the target attribute data y and can be adjusted in a targeted manner, so that the functional object can be matched with the change of the attribute data y, and task data processing can be accurately and efficiently completed.
In one embodiment, after the server records the data extraction rule used by the first functional object to extract the target attribute data from the object data through the marking unit preset in the rule packet of the first functional object, the method may further include the following when implemented: the server counts the times of using the data extraction rule corresponding to the target attribute data by the first functional object in a preset time period through a counting unit preset in a rule packet of the first functional object, wherein the times of using the data extraction rule corresponding to the target attribute data by the first functional object in the preset time period are used for determining the dependence degree of the first functional object on the target attribute data, and the dependence degree of the first functional object on the target attribute data can be used for the first functional object to more accurately perform change evaluation on target attribute data change.
In this embodiment, the counting unit may be understood as a counter, where the counter may be connected to the marking unit, and is configured to count the number of times the first functional object uses the data extraction rule in the preset period, and send the number of times the first functional object uses the data extraction rule in the preset period to the central server together with the recorded data extraction rule by the marking unit. After receiving the number of times that the first functional object uses the data extraction rule, the central server may determine the degree of dependence of the first functional object on the target attribute data corresponding to the data extraction rule according to the number of times that the first functional object uses a certain target extraction rule. In general, the number of times the first functional object uses the data extraction rule is large in the preset time period, and the higher the first functional object depends on the target attribute data, the larger the influence of the change of the target attribute data on the corresponding first functional object. When the target attribute data is changed, the central server may send a change evaluation request to the usage object (i.e., the first function object) of the target attribute data, and may also send the determined dependency degree of the first function object on the target attribute data together, so that the first function object may use the dependency degree of the first function object on the target attribute data as a reference data, to perform change evaluation on the target attribute data more accurately.
As can be seen from the above, according to the method for determining an attribute data usage object provided in the embodiments of the present disclosure, by acquiring and according to the target extraction rule used for extracting the target attribute data from the object data by the first functional object, the target attribute data used for extracting the first functional object is accurately found from the object data including multiple attribute data called by the first functional object, so that the usage object of the attribute data is determined efficiently and precisely; and the data extraction rule containing the use of the attribute data required by the extraction of the first functional object is directly sent to the central server by utilizing the information data in the preset format such as httpclient and the like, so that the processing efficiency is improved.
Referring to fig. 4, the embodiment of the present disclosure further provides a data processing method applied to the first functional object. The method can be implemented by the following steps:
s41: the method comprises the steps that a first functional object receives a change evaluation request for target attribute data sent by a server, wherein the server is used for determining whether the first functional object is a use object of the target attribute data according to acquired data extraction rules, and sending the change evaluation request to the first functional object under the condition that the first functional object is determined to be the use object of the target attribute data;
S42: the first functional object responds to the change event request and evaluates the change of the target attribute data to obtain an evaluation result;
s43: and the first functional object determines whether parameter change is required based on the changed target attribute data according to the evaluation result.
In this embodiment, the first functional object may be specifically understood as a functional object that obtains object data by calling a corresponding preset data interface, and extracts attribute data required for use from the object data. It should be noted that any one of the function objects in the system may be used as the first function object to call and acquire the object data.
In one embodiment, after the first functional object receives the change evaluation request for the target attribute data sent by the server, the method may further include the following when implemented: the number of times that the first functional object uses the data extraction rule corresponding to the target attribute data in a preset time period sent by the first functional object receiving server is used for determining the degree of dependence of the first functional object on the target attribute data.
Referring to fig. 5, the embodiment of the present disclosure further provides a data processing method, which is applied to a central server. The method can be implemented by the following steps:
s51: the server receives an update instruction of changing the target attribute data in the second functional object;
s52: the server determines whether a first functional object is a use object of the target attribute data according to a data extraction rule of the first functional object, wherein the data extraction rule is used for extracting required attribute data from the object data by the first functional object, and the object data is data obtained by calling a preset data interface for the first functional object from the second functional object;
s53: the server transmits a change evaluation request for the target attribute data to the first functional object when determining that the first functional object is a use object of the target attribute data.
In this embodiment, the update instruction may be specifically understood as instruction information for indicating that the target attribute data in the second function object is changed. The update instruction may specifically be sent to the central server by the function object (i.e., the second function object) that generates the target attribute data change.
In this embodiment, after the central server receives the update instruction, the update instruction may be parsed to determine target attribute data that is changed; and analyzing the data extraction rule used by the attribute data required by the extraction of each functional object (namely the first functional object) in the system, determining whether the data extraction rule of each functional object corresponds to the changed target attribute data, and if the data extraction rule of the functional object corresponds to the changed target attribute data (for example, the data characteristic identification of the data extraction rule corresponds to the changed target attribute data), determining that the functional object is the use object of the changed target attribute data. And when the server determines that the function object is the use object of the target attribute data, the server can send a change evaluation request aiming at the target attribute data to the function object so as to enable the function object to perform change evaluation aiming at the target attribute data, and determine whether parameter adjustment and modification aiming at the change of the target attribute data are needed or not so as to adapt to the change of the target attribute data.
Referring to fig. 6, the embodiment of the present disclosure further provides a method for determining the usage of attribute data, so as to precisely and accurately determine the specific usage of each attribute data related to the system. The method can be implemented by the following steps:
S61: acquiring data extraction rules of a plurality of functional objects, wherein the data extraction rules are used for extracting required attribute data from the invoked object data by the functional objects;
s62: and determining the use condition of the attribute data according to the data extraction rules of the plurality of functional objects.
In the present embodiment, the usage of the attribute data includes at least a functional object using the attribute data (i.e., a usage object of the attribute data), and the like. The usage of the attribute data may include information such as a frequency of using the attribute data by a usage object of the attribute data. The present specification is not limited to the specific content included in the usage of the attribute data.
In this embodiment, when the method is implemented, the data extraction rule of extracting the required attribute data from the invoked object data by each functional object in the system may be acquired first; determining which attribute data in the object data is specifically extracted by each functional object according to the characteristic identification of the attribute data carried in the data extraction rule; through statistics and summarization, the use condition of various attribute data in the system can be determined, namely, the use condition of various functional objects related to the system is determined.
In one embodiment, the data extraction rule for obtaining the plurality of functional objects may include the following when implemented: and respectively recording data extraction rules used by the function objects for extracting required attribute data from the invoked object data through marking units in rule packages preset on each of the plurality of function objects.
In an embodiment, the determining, according to the data extraction rule of the plurality of functional objects, a usage condition of attribute data may include: the server can acquire the data extraction rule used by the functional object recorded by the marking unit to extract the required attribute data from the object data through the information data in a preset format. Wherein the information data in the preset format includes the data extraction rule.
In one embodiment, the information data in the preset format may specifically include httpcLIENT information data and the like. Of course, it should be noted that the above-listed httpcLIENT information data is only a schematic illustration. The specific format of the information data of the preset format is not limited in this specification.
In one embodiment, after recording the extraction rule used by the functional object to extract the attribute data from the object data by the marking unit preset in the rule package of each functional object, the method may further include the following when implemented: and counting the times of extracting the required attribute data by using the data extraction rule by the functional object in a preset time period through a counting unit in a rule packet preset on each functional object in the plurality of functional objects.
In one embodiment, after determining the usage of the attribute data, the method may further include the following when implemented: and under the condition that the target attribute data in the attribute data is changed, according to the use condition of the attribute data, sending a change evaluation request for the target attribute data to a function object using the target attribute data in the plurality of function objects, wherein the change evaluation request is used for indicating whether the function object using the target attribute data needs to change parameters based on the changed target attribute data or not.
As can be seen from the above, according to the method for determining the usage situation of attribute data provided in the embodiments of the present disclosure, by acquiring and according to the data extraction rule used by extracting the required attribute data from the object data by each functional object, the attribute data actually extracted and used by the functional object is accurately found from the object data called by the functional object, so that the usage objects of various attribute data can be determined efficiently and precisely, and the usage situation of various attribute data can be obtained.
The embodiment of the specification also provides a server, which comprises a processor and a memory for storing instructions executable by the processor, wherein the processor can execute the following steps according to the instructions when being implemented: the method comprises the steps that a server obtains a data extraction rule of a first functional object, wherein the data extraction rule is used for extracting target attribute data from object data by the first functional object, and the object data is data obtained by calling a preset data interface from a second functional object for the first functional object; and the server determines the first functional object as a use object of target attribute data according to the data extraction rule.
In order to more accurately complete the above instructions, referring to fig. 7, the present disclosure further provides another specific server, where the server includes a network communication port 701, a processor 702, and a memory 703, where the foregoing structures are connected by an internal cable, so that each structure may perform specific data interaction.
The network communication port 701 may be specifically configured to obtain a data extraction rule of a first functional object, where the data extraction rule is used for the first functional object to extract target attribute data from object data, where the object data is data obtained by calling a preset data interface by the first functional object from a second functional object;
the processor 702 may be specifically configured to determine, according to the data extraction rule, that the first functional object is a usage object of target attribute data;
the memory 703 may be used for storing the acquired data extraction rule of the first functional object, and the corresponding instruction program.
In this embodiment, the network communication port 701 may be a virtual port that binds with different communication protocols, so as to send or receive different data. For example, the network communication port may be an 80 # port responsible for performing web data communication, a 21 # port responsible for performing FTP data communication, or a 25 # port responsible for performing mail data communication. The network communication port may also be an entity's communication interface or a communication chip. For example, it may be a wireless mobile network communication chip, such as GSM, CDMA, etc.; it may also be a Wifi chip; it may also be a bluetooth chip.
In this embodiment, the processor 702 may be implemented in any suitable manner. For example, the processor may take the form of, for example, a microprocessor or processor, and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a programmable logic controller, and an embedded microcontroller, among others. The description is not intended to be limiting.
In this embodiment, the memory 703 may include a plurality of layers, and in a digital system, the memory may be any memory as long as it can hold binary data; in an integrated circuit, a circuit with a memory function without a physical form is also called a memory, such as a RAM, a FIFO, etc.; in the system, the storage device in physical form is also called a memory, such as a memory bank, a TF card, and the like.
The present specification embodiment also provides a computer storage medium storing computer program instructions that when executed implement a method of determining an object to be used based on the above-described attribute data: the method comprises the steps that a server obtains a data extraction rule of a first functional object, wherein the data extraction rule is used for extracting target attribute data from object data by the first functional object, and the object data is data obtained by calling a preset data interface from a second functional object for the first functional object; and the server determines the first functional object as a use object of target attribute data according to the data extraction rule.
In the present embodiment, the storage medium includes, but is not limited to, a random access Memory (Random Access Memory, RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk (HDD), or a Memory Card (Memory Card). The memory may be used to store computer program instructions. The network communication unit may be an interface for performing network connection communication, which is set in accordance with a standard prescribed by a communication protocol.
In this embodiment, the functions and effects of the program instructions stored in the computer storage medium may be explained in comparison with other embodiments, and are not described herein.
Referring to fig. 8, on a software level, the embodiment of the present disclosure further provides a device for determining an attribute data usage object, where the device may specifically include the following structural modules:
the obtaining module 801 may be specifically configured to obtain a data extraction rule of a first functional object, where the data extraction rule is used for the first functional object to extract target attribute data from object data, where the object data invokes a preset data interface for the first functional object to obtain data from a second functional object;
The determining module 802 may be specifically configured to determine, according to the data extraction rule, that the first functional object is a usage object of the target attribute data.
In one embodiment, the obtaining module 801 may specifically record the data extraction rule used by the first functional object to extract the target attribute data from the object data through a marking unit preset in the rule packet of the first functional object.
In an embodiment, the obtaining module 801 may specifically include a receiving unit, where the receiving unit may specifically be configured to obtain the data extraction rule recorded by the marking unit through information data in a preset format, where the information data in the preset format includes the data extraction rule.
In one embodiment, the information data in a preset format may specifically include httpcLIENT information data. Of course, the httpcLIENT information data listed above is only a schematic illustration and should not be construed as unduly limiting the present specification.
In one embodiment, the apparatus may specifically further include a sending module, where the sending module may specifically be configured to send, to a usage object of the target attribute data, a change evaluation request for the target attribute data, where the change evaluation request is used to instruct the usage object of the target attribute data to determine whether a parameter change based on the changed target attribute data is required.
In one embodiment, the obtaining module 801 may specifically further count, by a counting unit preset in a rule packet of the first functional object, the number of times that the first functional object uses a data extraction rule corresponding to the target attribute data in a preset period, where the number of times that the first functional object uses a data extraction rule corresponding to the target attribute data in the preset period is used to determine the degree of dependency of the first functional object on the target attribute data.
It should be noted that, the units, devices, or modules described in the above embodiments may be implemented by a computer chip or entity, or may be implemented by a product having a certain function. For convenience of description, the above devices are described as being functionally divided into various modules, respectively. Of course, when the present description is implemented, the functions of each module may be implemented in the same piece or pieces of software and/or hardware, or a module that implements the same function may be implemented by a plurality of sub-modules or a combination of sub-units, or the like. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
As can be seen from the above, the determining device for attribute data using object provided in the embodiments of the present disclosure, because the acquiring module and the determining module acquire and extract, according to the data extraction rule used by the target attribute data required by each first functional object from the object data, the target attribute data used by the first functional object extracted from the object data including multiple attribute data, which is called by the first functional object, thereby efficiently and precisely determining the using object of each attribute data and the using situation of the attribute data.
Although the present description provides method operational steps as described in the examples or flowcharts, more or fewer operational steps may be included based on conventional or non-inventive means. The order of steps recited in the embodiments is merely one way of performing the order of steps and does not represent a unique order of execution. When implemented by an apparatus or client product in practice, the methods illustrated in the embodiments or figures may be performed sequentially or in parallel (e.g., in a parallel processor or multi-threaded processing environment, or even in a distributed data processing environment). The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, it is not excluded that additional identical or equivalent elements may be present in a process, method, article, or apparatus that comprises a described element. The terms first, second, etc. are used to denote a name, but not any particular order.
Those skilled in the art will also appreciate that, in addition to implementing the controller in a pure computer readable program code, it is well possible to implement the same functionality by logically programming the method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. Such a controller can be regarded as a hardware component, and means for implementing various functions included therein can also be regarded as a structure within the hardware component. Or even means for achieving the various functions may be regarded as either software modules implementing the methods or structures within hardware components.
The description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, classes, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
From the above description of embodiments, it will be apparent to those skilled in the art that the present description may be implemented in software plus a necessary general purpose hardware platform. Based on this understanding, the technical solution of the present specification may be embodied in essence or a part contributing to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, a mobile terminal, a server, or a network device, etc.) to execute the method described in the embodiments or some parts of the embodiments of the present specification.
Various embodiments in this specification are described in a progressive manner, and identical or similar parts are all provided for each embodiment, each embodiment focusing on differences from other embodiments. The specification is operational with numerous general purpose or special purpose computer system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
Although the present specification has been described by way of example, it will be appreciated by those skilled in the art that there are many variations and modifications to the specification without departing from the spirit of the specification, and it is intended that the appended claims encompass such variations and modifications as do not depart from the spirit of the specification.

Claims (17)

1. A method of determining an attribute data use object, comprising:
the method comprises the steps that a server obtains a data extraction rule of a first functional object, wherein the data extraction rule is used for extracting target attribute data from object data by the first functional object, and the object data is data obtained by calling a preset data interface from a second functional object for the first functional object; the first functional object is a functional object which acquires object data by calling a corresponding preset data interface and extracts attribute data required by use from the object data; the second functional object is a functional object provided with a corresponding preset data interface for other functional objects to call;
and the server determines the first functional object as a use object of target attribute data according to the data extraction rule.
2. The method of claim 1, the server obtaining data extraction rules for the first functional object, comprising:
The server records a data extraction rule used by the first functional object to extract target attribute data from object data through a marking unit preset in a rule packet of the first functional object.
3. The method according to claim 2, after the server records the data extraction rule used by the first functional object to extract the target attribute data from the object data by the marking unit preset in the rule package of the first functional object, the method further comprising:
the server acquires the data extraction rule recorded by the marking unit through information data in a preset format, wherein the information data in the preset format comprises the data extraction rule.
4. A method according to claim 3, the pre-formatted information data comprising httpcLIent information data.
5. The method of claim 1, after the server determines that the first functional object is a use object of target attribute data according to the data extraction rule, the method further comprising:
and when the target attribute data is changed, sending a change evaluation request for the target attribute data to a use object of the target attribute data, wherein the change evaluation request is used for indicating the use object of the target attribute data to determine whether parameter change is needed based on the changed target attribute data.
6. The method according to claim 2, after the server records the data extraction rule used by the first functional object to extract the target attribute data from the object data by the marking unit preset in the rule package of the first functional object, the method further comprising:
the server counts the times of using the data extraction rule corresponding to the target attribute data by the first functional object in a preset time period through a counting unit preset in a rule packet of the first functional object, wherein the times of using the data extraction rule corresponding to the target attribute data by the first functional object in the preset time period are used for determining the dependence degree of the first functional object on the target attribute data.
7. A method of determining an attribute data use object, comprising:
the method comprises the steps that a first functional object receives a change evaluation request for target attribute data sent by a server, wherein the server is used for determining whether the first functional object is a use object of the target attribute data according to acquired data extraction rules, and sending the change evaluation request to the first functional object under the condition that the first functional object is determined to be the use object of the target attribute data; the data extraction rule is used for extracting required attribute data from object data by the first functional object, and the object data is data obtained by calling a preset data interface from a second functional object by the first functional object; the first functional object is a functional object which acquires object data by calling a corresponding preset data interface and extracts attribute data required by use from the object data; the second functional object is a functional object provided with a corresponding preset data interface for other functional objects to call;
The first functional object responds to the change evaluation request and evaluates the change of the target attribute data to obtain an evaluation result;
and the first functional object determines whether parameter change is required based on the changed target attribute data according to the evaluation result.
8. The method of claim 7, after the first functional object receives the change evaluation request for the target attribute data sent by the server, the method further comprising:
the number of times that the first functional object uses the data extraction rule corresponding to the target attribute data in a preset time period sent by the first functional object receiving server is used for determining the degree of dependence of the first functional object on the target attribute data.
9. A data processing method, comprising:
the server receives an update instruction of changing the target attribute data in the second functional object;
the server determines whether a first functional object is a use object of the target attribute data according to a data extraction rule of the first functional object, wherein the data extraction rule is used for extracting required attribute data from the object data by the first functional object, and the object data is data obtained by calling a preset data interface for the first functional object from the second functional object; the first functional object is a functional object which acquires object data by calling a corresponding preset data interface and extracts attribute data required by use from the object data; the second functional object is a functional object provided with a corresponding preset data interface for other functional objects to call;
The server transmits a change evaluation request for the target attribute data to the first functional object when determining that the first functional object is a use object of the target attribute data.
10. A determination apparatus of an attribute data use object, comprising:
the device comprises an acquisition module, a data extraction module and a data processing module, wherein the acquisition module is used for acquiring a data extraction rule of a first functional object, the data extraction rule is used for extracting target attribute data from object data by the first functional object, and the object data is data acquired from a second functional object by calling a preset data interface for the first functional object; the first functional object is a functional object which acquires object data by calling a corresponding preset data interface and extracts attribute data required by use from the object data; the second functional object is a functional object provided with a corresponding preset data interface for other functional objects to call;
and the determining module is used for determining the first functional object as a using object of the target attribute data according to the data extraction rule.
11. The apparatus according to claim 10, wherein the obtaining module records a data extraction rule used by the first functional object to extract target attribute data from object data, specifically through a marking unit preset in a rule package of the first functional object.
12. The apparatus of claim 11, the obtaining module includes a receiving unit configured to obtain the data extraction rule recorded by the marking unit through information data in a preset format, where the information data in the preset format includes the data extraction rule.
13. The apparatus of claim 12, the pre-formatted information data comprising httpcLIent information data.
14. The apparatus according to claim 10, further comprising a sending module configured to send, to a use object of target attribute data, a change evaluation request for the target attribute data in a case where the target attribute data is changed, wherein the change evaluation request is configured to instruct the use object of target attribute data to determine whether parameter change based on the changed target attribute data is required.
15. The apparatus of claim 11, the obtaining module further specifically counts, by a counting unit preset in a rule package of the first functional object, a number of times the first functional object uses a data extraction rule corresponding to the target attribute data within a preset period of time, where the number of times the first functional object uses the data extraction rule corresponding to the target attribute data within the preset period of time is used to determine a degree of dependency of the first functional object on the target attribute data.
16. A server comprising a processor and a memory for storing processor-executable instructions, which when executed by the processor implement the steps of the method of any one of claims 1 to 6.
17. A computer readable storage medium having stored thereon computer instructions which when executed implement the steps of the method of any of claims 1 to 6.
CN201811160470.9A 2018-09-30 2018-09-30 Determination method and device for attribute data using object and server Active CN109635015B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811160470.9A CN109635015B (en) 2018-09-30 2018-09-30 Determination method and device for attribute data using object and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811160470.9A CN109635015B (en) 2018-09-30 2018-09-30 Determination method and device for attribute data using object and server

Publications (2)

Publication Number Publication Date
CN109635015A CN109635015A (en) 2019-04-16
CN109635015B true CN109635015B (en) 2023-07-18

Family

ID=66066337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811160470.9A Active CN109635015B (en) 2018-09-30 2018-09-30 Determination method and device for attribute data using object and server

Country Status (1)

Country Link
CN (1) CN109635015B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110516967B (en) * 2019-08-28 2024-05-10 腾讯科技(深圳)有限公司 Information evaluation method and related device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105447079A (en) * 2015-11-04 2016-03-30 华中科技大学 Data cleaning method based on functional dependency
CN105512044A (en) * 2015-12-25 2016-04-20 北京奇虎科技有限公司 Method and system for updating object base used for keyword drive test

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4715662B2 (en) * 2006-07-21 2011-07-06 セイコーエプソン株式会社 Print data generation apparatus for data print sheet, method for generating print data, and computer program
US20080155574A1 (en) * 2006-12-20 2008-06-26 Gohel Nilesh R Meta-data driven data access system
US10157195B1 (en) * 2007-11-29 2018-12-18 Bdna Corporation External system integration into automated attribute discovery
US8577991B2 (en) * 2008-03-31 2013-11-05 Sap Ag Managing consistent interfaces for internal service request business objects across heterogeneous systems
JP5325177B2 (en) * 2010-08-09 2013-10-23 株式会社日立製作所 Web application operation recording method and system
WO2014110991A1 (en) * 2013-01-17 2014-07-24 北京奇虎科技有限公司 Method for real time displaying information and mobile communication terminal
US20150161123A1 (en) * 2013-12-09 2015-06-11 Microsoft Corporation Techniques to diagnose live services
CN106341444B (en) * 2016-03-16 2018-02-13 百度在线网络技术(北京)有限公司 Data access method and device
JP2018038206A (en) * 2016-09-01 2018-03-08 住友電気工業株式会社 Attribute estimation device, attribute estimation method, and attribute estimation program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105447079A (en) * 2015-11-04 2016-03-30 华中科技大学 Data cleaning method based on functional dependency
CN105512044A (en) * 2015-12-25 2016-04-20 北京奇虎科技有限公司 Method and system for updating object base used for keyword drive test

Also Published As

Publication number Publication date
CN109635015A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
WO2017101606A1 (en) System and method for collecting and analyzing data
US20150170070A1 (en) Method, apparatus, and system for monitoring website
CN108228322B (en) Distributed link tracking and analyzing method, server and global scheduler
CN112232881A (en) Data detection method and device, electronic equipment and storage medium
CN109726091B (en) Log management method and related device
CN114817968B (en) Method, device and equipment for tracing path of featureless data and storage medium
WO2019015670A1 (en) Method, device, and apparatus for tracking and monitoring software behavior
CN111930382A (en) Application page access method, device and equipment
CN110851339A (en) Method and device for reporting buried point data, storage medium and terminal equipment
CN108989365B (en) Information processing method, server, terminal equipment and storage medium
CN111800292A (en) Early warning method and device based on historical flow, computer equipment and storage medium
CN110851334A (en) Flow statistical method, electronic device, system and medium
CN110941530A (en) Method and device for acquiring monitoring data, computer equipment and storage medium
CN109635015B (en) Determination method and device for attribute data using object and server
CN108833500B (en) Service calling method, service providing method, data transmission method and server
CN114490280A (en) Log processing method, device, equipment and medium
CN111917848A (en) Data processing method based on edge computing and cloud computing cooperation and cloud server
CN110275785B (en) Data processing method and device, client and server
CN110503504B (en) Information identification method, device and equipment of network product
CN110855525A (en) Flow statistical method, electronic device, system and medium
KR101553923B1 (en) Apparatus and method for analyzing system usage
CN113297358A (en) Data processing method, device, server and computer readable storage medium
CN113239251A (en) Processing method of buried point data, related device and storage medium
CN110391952B (en) Performance analysis method, device and equipment
CN108038783B (en) Position management method, system and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200927

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200927

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: Greater Cayman, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant