CN109657423B - Development-assisted management method and system for development certificate and description file - Google Patents

Development-assisted management method and system for development certificate and description file Download PDF

Info

Publication number
CN109657423B
CN109657423B CN201811420393.6A CN201811420393A CN109657423B CN 109657423 B CN109657423 B CN 109657423B CN 201811420393 A CN201811420393 A CN 201811420393A CN 109657423 B CN109657423 B CN 109657423B
Authority
CN
China
Prior art keywords
imported
description file
development
certificate
development certificate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811420393.6A
Other languages
Chinese (zh)
Other versions
CN109657423A (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811420393.6A priority Critical patent/CN109657423B/en
Publication of CN109657423A publication Critical patent/CN109657423A/en
Application granted granted Critical
Publication of CN109657423B publication Critical patent/CN109657423B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/105Arrangements for software license management or administration, e.g. for managing licenses at corporate level

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a management method and system for development certificates and description files based on development assistance. The method comprises the following steps: when a user triggers a first management instruction for importing a development certificate to be imported and a description file to be imported, judging whether the development certificate to be imported and the description file to be imported meet preset importing conditions, and importing the development certificate to be imported and the description file to be imported if the development certificate to be imported and the description file to be imported meet the preset importing conditions; when a user triggers a second management instruction for deleting the development certificate to be deleted and the description file to be deleted, deleting the development certificate to be deleted and the description file to be deleted according to the file name of the description file to be deleted; when the user triggers a third management instruction for checking the expired development certificate and the expired description file, deleting the expired development certificate and the expired description file. Under the method, the technical problems that the efficiency of importing the development certificate and the description file is low, the efficiency of deleting the development certificate and the description file is low, and the expired development certificate and the expired description file are difficult to check are solved.

Description

Development-assisted management method and system for development certificate and description file
Technical Field
The invention relates to the technical field of development auxiliary tools, in particular to a management method and system for development certificates and description files based on development auxiliary.
Background
Currently, with the increasing popularity of use of Mac OS systems, software development based on Mac OS systems is a large development wind direction, where development certificates and description files on Mac OS systems are often required to be used when debugging or publishing software on Mac OS systems.
In the prior art, the following problems exist for management of development certificates and description files on a Mac OS system: when the development certificate and the description file are imported, the development certificate and the description file are needed to be imported one by one manually, and when the development certificate and the description file which need to be deleted are needed to be determined in a deeper-level directory manually, so that the efficiency of importing the development certificate and the description file is low, and the time for deleting the development certificate and the description file is long and the efficiency is low. Moreover, the existing method for checking out expired development certificates and description files is manual checking, and the problems of large workload, long time consumption and high difficulty exist.
To sum up, the prior art drawbacks include: 1. importing development certificates and description files is inefficient. 2. Deleting the development certificate and description file is inefficient. 3. It is difficult to check out expired development certificates and expired description files.
Disclosure of Invention
In order to solve the technical problems that the efficiency of importing the development certificate and the description file is low, the efficiency of deleting the development certificate and the description file is low and the expired development certificate and the expired description file are difficult to check in the related technology, the invention provides a development assistance-based management method and system for the development certificate and the description file.
A method of managing development certificates and description files based on development assistance, the method comprising:
When a user triggers a first management instruction for importing a development certificate to be imported and a description file to be imported, judging whether the development certificate to be imported and the description file to be imported meet a preset importing condition, and importing the development certificate to be imported and the description file to be imported if the development certificate to be imported and the description file to be imported meet the preset importing condition;
when a user triggers a second management instruction for deleting the development certificate to be deleted and the description file to be deleted, deleting the development certificate to be deleted and the description file to be deleted according to the file name of the description file to be deleted;
and deleting the expired development certificate and the expired description file when a user triggers a third management instruction for checking the expired development certificate and the expired description file.
A development assistance based management system for developing certificates and description files, the system comprising:
The first management unit is used for judging whether the development certificate to be imported and the description file to be imported meet the preset importing conditions or not when a user triggers a first management instruction for importing the development certificate to be imported and the description file to be imported, and importing the development certificate to be imported and the description file to be imported if the development certificate to be imported and the description file to be imported meet the preset importing conditions;
The second management unit is used for deleting the development certificate to be deleted and the description file to be deleted according to the file name of the description file to be deleted when a user triggers a second management instruction for deleting the development certificate to be deleted and the description file to be deleted;
And the third management unit is used for deleting the expired development certificate and the expired description file when a user triggers a third management instruction for checking the expired development certificate and the expired description file.
An electronic device, the electronic device comprising:
A processor;
A memory having stored thereon computer readable instructions which, when executed by the processor, implement a method as described above.
A computer readable storage medium, characterized in that it stores a computer program which, when executed by a computer, causes the implementation of the method as described above.
The technical scheme provided by the embodiment of the invention can comprise the following beneficial effects:
When a user triggers a first management instruction for importing a development certificate to be imported and a description file to be imported, judging whether the development certificate to be imported and the description file to be imported meet preset importing conditions or not, and importing the development certificate to be imported and the description file to be imported if the first management instruction is the first management instruction; when a user triggers a second management instruction for deleting the development certificate to be deleted and the description file to be deleted, deleting the development certificate to be deleted and the description file to be deleted according to the file name of the description file to be deleted; when the user triggers a third management instruction for checking the expired development certificate and the expired description file, deleting the expired development certificate and the expired description file.
Under the method, the development certificate and the description file can be automatically imported and deleted according to the management instruction triggered by the user, so that the importing and deleting efficiency is improved, the expired development certificate and the expired description file can be automatically checked, and the checking efficiency is improved. In conclusion, the technical problems that the efficiency of importing the development certificate and the description file is low, the efficiency of deleting the development certificate and the description file is low, and the expired development certificate and the expired description file are difficult to check are solved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a schematic diagram of an apparatus according to an exemplary embodiment;
FIG. 2 is a flowchart illustrating a method of managing development certificates and description files based on development assistance, according to an example embodiment;
FIG. 3 is a flowchart illustrating a method of managing development certificates and description files based on development assistance, according to another example embodiment;
FIG. 4 is a block diagram of a management system for development assistance based development certificate and description file, according to an example embodiment;
fig. 5 is a block diagram illustrating a management system based on development assistance in developing certificates and description files according to another exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
The implementation environment of the invention can be a portable mobile device, such as a smart phone, a tablet computer, a desktop computer.
FIG. 1 is a schematic diagram of an apparatus for running a management system for development assistance-based development certificates and description files, according to an example embodiment. The apparatus 100 may be the portable mobile device described above. As shown in fig. 1, the apparatus 100 may include one or more of the following components: a processing component 102, a memory 104, a power supply component 106, a multimedia component 108, an audio component 110, a sensor component 114, and a communication component 116.
The processing component 102 generally controls overall operation of the device 100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations, among others. The processing component 102 may include one or more processors 118 to execute instructions to perform all or part of the steps of the methods described below. Further, the processing component 102 can include one or more modules to facilitate interactions between the processing component 102 and other components. For example, the processing component 102 may include a multimedia module for facilitating interaction between the multimedia component 108 and the processing component 102.
The memory 104 is configured to store various types of data to support operations at the apparatus 100. Examples of such data include instructions for any application or method operating on the device 100. The Memory 104 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as static random access Memory (Static Random Access Memory, SRAM), electrically erasable Programmable Read-Only Memory (ELECTRICALLY ERASABLE PROGRAMMABLE READ-Only Memory, EEPROM), erasable Programmable Read-Only Memory (Erasable Programmable Read OnlyMemory, EPROM), programmable Read-Only Memory (PROM), read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk. Also stored in the memory 104 are one or more modules configured to be executed by the one or more processors 118 to perform all or part of the steps in the methods shown below.
The power supply assembly 106 provides power to the various components of the device 100. The power components 106 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 100.
The multimedia component 108 includes a screen between the device 100 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a touch panel. If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. The screen may also include an Organic LIGHT EMITTING DISPLAY (OLED for short).
The audio component 110 is configured to output and/or input audio signals. For example, the audio component 110 includes a Microphone (MIC) configured to receive external audio signals when the device 100 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 104 or transmitted via the communication component 116. In some embodiments, the audio component 110 further comprises a speaker for outputting audio signals.
The sensor assembly 114 includes one or more sensors for providing status assessment of various aspects of the device 100. For example, the sensor assembly 114 may detect an on/off state of the device 100, a relative positioning of the assemblies, the sensor assembly 114 may also detect a change in position of the device 100 or a component of the device 100, and a change in temperature of the device 100. In some embodiments, the sensor assembly 114 may also include a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 116 is configured to facilitate communication between the apparatus 100 and other devices in a wired or wireless manner. The device 100 may access a Wireless network based on a communication standard, such as WiFi (Wireless-Fidelity). In one exemplary embodiment, the communication component 116 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the Communication component 116 further includes a Near Field Communication (NFC) module for facilitating short range communications. For example, in the NFC module, it may be implemented based on radio frequency identification (Radio FrequencyIdentification, RFID) technology, infrared data Association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth technology, and other technologies.
In an exemplary embodiment, the apparatus 100 may be implemented by one or more Application SPECIFIC INTEGRATED Circuits (ASICs), digital signal processors, digital signal processing devices, programmable logic devices, field programmable gate arrays, controllers, microcontrollers, microprocessors, or other electronic components for performing the methods described below.
FIG. 2 is a flowchart illustrating a method of managing development certificates and description files based on development assistance, according to an example embodiment. As shown in fig. 2, the method comprises the steps of:
Step 201, when the user triggers a first management instruction for importing the development certificate to be imported and the description file to be imported, the management system based on the development-assisted development certificate and the description file judges whether the development certificate to be imported and the description file to be imported meet a preset importing condition, and if so, the development certificate to be imported and the description file to be imported are imported.
In the embodiment of the invention, each development certificate to be imported corresponds to one or more description files to be imported, and when the development certificate to be imported and the description files to be imported meet the preset importing conditions, the development certificate to be imported and the description files to be imported can be imported into the system by using a command line tool.
As an alternative embodiment, the following steps may also be performed:
when the development certificate to be imported corresponds to a plurality of description files to be imported, the development certificate information corresponding to the development certificate to be imported and the description file information corresponding to the description files to be imported are imported in the management file by the development-assisted development certificate and description file-based management system.
As another alternative embodiment, after the development certificate information corresponding to the development certificate to be imported and the description file information corresponding to the description file to be imported are imported in the management file by the development-assisted development certificate and description file-based management system, the following steps may be further performed:
The management system based on the development-assisted development certificate and the description file generates a development certificate identifier corresponding to the development certificate information and a description file identifier corresponding to the description file information in the management file according to a preset identification rule.
In the embodiment of the invention, the development certificate identifiers in the management file are stored corresponding to a plurality of description file identifiers corresponding to the development certificate identifiers, and the storage mode is a mode of 1-to-n mapping storage. The description file identifier corresponding to each of the development certificate identifiers may be queried by using the management file, or the development certificate identifier corresponding to each of the description file identifiers may be queried by using the management file. When development certificate information of a management file to be managed is detected, generating development certificate identifiers matched with the development certificate information in the management file according to the development certificate information, wherein the development certificate identifiers of all development certificates in the management file are different; when the description file information of the management file to be introduced is detected, the description file identification matched with the description file information is generated in the management file according to the description file information, and the description file identifications of all the description files in the management file are different.
As another alternative embodiment, the generating, by the management system based on the development assistance development certificate and the description file, the development certificate identifier corresponding to the development certificate information and the description file identifier corresponding to the description file information in the management file according to the preset identification rule may include:
The management system based on the development auxiliary development certificate and the description file generates development certificate identifications matched with development certificate information according to the sequence of the development certificate information in the management file, and generates description file identifications matched with the description file information according to the sequence of the description file information in the management file; or alternatively
The management system based on the development assistance development certificate and the description file generates a development certificate identifier matched with the development certificate information according to the validity period of the development certificate included in the development certificate information, and generates a description file identifier matched with the description file information according to the validity period of the description file included in the description file information.
For example, assume that N pieces of development certificate information {1,2,3 … … N } are sequentially introduced into the management file, that is, the first development certificate information is introduced into the management file, the second development certificate information is introduced into the management file … …, and the nth development certificate information is introduced into the management file; at this time, development certificate identifications matching the development certificate information are generated for the development certificate information according to the order in which the development certificate information is introduced into the management file. For example, the number of development certificates to be imported this time is 10, corresponding to 10 development certificates, m development certificates are stored in the management file before importing the 10 development certificates, and the format of the development certificate identifier generated by the m development certificates is [ time serial number: development certificate number ], wherein the time sequence number is used to distinguish the time of the m development certificate introduction files. For 10 development certificates which need to be imported at this time, the time serial numbers in the corresponding development certificate identifications are the same, and the time serial numbers in the corresponding development certificate identifications are different from the time serial numbers of the m development certificates. The development certificate numbers are used for distinguishing development certificates imported in the same batch, and the development certificate numbers of the development certificates imported in the same batch are different, but the development certificate numbers of the development certificates imported in different batches can be the same, and the development certificate numbers can be distinguished from each other even if the development certificate numbers are the same due to the fact that the time serial numbers of the development certificates imported in different batches are different. The description file identity is the same.
By implementing the alternative implementation mode, the unique development certificate identification and the description file identification can be used as the basis for identifying the development certificate and the description file, so that the reliability of identifying the development certificate and the description file is improved.
Step 202, when the user triggers a second management instruction for deleting the to-be-deleted development certificate and the to-be-deleted description file, the development certificate and the to-be-deleted description file are deleted according to the file name of the to-be-deleted description file based on the development-assisted development certificate and the management system of the description file.
In step 203, when the user triggers a third management instruction for checking the expired development certificate and the expired description file, the management system based on the development-assisted development certificate and the description file deletes the expired development certificate and the expired description file.
Under the method, the development certificate and the description file can be automatically imported and deleted according to the management instruction triggered by the user, so that the importing and deleting efficiency is improved, the expired development certificate and the expired description file can be automatically checked, and the checking efficiency is improved. In conclusion, the technical problems that the efficiency of importing the development certificate and the description file is low, the efficiency of deleting the development certificate and the description file is low, and the expired development certificate and the expired description file are difficult to check are solved.
Fig. 3 is a flowchart illustrating a method of managing development certificates and description files based on development assistance according to another exemplary embodiment. As shown in fig. 3, the method comprises the steps of:
step 301, when the user triggers a first management instruction for importing a development certificate to be imported and a description file to be imported, the management system based on the development-assisted development certificate and the description file judges whether the current date is within a preset validity period range, and if so, step 302 is executed.
In the embodiment of the invention, the preset validity period range is the intersection of a first validity period range corresponding to the development certificate to be imported and a second validity period range corresponding to the description file to be imported.
Step 302, the management system based on the development-assisted development certificate and the description file determines whether the development certificate to be imported and the description file to be imported are matched, and if so, step 303 is executed.
As an alternative embodiment, the determining, by the management system based on the development assistance development certificate and the description file, whether the development certificate to be imported and the description file to be imported match may include:
Determining first parameter information corresponding to a development certificate to be imported and second parameter information corresponding to a description file to be imported by a management system based on the development-assisted development certificate and the description file;
And the management system based on the development-assisted development certificate and the description file judges whether the first parameter information is matched with the second parameter information, if so, determines that the development certificate to be imported is matched with the description file to be imported, and if not, determines that the development certificate to be imported is not matched with the description file to be imported.
In the embodiment of the present invention, the first parameter information and the second parameter information may include, but are not limited to, app ID, certificates, devices, etc.
By implementing this alternative embodiment, before the development certificate to be imported and the description file to be imported, it is required to confirm that the first parameter information of the development certificate to be imported matches the second parameter information of the description file to be imported, so as to ensure validity of the imported development certificate and the description file.
In step 303, the management system based on the development-assisted development certificate and description file imports the development certificate to be imported and the description file to be imported.
As an alternative embodiment, after the development certificate to be imported and the description file to be imported are imported by the management system based on the development assistance development certificate and the description file, the following steps may be further performed:
The management system based on the development-assisted development certificate and the description file generates a development certificate identifier matched with the development certificate to be imported and a description file identifier matched with the description file to be imported according to a preset identification rule;
The management system based on the development-assisted development certificate and the description file stores the development certificate identification and the description file identification to the management file correspondingly.
As another alternative embodiment, after the development certificate to be imported and the description file to be imported are imported by the management system based on the development assistance development certificate and the description file, the following steps may be further performed:
The management system based on the development assistance development certificate and the description file stores a first path for importing the development certificate and a second path for importing the description file to the management file.
By implementing the alternative implementation mode, the path for importing the development certificate and the description file can be obtained by using the management file, so that the development certificate and the description file can be rapidly positioned.
Step 304, when the user triggers a second management instruction for deleting the to-be-deleted development certificate and the to-be-deleted description file, the development certificate and the to-be-deleted description file are deleted according to the file name of the to-be-deleted description file based on the development-assisted development certificate and the management system of the description file.
As an optional implementation manner, the management system based on the development-assisted development certificate and the description file deletes the development certificate to be deleted and the description file to be deleted according to the file name of the description file to be deleted may include:
Performing decoding operation on the file name of the description file to be deleted based on the development-assisted development certificate and the description file management system to obtain the initial name of the description file to be deleted;
determining a description file to be deleted corresponding to the initial name based on a development certificate and description file management system assisted by development;
the method comprises the steps that a management system based on development auxiliary development certificates and description files obtains development certificates to be deleted corresponding to the description files to be deleted;
and deleting the description file to be deleted and the development certificate to be deleted based on the development-assisted development certificate and description file management system.
By implementing the alternative implementation mode, the file name of the description file to be deleted can be decoded to obtain the initial name identifiable by the user, so that the corresponding description file to be deleted and the development certificate to be deleted are deleted according to the initial name, and the deletion efficiency is improved.
In step 305, when the user triggers a third management instruction for checking out the expired development certificate and the expired description file, the management system based on the development-assisted development certificate and the description file deletes the expired development certificate and the expired description file.
As an alternative embodiment, the following steps may also be performed:
the management system based on the development-assisted development certificate and description file periodically deletes the expired development certificate and the expired description file.
In the embodiment of the invention, the regular time interval may be 24 hours, or may be 2 hours, or may be other time intervals. If the periodic time interval is 24 hours, expired development certificates and expired description files are detected and deleted in the system every 24 hours.
By implementing the alternative implementation mode, the outdated development certificate and description file in the system can be deleted periodically, so that the automation degree is higher.
As another alternative embodiment, the following steps may also be performed:
The management system based on the development assistance development certificate and the description file stores the user deletion, importing and inquiring of the development certificate and/or the record of the description file into the user operation log.
By implementing the alternative implementation mode, the user operation records can be queried in the user operation log, and the management is more convenient.
Under the method, the development certificate and the description file can be automatically imported and deleted according to the management instruction triggered by the user, so that the importing and deleting efficiency is improved, the expired development certificate and the expired description file can be automatically checked, and the checking efficiency is improved. In conclusion, the technical problems that the efficiency of importing the development certificate and the description file is low, the efficiency of deleting the development certificate and the description file is low, and the expired development certificate and the expired description file are difficult to check are solved.
The following is a system embodiment of the present invention.
FIG. 4 is a block diagram illustrating a system for developing certificates and description files based on development assistance, according to an example embodiment. As shown in fig. 4, the system includes:
The first management unit 401 is configured to determine, when a user triggers a first management instruction for importing a to-be-imported development certificate and a to-be-imported description file, whether the to-be-imported development certificate and the to-be-imported description file meet a preset importing condition, and if so, import the to-be-imported development certificate and the to-be-imported description file.
As an alternative embodiment, the first management unit 401 may also be configured to:
when the development certificate to be imported corresponds to a plurality of description files to be imported, importing development certificate information corresponding to the development certificate to be imported and description file information corresponding to the description files to be imported into the management file.
As another alternative embodiment, after the first management unit 401 imports the development certificate information corresponding to the development certificate to be imported and the description file information corresponding to the description file to be imported in the management file, the first management unit 401 may be further configured to:
And generating a development certificate identifier corresponding to the development certificate information and a description file identifier corresponding to the description file information in the management file according to a preset identification rule.
As another alternative embodiment, the first management unit 401 may generate, in the management file, a development certificate identifier corresponding to the development certificate information and a description file identifier corresponding to the description file information according to a preset identification rule, including:
The first management unit 401 generates development certificate identifications matched with development certificate information according to the sequence of the development certificate information in the management file, and generates description file identifications matched with the description file information according to the sequence of the description file information in the management file; or alternatively
The first management unit 401 generates a development certificate identification matching with the development certificate information in accordance with the validity period of the development certificate included in the development certificate information, and generates a description file identification matching with the description file information in accordance with the validity period of the description file included in the description file information.
By implementing the alternative implementation mode, the unique development certificate identification and the description file identification can be used as the basis for identifying the development certificate and the description file, so that the reliability of identifying the development certificate and the description file is improved.
The second management unit 402 is configured to delete the to-be-deleted development certificate and the to-be-deleted description file according to the file name of the to-be-deleted description file when the user triggers a second management instruction for deleting the to-be-deleted development certificate and the to-be-deleted description file.
And a third management unit 403, configured to delete the expired development certificate and the expired description file when the user triggers a third management instruction for checking the expired development certificate and the expired description file.
As an alternative embodiment, the first management unit 401 determining whether the first management instruction indicates that the imported development certificate to be imported and the description file to be imported meet the preset import condition may include:
The first management unit 401 determines whether the current date is in a preset validity period range, where the preset validity period range is an intersection of a first validity period range corresponding to the development certificate to be imported and a second validity period range corresponding to the description file to be imported;
When the current date is judged to be in the preset validity range, the first management unit 401 judges whether the development certificate to be imported is matched with the description file to be imported or not;
When it is determined that the to-be-imported development certificate matches the to-be-imported description file, the first management unit 401 determines that the first management instruction indicates that the imported to-be-imported development certificate and the to-be-imported description file satisfy a preset import condition.
As another alternative embodiment, the first management unit 401 determining whether the development certificate to be imported and the description file to be imported match may include:
the first management unit 401 determines first parameter information corresponding to the development certificate to be imported and second parameter information corresponding to the description file to be imported;
The first management unit 401 determines whether the first parameter information and the second parameter information are matched, if yes, determines that the development certificate to be imported is matched with the description file to be imported, and if not, determines that the development certificate to be imported is not matched with the description file to be imported.
As another alternative embodiment, the second management unit 402 may delete the to-be-deleted development certificate and the to-be-deleted description file according to the file name of the to-be-deleted description file, which may include:
The second management unit 402 performs a decoding operation on the file name of the description file to be deleted, and obtains the initial name of the description file to be deleted;
The second management unit 402 determines a description file to be deleted corresponding to the initial name;
The second management unit 402 acquires a development certificate to be deleted corresponding to the description file to be deleted;
The second management unit 402 deletes the description file to be deleted and the development certificate to be deleted.
In the embodiment of the present invention, the first parameter information and the second parameter information may include, but are not limited to, app ID, certificates, devices, etc.
By implementing this alternative embodiment, before the development certificate to be imported and the description file to be imported, it is required to confirm that the first parameter information of the development certificate to be imported matches the second parameter information of the description file to be imported, so as to ensure validity of the imported development certificate and the description file.
As an alternative embodiment, the third management unit 403 may be further configured to:
the expiration development certificate and expiration description file are deleted periodically.
In the embodiment of the invention, the regular time interval may be 24 hours, or may be 2 hours, or may be other time intervals. If the periodic time interval is 24 hours, expired development certificates and expired description files are detected and deleted in the system every 24 hours.
By implementing the alternative implementation mode, the outdated development certificate and description file in the system can be deleted periodically, so that the automation degree is higher.
As another alternative embodiment, the third management unit 403 may be further configured to:
The user delete, import, query the development certificate and/or record describing the file are all stored to the user operation log.
By implementing the alternative implementation mode, the user operation records can be queried in the user operation log, and the management is more convenient.
Under the method, the development certificate and the description file can be automatically imported and deleted according to the management instruction triggered by the user, so that the importing and deleting efficiency is improved, the expired development certificate and the expired description file can be automatically checked, and the checking efficiency is improved. In conclusion, the technical problems that the efficiency of importing the development certificate and the description file is low, the efficiency of deleting the development certificate and the description file is low, and the expired development certificate and the expired description file are difficult to check are solved.
FIG. 5 is a block diagram illustrating another development assistance based development certificate and profile management system in accordance with an exemplary embodiment. FIG. 5 is an optimized view based on FIG. 4. In comparison with the development assistance based development certificate and description file management system shown in FIG. 4, the development assistance based development certificate and description file shown in FIG. 5 may further include:
The generating unit 404 is configured to generate, after the first management unit 401 imports the development certificate to be imported and the description file to be imported, a development certificate identifier matched with the development certificate to be imported and a description file identifier matched with the description file to be imported according to a preset identification rule.
And a storage unit 405, configured to store the development certificate identifier and the description file identifier in correspondence to a management file.
The storage unit 405 is further configured to store, after the first management unit 401 imports the development certificate to be imported and the description file to be imported, a first path on which the development certificate to be imported is imported and a second path on which the description file to be imported is imported, to the management file.
Specifically, after the first management unit 401 imports the development certificate to be imported and the description file to be imported, the first management unit 401 sends a trigger instruction to the storage unit 405 to trigger the storage unit 405 to store the first path to which the development certificate to be imported and the second path to which the description file to be imported are imported into the management file.
A deleting unit 406, configured to delete the expired development certificate and the expired description file periodically.
Under the method, the development certificate and the description file can be automatically imported and deleted according to the management instruction triggered by the user, so that the importing and deleting efficiency is improved, the expired development certificate and the expired description file can be automatically checked, and the checking efficiency is improved. In conclusion, the technical problems that the efficiency of importing the development certificate and the description file is low, the efficiency of deleting the development certificate and the description file is low, and the expired development certificate and the expired description file are difficult to check are solved.
The invention also provides an electronic device, comprising:
A processor;
And a memory having stored thereon computer readable instructions which, when executed by the processor, implement the development assistance based development certificate and description file management method as previously described.
The electronic device may be the apparatus 100 shown in fig. 1.
In an exemplary embodiment, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of managing development certificates and description files based on development assistance as previously shown.
It is to be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (10)

1. A method for managing development certificates and description files based on development assistance, the method comprising:
When a user triggers a first management instruction for importing a development certificate to be imported and a description file to be imported, judging whether the development certificate to be imported and the description file to be imported meet preset importing conditions, and importing the development certificate to be imported and the description file to be imported by using a command line tool if the development certificate to be imported and the description file to be imported meet the preset importing conditions, wherein the development certificate to be imported and the description file to be imported are used for software debugging or issuing on a MacOS system;
Generating a development certificate identifier matched with the development certificate to be imported and a description file identifier matched with the description file to be imported according to a preset identification rule, wherein the preset identification rule comprises the steps of introducing the development certificate to be imported and the description file to be imported into a management file according to the sequence of the development certificate to be imported and the description file to be imported, or the validity period of the development certificate to be imported and the description file to be imported according to the validity period of the development certificate to be imported and the validity period of the description file to be imported; the development certificate identification and the description file identification both comprise time serial numbers and serial numbers, the time serial numbers corresponding to the development certificates to be imported in the same batch are the same, and the time serial numbers corresponding to the description files to be imported in the same batch are the same;
when a user triggers a second management instruction for deleting the development certificate to be deleted and the description file to be deleted, deleting the development certificate to be deleted and the description file to be deleted according to the file name of the description file to be deleted;
and deleting the expired development certificate and the expired description file when a user triggers a third management instruction for checking the expired development certificate and the expired description file.
2. The method according to claim 1, wherein the determining whether the first management instruction indicates that the imported development certificate to be imported and the imported description file satisfy a preset import condition includes:
Judging whether the current date is in a preset validity period range or not, wherein the preset validity period range is an intersection of a first validity period range corresponding to the development certificate to be imported and a second validity period range corresponding to the description file to be imported;
When the current date is in the preset validity range, judging whether the development certificate to be imported is matched with the description file to be imported or not;
When judging that the development certificate to be imported is matched with the description file to be imported, determining that the first management instruction indicates that the development certificate to be imported and the description file to be imported meet the preset importing conditions.
3. The method according to claim 2, wherein the determining whether the development certificate to be imported matches the description file to be imported includes:
determining first parameter information corresponding to the development certificate to be imported and second parameter information corresponding to the description file to be imported;
and judging whether the first parameter information is matched with the second parameter information, if so, determining that the development certificate to be imported is matched with the description file to be imported, and if not, determining that the development certificate to be imported is not matched with the description file to be imported.
4. The method according to claim 1, wherein the deleting the to-be-deleted development certificate and the to-be-deleted description file according to the file name of the to-be-deleted description file includes:
Performing decoding operation on the file name of the description file to be deleted to obtain the initial name of the description file to be deleted;
determining the description file to be deleted corresponding to the initial name;
acquiring a development certificate to be deleted corresponding to the description file to be deleted;
And deleting the description file to be deleted and the development certificate to be deleted.
5. The method of claim 1, wherein after the generating of the development certificate identifier matching the development certificate to be imported and the description file identifier matching the description file to be imported according to a preset identification rule, the method further comprises:
And storing the development certificate identification and the description file identification to a management file correspondingly.
6. The method according to claim 1, wherein after the importing the development certificate to be imported and the description file to be imported, the method further comprises:
and storing the first path for importing the development certificate to be imported and the second path for importing the description file to be imported into a management file.
7. The method according to any one of claims 1 to 6, further comprising:
and deleting the expiration development certificate and the expiration description file periodically.
8. A development assistance based management system for development certificates and description files, the system comprising:
The system comprises a first management unit, a second management unit and a command line tool, wherein the first management unit is used for judging whether a development certificate to be imported and a description file to be imported meet preset importing conditions when a user triggers a first management instruction for importing the development certificate to be imported and the description file to be imported, and importing the development certificate to be imported and the description file to be imported by using the command line tool if the development certificate to be imported and the description file to be imported meet the preset importing conditions, wherein the development certificate to be imported and the description file to be imported are used for software debugging or issuing on a MacOS system;
Generating a development certificate identifier matched with the development certificate to be imported and a description file identifier matched with the description file to be imported according to a preset identification rule, wherein the preset identification rule comprises the steps of introducing the development certificate to be imported and the description file to be imported into a management file according to the sequence of the development certificate to be imported and the description file to be imported, or the validity period of the development certificate to be imported and the description file to be imported according to the validity period of the development certificate to be imported and the validity period of the description file to be imported; the development certificate identification and the description file identification both comprise time serial numbers and serial numbers, the time serial numbers corresponding to the development certificates to be imported in the same batch are the same, and the time serial numbers corresponding to the description files to be imported in the same batch are the same;
The second management unit is used for deleting the development certificate to be deleted and the description file to be deleted according to the file name of the description file to be deleted when a user triggers a second management instruction for deleting the development certificate to be deleted and the description file to be deleted;
And the third management unit is used for deleting the expired development certificate and the expired description file when a user triggers a third management instruction for checking the expired development certificate and the expired description file.
9. An electronic device, the electronic device comprising:
A processor;
A memory having stored thereon computer readable instructions which, when executed by the processor, implement the method of any of claims 1 to 7.
10. A computer-readable storage medium, characterized in that it stores a computer program that causes a computer to execute the method of any one of claims 1 to 7.
CN201811420393.6A 2018-11-26 2018-11-26 Development-assisted management method and system for development certificate and description file Active CN109657423B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811420393.6A CN109657423B (en) 2018-11-26 2018-11-26 Development-assisted management method and system for development certificate and description file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811420393.6A CN109657423B (en) 2018-11-26 2018-11-26 Development-assisted management method and system for development certificate and description file

Publications (2)

Publication Number Publication Date
CN109657423A CN109657423A (en) 2019-04-19
CN109657423B true CN109657423B (en) 2024-06-25

Family

ID=66111671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811420393.6A Active CN109657423B (en) 2018-11-26 2018-11-26 Development-assisted management method and system for development certificate and description file

Country Status (1)

Country Link
CN (1) CN109657423B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003308406A (en) * 2002-04-17 2003-10-31 Nippon Telegr & Teleph Corp <Ntt> Electronic certificate management device, program and recording medium with the program stored therein

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI482480B (en) * 2010-02-01 2015-04-21 Hon Hai Prec Ind Co Ltd System and method for updating digital certificates automatically
US9197630B2 (en) * 2010-03-08 2015-11-24 Microsoft Technology Licensing, Llc Automated certificate management
CN106055376A (en) * 2016-06-03 2016-10-26 北京奇虎科技有限公司 Method and system for achieving IOS distributed compilation signature
CN107766716B (en) * 2016-08-16 2021-08-31 阿里巴巴集团控股有限公司 Certificate detection method and device and electronic equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003308406A (en) * 2002-04-17 2003-10-31 Nippon Telegr & Teleph Corp <Ntt> Electronic certificate management device, program and recording medium with the program stored therein

Also Published As

Publication number Publication date
CN109657423A (en) 2019-04-19

Similar Documents

Publication Publication Date Title
KR101851082B1 (en) Method and device for information push
CN110069401B (en) System test abnormality positioning method and system based on data modeling
CN110162442B (en) System performance bottleneck positioning method and system
CN113365106B (en) Multimedia resource generation method and device, electronic equipment and storage medium
KR101656633B1 (en) Method, device, program and recording medium for back up file
CN110134593B (en) Software testing method and device, electronic equipment and storage medium
CN104219378A (en) Information processing method and device
CN102387482A (en) Method, system and mobile phone for acquiring mobile phone service information
CN103914672A (en) Apparatus and method for providing a near field communication function in a portable terminal
US20190147860A1 (en) Method and apparatus for identifying information
CN103914520A (en) Data query method, terminal equipment and server
CN109857967B (en) Report subscription method and system based on big data
CN110716914B (en) Database configuration method, system, computer readable storage medium and terminal device
CN110780894B (en) Thermal upgrade processing method and device and electronic equipment
CN109657423B (en) Development-assisted management method and system for development certificate and description file
CN107544818A (en) The loading method and device of system software
CN110046095B (en) System integration method and device based on test flow improvement
CN112613745A (en) Recorder management method, system, storage medium and electronic device
US10798221B2 (en) Information display method, terminal, and server
CN104199907B (en) Insert the method and device of data
CN110414809B (en) Optimization method and device of risk management system and related equipment
CN106911497A (en) Identification, the method and apparatus of adaption system more new equipment
US11431590B2 (en) Method and device to update contacts
CN109783313B (en) System exception handling method and system
CN113448855A (en) Database version package detection method and device

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