CN113835717A - Installation package obtaining method, device, equipment and storage medium - Google Patents

Installation package obtaining method, device, equipment and storage medium Download PDF

Info

Publication number
CN113835717A
CN113835717A CN202010582394.1A CN202010582394A CN113835717A CN 113835717 A CN113835717 A CN 113835717A CN 202010582394 A CN202010582394 A CN 202010582394A CN 113835717 A CN113835717 A CN 113835717A
Authority
CN
China
Prior art keywords
installation package
query
parameter
function
obtaining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010582394.1A
Other languages
Chinese (zh)
Inventor
张磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN202010582394.1A priority Critical patent/CN113835717A/en
Publication of CN113835717A publication Critical patent/CN113835717A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses an installation package obtaining method, device, equipment and storage medium. The method comprises the following steps: when a trigger event for acquiring the installation package is monitored, acquiring an installation package acquisition parameter corresponding to the trigger event; taking the installation package acquisition parameters as the parameter of the access, calling the constructed installation package acquisition function so that the installation package acquisition function decrypts the installation package query parameters, and updating the installation package query parameters according to the decryption result; transmitting the installation package acquisition parameters to the constructed signature verification function, and judging whether the signature verification is successful according to the output result of the signature verification function; if so, taking the installation package query parameter as an entry parameter, calling the constructed installation package query function, and obtaining an installation package to be acquired according to an output result of the installation package query function; and obtaining the installation package to be obtained according to the output result of the installation package obtaining function. The technical scheme of the embodiment of the invention solves the problem of low acquisition efficiency of the installation package.

Description

