CN105487861A - Method and apparatus for acquiring component calling amount - Google Patents

Method and apparatus for acquiring component calling amount Download PDF

Info

Publication number
CN105487861A
CN105487861A CN201510835185.2A CN201510835185A CN105487861A CN 105487861 A CN105487861 A CN 105487861A CN 201510835185 A CN201510835185 A CN 201510835185A CN 105487861 A CN105487861 A CN 105487861A
Authority
CN
China
Prior art keywords
assembly
project
variable
component
call information
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
CN201510835185.2A
Other languages
Chinese (zh)
Other versions
CN105487861B (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.)
ZHUHAI DUOWAN INFORMATION TECHNOLOGY Ltd
Original Assignee
ZHUHAI DUOWAN INFORMATION TECHNOLOGY 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 ZHUHAI DUOWAN INFORMATION TECHNOLOGY Ltd filed Critical ZHUHAI DUOWAN INFORMATION TECHNOLOGY Ltd
Priority to CN201510835185.2A priority Critical patent/CN105487861B/en
Publication of CN105487861A publication Critical patent/CN105487861A/en
Application granted granted Critical
Publication of CN105487861B publication Critical patent/CN105487861B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method and an apparatus for acquiring component calling amount, belonging to the field of computers and communication. The method comprises the following steps of: when calling of a component by a project in a terminal is detected, determining whether the project calls the component for the first time or not; if the project calls the component for the first time, acquiring calling information of the component; transmitting the calling information of the component to a server, wherein the calling information of the component is used for the server to perform statistics on calling amount of the component. With the method and the apparatus, when a component developer shares the component to other software developers for use, the component developer can know the component calling information and the calling amount of the component.

Description

