CN109408139A - Open method, device, computer equipment and the storage medium of application program - Google Patents

Open method, device, computer equipment and the storage medium of application program Download PDF

Info

Publication number
CN109408139A
CN109408139A CN201811125797.2A CN201811125797A CN109408139A CN 109408139 A CN109408139 A CN 109408139A CN 201811125797 A CN201811125797 A CN 201811125797A CN 109408139 A CN109408139 A CN 109408139A
Authority
CN
China
Prior art keywords
resource packet
packet
resource
application program
newest
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.)
Pending
Application number
CN201811125797.2A
Other languages
Chinese (zh)
Inventor
周鹏
胡御宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201811125797.2A priority Critical patent/CN109408139A/en
Publication of CN109408139A publication Critical patent/CN109408139A/en
Pending legal-status Critical Current

Links

Classifications

    • 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)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the present application discloses open method, device, computer equipment and the storage medium of a kind of application program, if wherein method includes: to detect that the opening operation of application program is opened in triggering, the corresponding newest resource allocation information of the application program is obtained, wherein the newest resource allocation information includes resource packet version number and resource packet address information;Whether the Current resource packet that the application program is judged according to resource packet version number is latest edition;If the Current resource packet is not latest edition, newest resource packet is downloaded according to the resource packet address information;Judge whether the newest resource packet downloads success;If downloading successfully, the newest resource packet is loaded to open the application program.The open method may insure that user opens the application program with same asset packet version, thus avoid because of loss and trouble caused by executing different service logics, and then improve the experience of user.

Description

