CN111338655B - Installation package distribution method and system - Google Patents

Installation package distribution method and system Download PDF

Info

Publication number
CN111338655B
CN111338655B CN202010113884.7A CN202010113884A CN111338655B CN 111338655 B CN111338655 B CN 111338655B CN 202010113884 A CN202010113884 A CN 202010113884A CN 111338655 B CN111338655 B CN 111338655B
Authority
CN
China
Prior art keywords
installation package
access request
page
dimensional code
download
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
CN202010113884.7A
Other languages
Chinese (zh)
Other versions
CN111338655A (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.)
Get Tianjin Culture Communication Co ltd
Original Assignee
Get Tianjin Culture Communication 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 Get Tianjin Culture Communication Co ltd filed Critical Get Tianjin Culture Communication Co ltd
Priority to CN202010113884.7A priority Critical patent/CN111338655B/en
Publication of CN111338655A publication Critical patent/CN111338655A/en
Application granted granted Critical
Publication of CN111338655B publication Critical patent/CN111338655B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier

Abstract

The application discloses an installation package distribution method, which comprises the following steps: receiving an installation package and a two-dimensional code corresponding to the installation package; receiving attribute information of the installation package; receiving an access request initiated by an access terminal, providing an installation package query page when the access request is a page access request, querying an installation package meeting the screening conditions based on attribute information of the installation package when the screening conditions input through the query page are received, and returning the catalogue information of the installation package meeting the conditions to the access terminal; the installation package catalog information comprises attribute information of an installation package and corresponding two-dimensional codes; when the access request is a downloading request initiated by the access terminal through scanning the two-dimensional code, returning an installation package downloading page corresponding to the scanned two-dimensional code to the access terminal. The scheme of the application is more convenient for team cooperation, not only has quicker delivery time and shorter delivery cycle of the installation package, but also is convenient for testers to search the historical installation package.

Description

