CN109388571A - Obtain method, apparatus, computer equipment and the storage medium of identification information - Google Patents
Obtain method, apparatus, computer equipment and the storage medium of identification information Download PDFInfo
- Publication number
- CN109388571A CN109388571A CN201811197545.0A CN201811197545A CN109388571A CN 109388571 A CN109388571 A CN 109388571A CN 201811197545 A CN201811197545 A CN 201811197545A CN 109388571 A CN109388571 A CN 109388571A
- Authority
- CN
- China
- Prior art keywords
- identification information
- application program
- icon
- packet
- verifying
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3604—Software analysis for verifying properties of programs
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- User Interface Of Digital Computer (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention proposes a kind of methods for obtaining identification information, comprising: by reading the configuration file in application program, obtains the identification information of the application program;The identification information that will acquire is arranged in the icon of the corresponding verifying packet of the application program.The invention also discloses a kind of devices for obtaining identification information, computer equipment and computer readable storage medium, by implementing above scheme, by running environment information and/or revision identification information that application program is arranged in the icon of verifying packet automatically, it effectively prevents the running environment information for verifying application program by way of crawl verifying packet and/or revision identification information step operation is cumbersome, the defect of verification operation low efficiency, the running environment information and/or revision identification information for effectively increasing application program obtain efficiency and acquisition speed, simplify the verification operation program of developer, improve exploitation and the testing efficiency of application program.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of method, apparatus for obtaining identification information, computer to set
Standby and computer readable storage medium.
Background technique
With the fast development of computer equipment (for example, mobile terminal), the application program installed in computer equipment
(APP, Application) has also obtained quickly universal.During Developmental Engineer develops application program, need
By the verifying packet (including: development kit, adhot packet, inhouse packet and release packet etc.) of snatching at application program or referring to
Determine to verify application program in the page, with obtain currently develop application program running environment (include: exploitation environment,
Test environment on environment and line) information and exploitation version identifier.Therefore, the running environment information of application program and exploitation version mark
The verification operation of knowledge is excessively cumbersome, verification operation low efficiency.
Summary of the invention
The invention proposes a kind of method, apparatus, computer equipment and computer-readable storage mediums for obtaining identification information
Matter, the running environment information and the verification operation for developing version identifier to solve application program in the prior art are excessively cumbersome,
The problem of verification operation low efficiency.
The technical solution adopted by the present invention is that providing a kind of method for obtaining identification information, comprising:
By reading the configuration file in application program, the identification information of the application program is obtained;Wherein, the mark
Information includes: the running environment information and/or revision identification information of the application program;
The identification information that will acquire is arranged in the icon of the corresponding verifying packet of the application program.
Optionally, the identification information that will acquire is arranged in the icon of the corresponding verifying packet of the application program,
Include:
The corresponding image file of icon of the verifying packet is extracted in the application program;
The identification information write-in described image file that will acquire, by showing that the mark is presented in described image file
Information;
By the corresponding image file of icon of packet is verified described in the application program, replaces with and have been written into the mark letter
The image file of breath.
Optionally, in the icon that the corresponding verifying packet of the application program is arranged in the identification information that will acquire
Later, the method also includes:
When generating verifying packet by strapping tool, the identification information is presented in the icon of the verifying packet.
Optionally, the configuration file by reading in application program, obtains the identification information of the application program, wraps
It includes:
The mark of the application program is obtained by reading the configuration file in application program with preset detection cycle
Information.
Optionally, the identification information that will acquire is arranged in the icon of the corresponding verifying packet of the application program,
Include:
According to the identification information got, the identification information being arranged in the icon of the verifying packet is updated.
The present invention also provides a kind of devices for obtaining identification information, comprising:
Module is obtained, for obtaining the identification information of the application program by reading the configuration file in application program;
Wherein, the identification information includes: the running environment information and/or revision identification information of the application program;
The icon of the corresponding verifying packet of the application program is arranged in setup module, the identification information for will acquire
In.
Optionally, the setup module, comprising:
Extraction module, for extracting the corresponding image file of icon of the verifying packet in the application program;
Described image file is written in writing module, the identification information for will acquire, by showing described image text
The identification information is presented in part;
Replacement module replaces with for will verify the corresponding image file of icon of packet described in the application program
The image file of the identification information is written.
Optionally, described device further include:
Module is presented, the identification information setting for will acquire in the setup module is corresponding in the application program
After verifying in the icon of packet, when generating verifying packet by strapping tool, institute is presented in the icon of the verifying packet
State identification information.
Optionally, the acquisition module, is specifically used for:
The mark of the application program is obtained by reading the configuration file in application program with preset detection cycle
Information.
Optionally, the acquisition module, is specifically used for:
According to the identification information got, the identification information being arranged in the icon of the verifying packet is updated.
The present invention also provides a kind of computer equipment, the computer equipment includes processor and memory;The processing
Device is used to execute the program of the acquisition identification information stored in memory, to realize the step of the method for above-mentioned acquisition identification information
Suddenly.
The present invention also provides a kind of computer readable storage medium, the computer-readable recording medium storage have one or
The multiple programs of person, one or more of programs can be executed by one or more processor, to realize above-mentioned acquisition mark
The step of knowing the method for information.
By adopting the above technical scheme, the present invention at least has the advantage that
A kind of method, apparatus, computer equipment and computer readable storage medium obtaining identification information of the present invention,
By the way that the running environment information and/or revision identification information of application program is arranged in the icon of verifying packet automatically, effectively avoid
Running environment information and/or the revision identification information step operation that application program is verified by way of crawl verifying packet are numerous
Trivial, the defect of verification operation low efficiency, the running environment information and/or revision identification information for effectively increasing application program obtains
Efficiency and acquisition speed simplify the verification operation program of developer, improve exploitation and the testing efficiency of application program.
Detailed description of the invention
Fig. 1 is the method flow diagram that identification information is obtained described in first embodiment of the invention;
Fig. 2 is the method flow diagram that identification information is obtained described in second embodiment of the invention;
Fig. 3 is the method flow diagram that identification information is obtained described in third embodiment of the invention;
Fig. 4 is the method flow diagram that identification information is obtained described in fourth embodiment of the invention;
Fig. 5 is the method flow diagram that identification information is obtained described in fifth embodiment of the invention;
Fig. 6 is the device composed structure schematic diagram that identification information is obtained described in the 6th and the tenth embodiment of the invention;
Fig. 7 is the device composed structure schematic diagram that identification information is obtained described in seventh embodiment of the invention;
Fig. 8 is the device composed structure schematic diagram that identification information is obtained described in the 8th and the 9th embodiment of the invention;
Fig. 9 is computer equipment composed structure schematic diagram described in eleventh embodiment of the invention.
Specific embodiment
Further to illustrate the present invention to reach the technical means and efficacy that predetermined purpose is taken, below in conjunction with attached drawing
And preferred embodiment, the present invention is described in detail as after.
First embodiment of the invention, a method of identification information is obtained, as shown in Figure 1, comprising the following specific steps
Step S101 obtains the identification information of application program by reading the configuration file in application program.
Wherein, the identification information of application program includes but is not limited to: the running environment information and/or version mark of application program
Know information.
In the present embodiment, the running environment information indicating of application program application program current operating environment;Using journey
The running environment of sequence includes but is not limited to: environment on exploitation environment, test environment and line.Wherein, environment is application program on line
It is mounted on the running environment of user terminal.The revision identification information of application program indicates the application program current version identifications.It answers
It is right by the running environment information and/or revision identification information of application program with the Developmental Engineer or Test Engineer of program
The current application program developed or tested carries out corresponding exploitation or test job.
For example, step S101 is specifically wrapped in the exploitation environment of the mobile terminal operating system iOS of Apple Inc.'s exploitation
It includes: the configuration file in application program being read by PlistBuddy order, obtains the identification information of application program;Wherein, it answers
It include: the running environment information and/or revision identification information of the application program with the identification information of program.
Step S102, the identification information that will acquire are arranged in the icon of the corresponding verifying packet of application program.
In the present embodiment, the corresponding verifying of application program includes but is not limited to: development kit, adhot packet, inhouse
Packet and release packet etc..
By the way that identification information to be arranged in the icon of the corresponding verifying packet of application program, Developmental Engineer or survey can be made
It tries engineer and passes through the running environment information and/or revision identification information of application program in reading icon, quick obtaining application journey
The running environment information and/or revision identification information of sequence, effectively prevent needing through the verifying packet of snatching at application program or
Application program is verified in specified page, to obtain the running environment information for the application program currently developed and/or open
Version identifier is sent out, the verification operation of the running environment information and exploitation version identifier that lead to application program is excessively cumbersome, verifying behaviour
The defect for making low efficiency, effectively increase Developmental Engineer or Test Engineer obtain application program running environment information and/
Or the efficiency of revision identification information, and then the verification operation program of Developmental Engineer or Test Engineer are simplified, it improves and answers
Exploitation and testing efficiency with program.
The method that identification information is obtained described in first embodiment of the invention, by being arranged in the icon of verifying packet automatically
The running environment information and/or revision identification information of application program are effectively prevented verifying by way of crawl verifying packet and be answered
Cumbersome with the running environment information and/or revision identification information step operation of program, the defect of verification operation low efficiency effectively mentions
The running environment information and/or revision identification information of high application program obtain efficiency and acquisition speed, simplify developer
Verification operation program, improve exploitation and the testing efficiency of application program.
Second embodiment of the invention, a method of identification information is obtained, as shown in Fig. 2, comprising the following specific steps
Step S201 obtains the identification information of application program by reading the configuration file in application program.
Wherein, the identification information of application program includes but is not limited to: the running environment information and/or version mark of application program
Know information.
Step S202 extracts the corresponding image file of icon of verifying packet in the application.
Optionally, step S202 is specifically included:
The corresponding image file of icon of each verifying packet is extracted in the application.
For example, step S202 is specific to wrap in the exploitation environment of the mobile terminal operating system iOS of Apple Inc.'s exploitation
It includes: extracting the corresponding image file of icon of verifying packet in the Assets.xcassets of application program, and by the image file
It saves to temp directory.
The image file is written in step S203, the identification information that will acquire, by showing that mark is presented in the image file
Know information.
Optionally, step S203 is specifically included:
Each image file is written in the identification information that will acquire, by showing that mark letter is presented in each image file
Breath.
For example, step S203 is specific to wrap in the exploitation environment of the mobile terminal operating system iOS of Apple Inc.'s exploitation
It includes: the image file that the identification information write-in temp directory that will acquire saves, by showing that mark is presented in the image file
Information.
The corresponding image file of the icon of the verifying packet in application program is replaced with and has been written into mark letter by step S204
The image file of breath.
Optionally, step S204 is specifically included:
By the corresponding image file of icon of verifying packet each in application program, replaces with the corresponding mark that has been written into and believe
The image file of breath.
For example, step S204 is specific to wrap in the exploitation environment of the mobile terminal operating system iOS of Apple Inc.'s exploitation
It includes: the corresponding image file of icon of packet will be verified in the Assets.xcassets of application program, replace with temp directory preservation
Image file.
The method that identification information is obtained described in second embodiment of the invention, by being arranged in the icon of verifying packet automatically
The running environment information and/or revision identification information of application program are effectively prevented verifying by way of crawl verifying packet and be answered
Cumbersome with the running environment information and/or revision identification information step operation of program, the defect of verification operation low efficiency effectively mentions
The running environment information and/or revision identification information of high application program obtain efficiency and acquisition speed, simplify developer
Verification operation program, improve exploitation and the testing efficiency of application program.
Third embodiment of the invention, a method of identification information is obtained, as shown in figure 3, comprising the following specific steps
Step S301 obtains the identification information of application program by reading the configuration file in application program.
Wherein, the identification information of application program includes but is not limited to: the running environment information and/or version mark of application program
Know information.
Step S302 extracts the corresponding image file of icon of verifying packet in the application.
The image file is written in step S303, the identification information that will acquire, by showing that mark is presented in the image file
Know information.
The corresponding image file of the icon of the verifying packet in application program is replaced with and has been written into mark letter by step S304
The image file of breath.
Identification information is presented in the icon of verifying packet when generating verifying packet by strapping tool in step S305.
In the case where by strapping tool generation verifying packet, identification information is presented in the icon of verifying packet, realizes certainly
The running environment information and/or revision identification information that application program is set in the icon in verifying packet are moved, can make to develop work
The running environment information and/or version identifier letter of application program in the icon of Cheng Shi or Test Engineer by reading verifying packet
Breath, the running environment information and/or revision identification information of quick obtaining application program effectively prevent needing through crawl application
The verifying packet of program verifies application program in specified page, to obtain the operation for the application program currently developed
Environmental information and/or exploitation version identifier lead to the running environment information of application program and the verification operation of exploitation version identifier
Excessively cumbersome, the defect of verification operation low efficiency, effectively increases Developmental Engineer or Test Engineer obtains application program
The efficiency of running environment information and/or revision identification information, and then simplify the verifying behaviour of Developmental Engineer or Test Engineer
Make program, improves exploitation and the testing efficiency of application program.
The method that identification information is obtained described in third embodiment of the invention, by being arranged in the icon of verifying packet automatically
The running environment information and/or revision identification information of application program are effectively prevented verifying by way of crawl verifying packet and be answered
Cumbersome with the running environment information and/or revision identification information step operation of program, the defect of verification operation low efficiency effectively mentions
The running environment information and/or revision identification information of high application program obtain efficiency and acquisition speed, simplify developer
Verification operation program, improve exploitation and the testing efficiency of application program.
Fourth embodiment of the invention, a method of identification information is obtained, as shown in figure 4, comprising the following specific steps
Step S401 obtains application program by reading the configuration file in application program with preset detection cycle
Identification information.
Wherein, the identification information of application program includes but is not limited to: the running environment information and/or version mark of application program
Know information.
In the present embodiment, preset detection cycle is not specifically limited, is can be 5 minutes, can be 1 hour, it can
To be 24 hours.The mark letter of application program is obtained by reading the configuration file in application program with preset detection cycle
Breath can effectively update the running environment information and/or revision identification information of the application program presented in the icon of verifying packet,
Realize running environment information and/or version identifier letter that self-timing updates the application program presented in the icon that verifying is wrapped
Breath.
Step S402 extracts the corresponding image file of icon of verifying packet in the application.
The image file is written in step S403, the identification information that will acquire, by showing that mark is presented in the image file
Know information.
The corresponding image file of the icon of the verifying packet in application program is replaced with and has been written into mark letter by step S404
The image file of breath.
Identification information is presented in the icon of verifying packet when generating verifying packet by strapping tool in step S405.
The method that identification information is obtained described in fourth embodiment of the invention, by being arranged in the icon of verifying packet automatically
The running environment information and/or revision identification information of application program are effectively prevented verifying by way of crawl verifying packet and be answered
Cumbersome with the running environment information and/or revision identification information step operation of program, the defect of verification operation low efficiency effectively mentions
The running environment information and/or revision identification information of high application program obtain efficiency and acquisition speed, simplify developer
Verification operation program, improve exploitation and the testing efficiency of application program.
Fifth embodiment of the invention, a method of identification information is obtained, as shown in figure 5, comprising the following specific steps
Step S501 obtains application program by reading the configuration file in application program with preset detection cycle
Identification information.
Wherein, the identification information of application program includes but is not limited to: the running environment information and/or version mark of application program
Know information.
Step S502 carries out more the identification information being arranged in the icon of verifying packet according to the identification information got
Newly.
In the present embodiment, step S502 is specifically included:
The corresponding image file of icon of verifying packet is extracted in the application;
The identification information being had been written into the update of identification information that the will acquire image file;
By the corresponding image file of the icon of the verifying packet in application program, the image text for having updated identification information is replaced with
Part.
With preset detection cycle, the identification information of the application program got, to what is be arranged in the icon of verifying packet
Identification information is updated, can effectively update the running environment information of application program presented in the icon of verifying packet and/
Or revision identification information, realize the running environment information that self-timing updates the application program presented in the icon that verifying is wrapped
And/or revision identification information, the running environment information and/or revision identification information for further improving application program obtain efficiency
And acquisition speed, the verification operation program of developer is simplified, exploitation and the testing efficiency of application program are improved
The method that identification information is obtained described in fifth embodiment of the invention, by being arranged in the icon of verifying packet automatically
The running environment information and/or revision identification information of application program are effectively prevented verifying by way of crawl verifying packet and be answered
Cumbersome with the running environment information and/or revision identification information step operation of program, the defect of verification operation low efficiency effectively mentions
The running environment information and/or revision identification information of high application program obtain efficiency and acquisition speed, simplify developer
Verification operation program, improve exploitation and the testing efficiency of application program.
Sixth embodiment of the invention, a kind of device obtaining identification information, as shown in fig. 6, including consisting of part:
Module 10 is obtained, for obtaining the identification information of application program by reading the configuration file in application program.
Wherein, the identification information of application program includes but is not limited to: the running environment information and/or version mark of application program
Know information.
In the present embodiment, the running environment information indicating of application program application program current operating environment;Using journey
The running environment of sequence includes but is not limited to: environment on exploitation environment, test environment and line.Wherein, environment is application program on line
It is mounted on the running environment of user terminal.The revision identification information of application program indicates the application program current version identifications.It answers
It is right by the running environment information and/or revision identification information of application program with the Developmental Engineer or Test Engineer of program
The current application program developed or tested carries out corresponding exploitation or test job.
For example, obtaining module 10, specifically in the exploitation environment of the mobile terminal operating system iOS of Apple Inc.'s exploitation
For: the configuration file in application program is read by PlistBuddy order, obtains the identification information of application program;Wherein,
The identification information of application program includes: the running environment information and/or revision identification information of the application program.
Setup module 20, the identification information for will acquire are arranged in the icon of the corresponding verifying packet of application program.
In the present embodiment, the corresponding verifying of application program includes but is not limited to: development kit, adhot packet, inhouse
Packet and release packet etc..
By the way that identification information to be arranged in the icon of the corresponding verifying packet of application program, Developmental Engineer or survey can be made
It tries engineer and passes through the running environment information and/or revision identification information of application program in reading icon, quick obtaining application journey
The running environment information and/or revision identification information of sequence, effectively prevent needing through the verifying packet of snatching at application program or
Application program is verified in specified page, to obtain the running environment information for the application program currently developed and/or open
Version identifier is sent out, the verification operation of the running environment information and exploitation version identifier that lead to application program is excessively cumbersome, verifying behaviour
The defect for making low efficiency, effectively increase Developmental Engineer or Test Engineer obtain application program running environment information and/
Or the efficiency of revision identification information, and then the verification operation program of Developmental Engineer or Test Engineer are simplified, it improves and answers
Exploitation and testing efficiency with program.
The device that identification information is obtained described in sixth embodiment of the invention, by being arranged in the icon of verifying packet automatically
The running environment information and/or revision identification information of application program are effectively prevented verifying by way of crawl verifying packet and be answered
Cumbersome with the running environment information and/or revision identification information step operation of program, the defect of verification operation low efficiency effectively mentions
The running environment information and/or revision identification information of high application program obtain efficiency and acquisition speed, simplify developer
Verification operation program, improve exploitation and the testing efficiency of application program.
Seventh embodiment of the invention, a kind of device obtaining identification information, as shown in fig. 7, comprises consisting of part:
Module 10 is obtained, for obtaining the identification information of application program by reading the configuration file in application program.
Wherein, the identification information of application program includes but is not limited to: the running environment information and/or version mark of application program
Know information.
Extraction module 21, for extracting the corresponding image file of icon of verifying packet in the application.
Optionally, extraction module 21 are specifically used for: extracting the corresponding image of icon of each verifying packet in the application
File.
For example, in the exploitation environment of the mobile terminal operating system iOS of Apple Inc.'s exploitation, extraction module 21, specifically
For: the corresponding image file of icon of verifying packet is extracted in the Assets.xcassets of application program, and the image is literary
Part is saved to temp directory.
The image file is written in writing module 22, the identification information for will acquire, by showing the image file
Identification information is presented.
Optionally, writing module 22 are specifically used for:
Each image file is written in the identification information that will acquire, by showing that mark letter is presented in each image file
Breath.
For example, in the exploitation environment of the mobile terminal operating system iOS of Apple Inc.'s exploitation, writing module 22, specifically
For: the image file that the identification information write-in temp directory that will acquire saves, by showing that mark is presented in the image file
Know information.
Replacement module 23, for replacing with the corresponding image file of the icon of the verifying packet in application program and having been written into
The image file of identification information.
Optionally, replacement module 23 are specifically used for:
By the corresponding image file of icon of verifying packet each in application program, replaces with the corresponding mark that has been written into and believe
The image file of breath.
For example, in the exploitation environment of the mobile terminal operating system iOS of Apple Inc.'s exploitation, replacement module 23, specifically
For: the corresponding image file of icon of packet will be verified in the Assets.xcassets of application program, replace with temp directory guarantor
The image file deposited.
The device that identification information is obtained described in seventh embodiment of the invention, by being arranged in the icon of verifying packet automatically
The running environment information and/or revision identification information of application program are effectively prevented verifying by way of crawl verifying packet and be answered
Cumbersome with the running environment information and/or revision identification information step operation of program, the defect of verification operation low efficiency effectively mentions
The running environment information and/or revision identification information of high application program obtain efficiency and acquisition speed, simplify developer
Verification operation program, improve exploitation and the testing efficiency of application program.
Eighth embodiment of the invention, a kind of device obtaining identification information, as shown in figure 8, including consisting of part:
Module 10 is obtained, for obtaining the identification information of application program by reading the configuration file in application program.
Wherein, the identification information of application program includes but is not limited to: the running environment information and/or version mark of application program
Know information.
Extraction module 21, for extracting the corresponding image file of icon of verifying packet in the application.
The image file is written in writing module 22, the identification information for will acquire, by showing the image file
Identification information is presented.
Replacement module 23, for replacing with the corresponding image file of the icon of the verifying packet in application program and having been written into
The image file of identification information.
Module 30 is presented, for mark letter to be presented in the icon of verifying packet when generating verifying packet by strapping tool
Breath.
In the case where by strapping tool generation verifying packet, identification information is presented in the icon of verifying packet, realizes certainly
The running environment information and/or revision identification information that application program is set in the icon in verifying packet are moved, can make to develop work
The running environment information and/or version identifier letter of application program in the icon of Cheng Shi or Test Engineer by reading verifying packet
Breath, the running environment information and/or revision identification information of quick obtaining application program effectively prevent needing through crawl application
The verifying packet of program verifies application program in specified page, to obtain the operation for the application program currently developed
Environmental information and/or exploitation version identifier lead to the running environment information of application program and the verification operation of exploitation version identifier
Excessively cumbersome, the defect of verification operation low efficiency, effectively increases Developmental Engineer or Test Engineer obtains application program
The efficiency of running environment information and/or revision identification information, and then simplify the verifying behaviour of Developmental Engineer or Test Engineer
Make program, improves exploitation and the testing efficiency of application program.
The device that identification information is obtained described in eighth embodiment of the invention, by being arranged in the icon of verifying packet automatically
The running environment information and/or revision identification information of application program are effectively prevented verifying by way of crawl verifying packet and be answered
Cumbersome with the running environment information and/or revision identification information step operation of program, the defect of verification operation low efficiency effectively mentions
The running environment information and/or revision identification information of high application program obtain efficiency and acquisition speed, simplify developer
Verification operation program, improve exploitation and the testing efficiency of application program.
Ninth embodiment of the invention, a kind of device obtaining identification information, as shown in figure 8, including consisting of part:
Module 10 is obtained, for obtaining application by reading the configuration file in application program with preset detection cycle
The identification information of program.
Wherein, the identification information of application program includes but is not limited to: the running environment information and/or version mark of application program
Know information.
In the present embodiment, preset detection cycle is not specifically limited, is can be 5 minutes, can be 1 hour, it can
To be 24 hours.The mark letter of application program is obtained by reading the configuration file in application program with preset detection cycle
Breath can effectively update the running environment information and/or revision identification information of the application program presented in the icon of verifying packet,
Realize running environment information and/or version identifier letter that self-timing updates the application program presented in the icon that verifying is wrapped
Breath.
Extraction module 21, for extracting the corresponding image file of icon of verifying packet in the application.
The image file is written in writing module 22, the identification information for will acquire, by showing the image file
Identification information is presented.
Replacement module 23, for replacing with the corresponding image file of the icon of the verifying packet in application program and having been written into
The image file of identification information.
Module 30 is presented, for mark letter to be presented in the icon of verifying packet when generating verifying packet by strapping tool
Breath.
The device that identification information is obtained described in ninth embodiment of the invention, by being arranged in the icon of verifying packet automatically
The running environment information and/or revision identification information of application program are effectively prevented verifying by way of crawl verifying packet and be answered
Cumbersome with the running environment information and/or revision identification information step operation of program, the defect of verification operation low efficiency effectively mentions
The running environment information and/or revision identification information of high application program obtain efficiency and acquisition speed, simplify developer
Verification operation program, improve exploitation and the testing efficiency of application program.
Tenth embodiment of the invention, a kind of device obtaining identification information, as shown in fig. 6, including consisting of part:
Module 10 is obtained, for obtaining application by reading the configuration file in application program with preset detection cycle
The identification information of program.
Wherein, the identification information of application program includes but is not limited to: the running environment information and/or version mark of application program
Know information.
Setup module 20, the identification information for being arranged in the icon wrapped to verifying according to the identification information got
It is updated.
In the present embodiment, setup module 20 are specifically used for:
The corresponding image file of icon of verifying packet is extracted in the application;
The identification information being had been written into the update of identification information that the will acquire image file;
By the corresponding image file of the icon of the verifying packet in application program, the image text for having updated identification information is replaced with
Part.
With preset detection cycle, the identification information of the application program got, to what is be arranged in the icon of verifying packet
Identification information is updated, can effectively update the running environment information of application program presented in the icon of verifying packet and/
Or revision identification information, realize the running environment information that self-timing updates the application program presented in the icon that verifying is wrapped
And/or revision identification information, the running environment information and/or revision identification information for further improving application program obtain efficiency
And acquisition speed, the verification operation program of developer is simplified, exploitation and the testing efficiency of application program are improved
The device that identification information is obtained described in tenth embodiment of the invention, by being arranged in the icon of verifying packet automatically
The running environment information and/or revision identification information of application program are effectively prevented verifying by way of crawl verifying packet and be answered
Cumbersome with the running environment information and/or revision identification information step operation of program, the defect of verification operation low efficiency effectively mentions
The running environment information and/or revision identification information of high application program obtain efficiency and acquisition speed, simplify developer
Verification operation program, improve exploitation and the testing efficiency of application program.
Eleventh embodiment of the invention, a kind of computer equipment, as shown in figure 9, including consisting of part:
Processor 501 and memory 502.In some embodiments of the invention, processor 501 and memory 502 can lead to
Cross bus or other way connection.
Processor 501 can be general processor, such as central processing unit (Central Processing Unit,
CPU), it can also be digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), or be arranged to implement the embodiment of the present invention
One or more integrated circuits.Wherein, memory 502 is used for the executable instruction of storage processor 501;
Memory 502 is transferred to processor 501 for storing program code, and by the program code.Memory 502 can
To include volatile memory (Volatile Memory), such as random access memory (Random Access Memory,
RAM);Memory 502 also may include nonvolatile memory (Non-Volatile Memory), such as read-only memory
(Read-Only Memory, ROM), flash memory (Flash Memory), hard disk (Hard Disk Drive, HDD) or solid
State hard disk (Solid-State Drive, SSD);Memory 502 can also include the combination of the memory of mentioned kind.
Wherein, the program code management code that processor 501 is used to that memory 502 to be called to store executes the present invention first
Embodiment into fifth embodiment of the invention in any embodiment part or Overall Steps.
Computer equipment described in eleventh embodiment of the invention, by the way that journey is applied in setting in the icon of verifying packet automatically
The running environment information and/or revision identification information of sequence effectively prevent verifying application program by way of crawl verifying packet
Running environment information and/or revision identification information step operation it is cumbersome, the defect of verification operation low efficiency is effectively increased and is answered
Efficiency and acquisition speed are obtained with the running environment information and/or revision identification information of program, simplifies the verifying of developer
Operation sequence improves exploitation and the testing efficiency of application program.
Twelveth embodiment of the invention, a kind of computer readable storage medium.
Computer storage medium can be RAM memory, flash memory, ROM memory, eprom memory, EEPROM storage
Device, register, hard disk, mobile hard disk, CD-ROM or any other form known in the art storage medium.
Computer-readable recording medium storage has one or more program, one or more program can by one or
The multiple processors of person execute, with realize first embodiment of the invention into fifth embodiment of the invention in any embodiment part or
Overall Steps.
Computer readable storage medium described in twelveth embodiment of the invention is stored with one or more program, should
One or more program can be executed by one or more processor, can be answered by being arranged in the icon of verifying packet automatically
With the running environment information and/or revision identification information of program, effectively prevent verifying application by way of crawl verifying packet
The running environment information and/or revision identification information step operation of program are cumbersome, and the defect of verification operation low efficiency effectively improves
The running environment information and/or revision identification information of application program obtain efficiency and acquisition speed, simplify developer's
Verification operation program improves exploitation and the testing efficiency of application program.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (12)
1. a kind of method for obtaining identification information characterized by comprising
By reading the configuration file in application program, the identification information of the application program is obtained;Wherein, the identification information
It include: the running environment information and/or revision identification information of the application program;
The identification information that will acquire is arranged in the icon of the corresponding verifying packet of the application program.
2. the method according to claim 1, wherein the identification information that will acquire is arranged in the application
In the icon of the corresponding verifying packet of program, comprising:
The corresponding image file of icon of the verifying packet is extracted in the application program;
The identification information write-in described image file that will acquire, by showing that the mark letter is presented in described image file
Breath;
The corresponding image file of icon of packet will be verified described in the application program, replace with and have been written into the identification information
Image file.
3. method according to claim 1 or 2, which is characterized in that be arranged in the identification information that will acquire in institute
After stating in the icon of the corresponding verifying packet of application program, the method also includes:
When generating verifying packet by strapping tool, the identification information is presented in the icon of the verifying packet.
4. the method according to claim 1, wherein the configuration file by reading in application program, is obtained
Take the identification information of the application program, comprising:
The identification information of the application program is obtained by reading the configuration file in application program with preset detection cycle.
5. according to the method described in claim 4, it is characterized in that, the identification information that will acquire is arranged in the application
In the icon of the corresponding verifying packet of program, comprising:
According to the identification information got, the identification information being arranged in the icon of the verifying packet is updated.
6. a kind of device for obtaining identification information characterized by comprising
Module is obtained, for obtaining the identification information of the application program by reading the configuration file in application program;Its
In, the identification information includes: the running environment information and/or revision identification information of the application program;
Setup module, the identification information for will acquire are arranged in the icon of the corresponding verifying packet of the application program.
7. device according to claim 6, which is characterized in that the setup module, comprising:
Extraction module, for extracting the corresponding image file of icon of the verifying packet in the application program;
Described image file is written in writing module, the identification information for will acquire, to be in by displaying described image file
The existing identification information;
Replacement module is replaced with and is had been written into for will verify the corresponding image file of icon of packet described in the application program
The image file of the identification information.
8. device according to claim 6 or 7, which is characterized in that described device further include:
Module is presented, the identification information for will acquire in the setup module is arranged in the corresponding verifying of the application program
After in the icon of packet, when generating verifying packet by strapping tool, the mark is presented in the icon of the verifying packet
Know information.
9. device according to claim 6, which is characterized in that the acquisition module is specifically used for:
The identification information of the application program is obtained by reading the configuration file in application program with preset detection cycle.
10. device according to claim 9, which is characterized in that the acquisition module is specifically used for:
According to the identification information got, the identification information being arranged in the icon of the verifying packet is updated.
11. a kind of computer equipment, which is characterized in that the computer equipment includes processor and memory;The processor
It is according to any one of claims 1 to 5 to realize for executing the program of the acquisition identification information stored in memory
The step of obtaining the method for identification information.
12. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be executed by one or more processor, with realize according to claim 1~
The step of method of identification information is obtained described in any one of 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811197545.0A CN109388571B (en) | 2018-10-15 | 2018-10-15 | Method and device for acquiring identification information, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811197545.0A CN109388571B (en) | 2018-10-15 | 2018-10-15 | Method and device for acquiring identification information, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109388571A true CN109388571A (en) | 2019-02-26 |
CN109388571B CN109388571B (en) | 2021-11-23 |
Family
ID=65427391
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811197545.0A Active CN109388571B (en) | 2018-10-15 | 2018-10-15 | Method and device for acquiring identification information, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109388571B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110990171A (en) * | 2019-12-02 | 2020-04-10 | 北京三快在线科技有限公司 | Information prompting method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103853433A (en) * | 2014-04-01 | 2014-06-11 | 联想(北京)有限公司 | Notification message promoting method and device |
US20140181747A1 (en) * | 2012-12-20 | 2014-06-26 | Samsung Electronics Co., Ltd | Method for displaying contents use history and electronic device thereof |
CN105763626A (en) * | 2016-04-11 | 2016-07-13 | 苏州云清伟业网络科技有限公司 | SDK initialization method suitable for application client end payment |
CN105824611A (en) * | 2015-10-20 | 2016-08-03 | 广东亿迅科技有限公司 | Rapid development system based on Android intelligent operation platform |
CN108319460A (en) * | 2018-01-24 | 2018-07-24 | 广东小天才科技有限公司 | Method and device for generating application program installation package, electronic equipment and storage medium |
-
2018
- 2018-10-15 CN CN201811197545.0A patent/CN109388571B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140181747A1 (en) * | 2012-12-20 | 2014-06-26 | Samsung Electronics Co., Ltd | Method for displaying contents use history and electronic device thereof |
CN103853433A (en) * | 2014-04-01 | 2014-06-11 | 联想(北京)有限公司 | Notification message promoting method and device |
CN105824611A (en) * | 2015-10-20 | 2016-08-03 | 广东亿迅科技有限公司 | Rapid development system based on Android intelligent operation platform |
CN105763626A (en) * | 2016-04-11 | 2016-07-13 | 苏州云清伟业网络科技有限公司 | SDK initialization method suitable for application client end payment |
CN108319460A (en) * | 2018-01-24 | 2018-07-24 | 广东小天才科技有限公司 | Method and device for generating application program installation package, electronic equipment and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110990171A (en) * | 2019-12-02 | 2020-04-10 | 北京三快在线科技有限公司 | Information prompting method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109388571B (en) | 2021-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102662701B (en) | CPLD online upgrading method, device and service board | |
US9563418B1 (en) | Communication endpoints, software update servers, and related methods | |
CN106020865A (en) | System upgrading method and device | |
CN110032339B (en) | Data migration method, device, system, equipment and storage medium | |
CN104808951A (en) | Storage control method and device | |
CN106598835A (en) | Application testing method, device and system | |
CN103995723B (en) | A kind of method and apparatus upgrading IVI system firmwares based on movable storage device | |
CN106033322B (en) | A kind of date storage method and device | |
CN104866510A (en) | Method and device for removing residual file and method and device for establishing feature library of residual file | |
CN108228451A (en) | A kind of information push method, equipment and computer readable storage medium | |
CN108984339B (en) | Data recovery method and related product | |
CN109908585A (en) | A kind of document handling method and system calculate equipment and storage medium | |
CN110209420A (en) | A kind of method and device updating bootstrap loader | |
CN109324918A (en) | Application program exception handling method and device, terminal and storage medium | |
CN109284107A (en) | Application program configuration method, device, computer equipment and readable storage medium storing program for executing | |
CN109388571A (en) | Obtain method, apparatus, computer equipment and the storage medium of identification information | |
CN104036193B (en) | Local cross-domain vulnerability detection method and device for application program | |
CN106095474A (en) | For the method and apparatus updating the software in means of transport | |
CN109471799B (en) | Method, device, storage medium and terminal for deploying demand environment | |
CN109753367A (en) | Communication means, device, computer equipment and computer readable storage medium | |
CN108196975B (en) | Data verification method and device based on multiple checksums and storage medium | |
CN108804177A (en) | Update method, apparatus, computer equipment and the storage medium of interface view | |
CN104317645B (en) | A kind of method and device of Application Instance listening port | |
CN110633196A (en) | Automatic use case execution method and device of application program | |
CN108733548A (en) | One kind burying a setting method, device, equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |