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

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

Info

Publication number
CN114154526B
CN114154526B CN202111461730.8A CN202111461730A CN114154526B CN 114154526 B CN114154526 B CN 114154526B CN 202111461730 A CN202111461730 A CN 202111461730A CN 114154526 B CN114154526 B CN 114154526B
Authority
CN
China
Prior art keywords
version
uploading
main body
current program
dimensional code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111461730.8A
Other languages
Chinese (zh)
Other versions
CN114154526A (en
Inventor
郝悦
高剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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/CN114154526B/en
Publication of CN114154526A publication Critical patent/CN114154526A/en
Application granted granted Critical
Publication of CN114154526B publication Critical patent/CN114154526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a two-dimension code processing method, a system, a storage medium and electronic equipment, wherein an application program identifier and an uploading key of a current program main body are obtained, when an uploading instruction is received, a code packet corresponding to the current program main body is generated based on an uploading component, the application program identifier and the uploading key and uploaded to a version library corresponding to the current program main body, a login two-dimension code is obtained, and when the obtained version list node data accords with preset conditions, a target two-dimension code is obtained. Through the scheme, the program main body to be issued is selected in the command line, after the code scanning login is carried out on the login two-dimensional code, the target two-dimensional code can be obtained, operations such as code scanning login and downloading the target two-dimensional code are not required to be carried out 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, 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 system, a storage medium, and an electronic device.
Background
In the process of developing a WeChat applet, the upload passcode package depends on the WeChat developer tool provided by the applet platform or a command line package upload function. After the code package is uploaded, a WeChat applet platform is required 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), and a target two-dimensional code corresponding to the target version is acquired to carry out a subsequent experience flow.
In the prior art, in a project test stage, whether a code package is passed through a WeChat developer tool or a command line, after the code package is uploaded, one or more sets of applet codes are simultaneously issued to a plurality of applet bodies, the corresponding applet bodies need to be logged in a browser for multiple times, and operations such as downloading a two-dimensional code are carried out, so that development efficiency and efficiency of acquiring a target two-dimensional code 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 the above, the invention discloses a two-dimensional code processing method, a system, a storage medium and electronic equipment, which are used for improving development efficiency and efficiency of acquiring a target two-dimensional code.
In order to achieve the above purpose, the technical scheme disclosed by the method is as follows:
the invention discloses a two-dimensional code processing method, 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 package to a version library corresponding to the current program main body, and acquiring a login two-dimensional code;
When login information is monitored, version list node data corresponding to a current program main body in the version library is obtained, and the login information is generated when a user scans the login two-dimensional code to login successfully;
And when the version list node data accords with a preset condition, obtaining a target two-dimensional code and storing the target two-dimensional code.
Preferably, the generating, when receiving the upload instruction, a code packet corresponding to the current program main body based on an upload component, the application identifier and the upload key includes:
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;
When the current program main body is in the preset state and 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.
Preferably, the uploading the code package to a version library corresponding to the current program main body, and obtaining the login two-dimensional code, includes:
and uploading the code package 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, a target two-dimensional code is obtained and stored, including:
Determining the version which is uploaded to the version list last time based on the time node in the version list node data;
when the version node of the version has a preset icon and receives popup window triggering information, popup windows are popped up;
And acquiring and storing the target two-dimensional code from the popup window.
Preferably, the method further comprises:
And if the version node does not have the preset icon, setting the version corresponding to the version node as a target version.
The second aspect of the invention discloses a two-dimensional code processing system, which comprises:
the first acquisition unit is used for acquiring the application program identifier and the uploading key of the 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 package 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 the current program main body in the version library when login information is monitored, wherein the login information is generated when the user scans the login two-dimensional code to successfully login;
and the fourth acquisition unit is used for acquiring and storing the target two-dimensional code when the version list node data accords with a 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 so that the current program main body is 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 uploading instruction is received in the preset state of the current program main body.
Preferably, the second obtaining unit is specifically configured to:
and uploading the code package to a version library corresponding to the current program main body, and acquiring a login two-dimensional code through a headless browser.
A third aspect of the present invention discloses a storage medium, the storage medium including stored instructions, wherein when the instructions run, a device in which the storage medium is controlled to execute the two-dimensional code processing method according to any one of the first aspects.
A fourth aspect of the present invention discloses 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 one or more processors by 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 an uploading instruction is received, a code packet corresponding to the current program main body is generated based on the uploading component, the application program identification and the uploading key and uploaded to a version library corresponding to the current program main body, a login two-dimensional code is obtained, when login information is monitored, version list node data corresponding to the current program main body is obtained, and when the version list node data meets preset conditions, a target two-dimensional code is obtained. Through the scheme, the program main body to be issued is selected in the command line, after the code scanning login is carried out on the login two-dimensional code, the target two-dimensional code can be obtained, operations such as code scanning login and downloading the target two-dimensional code are not required to be carried out 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 that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a two-dimensional code processing method disclosed in the embodiment of the invention;
FIG. 2 is a schematic diagram of a version management interface according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of generating a code packet corresponding to a current program body according to an embodiment of the present invention;
Fig. 4 is a schematic flow diagram of obtaining and storing a target two-dimensional code when version list node data meets a preset condition according to an 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 present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the present disclosure, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As known 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-dimensional code processing method, a system, a storage medium and electronic equipment, which are used for improving development efficiency and efficiency of acquiring a target two-dimensional code. Specific implementations are illustrated by the following examples.
Referring to fig. 1, a flow chart of a two-dimensional code processing method disclosed in an embodiment of the invention is shown, and the two-dimensional code processing method mainly includes the following steps:
step S101: the application identification appid and upload key appsecret of the current program body are obtained.
In step S101, the 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 applet body are obtained in the "development management" item.
Step S102: when an upload instruction is received, a code package corresponding to the current program body is generated based on miniprogram-ci upload component, application identity appid, and upload key appsecret.
In step S102, the upload instruction is an upload instruction of an automatic upload tool, and the upload instruction is entered by a developer in a command line.
The procedure for specifically obtaining the application identifier appid and the upload key appsecret of the current program 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 generating a code packet corresponding to the current program main body based on miniprogram-ci uploading components, an application program identifier appid and an uploading key appsecret when an uploading instruction is received under the preset state of the current program main body.
The preset state is a security state that can upload the code package to the version library corresponding to the current program main body.
Step S103: and uploading the code package 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 a version library corresponding to the current program main body, and the login two-dimensional code is obtained through the headless browser.
The headless browser (Headless Chrome) is a browser without an operation interface, runs in a memory and is commonly used for webpage automatic test, and by using the API provided by the browser, operation instructions can be automatically executed, and the behavior of a real browser can be simulated in the background.
After the headless browser is called, the user jumps to a landing page of the WeChat applet platform, acquires a landing two-dimensional code, saves the landing two-dimensional code to the local and automatically opens the landing two-dimensional code, and waits for the user to scan the code to log in. At the moment, the user can only see one login two-dimension code picture, select a corresponding current program main body by scanning the login two-dimension code, click to login, jump to a WeChat applet platform homepage after detecting the user code scanning login by a headless browser, simulate clicking a 'version management' item, jump to a version management interface.
A schematic diagram of a version management interface is shown in fig. 2.
In FIG. 2, the version management interface includes development version, version number (1.0.0, 1.1.0), developer, commit time, project remarks, commit audit. When the mark (preset Icon) of the experience edition exists, determining that the version corresponding to the mark of the experience edition exists as a target version, and acquiring a target two-dimensional code corresponding to the target version.
Step S104: when login information is monitored, version list node data corresponding to a current program main body in a version library is obtained, and the login information is generated when a user scans a login two-dimensional code and login is successful.
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 accords with the preset condition, obtaining the target two-dimensional code and storing the target two-dimensional code.
In step S105, based on the time node in the version-list node data, the version that was last uploaded to the version list is determined, and when the version node of the version that was last uploaded to the version list has the preset Icon, it is determined that the version-list node data meets the preset condition.
The time node is the uploading time node.
The preset Icon is used to identify the version as the experience version (target version).
And acquiring the target two-dimensional code, and carrying out a subsequent experience flow.
To facilitate an understanding of the process of determining the last version uploaded to the version list based on the time nodes in the version list node data, an example is illustrated herein:
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 uploading time node of 16:08 is the version which is uploaded to the version list last time.
Specifically, when the version list node data accords with a preset condition, the process of obtaining and storing the target two-dimensional code is as follows:
Firstly, determining the version which is uploaded to the version list last time based on a time node in the version list node data, then popping up a popup when a preset Icon is stored in the version node of the version and popup triggering information is received, and finally acquiring a target two-dimensional code from the popup and storing the target two-dimensional code.
And when the version node of the version does not have the preset Icon, setting the version corresponding to the version node as the target version.
The process of setting the version corresponding to the version node as the target version specifically includes the following steps:
When the version node of the version does not have the preset Icon, the right side pull-down arrow button of the version is simulated to click the 'select as experience version' button in the pop-up box, the experience version pop-up window is evoked to be set, the default home page of the applet is simulated to be typed in the pop-up box, and the 'switch experience version' button is simulated to be clicked; to this end, the version is set as the experience version. After the experience version is set, acquiring the two-dimensional code (target two-dimensional code) of the experience version, and carrying out a subsequent experience flow.
When a plurality of program main bodies exist, the two-dimension code processing method flow can be circularly executed.
Uploading the code package to a version library, version management, experience setting, two-dimension code acquisition and the like corresponding to the current program main body belong to a non-perception stage, in the non-perception stage, a developer selects a main body needing to be issued in a command line, and after code scanning login, the two-dimension code can be acquired, the middle operation flow is not required to be concerned, and the two-dimension code package is uploaded and downloaded by one key, so that development efficiency and the efficiency of acquiring the target two-dimension code are improved.
The automatic uploading and downloading tool for the WeChat applet integrates downloading and logging in the two-dimension code, uploading and downloading the code package, selecting the experience version, downloading the carrier and verifying the target two-dimension code and storing the code into a local whole, saves the operation flow and time of uploading and downloading the target two-dimension code by the source code, and improves the development efficiency and the efficiency of acquiring the target two-dimension code.
In the embodiment of the invention, the program main body to be issued is selected in the command line, the target two-dimensional code can be obtained after the code scanning login is carried out on the login two-dimensional code, operations such as code scanning login and downloading of the target two-dimensional code are not needed for a plurality of times in the project test stage, and the development efficiency and the efficiency of obtaining the target two-dimensional code are improved.
Referring to fig. 3, in step S102, the process of generating a code packet corresponding to the current program body based on miniprogram-ci uploading component, application identifier appid and uploading key appsecret mainly includes the following steps:
Step S301: and adding the IP of the current program main body into the uploading white list to enable the current program main body to be in a preset state.
Step S302: when the current program main body is in a preset state and an uploading instruction is received, a code packet corresponding to the current program main body is generated based on miniprogram-ci uploading components, application program identifiers appid and uploading keys appsecret.
The execution principle of steps S301 to 302 is identical to that of step S102, and reference is made thereto, and details thereof will not be repeated.
In the embodiment of the invention, the IP of the current program main body is added to the uploading white list to enable the current program main body to be in a preset state, and when an uploading instruction is received in the preset state of the current program main body, the purpose of generating a code packet corresponding to the current program main body is achieved based on miniprogram-ci uploading components, an application program identifier appid and an uploading key appsecret.
Referring to fig. 4, in step S105, a process of obtaining and storing the target two-dimensional code when the version list node data meets the preset condition mainly includes the following steps:
step S401: the version last uploaded to the version list is determined based on the time node in the version list node data.
Step S402: and when the version node of the version has the preset Icon and receives popup trigger information, popup the popup.
Step S403: and acquiring and storing the target two-dimensional code from the popup window.
The execution principle of steps S401 to S403 is identical to that of step S105 described above, and reference is made thereto, and details thereof will not be repeated.
In the embodiment of the invention, the version which is uploaded to the version list 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 acquired from the popup window, and the target two-dimensional code is stored, so that the purpose of acquiring the target two-dimensional code is realized.
Based on the two-dimensional code processing method disclosed in fig. 1 in the foregoing embodiment, the embodiment of the present invention also correspondingly discloses a two-dimensional code processing system, as shown in fig. 5, where 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 body.
The first obtaining unit 501 logs in to a management platform of a WeChat applet body to be developed, and obtains an application program identifier appid and an uploading key appsecret of a current program body in a development management item.
The generating unit 502 is configured to generate, when receiving the upload instruction, a code packet corresponding to the current program body based on miniprogram-ci upload component, application identifier appid, and upload key appsecret.
The uploading instruction is an uploading instruction of an automatic uploading tool, and the uploading instruction is obtained by a developer through typing in a command line.
The second obtaining unit 503 is configured to upload the code package to a version library corresponding to the current program body, and obtain the login two-dimensional code.
The second obtaining unit 503 uploads the code package to a version library corresponding to the current program body, and obtains the login two-dimensional code through the headless browser.
And a third obtaining unit 504, configured to obtain version list node data corresponding to the current program main body in the version library when login information is monitored, where the login information is generated when the user scans the login two-dimensional code and the login is successful.
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 method comprises the steps of determining a version which is uploaded to a version list last time based on a time node in version list node data, and determining that the version list node data meets preset conditions when a preset Icon exists in the version node of the version which is uploaded to the version list last time.
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 an uploading white list so that the current program main body is in a preset state.
The generating module is configured to generate, when the current program body is in the preset state and the upload instruction is received, a code packet corresponding to the current program body based on miniprogram-ci upload component, application identifier appid and upload key appsecret.
Further, the second obtaining unit 503 is specifically configured to upload the code package to a version library corresponding to the current program body, and obtain the login two-dimensional code through the headless browser.
Further, the fourth obtaining unit 505 includes a determining module, a popup module, and an obtaining module.
And the determining module is used for determining the version which is uploaded to the version list last time based on the time node in the version list node data.
And the popup module is used for popup popups when the version node of the version has the preset Icon and popup trigger information is received.
The acquisition module is used for acquiring the target two-dimensional code from the popup window and storing the target two-dimensional code.
Further, the device also comprises a setting unit.
The setting unit is used for setting the version corresponding to the version node as the target version if the version node does not have the preset Icon.
In the embodiment of the invention, the program main body to be issued is selected in the command line, the target two-dimensional code can be obtained after the code scanning login is carried out on the login two-dimensional code, operations such as code scanning login and downloading of the target two-dimensional code are not needed for a plurality of times in the project test stage, and the development efficiency and the efficiency of obtaining the target two-dimensional code are improved.
The embodiment of the invention also provides a storage medium, which comprises stored instructions, wherein the equipment where the storage medium is located is controlled to execute the two-dimensional code processing method when the instructions run.
The embodiment of the present invention further provides an electronic device, whose structural schematic diagram is shown in fig. 6, specifically including 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 the one or more processors 603, where the one or more instructions 602 perform the following operations:
Acquiring an application program identifier appid and an uploading key appsecret of the current program body;
when an uploading instruction is received, generating a code packet corresponding to the current program main body based on miniprogram-ci uploading components, application program identifiers appid and uploading keys appsecret;
uploading the code package to a version library corresponding to the current program main body, and acquiring a login two-dimensional code;
when login information is monitored, version list node data corresponding to a current program main body in a version library is obtained, and the login information is generated when a user scans a login two-dimensional code to login successfully;
and when the version list node data accords with the preset condition, obtaining the target two-dimensional code and storing the target two-dimensional code.
The specific implementation process and derivative manner of the above embodiments are all within the protection scope of the present invention.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for a system or system embodiment, since it is substantially similar to a method embodiment, the description is relatively simple, with reference to the description of the method embodiment being made in part. The systems and system embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
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 elements and steps are described above generally in terms of functionality in order to clearly illustrate the 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 solution. 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 merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (9)

