CN114154526A - Two-dimensional code processing method and system, storage medium and electronic equipment - Google Patents

Two-dimensional code processing method and system, storage medium and electronic equipment Download PDF

Info

Publication number
CN114154526A
CN114154526A CN202111461730.8A CN202111461730A CN114154526A CN 114154526 A CN114154526 A CN 114154526A CN 202111461730 A CN202111461730 A CN 202111461730A CN 114154526 A CN114154526 A CN 114154526A
Authority
CN
China
Prior art keywords
version
uploading
main body
dimensional code
current program
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
CN202111461730.8A
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.)
Jingdong Technology Information Technology Co Ltd
Original Assignee
Jingdong Technology Information 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 Jingdong Technology Information Technology Co Ltd filed Critical Jingdong Technology Information Technology Co Ltd
Priority to CN202111461730.8A priority Critical patent/CN114154526A/en
Publication of CN114154526A publication Critical patent/CN114154526A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The invention discloses a two-dimensional code processing method, a system, a storage medium and electronic equipment, which are used for acquiring an application program identifier and an uploading key of a current program main body, generating a code packet corresponding to the current program main body based on an uploading component, the application program identifier and the uploading key when an uploading instruction is received, uploading the code packet to a version library corresponding to the current program main body, acquiring a login two-dimensional code, and acquiring a target two-dimensional code when the acquired version list node data meets a preset condition. By means of the scheme, the program main body needing to be issued is selected in the command line, the target two-dimensional code can be obtained after the login two-dimensional code is scanned and logged in, operations such as scanning and logging in and downloading the target two-dimensional code are not required to be performed for multiple times in the project testing stage, and development efficiency and efficiency of obtaining the target two-dimensional code are improved.

Description