The method of the securing component amount of calling and device
Technical field
The disclosure relates to computing machine and the communications field, particularly a kind of method of the securing component amount of calling and device.
Background technology
Assembly refers to a kind of code segment that can realize concrete some functions, and assembly has versatility and externally provides interface.In field of software development, the interface that programmer often uses assembly to provide uses in component call to project, to save the duplication of labour.
Such as, certain programmer develops a mail components, can realize the function sending mail.This mail components can call in A project and use by he, also this mail components can be called in B project and use, this mail components can also be shared with other random procedure persons by him, and this mail components can call in its project developed by other programmers.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
Component developer handle component be shared with other software developers use time, can not securing component recalls information can not the statistics component amount of calling.
Summary of the invention
In order to solve Problems existing in correlation technique, the disclosure provides a kind of method and device of the securing component amount of calling.Described technical scheme is as follows:
According to the first aspect of disclosure embodiment, provide a kind of method of the securing component amount of calling, the method comprises:
When detecting that assembly is called by the project in terminal, determine whether described project calls described assembly first;
If call described assembly first, then obtain described component call information, described component call information at least comprises the assembly identification information of described assembly;
Send described component call information to server, described component call information is used for the amount of calling of assembly described in described server statistics.
Optionally, described assembly comprises component call information reporting module, and described method also comprises:
When detecting that described component call information reporting module is called and running, determine that described assembly is called by the project in terminal.
Optionally, described component call information reporting module comprises default first variable, described first variable be used for being recorded in current before whether described project modulated uses described assembly;
Describedly determine whether described project calls described assembly first, comprising:
Described first variable is read from described component call information reporting module;
Determine whether described project calls described assembly first according to described first variable.
Optionally, described method also comprises:
If call described assembly first, then the value of described first variable is set to use described assembly for representing that described project is modulated.
Optionally, described determine whether described project calls described assembly first before, also comprise:
Obtain from described project and preset the second variable, described second variable is for recording the debugging mode of project described in current debug, judge whether the debugging mode debugging described project is local debugging mode according to described second variable, if be local debugging mode, then perform the described operation whether described project calls described assembly first of determining.
According to the second aspect of disclosure embodiment, provide a kind of device of the securing component amount of calling, this device comprises:
First determination module, during for detecting that assembly is called by the project in terminal, determines whether described project calls described assembly first;
Acquisition module, if determine that described project calls described assembly first for described first determination module, then obtain described component call information, described component call information at least comprises the assembly identification information of described assembly;
Sending module, for sending the component call information that described acquisition module acquires to server, described component call information is used for the amount of calling of assembly described in described server statistics.
Optionally, described assembly comprises component call information reporting module, and described device also comprises:
Second determination module, for when detecting that described component call information reporting module is called and running, determines that described assembly is called by the project in terminal.
Optionally, described component call information reporting module comprises default first variable, described first variable be used for being recorded in current before whether described project modulated uses described assembly;
Described first determination module, comprising:
Reading submodule, for reading described first variable from described component call information reporting module;
Determining submodule, determining whether described project calls described assembly first for reading according to described reading submodule the first variable obtained.
Optionally, described device also comprises:
Module being set, if be call described assembly first for described project, then the value of described first variable being set to use described assembly for representing that described project is modulated.
Optionally, described device also comprises:
Obtain judge module, before determining whether described project calls described assembly first at described first determination module, obtain from described project and preset the second variable, described second variable is for recording the debugging mode of project described in current debug, judge whether the debugging mode debugging described project is local debugging mode according to described second variable, if be local debugging mode, then perform the described operation whether described project calls described assembly first of determining.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
During by detecting that assembly is called by the project in terminal, determine whether described project calls described assembly first; If described project calls described assembly first, then obtain described component call information and described component call information is sent to server, making described server can utilize the amount of calling of assembly described in described component call Information Statistics; Make when component developer handle component be shared with other software developers use time, component developer can know component call information and the amount of calling of this assembly.
Should be understood that, it is only exemplary that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is the network architecture diagram of disclosure application;
Fig. 2 is the process flow diagram of the method for a kind of securing component amount of calling according to an exemplary embodiment;
Fig. 3 is the process flow diagram of the method for a kind of securing component amount of calling according to another exemplary embodiment;
Fig. 4 is the block diagram of the device of a kind of securing component amount of calling according to an exemplary embodiment;
Fig. 5 is that a kind of according to an exemplary embodiment determines the block diagram whether project of invocation component calls the device of this assembly first;
Fig. 6 is the block diagram of the device of a kind of securing component amount of calling according to another exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
See the network architecture diagram that Fig. 1, Fig. 1 are disclosure application, this network architecture can comprise terminal 120 and server 140.
Terminal 120 can configure various development environment, operation code, to debug the project developed.This recalls information by running item code invocation component, by assembly securing component recalls information, and can also be sent to server by terminal.This terminal can be panel computer, pocket computer on knee and desk-top computer etc.
Server 140 can dispose assembly management system, the component call information that receiving terminal sends, and manages this assembly in assembly management system, such as, check the information such as component call information and component call amount.
Can be connected by wireless network or cable network between terminal 120 with server 140.
Fig. 2 is the process flow diagram of the method for a kind of securing component amount of calling according to an exemplary embodiment, and comprises the following steps:
In step 201, when detecting that assembly is called by the project in terminal, determine whether this project calls this assembly first.
In step 202., if call this assembly first, then obtain this component call information, this component call information at least comprises the assembly identification information of this assembly.
In step 203, send this component call information to server, this component call information is used for the amount of calling of this this assembly of server statistics.
In sum, the method for the securing component amount of calling provided in disclosure embodiment, during by detecting that assembly is called by the project in terminal, determines whether this project calls this assembly first; If this project calls this assembly first, then obtain this component call information and this component call information is sent to server, making this server can utilize the amount of calling of this this assembly of component call Information Statistics; Make when component developer handle component be shared with other software developers use time, component developer can know component call information and the amount of calling of this assembly.。
Executive agent in said method embodiment all can be the terminal 120 in the network architecture shown in Fig. 1.
Fig. 3 is the process flow diagram of the method for a kind of securing component amount of calling according to another exemplary embodiment, when the method is by detecting that assembly is called by the project in terminal, determine whether this project calls this assembly first, if call first, then obtain this component call information, and send to server, to make the amount of calling of this assembly of server statistics.See Fig. 3, the method comprises:
In step 300, terminal is debugged and is run project, in operation Project Process, call the assembly quoted in this project.
Project is the softwares or application etc. of project development personnel at terminal development, technician when development project can from server download component, also can directly copy from other memory device or obtain assembly by other method, and this assembly is referred in project.Detailed process can be: project development personnel write the code of an invocation component in item object program, when having developed this project, the source program of this project and this assembly being packaged into a program installation kit, realizing this assembly to refer in project.
Assembly is completed by Components Development staff development, is the code segment that can realize concrete some functions, has versatility and externally provide interface.After Components Development staff development assembly, this assembly can be uploaded onto the server, arbitrary project developer just can download this assembly, and is referred to by this assembly in the project of its exploitation.Due to assembly, there is versatility and externally provide interface, so terminal can pass through this interface interchange assembly when terminal operating project.
In the present embodiment, Components Development personnel are when an exploitation assembly, component call information reporting module can be comprised in the assembly, when terminal calls this assembly, terminal first runs this component call information reporting module that this assembly comprises, and then performs following operation by component call information reporting module.
In step 301, when detecting that component call information reporting module is called and running, terminal determines that this assembly is called by project.
Due to when terminal is running that assembly is called in Project Process, terminal is the component call information reporting module that comprises of operating component just, so when component call information reporting module is run, just can determines that this assembly is called, namely be called by this project.
In step 302, terminal obtains from this project presets the second variable, this second variable is for recording the debugging mode of current debug project, judge whether the debugging mode debugging this project is local debugging mode according to this second variable, if be local debugging mode, then perform the operation of step 303.
Second variable is the variable that project development personnel are arranged in the source program of project when development project, project development personnel can be the different value of the second variable set up, for representing that the pattern of this project of current debug is pattern on local debugging mode or line.
After project development completes, first project development personnel need to debug this project in terminal local, to detect the defect that this project may exist, and correct.Wherein, project development personnel are after having developed project, bivariate value can be set to default first numerical value, for representing that the pattern of this project of current debug is local debugging mode, such as, can arrange bivariate value is 1, for representing that the pattern of this project of current debug is local debugging mode.
After terminal local has been debugged, this project can upload onto the server by project development personnel, carries out line is debugged.Wherein, after project development personnel have debugged this project in terminal local, bivariate value can be set to default second value, for representing that the pattern of this project of current debug is debugging mode on line, such as, can arrange bivariate value is 0, for representing that the pattern of this project of current debug is debugging mode on line.
This step can be: terminal obtains the second variable in this project, bivariate value is judged, if bivariate value for presetting the first numerical value, then judges that the debugging mode of this project of current debug is local debugging mode, then perform the operation of step 303.If bivariate value for presetting second value, then judges that the debugging mode of this project of current debug is debugging mode on line, then stop the component call information obtaining this assembly.
Such as, can be m by the second variable set up in project, terminal obtains the value of the second variable m in this project, the value of the second variable m is judged, if the value of the second variable m is 1, then judge that the debugging mode of this project of current debug is local debugging mode, then perform the operation of step 303.If the value of the second variable m is 0, then judge that the debugging mode of this project of current debug is debugging mode on line, then stop the component call information obtaining this assembly.
Only have in the present embodiment and just component call information is obtained when project is in local debugging mode, so not only can meet the demand of securing component recalls information, can also prevent from producing interference to environment on line, thus improve the stability of above-the-line project.
In step 303, terminal reads this first variable from this component call information reporting module.
This is preset first variable and is included in this component call information reporting module, is the variable that component developer is preset in this component call information reporting module, for be recorded in current before whether this project modulated uses this assembly.The initial value that Components Development personnel can arrange the first variable is for empty or for presetting third value, and the value of this first variable be empty or for presetting third value, is this assembly of never call for expression this project before current.
Wherein, if when this assembly is called operation in terminal debug-item process, the value of the first variable can be set to default 4th numerical value by terminal, uses this assembly for representing that before current this project is modulated.
Such as, can be a by this first variable set up, the initial value of the first variable a for empty or be 0 time, for representing that this project is this assembly of never call before current, if after this assembly is called operation in terminal debug-item process, the value of the first variable a can be set to 1 by terminal, uses this assembly for representing that before current this project is modulated.
In step 304, determine whether this project calls this assembly first according to this first variable.
This step can be: judge the value of the first variable, if judge that the value of the first variable is for sky or for presetting third value, then show that this project did not call this assembly before current, namely this project calls this assembly first, then perform the operation of step 305.If the value reading the first variable is for presetting the 4th numerical value, then shows modulated this assembly of using of this project before current, then stop the component call information obtaining this assembly.
Such as, can be a by this first variable set up, the value of the first variable a is judged, if judge that the value of the first variable a is empty or is 0, then show that this project did not call this assembly before current, namely this project calls this assembly first, then perform the operation of step 305.If the value reading the first variable is 1, then shows that before current this project is modulated and use this assembly.Then stop the component call information obtaining this assembly.
In step 305, if call this assembly first, then obtain this component call information, this component call information at least comprises the assembly identification information of this assembly.
If this project calls this assembly first, the thread that then unlatching one is new, go to obtain this component call information by this new thread, this component call information at least comprise this assembly assembly identification information, the item identification information of the project calling this assembly and/or the terminal identification information etc. of this terminal can also be comprised, this terminal identification information can be the information such as IP address and/or MAC Address of this terminal.
Wherein, the assembly identification information of this assembly is used for this assembly of unique identification, be this component developer in assembly management system for this assembly application, and this assembly identification information is built in the ad-hoc location of this assembly, when this assembly is called, terminal from this ad-hoc location, can read this assembly mark.
Call the item identification information of the project of this assembly for this project of unique identification.When there being project to call this assembly, terminal can read all items information comprising this project label, is stored into predeterminated position.When this assembly operating is to component call information reporting module, this terminal reads the item identification information of this project.
Each LAN (Local Area Network) that the IP address of terminal that the developer calling this assembly uses is used on unique identification internet, but generally can there be several different terminals in each LAN (Local Area Network), also all terminals namely in each LAN (Local Area Network) use same IP address, can check by the IP address of this terminal the heterogeneous networks calling this assembly, and in each network each terminal to the service condition of this assembly.Such as, acquire the IP address of 12 terminals, be expressed as: a, b, a, b, b, c, b, c, c, c, b, c, and only have three kinds: a, b, c in the IP address of these 12 terminals.Also namely these 12 terminals are from 3 LAN (Local Area Network), and be designated as LAN (Local Area Network) 1, LAN (Local Area Network) 2 and LAN (Local Area Network) 3 respectively, each self-corresponding IP address is respectively a, b, c.So can learn in LAN (Local Area Network) 1 from the IP address of these 12 terminals has 2 terminals to call in this assembly, LAN (Local Area Network) 2 to have 5 terminals to call this assembly and LAN (Local Area Network) 3 has 5 terminals to call this assembly, thus just can learn the quantity comparatively information such as LAN (Local Area Network) more than 1 calling this assembly in LAN (Local Area Network) 2 and 3.The prior art that is retrieved as of involved terminals IP address is not repeating here.
The terminal MAC address that the developer calling this assembly uses, for unique identification terminal, can be learnt the concrete network site of the terminal calling this assembly and call situation from this terminal MAC address.The prior art that is retrieved as of involved terminals MAC Address is not repeating here.
After having obtained this component call information, the value of this first variable is set to the 4th numerical value preset.Still for above-mentioned example, the value of the first variable a is set to 1, represents that this project is modulated and use this assembly.
Within step 306, terminal to server sends this component call information, and this component call information is used for the amount of calling of this this assembly of server statistics.
After getting component call information, this component call information is sent to server, server by utilizing assembly management system record component recalls information the amount of calling of statistics component, check to facilitate this component developer.
Server receives this component call information, when adding up the amount of calling of certain assembly, according to the assembly identification information of this assembly, obtain the component call information comprising this assembly identification information, the number of the component call information that statistics obtains, obtains the amount of calling of this assembly.Server can also add up the amount of calling that this assembly is called by certain project, then according to the assembly identification information of this assembly and the item identification information of this project, obtain and comprise the component call information of this assembly identification information and item identification information, the number of the component call information that statistics obtains obtains the amount of calling that this assembly is called by this project.Server can also add up the amount of calling that this assembly is called by terminal in certain LAN (Local Area Network), then according to assembly identification information and the IP address of terminal of this assembly, obtain and comprise the component call information of this assembly identification information and IP address of terminal, the number of the component call information that statistics obtains obtains the amount of calling that this assembly is called by this terminal in LAN (Local Area Network).Server can also add up the amount of calling that this assembly is called by certain terminal, then according to the assembly identification information of this assembly and the terminal MAC address of this terminal, obtain and comprise the component call information of this assembly identification information and terminal MAC address, the number of the component call information that statistics obtains obtains the amount of calling that this assembly is called by this terminal.
Server disposition in the present embodiment assembly management system, this assembly management system at least comprises the assembly management page, component developer or other people can be assembly application assembly mark by this assembly management page and check the information such as component call amount.When component developer wants the amount of calling of checking certain assembly, input the assembly identification information of this assembly in the assembly management page, the quantity of all component under this assembly identification information of server statistics is also presented on the assembly management page.Corresponding information can also be obtained equally by inputting the item identification information, IP address of terminal and the terminal MAC address that call the project of this assembly.
In sum, the securing component provided in disclosure embodiment calls metering method, during by detecting that assembly is called by the project in terminal, determines whether described project calls described assembly first; If described project calls described assembly first, then obtain described component call information and described component call information is sent to server, making described server can utilize the amount of calling of assembly described in described component call Information Statistics; Solving can not the problem of securing component recalls information and the statistics component amount of calling.Make when component developer handle component be shared with other software developers use time, this component developer can be known and uses the project of this assembly, terminal and the information such as the number of entry, terminal quantity.
Following is disclosure device embodiment, may be used for performing disclosure embodiment of the method.For the details do not disclosed in disclosure device embodiment, please refer to disclosure embodiment of the method.
Fig. 4 is the block diagram of the device of a kind of securing component amount of calling according to an exemplary embodiment, and as shown in Figure 4, the device of this securing component amount of calling includes but not limited to: the first determination module 401, acquisition module 402, sending module 403.
First determination module 401, during for detecting that assembly is called by the project in terminal, determines whether described project calls described assembly first.
Acquisition module 402, if determine that this project calls this assembly first for this first determination module 401, then obtain this component call information, this component call information at least comprises the assembly identification information of this assembly.
Sending module 403, for sending the component call information that this acquisition module 402 acquires to server, this component call information is used for the amount of calling of this this assembly of server statistics.
Optionally, this component call information reporting module comprises default first variable, this first variable be used for being recorded in current before whether this project modulated uses this assembly.
Optionally, refer to Fig. 5, this first determination module 401, comprising:
Reading submodule 4011, for reading this first variable from this component call information reporting module.
Determining submodule 4012, determining whether this project calls this assembly first for reading according to this reading submodule 4011 the first variable obtained.
In sum, the securing component amount of the calling device provided in disclosure embodiment, during by detecting that assembly is called by the project in terminal, determines whether described project calls described assembly first; If described project calls described assembly first, then obtain described component call information and described component call information is sent to server, making described server can utilize the amount of calling of assembly described in described component call Information Statistics; Make when component developer handle component be shared with other software developers use time, component developer can know component call information and the amount of calling of this assembly.。
Optionally, this assembly comprises component call information reporting module, refers to Fig. 6, and this device also comprises:
Second determination module 404, for when detecting that this component call information reporting module is called and running, determines that this assembly is called by the project in terminal.
Optionally, refer to Fig. 6, this device also comprises:
Module 405 being set, if be call this assembly first for this project, then the value of this first variable being set to use this assembly for representing that this project is modulated.
Optionally, refer to Fig. 6, this device also comprises:
Obtain judge module 406, before determining whether this project calls this assembly first at the first determination module 401, obtain from this project and preset the second variable, this second variable is for recording the debugging mode of this project of current debug, judge whether the debugging mode debugging this project is local debugging mode according to this second variable, if be local debugging mode, then perform this and determine whether this project calls the operation of this assembly first.
In sum, the securing component amount of the calling device provided in disclosure embodiment, during by detecting that assembly is called by the project in terminal, determines whether described project calls described assembly first; If described project calls described assembly first, then obtain described component call information and described component call information is sent to server, making described server can utilize the amount of calling of assembly described in described component call Information Statistics; Solving can not the problem of securing component recalls information and the statistics component amount of calling.Make when component developer handle component be shared with other software developers use time, this component developer can be known and uses the project of this assembly, terminal and the information such as the number of entry, terminal quantity.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (10)