Open method, device, computer equipment and the storage medium of application program
Technical field
This application involves Internet technical fields more particularly to a kind of open method of application program, device, computer to set Standby and storage medium.
Background technique
Currently, application program (Application, abbreviation App), the especially App on intelligent terminal, are both needed under network Resource packet is carried to local progress loaded and displayed, but due to network problem or CDN (Content DeliveryNetwork, it is interior Content distributing network) problem, cause certain customers to load failure, and then early version resource packet has mistakenly been used to enter corresponding industry Business line process is operated, for example the application program of new version is adjusted or modifies to service logic, and user also makes Carry out loaded and displayed with the resource packet of early version, be then easy to be operated using original service logic, thus can to client and Company causes some unnecessary losses and trouble.Therefore, it is necessary to a kind of open method of application program be provided, on solving State problem.
Summary of the invention
This application provides a kind of open method of application program, device, computer equipment and storage mediums, to ensure not Same use can open the application program with identical version per family, thus avoid because of damage caused by executing different service logics It becomes estranged trouble.
This application provides a kind of open methods of application program comprising:
If detecting, the opening operation of application program is opened in triggering, obtains the corresponding newest resource distribution of the application program Information, the newest resource allocation information include resource packet version number and resource packet address information;
Whether the Current resource packet that the application program is judged according to resource packet version number is latest edition;
If the Current resource packet is not latest edition, newest resource packet is downloaded according to the resource packet address information;
Judge whether the newest resource packet downloads success;
If the newest resource packet is downloaded successfully, the newest resource packet is loaded to open the application program.
This application provides a kind of opening devices of application program comprising:
Information acquisition unit, if obtaining the application program for detecting that the opening operation of application program is opened in triggering Corresponding newest resource allocation information, the newest resource allocation information include resource packet version number and resource packet address information;
Version judging unit, for judged according to the resource packet version number application program Current resource packet whether For latest edition;
Resource downloading unit, if not being latest edition for the Current resource packet, according to the resource packet address information Download newest resource packet;
Resource judgment unit, for judging whether the newest resource packet downloads success;
Opening unit is loaded, if downloading successfully for the newest resource packet, loads the newest resource packet to open State application program.
Present invention also provides a kind of computer equipments comprising memory, processor and is stored on the memory And the computer program that can be run on the processor, the processor realize provided by the present application when executing described program The step of open method of application program described in meaning one.
Present invention also provides a kind of computer storage mediums, wherein the computer storage medium is stored with computer journey Sequence, the computer program execute the processor to answer described in any embodiment provided by the present application when being executed by processor The step of with the open method of program.
The embodiment of the present application provides open method, device, computer equipment and the storage medium of application program, by When detecting that the opening operation of application program is opened in triggering, application program is directly opened not according to the opening operation, but root The corresponding newest resource allocation information of the application program is obtained according to opening operation;According in the newest resource allocation information Resource packet version number judges whether the Current resource packet of the application program is latest edition;If the Current resource packet is not most New version downloads newest resource packet according to the resource packet address information in the newest resource allocation information;If the newest money Source packet is downloaded successfully, loads the newest resource packet to open the application program.The open method of the application program can be true Family unlatching of guaranteeing has the application program of same asset packet version, thus avoids because of damage caused by executing different service logics It becomes estranged trouble, and then improves the experience of user.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in embodiment description Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present application, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of schematic flow diagram of the open method for application program that one embodiment of the application provides;
Fig. 2 is the sub-step schematic flow diagram of the open method of application program in Fig. 1;
Fig. 3 is a kind of schematic flow diagram of the open method for application program that another embodiment of the application provides;
Fig. 4 is the sub-step schematic flow diagram of the open method of application program in Fig. 3;
Fig. 5 is a kind of schematic block diagram of the opening device for application program that one embodiment of the application provides;
Fig. 6 is a kind of schematic block diagram of the opening device for application program that another embodiment of the application provides;
Fig. 7 is a kind of schematic block diagram for computer equipment that one embodiment of the application provides.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Based on this Shen Please in embodiment, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall in the protection scope of this application.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded Body, step, operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this present specification merely for the sake of description specific embodiment And be not intended to limit the application.As present specification and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
Referring to Fig. 1, Fig. 1 is a kind of exemplary flow of the open method for application program that one embodiment of the application provides Figure.In this method application terminal, which includes: mobile phone, plate and notebook etc..As shown in Figure 1, the open method includes step Rapid S101~S105.
If S101, detecting that the opening operation of application program is opened in triggering, the corresponding newest money of the application program is obtained Source configuration information, the newest resource allocation information include resource packet version number and resource packet address information.
In the present embodiment, the opening operation opens application program for triggering, and the opening operation includes clicking to answer With click login button etc. after the corresponding clicking operation of the icon of program, or input logon name and login password.In order to anti- Only different users is loaded using the resource packet of different editions to open the application program, is applied detecting that triggering is opened It is not the application program directly to be opened according to the opening operation, but obtain the application program when opening operation of program Corresponding newest resource allocation information, wherein the newest resource allocation information includes resource packet version number and resource packet address Information, the resource packet version number are the corresponding version number of newest resource packet that the developer of application program develops, the resource Packet address information includes download address, which includes the download address of incremental resource packet and the downloading of full dose resource packet Location.
S102, judge whether the Current resource packet of the application program is latest edition according to resource packet version number.
In the present embodiment, institute is specifically judged according to the version number of resource packet version number and the Current resource packet Whether the Current resource packet for stating application program is latest edition, is based on this, step S102 includes sub-step S102a to S102c.Such as Shown in Fig. 2, wherein S102a, obtain the application program Current resource packet version number;S102b, judge the current money Source packet version number whether match with resource packet version number: if the version number of S102c, the Current resource packet with it is described Resource packet version number matches, and determines that the Current resource packet is latest edition.
For example, the version number of Current resource packet is 100 and resource packet version number is 101, then determine described using journey The Current resource packet of sequence is not latest edition;If the version number of Current resource packet is 101 and resource packet version number is 101, then determine that the Current resource packet of the application program is latest edition.
Specifically, if judging whether the Current resource packet of the application program is latest edition according to resource packet version number This;If the Current resource packet of the application program is latest edition, loads Current resource packet and open the application program;If institute The Current resource packet for stating application program is not latest edition, thens follow the steps S103.
S103, newest resource packet is downloaded according to the resource packet address information.
In the present embodiment, if the Current resource packet of the application program is not latest edition, according to the resource packet Location information download address downloads newest resource packet.For example incremental resource packet is downloaded as most according to the download address of incremental resource packet New resources packet, or full dose resource packet is downloaded as newest resource packet according to the download address of full dose resource packet.
S104, judge whether the newest resource packet downloads success.
In the present embodiment, judge whether the newest resource packet downloads success, it specifically can be by detecting the newest money The download progress of source packet judges whether the newest resource packet downloads success, or the data integrity of the newest resource packet of detection Judge whether the newest resource packet downloads success.If the newest resource packet is downloaded successfully, S105 is thened follow the steps;If described Newest resource packet failed download, then to lookup failed download reason, for example there are network problems etc..
If S105, the newest resource packet are downloaded successfully, the newest resource packet is loaded to open the application program.
In the present embodiment, if the newest resource packet is downloaded successfully, open command is generated according to the opening operation, And the application program is opened according to the open command load newest resource packet.It can be seen that this method can be to avoid Different users enters the application program of different editions, thus causes some unnecessary losses and trouble to user and company.
The open method of above-described embodiment by detect triggering open application program opening operation when, not according to The opening operation directly opens application program, but obtains the corresponding newest resource distribution of the application program according to opening operation Information;According to the resource packet version number in the newest resource allocation information judge the application program Current resource packet whether For latest edition;If the Current resource packet is not latest edition, according to the resource packet in the newest resource allocation information Location information downloads newest resource packet;If the newest resource packet is downloaded successfully, the newest resource packet is loaded to open described answer Use program.The open method of the application program may insure that user opens the application program with same asset packet version, thus It avoids because of loss and trouble caused by executing different service logics, and then improves the experience of user.
Referring to Fig. 3, Fig. 3 is a kind of exemplary flow of the open method for application program that another embodiment of the application provides Figure.In this method application terminal, as shown in figure 3, the open method includes step S201~S210.
S201, the newest resource allocation information for receiving server push, the newest resource allocation information includes resource packet Version number and resource packet address information, the resource packet address information include delta package address information and full dose packet address information.
In the present embodiment, if the developer of application program has carried out application program to improve or increase certain function Can, then it can issue new version and then configure corresponding newest resource allocation information, and pass through the newest resource distribution of server push Information pushes in the terminal for being equipped with the application program, and the newest resource allocation information includes resource packet version number and money Source packet address information, the resource packet address information include delta package address information and full dose packet address information.
If S202, detecting that the opening operation of application program is opened in triggering, the corresponding newest money of the application program is obtained Source configuration information.
It in the present embodiment, is not to be grasped according to the unlatching when detecting that the opening operation of application program is opened in triggering The application program is directly opened, but obtains the corresponding newest resource allocation information of the application program, wherein is described newest Resource allocation information includes resource packet version number and resource packet address information, which is the exploit person of application program The corresponding version number of newest resource packet of member's exploitation, the resource packet address information includes download address, which includes The download address of incremental resource packet and the download address of full dose resource packet.
S203, judge whether the Current resource packet of the application program is latest edition according to resource packet version number.
Wherein, it if the Current resource packet of the application program is latest edition, loads and is answered described in the unlatching of Current resource packet Use program;If the Current resource packet is not latest edition, S204 is thened follow the steps.
S204, newest resource packet is downloaded according to the resource packet address information.
In the present embodiment, the resource packet address information includes: delta package address information and full dose packet address information, base In this, step S204 includes step S204a to S204e.As shown in Figure 4, wherein S204a, according to the delta package address information Judge whether there is incremental resource packet;S204b, if it exists the incremental resource packet are downloaded according to the delta package address information The incremental resource packet is as the newest resource packet;S204c, judge whether the downloading incremental resource packet downloads success; If S204d, the incremental resource packet failed download, according to full dose packet address information downloading full dose resource packet conduct Newest resource packet;S204e, if it does not exist the incremental resource packet download full dose resource packet according to the full dose packet address information As the newest resource packet.
Specifically, incremental resource is judged whether there is according to the delta package address information in the resource packet address information Packet, for example delta package address information includes URL (Uniform Resource Locator, uniform resource locator) address, such as The fruit address URL is not null value, then shows that there are incremental resource packets.The incremental resource packet if it exists, according to the delta package Address information downloads the incremental resource packet and generates newest resource packet according to the incremental resource packet;The increment if it does not exist Resource packet downloads full dose resource packet as the newest resource packet according to the full dose packet address information.In addition, according to the increasing After measuring the packet address information downloading incremental resource packet, also judge whether the downloading incremental resource packet downloads success;If institute Incremental resource packet failed download is stated, then full dose resource packet is downloaded as the newest resource according to the full dose packet address information Packet.Thus speed of download is not only accelerated, also improves the downloading mode of multiplicity, it is ensured that the application program can be according to newest resource Packet opens display.
S205, judge whether the newest resource packet downloads success.
Specifically, judge whether the newest resource packet downloads success;If the newest resource packet failed download, executes Step S206;If the newest resource packet is downloaded successfully, S210 is thened follow the steps.
S206, the statistics failed download number, and judge whether the failed download number reaches preset times.
In the present embodiment, if the newest resource packet failed download, counts the failed download number, and judge institute State whether failed download number reaches preset times.For example statistics failed download number is 5 times, preset times are 4 times, judge institute It states failed download number and reaches preset times.
If S207, the failed download number reach the preset times, show that default resource repairs frame to prompt to use Family carries out local reparation, and it includes deleting control that the default resource, which repairs frame,.
Specifically, show that default resource repairs frame in the current interface of terminal, wherein the default resource is repaired frame and shown Prompt information is to prompt user to carry out local reparation.Furthermore the default resource, which repairs frame, may also include deletion control.
If S208, detect trigger it is described delete control clicking operation, according to the clicking operation obtain described in work as The Current resource packet is simultaneously deleted by the corresponding default version number of preceding resource packet.
In the present embodiment, if detecting, user clicks the clicking operation for deleting control, is obtained according to clicking operation It takes the corresponding default version number of the Current resource packet and deletes the Current resource packet, which includes Current resource The corresponding previous release of the version number of packet, naturally it is also possible to be other versions.
S209, Current resource packet of the corresponding resource packet of the default version number as the application program is loaded.
In the present embodiment, specifically, money corresponding to the corresponding previous release of version number of Current resource packet is loaded The Current resource packet as the application program is wrapped in source, and returns to step S203.
For example, the corresponding previous release of the version number of Current resource packet is the resource packet version that App is initially integrated.Such as It is 99 version numbers that App is initially integrated, behind by being once upgraded to 100 version numbers, now issued 101 versions on line Number, the incremental resource packet of downloading 100 version numbers to 101 version numbers will be removed at this time, if the incremental resource packet failed download, It can remove the full dose resource packet of downloading 101;If the full dose resource packet also failed download, user will be guided to click a deletion and pressed Button deletes the corresponding resource packet of 100 this version number, reverts to 99 initial version numbers.Thus when upgrading again, The incremental resource packet that will go to downloading 99 version numbers to 101 version numbers, is equivalent in this way and has expanded a route, not only include The incremental resource packet of 100 version numbers to 101 version numbers further includes the incremental resource packet of 99 version numbers to 101 version numbers.Thus under It is more to carry route, success possibility will be bigger.
S210, the load newest resource packet are to open the application program.
Specifically, if the newest resource packet is downloaded successfully, according to opening operation generation open command, and according to The open command load newest resource packet opens the application program.It can be seen that this method can be to avoid different User enters the application program of different editions, thus causes some unnecessary losses and trouble to user and company.
Fig. 5 is a kind of schematic block diagram of the opening device of application program provided by the embodiments of the present application.As shown in figure 5, Corresponding to the open method of use above program, the application also provides a kind of opening device of application program.The application program Opening device includes the unit for executing the open method of above-mentioned application program, which can be configured in terminal.Such as Shown in Fig. 5, the opening device 300 of application program includes: information acquisition unit 301, version judging unit 302, resource downloading list Member 303, resource judgment unit 304 and load opening unit 305.
Information acquisition unit 301, if being obtained described using journey for detecting that the opening operation of application program is opened in triggering The corresponding newest resource allocation information of sequence, the newest resource allocation information include resource packet version number and resource packet address letter Breath.
Version judging unit 302, for judging the Current resource packet of the application program according to resource packet version number It whether is latest edition;Wherein, version judging unit 302 is specifically used for: obtaining the version of the Current resource packet of the application program This number;Whether the version number and resource packet version number for judging the Current resource packet match: if the Current resource packet Version number match with resource packet version number, determine that the Current resource packet is latest edition.
Resource downloading unit 303 is believed if not being latest edition for the Current resource packet according to the resource packet address Breath downloads newest resource packet.
Resource judgment unit 304, for judging whether the newest resource packet downloads success.
Opening unit 305 is loaded, if downloading successfully for the newest resource packet, loads the newest resource packet to open The application program.
Fig. 6 is a kind of schematic block diagram of the opening device of application program provided by the embodiments of the present application.As shown in fig. 6, Corresponding to the open method of use above program, the application also provides a kind of opening device of application program.The application program Opening device includes the unit for executing the open method of above-mentioned application program, which can be configured in terminal.Such as Shown in Fig. 6, the opening device 500 of application program includes: information push unit 501, information acquisition unit 502, version judgement list Member 503, resource judgment unit 505, Statistic analysis unit 506, display reminding unit 507, is obtained and is deleted resource downloading unit 504 Except unit 508, load setting unit 509 and load opening unit 510.
Information push unit 501, for receiving the newest resource allocation information of server push, the newest resource distribution Information includes resource packet version number and resource packet address information, and the resource packet address information includes delta package address information and complete Measure packet address information.
Information acquisition unit 502, if being obtained described using journey for detecting that the opening operation of application program is opened in triggering The corresponding newest resource allocation information of sequence, the newest resource allocation information include resource packet version number and resource packet address letter Breath.
Version judging unit 503, for judging the Current resource packet of the application program according to resource packet version number It whether is latest edition.
Resource downloading unit 504 is believed if not being latest edition for the Current resource packet according to the resource packet address Breath downloads newest resource packet.
Wherein, resource downloading unit 504, is specifically also used to: judging whether there is increasing according to the delta package address information Measure resource packet;The incremental resource packet if it exists downloads the incremental resource packet as institute according to the delta package address information State newest resource packet;Judge whether the downloading incremental resource packet downloads success;If the incremental resource packet failed download, root According to full dose packet address information downloading full dose resource packet as the newest resource packet;The incremental resource packet if it does not exist, Full dose resource packet is downloaded as the newest resource packet according to the full dose packet address information.
Resource judgment unit 505, for judging whether the newest resource packet downloads success.Wherein, judge described newest Whether resource packet downloads success;If the newest resource packet failed download, calls Statistic analysis unit 506;If described newest Resource packet is downloaded successfully, then calls load opening unit 510.
Statistic analysis unit 506 for counting the failed download number, and judges whether the failed download number reaches To preset times.
Display reminding unit 507 shows default resource if reaching the preset times for the failed download number Frame is repaired to prompt user to carry out local reparation, it includes deleting control that the default resource, which repairs frame,.
It obtains and deletes unit 508, if the clicking operation for deleting control is triggered for detecting, according to the click Operation obtains the corresponding default version number of the Current resource packet and deletes the Current resource packet.
Setting unit 509 is loaded, for loading the corresponding resource packet of the default version number as the application program Current resource packet, and return and call version judging unit 503.
Opening unit 510 is loaded, for loading the newest resource packet to open the application program.
It is apparent to those skilled in the art that for convenience of description and succinctly, foregoing description is answered With the opening device of program and the specific work process of unit, can refer to corresponding processes in the foregoing method embodiment, herein It repeats no more.
Above-mentioned apparatus can be implemented as a kind of form of computer program, and computer program can be in meter as shown in Figure 7 It calculates and is run on machine equipment.
Referring to Fig. 7, Fig. 7 is a kind of schematic block diagram of computer equipment provided by the embodiments of the present application.The computer Equipment 700 can be terminal.
Referring to Fig. 7, which includes processor 720, memory and the net connected by system bus 710 Network interface 750, wherein memory may include non-volatile memory medium 730 and built-in storage 740.
The non-volatile memory medium 730 can storage program area 731 and computer program 732.The computer program 732 It is performed, processor 720 may make to execute the open method of any one application program.
The processor 720 supports the operation of entire computer equipment 700 for providing calculating and control ability.
The built-in storage 740 provides environment for the operation of the computer program 732 in non-volatile memory medium 730, should When computer program 732 is executed by processor 720, processor 720 may make to execute the open method of any one application program.
The network interface 750 such as sends the task dispatching of distribution for carrying out network communication.Those skilled in the art can manage It solves, structure shown in Fig. 7, only the block diagram of part-structure relevant to application scheme, is not constituted to the application side The restriction for the computer equipment 700 that case is applied thereon, specific computer equipment 700 may include more than as shown in the figure Or less component, perhaps combine certain components or with different component layouts.Wherein, the processor 720 is for transporting Row program code stored in memory, to realize following steps:
If detecting, the opening operation of application program is opened in triggering, obtains the corresponding newest resource distribution of the application program Information, the newest resource allocation information include resource packet version number and resource packet address information;According to the resource packet version Number judge whether the Current resource packet of the application program is latest edition;If the Current resource packet is not latest edition, root Newest resource packet is downloaded according to the resource packet address information;Judge whether the newest resource packet downloads success;If described newest Resource packet is downloaded successfully, loads the newest resource packet to open the application program.
In one embodiment, the processor 720 realizes described for running program code stored in memory When judging whether the Current resource packet of the application program is latest edition according to resource packet version number, it is implemented as follows step It is rapid:
Obtain the version number of the Current resource packet of the application program;Judge the version number of the Current resource packet with it is described Whether resource packet version number matches: if the version number of the Current resource packet matches with resource packet version number, determining The Current resource packet is latest edition.
In one embodiment, if the processor 720 is described for running program code realization stored in memory Before detecting the opening operation that application program is opened in triggering, following steps are also realized:
The newest resource allocation information of server push is received, the newest resource allocation information includes resource packet version number With resource packet address information, the resource packet address information includes delta package address information and full dose packet address information.
In one embodiment, the processor 720 realizes described for running program code stored in memory When downloading newest resource packet according to the resource packet address information, it is implemented as follows step:
Incremental resource packet is judged whether there is according to the delta package address information;The incremental resource packet if it exists, root The incremental resource packet is downloaded as the newest resource packet according to the delta package address information;The incremental resource if it does not exist Packet downloads full dose resource packet as the newest resource packet according to the full dose packet address information.
In one embodiment, the processor 720 realizes described for running program code stored in memory After downloading the incremental resource packet as the newest resource packet according to the delta package address information, following steps are also realized:
Judge whether the downloading incremental resource packet downloads success;If the incremental resource packet failed download, according to institute Full dose packet address information downloading full dose resource packet is stated as the newest resource packet.
In one embodiment, the processor 720 is sentenced described in program code realization stored in memory for running After whether the newest resource packet that breaks is downloaded successfully, following steps are also realized:
If the newest resource packet failed download, counts the failed download number, and judges the failed download number Whether preset times are reached;If the failed download number reaches the preset times, show that default resource repairs frame to mention Show that user carries out local reparation.
In one embodiment, it includes deleting control that the default resource, which repairs frame,;The processor 720 is for running storage After program code in memory realizes that the default resource of the display repairs frame to prompt user to carry out local reparation, go back real Existing following steps:
The clicking operation for deleting control is triggered if detecting, the Current resource is obtained according to the clicking operation It wraps corresponding default version number and deletes the Current resource packet;It loads described in the corresponding resource packet conduct of the default version number The Current resource packet of application program.
It should be appreciated that in the embodiment of the present application, processor 720 can be central processing unit (Central ProcessingUnit, CPU), which 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 GateArray, FPGA) or other programmable logic devices Part, discrete gate or transistor logic, discrete hardware components etc..Wherein, general processor can be microprocessor or The processor is also possible to any conventional processor etc..
It will be understood by those skilled in the art that 700 structure of computer equipment shown in Fig. 7 is not constituted and is set to computer Standby 700 restriction may include perhaps combining certain components or different component cloth than illustrating more or fewer components It sets.
Those of ordinary skill in the art will appreciate that be realize above-described embodiment method in all or part of the process, be Relevant hardware can be instructed to complete by computer program, computer program can be stored in a storage medium, this is deposited Storage media is computer readable storage medium.In the embodiment of the present invention, which can be stored in computer system It in storage medium, and is executed by least one processor in the computer system, includes the reality such as above-mentioned each method with realization Apply the process step of example.
The computer readable storage medium can be magnetic disk, CD, USB flash disk, mobile hard disk, read-only memory (ROM, Read- OnlyMemory), the various media that can store program code such as magnetic or disk.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not It is considered as beyond scope of the present application.
In several embodiments provided herein, it should be understood that the opening device of disclosed application program and Method may be implemented in other ways.For example, the opening device embodiment of application program described above is only to show Meaning property.For example, the division of each unit, only a kind of logical function partition, can there is other division in actual implementation Mode.Such as multiple units or components can be combined or can be integrated into another system, or some features can be ignored, or It does not execute.
Step in the embodiment of the present application method can be sequentially adjusted, merged and deleted according to actual needs.
Unit in the embodiment of the present application device can be combined, divided and deleted according to actual needs.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, is also possible to two or more units and is integrated in one unit.It is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product, It can store in a computer readable storage medium.Based on this understanding, the technical solution of the application substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a storage medium, including some instructions are with so that a computer is set Standby (can be personal computer, terminal or the network equipment etc.) execute each embodiment the method for the application whole or Part steps.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Those familiar with the art within the technical scope of the present application, can readily occur in various equivalent modifications or replace It changes, these modifications or substitutions should all cover within the scope of protection of this application.Therefore, the protection scope of the application should be with right It is required that protection scope subject to.