Two-dimensional code processing method and system, storage medium and electronic equipment
Technical Field
The present invention relates to the field of two-dimensional code processing technologies, and in particular, to a two-dimensional code processing method, a two-dimensional code processing system, a storage medium, and an electronic device.
Background
In the process of developing the WeChat applet, the uploading code package depends on the WeChat developer tool provided by the applet platform or the command line packaging uploading function. After the code package is uploaded, a WeChat small program platform needs to be logged in, a currently uploaded version is found in a WeChat developer tool, the version is set as an experience version (target version), a target two-dimensional code corresponding to the target version is obtained, and a subsequent experience flow is carried out.
In the prior art, in a project testing stage, no matter a code packet is uploaded through a WeChat developer tool or a command line, after the code packet is passed, in a scene that one or more small program codes are simultaneously issued to a plurality of small program main bodies, the corresponding small program main bodies need to be logged in a browser for many times, and two-dimensional codes need to be downloaded, so that the development efficiency and the efficiency of obtaining target two-dimensional codes are reduced.
Therefore, the existing development efficiency and the efficiency of acquiring the target two-dimensional code are low.
Disclosure of Invention
In view of this, the invention discloses a two-dimensional code processing method, a two-dimensional code processing system, a storage medium and an electronic device, which are all capable of improving development efficiency and efficiency of acquiring a target two-dimensional code.
In order to achieve the purpose, the technical scheme is as follows:
the invention discloses a two-dimensional code processing method in a first aspect, which comprises the following steps:
acquiring an application program identifier and an uploading key of a current program main body;
when an uploading instruction is received, generating a code packet corresponding to the current program main body based on an uploading component, the application program identifier and the uploading key;
uploading the code packet to a version library corresponding to the current program main body, and acquiring a login two-dimensional code;
when login information is monitored, acquiring version list node data corresponding to a current program main body in the version library, wherein the login information is generated when a user scans the login two-dimensional code and successfully logs in;
and when the version list node data meets the preset conditions, obtaining and storing a target two-dimensional code.
Preferably, when an upload instruction is received, generating a code package corresponding to the current program main body based on an upload component, the application program identifier, and the upload key includes:
adding the IP of the current program main body into an uploaded white list to enable the current program main body to be in a preset state;
and when an uploading instruction is received when the current program main body is in the preset state, generating a code packet corresponding to the current program main body based on an uploading component, the application program identifier and the uploading key.
Preferably, the uploading the code package to a version library corresponding to the current program main body and acquiring the login two-dimensional code includes:
and uploading the code packet to a version library corresponding to the current program main body, and acquiring a login two-dimensional code through a headless browser.
Preferably, when the version list node data meets a preset condition, obtaining and storing a target two-dimensional code, including:
determining a version uploaded to a version list most recently based on a time node in the version list node data;
popping up a popup window when a preset icon exists in the version node of the version and popup window triggering information is received;
and acquiring and storing the target two-dimensional code from the pop-up window.
Preferably, the method further comprises the following steps:
and if the preset icon does not exist in the version node, setting the version corresponding to the version node as a target version.
The second aspect of the present invention discloses a two-dimensional code processing system, which includes:
the first acquisition unit is used for acquiring an application program identifier and an uploading key of a current program main body;
the generation unit is used for generating a code packet corresponding to the current program main body based on an uploading component, the application program identifier and the uploading key when an uploading instruction is received;
the second acquisition unit is used for uploading the code packet to a version library corresponding to the current program main body and acquiring a login two-dimensional code;
the third acquisition unit is used for acquiring version list node data corresponding to a current program main body in the version library when login information is monitored, wherein the login information is generated when a user scans the login two-dimensional code and successfully logs in;
and the fourth acquisition unit is used for acquiring and storing the target two-dimensional code when the version list node data meets the preset condition.
Preferably, the generating unit includes:
the uploading module is used for adding the IP of the current program main body into an uploading white list to enable the current program main body to be in a preset state;
and the generation module is used for generating a code packet corresponding to the current program main body based on the uploading component, the application program identifier and the uploading key when the current program main body is in the preset state and an uploading instruction is received.
Preferably, the second obtaining unit is specifically configured to:
and uploading the code packet to a version library corresponding to the current program main body, and acquiring a login two-dimensional code through a headless browser.
The third aspect of the present invention discloses a storage medium, where the storage medium includes stored instructions, and when the instructions are executed, the storage medium controls a device in which the storage medium is located to execute the two-dimensional code processing method according to any one of the first aspect.
The fourth aspect of the present invention discloses an electronic device, which includes a memory, and one or more instructions, where the one or more instructions are stored in the memory and configured to be executed by one or more processors to perform the two-dimensional code processing method according to any one of the first aspects.
According to the technical scheme, the application program identification and the uploading key of the current program main body are obtained, when the uploading instruction is received, the code packet corresponding to the current program main body is generated and uploaded to the version library corresponding to the current program main body on the basis of the uploading component, the application program identification and the uploading key, the login two-dimensional code is obtained, when the login information is monitored, the version list node data corresponding to the current program main body is obtained, and when the version list node data meets the preset conditions, the target two-dimensional code is obtained. By means of the scheme, the program main body needing to be issued is selected in the command line, the target two-dimensional code can be obtained after the login two-dimensional code is scanned and logged in, operations such as scanning and logging in and downloading the target two-dimensional code are not required to be performed for multiple times in the project testing stage, and development efficiency and efficiency of obtaining the target two-dimensional code are improved.
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 embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flow chart of a two-dimensional code processing method disclosed in the embodiment of the present invention;
FIG. 2 is a diagram of a version management interface according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of generating a code packet corresponding to a current program main body according to an embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating a process of obtaining and storing a target two-dimensional code when version list node data meets a preset condition, which is disclosed in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of a two-dimensional code processing system according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.
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.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
As can be seen from the background art, the existing development efficiency and the efficiency of acquiring the target two-dimensional code are low.
In order to solve the problem, the embodiment of the invention discloses a two-dimension code processing method, a two-dimension code processing system, a storage medium and electronic equipment, which are used for improving the development efficiency and the efficiency of acquiring a target two-dimension code. The specific implementation is illustrated by the following examples.
Referring to fig. 1, a schematic flow chart of a two-dimensional code processing method according to an embodiment of the present invention is shown, where the two-dimensional code processing method mainly includes the following steps:
step S101: and acquiring the application program identification appid and the uploading key appsecret of the current program main body.
In step S101, a management platform of the WeChat applet body to be developed is logged in, and the application identifier appid and the upload key appsecret of the current program body are obtained in the "development management" item.
Step S102: and when an uploading instruction is received, generating a code packet corresponding to the current program main body based on the miniprogam-ci uploading component, the application program identifier appid and the uploading key appsecret.
In step S102, the upload instruction is an upload instruction of an automatic upload tool, and the upload instruction is obtained by being entered by a developer on a command line.
Specifically, the process of acquiring the application identifier appid and the upload key appsecret of the current program main body is as follows:
firstly, adding the IP of the current program main body into an uploading white list to enable the current program main body to be in a preset state, and then, when an uploading instruction is received when the current program main body is in the preset state, generating a code packet corresponding to the current program main body based on a miniprogam-ci uploading component, an application program identifier apid and an uploading key appsect.
The preset state is a safety state capable of uploading the code packet to a version library corresponding to the current program main body.
Step S103: and uploading the code packet to a version library corresponding to the current program main body, and acquiring the login two-dimensional code.
In step S103, the code package is uploaded to the version library corresponding to the current program main body, and the login two-dimensional code is acquired through the headless browser.
The Headless browser (header browser) is a browser without an operation interface, runs in a memory, is commonly used for automatic testing of web pages, can automatically execute an operation instruction by using an API provided by the browser, and can simulate the behavior of a real browser in the background.
After the headless browser is called up, the user jumps to a login page of the WeChat applet platform to obtain a login two-dimensional code, the login two-dimensional code is stored locally and automatically opened, and the user waits for code scanning and login. At the moment, a user can only see one login two-dimensional code picture, the login two-dimensional code is scanned, the corresponding current program main body is selected, login is clicked, after the login of the user code scanning is detected through a headless browser, the user jumps to a WeChat small program platform homepage, a version management item is clicked in a simulated mode, and the version management interface is jumped.
A schematic diagram of a version management interface, as shown in fig. 2.
In fig. 2, the version management interface includes development version, version number (1.0.0, 1.1.0), developer, submission time, project remark, and submission audit. When the experience version mark (Icon preset) exists, determining that the version corresponding to the experience version mark exists as a target version, and acquiring a target two-dimensional code corresponding to the target version.
Step S104: and when the login information is monitored, acquiring version list node data corresponding to the current program main body in the version library, wherein the login information is generated when the user successfully scans and logs in the two-dimensional code.
And acquiring version list node data corresponding to the current program main body in the version library in the version management interface.
Step S105: and when the version list node data meet the preset conditions, obtaining and storing the target two-dimensional code.
In step S105, a version which is uploaded to the version list last time is determined based on the time node in the version list node data, and when the version node which is uploaded to the version list last time has the preset Icon, it is determined that the version list node data meets the preset condition.
Wherein, the time node is an uploading time node.
The preset Icon is used to identify the version as an experience version (target version).
And acquiring the target two-dimensional code, and performing subsequent experience processes.
To facilitate understanding of the process of determining the version that was last uploaded to the version list based on the time node in the version list node data, the following description is given by way of example:
for example: when the uploading time nodes in the version list node data are respectively 15: 03 and 16:08, the version corresponding to the upload time node of 16:08 is the version uploaded to the version list last time.
Specifically, when the version list node data meets the preset condition, the target two-dimensional code is obtained and stored in the following process:
firstly, determining a version uploaded to a version list for the last time based on a time node in version list node data, then popping up a popup window when a preset Icon exists in the version node of the version and popup window trigger information is received, and finally acquiring a target two-dimensional code from the popup window and storing the target two-dimensional code.
And when the version node of the version does not have the Icon, setting the version corresponding to the version node as the target version.
Specifically, the process of setting the version corresponding to the version node as the target version is as follows:
when the version node of the version does not have the Icon, a pull-down arrow button on the right side of the version is simulated and clicked, a button for selecting the experience version is simulated and clicked in a pop-up box, a pop-up window for setting the experience version is called, a default home page of the small program is simulated and typed in the pop-up box, and a button for switching the experience version is simulated and clicked; to this end, the version is set as the experience version. And after the experience version is set, acquiring an experience version two-dimensional code (target two-dimensional code) and performing a subsequent experience flow.
When a plurality of program main bodies exist, the two-dimension code processing method flow can be executed circularly.
Uploading the code package to a version library corresponding to the current program main body, managing the version, setting the experience version, acquiring the target two-dimensional code and the like belong to a non-sensing stage, in the non-sensing stage, a developer selects the main body to be issued at a command line, and after scanning the code and logging in, the experience two-dimensional code can be acquired, the middle operation flow is not needed to be concerned, one-click code package uploading and two-dimensional code downloading are realized, and the development efficiency and the efficiency of acquiring the target two-dimensional code are improved.
The WeChat applet automatic uploading and downloading tool integrates downloading and logging in the two-dimensional code, uploading the code package, selecting the experience version, downloading the target two-dimensional code of the experience version and storing the target two-dimensional code to the local, saves the operation flow and time for uploading and downloading the source code, and improves the development efficiency and the efficiency for acquiring the target two-dimensional code.
In the embodiment of the invention, the program main body needing to be issued is selected according to the command, the target two-dimensional code can be obtained after the login two-dimensional code is scanned and logged in, and the operations of scanning and logging in, downloading the target two-dimensional code and the like are not required to be carried out for multiple times in the project testing stage, so that the development efficiency and the efficiency of obtaining the target two-dimensional code are improved.
Referring to fig. 3, a process involved in the step S102 described above for generating a code package corresponding to a current program main body based on a miniprogam-ci upload component, an application identifier apid, and an upload key appsect when an upload instruction is received mainly includes the following steps:
step S301: and adding the IP of the current program main body into the uploaded white list to enable the current program main body to be in a preset state.
Step S302: and when the current program main body is in a preset state and an uploading instruction is received, generating a code packet corresponding to the current program main body based on the miniprogam-ci uploading component, the application program identifier appid and the uploading key appsect.
The execution principle of steps S301 to S302 is consistent with the execution principle of step S102, and reference may be made to this, which is not described herein again.
In the embodiment of the invention, the IP of the current program main body is added into the uploading white list, so that the current program main body is in the preset state, and when an uploading instruction is received when the current program main body is in the preset state, the purpose of generating the code packet corresponding to the current program main body is realized based on the miniprogam-ci uploading component, the application program identifier api and the uploading key appsect.
Referring to fig. 4, a process involved in the step S105, when the version list node data meets the preset condition, obtaining and storing the target two-dimensional code mainly includes the following steps:
step S401: based on the time node in the version list node data, the version most recently uploaded to the version list is determined.
Step S402: and when the version node of the version has the preset Icon and receives popup window triggering information, popping up the popup window.
Step S403: and acquiring and storing the target two-dimensional code from the pop-up window.
The execution principle of steps S401 to S403 is consistent with the execution principle of step S105, and may be referred to herein, which is not described herein again.
In the embodiment of the invention, the version which is uploaded to the version list for the last time is determined based on the time node in the version list node data, when the version node of the version has the preset Icon and receives the popup window trigger information, the popup window is popped up, the target two-dimensional code is obtained from the popup window and stored, and the purpose of obtaining the target two-dimensional code is realized.
Based on the two-dimensional code processing method disclosed in the embodiment of fig. 1, the embodiment of the present invention also correspondingly discloses a two-dimensional code processing system, as shown in fig. 5, the two-dimensional code processing system mainly includes a first obtaining unit 501, a generating unit 502, a second obtaining unit 503, a third obtaining unit 504, and a fourth obtaining unit 505.
A first obtaining unit 501, configured to obtain an application identifier appid and an upload key appsecret of a current program main body.
The first obtaining unit 501 logs in a management platform of the wechat applet body to be developed, and obtains the application identifier apid and the upload key appsecret of the current program body in the development management item.
The generating unit 502 is configured to generate a code package corresponding to the current program main body based on the miniprogam-ci upload component, the application identifier appid, and the upload key appsect when receiving the upload instruction.
The uploading instruction is an uploading instruction of the automatic uploading tool and is obtained by being keyed in by a developer on a command line.
The second obtaining unit 503 is configured to upload the code package to a version library corresponding to the current program main body, and obtain the login two-dimensional code.
The second obtaining unit 503 uploads the code package to the version library corresponding to the current program main body, and obtains the login two-dimensional code through the headless browser.
A third obtaining unit 504, configured to obtain, when login information is monitored, version list node data corresponding to a current program main body in a version library, where the login information is generated when a user scans and logs in a two-dimensional code successfully.
And acquiring version list node data corresponding to the current program main body in the version library in the version management interface.
And a fourth obtaining unit 505, configured to obtain and store the target two-dimensional code when the version list node data meets a preset condition.
The version uploaded to the version list for the last time is determined based on the time node in the version list node data, and when the version node uploaded to the version list for the last time has the preset Icon, the version list node data is determined to meet the preset condition.
Further, the generating unit 502 includes an uploading module and a generating module.
And the uploading module is used for adding the IP of the current program main body into the uploading white list so as to enable the current program main body to be in a preset state.
And the generation module is used for generating a code packet corresponding to the current program main body based on the miniprogam-ci uploading component, the application program identifier appid and the uploading key appsect when the uploading instruction is received when the current program main body is in the preset state.
Further, the second obtaining unit 503 is specifically configured to upload the code package to a version library corresponding to the current program main body, and obtain the login two-dimensional code through a headless browser.
Further, the fourth obtaining unit 505 includes a determining module, an ejecting module, and a obtaining module.
And the determining module is used for determining the version uploaded to the version list at the last time based on the time node in the version list node data.
And the popup module is used for popping up the popup window when the preset Icon exists in the version node of the version and the popup window trigger information is received.
And the acquisition module is used for acquiring the target two-dimensional code from the pop-up window and storing the target two-dimensional code.
Further, the device also comprises a setting unit.
And the setting unit is used for setting the version corresponding to the version node as the target version if the preset Icon does not exist in the version node.
In the embodiment of the invention, the program main body needing to be issued is selected according to the command, the target two-dimensional code can be obtained after the login two-dimensional code is scanned and logged in, and the operations of scanning and logging in, downloading the target two-dimensional code and the like are not required to be carried out for multiple times in the project testing stage, so that the development efficiency and the efficiency of obtaining the target two-dimensional code are improved.
The embodiment of the invention also discloses a storage medium which comprises a stored instruction, wherein the equipment where the storage medium is located is controlled to execute the two-dimensional code processing method when the instruction runs.
An electronic device is provided in an embodiment of the present invention, and the structural diagram of the electronic device is shown in fig. 6, which specifically includes a memory 601 and one or more instructions 602, where the one or more instructions 602 are stored in the memory 601 and configured to be executed by one or more processors 603 to perform the following operations on the one or more instructions 602:
acquiring an application program identifier appid and an uploading key appsecret of a current program main body;
when an uploading instruction is received, generating a code packet corresponding to the current program main body based on the miniprogam-ci uploading component, the application program identifier appid and the uploading key appsect;
uploading the code packet to a version library corresponding to the current program main body, and acquiring a login two-dimensional code;
when login information is monitored, acquiring version list node data corresponding to a current program main body in a version library, wherein the login information is generated when a user successfully scans and logs in a two-dimensional code;
and when the version list node data meet the preset conditions, obtaining and storing the target two-dimensional code.
The specific implementation procedures and derivatives thereof of the above embodiments are within the scope of the present invention.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A two-dimensional code processing method is characterized by comprising the following steps:
acquiring an application program identifier and an uploading key of a current program main body;
when an uploading instruction is received, generating a code packet corresponding to the current program main body based on an uploading component, the application program identifier and the uploading key;
uploading the code packet to a version library corresponding to the current program main body, and acquiring a login two-dimensional code;
when login information is monitored, acquiring version list node data corresponding to a current program main body in the version library, wherein the login information is generated when a user scans the login two-dimensional code and successfully logs in;
and when the version list node data meets the preset conditions, obtaining and storing a target two-dimensional code.
2. The method of claim 1, wherein generating, when an upload instruction is received, a code package corresponding to the current program subject based on an upload component, the application identifier, and the upload key comprises:
adding the IP of the current program main body into an uploaded white list to enable the current program main body to be in a preset state;
and when an uploading instruction is received when the current program main body is in the preset state, generating a code packet corresponding to the current program main body based on an uploading component, the application program identifier and the uploading key.
3. The method of claim 1, wherein uploading the code package to a version library corresponding to the current program main body and obtaining a login two-dimensional code comprises:
and uploading the code packet to a version library corresponding to the current program main body, and acquiring a login two-dimensional code through a headless browser.
4. The method of claim 1, wherein obtaining and storing a target two-dimensional code when the version list node data meets a preset condition comprises:
determining a version uploaded to a version list most recently based on a time node in the version list node data;
popping up a popup window when a preset icon exists in the version node of the version and popup window triggering information is received;
and acquiring and storing the target two-dimensional code from the pop-up window.
5. The method of claim 4, further comprising:
and if the preset icon does not exist in the version node, setting the version corresponding to the version node as a target version.
6. A two-dimensional code processing system, the system comprising:
the first acquisition unit is used for acquiring an application program identifier and an uploading key of a current program main body;
the generation unit is used for generating a code packet corresponding to the current program main body based on an uploading component, the application program identifier and the uploading key when an uploading instruction is received;
the second acquisition unit is used for uploading the code packet to a version library corresponding to the current program main body and acquiring a login two-dimensional code;
the third acquisition unit is used for acquiring version list node data corresponding to a current program main body in the version library when login information is monitored, wherein the login information is generated when a user scans the login two-dimensional code and successfully logs in;
and the fourth acquisition unit is used for acquiring and storing the target two-dimensional code when the version list node data meets the preset condition.
7. The system of claim 6, wherein the generating unit comprises:
the uploading module is used for adding the IP of the current program main body into an uploading white list to enable the current program main body to be in a preset state;
and the generation module is used for generating a code packet corresponding to the current program main body based on the uploading component, the application program identifier and the uploading key when the current program main body is in the preset state and an uploading instruction is received.
8. The system of claim 6, wherein the second obtaining unit is specifically configured to:
and uploading the code packet to a version library corresponding to the current program main body, and acquiring a login two-dimensional code through a headless browser.
9. A storage medium, characterized in that the storage medium comprises stored instructions, wherein when the instructions are executed, a device on which the storage medium is located is controlled to execute the two-dimensional code processing method according to any one of claims 1 to 5.
10. An electronic device comprising a memory and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the one or more processors to perform the two-dimensional code processing method according to any one of claims 1 to 5.
CN202111461730.8A 2021-12-02 2021-12-02 Two-dimensional code processing method and system, storage medium and electronic equipment Pending CN114154526A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111461730.8A CN114154526A (en) 2021-12-02 2021-12-02 Two-dimensional code processing method and system, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111461730.8A CN114154526A (en) 2021-12-02 2021-12-02 Two-dimensional code processing method and system, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN114154526A true CN114154526A (en) 2022-03-08

