CN110012096B - Mobile client service update management method, device and system - Google Patents

Mobile client service update management method, device and system Download PDF

Info

Publication number
CN110012096B
CN110012096B CN201910266987.4A CN201910266987A CN110012096B CN 110012096 B CN110012096 B CN 110012096B CN 201910266987 A CN201910266987 A CN 201910266987A CN 110012096 B CN110012096 B CN 110012096B
Authority
CN
China
Prior art keywords
request
instruction
functional component
component package
function operation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910266987.4A
Other languages
Chinese (zh)
Other versions
CN110012096A (en
Inventor
林德坤
秦辉辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN201910266987.4A priority Critical patent/CN110012096B/en
Publication of CN110012096A publication Critical patent/CN110012096A/en
Application granted granted Critical
Publication of CN110012096B publication Critical patent/CN110012096B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data

Abstract

The invention provides a method, a device and a system for updating and managing mobile client service, wherein the method comprises the following steps: the mobile client sends an instruction and a functional component package checking request to the background server; the background server receives the request, compares the current version information with the latest version information, extracts the instruction and the functional component package information from the database, and sends the instruction and the functional component package information to the mobile client; the mobile client receives the instruction and the information of the functional component package, carries out instruction execution condition check and version number difference comparison of the instruction and the information of the functional component package with the current instruction and the information of the functional component package of the local machine, downloads the instruction and the functional component package according to the comparison result, unpacks the instruction and the functional component package, loads the instruction into the running memory space of the local machine, reads the functional component package, decompresses the program directory of the local machine, and applies the instruction and the functional component package. According to the scheme, the incremental updating of the App function of the mobile client can be realized without downloading and installing the App of the mobile client again.

Description

Mobile client service update management method, device and system
Technical Field
The present invention relates to the field of mobile terminal service technologies, and in particular, to a method, an apparatus, and a system for managing service update of a mobile client.
Background
With the integration of finance and the internet, the depth and the breadth of business activities carried out by financial practitioners through the mobile client App are continuously expanded, the functions of the mobile client App are quickly iterated, and higher requirements are provided for the research and development of the financial mobile client App. At present, a user downloads and installs a brand new medium for updating the function of the App of the mobile client, incremental function updating cannot be realized under the condition that the App of the mobile client is not installed again, and function management control cannot be effectively carried out according to the dimensions of regions or personnel and the like when the function needs to be shut down.
Disclosure of Invention
The embodiment of the invention provides a method, a device and a system for updating and managing mobile client service, which solve the technical problem that the mobile client App needs to be newly installed after releasing a new version at present.
In a first aspect, a method for managing update of a mobile client service provided in an embodiment of the present invention includes:
the method comprises the steps that a mobile client sends an instruction and functional component package checking request to a background server, wherein the instruction and functional component package checking request comprises current version information of the mobile client;
the background server receives the instruction and the functional component package checking request, compares the current version information of the mobile client with the latest version information in the database, extracts the instruction and the functional component package information from the database according to the comparison result, and issues the instruction and the functional component package information to the mobile client;
the mobile client receives the instruction and the information of the functional component package, carries out instruction execution condition check and version number difference comparison on the instruction and the information of the functional component package and the information of the current instruction and the information of the local machine to obtain the difference of the version number of the functional component package, downloads the instruction and the functional component package according to the difference of the version number of the functional component package, unpacks the instruction and the functional component package, loads the instruction into the running memory space of the local machine, reads the functional component package, decompresses the program directory of the local machine, and applies the instruction and the functional component package.
In a second aspect, a method for managing update of a mobile client service provided in an embodiment of the present invention includes:
sending an instruction and functional component package checking request to a background server, wherein the instruction and functional component package checking request comprises current version information of a mobile client;
receiving an instruction and functional component package information, wherein the instruction and functional component package information are obtained by a background server by comparing the current version information of the mobile client with the latest version information in a database and extracting the current version information from the database according to a comparison result;
and checking the instruction execution condition and comparing the version number difference of the instruction and functional component package information with the current instruction and functional component package information of the local machine to obtain the difference of the version number of the functional component package, downloading the instruction and functional component package according to the difference of the version number of the functional component package, unpacking the instruction and the functional component package, loading the instruction into the running memory space of the local machine, reading the functional component package, decompressing the functional component package into a program directory of the local machine, and applying the instruction and the functional component package.
In a third aspect, a method for managing update of a mobile client service provided in an embodiment of the present invention includes:
receiving an instruction and a functional component package checking request sent by a mobile client, wherein the instruction and functional component package checking request comprises current version information of the mobile client;
and comparing the current version information of the mobile client with the latest version information in the database, extracting the instruction and the functional component packet information from the database according to the comparison result, and issuing the instruction and the functional component packet information to the mobile client.
In a fourth aspect, a mobile client service update management system provided in an embodiment of the present invention includes: the system comprises a mobile client, a background server and a database;
wherein the mobile client is to: sending an instruction and functional component package checking request to a background server, wherein the instruction and functional component package checking request comprises current version information of a mobile client;
the background server is used for: receiving the instruction and functional component package checking request, comparing the current version information of the mobile client with the latest version information in a database, extracting the instruction and functional component package information from the database according to the comparison result, and issuing the instruction and functional component package information to the mobile client;
the mobile client is further configured to: receiving the instruction and the information of the functional component package, performing instruction execution condition check and difference comparison on the version number of the functional component package on the instruction and the information of the functional component package and the information of the current instruction and the information of the local machine to obtain the difference of the version number of the functional component package, downloading the instruction and the functional component package according to the difference of the version number of the functional component package, unpacking the instruction and the functional component package, loading the instruction into the running memory space of the local machine, reading the functional component package, decompressing the program directory of the local machine, and applying the instruction and the functional component package;
the database is configured to: the latest version information is stored.
In a fifth aspect, a mobile client provided in an embodiment of the present invention includes:
the system comprises an instruction and functional component checking and downloading unit, a background server and a client, wherein the instruction and functional component checking and downloading unit is used for sending an instruction and functional component package checking request to the background server, and the instruction and functional component package checking request comprises the current version information of the mobile client; receiving an instruction and functional component package information, wherein the instruction and functional component package information are obtained by a background server by comparing the current version information of the mobile client with the latest version information in a database and extracting the current version information from the database according to a comparison result; the instruction and functional component package information and the current instruction and functional component package information of the local computer are subjected to instruction execution condition check and functional component package version number difference comparison to obtain the difference of the functional component package version numbers, and the instruction and functional component package is downloaded according to the difference of the functional component package version numbers;
the instruction and functional component package updating processing unit is used for unpacking the instruction and functional component package, loading the instruction into the local machine running memory space, reading the functional component package and decompressing the functional component package to the local machine program directory;
and the instruction and functional component package application unit is used for applying the instruction and functional component package.
In a sixth aspect, a background server provided in an embodiment of the present invention includes:
the system comprises an instruction and functional component package downloading control unit, a service management unit and a service management unit, wherein the instruction and functional component package downloading control unit is used for receiving an instruction and a functional component package checking request sent by a mobile client, and the instruction and functional component package checking request comprises the current version information of the mobile client;
the version comparison checking unit is used for comparing the current version information of the mobile client with the latest version information in a database and extracting instructions and functional component package information from the database according to the comparison result;
the instruction and functional component package download control unit is further configured to:
and transmitting the instruction and the functional component packet information to the mobile client.
In a seventh aspect, an embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the method is implemented.
In an eighth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where a computer program for executing the method is stored in the computer-readable storage medium.
In the embodiment of the invention, the mobile client reports the current version information to the background server, the background server stores and analyzes the mobile client information, and transmits the new release function and related function instruction required by the mobile client to the mobile client according to the analysis result, and the client receives the data and the instruction and makes a specific response according to the instruction. Compared with the prior art, the method and the device can realize the function increment updating of the mobile client App, and the mobile client App does not need to be newly installed after a new version is released.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a block diagram of an overall architecture of a mobile client service update management system according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for managing update of a mobile client service according to an embodiment of the present invention (from the perspective of a whole large system);
FIG. 3 is a flowchart of an application of a bundle of instructions and functional components in a method for managing update of a mobile client service according to an embodiment of the present invention;
fig. 4 is a service publishing flowchart in a method for managing service update of a mobile client according to an embodiment of the present invention;
FIG. 5 is a flowchart of a method for managing update of a mobile client service according to an embodiment of the present invention (from the perspective of a mobile client);
fig. 6 is a flowchart of a method for managing update of a mobile client service according to an embodiment of the present invention (from the perspective of a backend server);
fig. 7 is a block diagram of a mobile client according to an embodiment of the present invention;
FIG. 8 is a block diagram of a background server according to an embodiment of the present invention;
fig. 9 is a block diagram of a control terminal according to an embodiment of the present invention;
fig. 10 is a block diagram of a database structure according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a mobile client service update management system, which comprises: background server 1, control terminal 2, database 3, transmission network 4, mobile client 5, as shown in fig. 1. The control terminal 2 transmits the control operation information to the background server 1 through the transmission network 4, the background server 1 performs information interaction through the transmission network 4, and the mobile client 5 performs interaction with the background server 1 through the transmission network 4.
Specifically, the background server is used for receiving and managing the instruction and the functional component package;
the control terminal is used for generating and uploading an instruction and a functional component package, and realizing service online and instruction sending;
the database is used for storing the instruction and the functional component package, and realizing instruction storage and version library query maintenance;
the mobile client is used for downloading and applying the instruction and the functional component package, and control mechanisms of function-level service request passing, blacklist blocking and the like are realized.
Based on the system, the invention provides a mobile client service update management method, as shown in fig. 2, the method includes:
s101: the mobile client App starts and enters an initial state after completing a series of initializations, and the mobile client 5 sends an instruction and a functional component package check request to the background server 1 through the transmission network 4, wherein the instruction and functional component package check request includes current version information of the mobile client and also can include information such as state and the like.
S102: the background server 1 receives the instruction and the checking request of the functional component package, compares the current version information of the mobile client with the latest version information in the database, generates a version list to be updated and stores the checking result. Extracting the instruction and the functional component package from the database 3 according to the comparison result, reading the instruction and the functional component package information, and sending the instruction and the functional component package information to the mobile client 5;
s103: the mobile client 5 receives the instruction and the information of the functional component package, performs instruction execution condition check and version number difference comparison on the instruction and the information of the functional component package and the information of the current instruction and the information of the local machine to obtain the difference of the version number of the functional component package, downloads the instruction and the functional component package according to the difference of the version number of the functional component package, unpacks the downloaded instruction and the downloaded functional component package, loads the instruction into the running memory space of the local machine, reads the functional component package, decompresses the program directory of the local machine, replaces the current program file of the client, and applies the instruction and the functional component package.
In the embodiment of the present invention, there is also such a problem in the prior art: when the function needs to be shut down, the function management control can not be effectively carried out according to the dimensions of areas or personnel and the like. As shown in fig. 3, the method further comprises:
the client initiates a request S201: the mobile client 5 performs a function operation and transmits a request.
Request interception and resolution S202: the mobile client 5 intercepts the outgoing request of the functional operation and parses out the elements of the request, which may include the request address and the request type (e.g., static resource class, page class) for subsequent examination.
Access check switch judgment S203: the mobile client 5 reads the instruction loaded into the local running memory space, and judges whether to check the outgoing request by checking whether the request address is in the instruction list. If the request address is in the instruction list (i.e. the instruction to be loaded into the local run memory space is stored in the instruction list), step S204 is performed, and if the request address is not in the instruction list, step S209 is performed.
Static resource checking S204: the mobile client 5 determines whether the request type is a request of a static resource class, and if the request type is not a request of a static resource class, the process goes to step S205, and if the request type is a request of a static resource class, the process goes to step S209.
Page request determination S205: the mobile client 5 further determines the instruction and the request read in step S204, determines whether the request type is a page request, if the request type is a page request, the process goes to step S206, and if the request type is not a page request, the process goes to step S207.
Page service check S206: the mobile client 5 checks the outgoing page request according to the instruction and the request, determines whether the request type is HTML, and if the request type is HTML, the process goes to step S207, and if the request type is not HTML, the process goes to step S208.
Data service check S207: the mobile client 5 performs blacklist check on the request according to the instruction and the request, determines whether the request is legal, if the check result is in the blacklist, the step goes to step S208, and if the check result is not in the blacklist, the step S209 is gone to, where the blacklist is stored as a prohibition type instruction, that is, an instruction for prohibiting outgoing transmission.
Request blocking S208: the mobile client 5 blocks the request according to the check result, and prohibits the request from being issued.
Request drop S209: and the mobile client 5 sends the request according to the checking and judging result and sends the request outwards.
In the embodiment of the present invention, fig. 4 is a service publishing flowchart, and a specific processing procedure includes:
login control terminal S301: the user logs in the control terminal 2.
The instruction and function component package is produced S302: the control terminal 2 creates an instruction and a functional component package, packages the program file, and generates the functional component package.
The instruction and function component package is uploaded S303: and the control terminal 2 uploads the manufactured instruction and functional component package to the background server 1.
The instruction and function component package receiving S304: the background server 1 receives the instruction and the functional component package uploaded by the control terminal 2.
Incremental version generation S305: the background server 1 extracts the received functional component package and generates an incremental version according to the historical version library information.
The instruction and the incremental version are stored in S306: the background server 1 stores the generated incremental version information into the database 3.
The above is a description of the mobile client service update management system as a whole, and the following is a description of three devices, namely, the mobile client 5, the backend server 1, and the control terminal 2.
In the embodiment of the present invention, as shown in fig. 5, the mobile client service update management method (mobile client angle) includes:
s501: sending an instruction and functional component package checking request to a background server, wherein the instruction and functional component package checking request comprises current version information of a mobile client;
s502: receiving an instruction and functional component package information, wherein the instruction and functional component package information are obtained by a background server by comparing the current version information of the mobile client with the latest version information in a database and extracting the current version information from the database according to a comparison result;
s503: and checking the instruction execution condition and comparing the version number difference of the instruction and functional component package information with the current instruction and functional component package information of the local machine to obtain the difference of the version number of the functional component package, downloading the instruction and functional component package according to the difference of the version number of the functional component package, unpacking the instruction and the functional component package, loading the instruction into the running memory space of the local machine, reading the functional component package, decompressing the functional component package into a program directory of the local machine, and applying the instruction and the functional component package.
The flow of the command and function component package application from the perspective of the mobile client is shown in fig. 3, which has been described in detail above and will not be described herein again.
In the embodiment of the present invention, as shown in fig. 6, the method for managing update of mobile client service (backend server) includes:
s601: receiving an instruction and a functional component package checking request sent by a mobile client, wherein the instruction and functional component package checking request comprises current version information of the mobile client;
s602: and comparing the current version information of the mobile client with the latest version information in the database, extracting the instruction and the functional component packet information from the database according to the comparison result, and issuing the instruction and the functional component packet information to the mobile client.
The mobile client service update management method (background server angle) further comprises the following steps:
receiving a command and a functional component package generated by a control terminal, generating incremental version information according to the functional component package and historical version information in a database, and storing the incremental version information in the database.
In an embodiment of the present invention, fig. 7 is a block diagram of a mobile client according to an embodiment of the present invention, and as shown in fig. 7, the mobile client includes: an instruction and function package check downloading unit 51, an instruction and function package update processing unit 52, an instruction and function package application unit 53, a request intercepting and parsing unit 54, a request checking unit 55, and a request sending control unit 56, wherein:
an instruction and functional component check downloading unit 51, configured to send an instruction and functional component package check request to the background server, where the instruction and functional component package check request includes current version information of the mobile client; receiving an instruction and functional component package information, wherein the instruction and functional component package information are obtained by a background server by comparing the current version information of the mobile client with the latest version information in a database and extracting the current version information from the database according to a comparison result; and checking the instruction execution condition and comparing the version number difference of the instruction and functional component package information with the current instruction and functional component package information of the local computer to obtain the difference of the version number of the functional component package, and downloading the instruction and functional component package according to the difference of the version number of the functional component package.
And the instruction and functional component package updating processing unit 52 is configured to unpack the instruction and functional component package, load the instruction into the local operating memory space for standby, read the functional component package, and decompress the functional component package into the local program directory, so as to implement update and replacement of a new program file.
And the instruction and functional component package application unit 53 is configured to apply the instruction and functional component package to enable the client to use the instruction and functional component package to execute the instruction or run the service.
A request interception and analysis unit 54, configured to initiate an outgoing request of a function operation; intercepting and analyzing the outgoing request of the function operation to obtain elements of the outgoing request of the function operation, wherein the elements comprise a request address, a request type, URL keywords and the like;
a request checking unit 55, configured to read an instruction loaded into the native operating memory space, and determine whether a request address is in an instruction list:
if the request address is in the instruction list, judging whether the request type is a request of a static resource type:
if the request type is not the request of the static resource class, judging whether the request type is a page class request:
if the request type is a page type request, judging whether the request type is HTML:
if the request type is HTML, the outgoing request of the function operation is subjected to blacklist check, wherein the blacklist comprises a forbidden class instruction, and whether the outgoing request of the function operation is legal is judged:
if the request type is not a page request, carrying out blacklist check on the outgoing request of the function operation;
the request transmission control unit 56 is configured to:
if the request type is a request of a static resource type, the external request of the function operation is sent out;
if the outgoing request of the function operation is in a blacklist, blocking the outgoing request of the function operation, and forbidding the outgoing request of the function operation; if the outgoing request of the function operation is not in the blacklist, the outgoing request of the function operation is sent outwards;
if the request type is not HTML, blocking the outgoing request of the function operation, and prohibiting the outgoing request of the function operation from being sent;
and if the request address is not in the instruction list, sending the external request of the function operation outwards.
As shown in fig. 7, the mobile client may further include a main control unit 50: the device is respectively connected with an instruction and function package checking and downloading unit 51, an instruction and function package updating processing unit 52, an instruction and function package application unit 53, a request interception and analysis unit 54, a request checking unit 55 and a request sending control unit 56, and is used for realizing the coordinated scheduling of all units.
In this embodiment of the present invention, fig. 8 is a structural block diagram of a backend server provided in this embodiment of the present invention, and as shown in fig. 8, the backend server includes an instruction and functional component package receiving unit 11, an incremental version generating unit 12, a version library managing unit 13, a version comparison checking unit 14, and an instruction and functional component package download control unit 15, where:
and an instruction and functional component package receiving unit 11, configured to receive the instruction and functional component package generated by the control terminal.
And the incremental version generating unit 12 is used for extracting the received functional component package, generating incremental version information according to the functional component package and historical version information in the database, and storing the incremental version information into the database.
And the version library management unit 13 is used for providing functions of version library query, version addition, maintenance and the like and realizing the version management of the mobile client program.
The version comparison checking unit 14 is configured to compare the current version information of the mobile client with the latest version information in the database, generate a difference list, provide a basis for generating an incremental version, and extract an instruction and functional component package information from the database according to a comparison result;
an instruction and functional component package download control unit 15, configured to receive an instruction and a functional component package check request sent by a mobile client, where the instruction and functional component package check request includes current version information of the mobile client; and transmitting the instruction and the functional component packet information to the mobile client. The method realizes the download management control function and provides coordination service for the client download instruction and the functional component package.
As shown in fig. 8, the background server may further include a main control unit 10: the system is connected with an instruction and functional component package receiving unit 11, an incremental version generating unit 12, a version library managing unit 13, a version comparison checking unit 14 and an instruction and functional component package downloading control unit 15, and is used for realizing the coordinated scheduling of all units in the background server.
In this embodiment of the present invention, fig. 9 is a block diagram of a control terminal structure provided in this embodiment of the present invention, and as shown in fig. 9, the control terminal includes a control unit 20, an instruction and function component package generating unit 21, and an instruction and function component package downloading unit 22, where:
the control unit 20: and the instruction and function component package generation unit 21 and the instruction and function component package download unit 22 are respectively connected to implement coordinated scheduling of each unit in the control terminal 2.
The instruction and function component package generating unit 21: and is connected with the control unit 20 for making instructions and generating scripts, packaging program files and generating functional component packages.
Instruction and functional component Package download Unit 22: connected to the control unit 20, the module is configured to upload the prepared command and function component package prepared by the command and function component package generating unit 21 to the backend server 1.
In this embodiment of the present invention, fig. 10 is a block diagram of a database structure provided in this embodiment of the present invention, and as shown in fig. 10, the database includes a functional component package version library storage unit 30 and an instruction storage unit 31, where:
the functional component package version library storage unit 30: for storing a full version and an incremental version of the mobile client feature component package.
Instruction storage unit 31: for storing instructions including pass request instructions, inhibit request instructions, and other control instructions.
The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the method when executing the computer program.
The embodiment of the invention also provides a computer readable storage medium, and the computer readable storage medium stores a computer program for executing the method.
In conclusion, the mobile client App function increment updating and function start-stop management control are realized through the technical scheme. The method mainly has the following advantages:
1. the incremental updating of the App function of the mobile client can be realized without downloading and installing the App of the mobile client again. The mobile client App function is supported to be quickly and conveniently on-line, a plurality of teams are supported to develop and release respective functions on the same mobile client App without mutual influence, the work coupling among the teams is greatly reduced, and the function iteration speed is increased.
2. And request management of an App function on user holding equipment is supported. Through carrying out refined management and control to function page and data request, realize the on-off control to the concrete function of mobile client App, strengthen the controllability that new function was online, wrong old function was offline greatly, guarantee the orderly steady operation of production.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes may be made to the embodiment of the present invention by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (7)

1. A method for managing update of a mobile client service, comprising:
the method comprises the steps that a mobile client sends an instruction and functional component package checking request to a background server, wherein the instruction and functional component package checking request comprises current version information of the mobile client;
the background server receives the instruction and the functional component package checking request, compares the current version information of the mobile client with the latest version information in the database, extracts the instruction and the functional component package information from the database according to the comparison result, and issues the instruction and the functional component package information to the mobile client;
the mobile client receives the instruction and the information of the functional component package, performs instruction execution condition check and version number difference comparison on the instruction and the information of the functional component package and the information of the current instruction and the information of the local machine to obtain the difference of the version number of the functional component package, downloads the instruction and the functional component package according to the difference of the version number of the functional component package, unpacks the instruction and the functional component package, loads the instruction into the running memory space of the local machine, reads the functional component package, decompresses the program directory of the local machine, and applies the instruction and the functional component package;
further comprising:
the mobile client initiates an outgoing request of function operation;
the mobile client intercepts and analyzes the outgoing request of the function operation to obtain the elements of the outgoing request of the function operation, wherein the elements comprise a request address and a request type;
the mobile client reads the instruction loaded to the running memory space of the local machine and judges whether the request address is in the instruction list:
if the request address is in the instruction list, judging whether the request type is a request of a static resource type:
if the request type is a request of a static resource class, the external request of the function operation is sent out, if the request type is not the request of the static resource class, whether the request type is a page class request is judged:
if the request type is a page type request, judging whether the request type is HTML:
if the request type is HTML, the outgoing request of the function operation is subjected to blacklist check, wherein the blacklist comprises a forbidden class instruction, and whether the outgoing request of the function operation is legal is judged:
if the outgoing request of the function operation is in a blacklist, blocking the outgoing request of the function operation, and forbidding the outgoing request of the function operation; if the outgoing request of the function operation is not in the blacklist, the outgoing request of the function operation is sent outwards;
if the request type is not HTML, blocking the outgoing request of the function operation, and prohibiting the outgoing request of the function operation from being sent;
if the request type is not a page request, carrying out blacklist check on the outgoing request of the function operation;
and if the request address is not in the instruction list, sending the external request of the function operation outwards.
2. The mobile client service update management method of claim 1, further comprising:
the control terminal generates an instruction and a functional component package, and uploads the instruction and the functional component package to the background server;
and the background server receives the instruction and the functional component package, generates incremental version information according to the functional component package and historical version information in the database, and stores the incremental version information into the database.
3. A method for managing update of a mobile client service, comprising:
sending an instruction and functional component package checking request to a background server, wherein the instruction and functional component package checking request comprises current version information of a mobile client;
receiving an instruction and functional component package information, wherein the instruction and functional component package information are obtained by a background server by comparing the current version information of the mobile client with the latest version information in a database and extracting the current version information from the database according to a comparison result;
checking the instruction execution condition and comparing the version number difference of the instruction and functional component package information with the current instruction and functional component package information of the local machine to obtain the difference of the version number of the functional component package, downloading the instruction and functional component package according to the difference of the version number of the functional component package, unpacking the instruction and the functional component package, loading the instruction into the running memory space of the local machine, reading the functional component package, decompressing the functional component package to a program directory of the local machine, and applying the instruction and the functional component package;
further comprising:
initiating an outgoing request for functional operation;
intercepting and analyzing the outgoing request of the function operation to obtain an element of the outgoing request of the function operation, wherein the element comprises a request address and a request type;
reading the instruction loaded to the running memory space of the local machine, and judging whether the request address is in the instruction list:
if the request address is in the instruction list, judging whether the request type is a request of a static resource type:
if the request type is a request of a static resource class, the external request of the function operation is sent out, if the request type is not the request of the static resource class, whether the request type is a page class request is judged:
if the request type is a page type request, judging whether the request type is HTML:
if the request type is HTML, the outgoing request of the function operation is subjected to blacklist check, wherein the blacklist comprises a forbidden class instruction, and whether the outgoing request of the function operation is legal is judged:
if the outgoing request of the function operation is in a blacklist, blocking the outgoing request of the function operation, and forbidding the outgoing request of the function operation; if the outgoing request of the function operation is not in the blacklist, the outgoing request of the function operation is sent outwards;
if the request type is not HTML, blocking the outgoing request of the function operation, and prohibiting the outgoing request of the function operation from being sent;
if the request type is not a page request, carrying out blacklist check on the outgoing request of the function operation;
and if the request address is not in the instruction list, sending the external request of the function operation outwards.
4. A mobile client service update management system, comprising: the system comprises a mobile client, a background server and a database;
wherein the mobile client is to: sending an instruction and functional component package checking request to a background server, wherein the instruction and functional component package checking request comprises current version information of a mobile client;
the background server is used for: receiving the instruction and functional component package checking request, comparing the current version information of the mobile client with the latest version information in a database, extracting the instruction and functional component package information from the database according to the comparison result, and issuing the instruction and functional component package information to the mobile client;
the mobile client is further configured to: receiving the instruction and the information of the functional component package, performing instruction execution condition check and difference comparison on the version number of the functional component package on the instruction and the information of the functional component package and the information of the current instruction and the information of the local machine to obtain the difference of the version number of the functional component package, downloading the instruction and the functional component package according to the difference of the version number of the functional component package, unpacking the instruction and the functional component package, loading the instruction into the running memory space of the local machine, reading the functional component package, decompressing the program directory of the local machine, and applying the instruction and the functional component package;
the database is configured to: storing the latest version information;
the mobile client is further configured to:
initiating an outgoing request for functional operation;
intercepting and analyzing the outgoing request of the function operation to obtain an element of the outgoing request of the function operation, wherein the element comprises a request address and a request type;
reading the instruction loaded to the running memory space of the local machine, and judging whether the request address is in the instruction list:
if the request address is in the instruction list, judging whether the request type is a request of a static resource type:
if the request type is a request of a static resource class, the external request of the function operation is sent out, if the request type is not the request of the static resource class, whether the request type is a page class request is judged:
if the request type is a page type request, judging whether the request type is HTML:
if the request type is HTML, the outgoing request of the function operation is subjected to blacklist check, wherein the blacklist comprises a forbidden class instruction, and whether the outgoing request of the function operation is legal is judged:
if the outgoing request of the function operation is in a blacklist, blocking the outgoing request of the function operation, and forbidding the outgoing request of the function operation; if the outgoing request of the function operation is not in the blacklist, the outgoing request of the function operation is sent outwards;
if the request type is not HTML, blocking the outgoing request of the function operation, and prohibiting the outgoing request of the function operation from being sent;
if the request type is not a page request, carrying out blacklist check on the outgoing request of the function operation;
and if the request address is not in the instruction list, sending the external request of the function operation outwards.
5. A mobile client, comprising:
the system comprises an instruction and functional component checking and downloading unit, a background server and a client, wherein the instruction and functional component checking and downloading unit is used for sending an instruction and functional component package checking request to the background server, and the instruction and functional component package checking request comprises the current version information of the mobile client; receiving an instruction and functional component package information, wherein the instruction and functional component package information are obtained by a background server by comparing the current version information of the mobile client with the latest version information in a database and extracting the current version information from the database according to a comparison result; the instruction and functional component package information and the current instruction and functional component package information of the local computer are subjected to instruction execution condition check and functional component package version number difference comparison to obtain the difference of the functional component package version numbers, and the instruction and functional component package is downloaded according to the difference of the functional component package version numbers;
the instruction and functional component package updating processing unit is used for unpacking the instruction and functional component package, loading the instruction into the local machine running memory space, reading the functional component package and decompressing the functional component package to the local machine program directory;
the instruction and functional component package application unit is used for applying the instruction and functional component package;
the request intercepting and analyzing unit is used for initiating the outgoing request of the function operation, intercepting and analyzing the outgoing request of the function operation and obtaining elements of the outgoing request of the function operation, wherein the elements comprise a request address and a request type;
the request checking unit is used for reading the instruction loaded into the running memory space of the local machine and judging whether the request address is in the instruction list:
if the request address is in the instruction list, judging whether the request type is a request of a static resource type:
the request transmission control unit is configured to: if the request type is a request of a static resource type, the external request of the function operation is sent out;
if the request type is not the request of the static resource class, judging whether the request type is a page class request:
if the request type is a page type request, judging whether the request type is HTML:
if the request type is HTML, the outgoing request of the function operation is subjected to blacklist check, wherein the blacklist comprises a forbidden class instruction, and whether the outgoing request of the function operation is legal is judged:
the request transmission control unit is configured to: if the outgoing request of the function operation is in a blacklist, blocking the outgoing request of the function operation, and forbidding the outgoing request of the function operation; if the outgoing request of the function operation is not in the blacklist, the outgoing request of the function operation is sent outwards;
if the request type is not HTML, blocking the outgoing request of the function operation, and prohibiting the outgoing request of the function operation from being sent;
if the request type is not a page request, carrying out blacklist check on the outgoing request of the function operation;
the request transmission control unit is configured to:
and if the request address is not in the instruction list, sending the external request of the function operation outwards.
6. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 3 when executing the computer program.
7. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 1 to 3.
CN201910266987.4A 2019-04-03 2019-04-03 Mobile client service update management method, device and system Active CN110012096B (en)

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 CN110012096A (en) 2019-07-12
CN110012096B true 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)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112235333B (en) * 2019-07-15 2023-05-26 北京字节跳动网络技术有限公司 Function package management method, device, equipment and storage medium
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
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