Installation package distribution method and system
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and a system for distributing an installation package.
Background
With the great popularity of smartphones, various kinds of application products for smartphones are increasing. The application product requires internal testing and verification prior to being on-line. The existing installation package distribution is mainly delivered by using an FTP file server, mail sending, manual construction on a developed computer, and the like. There are several problems: low efficiency, inconvenient installation (needing to install development tools), no unified management, and the like, and is not suitable for large and medium-sized team cooperation.
Disclosure of Invention
In view of the above, the embodiment of the application provides a method and a system for distributing installation packages, which are used for solving the problems of low installation package distribution efficiency and inconvenience in unified management in the prior art.
The embodiment of the application adopts the following technical scheme:
the embodiment of the application provides a method for distributing an installation package, which comprises the following steps:
receiving an installation package and a two-dimensional code corresponding to the installation package;
receiving attribute information of the installation package;
receiving an access request initiated by an access terminal, providing an installation package query page when the access request is a page access request, querying an installation package meeting the screening conditions based on attribute information of the installation package when the screening conditions input through the query page are received, and returning the catalogue information of the installation package meeting the conditions to the access terminal; the installation package catalog information comprises attribute information of an installation package and corresponding two-dimensional codes;
when the access request is a downloading request initiated by the access terminal through scanning the two-dimensional code, returning an installation package downloading page corresponding to the scanned two-dimensional code to the access terminal.
In a specific embodiment of the above installation package distribution method, the installation package catalog information further includes a download option corresponding to each installation package; and when the access request is a download request sent through the download option, returning an installation package download page corresponding to the download option to an access terminal.
In a specific embodiment of the above installation package distribution method, when the access request is a page access request, before providing an installation package query page, the method further includes: providing a permission verification page; after receiving the verification information input through the verification page, if the verification is passed, providing an installation package query page.
In a specific implementation manner of the installation package distribution method, the access terminal comprises a computer terminal, an Android device terminal and an iOS device terminal; when the access request is a page access request initiated by the computer end, returning the installation package catalog information applicable to the computer end, the Android equipment end and the iOS equipment end to the computer end; when the access request is a page access request initiated by the Android device end, returning the installation package catalog information applicable to the Android device end; and when the access request is a page access request initiated by the iOS equipment end, returning the installation package catalog information suitable for the iOS equipment end to the iOS equipment end.
In a specific embodiment of the above installation package distribution method, in the step of receiving the uploaded installation package and the two-dimensional code corresponding to the installation package, the installation package and the two-dimensional code corresponding to the installation package are stored in a disk space of a cloud server; in the step of receiving the attribute information of the installation package, the attribute information of the installation package is stored in a database of a cloud server.
In a specific embodiment of the foregoing installation package distribution method, the installed package attribute information includes a download address of an installation package, a download address of a two-dimensional code corresponding to the installation package, and the installation package attribute information further includes version information of the installation package, an equipment platform to which the installation package is applicable, an application environment of the installation package, and/or an upload time of the installation package.
In a specific embodiment of the above installation package distribution method, the installation package is an installation package to be tested.
The embodiment of the application also provides a system for distributing the installation package, which comprises the following components: the cloud server, the database and the generation uploading module;
the cloud server is used for storing the installation package and the two-dimensional code corresponding to the installation package;
the database is used for storing attribute information of the installation package;
the generation uploading module is used for generating a two-dimensional code corresponding to the installation package and uploading the installation package and the generated two-dimensional code to a cloud server; the generation and uploading module is also used for acquiring the attribute information of the installation package and uploading the attribute information of the installation package to a database;
the cloud server is further configured to receive an access request initiated by the access terminal, and: when the access request is a page access request, the cloud server provides an installation package query page, queries an installation package conforming to a screening condition based on attribute information of the installation package when the screening condition input through the query page is received, and returns installation package catalog information conforming to the condition to an access terminal; the installation package catalog information comprises attribute information of an installation package and corresponding two-dimensional codes;
when the access request is a downloading request initiated by the access terminal through scanning the two-dimensional code, returning an installation package downloading page corresponding to the scanned two-dimensional code to the access terminal.
In a specific embodiment of the above installation package distribution system, the installation package catalog information further includes a download option corresponding to each installation package; and when the access request is a download request sent through the download option, the cloud server returns an installation package download page corresponding to the download option to an access terminal.
In a specific embodiment of the installation package distribution system, the installation package attribute information includes a download address of an installation package, a download address of a two-dimensional code corresponding to the installation package, and the installation package attribute information further includes version information of the installation package, an equipment platform to which the installation package is applicable, an application environment of the installation package, and/or an uploading time of the installation package.
The above at least one technical scheme adopted by the embodiment of the application can achieve the following beneficial effects: after the installation package is generated, the installation package can be uploaded to the cloud server by using an FTP protocol, and each installation package has own attribute, including a download address of the installation package, a download address of a two-dimensional code corresponding to the installation package, an uploading time of the installation package, version information of the installation package, a device platform applicable to the installation package and the like. The testers can directly access the cloud server, so that the testers to be tested can conveniently inquire and download required installation packages, and related personnel can conveniently find historical installation packages, such as old version upgrade verification, old version comparison and the like. The installation package distribution method is convenient for downloading and installing the installation package and is more convenient for team cooperation. For example, after the installation package is uploaded, the two-dimension code can be shared to a tester needing to download the installation package in the cloud server, and the tester directly downloads the corresponding installation package by scanning the two-dimension code through the terminal, so that the delivery time of the installation package is faster, and the delivery period is shorter. In addition, once the installation package has serious problems, the serious problems can be uploaded to the cloud server at any time, and verification is performed at any time, so that the rhythm of integrated test and system test is quickened.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a main flow chart of a method of distributing installation packages according to an embodiment of the present application;
FIG. 2 is a page display diagram of a distribution platform according to one embodiment of the present application;
FIG. 3 is a block diagram of a mounting package distribution system according to one embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments of the present application and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The following describes in detail the technical solutions provided by the embodiments of the present application with reference to the accompanying drawings. The installation package of the embodiment is an installation package to be tested, and mainly solves the problem of how to rapidly and conveniently deliver the software installation package to test, product, operation and other personnel for verification and use in the continuous delivery link of the software installation package. The distribution method of the installation package provided by the application is not limited to the distribution of the installation package to be tested.
Referring first to fig. 1, fig. 1 is a main flowchart of an installation package distribution method according to an embodiment of the present application. As shown in fig. 1, a method for distributing an installation package according to an embodiment of the present application mainly includes the following steps:
s110, receiving an installation package and a two-dimensional code corresponding to the installation package.
In an actual application scene, a distribution platform can be built. As an example, the backend of the distribution platform may be built using the SSH framework of Java, and the front-end implemented using jsp+jquery. The distribution platform may be a cloud server. After the cloud server receives the uploaded installation package and the two-dimensional code corresponding to the installation package, the installation package and the two-dimensional code corresponding to the installation package can be stored in a disk space of the cloud server. In this embodiment, the upload of the installation package may be transmitted to the disk space of the cloud server using FTP protocol by means of Python script. Specifically, after the installation package is generated, an uploading task is triggered, and the uploading task is transmitted to the cloud server for storage through the compiled Python script by using an FTP protocol.
In the above, the two-dimensional code corresponding to the installation package may be generated by a written Python script. After the installation package is generated, the specific generating step of the two-dimensional code corresponding to the installation package may include:
s1101, generating a download address of the installation package.
As an example, the download address generation rule of the installation package is HTTP file service address+storage path of the installation package; the download address of the installation package suitable for the iOS system adopts HTTPS protocol.
S1102, generating an HTML file after scanning the two-dimension code according to the download address of the installation package and the equipment platform applicable to the installation package.
As an example, the HTML file mainly includes a download button and an href attribute of the button, and after the two-dimensional code is scanned by the mobile phone, the HTML file is displayed, and the installation package can be downloaded through a download link of the installation package by clicking the download button on the HTML file. It should be noted that if the applicable platform of the installation package is an Android system, the download address of the installation package can be directly filled in when the HTML file is generated; if the applicable platform of the installation package is an iOS system, generating a plist file required by downloading the installation package, filling a download address of the iOS installation package in the plist file, and generating the download address of the plist file. For the iOS system, address t of the itms-services:// protocol is filled in when the HTML file is generated, and finally the download address of the HTML file is generated.
S1103, generating a downloading address of the HTML file, and generating a two-dimensional code with a preset size according to the downloading address of the HTML file.
As an example, two-dimensional codes are generated from the download address of HTML files, and the qrcode library of Python may be relied on. The proportion of the generated two-dimension codes is consistent, if the download address is overlong, the two-dimension codes need to be compressed, and the two-dimension codes have the following properties:
version=1,
error_correction=qrcode.constants.ERROR_CORRECT_L,
box_size=4,
border=1
the size of the two-dimensional code can be selected to be suitable according to actual needs so as to adapt to the display needs of the page. And finally generating a downloading address of the two-dimensional code.
And uploading the installation package and the two-dimensional code (comprising the plist file and the HTML file) generated based on the installation package to a cloud server for storage by using the written Python script. Since the size of the installation package is usually greater than 100MB, selecting FTP protocol for uploading here can increase the uploading speed of the file. Since it is necessary to upload using FTP protocol and download using HTTPS protocol, it is necessary to set up both FTP file server and HTTP file server for the root directory. The FTP file server may be implemented using vsftpd; the HTTP file server is implemented using tomcat; because the download of the iOS installation package depends on the HTTPS protocol, the download address of the HTTP file server can be forwarded in a layer by using the nginnx proxy service, and the HTTPS accessing the nginnx can be forwarded to the HTTP address of the tomcat.
S120, receiving attribute information of the installation package.
The attribute information of the installation package comprises a download address of the installation package, a download address of a two-dimensional code corresponding to the installation package, version information of the installation package, an equipment platform (such as a computer end, an Android equipment end, an iOS equipment end and the like) applicable to the installation package, an application environment of the installation package, uploading time of the installation package and the like. In an actual application scenario, after the cloud server serving as the distribution platform receives the attribute information of the uploaded installation package, the attribute information of the installation package may be stored in a database (such as MySQL database) of the cloud service. The downloading of the installation package is the storage path of the installation package in the disk space of the cloud service, and the downloading address of the two-dimensional code corresponding to the installation package is the storage path of the two-dimensional code in the disk space of the cloud server.
In an actual application scenario, a person skilled in the art may upload the installation package and the two-dimensional code corresponding to the installation package, or may upload the attribute information of the installation package, which is not limited by the execution sequence of step S110 and step S120 in this embodiment.
S130, receiving an access request initiated by an access terminal.
With continued reference to fig. 1, specifically, when the access request is a page access request, step S131 is performed,
Providing an installation package query page, querying an installation package conforming to the screening conditions based on the attribute information of the installation package when the screening conditions input through the query page are received, and returning the catalogue information of the installation package conforming to the screening conditions to the access terminal; the installation package catalog information comprises attribute information of the installation package and corresponding two-dimensional codes.
As an example, referring to fig. 2, fig. 2 is a page display diagram of a distribution platform according to an embodiment of the present application. When the access terminal initiates the page access request, the access terminal receives the display interface as shown in fig. 2. In the display interface shown in fig. 2, the upper area may input corresponding screening conditions, such as a label, an environment, a version, a date, etc., and those skilled in the art may customize the options of setting the screening conditions according to actual needs, which is not limited by the present application. Taking the query page shown in fig. 2 as an example, if the input screening condition is the installation package uploaded in the last 7 days, the distribution platform screens the installation package catalog information meeting the condition according to the uploading time of the installation package, and then returns the screened installation package catalog information meeting the condition to the access terminal. The installation package catalog information meeting the screening conditions is shown in fig. 2, and the installation package catalog information comprises installation package attribute information (version number of the installation package, equipment platform applicable to the installation package, application environment and uploading time of the installation package are shown in fig. 2) and two-dimensional codes corresponding to the installation package. The two-dimensional code can be shared to a tester needing to download the installation package in a screenshot mode, for example, the two-dimensional code displayed in fig. 2 is subjected to screenshot, the screenshot is sent to the tester through corresponding communication software, and the tester can acquire an installation package downloading page corresponding to the two-dimensional code through scanning the two-dimensional code by a terminal, so that the installation package is downloaded. The installation package downloading page can be understood as a page (the page is the HTML file generated according to the installation package downloading address in the foregoing) displayed after the terminal scans the two-dimensional code, the page has a downloading link of the installation package, and the corresponding installation package can be directly downloaded to the terminal by clicking the downloading link.
When the access request is a download request initiated by the access terminal by scanning the two-dimensional code, step S132 is executed to return an installation package download page corresponding to the two-dimensional code to the access terminal. For example, after the tester obtains the two-dimensional code picture, the tester may skip to the installation package download page corresponding to the two-dimensional code by scanning the two-dimensional code (the download page is the HTML file generated according to the installation package download address in the foregoing description), and further download the installation package.
Further, as shown in fig. 2, the package catalog information also includes download options (i.e., "download installs" shown under each two-dimensional code in fig. 2) that match each package. When the access request is a download request sent through the download option, step S133 is executed to return an installation package download page corresponding to the download option to the access terminal (the download page is the HTML file generated according to the installation package download address in the foregoing description). In this way, the tester can directly download the corresponding installation package by clicking the "download installation" under any two-dimensional code picture in fig. 2 through the access terminal.
As an example, the access terminal may be a computer terminal, an Android device terminal, and an iOS device terminal. In one embodiment of the application, when the access request is a page access request initiated by the computer terminal, in an actual application scenario, namely when a tester accesses the cloud server through the computer terminal, the cloud server returns an installation package query page to the computer terminal, and the tester inputs corresponding screening conditions on the query page to query a required installation package. And the cloud server queries the installation package catalog information which meets the conditions and is suitable for the computer end, the Android equipment end and the iOS equipment end according to the input screening conditions and returns the installation package catalog information to the computer end. The tester can directly download the installation package suitable for the computer end, or can scan the corresponding two-dimensional code through the Android device/iOS device to download the installation package suitable for the Android device/iOS, or can also screen capture the two-dimensional code to send to related testers.
When the access request is a page method request initiated by the Android device side, in an actual application scene, such as accessing the cloud server through an Android mobile phone, the cloud server returns an installation package query page to the Android device side, and a tester inputs corresponding screening conditions on the query page to query a required installation package. And the cloud server queries the installation package catalog information which meets the conditions and is applicable to the Android device terminal according to the input screening conditions, returns the installation package catalog information to the Android device terminal, and a tester can directly download the installation package applicable to the Android device terminal.
When the access request is a page method request initiated by the iOS equipment end, in an actual application scene, such as when the cloud server is accessed through the iOS mobile phone, the cloud server returns an installation package query page to the iOS equipment end, and a tester inputs corresponding screening conditions on the query page to query a required installation package. The cloud server queries the installation package catalog information which meets the conditions and is applicable to the iOS equipment end according to the input screening conditions, returns the installation package catalog information to the iOS equipment end, and a tester can directly download the installation package applicable to the iOS equipment end.
In a specific embodiment, when the access request is a page access request, the access right of the access terminal is verified before the installation package query page is provided. For example, the cloud server can send a permission verification page to the access terminal, a tester can input verification information through the permission verification page, the cloud server provides an installation package query page after receiving the verification information input through the verification page, if verification is passed, and otherwise, the access terminal is refused to access. As an example, the requests for pages may be intercepted using the intersceptor-ref of struts2, and passes must be entered to jump to the installation package query page.
As described above, in the installation package distribution method provided by the present application, after the installation package is generated, the installation package may be uploaded to the cloud server using the FTP protocol, where each installation package has its own attribute, including a download address of the installation package, a download address of a two-dimensional code corresponding to the installation package, an upload time of the installation package, version information of the installation package, a device platform to which the installation package is applicable, and the like. The testers can directly access the cloud server, so that the testers to be tested can conveniently inquire and download required installation packages, and related personnel can conveniently find historical installation packages, such as old version upgrade verification, old version comparison and the like. The installation package distribution method is convenient for downloading and installing the installation package and is more convenient for team cooperation. For example, after the installation package is uploaded, the two-dimension code can be shared to a tester needing to download the installation package in the cloud server, and the tester directly downloads the corresponding installation package by scanning the two-dimension code through the terminal, so that the delivery time of the installation package is faster, and the delivery period is shorter. In addition, once the installation package has serious problems, the serious problems can be uploaded to the cloud server at any time, and verification is performed at any time, so that the rhythm of integrated test and system test is quickened.
Based on the same inventive concept as the installation package distribution method of the present application, an embodiment of the present application further provides an installation package distribution system, and referring to fig. 3, fig. 3 is a block diagram of the installation package distribution system according to an embodiment of the present application. As shown in fig. 3, the installation package distribution system according to an embodiment of the present application includes a cloud server 1, a database 2, and a generation upload module 3.
The cloud server 1 is used for storing an installation package and two-dimensional codes corresponding to the installation package; the database 2 is used for storing attribute information of the installation package, and the database 2 can be a MySQL database; the generation uploading module 3 is used for generating a two-dimensional code corresponding to the installation package and uploading the installation package and the generated two-dimensional code to the cloud server; the generation uploading module is also used for acquiring the attribute information of the installation package and uploading the attribute information of the installation package to the database.
The cloud server 1 is further configured to receive an access request initiated by an access terminal, and: when the access request is a page access request, the cloud server provides an installation package query page, queries an installation package conforming to a screening condition based on attribute information of the installation package when receiving the screening condition input through the query page, and returns the installation package catalog information conforming to the condition to the access terminal; the installation package catalog information comprises attribute information of an installation package and corresponding two-dimensional codes; when the access request is a downloading request initiated by the access terminal through scanning the two-dimensional code, returning an installation package downloading page corresponding to the scanned two-dimensional code to the access terminal.
The attribute information of the installation package comprises a download address of the installation package, a download address of a two-dimensional code corresponding to the installation package, version information of the installation package, an equipment platform (such as a computer end, an Android equipment end, an iOS equipment end and the like) applicable to the installation package, an application environment of the installation package, uploading time of the installation package and the like.
Further, the installation package catalog information also includes a download option corresponding to each installation package; and when the access request is a download request sent through the download option, the cloud server returns an installation package download page corresponding to the download option to an access terminal.
Reference is made to the embodiments of the installation package distribution method described above for the specific embodiments of the installation package distribution system of the present application, and the description thereof will not be repeated here.
In the installation package distribution system provided by the application, after the installation package is generated, the installation package can be uploaded to the cloud server by using the FTP protocol, and each installation package has own attribute including the download address of the installation package, the download address of the two-dimensional code corresponding to the installation package, the uploading time of the installation package, the version information of the installation package, the equipment platform applicable to the installation package and the like. The testers can directly access the cloud server, so that the testers to be tested can conveniently inquire and download required installation packages, and related personnel can conveniently find historical installation packages, such as old version upgrade verification, old version comparison and the like. The installation package distribution system is convenient for downloading and installing the installation package and is more convenient for team cooperation. For example, after the installation package is uploaded, the two-dimension code can be shared to a tester needing to download the installation package in the cloud server, and the tester directly downloads the corresponding installation package by scanning the two-dimension code through the terminal, so that the delivery time of the installation package is faster, and the delivery period is shorter. In addition, once the installation package has serious problems, the serious problems can be uploaded to the cloud server at any time, and verification is performed at any time, so that the rhythm of integrated test and system test is quickened.
The foregoing describes certain embodiments of the present disclosure, other embodiments being within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. Furthermore, the processes depicted in the accompanying drawings do not necessarily have to be in the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for apparatus, devices, non-transitory computer readable storage medium embodiments, the description is relatively simple, as it is substantially similar to method embodiments, with reference to portions of the description of method embodiments being relevant.
The apparatus, the device, the nonvolatile computer readable storage medium and the method provided in the embodiments of the present disclosure correspond to each other, and therefore, the apparatus, the device, and the nonvolatile computer storage medium also have similar advantageous technical effects as those of the corresponding method, and since the advantageous technical effects of the method have been described in detail above, the advantageous technical effects of the corresponding apparatus, device, and nonvolatile computer storage medium are not described herein again.
In the 90 s of the 20 th century, improvements to one technology could clearly be distinguished as improvements in hardware (e.g., improvements to circuit structures such as diodes, transistors, switches, etc.) or software (improvements to the process flow). However, with the development of technology, many improvements of the current method flows can be regarded as direct improvements of hardware circuit structures. Designers almost always obtain corresponding hardware circuit structures by programming improved method flows into hardware circuits. Therefore, an improvement of a method flow cannot be said to be realized by a hardware entity module. For example, a programmable logic device (Programmable Logic Device, PLD) (e.g., field programmable gate array (FieldProgrammable Gate Array, FPGA)) is an integrated circuit whose logic function is determined by the programming of the device by a user. A designer programs to "integrate" a digital system onto a PLD without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Moreover, nowadays, instead of manually manufacturing integrated circuit chips, such programming is mostly implemented by using "logic compiler" software, which is similar to the software compiler used in program development and writing, and the original code before the compiling is also written in a specific programming Language, which is called Hardware Description Language (HDL), but HDL is not only one, but a plurality of kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware DescrIP address range), confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware DescrIP address range), lava, lola, myHDL, PALASM, RHDL (Ruby HardwareDescrIP address range), etc., VHDL (Very-High-Speed Integrated Circuit Hardware DescrIP address range) and Verilog are currently most commonly used. It will also be apparent to those skilled in the art that a hardware circuit implementing the logic method flow can be readily obtained by merely slightly programming the method flow into an integrated circuit using several of the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable logic controllers, and embedded microcontrollers, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, atmel AT91SAM, microchIP address PIC18F26K20, and Siliconelabs C8051F320, the memory controller may also be implemented as part of the control logic of the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller in a pure computer readable program code, it is well possible to implement the same functionality by logically programming the method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. Such a controller may thus be regarded as a kind of hardware component, and means for performing various functions included therein may also be regarded as structures within the hardware component. Or even means for achieving the various functions may be regarded as either software modules implementing the methods or structures within hardware components.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. One typical implementation is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of each element may be implemented in one or more software and/or hardware elements when implemented in the present specification.
It will be appreciated by those skilled in the art that the present description may be provided as a method, system, or computer program product. Accordingly, the present specification embodiments may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present description embodiments may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present description is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the specification. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing description is by way of example only and is not intended as limiting the application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (8)