1. The two-dimensional code processing method is characterized by comprising the following steps of:
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 package to a version library corresponding to the current program main body, and acquiring a login two-dimensional code;
When login information is monitored, version list node data corresponding to a current program main body in the version library is obtained, and the login information is generated when a user scans the login two-dimensional code to login successfully;
Determining the version which is uploaded to the version list last time based on the time node in the version list node data;
when the version node of the version has a preset icon and receives popup window triggering information, popup windows are popped up;
And acquiring and storing the target two-dimensional code from the popup window.
2. The method of claim 1, wherein the generating, when the upload instruction is received, a code packet corresponding to the current program body based on an upload component, the application identifier, and the upload key comprises:
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;
When the current program main body is in the preset state and 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.
3. The method of claim 1, wherein uploading the code package to a version library corresponding to the current program body and obtaining a login two-dimensional code comprises:
and uploading the code package 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 as recited in claim 1, further comprising:
And if the version node does not have the preset icon, setting the version corresponding to the version node as a target version.
5. A two-dimensional code processing system, the system comprising:
the first acquisition unit is used for acquiring the application program identifier and the uploading key of the 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 package 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 the current program main body in the version library when login information is monitored, wherein the login information is generated when the user scans the login two-dimensional code to successfully login;
A fourth obtaining unit, configured to determine, based on a time node in the version list node data, a version that is uploaded to the version list last time; when the version node of the version has a preset icon and receives popup window triggering information, popup windows are popped up; and acquiring and storing the target two-dimensional code from the popup window.
6. The system of claim 5, 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 so that the current program main body is 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 uploading instruction is received in the preset state of the current program main body.
7. The system according to claim 5, wherein the second acquisition unit is specifically configured to:
and uploading the code package to a version library corresponding to the current program main body, and acquiring a login two-dimensional code through a headless browser.
8. A storage medium comprising stored instructions, wherein the instructions, when executed, control a device in which the storage medium is located to perform the two-dimensional code processing method according to any one of claims 1 to 4.
9. 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 of any of claims 1-4.
CN202111461730.8A 2021-12-02 2021-12-02 Two-dimensional code processing method, system, storage medium and electronic equipment Active CN114154526B (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

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

Family

ID=80456134

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN114154526B (en)

Families Citing this family (1)

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

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328333A (en) * 2020-10-27 2021-02-05 武汉联影医疗科技有限公司 Built-in program operation method and device, computer equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495258B (en) * 2018-12-19 2022-05-13 天翼数字生活科技有限公司 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
CN111338655B (en) * 2020-02-24 2023-11-14 得到(天津)文化传播有限公司 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
CN113553095A (en) * 2021-07-16 2021-10-26 北京奇艺世纪科技有限公司 Method and device for issuing small program, electronic device and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328333A (en) * 2020-10-27 2021-02-05 武汉联影医疗科技有限公司 Built-in program operation method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN114154526A (en) 2022-03-08

Similar Documents

Publication Publication Date Title
CN107733847B (en) Method and device for platform login website, computer equipment and readable storage medium
JP5425699B2 (en) Information processing apparatus, test case generation method, program, and recording medium
US10108801B2 (en) Web application vulnerability scanning
US10853227B2 (en) Systems and methods for modular test platform for applications
CN109582563B (en) Test method, device, computer equipment and storage medium for test cases
US20150286559A1 (en) Software development assistant method and system
US11068385B2 (en) Behavior driven development test framework for application programming interfaces and webservices
CN104598380A (en) Method and system for automatic testing based on control
CN111124919A (en) User interface testing method, device, equipment and storage medium
CN108235763B (en) Detection system, method and related device
CN109614109B (en) Application deployment method, device and system
CN114154526B (en) Two-dimensional code processing method, system, storage medium and electronic equipment
CN111651352B (en) Warehouse code merging method and device
CN111628927A (en) Mail management method and device, storage medium and electronic terminal
CN112241311A (en) Firmware simulation method and device, electronic equipment and readable storage medium
CN111522749B (en) Page testing method and device, readable storage medium and electronic equipment
CN111538659A (en) Interface testing method and system for service scene, electronic device and storage medium
CN110908708B (en) Code release method, device and system
CN109460268A (en) Application parameter configuration method, device and system
CN106445541B (en) Software construction method, software construction device and software construction system
CN109492403B (en) Vulnerability detection method and device
CN115914055A (en) Distributed network testing method, device, medium and equipment
US11921862B2 (en) Systems and methods for rules-based automated penetration testing to certify release candidates
CN109165505A (en) A kind of the security sweep method, apparatus and security sweep server of data
CN117215635B (en) Task processing method, device and storage medium

Legal Events

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