Family

ID=80456134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111461730.8A Pending CN114154526A (en) 2021-12-02 2021-12-02 Two-dimensional code processing method and system, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114154526A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116561101A (en) * 2023-05-09 2023-08-08 中工数保(北京)科技有限公司 Version management and version switching method of industrial control system data and related equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495258A (en) * 2018-12-19 2019-03-19 世纪龙信息网络有限责任公司 Method and device for decrypting monitoring data, computer equipment and storage medium
CN110191046A (en) * 2019-05-31 2019-08-30 成都依能科技股份有限公司 Document transmission system and method based on wechat
CN111324335A (en) * 2020-01-04 2020-06-23 厦门二五八网络科技集团股份有限公司 Method and device for creating small program
CN111338655A (en) * 2020-02-24 2020-06-26 得到(天津)文化传播有限公司 Installation package distribution method and system
CN111737139A (en) * 2020-06-28 2020-10-02 深圳前海微众银行股份有限公司 Method and device for generating preview two-dimensional code of applet
CN112114865A (en) * 2020-08-27 2020-12-22 微民保险代理有限公司 Version data processing method and device, storage medium and electronic device
CN112328333A (en) * 2020-10-27 2021-02-05 武汉联影医疗科技有限公司 Built-in program operation method and device, computer equipment and storage medium
CN113553095A (en) * 2021-07-16 2021-10-26 北京奇艺世纪科技有限公司 Method and device for issuing small program, electronic device and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495258A (en) * 2018-12-19 2019-03-19 世纪龙信息网络有限责任公司 Method and device for decrypting monitoring data, computer equipment and storage medium
CN110191046A (en) * 2019-05-31 2019-08-30 成都依能科技股份有限公司 Document transmission system and method based on wechat
CN111324335A (en) * 2020-01-04 2020-06-23 厦门二五八网络科技集团股份有限公司 Method and device for creating small program
CN111338655A (en) * 2020-02-24 2020-06-26 得到(天津)文化传播有限公司 Installation package distribution method and system
CN111737139A (en) * 2020-06-28 2020-10-02 深圳前海微众银行股份有限公司 Method and device for generating preview two-dimensional code of applet
CN112114865A (en) * 2020-08-27 2020-12-22 微民保险代理有限公司 Version data processing method and device, storage medium and electronic device
CN112328333A (en) * 2020-10-27 2021-02-05 武汉联影医疗科技有限公司 Built-in program operation method and device, computer equipment and storage medium
CN113553095A (en) * 2021-07-16 2021-10-26 北京奇艺世纪科技有限公司 Method and device for issuing small program, electronic device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116561101A (en) * 2023-05-09 2023-08-08 中工数保(北京)科技有限公司 Version management and version switching method of industrial control system data and related equipment
CN116561101B (en) * 2023-05-09 2024-01-23 中工数保(北京)科技有限公司 Version management and version switching method of industrial control system data and related equipment