1. An installation package distribution method, which is applied to a cloud server, comprises the following steps:
receiving an installation package and a two-dimensional code corresponding to the installation package; the installation package is an installation package to be tested;
receiving attribute information of the installation package;
receiving an access request initiated by an access terminal, providing an installation package query page when the access request is a page access request, querying an installation package meeting the screening conditions based on attribute information of the installation package when the screening conditions input through the query page are received, and returning the catalogue information of the installation package meeting the conditions to the access terminal; the installation package catalog information comprises attribute information of an installation package and corresponding two-dimensional codes; the installation package catalog information also comprises a download option matched with each installation package;
when the access request is a downloading request initiated by the access terminal through scanning the two-dimensional code, returning an installation package downloading page corresponding to the scanned two-dimensional code to the access terminal;
when the access request is a page access request initiated by the computer terminal, the installation package catalog information applicable to the computer terminal, the Android equipment terminal and the iOS equipment terminal is returned to the computer terminal;
when the access request is a page access request initiated by the Android device end, returning the installation package catalog information applicable to the Android device end;
and when the access request is a page access request initiated by the iOS equipment end, returning the installation package catalog information suitable for the iOS equipment end to the iOS equipment end.
2. The installation package distribution method according to claim 1, wherein the installation package catalog information further includes a download option corresponding to each installation package;
and when the access request is a download request sent through the download option, returning an installation package download page corresponding to the download option to an access terminal.
3. The install package distribution method according to claim 1, wherein when the access request is a page access request, before providing an install package query page, the method further comprises:
providing a permission verification page;
after receiving the verification information input through the verification page, if the verification is passed, providing an installation package query page.
4. The installation package distribution method according to claim 1, wherein in the step of receiving the uploaded installation package and the two-dimensional code corresponding to the installation package, the installation package and the two-dimensional code corresponding to the installation package are stored in a disk space of a cloud server;
in the step of receiving the attribute information of the installation package, the attribute information of the installation package is stored in a database of a cloud server.
5. The installation package distribution method according to any one of claims 1 to 4, wherein the attribute information of the installation package includes a download address of the installation package, a download address of a two-dimensional code corresponding to the installation package, and the installation package attribute information further includes version information of the installation package, a device platform to which the installation package is applicable, an application environment of the installation package, and/or an upload time of the installation package.
6. A mounting package distribution system, the mounting package distribution system comprising: the cloud server, the database and the generation uploading module;
the cloud server is used for storing the installation package and the two-dimensional code corresponding to the installation package; the installation package is an installation package to be tested;
the database is used for storing attribute information of the installation package;
the generation uploading module is used for generating a two-dimensional code corresponding to the installation package and uploading the installation package and the generated two-dimensional code to a cloud server; the generation and uploading module is also used for acquiring the attribute information of the installation package and uploading the attribute information of the installation package to a database;
the cloud server is further configured to receive an access request initiated by the access terminal, and: when the access request is a page access request, the cloud server provides an installation package query page, queries an installation package conforming to a screening condition based on attribute information of the installation package when the screening condition input through the query page is received, and returns installation package catalog information conforming to the condition to an access terminal; the installation package catalog information comprises attribute information of an installation package and corresponding two-dimensional codes; the installation package catalog information also comprises a download option matched with each installation package;
when the access request is a downloading request initiated by the access terminal through scanning the two-dimensional code, returning an installation package downloading page corresponding to the scanned two-dimensional code to the access terminal;
when the access request is a page access request initiated by the computer terminal, the installation package catalog information applicable to the computer terminal, the Android equipment terminal and the iOS equipment terminal is returned to the computer terminal;
when the access request is a page access request initiated by the Android device end, returning the installation package catalog information applicable to the Android device end;
and when the access request is a page access request initiated by the iOS equipment end, returning the installation package catalog information suitable for the iOS equipment end to the iOS equipment end.
7. The installation package distribution system of claim 6, wherein the installation package catalog information further comprises a download option corresponding to each installation package;
and when the access request is a download request sent through the download option, the cloud server returns an installation package download page corresponding to the download option to an access terminal.
8. The installation package distribution system according to claim 6 or 7, wherein the installation package attribute information includes a download address of an installation package, a download address of a two-dimensional code corresponding to the installation package, and the installation package attribute information further includes version information of the installation package, a device platform to which the installation package is applicable, an application environment of the installation package, and/or an upload time of the installation package.
CN202010113884.7A 2020-02-24 2020-02-24 Installation package distribution method and system Active CN111338655B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010113884.7A CN111338655B (en) 2020-02-24 2020-02-24 Installation package distribution method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010113884.7A CN111338655B (en) 2020-02-24 2020-02-24 Installation package distribution method and system

