CN109376072A - Application development method and apparatus based on third party's Component Gallery - Google Patents

Application development method and apparatus based on third party's Component Gallery Download PDF

Info

Publication number
CN109376072A
CN109376072A CN201811051432.XA CN201811051432A CN109376072A CN 109376072 A CN109376072 A CN 109376072A CN 201811051432 A CN201811051432 A CN 201811051432A CN 109376072 A CN109376072 A CN 109376072A
Authority
CN
China
Prior art keywords
party
component
developing instrument
instrument software
application program
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.)
Granted
Application number
CN201811051432.XA
Other languages
Chinese (zh)
Other versions
CN109376072B (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201811051432.XA priority Critical patent/CN109376072B/en
Publication of CN109376072A publication Critical patent/CN109376072A/en
Application granted granted Critical
Publication of CN109376072B publication Critical patent/CN109376072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3644Software debugging by instrumenting at runtime

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention proposes a kind of application development method and apparatus based on third party's Component Gallery, wherein, method includes: that third party's component pre-set in third party's service equipment is integrated into developing instrument software starting developing instrument software, and third party's component of developing instrument Integrated Simulation is read memory;Application program running environment is established by the simulation of developing instrument software, application file is loaded into application program running environment;According to the Hook Function of application file by third party's component from the global variable that memory is injected into application program running environment, pass through global variable call third party's Components Development application program.Thus, it is integrated that third party's component is obtained from third party device, the coupling pressure of third party's component is transferred in third party device, third party's component and developing instrument software are decoupled, the update of developing instrument software no longer limits mutually with third party's component with maintenance, improves the application portability of developing instrument software.

Description

Application development method and apparatus based on third party's Component Gallery
Technical field
The present invention relates to exploitation the field of test technology more particularly to a kind of application developments based on third party's Component Gallery Method and apparatus.
Background technique
With popularizing for the terminal devices such as smart phone, the diversification of the demand of user also more meets user demand The diversification also more of application program, thus, the development technique of application program also more and more attention has been paid to.
In the related technology, when realizing the exploitation of application program, developing instrument software wants component in simulation application It realizing, the developer for providing a large amount of component for application program uses, thus, it needs to integrate a large amount of groups in developing instrument software Part.However, in the development process of application program, it may be necessary to a large amount of component is provided, alternatively, being the group for meeting developer's demand Part, thus, it would have to provide manpower to realize these components that may be used, and safeguarded and upgraded.And In this case, the realization of component is combined closely with developing instrument software, and the upgrade maintenance of component can be with the upgrading of tool software Maintenance interacts, and the upgrading of Component Gallery depends on the hair version of tool software.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, the first purpose of this invention is to propose a kind of application development side based on third party's Component Gallery Method, comprising the following steps:
Third party's component pre-set in third party's service equipment is integrated into developing instrument software;Start the exploitation Third party's component of the developing instrument Integrated Simulation is read memory by tool software;Pass through the developing instrument software mould Proposed vertical application program running environment, application file is loaded into the application program running environment;It is answered according to described Third party's component is injected into the complete of the application program running environment from the memory with the Hook Function of program file In office's variable, application program described in third party's Components Development is called by the global variable.
In order to achieve the above object, second aspect of the present invention embodiment proposes a kind of application program based on third party's Component Gallery Development device, comprising: integration module, for third party's component pre-set in third party's service equipment to be integrated into exploitation work Has software;Read module reads third party's component of the developing instrument Integrated Simulation for starting the developing instrument software Get memory;Loading module, for establishing application program running environment by developing instrument software simulation, by application program File is loaded into the application program running environment;Development module, for the Hook Function according to the application file By third party's component from the global variable that the memory is injected into the application program running environment, pass through the overall situation Application program described in third party's Components Development described in call by variable.
In order to achieve the above object, third aspect present invention embodiment proposes a kind of computer program product, when the calculating When instruction processing unit in machine program product executes, the application journey based on third party's Component Gallery as described in above-described embodiment is executed Sequence development approach.
To achieve the goals above, fourth aspect present invention embodiment proposes a kind of computer-readable storage of non-transitory Medium realizes the application development based on third party's Component Gallery as described in above-described embodiment when the program is executed by processor Method.
Provided by the invention and technical solution at least has following advantageous effects:
Third party's component pre-set in third party's service equipment is integrated into developing instrument software, starts developing instrument Third party's component of developing instrument Integrated Simulation is read memory by software, is established by the simulation of developing instrument software and is applied journey Application file is loaded into application program running environment by sort run environment, in turn, according to the hook of application file Third party's component from the global variable that memory is injected into application program running environment, is called third by global variable by function Square Components Development application program.Hereby it is achieved that third party's component and developing instrument software are decoupled, developing instrument is soft The update of part no longer limits mutually with third party's component with maintenance, improves the application portability of developing instrument software.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the process of the application development method according to an embodiment of the invention based on third party's Component Gallery Figure;
Fig. 2 is the process of the application development method in accordance with another embodiment of the present invention based on third party's Component Gallery Figure;
Fig. 3 is the process of the application development method based on third party's Component Gallery of another embodiment according to the present invention Figure;
Fig. 4 is the applied field of the application development method according to an embodiment of the invention based on third party's Component Gallery Scape schematic diagram;
Fig. 5 is that the structure of the application development device according to an embodiment of the invention based on third party's Component Gallery is shown It is intended to;
Fig. 6 is the structure of the application development device in accordance with another embodiment of the present invention based on third party's Component Gallery Schematic diagram;And
Fig. 7 is the structure of the application development device based on third party's Component Gallery of another embodiment according to the present invention Schematic diagram.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
For being previously mentioned in above-mentioned background technique since developing instrument software and component are integrated, more so as to cause component New equal update and maintenance dependent on exploitation software, and developing instrument software is also limited by the influence of component and causes to update and tie up The efficiency of shield is dragged slowly, and the present invention provides a kind of new component quoting methods to realize exploitation in an embodiment of the present invention The decoupling of tool software and component, under the premise of not influencing developing instrument software seamless offer Component service, so that exploitation work Tool software and component no longer limit mutually, extend the convenience of the application of developing instrument software.
Below with reference to the accompanying drawings the application development method and dress based on third party's Component Gallery of the embodiment of the present invention are described It sets.
Fig. 1 is the process of the application development method according to an embodiment of the invention based on third party's Component Gallery Figure, as shown in Figure 1, method includes the following steps:
Step 101, third party's component pre-set in third party's service equipment is integrated into developing instrument software.
Wherein, the equipment that third party's service equipment refers to dedicated for developing third party's component, the equipment can be clothes The equipment that business device etc. has exploitation and store function, thus, due to developing third party's component in third party's service equipment, no matter It is that the update of third party's component or maintenance are all no longer dependent on the upgrading of developing instrument software, likewise, developing instrument software Upgrading and maintenance also no longer influence third party's component, by the way that the exploitation pressure of third party's component is transferred to special third party Service equipment realizes the decoupling of third party's service equipment and developing instrument software.
Wherein, developing instrument software can be understood as the software development work that Teambition etc. prepares exclusively for developer Tool.
Step 102, start developing instrument software, third party's component of developing instrument Integrated Simulation is read into memory.
Due to providing the component that can directly use in developing instrument software itself, can developer be opened in use The quick exploitation of software can be carried out when sending out software tool, focusing in business realizing for exploitation, rather than heavy base Plinth function uses on software.Thus, in an embodiment of the present invention, the integrally disposed component still in developing instrument software, In the embodiment of the present invention, third party's component of developing instrument Integrated Simulation is read into memory, wherein as described above , third party's component of developing instrument Integrated Simulation is obtained from third party's service equipment.
In one embodiment of the invention, in order to guarantee starting developing instrument software can provide group for developer Part service needs to guarantee to be integrated with third party's component in developing instrument software before starting developing instrument software.
In the present embodiment, as shown in Fig. 2, the starting developing instrument software in above-mentioned steps 101 includes:
Step 201, whether detection developing instrument software is successfully integrated with third party's component.
Step 202, if knowing, developing instrument software does not integrate third party's component successfully, obtains from third party's service equipment Take third party's component.
It specifically, may when third party device and starting developing instrument software are in communication due to unstable networks etc. Lead to whether successful can detect in developer component by modes such as detection components marks of third party's component is successfully integrated with Third party's component, knowing how then being needed from third party's service equipment in developing instrument software without integrated third party's component Third party's component is reacquired, in order to which the third party's component provided according to third party's service equipment integrates, wherein third Square service equipment is understood that be specially to provide the equipment of third party's Components Development and maintenance.
Step 203, it if knowing developing instrument Integrated Simulation third party's component, is integrated from third party's service equipment newest Third party's component of version.
Specifically, knowing how developing instrument Integrated Simulation third party's component, then in order to ensure giving related development personnel More preferably exploitation service is provided, whether detection developing instrument software is latest edition, for example, knowing security development tool software most The version number of latest edition is compared with the version number of current developing instrument software to ensure that this is opened for the version number of new version Send out whether tool software is latest edition, if it is not, third party's component of latest edition is then obtained from third party's service equipment, After being integrated with third party's component of latest edition, it can also be ensured that simultaneous with current newest third party's developing instrument software Hold.
Step 103, application program running environment is established by the simulation of developing instrument software, application file is loaded into In application program running environment.
Specifically, the running environment that application program is established by the simulation of developing instrument software, by application file, such as The bin file etc. of application program is loaded into the running environment of application program, for example, the application operating system of simulation application Deng.
Step 103, third party's component is injected into from memory by application program fortune according to the Hook Function of application file In the global variable of row environment, third party's Components Development application program is called by global variable.
Wherein, global variable refer to currently can any object in application program running environment or function it is citable Variable.
In one embodiment of the invention, the Hook Function for presetting application program, according to application file Hook Function from the global variable that memory is injected into application program running environment, can currently apply third party's component as a result, Any object or function in program execution environments can quote third party's component, and third party's group is called in a manner of global variable Part.
It is emphasized that in the present embodiment, it is contemplated that the running environment of developing instrument software itself and simulation are established Application program running environment be two relatively independent environment, if only running third in third party's developing instrument software Square component will will lead to application program running environment and not be available third party's component, thus, in the present embodiment, by applying journey Third party's component is injected into global variable by the Hook Function that preface part externally exposes, to realize third party's component to application Program execution environments are got through.
And as described above, it in order to realize that third party's component can be successfully injected into global variable, needs answering It is established with program execution environments and third party's component is injected into global variable at the time of completion, this is because, applicant passes through Many experiments discovery is crossed, if the injection moment is later than establishing the moment for application program running environment, application program can call group It malfunctions when the component that the component in part library calls so as to cause application program parsing, if the injection moment runs earlier than application program Environment is established the moment, then since whole variables do not have third party's component of existing basis injection can not carry.
Certainly, in practical implementation, due to be there is no proper use of third party's group by rogue attacks, application program Part, or led when reference third party's component and the title of third party's component such as is wrongly write at the reasons to cause third party's component to occur abnormal, Thus, it in one embodiment of the invention, can also be captured to abnormal, i.e., in the present embodiment, monitoring, which is injected into, answers Whether there is mistake with third party's component in the global variable of program execution environments, this mistake includes third party's component itself Mistake and application call when the mistake etc. that occurs if occurring show abnormal injection prompt information, for example pass through mark The mode of red code remind or is reminded etc. in the form of a popup window, so that developer carries out mistake according to the prompting Reparation accidentally etc..
In practical applications, the third party's component that may be introduced has the demand communicated to developing instrument, thus, in this hair In bright one embodiment, as shown in figure 3, above-mentioned steps according to the Hook Function of application file by third party's component from After memory is injected into the global variable of application program running environment, this method further include:
Step 301, target data request message is sent to developing instrument software.
Wherein, it is introduced into component when target data is requested when application program needs to be called in running environment, travels normal function Required data when energy.
Step 302, developing instrument software is obtained according to the target data of the type of request message response feedback, according to target Data and pass through global variable call third party's Components Development application program.
Specifically, in one embodiment of the invention, target data request message is sent to developing instrument software, obtained Developing instrument software according to target data and passes through complete in turn according to the target data of the type of request message response feedback Office's call by variable third party's Components Development application program, hereby it is achieved that the number of developing instrument software and application program running environment According to communication.
It should be noted that according to the difference of application scenarios, developing instrument software and application program running environment are realized The mode of data communication is different, as a kind of possible implementation, monitoring application program running environment registered in advance and exploitation Communication event between the host environment of tool software, which can be realizes according to the function of corresponding third party's component The data provided in required developing instrument software are related, certainly, in the present embodiment, also settable disappearing with communication event Cease the corresponding response mode of type, for example, when the type of message of communication event is A, then be arranged response mode corresponding with A into Row sync response for another example when the type of message of communication event is B, is then arranged response mode corresponding with B and carries out asynchronous sound It should wait.
The application development method based on third party's Component Gallery of the embodiment of the present invention as a result, on the one hand, from third party Third party's component is read in service equipment, rather than carries out the development and maintenance of component in developing instrument software, realizes group The decoupling of part and exploitation software, the maintenance and upgrade of developing instrument software and establishment is separated, on the other hand, such as Fig. 4 institute Show, after the starting of developing instrument software, loading third-party component to memory passes through application after establishing application program running environment Third party's component is injected into global variable by the Hook Function of program carry from memory, to realize application program to third party The estrangement between developing instrument software environment and application program running environment is broken in the use of component.
To sum up, the application development method based on third party's Component Gallery of the embodiment of the present invention, third party's service is set Pre-set third party's component is integrated into developing instrument software in standby, starts developing instrument software, by developing instrument software set At third party's component read memory, by developing instrument software simulation establish application program running environment, by application program File is loaded into application program running environment, in turn, according to the Hook Function of application file by third party's component from interior It deposits and is injected into the global variable of application program running environment, third party's Components Development application program is called by global variable. Hereby it is achieved that third party's component and developing instrument software are decoupled, the update and maintenance of developing instrument software are no longer It is limited mutually with third party's component, improves the application portability of developing instrument software.
In order to realize above-described embodiment, the invention also provides a kind of, and the application development based on third party's Component Gallery is filled It setting, Fig. 5 is the structural schematic diagram of the application development device according to an embodiment of the invention based on third party's Component Gallery, As shown in figure 5, the device includes acquisition module 100, read module 200, loading module 300 and development module 400, wherein
Integration module 100, for third party's component pre-set in third party's service equipment to be integrated into developing instrument Software.
Read module 200 reads third party's component of developing instrument Integrated Simulation for starting developing instrument software Memory.
Loading module 300, for establishing application program running environment by the simulation of developing instrument software, by application program text Part is loaded into application program running environment.
Third party's component is injected into from memory for the Hook Function according to application file and answers by development module 400 With in the global variable of program execution environments, third party's Components Development application program is called by global variable.
In one embodiment of the invention, as shown in fig. 6, read module 200 includes on the basis of as shown in Figure 5 Detection unit 210, acquiring unit 220 and updating unit 230, wherein
Detection unit 210, for detecting whether developing instrument software is successfully integrated with third party's component.
Acquiring unit 220, for being taken from third party when knowing that developing instrument software does not successfully integrate third party's component Equipment of being engaged in obtains third party's component.
Updating unit 230, for when knowing that developing instrument software successfully integrates third party's component, detection developing instrument to be soft Whether part is latest edition, if it is not, then integrating third party's component of latest edition from third party's service equipment.
In one embodiment of the invention, as shown in fig. 7, on the basis of as shown in Figure 5, which further includes monitoring Processing module 500, wherein monitor processing module 500 is injected into the global variable of application program running environment for monitoring Third party's component whether there is mistake, if occurring, show abnormal injection prompt information.
It should be noted that the aforementioned explanation to the application development embodiment of the method based on third party's Component Gallery It is also applied for the application development device based on third party's Component Gallery of the embodiment, details are not described herein again.
To sum up, the application development device based on third party's Component Gallery of the embodiment of the present invention, third party's service is set Pre-set third party's component is integrated into developing instrument software in standby, starts developing instrument software, by developing instrument software set At third party's component read memory, by developing instrument software simulation establish application program running environment, by application program File is loaded into application program running environment, in turn, according to the Hook Function of application file by third party's component from interior It deposits and is injected into the global variable of application program running environment, third party's Components Development application program is called by global variable. Hereby it is achieved that third party's component and developing instrument software are decoupled, the update and maintenance of developing instrument software are no longer It is limited mutually with third party's component, improves the application portability of developing instrument software.
In order to realize above-described embodiment, the present invention also proposes a kind of computer program product, comprising: processor, wherein place Reason device runs program corresponding with executable program code by reading in memory the executable program code that stores, with In the application development method based on third party's Component Gallery for realizing above-described embodiment description.
In order to realize above-described embodiment, the present invention also proposes a kind of non-transitorycomputer readable storage medium, when described Instruction in storage medium is performed by processor, make it possible to execute shown in above-described embodiment based on third party's Component Gallery Application development method.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used Any one of art or their combination are realized: have for data-signal is realized the logic gates of logic function from Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention Type.

Claims (10)

1. a kind of application development method based on third party's Component Gallery, which comprises the following steps:
Third party's component pre-set in third party's service equipment is integrated into developing instrument software;
Start the developing instrument software, third party's component of the developing instrument Integrated Simulation is read into memory;
Application program running environment is established by developing instrument software simulation, application file is loaded into the application In program execution environments;
Third party's component is injected into from the memory according to the Hook Function of the application file described using journey In the global variable of sort run environment, application program described in third party's Components Development is called by the global variable.
2. the method as described in claim 1, which is characterized in that pre-set third party's component is integrated into exploitation described After tool software, further includes:
Detect whether the developing instrument software is successfully integrated with third party's component;
If knowing, the developing instrument software does not integrate third party's component successfully, obtains from the third party's service equipment Take third party's component;
If knowing, the developing instrument software successfully integrates third party's component, detect the developing instrument software whether be Latest edition, if it is not, then integrating third party's component of latest edition from the third party's service equipment.
3. the method as described in claim 1, which is characterized in that further include:
Monitor whether the third party's component being injected into the global variable of the application program running environment mistake occurs, if going out It is existing, then show abnormal injection prompt information.
4. the method as described in claim 1, which is characterized in that incited somebody to action described according to the Hook Function of the application file Third party's component is after in the global variable that the memory is injected into the application program running environment, further includes:
Target data request message is sent to the developing instrument software;
The developing instrument software is obtained according to the target data of the type of request message response feedback, according to described Target data and passes through the global variable and call application program described in third party's Components Development.
5. method as claimed in claim 4, which is characterized in that further include:
The communication event between the application program running environment and the host environment of the developing instrument software is monitored in registration;
Response mode corresponding with the type of message of the communication event is set.
6. a kind of application development device based on third party's Component Gallery characterized by comprising
Integration module, for third party's component pre-set in third party's service equipment to be integrated into developing instrument software;It reads Third party's component of the developing instrument Integrated Simulation is read memory for starting the developing instrument software by modulus block;
Loading module, for establishing application program running environment by developing instrument software simulation, by application file It is loaded into the application program running environment;
Development module, for being injected third party's component from the memory according to the Hook Function of the application file Into the global variable of the application program running environment, called described in third party's Components Development by the global variable Application program.
7. device as claimed in claim 6, which is characterized in that the read module includes:
Detection unit, for detecting whether the developing instrument software is successfully integrated with third party's component;
Acquiring unit, for when knowing that the developing instrument software does not integrate third party's component successfully, from described Tripartite's service equipment obtains third party's component;
Updating unit, for detecting the exploitation when knowing that the developing instrument software successfully integrates third party's component Whether tool software is latest edition, if it is not, then integrating third party's group of latest edition from the third party's service equipment Part.
8. device as claimed in claim 6, which is characterized in that further include:
Monitor processing module, for monitoring the third party's component being injected into the global variable of the application program running environment Whether there is mistake, if occurring, shows abnormal injection prompt information.
9. a kind of computer program product, which is characterized in that when the instruction processing unit in the computer program product executes Realize such as the application development method as claimed in any one of claims 1 to 5 based on third party's Component Gallery.
10. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the meter Such as the application program as claimed in any one of claims 1 to 5 based on third party's Component Gallery is realized when calculation machine program is executed by processor Development approach.
CN201811051432.XA 2018-09-10 2018-09-10 Application program development method and device based on third-party component library Active CN109376072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811051432.XA CN109376072B (en) 2018-09-10 2018-09-10 Application program development method and device based on third-party component library

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811051432.XA CN109376072B (en) 2018-09-10 2018-09-10 Application program development method and device based on third-party component library

Publications (2)

Publication Number Publication Date
CN109376072A true CN109376072A (en) 2019-02-22
CN109376072B CN109376072B (en) 2022-05-17

Family

ID=65404741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811051432.XA Active CN109376072B (en) 2018-09-10 2018-09-10 Application program development method and device based on third-party component library

Country Status (1)

Country Link
CN (1) CN109376072B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110045956A (en) * 2019-04-16 2019-07-23 北京字节跳动网络技术有限公司 Configuration method, device, equipment and the readable storage medium storing program for executing of component
CN112000572A (en) * 2020-08-07 2020-11-27 北京浪潮数据技术有限公司 Source code scanning tool, method, equipment and medium
CN115544465A (en) * 2022-11-25 2022-12-30 卓望数码技术(深圳)有限公司 Security management and control method and device for third-party component for software construction

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744037A (en) * 2005-08-26 2006-03-08 南京邮电大学 Method for avoiding grid computing application to depend on bottom development tool box
CN107122200A (en) * 2016-02-25 2017-09-01 博雅网络游戏开发(深圳)有限公司 Load plug-in unit SDK method, system and client
CN107870787A (en) * 2016-09-26 2018-04-03 平安科技(深圳)有限公司 Application plug loading method and system
CN108121563A (en) * 2017-11-10 2018-06-05 广州阿里巴巴文学信息技术有限公司 Application function method for customizing, device, computing device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744037A (en) * 2005-08-26 2006-03-08 南京邮电大学 Method for avoiding grid computing application to depend on bottom development tool box
CN107122200A (en) * 2016-02-25 2017-09-01 博雅网络游戏开发(深圳)有限公司 Load plug-in unit SDK method, system and client
CN107870787A (en) * 2016-09-26 2018-04-03 平安科技(深圳)有限公司 Application plug loading method and system
CN108121563A (en) * 2017-11-10 2018-06-05 广州阿里巴巴文学信息技术有限公司 Application function method for customizing, device, computing device and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110045956A (en) * 2019-04-16 2019-07-23 北京字节跳动网络技术有限公司 Configuration method, device, equipment and the readable storage medium storing program for executing of component
CN112000572A (en) * 2020-08-07 2020-11-27 北京浪潮数据技术有限公司 Source code scanning tool, method, equipment and medium
CN112000572B (en) * 2020-08-07 2022-06-17 北京浪潮数据技术有限公司 Tool, method, equipment and medium for scanning source code
CN115544465A (en) * 2022-11-25 2022-12-30 卓望数码技术(深圳)有限公司 Security management and control method and device for third-party component for software construction

Also Published As

Publication number Publication date
CN109376072B (en) 2022-05-17

Similar Documents

Publication Publication Date Title
CN110309051B (en) Method, system, equipment and storage medium for managing test cases
CN109828772A (en) Hot update method, operating system, terminal device and storage medium
CN110096424B (en) Test processing method and device, electronic equipment and storage medium
EP3509270B1 (en) Data backup method and device, storage medium and electronic apparatus
CN109376072A (en) Application development method and apparatus based on third party's Component Gallery
US11096042B2 (en) Preprocessing method and device for configuring NFC smart card
CN102087615A (en) Automated merger of logically associated messages in a message queue
CN104679532B (en) kernel module loading method and device
CN110442502B (en) Point burying method, device, equipment and storage medium
CN106250139B (en) Starting method, system and intelligent self-service system based on lucidification disposal intelligent terminal
CN109409096A (en) Kernel loophole restorative procedure, device, server and system
CN110224854A (en) Dispositions method, device and the storage medium of block chain node
CN101025698A (en) Apparatus for forcibly terminating thread blocked on input/output operation and method for the same
CN103309751A (en) Apparatus and method of terminal for providing file system function
CN106201811A (en) The fault recovery method of application program and terminal
CN110221845A (en) Using dispositions method, device, equipment and medium
CN109858257B (en) Access control method and device
CN108717374A (en) The method, apparatus and computer equipment that Java Virtual Machine preheats when starting
CN107632901A (en) A kind of self-repair method and device of application program operation exception
CN107220074A (en) To the access of supporting layer software function, upgrade method and device
CN107679423A (en) Partition integrity inspection method and device
CN105912369A (en) System upgrading method and device
CN103198252B (en) Device and method for the control information for managing the application program in portable terminal
CN111158987A (en) Health check method and device of micro-service architecture
US20150208255A1 (en) Automatic network device replacement using a smartphone

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
GR01 Patent grant
GR01 Patent grant