1. a method for the securing component amount of calling, is characterized in that, described method comprises:
When detecting that assembly is called by the project in terminal, determine whether described project calls described assembly first;
If call described assembly first, then obtain described component call information, described component call information at least comprises the assembly identification information of described assembly;
Send described component call information to server, described component call information is used for the amount of calling of assembly described in described server statistics.
2. the method for claim 1, is characterized in that, described assembly comprises component call information reporting module, and described method also comprises:
When detecting that described component call information reporting module is called and running, determine that described assembly is called by the project in terminal.
3. method as claimed in claim 2, it is characterized in that, described component call information reporting module comprises default first variable, described first variable be used for being recorded in current before whether described project modulated uses described assembly;
Describedly determine whether described project calls described assembly first, comprising:
Described first variable is read from described component call information reporting module;
Determine whether described project calls described assembly first according to described first variable.
4. method as claimed in claim 3, it is characterized in that, described method also comprises:
If call described assembly first, then the value of described first variable is set to use described assembly for representing that described project is modulated.
5. the method for claim 1, is characterized in that, described determine whether described project calls described assembly first before, also comprise:
Obtain from described project and preset the second variable, described second variable is for recording the debugging mode of project described in current debug, judge whether the debugging mode debugging described project is local debugging mode according to described second variable, if be local debugging mode, then perform the described operation whether described project calls described assembly first of determining.
6. a device for the securing component amount of calling, is characterized in that, described device comprises:
First determination module, during for detecting that assembly is called by the project in terminal, determines whether described project calls described assembly first;
Acquisition module, if determine that described project calls described assembly first for described first determination module, then obtain described component call information, described component call information at least comprises the assembly identification information of described assembly;
Sending module, for sending the component call information that described acquisition module acquires to server, described component call information is used for the amount of calling of assembly described in described server statistics.
7. device as claimed in claim 6, it is characterized in that, described assembly comprises component call information reporting module, and described device also comprises:
Second determination module, for when detecting that described component call information reporting module is called and running, determines that described assembly is called by the project in terminal.
8. device as claimed in claim 7, it is characterized in that, described component call information reporting module comprises default first variable, described first variable be used for being recorded in current before whether described project modulated uses described assembly;
Described first determination module, comprising:
Reading submodule, for reading described first variable from described component call information reporting module;
Determining submodule, determining whether described project calls described assembly first for reading according to described reading submodule the first variable obtained.
9. device as claimed in claim 8, it is characterized in that, described device also comprises:
Module being set, if be call described assembly first for described project, then the value of described first variable being set to use described assembly for representing that described project is modulated.
10. device as claimed in claim 6, it is characterized in that, described device also comprises:
Obtain judge module, before determining whether described project calls described assembly first at described first determination module, obtain from described project and preset the second variable, described second variable is for recording the debugging mode of project described in current debug, judge whether the debugging mode debugging described project is local debugging mode according to described second variable, if be local debugging mode, then perform the described operation whether described project calls described assembly first of determining.
CN201510835185.2A 2015-11-26 2015-11-26 The method and device of securing component calling amount Active CN105487861B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510835185.2A CN105487861B (en) 2015-11-26 2015-11-26 The method and device of securing component calling amount

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510835185.2A CN105487861B (en) 2015-11-26 2015-11-26 The method and device of securing component calling amount