Publications (2)

Publication Number Publication Date
CN111338655A CN111338655A (en) 2020-06-26
CN111338655B true CN111338655B (en) 2023-11-14

Family

ID=71179659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010113884.7A Active CN111338655B (en) 2020-02-24 2020-02-24 Installation package distribution method and system

Country Status (1)

Country Link
CN (1) CN111338655B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181440A (en) * 2020-09-25 2021-01-05 四川封面传媒有限责任公司 Method and device for deploying ios installation package in server and storage medium
CN114154526A (en) * 2021-12-02 2022-03-08 京东科技信息技术有限公司 Two-dimensional code processing method and system, storage medium and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581272A (en) * 2012-08-08 2014-02-12 腾讯科技(深圳)有限公司 File transfer method and device
CN104023021A (en) * 2014-06-13 2014-09-03 珠海市君天电子科技有限公司 File transfer method and file transfer device
CN104318276A (en) * 2014-10-03 2015-01-28 黄燕云 Generating and using method of two-dimensional code
CN106412041A (en) * 2016-09-20 2017-02-15 徐蔚 System for connecting mobile terminal with service providing equipment and service providing method
CN107896244A (en) * 2017-11-07 2018-04-10 中国银联股份有限公司 A kind of distribution method of version file, client and server
CN109766321A (en) * 2018-12-15 2019-05-17 深圳壹账通智能科技有限公司 A kind of sharing files method, apparatus, computer equipment and storage medium
CN110008186A (en) * 2019-04-11 2019-07-12 北京启迪区块链科技发展有限公司 For file management method, device, terminal and the medium of more ftp data sources

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581272A (en) * 2012-08-08 2014-02-12 腾讯科技(深圳)有限公司 File transfer method and device
CN104023021A (en) * 2014-06-13 2014-09-03 珠海市君天电子科技有限公司 File transfer method and file transfer device
CN104318276A (en) * 2014-10-03 2015-01-28 黄燕云 Generating and using method of two-dimensional code
CN106412041A (en) * 2016-09-20 2017-02-15 徐蔚 System for connecting mobile terminal with service providing equipment and service providing method
WO2018054392A1 (en) * 2016-09-20 2018-03-29 徐蔚 Mobile terminal and service provision device connection system, and service provision method
CN107896244A (en) * 2017-11-07 2018-04-10 中国银联股份有限公司 A kind of distribution method of version file, client and server
CN109766321A (en) * 2018-12-15 2019-05-17 深圳壹账通智能科技有限公司 A kind of sharing files method, apparatus, computer equipment and storage medium
CN110008186A (en) * 2019-04-11 2019-07-12 北京启迪区块链科技发展有限公司 For file management method, device, terminal and the medium of more ftp data sources

