CN110704062A - Dependency management method, data acquisition method, device and equipment - Google Patents
Dependency management method, data acquisition method, device and equipment Download PDFInfo
- Publication number
- CN110704062A CN110704062A CN201910926506.8A CN201910926506A CN110704062A CN 110704062 A CN110704062 A CN 110704062A CN 201910926506 A CN201910926506 A CN 201910926506A CN 110704062 A CN110704062 A CN 110704062A
- Authority
- CN
- China
- Prior art keywords
- dependency
- information
- identification
- identifier
- dependent
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the application provides a dependency management method, a data acquisition method, a device and equipment, and relates to the technical field of networks. In the embodiment of the application, by acquiring the dependency information of the dependent object, the dependency identifier corresponding to the dependency information is determined and the association relationship between the dependency identifier and the dependency information is established. And storing the dependency identification and the corresponding dependency information thereof in a preset directory based on the association relation so as to obtain the corresponding dependency information by calling the dependency identification in the preset directory. According to the embodiment of the application, the dependency information is effectively managed based on the incidence relation between the dependency information and the dependency identification, and the compiling efficiency of workers is improved.
Description
Technical Field
The embodiment of the application relates to the technical field of networks, in particular to a dependency management method, a data acquisition method, a dependency management device and computer equipment.
Background
Data provided by a third-party platform is often required to be relied on in the running process of the application program, for example, the network operation vehicle application is required to be relied on position data provided by a third-party map application.
Therefore, in the development and application stage, a worker needs to find the dependency information corresponding to the data interface or the download address of the third-party platform in the dependency library and compile the dependency information into the corresponding module, so that the third-party data can be remotely depended on based on the dependency information. In practical applications, a third-party application platform needs to update corresponding dependency information and version information in a dependency library in time without regular update, but because a large amount of dependency information needs to be used in an application development stage, how to effectively manage the dependency information to improve the compiling efficiency of a worker becomes a technical problem to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a dependency management method, a data acquisition device and equipment, so that the dependency information can be effectively managed, and the compiling efficiency of workers is greatly improved.
In a first aspect, an embodiment of the present application provides a dependency management method, including:
acquiring dependency information of a dependent object;
determining a dependency identifier corresponding to the dependency information and establishing an association relationship between the dependency identifier and the dependency information;
and storing the dependency identification and the corresponding dependency information thereof in a preset directory based on the association relation so as to obtain the corresponding dependency information by calling the dependency identification in the preset directory.
In a second aspect, an embodiment of the present application provides a data obtaining method, including:
determining a dependency identification corresponding to the dependency object; the dependency identification corresponding to the dependency object is set according to a preset rule;
referencing the dependency identification to obtain dependency information of the dependent object; the dependency information establishes an association relationship with the dependency identifier in advance;
and acquiring target data of the dependent object based on the dependent information.
In a third aspect, an embodiment of the present application provides a dependency management apparatus, including:
the first acquisition module is used for acquiring the dependency information of the dependency object;
the first determining module is used for determining a dependency identifier corresponding to the dependency information and establishing an incidence relation between the dependency identifier and the dependency information;
and the storage module is used for storing the dependency identification and the corresponding dependency information thereof into a preset directory based on the association relation so as to obtain the corresponding dependency information by calling the dependency identification in the preset directory.
In a fourth aspect, an embodiment of the present application provides a data acquisition apparatus, including:
the second determination module is used for determining a dependency identifier corresponding to the dependency object; the dependency identification corresponding to the dependency object is set according to a preset rule;
the reference module is used for referencing the dependency identification to acquire dependency information of the dependency object; the dependency information establishes an association relationship with the dependency identifier in advance;
and the second acquisition module is used for acquiring the target data of the dependent object based on the dependent information.
In a fifth aspect, an embodiment of the present application provides a computer device, including a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
acquiring dependency information of a dependent object;
determining a dependency identifier corresponding to the dependency information and establishing an association relationship between the dependency identifier and the dependency information;
and storing the dependency identification and the corresponding dependency information thereof in a preset directory based on the association relation so as to obtain the corresponding dependency information by calling the dependency identification in the preset directory.
In a sixth aspect, embodiments of the present application provide a computer device, including a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
determining a dependency identification corresponding to the dependency object; the dependency identification corresponding to the dependency object is set according to a preset rule;
referencing the dependency identification to obtain dependency information of the dependent object; the dependency information establishes an association relationship with the dependency identifier in advance;
and acquiring target data of the dependent object based on the dependent information. Compared with the prior art, the application can obtain the following technical effects:
the embodiment of the application provides a dependency management method, a data acquisition method, a device and equipment. And storing the dependency identification with the association relation and the corresponding dependency information in a preset directory for effective management. Meanwhile, based on the association relationship, the worker can obtain the corresponding dependency information stored in the preset directory by only referring to the dependency identifier, so that the target data provided by the dependent object can be obtained based on the dependency information, the compiling efficiency of the worker can be improved, and the problem of compiling errors caused by human errors can be effectively reduced.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flow diagram illustrating one embodiment of a dependency management method according to the present application;
FIG. 2 is a flow diagram illustrating one embodiment of a data acquisition method according to the present application;
FIG. 3 is a schematic diagram illustrating an embodiment of a dependency management apparatus according to the present application;
FIG. 4 is a schematic diagram illustrating an embodiment of a data acquisition device according to the present application;
FIG. 5 illustrates a schematic block diagram of one embodiment of a computer device, in accordance with the present application;
FIG. 6 is a schematic diagram illustrating one embodiment of a computer device in accordance with the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
In some of the flows described in the specification and claims of this application and in the above-described figures, a number of operations are included that occur in a particular order, but it should be clearly understood that these operations may be performed out of order or in parallel as they occur herein, the number of operations, e.g., 101, 102, etc., merely being used to distinguish between various operations, and the number itself does not represent any order of performance. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
As described in the background art, in order to improve the accuracy of attribute identification of a new domain classification model, a large number of text samples of the domain need to be obtained first for training the classification model. However, for the new field, because there are fewer users and the amount of generated text data is small, it is difficult to obtain a training model with better accuracy by training with fewer text samples.
Therefore, in order to improve the accuracy of a new domain classification model, the inventor provides the technical scheme of the application through a series of researches, in the embodiment of the application, a plurality of attribute features are obtained as nodes by performing word segmentation on a first text sample of a first domain and a second text sample of a second domain, and a connection graph including cross-domain information is obtained by constructing a connection graph including the first domain and the second domain with a correlation between the attribute features as edges. Therefore, the node vector of each node in the determined connected graph contains a large amount of effective information of the first field and the second field. Training a classification model of the second field based on the node vector of at least one node in the connected graph hit by the second text sample and at least one corresponding attribute label, so that the classification model learns to obtain the attribute recognition capability of the first field, and determining the recognition result of the text to be recognized of the second field based on at least the classification model and the node vector. According to the method and the device, the effective information in the first field can be migrated to the second field based on the node vectors obtained by the connected graph learning, and accuracy of attribute recognition of the training model in the second field is improved.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a flowchart illustrating an embodiment of a dependency management method according to an embodiment of the present application. The method may comprise the steps of:
101: dependency information of the dependent object is obtained.
In practical applications, the dependent object may be a third-party application platform, such as a map application platform, a payment application platform, an exercise health application platform, an audio/video application platform, a social application platform, and the like, which is not specifically limited herein.
It can be understood that the same dependent object may be depended on by different application modules, and any application module may depend on a plurality of different dependent objects according to the type of the required data, and further there may also be a dependent transfer object, that is, the application module a depends on the application platform B, and the application module B depends on the application platform C, at this time, the application module a may also transfer a data file provided by the application platform C, and the setting may be performed according to the actual requirement without specific limitation.
The dependency information includes a data interface or a data address of the third-party application platform, and the worker compiles the dependency information into a data code in the application development process, so that the application module obtains a corresponding data file from the dependent third-party application platform based on the dependency information in the running process, for example, obtains position data of the map application platform, and the dependency data may also be a network framework, a data analysis framework, and the like of the third-party application, and is not limited specifically herein.
102: and determining a dependency identifier corresponding to the dependency information and establishing an association relationship between the dependency identifier and the dependency information.
In order to facilitate efficient management of a large amount of dependency information, as an implementation manner, the determining a dependency identifier corresponding to the dependency information and establishing an association relationship between the dependency identifier and the dependency information may include:
setting a dependency identifier corresponding to the dependency object according to a preset rule;
and mapping the dependency information of the dependent object to a value unique to the dependency identification.
In practical application, the dependency identifier of the dependent object can be set according to a preset rule, and since the dependent object can provide a plurality of data files, one dependent object can set a plurality of dependency identifiers according to the types of the dependent data files. The dependency identifier may be used as a key to establish a unique mapping relationship with the dependency information as a value, so that unique dependency information may be obtained based on the dependency identifier.
103: and storing the dependency identification and the corresponding dependency information thereof in a preset directory based on the association relation so as to obtain the corresponding dependency information by calling the dependency identification in the preset directory.
In order to refer to the dependency identifier, the dependency identifier and the dependency information for establishing the mapping relationship are stored in the preset directory for management, and may be stored in the same unified file in the preset directory or in different files, for example, each dependency object corresponds to one storage file or the dependency information that an application module depends on corresponds to one storage file, which is not limited herein.
Optionally, in some embodiments, the storing the dependency identifier and the dependency information corresponding to the dependency identifier based on the association relationship into a preset directory, so as to obtain the corresponding dependency information by invoking the dependency identifier in the preset directory may include:
based on the incidence relation, the dependency identification, the dependency information and the corresponding version information are stored in the preset directory, and the corresponding dependency information and version information are obtained by calling the dependency identification.
Further, in order to detect whether the dependency information is valid dependency information of the current dependency object, the detection may be performed by recording version information of the dependency object corresponding to the dependency information, and as an optional implementation, the method may further include:
determining version information corresponding to the dependent object;
establishing the association relation between the version information and the dependency identification respectively;
and storing the version information to the preset directory based on the incidence relation.
The unique association relation is established among the version information, the dependency information and the dependency identification corresponding to the dependency object, so that whether the dependency information is the current effective dependency information of the dependency object or not can be conveniently detected, and whether the dependency information needs to be updated, newly added, modified or deleted or not can be effectively managed.
In practical applications, because the data or version of the third-party application may be updated irregularly, the corresponding dependency information also needs to be updated in time, so as to obtain the dependent data file based on the updated dependency information. Therefore, in order to facilitate determining whether the current dependency information matches the third party application version, the determination may be made by the version information corresponding to the dependency information.
Optionally, whether the dependency information of the dependent object has an update may also be detected, and when there is an update, the dependency information corresponding to the dependency identifier stored in the preset directory is replaced with the updated dependency information, so in some embodiments, the method may further include:
detecting whether the dependency information of the dependent object is updated;
if the dependent object is updated, acquiring the updated dependent information of the dependent object;
and reestablishing the association relationship between the dependency identification and the updated dependency information.
Optionally, it may also be determined whether to further update the dependency information by detecting whether there is an update in the version information of the dependent object, and in some embodiments, the method may further include:
detecting whether the version information of the dependent object is updated;
if the dependent object is updated, acquiring updated version information of the dependent object;
and reestablishing the association relationship between the dependency identification and the updated version information.
After detecting the version information update, whether the dependency information of the dependent object changes can be further determined, and if so, the dependency information in the preset directory is synchronously updated.
In the embodiment of the application, the dependency information and the corresponding dependency identification which are established in the association relationship are stored in the same directory file for management by establishing the association relationship between the dependency identification and the dependency information, so that the addition, deletion, modification, replacement and the like of the dependency information can be managed efficiently, and the management efficiency of the dependency information is greatly improved.
Fig. 2 is a schematic flowchart of an embodiment of a data acquisition method according to an embodiment of the present application. The method may comprise the steps of:
201: and determining the dependency identification corresponding to the dependent object.
And the dependency identification corresponding to the dependency object is set according to a preset rule.
202: and referencing the dependency identification to obtain dependency information of the dependent object.
And establishing an association relationship between the dependency information and the dependency identifier in advance.
203: and acquiring target data of the dependent object based on the dependent information.
Based on the dependency management method in the embodiment of fig. 1, in the application development, the dependency information does not need to be compiled into the application module, but only the dependency identifier needs to be referred to the application module, and the application module can obtain the corresponding dependency information stored in the preset directory by referring to the dependency identifier in the running and compiling process, so that the target data file of the dependent object can be obtained based on the dependency information.
Optionally, in some embodiments, the referring to the dependency identifier to obtain the dependency information associated with the dependency identifier may include:
and referencing the dependency identification to acquire dependency information and corresponding version information of the dependent object.
Further, version information stored in a preset directory can be obtained by referring to the dependency identifier, so that the data file of the dependent object can be obtained based on the version information and the dependency information.
In the embodiment of the application, the application development is carried out by citing the dependency identification, the compiling efficiency of the staff can be greatly improved, and the staff does not need to detect whether the dependency information and the version information are effective or not in the compiling process because the manager can detect and update the dependency information stored in the same directory, so that the working steps of the staff can be simplified, and the compiling efficiency of the staff is improved.
Fig. 3 is a schematic structural diagram of an embodiment of a dependency management apparatus according to an embodiment of the present application.
The apparatus may include:
a first obtaining module 301, configured to obtain dependency information of a dependent object.
A first determining module 302, configured to determine a dependency identifier corresponding to the dependency information and establish an association relationship between the dependency identifier and the dependency information.
A storage module 303, configured to store the dependency identifier and the corresponding dependency information thereof in a preset directory based on the association relationship, so as to obtain corresponding dependency information by calling the dependency identifier in the preset directory.
In order to facilitate efficient management of a large amount of dependency information, as an implementation, the first determining module 302 may be specifically configured to:
setting a dependency identifier corresponding to the dependency object according to a preset rule;
and mapping the dependency information of the dependent object to a value unique to the dependency identification.
Optionally, in some embodiments, the storage module 303 may be specifically configured to:
based on the incidence relation, the dependency identification, the dependency information and the corresponding version information are stored in the preset directory, and the corresponding dependency information and version information are obtained by calling the dependency identification.
Further, in order to detect whether the dependency information is valid dependency information of the current dependency object, the detection may be performed by recording version information of the dependency object corresponding to the dependency information, and as an optional implementation manner, the method may further include:
the version information determining module is used for determining the version information corresponding to the dependent object;
the incidence relation establishing module is used for establishing incidence relations between the version information and the dependency information and between the version information and the dependency identification;
and the version information storage module is used for storing the version information to the preset directory based on the incidence relation.
Optionally, whether the dependency information of the dependent object has an update may be detected, and when there is an update, the dependency information corresponding to the dependency identifier stored in the preset directory is replaced with the updated dependency information, so in some embodiments, the method may further include:
the first detection module is used for detecting whether the dependency information of the dependency object is updated or not; if the update happens, triggering a first update acquisition module;
the first updating acquisition module is used for acquiring the updated dependency information of the dependency object;
and the first replacement module is used for reestablishing the association relationship between the dependency identification and the updated dependency information.
Optionally, it may also be determined whether to further update the dependency information by detecting whether the version information of the dependent object has an update, and in some embodiments, the method may further include:
the second detection module is used for detecting whether the version information of the dependent object is updated or not; if the update happens, triggering a second update acquisition module;
the second updating and acquiring module is used for acquiring the updated version information of the dependent object;
and the second replacement module is used for reestablishing the association relationship between the dependency identification and the updated version information.
The foregoing detailed description has described specific embodiments of the present application in detail, which are not repeated herein.
In the embodiment of the application, the dependency information and the corresponding dependency identification which are established in the association relationship are stored in the same directory file for management by establishing the association relationship between the dependency identification and the dependency information, so that the addition, deletion, modification, replacement and the like of the dependency information can be managed efficiently, and the management efficiency of the dependency information is greatly improved.
Fig. 4 is a schematic structural diagram of an embodiment of a data acquisition apparatus according to an embodiment of the present application.
The apparatus may include:
a second determining module 401, configured to determine a dependency identifier corresponding to the dependent object.
And the dependency identification corresponding to the dependency object is set according to a preset rule.
A reference module 402, configured to reference the dependency identifier to obtain dependency information of the dependent object.
And establishing an association relationship between the dependency information and the dependency identifier in advance.
A second obtaining module 403, configured to obtain target data of the dependent object based on the dependency information.
Optionally, in some embodiments, the reference module 402 may specifically be configured to:
and referencing the dependency identification to acquire dependency information and corresponding version information of the dependent object.
Further, version information stored in a preset directory can be obtained by referring to the dependency identifier, so that the data file of the dependent object can be obtained based on the version information and the dependency information.
The foregoing detailed description has described specific embodiments of the present application in detail, which are not repeated herein.
In the embodiment of the application, the application development is carried out by citing the dependency identification, the compiling efficiency of the staff can be greatly improved, and the staff does not need to detect whether the dependency information and the version information are effective or not in the compiling process because the manager can detect and update the dependency information stored in the same directory, so that the working steps of the staff can be simplified, and the compiling efficiency of the staff is improved.
Fig. 5 is a schematic structural diagram of an embodiment of a computer device according to an embodiment of the present disclosure, where the computer device may include a processing component 501 and a storage component 502.
The storage component 502 is used to store one or more computer instructions; the one or more computer instructions are for execution invoked by the processing component 501.
The processing component 501 may be configured to:
acquiring dependency information of a dependent object;
determining a dependency identifier corresponding to the dependency information and establishing an association relationship between the dependency identifier and the dependency information;
and storing the dependency identification and the corresponding dependency information thereof in a preset directory based on the association relation so as to obtain the corresponding dependency information by calling the dependency identification in the preset directory.
The processing component 501 may include one or more processors executing computer instructions to perform all or part of the steps of the method described above. Of course, the processing elements may also be implemented as one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components configured to perform the above-described methods.
The storage component 502 is configured to store various types of data to support operations in the server. The memory components may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Of course, the computer device may of course also comprise other components, such as input/output interfaces, communication components, etc.
The input/output interface provides an interface between the processing components and peripheral interface modules, which may be output devices, input devices, etc.
The communication component is configured to facilitate wired or wireless communication between the server and other devices, such as with a terminal.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a computer, the dependency management method of the embodiment shown in fig. 1 may be implemented.
Fig. 6 is a schematic structural diagram of an embodiment of a computer device according to an embodiment of the present disclosure, where the computer device may include a processing component 601 and a storage component 602.
The storage component 602 is used to store one or more computer instructions; the one or more computer instructions are for execution invoked by the processing component 601.
The processing component 601 may be configured to:
determining a dependency identification corresponding to the dependency object; the dependency identification corresponding to the dependency object is set according to a preset rule;
referencing the dependency identification to obtain dependency information of the dependent object; the dependency information establishes an association relationship with the dependency identifier in advance;
and acquiring target data of the dependent object based on the dependent information.
Among other things, the processing component 601 may include one or more processors to execute computer instructions to perform all or some of the steps of the above-described method. Of course, the processing elements may also be implemented as one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components configured to perform the above-described methods.
The storage component 602 is configured to store various types of data to support operations in the server. The memory components may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Of course, the computer device may of course also comprise other components, such as input/output interfaces, communication components, etc.
The input/output interface provides an interface between the processing components and peripheral interface modules, which may be output devices, input devices, etc.
The communication component is configured to facilitate wired or wireless communication between the server and other devices, such as with a terminal.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a computer, the data acquisition method according to the embodiment shown in fig. 2 may be implemented.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (12)
1. A dependency management method, comprising:
acquiring dependency information of a dependent object;
determining a dependency identifier corresponding to the dependency information and establishing an association relationship between the dependency identifier and the dependency information;
and storing the dependency identification and the corresponding dependency information thereof in a preset directory based on the association relation so as to obtain the corresponding dependency information by calling the dependency identification in the preset directory.
2. The method of claim 1, further comprising:
detecting whether the dependency information of the dependent object is updated;
if the dependent object is updated, acquiring the updated dependent information of the dependent object;
and reestablishing the association relationship between the dependency identification and the updated dependency information.
3. The method of claim 1, further comprising:
determining version information corresponding to the dependent object;
establishing the association relation between the version information and the dependency identification respectively;
and storing the version information to the preset directory based on the incidence relation.
4. The method of claim 3, further comprising:
detecting whether the version information of the dependent object is updated;
if the dependent object is updated, acquiring updated version information of the dependent object;
and reestablishing the association relationship between the dependency identification and the updated version information.
5. The method according to claim 1, wherein the determining the dependency identifier corresponding to the dependency information and establishing the association relationship between the dependency identifier and the dependency information comprises:
setting a dependency identifier corresponding to the dependency object according to a preset rule;
and mapping the dependency information of the dependent object to a value unique to the dependency identification.
6. The method according to claim 4, wherein the storing the dependency identifier and the dependency information corresponding to the dependency identifier into a preset directory based on the association relationship, so as to obtain the corresponding dependency information by calling the dependency identifier in the preset directory includes:
based on the incidence relation, the dependency identification, the dependency information and the corresponding version information are stored in the preset directory, and the corresponding dependency information and version information are obtained by calling the dependency identification.
7. A method of data acquisition, comprising:
determining a dependency identification corresponding to the dependency object; the dependency identification corresponding to the dependency object is set according to a preset rule;
referencing the dependency identification to obtain dependency information of the dependent object; the dependency information establishes an association relationship with the dependency identifier in advance;
and acquiring target data of the dependent object based on the dependent information.
8. The method of claim 7, wherein the referencing the dependency identifier to obtain dependency information associated with the dependency identifier comprises:
and referencing the dependency identification to acquire dependency information and corresponding version information of the dependent object.
9. A dependency management apparatus, comprising:
the first acquisition module is used for acquiring the dependency information of the dependency object;
the first determining module is used for determining a dependency identifier corresponding to the dependency information and establishing an incidence relation between the dependency identifier and the dependency information;
and the storage module is used for storing the dependency identification and the corresponding dependency information thereof into a preset directory based on the association relation so as to obtain the corresponding dependency information by calling the dependency identification in the preset directory.
10. A data acquisition apparatus, comprising:
the second determination module is used for determining a dependency identifier corresponding to the dependency object; the dependency identification corresponding to the dependency object is set according to a preset rule;
the reference module is used for referencing the dependency identification to acquire dependency information of the dependency object; the dependency information establishes an association relationship with the dependency identifier in advance;
and the second acquisition module is used for acquiring the target data of the dependent object based on the dependent information.
11. A computer device comprising a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
acquiring dependency information of a dependent object;
determining a dependency identifier corresponding to the dependency information and establishing an association relationship between the dependency identifier and the dependency information;
and storing the dependency identification and the corresponding dependency information thereof in a preset directory based on the association relation so as to obtain the corresponding dependency information by calling the dependency identification in the preset directory.
12. A computer device comprising a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
determining a dependency identification corresponding to the dependency object; the dependency identification corresponding to the dependency object is set according to a preset rule;
referencing the dependency identification to obtain dependency information of the dependent object; the dependency information establishes an association relationship with the dependency identifier in advance;
and acquiring target data of the dependent object based on the dependent information.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910926506.8A CN110704062A (en) | 2019-09-27 | 2019-09-27 | Dependency management method, data acquisition method, device and equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910926506.8A CN110704062A (en) | 2019-09-27 | 2019-09-27 | Dependency management method, data acquisition method, device and equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110704062A true CN110704062A (en) | 2020-01-17 |
Family
ID=69196983
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910926506.8A Pending CN110704062A (en) | 2019-09-27 | 2019-09-27 | Dependency management method, data acquisition method, device and equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110704062A (en) |
Cited By (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111382180A (en) * | 2020-03-11 | 2020-07-07 | 网易(杭州)网络有限公司 | Data clearing method and device for local cache |
| CN112068842A (en) * | 2020-09-15 | 2020-12-11 | 贝壳技术有限公司 | Dependency relationship establishing method, linkage compiling method and system |
| CN112163024A (en) * | 2020-09-11 | 2021-01-01 | 重庆誉存大数据科技有限公司 | A method for exporting and importing configuration information based on hierarchical association structure |
| CN112256318A (en) * | 2020-10-26 | 2021-01-22 | 上海云轴信息科技有限公司 | Construction method and equipment for dependent product |
| CN112819154A (en) * | 2021-01-20 | 2021-05-18 | 上海上湖信息技术有限公司 | Pre-training model generation method and device applied to graph learning field |
| CN112860312A (en) * | 2021-02-19 | 2021-05-28 | 百果园技术(新加坡)有限公司 | Method and device for detecting item dependency relationship change |
| CN113094041A (en) * | 2021-04-08 | 2021-07-09 | 北京自如信息科技有限公司 | Component management method and device of application program and computer equipment |
| CN113238763A (en) * | 2021-05-17 | 2021-08-10 | 京东数字科技控股股份有限公司 | Application deployment method, device, storage medium and program product |
| CN114155926A (en) * | 2021-12-14 | 2022-03-08 | 浙江太美医疗科技股份有限公司 | Clinical test data storage method and device, computer equipment and storage medium |
| CN114237572A (en) * | 2021-12-17 | 2022-03-25 | 北京金堤科技有限公司 | Method, device, equipment and storage medium for native engineering integrated development framework |
| CN114416042A (en) * | 2022-01-26 | 2022-04-29 | 厦门雅基软件有限公司 | Scene data updating method, device and system and electronic equipment |
| CN114816393A (en) * | 2022-05-18 | 2022-07-29 | 北京百度网讯科技有限公司 | Information generation method, apparatus, device, and storage medium |
Citations (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101515234A (en) * | 2009-03-26 | 2009-08-26 | 华亚微电子(上海)有限公司 | Associated data processing method and associated data device |
| US20100082646A1 (en) * | 2008-09-26 | 2010-04-01 | Microsoft Corporation | Tracking constraints and dependencies across mapping layers |
| CN105183760A (en) * | 2015-07-24 | 2015-12-23 | 北京奇虎科技有限公司 | Webpage component loading method and apparatus |
| US20160253625A1 (en) * | 2015-02-26 | 2016-09-01 | Red Hat, Inc. | Employing Dependency Graph in Software Build Projects |
| CN106339222A (en) * | 2016-08-23 | 2017-01-18 | 联动优势电子商务有限公司 | Service implementing method and device |
| CN107391101A (en) * | 2017-04-21 | 2017-11-24 | 阿里巴巴集团控股有限公司 | A kind of information processing method and device |
| CN107678776A (en) * | 2017-08-09 | 2018-02-09 | 上海壹账通金融科技有限公司 | Multimode version dependence construction method, device, server and storage medium |
| CN107704234A (en) * | 2017-08-22 | 2018-02-16 | 北京三快在线科技有限公司 | Front end engineering construction method, device, electronic equipment and readable storage medium storing program for executing |
| CN108415998A (en) * | 2018-02-24 | 2018-08-17 | 平安科技(深圳)有限公司 | Using dependence update method, terminal, equipment and storage medium |
| US20190114165A1 (en) * | 2017-10-17 | 2019-04-18 | Microsoft Technology Licensing, Llc | Using semantic annotations to control compatibility behaviors |
| CN109710190A (en) * | 2018-12-26 | 2019-05-03 | 百度在线网络技术(北京)有限公司 | A kind of date storage method, device, equipment and storage medium |
| CN109739523A (en) * | 2019-01-03 | 2019-05-10 | Oppo广东移动通信有限公司 | Application program packaging method, device, storage medium and terminal |
| CN110245279A (en) * | 2019-05-06 | 2019-09-17 | 阿里巴巴集团控股有限公司 | Dependent tree generation method, device, equipment and storage medium |
-
2019
- 2019-09-27 CN CN201910926506.8A patent/CN110704062A/en active Pending
Patent Citations (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100082646A1 (en) * | 2008-09-26 | 2010-04-01 | Microsoft Corporation | Tracking constraints and dependencies across mapping layers |
| CN101515234A (en) * | 2009-03-26 | 2009-08-26 | 华亚微电子(上海)有限公司 | Associated data processing method and associated data device |
| US20160253625A1 (en) * | 2015-02-26 | 2016-09-01 | Red Hat, Inc. | Employing Dependency Graph in Software Build Projects |
| CN105183760A (en) * | 2015-07-24 | 2015-12-23 | 北京奇虎科技有限公司 | Webpage component loading method and apparatus |
| CN106339222A (en) * | 2016-08-23 | 2017-01-18 | 联动优势电子商务有限公司 | Service implementing method and device |
| CN107391101A (en) * | 2017-04-21 | 2017-11-24 | 阿里巴巴集团控股有限公司 | A kind of information processing method and device |
| CN107678776A (en) * | 2017-08-09 | 2018-02-09 | 上海壹账通金融科技有限公司 | Multimode version dependence construction method, device, server and storage medium |
| CN107704234A (en) * | 2017-08-22 | 2018-02-16 | 北京三快在线科技有限公司 | Front end engineering construction method, device, electronic equipment and readable storage medium storing program for executing |
| US20190114165A1 (en) * | 2017-10-17 | 2019-04-18 | Microsoft Technology Licensing, Llc | Using semantic annotations to control compatibility behaviors |
| CN108415998A (en) * | 2018-02-24 | 2018-08-17 | 平安科技(深圳)有限公司 | Using dependence update method, terminal, equipment and storage medium |
| CN109710190A (en) * | 2018-12-26 | 2019-05-03 | 百度在线网络技术(北京)有限公司 | A kind of date storage method, device, equipment and storage medium |
| CN109739523A (en) * | 2019-01-03 | 2019-05-10 | Oppo广东移动通信有限公司 | Application program packaging method, device, storage medium and terminal |
| CN110245279A (en) * | 2019-05-06 | 2019-09-17 | 阿里巴巴集团控股有限公司 | Dependent tree generation method, device, equipment and storage medium |
Non-Patent Citations (2)
| Title |
|---|
| 宁玲等: "《计算机维护与维修》", 中国铁道出版社, pages: 136 - 138 * |
| 张晶: "基于Java Web及Android平台的智能家居监控系统", 《中国优秀硕士学位论文全文数据库信息科技辑》, no. 03, 15 March 2017 (2017-03-15) * |
Cited By (18)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111382180A (en) * | 2020-03-11 | 2020-07-07 | 网易(杭州)网络有限公司 | Data clearing method and device for local cache |
| CN111382180B (en) * | 2020-03-11 | 2024-04-26 | 网易(杭州)网络有限公司 | Data clearing method and device for local cache |
| CN112163024A (en) * | 2020-09-11 | 2021-01-01 | 重庆誉存大数据科技有限公司 | A method for exporting and importing configuration information based on hierarchical association structure |
| CN112163024B (en) * | 2020-09-11 | 2024-03-19 | 重庆誉存大数据科技有限公司 | A method for exporting and importing configuration information based on hierarchical association structure |
| CN112068842A (en) * | 2020-09-15 | 2020-12-11 | 贝壳技术有限公司 | Dependency relationship establishing method, linkage compiling method and system |
| CN112256318B (en) * | 2020-10-26 | 2022-12-27 | 上海云轴信息科技有限公司 | Construction method and equipment for dependent product |
| CN112256318A (en) * | 2020-10-26 | 2021-01-22 | 上海云轴信息科技有限公司 | Construction method and equipment for dependent product |
| CN112819154A (en) * | 2021-01-20 | 2021-05-18 | 上海上湖信息技术有限公司 | Pre-training model generation method and device applied to graph learning field |
| CN112819154B (en) * | 2021-01-20 | 2024-05-28 | 上海上湖信息技术有限公司 | Method and device for generating pre-training model applied to graph learning field |
| CN112860312A (en) * | 2021-02-19 | 2021-05-28 | 百果园技术(新加坡)有限公司 | Method and device for detecting item dependency relationship change |
| CN113094041A (en) * | 2021-04-08 | 2021-07-09 | 北京自如信息科技有限公司 | Component management method and device of application program and computer equipment |
| CN113238763A (en) * | 2021-05-17 | 2021-08-10 | 京东数字科技控股股份有限公司 | Application deployment method, device, storage medium and program product |
| CN114155926A (en) * | 2021-12-14 | 2022-03-08 | 浙江太美医疗科技股份有限公司 | Clinical test data storage method and device, computer equipment and storage medium |
| CN114237572A (en) * | 2021-12-17 | 2022-03-25 | 北京金堤科技有限公司 | Method, device, equipment and storage medium for native engineering integrated development framework |
| CN114416042A (en) * | 2022-01-26 | 2022-04-29 | 厦门雅基软件有限公司 | Scene data updating method, device and system and electronic equipment |
| CN114816393A (en) * | 2022-05-18 | 2022-07-29 | 北京百度网讯科技有限公司 | Information generation method, apparatus, device, and storage medium |
| WO2023221416A1 (en) * | 2022-05-18 | 2023-11-23 | 北京百度网讯科技有限公司 | Information generation method and apparatus, and device and storage medium |
| CN114816393B (en) * | 2022-05-18 | 2023-12-19 | 北京百度网讯科技有限公司 | Information generation methods, devices, equipment and storage media |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110704062A (en) | Dependency management method, data acquisition method, device and equipment | |
| US10990511B2 (en) | Apparatus and application interface traversing method | |
| US10284577B2 (en) | Method and apparatus for file identification | |
| CN107622008B (en) | Traversal method and device for application page | |
| CN109635523B (en) | Application program detection method and device and computer readable storage medium | |
| CN110389896A (en) | Automatic code analysis and testing method, device and computer-readable storage medium | |
| CN113489713A (en) | Network attack detection method, device, equipment and storage medium | |
| CN108255735B (en) | Associated environment testing method, electronic device and computer readable storage medium | |
| CN109783356A (en) | A kind of automated testing method and terminal | |
| CN106997369A (en) | Data clearing method and device | |
| CN109376534B (en) | Method and apparatus for detecting applications | |
| CN106776348B (en) | Test case management method and device | |
| CN112988457A (en) | Data backup method, device and system and computer equipment | |
| CN116933316A (en) | Method and device for analyzing consistency of intelligent terminal application sensitive behavior and privacy policy | |
| CN108777648B (en) | Network equipment testing method and device | |
| CN113515464B (en) | Honeypot testing method and device based on linux system | |
| CN117763559B (en) | Vulnerability determination method and electronic device | |
| CN114880713B (en) | User behavior analysis method, device, equipment and medium based on data link | |
| CN117834231A (en) | Target user identification method and device and electronic equipment | |
| CN113986602B (en) | Software identification method and device, storage medium and electronic equipment | |
| CN111026629A (en) | Method and device for automatic generation of test script | |
| WO2024021874A1 (en) | Vulnerability analysis method and apparatus, and device and computer-readable storage medium | |
| CN113760695B (en) | A method and device for locating problem code | |
| CN117149206A (en) | License information collection methods, devices, electronic equipment and storage media | |
| CN116527290A (en) | Information security detection method, device, equipment and 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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200117 |
|
| RJ01 | Rejection of invention patent application after publication |