Publications (2)

Publication Number Publication Date
CN105487861A true CN105487861A (en) 2016-04-13
CN105487861B CN105487861B (en) 2018-11-27

Family

ID=55674861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510835185.2A Active CN105487861B (en) 2015-11-26 2015-11-26 The method and device of securing component calling amount

Country Status (1)

Country Link
CN (1) CN105487861B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445623A (en) * 2016-11-22 2017-02-22 青岛海信电器股份有限公司 Method and device for starting system module

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840370A (en) * 2010-04-30 2010-09-22 南京德讯信息系统有限公司 Service state online detection method and system based on components
CN102955805A (en) * 2011-08-24 2013-03-06 阿里巴巴集团控股有限公司 Method and system for processing recommendation data of website information
CN104616202A (en) * 2015-01-16 2015-05-13 中国农业大学 Agricultural product information inquiring system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840370A (en) * 2010-04-30 2010-09-22 南京德讯信息系统有限公司 Service state online detection method and system based on components
CN102955805A (en) * 2011-08-24 2013-03-06 阿里巴巴集团控股有限公司 Method and system for processing recommendation data of website information
CN104616202A (en) * 2015-01-16 2015-05-13 中国农业大学 Agricultural product information inquiring system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445623A (en) * 2016-11-22 2017-02-22 青岛海信电器股份有限公司 Method and device for starting system module
CN106445623B (en) * 2016-11-22 2019-12-20 青岛海信电器股份有限公司 System component starting method and device