Also Published As

Publication number Publication date
CN111338655A (en) 2020-06-26

Similar Documents

Publication Publication Date Title
CN111639278B (en) Webpage loading method and device
CN111338655B (en) Installation package distribution method and system
CN111475142B (en) Method, device and equipment for generating applet file package
CN108549562A (en) A kind of method and device of image load
CN107479868B (en) Interface loading method, device and equipment
CN110427237B (en) Method and device for cross-application access to target page and electronic equipment
CN111273965B (en) Container application starting method, system and device and electronic equipment
CN110046052B (en) Service calling method and device
CN111324803B (en) Query request processing method and device of search engine and client
CN110874322B (en) Test method and test server for application program
WO2023216872A1 (en) Event processing method and apparatus applied to iot device
CN111538667A (en) Page testing method and device
CN106528069B (en) SDK integrated approach and device
CN116016227A (en) Micro-service system arrangement visualization method, device and medium based on Docker compound
CN116151199A (en) Method, device and equipment for generating network-connected vehicle test report
CN110502251B (en) Application installation method and device
CN113672470A (en) Interface monitoring method, device, equipment and medium
CN112596780A (en) Service execution method and device
CN111796864A (en) Data verification method and device
CN114546524B (en) Application authority processing method and device
CN115827310B (en) Information verification method and device, storage medium and electronic equipment
CN117519912B (en) Mirror image warehouse deployment method, device, storage medium and equipment
CN114968457B (en) Form processing method and device applied to subprogram
CN117369784B (en) Processing system and method of service interface
CN110633181B (en) Visual display 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