CN110012096A - Mobile client service updates management method, apparatus and system - Google Patents
Mobile client service updates management method, apparatus and system Download PDFInfo
- Publication number
- CN110012096A CN110012096A CN201910266987.4A CN201910266987A CN110012096A CN 110012096 A CN110012096 A CN 110012096A CN 201910266987 A CN201910266987 A CN 201910266987A CN 110012096 A CN110012096 A CN 110012096A
- Authority
- CN
- China
- Prior art keywords
- functional unit
- instruction
- request
- mobile client
- unit packet
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
- H04L67/5682—Policies or rules for updating, deleting or replacing the stored data
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of mobile client service update management method, apparatus and system, requests with the inspection of functional unit packet to background server this method comprises: mobile client sends instruction;Background server receives the request, by current version information compared with latest version information after from database extract instruction with functional unit package informatin, be issued to mobile client;Mobile client receives instruction and functional unit package informatin, its instruction current with the machine and functional unit package informatin are subjected to condition execution instruction inspection and functional unit packet version number comparison in difference, instruction is carried out according to comparison result to download with functional unit packet, it unpacks to instruction with functional unit packet, instruction is loaded into the machine running memory space, read functions component packet simultaneously unzips to native program catalogue, using described instruction and functional unit packet.The incremental update of mobile client App function can be realized without re-downloading installation mobile client App in the program.
Description
Technical field
The present invention relates to mobile terminal service technology field, in particular to a kind of mobile client service update management method,
Apparatus and system.
Background technique
With the fusion of finance and internet, financial practitioner is commenced business movable depth by mobile client App
Degree and range constantly extend, the function iteratively faster of mobile client App, also propose to finance mobile client App research and development
Requirements at the higher level.Mobile client App function renewal needs user to download the completely new medium of installation at present, can not reinstall shifting
The case where dynamic customer end A pp, realizes that incremental function updates, and when function needs to shut down, effectively by area or personnel also can not be pressed
Etc. dimensions carry out function management control.
Summary of the invention
It is serviced the embodiment of the invention provides a kind of mobile client and updates management method, apparatus and system, solve mesh
The technical issues of must completely newly being installed after preceding mobile customer end A pp publication new version.
In a first aspect, mobile client service update management method provided in an embodiment of the present invention includes:
Mobile client sends instruction and requests with the inspection of functional unit packet to background server, wherein described instruction and function
Component packet inspection request includes the current version information of mobile client;
Background server receives described instruction and the inspection of functional unit packet is requested, by the current version of the mobile client
Latest version information in information and date library is compared, and extracts instruction and functional unit from database according to comparison result
Described instruction and functional unit package informatin are issued to mobile client by package informatin;
Mobile client receives described instruction and functional unit package informatin, by described instruction and functional unit package informatin and this
The current instruction of machine and functional unit package informatin carry out condition execution instruction inspection and functional unit packet version number comparison in difference, obtain
Functional unit packet version number difference in size is obtained, is carried out under instruction and functional unit packet according to functional unit packet version number difference in size
It carries, unpacks to described instruction and functional unit packet, instruction is loaded into the machine running memory space, read functions component packet
And native program catalogue is unziped to, using described instruction and functional unit packet.
Second aspect, mobile client service provided in an embodiment of the present invention update management method and include:
Instruction is sent to request with the inspection of functional unit packet to background server, wherein described instruction and the inspection of functional unit packet
Request includes the current version information of mobile client;
Receive instruction and functional unit package informatin, described instruction and functional unit package informatin are background server by the shifting
Latest version information in the current version information and date library of dynamic client is compared, according to comparison result from database
It extracts;
The described instruction instruction current with the machine with functional unit package informatin is carried out instruction with functional unit package informatin to hold
The inspection of market condition and functional unit packet version number comparison in difference obtain functional unit packet version number difference in size, according to functional group
Jian Bao version number difference in size carries out instruction and downloads with functional unit packet, unpacks to described instruction and functional unit packet, will
Instruction is loaded into the machine running memory space, and read functions component packet simultaneously unzips to native program catalogue, using described instruction and
Functional unit packet.
The third aspect, mobile client service provided in an embodiment of the present invention update management method and include:
Receive the instruction and functional unit packet inspection request that mobile client is sent, wherein described instruction and functional unit
Packet checks that request includes the current version information of mobile client;
Latest version information in the current version information and date library of the mobile client is compared, according to than
Instruction and functional unit package informatin are extracted from database compared with result, described instruction and functional unit package informatin are issued to movement
Client.
Fourth aspect, mobile client provided in an embodiment of the present invention service update management system include: mobile client,
Background server and database;
Wherein, the mobile client is used for: it sends instruction and requests with the inspection of functional unit packet to background server, wherein
Described instruction and functional unit packet inspection request include the current version information of mobile client;
The background server is used for: receiving described instruction and the inspection of functional unit packet is requested, by the mobile client
Current version information and date library in latest version information be compared, instruction is extracted from database according to comparison result
With functional unit package informatin, described instruction and functional unit package informatin are issued to mobile client;
The mobile client is also used to: described instruction and functional unit package informatin is received, by described instruction and functional group
Part package informatin and the current instruction of the machine and functional unit package informatin carry out condition execution instruction inspection and functional unit packet version
Number comparison in difference obtains functional unit packet version number difference in size, is instructed according to functional unit packet version number difference in size
It is downloaded with functional unit packet, unpacks to described instruction and functional unit packet, instruction is loaded into the machine running memory space,
Read functions component packet simultaneously unzips to native program catalogue, using described instruction and functional unit packet;
The database is used for: storage latest version information.
5th aspect, mobile client provided in an embodiment of the present invention include:
Instruction checks download unit with functional unit, requests with the inspection of functional unit packet to background service for sending instruction
Device, wherein described instruction and functional unit packet inspection request include the current version information of mobile client;Receive instruction and function
Energy component package informatin, described instruction and functional unit package informatin are that background server believes the current version of the mobile client
Breath is compared with the latest version information in database, is extracted from database according to comparison result;By described instruction with
Functional unit package informatin and the current instruction of the machine and functional unit package informatin carry out condition execution instruction inspection and functional unit
Wrap version number's comparison in difference, obtain functional unit packet version number difference in size, according to functional unit packet version number's difference in size into
Row instruction is downloaded with functional unit packet;
Instruction updates processing unit with functional unit packet will refer to for unpacking to described instruction and functional unit packet
Order is loaded into the machine running memory space, and read functions component packet simultaneously unzips to native program catalogue;
Instruction and functional unit packet applying unit, for applying described instruction and functional unit packet.
6th aspect, background server provided in an embodiment of the present invention include:
Instruction downloads control unit with functional unit packet, for receiving instruction and the functional unit packet of mobile client transmission
Check request, wherein the current version information of described instruction and functional unit packet inspection request including mobile client;
Edition comparison inspection unit, for the latest edition in the current version information and date library by the mobile client
This information is compared, and extracts instruction and functional unit package informatin from database according to comparison result;
Described instruction is also used to functional unit packet downloading control unit:
Described instruction and functional unit package informatin are issued to mobile client.
7th aspect the embodiment of the invention also provides a kind of computer equipment, including memory, processor and is stored in
On memory and the computer program that can run on a processor, the processor are realized above-mentioned when executing the computer program
The method.
Eighth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium
Storage media is stored with the computer program for executing method described above.
In embodiments of the present invention, mobile client reports and submits current version information to background server, background server guarantor
It deposits and analyzes mobile client client information, and based on the analysis results refer to new issuing function and correlation function that mobile client needs
Order is transmitted to mobile client, and client receives data and instruction, makes specific response by instruction.Compared with prior art, originally
The function incremental update of mobile client App may be implemented in invention, without completely newly pacifying after mobile client App issues new version
Dress.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the overall framework figure that a kind of mobile client service provided in an embodiment of the present invention updates management system;
Fig. 2 is that a kind of mobile client service provided in an embodiment of the present invention updates management method flow chart (from entire big
For system perspective);
Fig. 3 is the instruction and functional group in a kind of mobile client service update management method provided in an embodiment of the present invention
Part packet applicating flow chart;
Fig. 4 is that process is issued in the service that a kind of mobile client service provided in an embodiment of the present invention updates in management method
Figure;
Fig. 5 is that a kind of mobile client service provided in an embodiment of the present invention updates management method flow chart (from mobile visitor
For the angle of family end);
Fig. 6 is that a kind of mobile client service provided in an embodiment of the present invention updates management method flow chart (from backstage clothes
For device angle of being engaged in);
Fig. 7 is a kind of mobile client structural block diagram provided in an embodiment of the present invention;
Fig. 8 is a kind of background server structural block diagram provided in an embodiment of the present invention;
Fig. 9 is a kind of controlling terminal structural block diagram provided in an embodiment of the present invention;
Figure 10 is a kind of database structure block diagram provided in an 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 the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this
Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts
Example is applied, shall fall within the protection scope of the present invention.
It is serviced the present invention provides a kind of mobile client and updates management system, comprising: background server 1, controlling terminal
2, database 3, transmission network 4, mobile client 5, as shown in Figure 1.Wherein, controlling terminal 2 is grasped control by transmission network 4
It is transferred to background server 1 as information, background server 1 carries out information exchange by transmission network 4, and mobile client 5 passes through
Transmission network 4 is interacted with background server 1.
Specifically, background server is for receiving, managing instruction and functional unit packet;
Controlling terminal is used to generate, uploading instructions and functional unit packet, realization service online and instruction sending;
Database realizes instruction storage and version repository inquiry maintenance for saving instruction and functional unit packet;
Mobile client realizes that the service request of functional level is current, black for downloading and using instruction and functional unit packet
The controlling mechanisms such as list blocking.
Based on the system, the present invention proposes that a kind of mobile client service updates management method, as shown in Fig. 2, this method
Include:
S101: mobile client App starts and enters original state after completing a series of initialization, and mobile client 5 is logical
It crosses transmission network 4 and sends instruction and request with the inspection of functional unit packet to background server 1, wherein described instruction and functional unit packet
Check request include mobile client current version information, can also including state etc. information.
S102: background server 1 receives described instruction and the inspection of functional unit packet is requested, by working as the mobile client
Preceding version information is compared with the latest version information in database, is generated version inventory to be updated and is saved inspection result.
Instruction and functional unit packet are extracted from database 3 according to comparison result, instruction and functional unit package informatin are read, by the finger
It enables and is issued to mobile client 5 with functional unit package informatin;
S103: mobile client 5 receives described instruction and functional unit package informatin, and described instruction and functional unit packet are believed
Breath carries out condition execution instruction inspection and functional unit packet version number difference with the current instruction of the machine and functional unit package informatin
Compare, obtain functional unit packet version number difference in size, instruction and function are carried out according to functional unit packet version number difference in size
The downloading of component packet, unpacks to the instruction downloaded and functional unit packet, instruction is loaded into the machine running memory space, reads
It takes functional unit packet and unzips to native program catalogue, client present procedure file is replaced, using described instruction and functional group
Part packet.
In embodiments of the present invention, there is also this problems in the prior art:, also can not be effective when function needs to shut down
Function management control is carried out by area or by dimensions such as personnel, mobile client service proposed by the present invention updates management method can
To solve the problems, such as this, the remote centralized management and monitoring of function start and stop are realized.As shown in figure 3, this method further include:
Client initiates request S201: mobile client 5 carries out feature operation, sends request.
Request is intercepted with parsing S202: mobile client 5 intercepts the outgoing request of feature operation, and parses and ask
The element asked, the element may include request address and request type (for example, static resource class, classes of pages), in case subsequent
It is checked.
Access checking switch judges S203: mobile client 5 reads the instruction for being loaded into the machine running memory space, leads to
Cross whether inspection request address judges whether to check outgoing request in instruction repertoire.If request address is instructing
In inventory (instruction for being loaded into the machine running memory space is stored in instruction repertoire), then S204 is entered step, if request ground
Location then goes to request and picks out step S209 not in instruction repertoire.
Static resource checks S204: mobile client 5 judges whether the request type is the request of static resource class, if asking
Seeking type not is the request of static resource class, then enters step S205, if request type is the request of static resource class, is gone to
Request picks out step S209.
Page request judges S205: mobile client 5 requires further to sentence to the step S204 instruction read and request
It is disconnected, judge whether the request type is classes of pages request, if request type is that classes of pages is requested, step S206 is gone to, if asking
Seeking type not is classes of pages request, then enters step S207.
Page Service checks S206: mobile client 5 is according to instruction and requests to check this outgoing page request,
Judge whether request type is HTML, if request type is HTML, goes to step S207, if request type is not HTML,
Go to step S208.
Data service checks S207: mobile client 5 is according to instruction and requests to request the pen to carry out blacklist inspection, sentences
Whether this request of breaking is legal, if inspection result is to go to step S208 in blacklist, if inspection result is not exist
In blacklist, then step S209 is gone to, wherein storing in the blacklist is that class is forbidden to instruct, that is, forbids the instruction of outgoing.
Request blocks S208: mobile client 5 carries out blocking processing according to judging result is checked, to request, this is forbidden to ask
Seek outgoing.
Request picks out S209: mobile client 5 carries out transmission processing to request, by the request according to judging result is checked
It is sent out away.
In embodiments of the present invention, Fig. 4 is service publication flow chart, and concrete processing procedure includes:
Log in controlling terminal S301: user logs in controlling terminal 2.
Instruction is packed with functional unit makees S302: the production of controlling terminal 2 instruction and functional unit packet are packaged program file simultaneously
Systematic function component packet.
Instruction is wrapped with functional unit passes S303: controlling terminal 2 wraps the instruction made and functional unit pass to after
Platform server 1.
Instruction receives S304 with functional unit packet: background server 1 receives the instruction and functional unit that controlling terminal 2 uploads
Packet.
Increment version generates S305: background server 1 extracts the functional unit packet received, and is believed according to old version library
Breath generates the version of increment.
Instruction is stored in S306 with increment version: generated increment version information is stored in database 3 by background server 1
In.
The above be from mobile client service update management system whole angle for, below from mobile client 5, after
Platform server 1, controlling terminal 2 these three devices angle illustrate.
In embodiments of the present invention, as shown in figure 5, mobile client service updates management method (mobile client angle
Degree) include:
S501: it sends instruction and requests with the inspection of functional unit packet to background server, wherein described instruction and functional unit
Packet checks that request includes the current version information of mobile client;
S502: instruction and functional unit package informatin are received, described instruction and functional unit package informatin will for background server
Latest version information in the current version information and date library of the mobile client is compared, according to comparison result from number
According to what is extracted in library;
S503: the described instruction instruction current with the machine with functional unit package informatin is referred to functional unit package informatin
Executive condition inspection and functional unit packet version number comparison in difference are enabled, functional unit packet version number difference in size is obtained, according to function
Energy component packet version number difference in size carries out instruction and downloads with functional unit packet, tears open to described instruction and functional unit packet
Packet, is loaded into the machine running memory space for instruction, read functions component packet simultaneously unzips to native program catalogue, using the finger
It enables and functional unit packet.
From the instruction and functional unit packet application flow for mobile client angle as shown in figure 3, above in detail
Description, details are not described herein again.
In embodiments of the present invention, as shown in fig. 6, mobile client service updates management method (background server angle
Degree) include:
S601: the instruction and functional unit packet inspection request that mobile client is sent are received, wherein described instruction and function
Component packet inspection request includes the current version information of mobile client;
S602: the latest version information in the current version information and date library of the mobile client is compared,
Instruction and functional unit package informatin are extracted from database according to comparison result, described instruction and functional unit package informatin are issued
To mobile client.
Mobile client service updates management method (background server angle) further include:
The instruction and functional unit packet that controlling terminal generates are received, according to the old version in functional unit packet and database
Information generates increment version information, and the increment version information is stored in database.
In embodiments of the present invention, Fig. 7 is a kind of mobile client structural block diagram provided in an embodiment of the present invention, such as Fig. 7
Shown, which includes: that instruction and functional unit packet check that download unit 51, instruction and the update of functional unit packet are handled
Unit 52, instruction are intercepted with functional unit packet applying unit 53, request and are sent out with resolution unit 54, request inspection unit 55, request
Send control unit 56, in which:
Instruction checks download unit 51 with functional unit, requests to backstage to take for sending instruction and the inspection of functional unit packet
Business device, wherein described instruction and functional unit packet inspection request include the current version information of mobile client;Receive instruction with
Functional unit package informatin, described instruction and functional unit package informatin are background server by the current version of the mobile client
Latest version information in information and date library is compared, and is extracted from database according to comparison result;By described instruction
Condition execution instruction inspection and functional group are carried out with functional unit package informatin and the current instruction of the machine and functional unit package informatin
Jian Bao version number comparison in difference obtains functional unit packet version number difference in size, according to functional unit packet version number difference in size
Instruction is carried out to download with functional unit packet.
Instruction updates processing unit 52 with functional unit packet, will for unpacking to described instruction and functional unit packet
Instruction is loaded into the machine running memory space with spare, and read functions component packet simultaneously unzips to native program catalogue, realizes new journey
Preface part updates replacement.
Instruction and functional unit packet applying unit 53 realize client pair for applying described instruction and functional unit packet
The use of instruction and functional unit packet, to execute instruction or operation service.
Request intercepts and resolution unit 54, for initiating the outgoing request of feature operation;To the outgoing of the feature operation
Request is intercepted and is parsed, and the element of the outgoing request of feature operation is obtained, and the element includes request address and request class
Type, URL keyword etc.;
Inspection unit 55 is requested to judge that request address is for reading the instruction for being loaded into the machine running memory space
It is no in instruction repertoire:
If request address in instruction repertoire, judge request type whether be static resource class request:
If request type is not the request of static resource class, judge whether request type is classes of pages request:
If request type is classes of pages request, judge whether request type is HTML:
If request type is HTML, blacklist inspection is carried out to the outgoing request of the feature operation, wherein described black
Include that class is forbidden to instruct in list, judge whether the outgoing request of the feature operation is legal:
If request type is not classes of pages request, blacklist inspection is carried out to the outgoing request of the feature operation;
Request sends control unit 56 and is used for:
If request type is the request of static resource class, the outgoing request of the feature operation is sent out away;
If the outgoing request of the feature operation in blacklist, blocks the outgoing request of the feature operation
Processing, forbids the outgoing request outgoing of the feature operation;If the outgoing request of the feature operation, will not in blacklist
The outgoing request of the feature operation is sent out away;
If request type is not HTML, blocking processing is carried out to the outgoing request of the feature operation, forbids the function
Operable outgoing request outgoing;
If not in instruction repertoire, the outgoing request of the feature operation is sent out away for request address.
As shown in fig. 7, the mobile client can also include main control unit 50: respectively with instruction with the inspection of functional unit packet
Download unit 51, instruction update processing unit 52, instruction and functional unit packet applying unit 53, request with functional unit packet and intercept
It sends control unit 56 with resolution unit 54, request inspection unit 55, request and connect, for realizing the coordinated scheduling of each unit.
In embodiments of the present invention, Fig. 8 is a kind of background server structural block diagram provided in an embodiment of the present invention, such as Fig. 8
Shown, which includes instruction and functional unit packet receiving unit 11, increment version generation unit 12, version repository management
Unit 13, edition comparison inspection unit 14, instruction and functional unit packet download control unit 15, in which:
Instruction and functional unit packet receiving unit 11, for receiving instruction and the functional unit packet of controlling terminal generation.
Increment version generation unit 12, for extracting the functional unit packet received, according to functional unit packet and database
In old version information generate increment version information, by the increment version information be stored in database.
Version repository administrative unit 13, for providing version library inquiry, version increases newly and the functions such as maintenance, realizes mobile client
Hold program version management.
Edition comparison inspection unit 14, for newest in the current version information and date library by the mobile client
Version information is compared, and generates difference inventory, is provided foundation for the generation of increment version, is mentioned from database according to comparison result
Instruction fetch and functional unit package informatin;
Instruction downloads control unit 15 with functional unit packet, for receiving instruction and the functional unit of mobile client transmission
It wraps and checks request, wherein the current version information of described instruction and functional unit packet inspection request including mobile client;By institute
It states instruction and functional unit package informatin is issued to mobile client.Show download management control function in fact, refers to for client downloads
It enables and provides coordination service with functional unit packet.
As shown in figure 8, the background server can also include main control unit 10: with instruction and functional unit packet receiving unit
11, under increment version generation unit 12, version repository administrative unit 13, edition comparison inspection unit 14, instruction and functional unit packet
It carries control unit 15 to connect, for realizing the coordinated scheduling of each unit in background server.
In embodiments of the present invention, Fig. 9 is a kind of controlling terminal structural block diagram provided in an embodiment of the present invention, such as Fig. 9 institute
Show, which includes control unit 20, instruction and functional unit packet generation unit 21, instruction and leaflet under functional unit packet
Member 22, in which:
Control unit 20: first with instruction and functional unit packet generation unit 21, instruction and leaflet under functional unit packet respectively
22 connections, for realizing the coordinated scheduling of each unit in controlling terminal 2.
Instruction is with functional unit packet generation unit 21: connecting with control unit 20, for making instruction and generating script, beats
Packet program file and systematic function component packet.
Instruction is with leaflet member 22 under functional unit packet: connecting with control unit 20, for that will pass through instruction and functional unit
The good instruction and functional unit that packet generation unit 21 is ready for, which are wrapped, passes to background server 1.
In embodiments of the present invention, Figure 10 is a kind of database structure block diagram provided in an embodiment of the present invention, such as Figure 10 institute
Show, which includes functional unit packet version repository storage unit 30, the location of instruction 31, in which:
Functional unit packet version repository storage unit 30: for storing the full dose version and increasing of mobile client functional unit packet
Measure version.
The location of instruction 31: for storing instruction, described instruction includes request pass-through command, requests to forbid instruction and its
His control instruction.
The embodiment of the invention also provides a kind of computer equipments, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, the processor realize side described above when executing the computer program
Method.
The embodiment of the invention also provides a kind of computer readable storage medium, the computer-readable recording medium storage
There is the computer program for executing method described above.
In conclusion the present invention is through the above technical solutions, realize mobile client App function incremental update, function
Start-stop supervision control.Mainly have the advantage that
1, the incremental update of mobile client App function can be realized without re-downloading installation mobile client App.Branch
It is online to hold mobile client App function rapid and convenient, multiple team is supported to develop and issue on the same mobile client App
Respective function and be independent of each other, greatly reduce the coupling to work between team, improve function iteration speed.
2, support that holding the App function in equipment to user makes requests management.By to function pages and request of data
It carries out fining control, realizes to mobile client App concrete function switch control, greatly enhance that new function is online, wrong old function
The offline controllability of energy, ensures and produces orderly stable operation.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the embodiment of the present invention can have various modifications and variations.All within the spirits and principles of the present invention, made
Any modification, equivalent substitution, improvement and etc. should all be included in the protection scope of the present invention.
Claims (12)
1. a kind of mobile client service updates management method characterized by comprising
Mobile client sends instruction and requests with the inspection of functional unit packet to background server, wherein described instruction and functional unit
Packet checks that request includes the current version information of mobile client;
Background server receives described instruction and the inspection of functional unit packet is requested, by the current version information of the mobile client
It is compared with the latest version information in database, extracts instruction from database according to comparison result and believe with functional unit packet
Described instruction and functional unit package informatin are issued to mobile client by breath;
Mobile client receives described instruction and functional unit package informatin, and described instruction is worked as with functional unit package informatin with the machine
Preceding instruction and functional unit package informatin carries out condition execution instruction inspection and functional unit packet version number comparison in difference, obtains function
Energy component packet version number difference in size carries out instruction according to functional unit packet version number difference in size and downloads with functional unit packet,
It unpacks to described instruction and functional unit packet, instruction is loaded into the machine running memory space, read functions component packet is simultaneously
Native program catalogue is unziped to, using described instruction and functional unit packet.
2. mobile client service as described in claim 1 updates management method, which is characterized in that further include:
The outgoing request of mobile client initiation feature operation;
Mobile client is intercepted and is parsed to the outgoing request of the feature operation, and the outgoing request of feature operation is obtained
Element, the element include request address and request type;
Whether mobile client reads the instruction for being loaded into the machine running memory space, judge request address in instruction repertoire
It is interior:
If request address in instruction repertoire, judge request type whether be static resource class request:
If request type is the request of static resource class, the outgoing request of the feature operation is sent out away, if asking
Seeking type not is the request of static resource class, then judges whether request type is classes of pages request:
If request type is classes of pages request, judge whether request type is HTML:
If request type is HTML, blacklist inspection is carried out to the outgoing request of the feature operation, wherein the blacklist
In include forbid class to instruct, judge whether the outgoing request of the feature operation legal:
If the outgoing request of the feature operation in blacklist, carries out at blocking the outgoing request of the feature operation
Reason, forbids the outgoing request outgoing of the feature operation;If the outgoing request of the feature operation is not in blacklist, by institute
The outgoing request for stating feature operation is sent out away;
If request type is not HTML, blocking processing is carried out to the outgoing request of the feature operation, the function is forbidden to grasp
The outgoing request outgoing of work;
If request type is not classes of pages request, blacklist inspection is carried out to the outgoing request of the feature operation;
If not in instruction repertoire, the outgoing request of the feature operation is sent out away for request address.
3. mobile client service as described in claim 1 updates management method, which is characterized in that further include:
Controlling terminal generates instruction and functional unit packet, and described instruction and functional unit are wrapped and pass to background server;
Background server receives described instruction and functional unit packet, according to the old version information in functional unit packet and database
Increment version information is generated, the increment version information is stored in database.
4. a kind of mobile client service updates management method characterized by comprising
It sends instruction to request with the inspection of functional unit packet to background server, wherein described instruction and the inspection of functional unit packet are requested
Current version information including mobile client;
Reception instruction and functional unit package informatin, described instruction and functional unit package informatin are that background server will the movement visitor
Latest version information in the current version information and date library at family end is compared, and is extracted from database according to comparison result
's;
Described instruction and functional unit package informatin and the current instruction of the machine and functional unit package informatin are subjected to instruction execution feelings
Condition inspection and functional unit packet version number comparison in difference obtain functional unit packet version number difference in size, according to functional unit packet
Version number's difference in size carries out instruction and downloads with functional unit packet, unpacks, will instruct to described instruction and functional unit packet
It is loaded into the machine running memory space, read functions component packet simultaneously unzips to native program catalogue, using described instruction and function
Component packet.
5. mobile client service as claimed in claim 4 updates management method, which is characterized in that further include:
Initiate the outgoing request of feature operation;
The outgoing request of the feature operation is intercepted and parsed, the element of the outgoing request of feature operation is obtained, it is described
Element includes request address and request type;
The instruction for being loaded into the machine running memory space is read, judges request address whether in instruction repertoire:
If request address in instruction repertoire, judge request type whether be static resource class request:
If request type is the request of static resource class, the outgoing request of the feature operation is sent out away, if asking
Seeking type not is the request of static resource class, then judges whether request type is classes of pages request:
If request type is classes of pages request, judge whether request type is HTML:
If request type is HTML, blacklist inspection is carried out to the outgoing request of the feature operation, wherein the blacklist
In include forbid class to instruct, judge whether the outgoing request of the feature operation legal:
If the outgoing request of the feature operation in blacklist, carries out at blocking the outgoing request of the feature operation
Reason, forbids the outgoing request outgoing of the feature operation;If the outgoing request of the feature operation is not in blacklist, by institute
The outgoing request for stating feature operation is sent out away;
If request type is not HTML, blocking processing is carried out to the outgoing request of the feature operation, the function is forbidden to grasp
The outgoing request outgoing of work;
If request type is not classes of pages request, blacklist inspection is carried out to the outgoing request of the feature operation;
If not in instruction repertoire, the outgoing request of the feature operation is sent out away for request address.
6. a kind of mobile client service updates management method characterized by comprising
Receive the instruction and functional unit packet inspection request that mobile client is sent, wherein described instruction and functional unit packet are examined
It makes a thorough investigation of and seeks the current version information including mobile client;
Latest version information in the current version information and date library of the mobile client is compared, is tied according to comparing
Fruit extracts instruction and functional unit package informatin from database, and described instruction and functional unit package informatin are issued to mobile client
End.
7. mobile client service as claimed in claim 6 updates management method, which is characterized in that further include:
The instruction and functional unit packet that controlling terminal generates are received, according to the old version information in functional unit packet and database
Increment version information is generated, the increment version information is stored in database.
8. a kind of service of mobile client updates management system characterized by comprising mobile client, background server and
Database;
Wherein, the mobile client is used for: being sent instruction and is requested with the inspection of functional unit packet to background server, wherein described
Instruction and current version information of the functional unit packet inspection request including mobile client;
The background server is used for: receiving described instruction and the inspection of functional unit packet is requested, by working as the mobile client
Preceding version information is compared with the latest version information in database, extracts instruction and function from database according to comparison result
Described instruction and functional unit package informatin are issued to mobile client by energy component package informatin;
The mobile client is also used to: described instruction and functional unit package informatin is received, by described instruction and functional unit packet
Information and the current instruction of the machine and functional unit package informatin carry out condition execution instruction inspection and functional unit packet difference in version
Different comparison obtains functional unit packet version number difference in size, carries out instruction and function according to functional unit packet version number difference in size
Energy component packet downloading, unpacks to described instruction and functional unit packet, instruction is loaded into the machine running memory space, read
Functional unit packet simultaneously unzips to native program catalogue, using described instruction and functional unit packet;
The database is used for: storage latest version information.
9. a kind of mobile client characterized by comprising
Instruction checks download unit with functional unit, requests with the inspection of functional unit packet to background server for sending instruction,
Wherein described instruction and functional unit packet inspection request include the current version information of mobile client;Receive instruction and functional group
Part package informatin, described instruction and functional unit package informatin be background server by the current version information of the mobile client with
Latest version information in database is compared, and is extracted from database according to comparison result;By described instruction and function
Component package informatin and the current instruction of the machine and functional unit package informatin carry out condition execution instruction inspection and functional unit packet version
This number comparison in difference obtains functional unit packet version number difference in size, is referred to according to functional unit packet version number difference in size
It enables and being downloaded with functional unit packet;
Instruction updates processing unit with functional unit packet, and for unpacking to described instruction and functional unit packet, instruction is added
It is downloaded to the machine running memory space, read functions component packet simultaneously unzips to native program catalogue;
Instruction and functional unit packet applying unit, for applying described instruction and functional unit packet.
10. a kind of background server characterized by comprising
Instruction downloads control unit with functional unit packet, for receiving the instruction and the inspection of functional unit packet of mobile client transmission
Request, wherein the current version information of described instruction and functional unit packet inspection request including mobile client;
Edition comparison inspection unit, for the latest edition letter in the current version information and date library by the mobile client
Breath is compared, and extracts instruction and functional unit package informatin from database according to comparison result;
Described instruction is also used to functional unit packet downloading control unit:
Described instruction and functional unit package informatin are issued to mobile client.
11. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor
Calculation machine program, which is characterized in that the processor realizes any side of claim 1 to 7 when executing the computer program
Method.
12. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has perform claim
It is required that the computer program of 1 to 7 any the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910266987.4A CN110012096B (en) | 2019-04-03 | 2019-04-03 | Mobile client service update management method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910266987.4A CN110012096B (en) | 2019-04-03 | 2019-04-03 | Mobile client service update management method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110012096A true CN110012096A (en) | 2019-07-12 |
CN110012096B CN110012096B (en) | 2021-12-24 |
Family
ID=67169773
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910266987.4A Active CN110012096B (en) | 2019-04-03 | 2019-04-03 | Mobile client service update management method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110012096B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110647326A (en) * | 2019-09-20 | 2020-01-03 | 中国银行股份有限公司 | NuGet program package-based software multiplexing method, device and system |
CN111240767A (en) * | 2020-02-04 | 2020-06-05 | 北京字节跳动网络技术有限公司 | Component and page loading method and device, electronic equipment and storage medium |
CN111522615A (en) * | 2020-04-23 | 2020-08-11 | 平安国际智慧城市科技股份有限公司 | Method, device and equipment for updating command line interface and storage medium |
CN111538514A (en) * | 2020-04-17 | 2020-08-14 | 北京三快在线科技有限公司 | Enterprise application updating method and device, storage medium and electronic equipment |
CN111752633A (en) * | 2020-06-18 | 2020-10-09 | 支付宝(杭州)信息技术有限公司 | Code loading method, device and equipment |
CN112235333A (en) * | 2019-07-15 | 2021-01-15 | 北京字节跳动网络技术有限公司 | Function package management method, device, equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101945135A (en) * | 2010-09-20 | 2011-01-12 | 中兴通讯股份有限公司 | Method and system for upgrading widget system |
CN102081536A (en) * | 2010-12-30 | 2011-06-01 | 华为终端有限公司 | Method for updating increment, and server |
US20150220317A1 (en) * | 2013-06-25 | 2015-08-06 | Tencent Technology (Shenzhen) Company Limited | Method, equipment and system of incremental update |
CN106489145A (en) * | 2015-12-28 | 2017-03-08 | 华为技术有限公司 | The access method of web site, device and Web site system |
CN106713318A (en) * | 2016-12-23 | 2017-05-24 | 新东网科技有限公司 | WEB site security protection method and system |
CN108111330A (en) * | 2017-11-06 | 2018-06-01 | 北京趣拿软件科技有限公司 | The acquisition of updated data package, the update method of application component and device |
CN109246064A (en) * | 2017-07-11 | 2019-01-18 | 阿里巴巴集团控股有限公司 | Safe access control, the generation method of networkaccess rules, device and equipment |
-
2019
- 2019-04-03 CN CN201910266987.4A patent/CN110012096B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101945135A (en) * | 2010-09-20 | 2011-01-12 | 中兴通讯股份有限公司 | Method and system for upgrading widget system |
CN102081536A (en) * | 2010-12-30 | 2011-06-01 | 华为终端有限公司 | Method for updating increment, and server |
US20150220317A1 (en) * | 2013-06-25 | 2015-08-06 | Tencent Technology (Shenzhen) Company Limited | Method, equipment and system of incremental update |
CN106489145A (en) * | 2015-12-28 | 2017-03-08 | 华为技术有限公司 | The access method of web site, device and Web site system |
CN106713318A (en) * | 2016-12-23 | 2017-05-24 | 新东网科技有限公司 | WEB site security protection method and system |
CN109246064A (en) * | 2017-07-11 | 2019-01-18 | 阿里巴巴集团控股有限公司 | Safe access control, the generation method of networkaccess rules, device and equipment |
CN108111330A (en) * | 2017-11-06 | 2018-06-01 | 北京趣拿软件科技有限公司 | The acquisition of updated data package, the update method of application component and device |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112235333A (en) * | 2019-07-15 | 2021-01-15 | 北京字节跳动网络技术有限公司 | Function package management method, device, equipment and storage medium |
CN112235333B (en) * | 2019-07-15 | 2023-05-26 | 北京字节跳动网络技术有限公司 | Function package management method, device, equipment and storage medium |
CN110647326A (en) * | 2019-09-20 | 2020-01-03 | 中国银行股份有限公司 | NuGet program package-based software multiplexing method, device and system |
CN110647326B (en) * | 2019-09-20 | 2023-10-24 | 中国银行股份有限公司 | Software multiplexing method, device and system based on NuGet program package |
CN111240767A (en) * | 2020-02-04 | 2020-06-05 | 北京字节跳动网络技术有限公司 | Component and page loading method and device, electronic equipment and storage medium |
CN111538514A (en) * | 2020-04-17 | 2020-08-14 | 北京三快在线科技有限公司 | Enterprise application updating method and device, storage medium and electronic equipment |
CN111522615A (en) * | 2020-04-23 | 2020-08-11 | 平安国际智慧城市科技股份有限公司 | Method, device and equipment for updating command line interface and storage medium |
CN111522615B (en) * | 2020-04-23 | 2023-08-15 | 深圳赛安特技术服务有限公司 | Method, device, equipment and storage medium for updating command line interface |
CN111752633A (en) * | 2020-06-18 | 2020-10-09 | 支付宝(杭州)信息技术有限公司 | Code loading method, device and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110012096B (en) | 2021-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110012096A (en) | Mobile client service updates management method, apparatus and system | |
US10613788B2 (en) | Data migration between cloud storage systems | |
US10929274B2 (en) | Facilitating debugging serverless applications via graph rewriting | |
CN102195970B (en) | Based on the debugging of client session | |
CN104536890B (en) | Test system, method and apparatus | |
US20190272166A1 (en) | Updating software components through online stores | |
US20130074046A1 (en) | Application protoyping suite | |
Calcote et al. | Istio: Up and running: Using a service mesh to connect, secure, control, and observe | |
US11726800B2 (en) | Remote component loader | |
Britvin et al. | Client-server system for parsing data from web pages | |
Zhang et al. | Towards a virtual network function research agenda: A systematic literature review of vnf design considerations | |
CN110011875A (en) | Dial testing method, device, equipment and computer readable storage medium | |
KR20230170902A (en) | Distributed immutable data object testing | |
Lieskovan et al. | Building open source cyber range to teach cyber security | |
Zanon | Building Serverless Web Applications | |
CN112653665A (en) | Data isolation interaction method and system based on cloud service | |
KR102254693B1 (en) | Cyber security training system having network writing function | |
Hiorthøy | Analyzing and Benchmarking the Performance of Different Cloud Services for Agile App Deployment | |
Felsen | Effective DevOps with AWS | |
CN110209976A (en) | A kind of buffering updating method and computer equipment of front end resource | |
Pennanen et al. | Decoupling between Lovelace’s checker server and main server | |
US20230376363A1 (en) | Framework for digital workers | |
Pasquali | Deploying Node. js | |
Hirschfeld et al. | Cloud‐based simulation studies in R‐A tutorial on using doRedis with Amazon spot fleets | |
Bai et al. | Exam Ref 70-535 Architecting Microsoft Azure Solutions |
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 |