CN111209205B - Configuration method, configuration device and electronic equipment - Google Patents

Configuration method, configuration device and electronic equipment Download PDF

Info

Publication number
CN111209205B
CN111209205B CN202010020521.9A CN202010020521A CN111209205B CN 111209205 B CN111209205 B CN 111209205B CN 202010020521 A CN202010020521 A CN 202010020521A CN 111209205 B CN111209205 B CN 111209205B
Authority
CN
China
Prior art keywords
item
tested
certificate
configuration file
developer
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
CN202010020521.9A
Other languages
Chinese (zh)
Other versions
CN111209205A (en
Inventor
余景洪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202010020521.9A priority Critical patent/CN111209205B/en
Publication of CN111209205A publication Critical patent/CN111209205A/en
Application granted granted Critical
Publication of CN111209205B publication Critical patent/CN111209205B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management

Abstract

The embodiment of the invention discloses a configuration method, a configuration device and electronic equipment. One embodiment of the method comprises the following steps: acquiring a developer certificate and a configuration file associated with the developer certificate; modifying parameter values in the item to be tested based on the configuration file; and establishing a corresponding relation, wherein the corresponding relation is used for indicating the corresponding relation between the developer certificate and the item to be tested of the modified parameter value. Thus, a new configuration can be provided.

Description

Configuration method, configuration device and electronic equipment
Technical Field
The disclosure relates to the technical field of internet, and in particular relates to a configuration method, a configuration device and electronic equipment.
Background
With the development of the internet, users increasingly use applications of various functions on terminal devices, so as to meet corresponding requirements. The advent of a wide variety of applications requires the diligence of developers. With the enrichment of application functions, more and more personnel are required for developing applications; the working sites of developers of the same application may be separated, and the test devices may need to coordinate with the application, so as to avoid the situation that the server is not supported due to the excessive number of the test devices.
Disclosure of Invention
This disclosure is provided in part to introduce concepts in a simplified form that are further described below in the detailed description. This disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
The embodiment of the disclosure provides a configuration method, a configuration device and electronic equipment.
In a first aspect, an embodiment of the present disclosure provides a configuration method, including: acquiring a developer certificate and a configuration file associated with the developer certificate; modifying parameter values in the items to be tested based on the configuration files; and establishing a corresponding relation, wherein the corresponding relation is used for indicating the corresponding relation between the developer certificate and the item to be tested with the modified parameter value.
In a second aspect, an embodiment of the present disclosure provides a configuration apparatus, including: an acquisition unit configured to acquire a developer certificate and a configuration file associated with the developer certificate; a modifying unit, configured to modify parameter values in the item to be tested based on the configuration file; the establishing unit is used for establishing a corresponding relation, wherein the corresponding relation is used for indicating the corresponding relation between the developer certificate and the item to be tested with the modified parameter value.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; and a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the configuration method as described in the first aspect.
In a fourth aspect, embodiments of the present disclosure provide a computer readable medium having stored thereon a computer program which, when executed by a processor, implements the steps of the configuration method as described in the first aspect.
According to the configuration method, the configuration device and the electronic equipment provided by the embodiment of the disclosure, the configuration files of the developer certificate and the developer certificate are automatically acquired, then the project configuration in the project to be tested is modified based on the configuration files, and finally the corresponding relation between the project to be tested and the developer certificate is established, so that a new configuration method can be provided; and automatically complete certificate downloading and project configuration, so that developers do not need to care about certificate switching and project configuration, thereby improving the speed of building a test environment and improving the test and development efficiency.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
FIG. 1 is a flow chart of one embodiment of a configuration method according to the present disclosure;
FIG. 2 is a schematic illustration of one application scenario of a configuration method according to one embodiment of the present disclosure;
FIG. 3 is a flow chart of yet another embodiment of a configuration method according to the present disclosure;
FIG. 4 is a schematic structural view of one embodiment of a configuration device according to the present disclosure;
FIG. 5 is an exemplary system architecture to which the configuration method of one embodiment of the present disclosure may be applied;
fig. 6 is a schematic diagram of a basic structure of an electronic device provided according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
Referring to fig. 1, a flow of one embodiment of a configuration method according to the present disclosure is shown. The configuration method is applied to the terminal equipment. The configuration method as shown in fig. 1 comprises the following steps:
step 101, obtaining a developer certificate and a configuration file associated with the developer certificate.
In this embodiment, the developer certificate (Certificate for Development) may be a digital certificate that may be used to prove the legitimacy and integrity of the application content. The developer certificate may be issued by a preset certification authority. The developer certificate may be used to sign the application. Only the (server) signature verified application can ensure the trustworthiness of the application source and that the application content is complete and untampered.
In this embodiment, the execution body of the test method may download the developer certificate from the execution body locally or from another electronic device (e.g., a server) when the test is required. The other electronic device (e.g., server) may apply for and store the developer certificate in advance.
In this embodiment, the developer certificate may be associated with a setup profile (Provisioning Profile). Here, the above-described configuration file may be used to describe an association relationship between the debugging device and the developer certificate. The configuration file includes environment parameter information describing an applicable environment of the developer certificate.
Optionally, the configuration file may also include various parameter items. As an example, the configuration file may include, but is not limited to, at least one of: a filename (NAME), a unique filename (UUID), an item NAME (TeamName), and the like.
Step 102, modifying parameter values in the item to be tested based on the configuration file.
In this embodiment, the execution body may modify the parameter values in the item to be tested based on the configuration file.
In this embodiment, the item to be tested may include a function code to be tested. For example, the item to be tested includes a code of a push function to be tested, and the item to be tested may also be a code of a play function to be tested.
In this embodiment, the to-be-tested item may further include a matching parameter for testing the function code. Optionally, the above-mentioned matching parameters may include an item identifier, a device identifier of a device that transmits the function code, and so on.
In this embodiment, parameter values of (pre-specified) parameter items may be set in the above configuration file. The execution body may read the parameter value from the configuration file, and write the parameter value into the parameter item (corresponding to the parameter value) of the item to be tested, so as to modify the parameter item of the item to be tested.
Optionally, the modification of the parameter item in the item to be tested may be derived in whole or in part from the configuration file. In other words, the parameter items in the item to be tested can be modified according to other parameter items.
And 103, establishing a corresponding relation.
Here, the execution subject may establish a correspondence relationship. The correspondence may be used to indicate a correspondence between the developer certificate and a project to be tested of the modified parameter value.
Here, the correspondence may indicate a developer certificate corresponding to the item to be tested, and when the item to be tested issues or tests the application content, the execution subject may obtain the developer certificate corresponding to the item to be tested according to the correspondence, and then sign the application content by using the developer certificate. The application content sent by the item to be tested can be verified by a preset verification center according to the developer certificate and the matched parameters.
Please refer to fig. 2, which illustrates an application scenario of the embodiment corresponding to fig. 1. In this application scenario, the first person may send the file 204 (including the developer certificate and the configuration file) to the cloud server for storage using the terminal 201. Then, the second person may obtain the file 204 from the cloud server by using the terminal 202, and it may be understood that the third person may also obtain the file 204 from the cloud server by using the terminal 203; the terminal 201 and the cloud server may be used as a cloud electronic device. Terminal 202 (or terminal 203), taking terminal 202 as an example, may modify the project configuration in the project to be tested based on the configuration file, and finally establish a correspondence relationship between the project to be tested and the developer certificate.
It should be noted that a large application may include more devices for developing tests. When in joint debugging test, a developer needs to have equipment corresponding to the certificate to perform breakpoint connection with joint debugging of an integrated development environment (Integrated Development Environment, IDE). Therefore, searching for registered devices or cumbersome configuration related certificates in a large team and adjusting project configuration processes, etc., results in inefficient development. The developer cannot be concerned with only the logic to handle the test, but needs to expend a part of the effort in configuring the debug environment of the test.
It should be noted that, in the configuration method provided in this embodiment, the execution body automatically obtains the configuration files of the developer certificate and the developer certificate, then modifies the project configuration in the project to be tested based on the configuration files, and finally establishes the corresponding relationship between the project to be tested and the developer certificate, so that the execution body can automatically complete the downloading of the certificate and the project configuration, so that the developer does not need to care about the switching of the certificate and the project configuration, further improving the speed of setting up the test environment, and improving the test and development efficiency.
In some embodiments, the above method may further comprise: and testing the item to be tested based on the corresponding relation.
Here, the test is performed on the item to be tested based on the correspondence, so that the configuration and the test can be rapidly completed, and the test speed of the item to be tested can be improved.
In some embodiments, the above method may further comprise: the developer certificate is stored by the cloud electronic device. Alternatively, the developer certificate may be pre-applied by the cloud server.
Here, the cloud electronic device may be a preset electronic device, and the cloud electronic device may be understood as a light service background. The executing entity may download the developer certificate from the light service background. Therefore, the execution main body can debug without applying a developer certificate, thereby reducing the preparation links before testing and reducing the testing difficulty. Moreover, the contradiction between the limit of the number of the devices and the increasingly huge application development team can be solved; in other words, the application development team is getting more and more huge, and the developer certificate can be flexibly configured to the test devices of the execution subject, for example, by modifying some parameter items of the to-be-tested items in the execution subject, so that in the case that the number of devices to which the developer certificate can be simultaneously configured is limited, the number of test devices to which the developer certificate is actually configured is increased by having different test devices multiplexing the same developer certificate at different times.
In some embodiments, parameter values for a predefined kind of parameter items may be included in the configuration file.
In some embodiments, the step 102 may include: in response to determining that the parameter acquisition type in the item to be tested is an automatic type, modifying the parameter acquisition type into a manual type; and in response to determining that the parameter acquisition type is a manual type, reading parameter values from the configuration file, and correspondingly writing the read parameter values into parameter items in the to-be-tested item.
Here, if the parameter acquisition type is an automatic type, it is modified to a manual type; if the parameter acquisition type is a manual type, reading parameters from the configuration file and writing the parameters into the items to be tested are performed.
It will be appreciated that, in the case where the parameter acquisition type is an automatic type, the parameter item in the item to be tested may be an actual parameter that the execution subject automatically fills into the execution subject. As an example, in the case where the parameter acquisition type is an automatic type, the device identifier in the item to be tested may be a device identifier that the execution subject automatically fills in the execution subject.
As an example, the above corresponding writing may be understood as writing the parameters of the a parameter item in the configuration file into the a parameter item in the item to be tested; and writing the parameters of the second parameter item in the configuration file into the second parameter item in the item to be tested.
It should be noted that, by the process of confirming the parameter acquisition type and the process of modifying if modification is required, flexible modification of the parameter item in the item to be tested can be achieved.
In some embodiments, the modified parameter items in the item to be tested may include at least one of, but not limited to: item group identification (e.g., DEVELOPMENT_TEAM), PROFILE identification (e.g., PROVISION_PROFILE), certificate name (e.g., PROVISION_PROFILE_ SPECIFIER), CODE signature IDENTITY (e.g., CODE_SIGN_IDENTITY), and PRODUCT package IDENTIFIER (e.g., PRODUCT_BUNDLE_IDENTIFER).
With continued reference to fig. 3, a flow of one embodiment of a configuration method according to the present disclosure is shown. The configuration method is applied to the terminal equipment. The configuration method as shown in fig. 3 includes the steps of:
step 301, obtaining a developer certificate, a push service certificate and a configuration file.
In this embodiment, the execution subject of the above configuration method may acquire a developer certificate, a push service (Push Notification service) certificate, and a configuration file. Here, the configuration file may correspond to a developer certificate.
Here, the push service certificate may be used to request the push server to push information. The push service certificate may be a file with extension p12, which is a proof that an application sends a message to the push. The push server has different certificates and passwords for different environments, so the p12 certificate file has two sets: development certificates (we call Development certificates) and keys, distribution certificates (we call production certificates) and keys. Here, what push service certificate is selected may be set according to practical situations, which is not limited herein.
As an example, the application program packages a message to be sent and an identifier of the destination terminal, and sends the packaged message and the identifier of the destination terminal to the push server; then the push server searches the terminal with the corresponding mark in the terminal list of the registered push service of the push server and sends the message to the destination terminal; the terminal transmits the sent message to the corresponding application program, and pops up the push notification according to the setting.
Step 302, modifying parameter values in the item to be tested based on the configuration file.
In this embodiment, the execution body may modify the parameter values in the item to be tested based on the configuration file.
The implementation details and technical effects of step 302 may refer to the description of step 102, which is not repeated herein.
Step 303, establishing a corresponding relationship.
In this embodiment, the execution subject may establish a correspondence relationship. Here, the above correspondence is used to indicate correspondence between the item to be tested and the developer certificate.
And step 304, testing the item to be tested according to the corresponding relation and the push service certificate.
In this embodiment, the executing body may test the item to be tested according to the correspondence and the push service certificate.
It should be noted that, compared with the embodiment corresponding to fig. 1, the configuration method provided in this embodiment highlights that the item to be tested is a push test item, and tests the push test item based on the corresponding relationship and the push service certificate; thus, a method for testing push test items can be provided.
In some embodiments, the step 304 may include: acquiring pushing information for testing and a pushing target identifier, wherein the pushing target identifier can indicate the electronic equipment to which the pushing information for testing is to be pushed; generating a test request according to the push service certificate, the push information for testing, the push target identifier and the developer certificate corresponding to the item to be tested; and transmitting the test request to a test server.
Here, the test server may be configured to push based on the test request. Specifically, the test server may verify the developer certificate and the push service certificate, and in response to the verification passing, send the test push information to the electronic device indicated by the push target identifier.
Alternatively, the test server may include a push server, and the push server may verify the issuer certificate and the push service certificate.
Alternatively, the test server may include a first server and a second server, where the first server may be used to verify a developer certificate and the second server may be used to verify a push service certificate.
As an example, the configuration may be performed in the following manner: in the first step, we first store the applied developer certificate, push service certificate, configuration file and P12 in the remote server. Thus, the user does not need to apply for the developer certificate by himself or herself, and push the service certificate and the configuration file. And secondly, when debugging pushing is needed, running the script (for realizing the configuration method), and acquiring a remote developer certificate, a pushing service certificate, a configuration file and P12. Third, script sets Provisioning Style in project configuration to manual, removes PRODUCT_BUNDLE_IDENTIFier and CODE_SIGN_IDENTITY. (both are environmental variables of xcode), then the implementation of the configured development_ TEAM, PROVISIONING _ PROFILE, PROVISIONING _profile_ SPECIFIER, CODE _sign_identification and product_window_identification is replaced. (these five are all environmental variables of xcode). And step four, finally importing the related certificate downloaded before.
With further reference to fig. 4, as an implementation of the method shown in the foregoing figures, the present disclosure provides an embodiment of a configuration apparatus, which corresponds to the method embodiment shown in fig. 1, and which is particularly applicable to various electronic devices.
As shown in fig. 4, the configuration apparatus of the present embodiment includes: an acquisition unit 401, a modification unit 402, and a setup unit 403. The device comprises an acquisition unit, a storage unit and a storage unit, wherein the acquisition unit is used for acquiring a developer certificate and a configuration file associated with the developer certificate; a modifying unit, configured to modify parameter values in the item to be tested based on the configuration file; the establishing unit is used for establishing a corresponding relation, wherein the corresponding relation is used for indicating the corresponding relation between the developer certificate and the item to be tested with the modified parameter value.
In this embodiment, the specific processes of the receiving unit obtaining unit 401, the modifying unit 402 and the establishing unit 403 of the configuration device and the technical effects thereof may refer to the descriptions related to the steps 101, 102 and 103 in the corresponding embodiment of fig. 1, and are not repeated here.
In some embodiments, the apparatus further comprises: and a testing unit (not shown) for testing the items to be tested based on the correspondence relation.
In some embodiments, the developer certificate is stored by the cloud electronic device.
In some embodiments, the configuration file includes parameter values of a predefined category of parameter items; and the modification unit is further used for: in response to determining that the parameter acquisition type in the item to be tested is an automatic type, modifying the parameter acquisition type into a manual type; and in response to determining that the parameter acquisition type is a manual type, reading parameter values from the configuration file, and correspondingly writing the read parameter values into parameter items in the to-be-tested item.
In some embodiments, the modified parameter items in the item to be tested include at least one of: item group identification, profile identification, certificate name, code signature identity, and product package identifier.
In some embodiments, the apparatus may further include a push service certificate acquisition unit (not shown) for acquiring a push service certificate; and the above-mentioned building unit, further used for: and testing the item to be tested according to the corresponding relation and the push service certificate.
In some embodiments, the above-mentioned establishing unit is further configured to: acquiring pushing information for testing and a pushing target identifier, wherein the pushing target identifier indicates electronic equipment to be pushed; generating a test request according to the push service certificate, the push information for testing, the push target identifier and the developer certificate corresponding to the item to be tested; and sending the test request to a test server, wherein the test server is used for pushing based on the test request.
Referring to fig. 5, fig. 5 illustrates an exemplary system architecture in which the configuration method of one embodiment of the present disclosure may be applied.
As shown in fig. 5, the system architecture may include terminal devices 501, 502, 503, a network 504, and a server 505. The network 504 is used as a medium to provide communication links between the terminal devices 501, 502, 503 and the server 505. The network 504 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The terminal devices 501, 502, 503 may interact with the server 505 via the network 504 to receive or send messages or the like. Various client applications, such as a code debugging application, a web browser application, a search class application, a news information class application, may be installed on the terminal devices 501, 502, 503. The client application in the terminal device 501, 502, 503 may receive the instruction of the user and perform the corresponding function according to the instruction of the user, for example, implement the test environment configuration according to the instruction of the user.
The terminal devices 501, 502, 503 may be hardware or software. When the terminal devices 501, 502, 503 are hardware, they may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablet computers, electronic book readers, MP3 players (Moving Picture Experts Group Audio Layer III, dynamic video expert compression standard audio plane 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video expert compression standard audio plane 4) players, laptop and desktop computers, and the like. When the terminal devices 501, 502, 503 are software, they can be installed in the above-listed electronic devices. Which may be implemented as multiple software or software modules (e.g., software or software modules for providing distributed services) or as a single software or software module. The present invention is not particularly limited herein.
The server 505 may be a server that provides various services, for example, receives information acquisition requests transmitted from the terminal devices 501, 502, 503, acquires files corresponding to the information acquisition requests in various ways according to the information acquisition requests, and transmits the files to the terminal devices 501, 502, 503.
It should be noted that, the configuration method provided by the embodiments of the present disclosure may be performed by the terminal device, and accordingly, the configuration apparatus may be set in the terminal devices 501, 502, 503.
It should be understood that the number of terminal devices, networks and servers in fig. 5 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to fig. 6, a schematic diagram of a configuration of an electronic device (e.g., a terminal device or server in fig. 5) suitable for use in implementing embodiments of the present disclosure is shown. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 6 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 6, the electronic device may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 601, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data required for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM603 are connected to each other through a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
In general, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, magnetic tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 shows an electronic device having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via communication means 609, or from storage means 608, or from ROM 602. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 601.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring a developer certificate and a configuration file associated with the developer certificate; modifying parameter values in the items to be tested based on the configuration files; and establishing a corresponding relation, wherein the corresponding relation is used for indicating the corresponding relation between the item to be tested and the developer certificate.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. Where the name of the unit does not constitute a limitation of the unit itself in some cases, for example the acquisition unit may also be described as "unit acquiring a developer certificate and a configuration file associated with said developer certificate".
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (8)

1. A method of configuration, comprising:
acquiring a developer certificate and a configuration file associated with the developer certificate, wherein the configuration file is used for describing an association relationship between debugging equipment and the developer certificate;
modifying parameter values in the item to be tested based on the configuration file;
establishing a corresponding relation, wherein the corresponding relation is used for indicating the corresponding relation between the developer certificate and the item to be tested with the modified parameter value; wherein the developer certificate is stored by a cloud electronic device;
based on the corresponding relation, testing the item to be tested;
wherein, based on the correspondence, the testing the item to be tested includes: generating a test request according to a push service certificate, push information for testing, a push target identifier and a developer certificate corresponding to a project to be tested, wherein the push target identifier indicates an electronic device to which the push information for testing is to be pushed; and sending the test request to a test server, wherein the test server is used for pushing based on the test request.
2. The method according to claim 1, wherein the configuration file comprises parameter values of a predefined kind of parameter items; and
the modifying the parameter value in the item to be tested based on the configuration file comprises the following steps:
in response to determining that a parameter acquisition type in the item to be tested is an automatic type, modifying the parameter acquisition type to a manual type;
and in response to determining that the parameter acquisition type is a manual type, reading parameter values from the configuration file, and correspondingly writing the read parameter values into parameter items in the item to be tested.
3. The method according to claim 2, characterized in that the modified parameter items in the item to be tested comprise at least one of the following: item group identification, profile identification, certificate name, code signature identity, and product package identifier.
4. A method according to any one of claims 1-3, further comprising:
and obtaining the push service certificate.
5. The method of claim 4, wherein the testing the item to be tested according to the correspondence and the push service certificate comprises:
and acquiring pushing information for testing and a pushing target identifier.
6. A configuration device, comprising:
an obtaining unit, configured to obtain a developer certificate and a configuration file associated with the developer certificate, where the configuration file is used to describe an association relationship between a debugging device and the developer certificate;
a modifying unit, configured to modify parameter values in the item to be tested based on the configuration file;
the establishing unit is used for establishing a corresponding relation, wherein the corresponding relation is used for indicating the corresponding relation between the developer certificate and the item to be tested with the modified parameter value; wherein the developer certificate is stored by a cloud electronic device;
the apparatus further comprises:
the test unit is used for testing the item to be tested based on the corresponding relation;
wherein, test element is used for: generating a test request according to a push service certificate, push information for testing, a push target identifier and a developer certificate corresponding to a project to be tested, wherein the push target identifier indicates an electronic device to which the push information for testing is to be pushed; and sending the test request to a test server, wherein the test server is used for pushing based on the test request.
7. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-5.
8. A computer readable medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-5.
CN202010020521.9A 2020-01-08 2020-01-08 Configuration method, configuration device and electronic equipment Active CN111209205B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010020521.9A CN111209205B (en) 2020-01-08 2020-01-08 Configuration method, configuration device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010020521.9A CN111209205B (en) 2020-01-08 2020-01-08 Configuration method, configuration device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111209205A CN111209205A (en) 2020-05-29
CN111209205B true CN111209205B (en) 2023-10-10

Family

ID=70789641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010020521.9A Active CN111209205B (en) 2020-01-08 2020-01-08 Configuration method, configuration device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111209205B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112712356B (en) * 2020-12-30 2022-04-15 深圳杰睿联科技有限公司 Method and system for configuring Java Card parameter
CN113485918B (en) * 2021-06-30 2024-05-07 中国民航信息网络股份有限公司 Test method, test device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974250A (en) * 2013-01-30 2014-08-06 华为终端有限公司 Configuration method and equipment
US9454363B1 (en) * 2013-03-15 2016-09-27 Data Systems International, Inc. Mobile application development system and method
CN106066808A (en) * 2016-05-30 2016-11-02 浪潮软件股份有限公司 A kind of ios application build server, cluster and method
CN107632829A (en) * 2017-08-03 2018-01-26 大唐网络有限公司 A kind of App automation continuous integration systems and method based under iOS system
CN108469957A (en) * 2018-03-08 2018-08-31 平安科技(深圳)有限公司 Using packing method for uploading, device, computer equipment and storage medium
CN109783129A (en) * 2018-12-15 2019-05-21 深圳壹账通智能科技有限公司 Applied program processing method, device, computer equipment and storage medium
CN110417597A (en) * 2019-07-29 2019-11-05 中国工商银行股份有限公司 For monitoring method and device, electronic equipment and the readable storage medium storing program for executing of certificate

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020078380A1 (en) * 2000-12-20 2002-06-20 Jyh-Han Lin Method for permitting debugging and testing of software on a mobile communication device in a secure environment
US8745587B2 (en) * 2007-10-03 2014-06-03 International Business Machines Corporation System and method for testing computer programs
US9286040B2 (en) * 2012-01-18 2016-03-15 Mobilesmith, Inc. Software builder

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974250A (en) * 2013-01-30 2014-08-06 华为终端有限公司 Configuration method and equipment
US9454363B1 (en) * 2013-03-15 2016-09-27 Data Systems International, Inc. Mobile application development system and method
CN106066808A (en) * 2016-05-30 2016-11-02 浪潮软件股份有限公司 A kind of ios application build server, cluster and method
CN107632829A (en) * 2017-08-03 2018-01-26 大唐网络有限公司 A kind of App automation continuous integration systems and method based under iOS system
CN108469957A (en) * 2018-03-08 2018-08-31 平安科技(深圳)有限公司 Using packing method for uploading, device, computer equipment and storage medium
CN109783129A (en) * 2018-12-15 2019-05-21 深圳壹账通智能科技有限公司 Applied program processing method, device, computer equipment and storage medium
CN110417597A (en) * 2019-07-29 2019-11-05 中国工商银行股份有限公司 For monitoring method and device, electronic equipment and the readable storage medium storing program for executing of certificate

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
iOS--脚本配置Xcode Project(打包);lionzl;《https://blog.csdn.net/lionzl/article/details/72765334》;10-12 *
关于iOS Developer 证书(Certificates) 、Identifiers(App ID) 、设备(Devices)、描述文件(Provisioning Profiles);LiuTianXiang1...;《https://juejin.cn/post/6844903487436750856》;6-7 *
利用fastlane进行项目的自动化构建;Doliant;《https://juejin.cn/post/6844903834238582792》;5-10 *

Also Published As

Publication number Publication date
CN111209205A (en) 2020-05-29

Similar Documents

Publication Publication Date Title
CN111555940B (en) Client test method and device, electronic equipment and computer readable storage medium
CN112434818B (en) Model construction method, device, medium and electronic equipment
CN110909521B (en) Online document information synchronous processing method and device and electronic equipment
CN111679990B (en) Test data generation method and device, readable medium and electronic equipment
CN110535659B (en) Method, apparatus, electronic device and computer readable medium for processing data request
CN113835992B (en) Memory leakage processing method and device, electronic equipment and computer storage medium
CN112631590B (en) Component library generation method, device, electronic equipment and computer readable medium
CN111209205B (en) Configuration method, configuration device and electronic equipment
CN111309304B (en) Method, device, medium and electronic equipment for generating IDL file
CN111756953A (en) Video processing method, device, equipment and computer readable medium
CN111813685A (en) Automatic testing method and device
CN111324470A (en) Method and device for generating information
CN113391860B (en) Service request processing method and device, electronic equipment and computer storage medium
CN114428925A (en) Page rendering method and device, electronic equipment and computer readable medium
CN114860213A (en) Application package generation method, device, equipment and medium
CN112882921B (en) Fault simulation method and device
CN114327453A (en) Page display method, device, equipment and storage medium
CN111240657A (en) Method and device for generating SDK and electronic equipment
CN111163156A (en) Data processing method, device and storage medium based on block chain
CN113032046A (en) Method, device and equipment for repairing so file and storage medium
CN111796802B (en) Function package generation method and device and electronic equipment
CN112487416A (en) Business process verification method and device and electronic equipment
CN113704079A (en) Interface testing method and device based on Protobuf
CN111367590A (en) Interrupt event processing method and device
CN117112500B (en) Resource management method, device, equipment and 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