Citations (3)

* Cited by examiner, † Cited by third party
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
CN108111330A (en) * 2017-11-06 2018-06-01 北京趣拿软件科技有限公司 The acquisition of updated data package, the update method of application component and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104252364B (en) * 2013-06-25 2017-09-12 腾讯科技(深圳)有限公司 Method, equipment and the system of incremental update
AU2015401229B2 (en) * 2015-12-28 2019-01-17 Huawei Cloud Computing Technologies Co., Ltd. Website access method, apparatus, and website system
CN106713318B (en) * 2016-12-23 2020-04-07 新东网科技有限公司 WEB site safety protection method and system
CN109246064B (en) * 2017-07-11 2021-09-03 阿里巴巴集团控股有限公司 Method, device and equipment for generating security access control and network access rule

Patent Citations (3)

* Cited by examiner, † Cited by third party
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
CN108111330A (en) * 2017-11-06 2018-06-01 北京趣拿软件科技有限公司 The acquisition of updated data package, the update method of application component and device

Also Published As

Publication number Publication date
CN110012096A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
CN110012096B (en) Mobile client service update management method, device and system
US10599874B2 (en) Container update system
CN110622129B (en) Method, system, and portal for accelerating aspects of data analysis application development and deployment using software containers
CN106156186B (en) Data model management device, server and data processing method
CN111386523B (en) Systems and methods for blockchain-based decentralised application development
US8812683B2 (en) Service scripting framework
KR20180063240A (en) Systems and methods for building, optimizing, and implementing an infrastructure in a cloud-based computing environment
US20180196647A1 (en) Application Programming Interface Discovery Using Pattern Recognition
CN110874236A (en) Cross-platform application device, terminal and storage medium
CN110750243A (en) Project code development method and system
CN112860282A (en) Upgrading method and device of cluster plug-in and server
CN112860645A (en) Processing method and device for offline compressed file, computer equipment and medium
CN116783581A (en) Deploying software release on a data center configured in a cloud platform
CN110532016B (en) Version management method, version updating method and version management system
CN103514004A (en) Method and device for managing system environment under Windows system
CN106936643B (en) Equipment linkage method and terminal equipment
CN110837612B (en) Uniform Resource Identifier (URI) data acquisition method and device and storage medium
CN112564979A (en) Execution method and device for construction task, computer equipment and storage medium
CN115485677A (en) Secure data replication in a distributed data storage environment
CN113628052A (en) Block chain asset and contract processing method, system and device based on prediction machine
Sebastian Transform monolith into microservices using docker
CN117150534B (en) Trusted DCS upper computer application access control method and system based on authority management
EP4036720B1 (en) Hash optimized composition cache for isolated execution environments
CN115408047B (en) Version release method and device and electronic equipment
CN112506796B (en) Data processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant