CN110333874A - A kind of iOS system installation kit collecting method, device, equipment and medium - Google Patents

A kind of iOS system installation kit collecting method, device, equipment and medium Download PDF

Info

Publication number
CN110333874A
CN110333874A CN201910495717.0A CN201910495717A CN110333874A CN 110333874 A CN110333874 A CN 110333874A CN 201910495717 A CN201910495717 A CN 201910495717A CN 110333874 A CN110333874 A CN 110333874A
Authority
CN
China
Prior art keywords
ios device
application
ios
installation kit
target application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910495717.0A
Other languages
Chinese (zh)
Other versions
CN110333874B (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.)
Tencent Technology Chengdu Co Ltd
Original Assignee
Tencent Technology Chengdu 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 Tencent Technology Chengdu Co Ltd filed Critical Tencent Technology Chengdu Co Ltd
Priority to CN201910495717.0A priority Critical patent/CN110333874B/en
Publication of CN110333874A publication Critical patent/CN110333874A/en
Application granted granted Critical
Publication of CN110333874B publication Critical patent/CN110333874B/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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention relates to a kind of iOS system installation kit collecting methods, comprising: after iOS device accesses computer equipment, detects whether the target application in the iOS device has update;If the target application has update, Xiang Suoshu iOS device sends the installation kit and first triggering command of the target application, so that the iOS device, which runs the installation kit according to the first triggering command, installs the target application;The first acquisition instruction is sent to the iOS device by safety shell protocol, obtains the file information being installed under rear installation directory that the iOS device is returned according to first acquisition instruction;The second triggering command is sent to the iOS device by the safety shell protocol, so that the iOS device starts the target application according to second triggering command;The second acquisition instruction is sent to the iOS device by the safety shell protocol, obtains the file information after the start completion that the iOS device is returned according to second acquisition instruction under installation directory.

Description

A kind of iOS system installation kit collecting method, device, equipment and medium
Technical field
The present invention relates to application-development technologies field, in particular to a kind of iOS system installation kit collecting method, Device, equipment and medium.
Background technique
With the continuous development of Internet technology, various feature-rich application programs are by development and application.Application program is ground Hair personnel in development and application program, are developed according to several periods, and each period can generate a new version Installation kit.Therefore, with the growth of development cycle, the installation kit in each period can be gradually increased, this with the iteration of version Increase almost linear increase.If application installation package is excessive, it will affect user and download success rate, installation conversion ratio, final shadow It rings newly into number of users.
To solve the above-mentioned problems, it needs to establish long-term installation kit size data collection mechanism, pays close attention to installation kit size Variation tendency, timely early warning installation kit problems of too, while facilitating research staff's positioning is that reason causes installation kit excessive, Which file is the redundant resource that can be optimized.And Mobile operating system (the iPhone Operating of Apple Inc. System, iOS) due to system lock, application program of mobile phone (IPhone Application, ipa) packet obtains, installation and All there is difficulty in the data acquisition after installation, currently available technology is then installed, opened manually by downloading ipa packet manually It is dynamic, the relevant information after installation, starting is obtained by third party's tool.
The prior art needs more manual operation, it is also necessary to obtain data by third party's tool, operation is inconvenient; And by manually obtaining ipa package informatin, it cannot accomplish timeliness, after application more new version, can not obtain in time most The relevant information of new ipa packet.
Summary of the invention
In view of the above problems in the prior art, the purpose of the present invention is to provide a kind of installation bag data acquisitions of iOS system Method, apparatus, equipment and medium, can download automatically, install and start ipa packet, and obtain in a pre-installation, after installation and start The related mount message in each stage afterwards.
To solve the above-mentioned problems, the present invention provides a kind of iOS system installation kit collecting method, is applied to computer In equipment, comprising:
After iOS device accesses the computer equipment, detect whether the target application in the iOS device has update;
If the target application has update, Xiang Suoshu iOS device sends installation kit and the first touching of the target application Send instructions, so that the iOS device, which runs the installation kit according to the first triggering command, installs the target application;
The first acquisition instruction is sent to the iOS device by safety shell protocol, obtains the iOS device according to The file information being installed under rear installation directory that first acquisition instruction returns;
By the safety shell protocol to the iOS device send the second triggering command so that the iOS device according to Second triggering command starts the target application;
By the safety shell protocol to the iOS device send the second acquisition instruction, obtain the iOS device according to The file information after the start completion that second acquisition instruction returns under installation directory.
Another aspect of the present invention provides a kind of iOS system installation kit data acquisition device, is set in computer equipment, packet It includes:
Detection module, for after iOS device accesses the computer equipment, the target detected in the iOS device to be answered With whether having update;
Module is installed, for when the target application has update, Xiang Suoshu iOS device to send the peace of the target application Dress packet and first triggering command, so that the iOS device is according to the first triggering command operation installation kit installation Target application;
First obtains module, for sending the first acquisition instruction to the iOS device by safety shell protocol, obtains institute State the file information being installed under rear installation directory that iOS device is returned according to first acquisition instruction;
Starting module, for sending the second triggering command to the iOS device by safety shell protocol, so that described IOS device starts the target application according to second triggering command;
Second obtains module, for sending the second acquisition instruction to the iOS device by safety shell protocol, obtains institute State the file information after the start completion that iOS device is returned according to second acquisition instruction under installation directory.
Another aspect of the present invention provides a kind of computer equipment, and the computer equipment includes processor and memory, institute It states and is stored at least one instruction, at least a Duan Chengxu, code set or instruction set in memory, at least one instruction, institute An at least Duan Chengxu, the code set or instruction set is stated to be loaded by the processor and executed to realize such as above-mentioned iOS system Installation kit collecting method.
Another aspect of the present invention provides a kind of computer readable storage medium, is stored at least one in the storage medium Instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set Or instruction set is loaded by processor and is executed to realize such as above-mentioned iOS system installation kit collecting method.
Due to above-mentioned technical proposal, the invention has the following advantages:
(1) iOS system installation kit collecting method, device, equipment and medium of the invention, by downloading ipa automatically Packet, is pushed to ipa packet in the iOS device of connection automatically, automatic to install ipa packet, automatic starting application program after being installed, And obtain in a pre-installation, installation after and starting after each stage related mount message, realize iOS device and install, start automatically Application program, and the installation kit size data of each stage game is obtained automatically, reduce the operation of user, enhances the body of user It tests.
(2) iOS system installation kit collecting method, device, equipment and medium of the invention, can be efficiently and in real time The installation kit size data of a large amount of game is obtained, installation kit size variation trend is monitored, provides data for analysis installation kit variation Support, timely early warning installation kit is excessive, and helps to optimize installation kit size.
Detailed description of the invention
It, below will be to required in embodiment or description of the prior art in order to illustrate more clearly of technical solution of the present invention The attached drawing used is briefly described.It should be evident that drawings in the following description are only some embodiments of the invention, it is right For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings Its attached drawing.
Fig. 1 is implementation environment schematic diagram provided in an embodiment of the present invention;
Fig. 2 is iOS system installation kit collecting method flow chart provided by one embodiment of the present invention;
Fig. 3 is the iOS system installation kit collecting method flow chart that another embodiment of the present invention provides;
Fig. 4 is the iOS system installation kit collecting method flow chart that another embodiment of the present invention provides;
Fig. 5 is the schematic diagram of default list of application provided by one embodiment of the present invention;
Fig. 6 is the iOS system installation kit collecting method flow chart that another embodiment of the present invention provides;
Fig. 7 is iOS system installation kit data acquisition device structural block diagram provided by one embodiment of the present invention;
Fig. 8 is the iOS system installation kit data acquisition device structural block diagram that another embodiment of the present invention provides;
Fig. 9 is the iOS system installation kit data acquisition device structural block diagram that another embodiment of the present invention provides;
Figure 10 is computer equipment structural block diagram provided by one embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art without making creative work it is obtained it is all its His embodiment, shall fall within the protection scope of the present invention.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Covering non-exclusive includes to be not necessarily limited to for example, containing the process, method of a series of steps or units, device, product or equipment Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
Figure of description 1 is please referred to, it illustrates implementation environment schematic diagrames provided in an embodiment of the present invention, as shown in Figure 1, The implementation environment can include at least server 110, computer equipment 120 and terminal device 130.
The server 110 can be a server, be also possible to the server cluster consisted of several servers, An either cloud computing service center.The server 110 can be set by wireless or cable network and the computer Standby 120 establish communication connection.
The computer equipment 120 can be pocket computer on knee or desktop computer etc..The computer Equipment 120 can by it is wired or wirelessly with the terminal device 130 establish communicate to connect.
The terminal device 130 can be handheld device, including mobile phone, tablet computer, E-book reader, dynamic image Expert's compression standard audio level 3 (Moving Picture Experts Group Audio Layer III, MP3) player With dynamic image expert's compression standard audio level 4 (Moving Picture Experts GroupAudio Layer IV, MP4) player etc..The terminal device 130 is equipped with the application program that service provider is supplied to user.
In the embodiment of the present invention, the server 110 can be apple background server, and the terminal device 130 can be with It is iOS device such as iPhone (iPhone), apple tablet computer (iPad) and apple multifunctional digital multimedia player (iPod) etc., the computer equipment 120 can pass through universal serial bus (Universal with the terminal device 130 Serial Bus, usb) establish communication connection.
IOS system installation kit collecting method provided in an embodiment of the present invention is described below, this method can be applied to In computer equipment, for needing to carry out the computer equipment of iOS system installation bag data acquisition, it can be existed by shell script The function of iOS system installation bag data acquisition provided by the method for the integrated embodiment of the present invention in computer equipment, or with The form operation of Software Development Kit (Software Development Kit, sdk) is on a computing device.
Figure of description 2 is please referred to, it illustrates a kind of iOS system installation bag data acquisitions provided in an embodiment of the present invention The process of method.As shown in Fig. 2, the method may include following steps:
S201: after iOS device accesses the computer equipment, detect whether the target application in the iOS device has It updates.
S202: if the target application has update, Xiang Suoshu iOS device sends the installation kit and of the target application One triggering command, so that the iOS device, which runs the installation kit according to the first triggering command, installs the target application.
Correspondingly, after the completion of the iOS device installs the target application, return is installed information.
S203: the first acquisition instruction is sent to the iOS device by safety shell protocol, obtains the iOS device root The file information being installed under rear installation directory returned according to first acquisition instruction.
S204: the second triggering command is sent to the iOS device by the safety shell protocol, so that the iOS is set It is standby that the target application is started according to second triggering command.
Correspondingly, after the completion of the iOS device starts the target application, start completion information is returned.
S205: the second acquisition instruction is sent to the iOS device by the safety shell protocol, the iOS is obtained and sets The file information after the standby start completion returned according to second acquisition instruction under installation directory.
In conclusion iOS system installation kit collecting method, device, equipment and medium of the invention, pass through handle automatically Ipa packet is pushed in the iOS device of connection, automatic to install ipa packet, automatic starting application program after being installed, and is obtained The related mount message in each stage, realizes iOS device and install automatically, starts application program, and automatically after installation and after starting The installation kit size data for obtaining each stage game, reduces the operation of user, enhances the experience of user.
Please refer to Figure of description 3, it illustrates another embodiment of the present invention provides a kind of iOS system install bag data The process of acquisition method.As shown in figure 3, the method may include:
S301: the application more new information based on iOS system is obtained.
In the embodiment of the present invention, the request of application more new information can be obtained by analysis iTunes client, response is assisted View finds the uniform resource locator for obtaining iOS system application more new information, sends secure hyper text transport association by simulation Discuss (Hyper Text Transfer Protocol over Secure Socket Layer, https) request, analysis, processing And the request results for saving return obtain the application more new information of iOS system.Specifically, between a time can be preset Every every obtain by prefixed time interval once applies more new information.In a possible real-time example, it can also detect IOS device obtains the application more new information based on iOS system when accessing the computer equipment.
In a specific embodiment, as shown in figure 4, application more new information of the acquisition based on iOS system can be with Include:
S401: the Secure Hypertext Transfer Protocol request that crawl iTunes user end to server is sent, the safety are super Text transfer protocol request applies more new information for obtaining.
S402: simulation iTunes user end to server sends the Secure Hypertext Transfer Protocol request.
Correspondingly, it after server receives the Secure Hypertext Transfer Protocol request, is passed according to the safe hypertext Defeated agreement request is obtained and is returned using more new information.
S403: the application more new information that server returns is obtained.
Wherein, the application more new information may include the Apply Names and its corresponding ipa package informatin for having update, described The application for having update may include the application of newly-increased application and version updating.
S302: list of application is preset according to application update information update.
In the embodiment of the present invention, as shown in figure 5, the default list of application may include corresponding storage Apply Names, The information such as the ipa packet title of latest edition and version number.The default list of application can save in the database, and can be with It is updated according to the application more new information.
Specifically, the default list of application is carried out after receiving the application more new information for taking iOS system primary It updates.The update may include: that newly-increased application message and corresponding ipa package informatin are added to the default application Title and version number in list, and by the ipa packet title and version number modification of the application of version updating for latest edition.? In one possible embodiment, the default list of application can also be generated for the server according to the application more new information And it returns.
S303: according to the installation kit of the application more new information downloading application.
In the embodiment of the present invention, it is contemplated that apple background server is to downloading hypertext transfer protocol (Hyper Text Transfer Protocol, http) request have authentication process, if authentication does not pass through, ipa packet can not be just downloaded to local.And The downloading authentication of apple is very complicated, is generally difficult to construct effective http request, to pass through the authentication of apple background server.And There is a large amount of iOS system application on apple third-party application assistant platform (such as itools, PP assistant etc.), on these platforms Ipa packet in apple application shop be as, and without authentication limitation.Therefore, the download link of iOS system ipa packet can To be obtained from third-party application assistant's platform, such as the http request by grabbing PP assistant, it can be obtained the downloading chain of ipa packet It connects.
In a specific embodiment, as shown in fig. 6, the application more new information may include installation package informatin;Institute It states and may include: according to the installation kit of the application more new information downloading application
S601: the hypertext transfer protocol for applying assistant's user end to server to send according to the installation kit information scratching Request, the hypertext transfer protocol requests are used to obtain the download link of installation kit.
Wherein, the installation package informatin may include ipa packet title, can grab application according to the ipa packet title and help Hand client obtains the download link of the corresponding installation kit of the ipa packet title.
S602: simulation application assistant's user end to server sends the hypertext transfer protocol requests.
Correspondingly, it after server receives the hypertext transfer protocol requests, is asked according to the hypertext transfer protocol It asks acquisition and returns to installation kit download link.
S603: the installation kit download link that server returns is obtained.
S604: according to the installation kit of installation kit download link downloading application.
It, can be by curl order according to the installation kit of download link downloading application in the embodiment of the present invention.When obtaining After getting the application more new information, the ipa Bao Bingcun of all applications for having update can be downloaded according to the installation package informatin It stores up to local.Due to there is the possible more than one of application of update in the application more new information, the process of Fig. 6 is usually not It can Exactly-once.For example, whithin a period of time, it is multiple that multiple applications have update that may accordingly result in process execution.
It should be noted that in a possible embodiment, the step S303: according under the application more new information The installation kit of application is carried, can also detect the target in the iOS device after iOS device accesses the computer equipment It, at this time can be according to the ipa package informatin for the target application recorded in the default list of application using there is update when progress It downloads the ipa packet of the target application and stores to local.
S304: after iOS device accesses the computer equipment, detect whether the target application in the iOS device has It updates.
It is to be appreciated that only when the iOS device is normally connect with the computer equipment, the iOS device with Can just it carry out data transmission between the computer equipment.
In the embodiment of the present invention, the iOS device can access the computer equipment, the target application by usb It is mounted in the iOS device, the target application can be the types of applications that service provider is supplied to user, including social category is answered It with the application of, instant messaging class, the application of payment class, game class application and reads class application etc., this embodiment of the present invention is not limited It is fixed.
In a possible embodiment, described after iOS device accesses the computer equipment, it detects the iOS and sets Whether standby upper target application has the update to may include:
It is established and is communicated to connect using third party open source library and the iOS device;
Third acquisition instruction is sent to the iOS device by the interface in third party open source library, the iOS is obtained and sets The standby target application information returned according to the third acquisition instruction;
The target application information is compared with the application message in default list of application, whether determines target application There is update.
Wherein, third party's open source library can be the library pymobiledevice, and the library pymobiledevice is The python in the library libimobiledevice is realized, can be used to connect iOS device, and provide what part was interacted with iOS system Interface, such as installation ipa packet, lookup have installed list of application, have taken related application information and unloading application etc..
In the embodiment of the present invention, the target application can be some specific application, or predetermined more The set of a application.The target application information may include Apply Names and its corresponding ipa package informatin, by answering by described in Being compared with title and its corresponding ipa package informatin with the application message in the default list of application can determine that target is answered With whether having update.
In a specific embodiment, the target application may include all being mounted on answering in the iOS device With, when whether detect the target application has update, can first by the iOS device sending application install list obtain Instruction, obtains the Apply Names for all applications installed in the iOS device, then by the iOS device sending application ipa Package informatin acquisition instruction obtains the ipa package informatin of each application, finally by by Apply Names of each application and its corresponding Application message in ipa package informatin and the default list of application, which compares, can determine whether target application has update.It is right Wherein there is the target application of update to continue to execute following steps, automatic installation, starting application are pacified after obtaining installation, start completion Fill the file information under catalogue.
S305: if the target application has update, Xiang Suoshu iOS device sends the installation kit and of the target application One triggering command, so that the iOS device, which runs the installation kit according to the first triggering command, installs the target application.
Correspondingly, after the completion of the iOS device installs the target application, return is installed information.
In the embodiment of the present invention, if the target application has update, the target is sent to the iOS device The installation kit and first triggering command of application, so that the iOS device runs the installation kit according to the first triggering command Installing the target application may include:
The installation kit and first of the target application is sent to the iOS device by the interface in third party open source library Triggering command.
Wherein, third party's open source library can be the library pymobiledevice, and the first triggering command is that installation refers to It enables, the first triggering command includes the ipa packet title of the target application, and the installation kit of the target application is voluntarily to solve The set of compressed file, the All Files including application installation, runs this installation kit, the All Files of this application can be released It is put on hard disk, completes the work such as modification registration table, the setting of modification system, creation shortcut.The iOS device receives institute After stating first triggering command, runs the ipa packet title corresponding ipa packet and the target application is installed.
S306: the first acquisition instruction is sent to the iOS device by safety shell protocol, obtains the iOS device root The file information being installed under rear installation directory returned according to first acquisition instruction.
In the embodiment of the present invention, after the iOS device receives first acquisition instruction, recurrence is listed be installed after Using All Files/catalogue size under installation directory, and with kilobytes (KB) for unit sequencing display size.The method is also It may include that the file information being installed under rear installation directory is saved in database.
It is described that first acquisition instruction is sent to the iOS device by safety shell protocol in the embodiment of the present invention, it obtains Before the file information being installed under rear installation directory that the iOS device is returned according to first acquisition instruction, may be used also To include:
It is established and is communicated to connect with the iOS device using the usbmuxd service disposed in the computer equipment.
In the embodiment of the present invention, since iOS underlying operating system is class unix system, Secure Shell can be passed through (Secure Shell, ssh) agreement is directly connected to iOS underlying operating system, just as common is taken with ssh agreement connection linux Business device is the same.The ssh agreement is the security protocol established on the basis of application layer, and ssh agreement is relatively reliable at present aims at Telnet session and other network services provide the agreement of safety.After connecting iOS device, shell is executed with can be convenient (shell) it orders, is interacted with iOS underlying operating system.
Due to having carried usbmuxd service in the system of iOS device, which can be realized usb to transmission control protocol The conversion of (Transmission Control Protocol, TCP) can be based on Unix domain socket (Unix Domain Socket) the end TCP of the port mapping of usb to the machine, therefore it may only be necessary to also realize one in the computer equipment Usbmuxd service, and designated port mapping relations, so that it may so that in application and the computer equipment in iOS device Using can pass through socket (Socket) carry out TCP communication.Therefore, usbmuxd service is disposed in the computer equipment, After the computer is connected by usb with iOS device, iOS device first floor system can be connected by ssh agreement, pass through execution Shell-command is interacted with iOS system.
S307: the second triggering command is sent to the iOS device by the safety shell protocol, so that the iOS is set It is standby that the target application is started according to second triggering command.
Correspondingly, after the completion of the iOS device starts the target application, start completion information is returned.
In the embodiment of the present invention, second triggering command is enabled instruction, and second triggering command includes that target is answered Ipa packet title after the iOS device receives second triggering command, starts the mesh according to the ipa packet title Mark application.
S308: the second acquisition instruction is sent to the iOS device by the safety shell protocol, the iOS is obtained and sets The file information after the standby start completion returned according to second acquisition instruction under installation directory.
In the embodiment of the present invention, after the iOS device receives second acquisition instruction, after recurrence lists start completion Using All Files/catalogue size under installation directory, and with kilobytes (KB) for unit sequencing display size.The method is also It may include that the file information under installation directory after the start completion is saved in database.
Figure of description 7 is please referred to, it illustrates a kind of iOS system installation bag data acquisitions provided in an embodiment of the present invention Device 700, is set in computer equipment, and described device 700 may include:
Detection module 710, for detecting the target in the iOS device after iOS device accesses the computer equipment Using whether having update;
Module 720 is installed, for when the target application has update, Xiang Suoshu iOS device to send the target application Installation kit and first triggering command installed so that the iOS device runs the installation kit according to the first triggering command The target application;
First obtains module 730, for sending the first acquisition instruction to the iOS device by safety shell protocol, obtains The file information being installed under rear installation directory for taking the iOS device to be returned according to first acquisition instruction;
Starting module 740, for sending the second triggering command to the iOS device by the safety shell protocol, with The iOS device is set to start the target application according to second triggering command;
Second obtains module 750, refers to for sending second to the iOS device by the safety shell protocol and obtaining It enables, obtains the file information after the start completion that the iOS device is returned according to second acquisition instruction under installation directory.
In a possible embodiment, described device 700 can also include:
Third obtains module 760, for obtaining the application more new information based on iOS system;
Update module 770, for presetting list of application according to application update information update;
Download module 780, for the installation kit according to the application more new information downloading application.
In a possible embodiment, as shown in figure 8, third acquisition module 760 may include:
First picking unit 761, for grabbing the Secure Hypertext Transfer Protocol of iTunes user end to server transmission Request, the Secure Hypertext Transfer Protocol request apply more new information for obtaining;
First transmission unit 762 sends the secure hyper text transport association for simulating iTunes user end to server View request;
First acquisition unit 763, for obtaining the application more new information of server return.
In a possible embodiment, as shown in figure 9, the download module 780 may include:
Second picking unit 781, for being sent according to the installation kit information scratching using assistant's user end to server Hypertext transfer protocol requests, the hypertext transfer protocol requests are used to obtain the download link of installation kit;
Second transmission unit 782 sends the hypertext transfer protocol for simulation application assistant user end to server Request;
Second acquisition unit 783, for obtaining the installation kit download link of server return;
Download unit 784, for the installation kit according to installation kit download link downloading application.
It should be noted that device provided by the above embodiment, when realizing its function, only with above-mentioned each functional module It divides and carries out for example, can according to need in practical application and be completed by different functional modules above-mentioned function distribution, The internal structure of equipment is divided into different functional modules, to complete all or part of the functions described above.In addition, Apparatus and method embodiment provided by the above embodiment belongs to same design, and specific implementation process is detailed in embodiment of the method, this In repeat no more.
The embodiment of the invention also provides a kind of computer equipment, including processor and memory, stored in the memory There are at least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the generation Code collection or instruction set are loaded as the processor and are executed to realize the iOS system installation kit number as provided by above method embodiment According to acquisition method.Alternatively, at least one instruction, an at least Duan Chengxu, the code set or the instruction set are loaded by the processor And the function of executing to realize each module/unit in above-mentioned apparatus embodiment.
Optionally, in the embodiment of the present invention, the computer equipment can be desktop PC, notebook, palm electricity Brain and cloud server etc..
In a specific embodiment, as shown in Figure 10, it illustrates computer equipments provided in an embodiment of the present invention Structural schematic diagram.The computer equipment 1000 may include the storage of one or more computer readable storage mediums Processor 1020, input unit 1030, the display unit 1040, Yi Ji electricity of device 1010, one or more than one processing core The components such as source 1050.It will be understood by those skilled in the art that terminal structure shown in Figure 10 is not constituted to computer equipment 1000 restriction may include perhaps combining certain components or different component cloth than illustrating more or fewer components It sets.
The memory 1010 can be used for storing software program and module, and the processor 1020 is by operation or executes It is stored in the software program and module of the memory 1010, and calls the data being stored in memory 1010, thus Perform various functions application and data processing.The memory 1010 can mainly include storing program area and storage data area, Wherein, storing program area can application program needed for storage program area, at least one function etc.;Storage data area can store root Created data etc. are used according to the computer equipment.In addition, memory 1010 may include high random access storage Device can also include nonvolatile memory, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one magnetic disk storage Part, flush memory device or other volatile solid-state parts.Correspondingly, memory 1010 can also include Memory Controller, To provide access of the processor 1020 to memory 1010.
The processor 1020 is the control centre of computer equipment 1000, is entirely counted using various interfaces and connection The various pieces for calculating machine equipment, by running or executing the software program and/or module that are stored in memory 1010, and tune With the data being stored in memory 1010, the various functions and processing data of computer equipment 1000 are executed, thus to calculating Machine equipment 1000 carries out integral monitoring.The processor 1020 can be central processing unit (Central Processing Unit, CPU), can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate Array (Field-Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or crystal Pipe logical device, discrete hardware components etc..General processor can be microprocessor or the processor be also possible to it is any often The processor etc. of rule.
The input unit 1030 can be used for receiving the number or character information of input, and generate with user setting and The related keyboard of function control, mouse, operating stick, optics or trackball signal input.Specifically, input unit 1030 can wrap Include image input device 1031 and other input equipments 1032.Image input device 1031 can be camera, be also possible to Photoelectric scanning device.In addition to image input device 1031, input unit 1030 can also include other input equipments 1032.Specifically Ground, other input equipments 1032 can include but is not limited to physical keyboard, function key (such as volume control button, switch key Deng), trace ball, mouse, one of operating stick etc. or a variety of.
The display unit 1040 can be used for showing information input by user or the information and terminal that are supplied to user Various graphical user interface, these graphical user interface can be by figure, text, icon, video and any combination thereof come structure At.Display unit 1040 may include display panel 1041, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 1041.
The computer equipment 1000 further includes the power supply 1050 (such as battery) powered to all parts, it is preferred that electricity Source can be logically contiguous by power-supply management system and processor 1020, thus charged by power-supply management system realization management, The functions such as electric discharge and power managed.Power supply 1050 can also include one or more direct current or AC power source, fill again The random components such as electric system, power failure detection circuit, power adapter or inverter, power supply status indicator.
It should be noted that the computer equipment 1000 can also be including bluetooth module etc., herein not although being not shown It repeats again.
The embodiment of the invention also provides a kind of computer readable storage medium, at least one is stored in the storage medium Item instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code Collection or instruction set are loaded as processor and are executed to realize the installation bag data of the iOS system as provided by above-mentioned embodiment of the method Acquisition method.
If the integrated module of the computer equipment or unit are realized in the form of SFU software functional unit and as only Vertical product when selling or using, can store in a computer readable storage medium.Optionally, in the present embodiment, Above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (Read-Only Memory, ROM), arbitrary access are deposited Reservoir (Random Access Memory, RAM), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.
In conclusion iOS system installation kit collecting method, device, equipment and medium of the invention, under automatic Ipa packet is carried, ipa packet is pushed in the iOS device of connection automatically, automatic to install ipa packet, automatic starting application after being installed Program, and obtain in a pre-installation, installation after and starting after each stage related mount message, realize iOS device install automatically, Start application program, and obtain the installation kit size data of each stage game automatically, reduces the operation of user, enhance user Experience.
It, can be efficiently and in real time using iOS system installation kit collecting method, device, equipment and medium of the invention The installation kit size data of a large amount of game is obtained, installation kit size variation trend is monitored, provides data for analysis installation kit variation Support, timely early warning installation kit is excessive, and helps to optimize installation kit size.
It should be understood that embodiments of the present invention sequencing is for illustration only, do not represent the advantages or disadvantages of the embodiments. And above-mentioned this specification specific embodiment is described.Other embodiments are within the scope of the appended claims.One In a little situations, the movement recorded in detail in the claims or step can be executed according to the sequence being different from embodiment and Still desired result may be implemented.In addition, process depicted in the drawing not necessarily requires the particular order shown or company Continuous sequence is just able to achieve desired result.In some embodiments, multitasking and parallel processing it is also possible or It may be advantageous.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device, For terminal and server embodiment, since it is substantially similar to the method embodiment, so being described relatively simple, related place Illustrate referring to the part of embodiment of the method.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of iOS system installation kit collecting method is applied in computer equipment characterized by comprising
After iOS device accesses the computer equipment, detect whether the target application in the iOS device has update;
If the target application has update, Xiang Suoshu iOS device sends the installation kit of the target application and the first triggering refers to It enables, so that the iOS device, which runs the installation kit according to the first triggering command, installs the target application;
The first acquisition instruction is sent to the iOS device by safety shell protocol, obtains the iOS device according to described first The file information being installed under rear installation directory that acquisition instruction returns;
The second triggering command is sent to the iOS device by the safety shell protocol, so that the iOS device is according to Second triggering command starts the target application;
The second acquisition instruction is sent to the iOS device by the safety shell protocol, obtains the iOS device according to The file information after the start completion that second acquisition instruction returns under installation directory.
2. the method according to claim 1, wherein described after iOS device accesses the computer equipment, inspection Whether the target application surveyed in the iOS device has the update to include:
It is established and is communicated to connect using third party open source library and the iOS device;
Third acquisition instruction is sent to the iOS device by the interface in third party open source library, obtains the iOS device root The target application information returned according to the third acquisition instruction;
The target application information is compared with the application message in default list of application, determines whether target application has more Newly.
3. if according to the method described in claim 2, it is characterized in that, the target application has update, Xiang Suoshu IOS device sends the installation kit and first triggering command of the target application, so that the iOS device is according to first triggering Instruction runs the installation kit installation target application
Installation kit and the first triggering of the target application are sent to the iOS device by the interface in third party open source library Instruction.
4. method according to claim 1 to 3, which is characterized in that it is described by safety shell protocol to described IOS device send the first acquisition instruction, obtain the iOS device according to first acquisition instruction return be installed after pacify Before the file information under dress catalogue, further includes:
It is established and is communicated to connect with the iOS device using the usbmuxd service disposed in the computer equipment.
5. according to the method described in claim 2, it is characterized in that, the method also includes:
Obtain the application more new information based on iOS system;
List of application is preset according to application update information update;
According to the installation kit of the application more new information downloading application.
6. according to the method described in claim 5, it is characterized in that, application more new packets of the acquisition based on iOS system It includes:
Grab the Secure Hypertext Transfer Protocol request that iTunes user end to server is sent, the secure hyper text transport association View request applies more new information for obtaining;
It simulates iTunes user end to server and sends the Secure Hypertext Transfer Protocol request;
Obtain the application more new information that server returns.
7. method according to claim 5 or 6, it is characterised in that:
The application more new packets include installation package informatin;
It is described to include: according to the installation kit for applying the downloading application of more new information
It is described according to the hypertext transfer protocol requests that the installation kit information scratching applies assistant's user end to server to send Hypertext transfer protocol requests are used to obtain the download link of installation kit;
Simulation application assistant's user end to server sends the hypertext transfer protocol requests;
Obtain the installation kit download link that server returns;
According to the installation kit of installation kit download link downloading application.
8. a kind of iOS system installation kit data acquisition device, is set in computer equipment characterized by comprising
Detection module, for after iOS device accesses the computer equipment, the target application detected in the iOS device to be It is no to have update;
Module is installed, for when the target application has update, Xiang Suoshu iOS device to send the installation kit of the target application And first triggering command, so that the iOS device, which runs the installation kit according to the first triggering command, installs the target Using;
First obtains module, for sending the first acquisition instruction to the iOS device by safety shell protocol, described in acquisition The file information being installed under rear installation directory that iOS device is returned according to first acquisition instruction;
Starting module, for sending the second triggering command to the iOS device by the safety shell protocol, so that described IOS device starts the target application according to second triggering command;
Second obtains module, for sending the second acquisition instruction to the iOS device by the safety shell protocol, obtains institute State the file information after the start completion that iOS device is returned according to second acquisition instruction under installation directory.
9. a kind of computer equipment, which is characterized in that the computer equipment includes processor and memory, in the memory It is stored at least one instruction, at least a Duan Chengxu, code set or instruction set, described at least one instructs, is at least one section described Program, the code set or instruction set are as the processor loads and executes to realize as described in claim 1-7 any one IOS system installation kit collecting method.
10. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, extremely in the storage medium A few Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or instruction Collect as processor loads and executes to realize that the iOS system as described in claim 1-7 any one installs bag data acquisition side Method.
CN201910495717.0A 2019-06-10 2019-06-10 iOS system installation packet data acquisition method, device, equipment and medium Active CN110333874B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910495717.0A CN110333874B (en) 2019-06-10 2019-06-10 iOS system installation packet data acquisition method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910495717.0A CN110333874B (en) 2019-06-10 2019-06-10 iOS system installation packet data acquisition method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN110333874A true CN110333874A (en) 2019-10-15
CN110333874B CN110333874B (en) 2022-09-23

Family

ID=68140869

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910495717.0A Active CN110333874B (en) 2019-06-10 2019-06-10 iOS system installation packet data acquisition method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN110333874B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111142892A (en) * 2019-12-30 2020-05-12 飞天诚信科技股份有限公司 Automatic installation method of ios application program and communication device
CN114329360A (en) * 2022-01-07 2022-04-12 每日互动股份有限公司 Method, electronic device and medium for fuzzification pkg
CN116541253A (en) * 2023-07-07 2023-08-04 深圳软牛科技有限公司 Application detection method, system, terminal equipment and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133693A (en) * 2014-07-10 2014-11-05 腾讯科技(深圳)有限公司 Installation state detection method, device and terminal
CN104317607A (en) * 2014-09-27 2015-01-28 昆明钢铁集团有限责任公司 Enterprise In-house IOS APP automatic update system and method
US20160170712A1 (en) * 2014-12-15 2016-06-16 Beijing Jinher Software Co., Ltd Method for integrally implementing development and release of APP
CN107172165A (en) * 2017-05-25 2017-09-15 万兴科技股份有限公司 A kind of method of data synchronization and device
CN108399071A (en) * 2018-01-19 2018-08-14 五八有限公司 Processing method, device, equipment and the storage medium of application program installation kit size
CN108563478A (en) * 2018-03-06 2018-09-21 北京酷我科技有限公司 Skin strategy is changed in a kind of App startup

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133693A (en) * 2014-07-10 2014-11-05 腾讯科技(深圳)有限公司 Installation state detection method, device and terminal
CN104317607A (en) * 2014-09-27 2015-01-28 昆明钢铁集团有限责任公司 Enterprise In-house IOS APP automatic update system and method
US20160170712A1 (en) * 2014-12-15 2016-06-16 Beijing Jinher Software Co., Ltd Method for integrally implementing development and release of APP
CN107172165A (en) * 2017-05-25 2017-09-15 万兴科技股份有限公司 A kind of method of data synchronization and device
CN108399071A (en) * 2018-01-19 2018-08-14 五八有限公司 Processing method, device, equipment and the storage medium of application program installation kit size
CN108563478A (en) * 2018-03-06 2018-09-21 北京酷我科技有限公司 Skin strategy is changed in a kind of App startup

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111142892A (en) * 2019-12-30 2020-05-12 飞天诚信科技股份有限公司 Automatic installation method of ios application program and communication device
CN114329360A (en) * 2022-01-07 2022-04-12 每日互动股份有限公司 Method, electronic device and medium for fuzzification pkg
CN116541253A (en) * 2023-07-07 2023-08-04 深圳软牛科技有限公司 Application detection method, system, terminal equipment and readable storage medium
CN116541253B (en) * 2023-07-07 2024-03-26 深圳软牛科技有限公司 Application detection method, system, terminal equipment and readable storage medium

Also Published As

Publication number Publication date
CN110333874B (en) 2022-09-23

Similar Documents

Publication Publication Date Title
CN106973099B (en) A kind of data-updating method, apparatus and system
CN110333874A (en) A kind of iOS system installation kit collecting method, device, equipment and medium
CN102939579B (en) The method and apparatus that user bound interface element and granularity reflection process
CN106095458B (en) The management method and device of plug-in unit in a kind of application program
CN105378655B (en) Method for the installation of the driver of target and the equipment being not present
CN108880867A (en) A kind of network equipment collecting method and system
CN106534281B (en) A kind of response method of request of data, apparatus and system
US9372885B2 (en) System and methods thereof for dynamically updating the contents of a folder on a device
CN106778117B (en) Permission open method, apparatus and system
CN104978176B (en) Application programming interfaces call method, device and computer readable storage medium
CN103729425B (en) Operate response method, client, browser and system
CN108039963B (en) Container configuration method and device and storage medium
CN106155751A (en) Application packing and issuing method and device
WO2016145747A1 (en) Smart gateway functional plug-in management method, client terminal and system
BRPI0807435A2 (en) PROCEDURE FOR PROVIDING CONNECTIVITY BETWEEN A PORTABLE DEVICE, COMPUTER SECRETARY DEVICE AND NETWORK RESOURCES
CN103279396A (en) System and method for transferring applications and session state to a secondary device
CN104965716A (en) Icon updating method, client apparatus, and terminal apparatus
CN106598678A (en) Method and device for supplying application installation packages to terminal equipment
CN106230977B (en) A kind of client functionality loading method, system, client and server-side
CN106339273A (en) Application program restoration method, terminal and server
CN105786511A (en) Implementation method for terminal device Web application management
CN109062468A (en) Multi-screen display method, device, storage medium and electronic equipment
CN105872121A (en) Method for connecting terminal with server, terminal and domain name server
CN106953898A (en) A kind of method and apparatus for obtaining software kit
CN108874653A (en) Task test method, test machine, shared server and readable storage medium storing program for executing

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