Also Published As

Publication number Publication date
CN105487861B (en) 2018-11-27

Similar Documents

Publication Publication Date Title
CN104699616B (en) The method of a kind of application test, Apparatus and system
CN111651366B (en) SDK test method, device, equipment and storage medium
CN100538656C (en) The method and apparatus of debugging computer program in distributed debugger
Rosenkranz et al. A distributed test system architecture for open-source IoT software
CN109361562B (en) Automatic testing method based on associated network equipment access
CN105338110A (en) Remote debugging method, platform and server
CN108959059B (en) Test method and test platform
CN111752843B (en) Method, apparatus, electronic device and readable storage medium for determining influence surface
CN107133174A (en) Test case code automatically generating device and method
CN102722440A (en) Debugging device of executive codes of embedded system, debugging method and embedded system
CN113672441B (en) Method and device for testing intelligent equipment
CN103488513B (en) Equipment plug and play general drive method
CN110928770A (en) Software testing method, device, system, storage medium and electronic equipment
CN109408309A (en) The test method and device of multiple terminals
CN109558328A (en) A kind of test method of code coverage, system, device and readable storage medium storing program for executing
CN109783284A (en) Information acquisition method, system and server, computer readable storage medium
KR20180061589A (en) Software build system and software build method using the system
CN109194535A (en) A kind of terminal test system and method
CN106407118B (en) A kind of method and device of test user terminal
CN110597710B (en) Test coverage rate statistical method, device, computer equipment and storage medium
TW201324141A (en) Testing method and testing apparatus for testing function of electronic apparatus
CN111159023A (en) Test method, test device, electronic equipment and computer readable storage medium
CN103838651A (en) Mainboard function test management and control system and method
CN105487861A (en) Method and apparatus for acquiring component calling amount
CN106302011A (en) Method of testings based on multiterminal and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 519000 High-tech Zone, Zhuhai City, Guangdong Province, Unit 1, Fourth Floor C, Building A, Headquarters Base No. 1, Qianwan Third Road, Tangjiawan Town

Patentee after: ZHUHAI DUOWAN INFORMATION TECHNOLOGY Ltd.

Address before: 519080 Zone B, 1st Floor, Convention Center, No. 1, Software Park Road, Tangjiawan Town, Zhuhai, Guangdong

Patentee before: ZHUHAI DUOWAN INFORMATION TECHNOLOGY Ltd.

CP02 Change in the address of a patent holder