Claims (10)

1. a kind of open method of application program characterized by comprising
If detecting, the opening operation of application program is opened in triggering, obtains the corresponding newest resource distribution letter of the application program Breath, the newest resource allocation information includes resource packet version number and resource packet address information;
Whether the Current resource packet that the application program is judged according to resource packet version number is latest edition;
If the Current resource packet is not latest edition, newest resource packet is downloaded according to the resource packet address information;
Judge whether the newest resource packet downloads success;
If the newest resource packet is downloaded successfully, the newest resource packet is loaded to open the application program.
2. the open method of application program according to claim 1, which is characterized in that described according to the resource packet version Number judge whether the Current resource packet of the application program is latest edition, comprising:
Obtain the version number of the Current resource packet of the application program;
Whether the version number and resource packet version number for judging the Current resource packet match:
If the version number of the Current resource packet matches with resource packet version number, determine that the Current resource packet is newest Version.
3. the open method of application program according to claim 1, which is characterized in that if described detect that triggering unlatching is answered Before the opening operation of program, further includes:
The newest resource allocation information of server push is received, the newest resource allocation information includes resource packet version number and money Source packet address information, the resource packet address information include delta package address information and full dose packet address information.
4. the open method of application program according to claim 3, which is characterized in that described according to the resource packet address Information downloads newest resource packet, comprising:
Incremental resource packet is judged whether there is according to the delta package address information;
The incremental resource packet if it exists downloads the incremental resource packet as described newest according to the delta package address information Resource packet;
The incremental resource packet if it does not exist downloads full dose resource packet as the newest money according to the full dose packet address information Source packet.
5. the open method of application program according to claim 4, which is characterized in that described according to the increment packet address After information downloads the incremental resource packet as the newest resource packet, further includes:
Judge whether the downloading incremental resource packet downloads success;
If the incremental resource packet failed download, it is described most that the conduct of full dose resource packet is downloaded according to the full dose packet address information New resources packet.
6. the open method of application program according to claim 1, which is characterized in that the judgement newest resource packet Whether downloading success after, further includes:
If the newest resource packet failed download, counts the failed download number, and whether judges the failed download number Reach preset times;
If the failed download number reaches the preset times, it is local to prompt user to carry out to show that default resource repairs frame It repairs.
7. the open method of application program according to claim 6, which is characterized in that the default resource repairs frame and includes Delete control;
After the default resource of display repairs frame to prompt user to carry out local reparation, further includes:
The clicking operation for deleting control is triggered if detecting, the Current resource packet pair is obtained according to the clicking operation The Current resource packet is simultaneously deleted by the default version number answered;
Load Current resource packet of the corresponding resource packet of the default version number as the application program.
8. a kind of opening device of application program characterized by comprising
Information acquisition unit, if it is corresponding to obtain the application program for detecting that the opening operation of application program is opened in triggering Newest resource allocation information, the newest resource allocation information includes resource packet version number and resource packet address information;
Version judging unit, for judging whether the Current resource packet of the application program is most according to resource packet version number New version;
Resource downloading unit is downloaded if not being latest edition for the Current resource packet according to the resource packet address information Newest resource packet;
Resource judgment unit, for judging whether the newest resource packet downloads success;
Opening unit is loaded, if downloading successfully for the newest resource packet, loads the newest resource packet to open described answer Use program.
9. a kind of computer equipment, which is characterized in that including memory, processor and be stored on the memory and can be in institute The computer program run on processor is stated, the processor is realized when executing the computer program as in claim 1 to 7 The step of any one the method.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence, the computer program make the processor execute such as claim 1 to 7 any one the method when being executed by processor The step of.
CN201811125797.2A 2018-09-26 2018-09-26 Open method, device, computer equipment and the storage medium of application program Pending CN109408139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811125797.2A CN109408139A (en) 2018-09-26 2018-09-26 Open method, device, computer equipment and the storage medium of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811125797.2A CN109408139A (en) 2018-09-26 2018-09-26 Open method, device, computer equipment and the storage medium of application program