Similar Documents

Publication Publication Date Title
CN104486430A (en) Method, device and client for realizing data sharing in mobile browser client
CN110377500A (en) Test method, device, terminal device and the medium of Website page
CN106484611B (en) Fuzzy test method and device based on automatic protocol adaptation
CN107395420B (en) Server performance testing method and system, electronic device and storage medium
CN107483567B (en) Distributed log searching method and system
KR20110052521A (en) Information-processing device, communication system, computer readable medium, and information-processing method
CN104348919A (en) Method and device for downloading file and browser
CN105306414A (en) Port vulnerability detection method, device and system
CN111666129A (en) Container mirror image processing method, electronic device, storage medium and system
CN109460268B (en) Application parameter configuration method, device and system
CN107113199B (en) Analysis device for analyzing and processing communication sequences
CN110928554A (en) Deployment method, device, equipment and storage medium
CN111694733A (en) API (application programming interface) testing method and device for software development kit SDK (software development kit)
CN114154526A (en) Two-dimensional code processing method and system, storage medium and electronic equipment
CN109041267A (en) A kind of network connectivity fai_lure processing method, device and electronic equipment
CN115514667A (en) Access service processing method, system, device, electronic equipment and storage medium
CN111782184A (en) Apparatus, method, apparatus and medium for performing a customized artificial intelligence production line
CN107026854B (en) Vulnerability verification method and device
CN112306471A (en) Task scheduling method and device
CN110389886B (en) Additional function testing method and device of main application program and storage medium
CN112333229A (en) Method, device, equipment and storage medium for expanding kubernets nodes
CN115514677B (en) Method and system for server dial testing
CN110971599A (en) Vulnerability scanning method and device
CN110661655B (en) Cluster deployment method and system, electronic device and storage medium
CN115914055A (en) Distributed network testing method, device, medium and equipment

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