Installation package obtaining method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computer application, in particular to an installation package obtaining method, device, equipment and storage medium.
Background
In the Android system, all installed installation packages of a certain application program are usually stored in a local folder, and when a certain specific installation package needs to be obtained, a user needs to manually search in the folder in the prior art, so that the obtaining efficiency of the installation package is low.
Disclosure of Invention
The embodiment of the invention provides an installation package obtaining method, device, equipment and storage medium, and solves the problem of low obtaining efficiency of an installation package.
In a first aspect, an embodiment of the present invention provides an installation package obtaining method, which may include:
when a trigger event for acquiring the installation package is monitored, acquiring installation package acquisition parameters corresponding to the trigger event, wherein the installation package acquisition parameters comprise installation package query parameters of the installation package to be acquired and object signature parameters of an installation package acquisition object;
calling the constructed installation package acquisition function by taking the installation package acquisition parameter as a parameter, and acquiring an installation package to be acquired according to an output result of the installation package acquisition function;
the installation package obtaining function realizes the installation package obtaining function through the following steps:
decrypting the installation package query parameter, and updating the installation package query parameter according to a decryption result;
transmitting the installation package acquisition parameters to the constructed signature verification function, and judging whether the signature verification is successful according to the output result of the signature verification function;
if so, the installation package query parameter is taken as the parameter of the entry, the constructed installation package query function is called, and the installation package to be acquired is obtained according to the output result of the installation package query function.
In a second aspect, an embodiment of the present invention further provides an installation package obtaining apparatus, where the apparatus may include:
the device comprises an installation package acquisition parameter acquisition module, a data acquisition module and a data processing module, wherein the installation package acquisition parameter acquisition module is used for acquiring an installation package acquisition parameter corresponding to a trigger event when the trigger event of acquiring the installation package is monitored, and the installation package acquisition parameter comprises an installation package query parameter of the installation package to be acquired and an object signature parameter of an installation package acquisition object;
the to-be-acquired installation package obtaining module is used for calling the constructed installation package obtaining function by taking the installation package obtaining parameters as the parameter, and obtaining the to-be-acquired installation package according to the output result of the installation package obtaining function;
the installation package obtaining function realizes the installation package obtaining function through the following units:
the installation package query parameter decryption unit is used for acquiring the access token information, decrypting the installation package query parameter based on the access token information and updating the installation package query parameter according to a decryption result;
the signature verification judging unit is used for transmitting the installation package acquisition parameters to the constructed signature verification function and judging whether the signature verification is successful or not according to the output result of the signature verification function;
and the to-be-acquired installation package obtaining unit is used for calling the constructed installation package query function by taking the installation package query parameter as the parameter of the access parameter if the installation package query parameter is the parameter of the access parameter, and obtaining the to-be-acquired installation package according to the output result of the installation package query function.
In a third aspect, an embodiment of the present invention further provides an apparatus, where the apparatus may include:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the installation package obtaining method provided by any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the installation package obtaining method provided in any embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, when a trigger event for acquiring the installation package is monitored, the constructed installation package acquisition function is called by taking the installation package acquisition parameter corresponding to the trigger event as an entry parameter, so that the installation package acquisition function decrypts the installation package query parameter, updates the installation package query parameter according to the decryption result, further transmits the installation package acquisition parameter to the constructed signature verification function, and transmits the installation package query parameter to the constructed installation package query function when the signature verification is determined to be successful according to the output result of the signature verification function, wherein the output result of the installation package query function is the output result of the installation package acquisition function; therefore, according to the output result of the installation package obtaining function, the corresponding installation package to be obtained can be obtained. According to the technical scheme, the installation package to be acquired matched with the installation package acquisition parameter is automatically acquired based on the installation package acquisition function, the problem that the acquisition efficiency of the installation package is low is solved, and the automatic and quick acquisition effect of the installation package is achieved.
Drawings
Fig. 1 is a flowchart of an installation package obtaining method in a first embodiment of the present invention;
fig. 2 is a flowchart of an installation package obtaining method in the second embodiment of the present invention;
fig. 3 is a flowchart of an installation package obtaining method in the third embodiment of the present invention;
fig. 4 is a block diagram of an installation package obtaining apparatus in the fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus in the fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of an installation package obtaining method according to a first embodiment of the present invention. The embodiment is applicable to the situation of acquiring the installation package, and is particularly applicable to the situation of acquiring the installation package matched with the query parameter of the installation package from all installed installation packages of an application program. The method can be executed by the installation package acquisition device provided by the embodiment of the invention, the device can be realized by software and/or hardware, and the device can be integrated on various user terminals or servers.
Referring to fig. 1, the method of the embodiment of the present invention specifically includes the following steps:
s110, when a trigger event for acquiring the installation package is monitored, acquiring installation package acquisition parameters corresponding to the trigger event, wherein the installation package acquisition parameters comprise installation package query parameters of the installation package to be acquired and object signature parameters of an installation package acquisition object.
The trigger event may be an event triggered by an installation package acquisition object and used for acquiring an installation package to be acquired, the installation package acquisition object may be an object for pre-acquiring the installation package to be acquired, the installation package to be acquired may be one of all installation packages of an application program that have been installed, each installation package in all installation packages may have a different version number, may originate from a different channel, and the like, and such an installation package to be acquired may be referred to as a history installation package.
The installation package obtaining parameters may include an installation package query parameter of the installation package to be obtained and an object signature parameter of the installation package obtaining object. Specifically, the installation package query parameter may be a query condition that needs to be satisfied by the installation package to be obtained, and may be at least one of an application name, an application version number, and an application channel, or may be other application information, which is not specifically limited herein. For example, the installation package query parameter may be application name + application version number, application name + application channel, application name + application version number + application channel, or the like. The object signature parameter is a signature provided by the installation package acquisition object when the installation package is pre-acquired, and can prove whether the installation package acquisition object is a legal object or an illegal object.
In practical applications, optionally, the type of the object signature parameter may be a String type, and the type of the installation package query parameter may be a PageParam type, where PageParam is a custom type, and the description information of PageParam may include at least one of the number of database pages, the number of entries per page, and the database paging parameter, and for example, the description information of PageParam is as follows:
Figure BDA0002552842570000051
and S120, calling the constructed installation package acquisition function by taking the installation package acquisition parameter as an entry parameter, so that the installation package acquisition function executes S130-S150 according to the installation package acquisition parameter.
The installation package obtaining function takes the installation package obtaining parameters as the parameter, and the corresponding installation package to be obtained can be obtained according to the installation package obtaining parameters. In practical application, optionally, the type of the parameter for participating in the installation package obtaining function may be a common result < ListRes < AppPageVo > > type, where ListRes < AppPageVo > is a generalized parameter of common result, AppPageVo is a generalized parameter of ListRes, and multiple levels of generalized combination settings may return multiple pieces of data on one result set, which greatly improves the capacity for returning data. It should be noted that the AppPageVo is a custom type, and the description information thereof may include at least one of identification information, a title, a package name, a support platform, a creation time, an update time, a label, and an operator, and may also include other information, which is not specifically limited herein. Illustratively, the description information of AppPageVo is as follows:
Figure BDA0002552842570000061
on this basis, the specific form of the installation package acquisition function is as follows: public common result < ListRes < AppPageVo > > pagelist (PageParam appQueryReq, String sign) through Venus Exception, wherein pagelist is a function name of an installation package acquisition function, appQueryReq is an installation package query parameter, sign is an object signature parameter, the installation package acquisition function can throw out a custom exception, the custom exception is named Venus Exception, and the custom exception can be continuously thrown out through the through Venus Exception.
Optionally, a preset request annotation of @ RequestMapping (value "/application", and method { (requestmethod.post }) may be set in the installation package obtaining function, which describes a request manner of the installation package obtaining function, this indicates that the request manner is only a POST request, and the request path must be "/application", and this setting is an optional setting, and is not particularly limited.
Optionally, a preset serialization annotation may be further set in the installation package obtaining function, where the preset serialization annotation may be @ ResponseBody, and an automatic serialization function of an output result of the installation package obtaining function may be implemented by the @ ResponseBody, and the output result may be automatically serialized into data in a preset format, where the preset format may be a JSON format, so as to improve convenience of data transmission and efficiency of front end parsing on data. In practical applications, optionally, the preset serialized annotation may be set in an installation package query function in the installation package obtaining function.
S130, the installation package query parameters are decrypted, and the installation package query parameters are updated according to the decryption result.
The installation package query parameter may be regarded as a string of scrambled codes after encryption processing, and thus, the installation package query parameter may be decrypted based on a check key, where the check key may be a key held by each of the front end and the back end. That is, the front end encrypts the installation package query parameters based on the check key, and sends the encrypted installation package query parameters to the back end; and then, the backend decrypts the installation package based on the verification key, and updates the installation package query parameter according to the decryption processing result, wherein the installation package query parameter at the moment is not a string of messy codes any more, but a string of character strings with substantial meanings.
S140, transmitting the installation package acquisition parameters to the constructed signature verification function, and judging whether the signature verification is successful according to the output result of the signature verification function.
The installation package obtaining parameters can comprise installation package query parameters and object signature parameters, the signature verification function can generate a signature verification result according to the installation package query parameters, and when the signature verification result is consistent with the object signature parameters, the installation package obtaining object is a legal object, and the signature verification is successful; otherwise, the installation package obtains the target and is the illegal target, the signature check fails, can return the error code at this moment in order to tell the installation package obtains the target this is an illegal request.
On this basis, optionally, before checking whether the installation package acquisition object is a legal object, the signature check function may also check whether the installation package query parameter is abnormal data, and in a general case, if the installation package query parameter only includes an application version number and/or an application channel, but does not include an application name, it is impossible to accurately locate the installation package to be acquired, which is matched with the installation package query parameter.
And S150, if so, calling the constructed installation package query function by taking the installation package query parameter as an entry parameter, and obtaining the installation package to be acquired according to an output result of the installation package query function.
After the signature verification is successful, the installation package query parameters are transmitted to the constructed installation package query function, and the installation package query function can query the installation package to be acquired, which is matched with the installation package query parameters. In practical applications, optionally, the storage paths of all installed installation packages of each application program may be stored in a created list, and the storage paths of the installation packages may be the same or different, which is not specifically limited herein. Therefore, the application items matched with the installation package query parameters can be searched from the created list according to the installation package query parameters, and then the installation package to be acquired matched with the installation package query parameters can be acquired according to the storage path in the application items.
And S160, obtaining the installation package to be obtained according to the output result of the installation package obtaining function.
According to the technical scheme of the embodiment of the invention, when a trigger event for acquiring the installation package is monitored, the constructed installation package acquisition function is called by taking the installation package acquisition parameter corresponding to the trigger event as an entry parameter, so that the installation package acquisition function decrypts the installation package query parameter, updates the installation package query parameter according to the decryption result, further transmits the installation package acquisition parameter to the constructed signature verification function, and transmits the installation package query parameter to the constructed installation package query function when the signature verification is determined to be successful according to the output result of the signature verification function, wherein the output result of the installation package query function is the output result of the installation package acquisition function; therefore, according to the output result of the installation package obtaining function, the corresponding installation package to be obtained can be obtained. According to the technical scheme, the installation package to be acquired matched with the installation package acquisition parameter is automatically acquired based on the installation package acquisition function, the problem that the acquisition efficiency of the installation package is low is solved, and the automatic and quick acquisition effect of the installation package is achieved.
On this basis, an optional technical solution is that the installation package obtaining function may be set in an installation package obtaining class, where the installation package obtaining class is a self-defined class, and at least one of the following preset annotations may be set: the system comprises a first preset annotation used for indicating that an installation package acquisition class is a control class, a second preset annotation used for indicating path information for accessing the installation package acquisition class, a third preset annotation used for indicating that the installation package acquisition class realizes log injection at a preset speed, and a fourth preset annotation used for indicating that the installation package acquisition class realizes cross-service access, wherein the preset annotations are function annotations which can automatically enhance functions of the installation package acquisition class. Illustratively, the specific form of the installation acquisition class is as follows:
@RestController
@Slf4j
@RequestMapping("/venus/luban/android/pkg")
@NotValid
public class AppPkgController{}
wherein, AppPkgController is the class name of the installation package acquisition class; @ RestController is a first preset annotation indicating that the installation package acquisition class is a class for implementing specific business logic; RequestMapping ("/vent/luban/android/pkg") is a second preset annotation, which represents path information of a business function accessing the installation package acquisition class; @ Slf4j is a third preset annotation, and indicates that log injection can be quickly realized by the installation package acquisition class, so that the log input efficiency is improved; the @ NotValid is a fourth preset annotation, which indicates that the installation package acquisition class can implement cross-service invocation among multiple servers, thereby increasing the acquisition efficiency of the installation package to be acquired.
Example two
Fig. 2 is a flowchart of an installation package obtaining method provided in the second embodiment of the present invention. The present embodiment is optimized based on the above technical solutions. In this embodiment, optionally, the installation package query function implements the installation package query function by the following steps: determining the number of installation packages of the installation packages to be acquired according to the installation package query parameters, and screening out application items matched with the installation package query parameters from the created list, wherein the storage paths and configuration information of the installation packages to be acquired are recorded in the application items; if the number of the application items is consistent with the number of the installation packages, acquiring the identity identification information of the installation packages to be acquired from the application items; determining installation package query information according to the identity identification information, and acquiring configuration information and a storage path from application items according to the installation package query information; and acquiring the installation package to be acquired from the database based on the storage path, converting the installation package to be acquired and the configuration information, and packaging the conversion result. The same or corresponding terms as those in the above embodiments are not explained in detail herein.
Referring to fig. 2, the method of the present embodiment may specifically include the following steps:
s210, when a trigger event for acquiring the installation package is monitored, acquiring installation package acquisition parameters corresponding to the trigger event, wherein the installation package acquisition parameters comprise installation package query parameters of the installation package to be acquired and object signature parameters of an installation package acquisition object.
S220, calling the constructed installation package obtaining function by taking the installation package obtaining parameters as the parameter to enable the installation package obtaining function to execute S230-S270 according to the installation package obtaining parameters.
S230, decrypting the installation package query parameters, and updating the installation package query parameters according to the decryption result.
S240, transmitting the installation package acquisition parameters to the constructed signature verification function, and judging whether the signature verification is successful according to the output result of the signature verification function.
And S250, if so, determining the number of the installation packages to be acquired according to the installation package query parameters, and screening out application items matched with the installation package query parameters from the created list, wherein the storage paths and configuration information of the installation packages to be acquired are recorded in the application items.
In practical application, optionally, the installation package query parameter after decryption is a character string with a substantial meaning, and then, the string number of the character string is the installation package number of the installation package to be obtained, and the installation package number may be one, two or more, and is not specifically limited herein.
The created list is a pre-created application list, and each application entry in the application list records a storage path of an installed package of an application program and configuration information, which may be a package name, an application name, a current version number, and the like. Therefore, the matched application items can be screened from the created list according to the installation package query parameters, and the storage path and the configuration information of the installation package to be acquired are recorded in the application items. For example, if the installation package query parameter is XX application + XX version number + XX channel, the configuration information corresponding to the installation package query parameter can be searched from a creation list, and the application entry where the configuration information is located is the application entry corresponding to the installation package query parameter.
And S260, if the number of the application items is consistent with that of the installation packages, acquiring the identity identification information of the installation packages to be acquired from the application items, determining the query information of the installation packages according to the identity identification information, and acquiring the configuration information and the storage path from the application items according to the query information of the installation packages.
If the number of the application entries is consistent with the number of the installation packages, it indicates that the query parameter of the installation package at this time is an effective parameter, and therefore, identification information (id) of the installation package to be obtained can be obtained from the screened application entries, and the query information of the installation package can be constructed according to the identification information, so that the configuration information and the storage path of the installation package to be obtained can be obtained from the application entries meeting query conditions (i.e., the query parameter of the installation package) according to the constructed query information of the installation package.
S270, acquiring the installation package to be acquired from the database based on the storage path, converting the installation package to be acquired and the configuration information, and packaging the conversion result.
After the storage path of the installation package to be acquired is acquired, the installation package to be acquired can be acquired from the database according to the storage path. On the basis, the installation package to be acquired and the configuration information thereof can be converted, and the conversion result is packaged and output. On the basis, optionally, after the conversion result is encapsulated, the encapsulation result can be automatically serialized into data in a JSON format based on a preset serialization annotation arranged in the installation package query function, and then the data in the JSON format is output.
And S280, obtaining the installation package to be obtained according to the output result of the installation package obtaining function.
According to the technical scheme of the embodiment of the invention, the number of installation packages of the installation packages to be acquired is determined through the installation package query parameters, and application items matched with the installation package query parameters are screened out from the created list; when the number of the application items is consistent with the number of the installation packages, the number indicates that the query parameters of the installation packages are effective parameters, and the identity identification information of the installation packages to be acquired can be acquired from the application items, so that the query information of the installation packages can be determined according to the identity identification information, and the configuration information and the storage path are acquired from the application items according to the query information of the installation packages; therefore, the installation package to be acquired can be acquired from the database based on the storage path, the installation package to be acquired and the configuration information are converted, and the conversion result is encapsulated, so that the effect of effectively inquiring the installation package to be acquired, which is matched with the inquiry parameters of the installation package, is achieved.
EXAMPLE III
Fig. 3 is a flowchart of an installation package obtaining method provided in the third embodiment of the present invention. The present embodiment is optimized based on the above technical solutions. In this embodiment, optionally, the signature verification function implements the signature verification function by the following steps: converting the installation package query parameter into a first query parameter and converting the first query parameter into a second query parameter, wherein the type of the installation package query parameter is Object, the type of the first query parameter is Map, and the type of the second query parameter is List < String >; sorting the second query parameters based on a preset sorting function, and packaging a sorting result into a preset packaging object, wherein the type of the preset packaging object comprises StringBuilder; generating a signature verification result based on a preset packaging object through a message digest algorithm, and judging whether the signature verification result is consistent with the object signature parameters; if yes, the signature verification is successful; otherwise, the signature check fails. The same or corresponding terms as those in the above embodiments are not explained in detail herein.
Referring to fig. 3, the method of this embodiment may specifically include the following steps:
s310, when a trigger event for acquiring the installation package is monitored, acquiring installation package acquisition parameters corresponding to the trigger event, wherein the installation package acquisition parameters comprise installation package query parameters of the installation package to be acquired and object signature parameters of an installation package acquisition object.
S320, calling the constructed installation package obtaining function by taking the installation package obtaining parameters as the parameter, so that the installation package obtaining function executes S330-S360 according to the installation package obtaining parameters.
S330, the installation package query parameters are decrypted, and the installation package query parameters are updated according to the decryption result.
S340, converting the query parameters of the installation package into first query parameters, converting the first query parameters into second query parameters, sequencing the second query parameters based on a preset sequencing function, and packaging the sequencing result into a preset packaging object.
The type of the installation package query parameter is Object, the type of the first query parameter is Map, and the purpose of converting the installation package query parameter into the first query parameter is that the removal efficiency of the first query parameter of the Map type on data is higher, and the execution efficiency of a program can be effectively improved. On the basis, optionally, in consideration of that some parameters to be removed which are irrelevant to signature verification may be involved in the installation package query parameters, the parameters to be removed in the first query parameters can be removed, the effective removal of the parameters to be removed improves the accuracy of subsequent signature verification, and then the first query parameters are updated according to the removal results.
Furthermore, the first query parameter is converted into a second query parameter with the type List < String >, so that the data sorting is a step which needs to be executed before signature verification, the sorting efficiency of the first query parameter with the type Map is very low, and the second query parameter with the type List < String > can effectively improve the sorting efficiency and prepare conditions for subsequent signature verification. On the basis, optionally, evacuation processing is performed on the second query parameter based on a preset evacuation processing function, the second query parameter is updated according to an evacuation processing result, and the accuracy of subsequent signature verification is improved through the second query parameter after the evacuation processing. And further packaging the sorting result into a preset packaging object with the type of StringBuilder.
And S350, generating a signature verification result based on the preset packaged object through a message digest algorithm, wherein when the signature verification result is consistent with the object signature parameters, the signature verification is successful, and otherwise, the signature verification fails.
The method comprises the steps of calculating a preset packaging object based on a Message Digest Algorithm (MD), generating a signature verification result, and determining whether signature verification is successful according to whether the signature verification result is consistent with object signature parameters. On this basis, the message digest algorithm may optionally be a fifth version of the message digest algorithm (MD 5).
And S360, if the signature verification is successful, calling the constructed installation package query function by taking the installation package query parameter as an entry parameter, and obtaining the installation package to be acquired according to an output result of the installation package query function.
And S370, obtaining the installation package to be obtained according to the output result of the installation package obtaining function.
According to the technical scheme of the embodiment of the invention, the query parameter of the installation package with the type of Object is converted into the first query parameter with the type of Map, and then the first query parameter is converted into the second query parameter with the type of List < String >, so that the second query parameter can be sequenced based on a preset sequencing function, and the sequencing result is packaged into the preset packaging Object with the type of StringBuilder; furthermore, through a message digest algorithm, a signature verification result can be generated based on a preset packaging object, and whether signature verification succeeds or not is determined according to the fact that whether the signature verification result is consistent with the object signature parameters or not, so that the effect of accurately verifying the signature is achieved.
In order to better understand the specific implementation process of the above steps, the following describes an exemplary installation package obtaining method according to this embodiment with reference to a specific example. Illustratively, the specific form of the installation package acquisition function is as follows: public common result < ListRes < AppPageVo > > pagelist (PageParam appQueryReq, String sign) through Venus Exception, wherein pagelist is the function name of the installation package acquisition function, appQueryReq is the installation package query parameter, and sign is the object signature parameter. The internal implementation of pagelist is as follows:
before the installation package obtaining function is realized, the legal signature verification of the calling party (namely, the installation package obtaining object) is firstly carried out on the calling party and the calling party, so that the safety of data can be effectively ensured. Specifically, to implement signature verification, a signature verification function shown as follows may be customized: private boot checksum auth (Object dto, String secret, String access token) through Venus Exception, where dto is an installation package acquisition Object to be verified, secret is a verification key, access token is token data carried by the installation package acquisition Object, a return value of a signature check function is a variable of the boot type, true represents that the verification is successful, and false represents that the verification is failed. The specific implementation process of the signature check function is as follows:
firstly, defining a Map < String, String > params; the object receives the installation package acquisition parameter, and then calls a params, org, apache, common, beans, descriptor (dto); the dto object is converted into a params object. Considering that the installation package acquisition parameters may carry some parameters to be removed that are not related to signature verification, the parameters to be removed may be removed, and the removal logic is as follows:
params.remove("access_token");
params.remove("class");
params.remove("operatorId");
params.remove("operatorName");
params.remove("sign");
params.remove("page");
params.remove("numPerPage");
params.remove("pageStartNum");
params.remove("accessDataSql");
next, by calling List < String > signParams ═ params.entryset (). stream (). filter (e- > objects. nonnull (e.getkey ()) & & objects. nonnull (e.getvalue ()))
Map (e- > e.getkey ()), collect (collectors.tolist ()); objects in params are drained and converted to a List < String > signParams object by calling collectors. The advantage of this arrangement is that params is a map type object, which removes data more efficiently; the main goal of converting param objects to signParams objects is to remove all null data and prepare conditions for ordering for subsequent signature verification. The sequencing efficiency of Map is very low, so that the sequencing efficiency can be effectively improved after the Map is converted into signParams.
Sort (assembler). And naturally ordering the signParams set, wherein the natural ordering is ordered according to an alphabetical order. Followed by calling
Figure BDA0002552842570000161
And packaging the sorted data into the stringBuilder object, which does not cause enough overhead of extra memory.
Next by calling String realAuth ═ digestutils.md5hex (String builder. tostring ()). toLowerCase (); and (4) calculating MD5 information to generate a final signature verification result realAuth. By calling return string questions instruments (return automatic. tolowercase ()), accesstoken. tolowercase (); and judging whether the realAuth and the accessToken are equal or not, if so, successfully verifying, and otherwise, failing to verify.
Returning to the implementation of the pagelist function, firstly, a user-defined signature check function, bootcheck result, checkAuth (appQueryReq, SIGN _ KEY, SIGN), is called; and realizing legality detection, and judging a detection result through the following functions: if (| SIGN result) { throw new Venus exception (ERROR _ SIGN _ ERROR, "signature failure"); if the failure occurs, the exception is thrown out, and the subsequent flow is ended; if the success is achieved, the subsequent process is executed.
Next, obtaining an installation package to be obtained by calling an installation package query function, wherein the specific form of the installation package query function is ListRes < AppPageVo > res ═ appservice. The specific implementation process of appservice. pagelist (appQueryReq) is as follows: first by calling int count ═ appmap. Obtaining the number count of installation packages to be obtained; then calling List < App > apps ═ appMapper.pageList (appQueryReq); acquiring all application items apps; a final (curl) by calling if (Collection Utils. isEmpty (apps))
return new ListRes(appQueryReq,count,Lists.newArrayList());
Determine if the installation package query parameters are anomalous data. Then by calling List < Integer > ids ═ apps.stream (). map (x- > { return x.getid ();). collect (collectors.tolist ()); acquiring all identification information (id) in the app, and constructing installation package query information through the following contents:
Map<String,Object>params=new HashMap<>();
params.put("ids",ids);
params.put("confKey",
AppConfKeyEnum.SILENCE_UPGRADE.getKey());
then by calling List < AppConf > appcfs ═ appcondmapper. Obtaining configuration information of the app, such as obtaining the remaining configuration information via id). By calling
List<AppPageVo>appVos=apps.stream().map(x->{
return convert2Vo(x,appConfs);
}).collect(Collectors.toList())
Data conversion is realized, and then a return new ListRes (appQueryReq, count, appVos) is called; and packaging the converted data and returning. Finally, by calling the return new CommonResult < > (constant. SUC _ CODE, constant. SUC _ MSG, res); and packaging the data output by the query function of the installation package and then returning.
Example four
Fig. 4 is a block diagram of an installation package obtaining apparatus according to a fourth embodiment of the present invention, where the apparatus is configured to execute the installation package obtaining method according to any of the embodiments. The device and the installation package obtaining method of each embodiment belong to the same inventive concept, and details which are not described in detail in the embodiment of the installation package obtaining device can refer to the embodiment of the installation package obtaining method. Referring to fig. 4, the apparatus may specifically include: an installation package obtaining parameter obtaining module 410 and an installation package obtaining module to be obtained 420.
The device comprises an installation package acquisition parameter acquisition module 410, a configuration module and a configuration module, wherein the installation package acquisition parameter acquisition module 410 is used for acquiring an installation package acquisition parameter corresponding to a trigger event when the trigger event of acquiring the installation package is monitored, and the installation package acquisition parameter comprises an installation package query parameter of the installation package to be acquired and an object signature parameter of an installation package acquisition object;
the to-be-acquired installation package obtaining module 420 is configured to call the constructed installation package obtaining function with the installation package obtaining parameter as an entry parameter, and obtain the to-be-acquired installation package according to an output result of the installation package obtaining function; the installation package obtaining function realizes the installation package obtaining function through the following sub-modules:
the installation package query parameter decryption sub-module 4201 is configured to obtain access token information, decrypt the installation package query parameter based on the access token information, and update the installation package query parameter according to a decryption result;
the signature verification judgment sub-module 4202 is configured to transmit the installation package acquisition parameter to the constructed signature verification function, and judge whether signature verification is successful according to an output result of the signature verification function;
and the to-be-acquired installation package obtaining sub-module 4203 is used for calling the constructed installation package query function by taking the installation package query parameter as an entry parameter if the to-be-acquired installation package obtaining sub-module is true, and obtaining the to-be-acquired installation package according to an output result of the installation package query function.
Optionally, the installation package query function implements the installation package query function by the following units:
the application item screening unit is used for determining the number of the installation packages to be acquired according to the installation package query parameters, and screening out application items matched with the installation package query parameters from the created list, wherein the application items record storage paths and configuration information of the installation packages to be acquired;
the identity identification information acquisition unit is used for acquiring the identity identification information of the installation package to be acquired from the application items if the number of the application items is consistent with the number of the installation packages;
the storage path acquisition unit is used for determining the query information of the installation package according to the identity identification information and acquiring the configuration information and the storage path from the application items according to the query information of the installation package;
and the first packaging unit is used for acquiring the installation package to be acquired from the database based on the storage path, converting the installation package to be acquired and the configuration information, and packaging the conversion result.
Optionally, the installation package query function may further implement an installation package query function through the following units:
and the serialization unit is used for automatically serializing the packaging result into data in a preset format based on a preset serialization annotation arranged in the query function of the installation package, wherein the preset format comprises a JSON format.
Optionally, the signature verification function may implement the signature verification function by:
the parameter conversion unit is used for converting the installation package query parameter into a first query parameter and converting the first query parameter into a second query parameter, wherein the type of the installation package query parameter is an Object type, the type of the first query parameter is a Map type, and the type of the second query parameter is a List < String > type;
the second packaging unit is used for sequencing the second query parameters based on a preset sequencing function and packaging a sequencing result into a preset packaging object, wherein the type of the preset packaging object comprises a StringBuilder type;
the signature verification unit is used for generating a signature verification result based on a preset packaging object through a message digest algorithm and judging whether the signature verification result is consistent with the object signature parameters or not; if yes, the signature verification is successful; otherwise, the signature check fails.
Optionally, the signature verification function may implement a signature verification function through the following units:
the removing unit is used for removing the parameters to be removed in the first query parameters and updating the first query parameters according to the removing result, wherein the parameters to be removed are parameters irrelevant to the message digest algorithm;
and the emptying unit is used for carrying out emptying treatment on the second inquiry parameter based on a preset emptying treatment function and updating the second inquiry parameter according to the emptying treatment result.
Optionally, the type of the query parameter of the installation package includes a PageParam type, where the description information of the PageParam includes at least one of the number of database pages, the number of entries per page, and a database paging parameter; and/or the query parameters of the installation package comprise an application name, an application channel and/or an application version number; and/or the type of the parameter of the installation package acquisition function comprises a common result < ListRes < AppPageVo > > type, wherein the ListRes < AppPageVo > is a generic parameter of the common result, and the AppPageVo is a generic parameter of the ListRes.
Optionally, the installation package obtaining function may be set in an installation package obtaining class, and at least one of the following preset annotations may be set in the installation package obtaining class:
the first preset annotation is used for indicating that the installation package acquisition class is a control class;
the second preset annotation is used for representing the path information for accessing the installation package acquisition class;
the third preset annotation is used for representing that the log injection is realized by the installation package acquisition class at a preset speed; and
and the fourth preset annotation is used for representing that the installation package acquisition class realizes cross-service access.
In the installation package obtaining device provided by the fourth embodiment of the present invention, when a trigger event of obtaining an installation package is monitored, the installation package obtaining parameter obtaining module and the installation package obtaining module to be obtained are matched with each other, the installation package obtaining parameter corresponding to the trigger event is taken as an entry parameter, a constructed installation package obtaining function is called, so that the installation package obtaining function decrypts the installation package query parameter, the installation package query parameter is updated according to a decryption result, the installation package obtaining parameter is further transferred to a constructed signature verification function, and when the signature verification is determined to be successful according to an output result of the signature verification function, the installation package query parameter is transferred to the constructed installation package query function, at this time, the output result of the installation package query function is an output result of the installation package obtaining function; therefore, according to the output result of the installation package obtaining function, the corresponding installation package to be obtained can be obtained. According to the device, the installation package to be acquired matched with the installation package acquisition parameter is automatically acquired based on the installation package acquisition function, the problem that the acquisition efficiency of the installation package is low is solved, and the automatic and quick acquisition effect of the installation package is achieved.
The installation package acquisition device provided by the embodiment of the invention can execute the installation package acquisition method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that, in the embodiment of the installation package obtaining apparatus, each unit and each module included in the installation package obtaining apparatus are only divided according to functional logic, but are not limited to the above division, as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an apparatus according to a fifth embodiment of the present invention, as shown in fig. 5, the apparatus includes a memory 510, a processor 520, an input device 530, and an output device 540. The number of processors 520 in the device may be one or more, and one processor 520 is taken as an example in fig. 5; the memory 510, processor 520, input device 530, and output device 540 in the apparatus may be connected by a bus or other means, such as by bus 550 in fig. 5.
The memory 510 is used as a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the installation package obtaining method in the embodiment of the present invention (for example, the installation package obtaining parameter obtaining module 410 and the installation package to be obtained obtaining module 420 in the installation package obtaining device). The processor 520 executes various functional applications of the device and data processing by executing software programs, instructions, and modules stored in the memory 510, that is, implements the installation package acquisition method described above.
The memory 510 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 510 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 510 may further include memory located remotely from processor 520, which may be connected to devices through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the device. The output device 540 may include a display device such as a display screen.
EXAMPLE six
An embodiment of the present invention provides a storage medium containing computer-executable instructions, where the computer-executable instructions are executed by a computer processor to perform an installation package obtaining method, where the method includes:
when a trigger event for acquiring the installation package is monitored, acquiring installation package acquisition parameters corresponding to the trigger event, wherein the installation package acquisition parameters comprise installation package query parameters of the installation package to be acquired and object signature parameters of an installation package acquisition object;
calling the constructed installation package acquisition function by taking the installation package acquisition parameter as a parameter, and acquiring an installation package to be acquired according to an output result of the installation package acquisition function;
the installation package obtaining function realizes the installation package obtaining function through the following steps:
decrypting the installation package query parameter, and updating the installation package query parameter according to a decryption result;
transmitting the installation package acquisition parameters to the constructed signature verification function, and judging whether the signature verification is successful according to the output result of the signature verification function;
if so, the installation package query parameter is taken as the parameter of the entry, the constructed installation package query function is called, and the installation package to be acquired is obtained according to the output result of the installation package query function.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the above-described method operations, and may also perform related operations in the installation package obtaining method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. With this understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An installation package obtaining method is characterized by comprising the following steps:
when a trigger event for acquiring an installation package is monitored, acquiring installation package acquisition parameters corresponding to the trigger event, wherein the installation package acquisition parameters comprise installation package query parameters of the installation package to be acquired and object signature parameters of an installation package acquisition object;
calling a constructed installation package obtaining function by taking the installation package obtaining parameter as a parameter, and obtaining the installation package to be obtained according to an output result of the installation package obtaining function;
the installation package obtaining function realizes the installation package obtaining function through the following steps:
decrypting the installation package query parameter, and updating the installation package query parameter according to a decryption result;
transmitting the installation package acquisition parameters to a constructed signature verification function, and judging whether signature verification is successful or not according to an output result of the signature verification function;
if so, taking the installation package query parameter as an entry parameter, calling a constructed installation package query function, and obtaining the installation package to be acquired according to an output result of the installation package query function.
2. The method of claim 1, wherein the installation package query function implements the installation package query function by:
determining the number of the installation packages to be obtained according to the installation package query parameters, and screening out application items matched with the installation package query parameters from a created list, wherein the storage paths and configuration information of the installation packages to be obtained are recorded in the application items;
if the number of the application entries is consistent with the number of the installation packages, acquiring the identity identification information of the installation packages to be acquired from the application entries;
determining installation package query information according to the identity identification information, and acquiring the configuration information and the storage path from the application items according to the installation package query information;
and acquiring the installation package to be acquired from a database based on the storage path, converting the installation package to be acquired and the configuration information, and packaging a conversion result.
3. The method of claim 2, further comprising:
and automatically serializing the packaging result into data in a preset format based on a preset serialization annotation arranged in the installation package query function, wherein the preset format comprises a JSON format.
4. The method of claim 1, wherein the signature verification function implements a signature verification function by:
converting the installation package query parameter into a first query parameter and converting the first query parameter into a second query parameter, wherein the type of the installation package query parameter is an Object type, the type of the first query parameter is a Map type, and the type of the second query parameter is a List < String > type;
sorting the second query parameters based on a preset sorting function, and packaging a sorting result into a preset packaged object, wherein the type of the preset packaged object comprises a StringBuilder type;
generating a signature verification result based on the preset packaging object through a message digest algorithm, and judging whether the signature verification result is consistent with the object signature parameter;
if yes, the signature verification is successful; otherwise, the signature check fails.
5. The method of claim 4, after said converting the installation package query parameters into first query parameters, further comprising:
removing the parameters to be removed in the first query parameters, and updating the first query parameters according to the removal result, wherein the parameters to be removed are parameters irrelevant to the message digest algorithm;
and carrying out emptying treatment on the second query parameter based on a preset emptying treatment function, and updating the second query parameter according to an emptying treatment result.
6. The method of claim 1, wherein the type of the installation package query parameter comprises a PageParam type, wherein the PageParam description information comprises at least one of database page number, entry per page number, and database paging parameters; and/or the presence of a gas in the gas,
the type of the parameter of the installation package acquisition function comprises a common result < ListRes < AppPageVo > > type, wherein the ListRes < AppPageVo > is a generalized parameter of the common result, and the AppPageVo is a generalized parameter of the ListRes; and/or the presence of a gas in the gas,
the installation package query parameters comprise an application name, and an application channel and/or an application version number.
7. The method according to claim 1, wherein the installation package obtaining function is provided in an installation package obtaining class, and at least one of the following preset annotations is provided on the installation package obtaining class:
the first preset annotation is used for indicating that the installation package acquisition class is a control class;
a second preset annotation used for representing the path information for accessing the installation package acquisition class;
a third preset annotation for indicating that the installation package acquisition class realizes log injection at a preset speed; and
and the fourth preset annotation is used for representing that the installation package acquisition class realizes cross-service access.
8. An installation package acquisition apparatus, comprising:
the device comprises an installation package acquisition parameter acquisition module, a data acquisition module and a data processing module, wherein the installation package acquisition parameter acquisition module is used for acquiring an installation package acquisition parameter corresponding to a trigger event when the trigger event of acquiring the installation package is monitored, and the installation package acquisition parameter comprises an installation package query parameter of the installation package to be acquired and an object signature parameter of an installation package acquisition object;
the to-be-acquired installation package obtaining module is used for calling the constructed installation package obtaining function by taking the installation package obtaining parameters as the parameter, and obtaining the to-be-acquired installation package according to the output result of the installation package obtaining function;
the installation package obtaining function realizes the installation package obtaining function through the following sub-modules:
the installation package query parameter decryption submodule is used for acquiring access token information, decrypting the installation package query parameter based on the access token information and updating the installation package query parameter according to a decryption result;
the signature verification judgment submodule is used for transmitting the installation package acquisition parameters to a constructed signature verification function and judging whether signature verification is successful or not according to an output result of the signature verification function;
and the to-be-acquired installation package obtaining submodule is used for calling the constructed installation package query function by taking the installation package query parameter as the parameter of the access parameter if the to-be-acquired installation package obtaining submodule is used for obtaining the to-be-acquired installation package according to the output result of the installation package query function.
9. An apparatus, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the installation package acquisition method of any one of claims 1-7.
10. A computer-readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, implementing the installation package acquisition method according to any one of claims 1 to 7.
CN202010582394.1A 2020-06-23 2020-06-23 Installation package obtaining method, device, equipment and storage medium Pending CN113835717A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010582394.1A CN113835717A (en) 2020-06-23 2020-06-23 Installation package obtaining method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010582394.1A CN113835717A (en) 2020-06-23 2020-06-23 Installation package obtaining method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113835717A true CN113835717A (en) 2021-12-24

Family

ID=78964150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010582394.1A Pending CN113835717A (en) 2020-06-23 2020-06-23 Installation package obtaining method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113835717A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019722A (en) * 2012-12-14 2013-04-03 北京中电普华信息技术有限公司 Method and device for extracting Java network application upgrade package
CN105740093A (en) * 2014-11-10 2016-07-06 财团法人资讯工业策进会 Backup Method, Pre-Testing Method For Environment Updating And System Thereof
CN106293779A (en) * 2015-05-11 2017-01-04 广州爱九游信息技术有限公司 A kind of method and device identifying application installation kit
CN106453448A (en) * 2015-08-06 2017-02-22 北京奇虎科技有限公司 Method for downloading target file and device thereof
WO2018072430A1 (en) * 2016-10-20 2018-04-26 广州优视网络科技有限公司 Method for scanning and parsing installation package, apparatus, mobile terminal and machine-readable storage medium
CN109343968A (en) * 2018-08-02 2019-02-15 武汉斗鱼网络科技有限公司 A kind of method and relevant apparatus obtaining data
CN110298018A (en) * 2019-05-14 2019-10-01 深圳市雄帝科技股份有限公司 Text data processing method, device, computer equipment and storage medium
CN110516172A (en) * 2019-07-31 2019-11-29 深圳市随手科技有限公司 Resource transfer method, apparatus, computer equipment and storage medium
CN110830559A (en) * 2019-10-24 2020-02-21 北京城市网邻信息技术有限公司 Channel package automatic batch processing method, device, equipment and storage medium
US20200133949A1 (en) * 2018-10-26 2020-04-30 Alibaba Group Holding Limited Data processing method, apparatus, and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019722A (en) * 2012-12-14 2013-04-03 北京中电普华信息技术有限公司 Method and device for extracting Java network application upgrade package
CN105740093A (en) * 2014-11-10 2016-07-06 财团法人资讯工业策进会 Backup Method, Pre-Testing Method For Environment Updating And System Thereof
CN106293779A (en) * 2015-05-11 2017-01-04 广州爱九游信息技术有限公司 A kind of method and device identifying application installation kit
CN106453448A (en) * 2015-08-06 2017-02-22 北京奇虎科技有限公司 Method for downloading target file and device thereof
WO2018072430A1 (en) * 2016-10-20 2018-04-26 广州优视网络科技有限公司 Method for scanning and parsing installation package, apparatus, mobile terminal and machine-readable storage medium
CN109343968A (en) * 2018-08-02 2019-02-15 武汉斗鱼网络科技有限公司 A kind of method and relevant apparatus obtaining data
US20200133949A1 (en) * 2018-10-26 2020-04-30 Alibaba Group Holding Limited Data processing method, apparatus, and device
CN110298018A (en) * 2019-05-14 2019-10-01 深圳市雄帝科技股份有限公司 Text data processing method, device, computer equipment and storage medium
CN110516172A (en) * 2019-07-31 2019-11-29 深圳市随手科技有限公司 Resource transfer method, apparatus, computer equipment and storage medium
CN110830559A (en) * 2019-10-24 2020-02-21 北京城市网邻信息技术有限公司 Channel package automatic batch processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US11188635B2 (en) File authentication method and apparatus
CN108243188B (en) Interface access, interface call and interface verification processing method and device
CN112788036B (en) Identity verification method and device
CN113379420B (en) Block chain execution intelligent contract method, computer equipment and block chain system
EP3921989A1 (en) Method and system for processing data packages
WO2020093723A1 (en) Blockchain-based health data verification method and device, and server
CN109614789B (en) Terminal equipment verification method and equipment
CN115884110B (en) Method and system for judging short message verification code
CN112232957A (en) Transaction consensus method and device and electronic equipment
JP2019519849A (en) Method and device for preventing attacks on servers
CN111324912B (en) File checking method, system and computer readable storage medium
CN114239072A (en) Block chain node management method and block chain network
CN110602051B (en) Information processing method based on consensus protocol and related device
CN113835717A (en) Installation package obtaining method, device, equipment and storage medium
CN111371811A (en) Resource calling method, resource calling device, client and service server
CN115118504B (en) Knowledge base updating method and device, electronic equipment and storage medium
CN107623679B (en) Data marking processing method and device and storage medium
CN114567678B (en) Resource calling method and device for cloud security service and electronic equipment
CN113922952B (en) Access request response method, device, computer equipment and storage medium
CN111786938B (en) Method, system and electronic equipment for preventing malicious resource acquisition
CN111324914B (en) File transmission method, device, server, equipment and medium
CN114978646A (en) Access authority determination method, device, equipment and storage medium
CN114866532A (en) Method, device, equipment and medium for uploading security check result information of endpoint file
CN110958267B (en) Method and system for monitoring threat behaviors in virtual network
CN115391795A (en) Data processing method, related device and 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