Publications (1)

Publication Number Publication Date
CN109408139A true CN109408139A (en) 2019-03-01

Family

ID=65466256

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811125797.2A Pending CN109408139A (en) 2018-09-26 2018-09-26 Open method, device, computer equipment and the storage medium of application program

Country Status (1)

Country Link
CN (1) CN109408139A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045706A (en) * 2019-12-16 2020-04-21 广州品唯软件有限公司 Method and device for updating execution package of test item and computer readable storage medium
CN112130926A (en) * 2020-09-17 2020-12-25 百富计算机技术(深圳)有限公司 Application program running method and device, terminal equipment and storage medium
CN112379902A (en) * 2020-11-06 2021-02-19 深圳市越疆科技有限公司 Method, apparatus and computer-readable storage medium for adapting a plurality of end devices
CN113076116A (en) * 2021-06-03 2021-07-06 北京达佳互联信息技术有限公司 Page display method and device and storage medium
CN113434171A (en) * 2021-06-22 2021-09-24 青岛海尔科技有限公司 Resource package updating method and device, storage medium and electronic device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102263805A (en) * 2010-05-25 2011-11-30 腾讯科技(北京)有限公司 Dynamic resource downloading method and apparatus thereof
US20130311985A1 (en) * 2012-05-17 2013-11-21 International Business Machines Corporation Updating Web Resources
CN104951336A (en) * 2015-05-27 2015-09-30 小米科技有限责任公司 Application program installation method and device
CN106201555A (en) * 2016-07-26 2016-12-07 唐山新质点科技有限公司 Application resource updating method, device and system
CN106293696A (en) * 2016-07-22 2017-01-04 北京奇虎科技有限公司 Display application program downloads method and the corresponding intrument thereof of installment state
CN106528222A (en) * 2016-10-27 2017-03-22 网易(杭州)网络有限公司 Terminal device, and application downloading method and apparatus
CN107707584A (en) * 2016-08-08 2018-02-16 腾讯科技(深圳)有限公司 One kind applies loading method, terminal and Platform Server
CN107783795A (en) * 2017-07-26 2018-03-09 上海壹账通金融科技有限公司 Application program launching method, device, computer equipment and storage medium
CN108536463A (en) * 2018-04-09 2018-09-14 深圳市腾讯网络信息技术有限公司 Obtain method, apparatus, equipment and the computer readable storage medium of resource packet

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102263805A (en) * 2010-05-25 2011-11-30 腾讯科技(北京)有限公司 Dynamic resource downloading method and apparatus thereof
US20130311985A1 (en) * 2012-05-17 2013-11-21 International Business Machines Corporation Updating Web Resources
CN104951336A (en) * 2015-05-27 2015-09-30 小米科技有限责任公司 Application program installation method and device
CN106293696A (en) * 2016-07-22 2017-01-04 北京奇虎科技有限公司 Display application program downloads method and the corresponding intrument thereof of installment state
CN106201555A (en) * 2016-07-26 2016-12-07 唐山新质点科技有限公司 Application resource updating method, device and system
CN107707584A (en) * 2016-08-08 2018-02-16 腾讯科技(深圳)有限公司 One kind applies loading method, terminal and Platform Server
CN106528222A (en) * 2016-10-27 2017-03-22 网易(杭州)网络有限公司 Terminal device, and application downloading method and apparatus
CN107783795A (en) * 2017-07-26 2018-03-09 上海壹账通金融科技有限公司 Application program launching method, device, computer equipment and storage medium
CN108536463A (en) * 2018-04-09 2018-09-14 深圳市腾讯网络信息技术有限公司 Obtain method, apparatus, equipment and the computer readable storage medium of resource packet

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045706A (en) * 2019-12-16 2020-04-21 广州品唯软件有限公司 Method and device for updating execution package of test item and computer readable storage medium
CN111045706B (en) * 2019-12-16 2023-10-24 广州品唯软件有限公司 Method and device for updating execution package of test item and computer readable storage medium
CN112130926A (en) * 2020-09-17 2020-12-25 百富计算机技术(深圳)有限公司 Application program running method and device, terminal equipment and storage medium
CN112130926B (en) * 2020-09-17 2023-10-24 深圳市兆珑科技有限公司 Application program running method, device, terminal equipment and storage medium
CN112379902A (en) * 2020-11-06 2021-02-19 深圳市越疆科技有限公司 Method, apparatus and computer-readable storage medium for adapting a plurality of end devices
CN113076116A (en) * 2021-06-03 2021-07-06 北京达佳互联信息技术有限公司 Page display method and device and storage medium
CN113076116B (en) * 2021-06-03 2022-02-08 北京达佳互联信息技术有限公司 Page display method and device and storage medium
CN113434171A (en) * 2021-06-22 2021-09-24 青岛海尔科技有限公司 Resource package updating method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN109408139A (en) Open method, device, computer equipment and the storage medium of application program
US8270941B2 (en) System and method for downloading user interface components to wireless devices
CN111404759B (en) Service detection method, rule configuration method, related device and medium
CN103995715B (en) Restorative procedure, device and the server of application program
CN108762911A (en) Timing task management method, apparatus, computer equipment and storage medium
CN108648067A (en) The loan measures and procedures for the examination and approval, device, computer equipment and storage medium
CN109800367A (en) Webpage loading method, device, computer equipment and storage medium
CN103034803B (en) Dress software prompt system by mistake
CN108418787A (en) Acquisition method, terminal device and the medium of Enterprise Resources Plan data
CN107491324A (en) A kind of method and terminal for installing application program
CN108319554A (en) Test method, computer readable storage medium and the terminal device of application function
CN108540509A (en) A kind of processing method of terminal browser, device and server, intelligent terminal
CN111596971B (en) Application cleaning method and device, storage medium and electronic equipment
CN105512552B (en) Parameter detection method and device
CN106325896A (en) Method and device for processing shared function library file of installation package
CN109901849B (en) Application program installation method and device, electronic equipment and storage medium
CN109918287A (en) APP upgrading test method, apparatus, computer equipment and storage medium
CN110380949A (en) Intranet e-mail sending method, device, computer equipment and storage medium
CN114721740A (en) Message triggering method, device, equipment and storage medium
CN108347456B (en) Application program downloading method and device
CN106708737B (en) Test method and device
CN108595168A (en) Automatically dotting method, apparatus, readable storage medium storing program for executing and equipment
CN108121604A (en) The management system and method for computer software
CN113868531A (en) Information acquisition method and device, electronic device and medium
CN113760315A (en) Method and device for testing system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190301

RJ01 Rejection of invention patent application after publication