Method and system for recovering running state of application program based on two-dimensional code

By using QR codes in graphical user interface screenshots to store and parse the application's running status data, the problem of low application status recovery efficiency in engineering design and construction is solved, efficient and accurate status recovery is achieved, and communication costs are reduced.

CN118567646APending Publication Date: 2024-08-30BEIJING ZHONGHENG LIHUA PETROLEUM TECH RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410980471.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

During the engineering design and construction process, the application running status cannot be restored efficiently, accurately, and conveniently from screenshots of the application graphical interface, resulting in increased communication time and cost.

Method used

Using a QR code-based method, by generating and storing the running status data of the application in the graphical user interface screenshot, the QR code parser is used to automatically identify and restore the application status, avoiding manual operations and multiple trials and errors.

Benefits of technology

It improves the efficiency and accuracy of application state recovery, reduces the difficulty and cost of team communication, and realizes an automated state recovery process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567646A
    Figure CN118567646A
Patent Text Reader

Abstract

The invention discloses an application program running state recovery method and system based on a two-dimensional code, and the method comprises the steps: obtaining a graphical user interface screenshot and running state data of a desktop graphic application program in a target running state, and setting the screenshot in the graphical user interface screenshot in a manner of generating snapshot data and converting the snapshot data into the two-dimensional code, when the graphical user interface screenshot needs to be recovered in the desktop graphical interface application program, the parameter value in the snapshot data is extracted by identifying the two-dimensional code and is given to the desktop graphical interface application program, and the target running state of the graphical user interface screenshot can be recovered. According to the method, the two-dimensional code in the screenshot is automatically and efficiently recognized and analyzed through software, the snapshot data packet is obtained, the system running state is recovered, the graphic application interface consistent with the screenshot is obtained, the snapshot data packet and the screenshot of the graphic application program are managed in a unified mode, restoration difficulty or restoration failure caused by manual operation is avoided, the cooperation efficiency is greatly improved, and the user experience is improved. And communication cost is saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer software technology, and in particular to a method and system for restoring the running state of an application program based on a two-dimensional code. Background Art

[0002] At present, in the field of engineering design and construction, project results reporting is a very important part. Many designers and construction parties mainly use the traditional screenshot method (putting a screenshot of the graphical user interface of the desktop graphical interface application in the corresponding running state into the results report file) to show their scheme design results and construction progress results to meet the design and construction communication between the designer and the result reviewer.

[0003] However, in actual applications, the auditor usually needs to reproduce the running status of the GUI screenshot in the desktop GUI application. At this time, the software operator needs to rely on the memory, experience and multiple trial and error to restore the running status when the screenshot was generated, and the reproduction efficiency is low; especially in the scenario where the desktop GUI application has many parameter types, large parameter ranges, and high parameter adjustment resolution, it may even be difficult to reproduce the running status. Such problems will greatly increase the time for repeated communication from designers to project auditors and supervisors, and from project auditors and supervisors to designers, increase the difficulty of communication, affect project progress, and increase project costs.

[0004] Therefore, how to efficiently, accurately and conveniently restore the application running state from the application graphical interface screenshot is a technical problem that needs to be solved urgently. Summary of the invention

[0005] The main purpose of the present invention is to provide a method and system for recovering the application running status based on a QR code, aiming to solve the technical problem that the application running status cannot be efficiently, accurately and conveniently recovered from a screenshot of the application graphical interface during the current engineering design and construction process.

[0006] To achieve the above object, the present invention provides a method for restoring the running state of an application based on a QR code, the method comprising: Step S1: accessing the web service website of the remote snapshot server in the desktop graphical interface application, and establishing a communication relationship between the local snapshot management subsystem and the remote snapshot server; Step S2: using the local snapshot management subsystem to obtain a screenshot of the graphical user interface and generate a target snapshot of the desktop graphical interface application; Step S3: storing the running status data of the desktop graphic application into the data packet of the target snapshot, converting the target snapshot into a target QR code and setting it in the graphical user interface screenshot; Step S4: identifying the target QR code of the GUI screenshot, extracting the data packet of the target snapshot, and reading the parameter value of each parameter type of the snapshot data from the data packet; Step S5: assigning the parameter value as the running status data to the desktop graphical interface application, so that the desktop graphical interface application is restored to the state of the graphical user interface screenshot.

[0007] Optionally, the method further includes: Step S0: Use the WeChat open platform to register a remote snapshot server and WeChat account for a desktop graphical interface application, and configure the WeChat QR code of the WeChat account; scan the WeChat QR code in the desktop graphical interface application to log in to the remote snapshot server.

[0008] Optionally, the step S0 specifically includes: Step S01: Register an account on the WeChat Open Platform to obtain developer qualifications; Step S02: Apply to register a website application of a remote snapshot server on the WeChat Open Platform and obtain the AppID and AppSecret of the application; Step S03: Access the web service website of the remote snapshot server in the desktop graphical interface application, and use the user information returned by WeChat as the user identification; Step S04: Obtain the permission information of the WeChat user from the web service website, determine whether the permission information is valid, and if so, log in to the remote snapshot server.

[0009] Optionally, the step S03 specifically includes: Step S031: Enter the https address for obtaining the WeChat QR code; Step S032: The user scans the WeChat QR code to obtain a code, and obtains an authorization token through the code; Step S033: Obtain WeChat user information through the authorization token, and return the user ID used to log in to the remote snapshot server.

[0010] Optionally, the step S2 specifically includes: Step S21: using the screenshot tool in the local snapshot management subsystem to capture a screenshot of the graphical user interface of the desktop graphical interface application; Step S22: Generate a target snapshot of the desktop graphical interface application corresponding to the graphical user interface screenshot.

[0011] Optionally, the step S3 specifically includes: Step S31: obtaining the running status data of the desktop graphical interface application corresponding to the graphical user interface screenshot, and serializing the running status data into binary data and storing it in the data packet of the target snapshot; Step S32: using a remote snapshot server to allocate a URL to store the target snapshot, using a QR code generator to convert the URL into a target QR code, and setting the target QR code at a designated location of the graphical user interface screenshot.

[0012] Optionally, the step S4 specifically includes: Step S41: using a QR code parser to convert the target QR code in the graphical user interface screenshot into a URL, and obtaining a data packet of the target snapshot storing binary serialized running status data through the URL; wherein the QR code parser includes a QR code parser in a WeChat program or a QR code parser embedded in a desktop graphical interface application; Step S42: Read the parameter type of the snapshot data from the data packet of the target snapshot, decode the binary data packet according to the parameter type, and obtain the parameter value of each parameter type.

[0013] Optionally, the parameter binary format of the snapshot data consists of a key for distinguishing different parameter types and a value for marking a parameter value type.

[0014] Optionally, the step S5 specifically includes: S51: assigning the obtained parameter value to the corresponding running status data in the desktop graphical interface application until the snapshot data in the data packet of the target snapshot is completely read; S52 drives the desktop graphical interface application to recover to the state of the graphical user interface screenshot according to the assigned running status data.

[0015] In addition, in order to achieve the above-mentioned purpose, the present invention also provides an application running state recovery system based on a QR code, comprising: Establishing a module for accessing the web service website of the remote snapshot server in a desktop graphical interface application program, and establishing a communication relationship between the local snapshot management subsystem and the remote snapshot server; A generation module, used for obtaining a screenshot of a graphical user interface using a local snapshot management subsystem, and generating a target snapshot of a desktop graphical interface application; A setting module, used for storing the running status data of the desktop graphic application into the data packet of the target snapshot, converting the target snapshot into a target QR code and setting it in the screenshot of the graphical user interface; A reading module, used for identifying a target QR code of the GUI screenshot, extracting a data packet of the target snapshot, and reading a parameter value of each parameter type of the snapshot data from the data packet; The recovery module is used to assign the parameter value as the running status data to the desktop graphical interface application so that the desktop graphical interface application is restored to the state of the graphical user interface screenshot.

[0016] The beneficial effects of the present invention are as follows: a QR code-based application running state recovery method and system are proposed, which obtains a GUI screenshot and running state data of a desktop graphic application in a target running state, generates snapshot data and converts it into a QR code and sets it on the GUI screenshot. When it is necessary to restore the GUI screenshot in the desktop graphic interface application, the snapshot data is extracted by identifying the QR code, and the parameter value of each parameter type in the snapshot data is extracted and assigned to the desktop graphic interface application, thereby restoring the desktop graphic interface application to the state of the GUI screenshot. As a result, there is no need to refer to the screenshot of the graphic application and use a method of manually operating the application to restore the running state when the screenshot was generated by relying on the software operator's memory, experience, and multiple trial and error. Instead, the software automatically and efficiently identifies and parses the QR code in the screenshot, obtains the URL of the snapshot data packet, and restores the system running state to obtain the same as the screenshot. Figure 1 The unique graphical application interface can centrally manage snapshot data packages and screenshots of graphical applications, and prevent the inability to restore the operating status due to improper manual operations, making team interaction smoother and more natural, greatly improving the efficiency of collaboration, and saving communication costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A schematic diagram of a flow chart of a method for restoring an application program running state based on a QR code in an embodiment; Figure 2 Schematic diagram of the principle of the method for restoring the running state of an application based on a QR code in an embodiment; Figure 3 A schematic diagram of the wave impedance inversion profile of the earthquake and target layer generated by the SMI program in the embodiment; Figure 4 This is a schematic diagram of a target QR code being set on a screenshot of a graphical user interface in an embodiment; Figure 5 Schematic diagram of the structure of the application running status recovery system based on QR code in the embodiment.

[0018] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0020] The embodiment of the present invention provides a method for restoring the running state of an application program based on a QR code, referring to Figure 1 , Figure 1 The figure is a flowchart of an embodiment of a method for restoring an application program running state based on a QR code according to the present invention.

[0021] In this embodiment, a method for restoring the running state of an application based on a QR code includes: Step S1: accessing the web service website of the remote snapshot server in the desktop graphical interface application, and establishing a communication relationship between the local snapshot management subsystem and the remote snapshot server; Step S2: using the local snapshot management subsystem to obtain a screenshot of the graphical user interface and generate a target snapshot of the desktop graphical interface application; Step S3: storing the running status data of the desktop graphic application into the data packet of the target snapshot, converting the target snapshot into a target QR code and setting it in the graphical user interface screenshot; Step S4: identifying the target QR code of the GUI screenshot, extracting the data packet of the target snapshot, and reading the parameter value of each parameter type of the snapshot data from the data packet; Step S5: assigning the parameter value as the running status data to the desktop graphical interface application, so that the desktop graphical interface application is restored to the state of the graphical user interface screenshot.

[0022] It should be noted that, in the current engineering design and construction process, the auditor usually needs to reproduce the running status of the GUI screenshot in the desktop GUI application. At this time, the software operator needs to rely on the memory, experience and multiple trial and error to restore the running status when the screenshot was generated, and the reproduction efficiency is low; especially in the scenario where the desktop GUI application has many parameter types, large parameter ranges, and high parameter adjustment resolution, it may even be difficult to reproduce the running status. Such problems will greatly increase the time for repeated communication from designers to project auditors and supervisors, and from project auditors and supervisors to designers, increase the difficulty of communication, affect project progress, and increase project costs.

[0023] In order to solve the above problems, this embodiment obtains a GUI screenshot and running status data of the desktop graphical interface application in the target running state, generates snapshot data and converts it into a QR code and sets it on the GUI screenshot. When it is necessary to restore the GUI screenshot in the desktop graphical interface application, the snapshot data is extracted by identifying the QR code, and the parameter value of each parameter type in the snapshot data is extracted and assigned to the desktop graphical interface application, thereby restoring the desktop graphical interface application to the state of the GUI screenshot.

[0024] Therefore, there is no need to refer to the screenshot of the graphic application and use the method of manually operating the application to restore the running state when the screenshot was generated by relying on the software operator's memory, experience and multiple trial and error. Instead, the software automatically and efficiently recognizes and parses the QR code in the screenshot, obtains the URL of the snapshot data packet, obtains the snapshot data packet, restores the system running state, and obtains the same as the screenshot. Figure 1 The unique graphical application interface can centrally manage snapshot data packages and screenshots of graphical applications, and prevent the inability to restore the operating status due to improper manual operations, making team interaction smoother and more natural, greatly improving the efficiency of collaboration, and saving communication costs.

[0025] In practical applications, such as Figure 2 As shown, when restoring the running state of an application from a screenshot of the application graphical interface, it involves a desktop graphical interface application, a local snapshot management subsystem, a WeChat open platform, a screenshot tool, a QR code generator, a QR code parser, a local snapshot collection, a remote snapshot server, and a remote snapshot collection. Based on this, a QR code-based application running state recovery method provided in this embodiment is implemented using the following principles: 1. First, the WeChat open platform is needed to realize the interaction between the desktop graphical interface application and the smart terminal. Specifically, the WeChat open platform is used to register the remote snapshot management server and WeChat account for the desktop graphical interface application, and configure the WeChat account and WeChat QR code. After scanning the WeChat QR code from the desktop graphical interface application, you can register and log in to the remote snapshot management server, start the software snapshot service, download the snapshot to the desktop graphical interface application, and restore the running state of the desktop graphical interface application when the screenshot was taken.

[0026] (1) Implement the process of scanning the WeChat QR code from the desktop graphical interface application: register an account on the WeChat Open Platform and obtain developer qualifications; apply to register a remote snapshot server website application on the WeChat Open Platform, and obtain the corresponding AppID and AppSecret after the review is passed; use JavaScript in the desktop graphical interface application to access the web service website of the remote snapshot server, and use the user information returned by WeChat as the user identifier; obtain the permission information of this WeChat user from the website application, and give a corresponding prompt if it is invalid. If it is valid, allow login to the system and start the local snapshot management subsystem at the same time, periodically communicate with the remote snapshot server, wait for instructions from the remote snapshot server, and be ready to download snapshots from the remote snapshot server at any time to restore the running status.

[0027] (2) The process of using JavaScript to access the remote snapshot management server web service in a desktop graphical interface application embedded in a web page: 1. Enter the https address to obtain the WeChat QR code; 2. After the user scans the WeChat QR code, he obtains the code and obtains the access_token through the code; 3. Obtains WeChat user personal information through the access_token; 5. Based on the WeChat user information, log in to the user account of the remote snapshot management server from the desktop graphical interface application.

[0028] Second, use the screenshot tool in the local snapshot management subsystem to capture a screenshot of the graphical user interface of the desktop graphical interface application, and generate a snapshot of the desktop graphical interface application corresponding to the screenshot, and assign a URL to the snapshot from the remote snapshot management server for storing the snapshot, use the QR code generator to convert the URL into a QR code, and cover the QR code in the specified area of ​​the screenshot, so that a picture with a QR code is generated, such as Figure 3-4 As shown, Figure 3 The seismic and target layer impedance inversion profiles generated by the SMI program commonly used in the oil and gas exploration and development industry are Figure 4 A schematic diagram of setting the generated QR code on a screenshot of the graphical user interface (i.e., the seismic and impedance inversion profiles of the target layer generated by the SMI program). Figure 4 It can be used for demonstrations, communication and other occasions, which depends on the purpose of the user taking a screenshot from the desktop graphical interface application. Although this screenshot has been out of the control of the desktop graphical interface application during dissemination, as long as the QR code in the picture is still there, the user can return to the desktop graphical interface application at any time by scanning it through WeChat.

[0029] After this, when the picture with the QR code is separated from the desktop graphical interface application and is used in various occasions such as demonstration and communication, if the user wants to return to the desktop graphical interface application and restore it to the running state when the picture was generated, there are two ways to do it.

[0030] Method 1: Simply use WeChat to scan the QR code in the image. WeChat converts the QR code into a URL and notifies the desktop graphical interface application that is already ready and waiting for instructions through the WeChat open platform. The desktop graphical interface application obtains the URL from the instruction, and the local snapshot management subsystem retrieves the corresponding snapshot in the local snapshot collection. If the local snapshot collection does not have this snapshot, it first downloads the snapshot from the remote snapshot server to the local snapshot collection, and then deserializes the snapshot to restore the running status of the desktop graphical interface application.

[0031] Method 2: Import the image directly into the desktop graphical interface application, use the QR code parser to identify the QR code from the image and convert it into a URL, and the local snapshot management subsystem retrieves the corresponding snapshot from the local snapshot collection. If the local snapshot collection does not have this snapshot, first download the snapshot from the remote snapshot server to the local snapshot collection, then deserialize the snapshot and restore the running status of the desktop graphical interface application.

[0032] 3. Then, for each offline screenshot of the graphical interface of the application software, a portion of the area at the edge of the graphic area or the user's designated area is reserved as the area for drawing the QR code. This QR code area is the serialization area of ​​the key identity identification information of the session data snapshot.

[0033] Specifically, when generating a screenshot of a desktop graphical interface application: 1. Create a session snapshot URL to be serialized for the running status data related to the application software and the graphical interface and save it in a binary format in the session snapshot data packet header; 2. Traverse the parameter list of the running status data related to the graphical interface, serialize the running status data into binary format in turn, and append it to the session snapshot data packet storing the URL until all the running status data is processed, and complete the serialization of the running status snapshot data related to the graphical interface; 3. Use a QR code generation tool to convert the session snapshot URL into a QR code, and draw this QR code in a pre-specified graphic area in the relevant screenshot.

[0034] 4. Finally, when restoring the running status of the desktop graphical interface application from the screenshot: 1. Read the QR code from the designated graphic area of ​​the offline screenshot of the software graphical interface, use the QR code parser to convert this QR code into the session snapshot URL to be deserialized, and obtain the corresponding running status snapshot data packet through this URL; 2. Read the parameter type of the state snapshot data from the snapshot data packet in turn, decode the binary data packet of the parameter according to the type, and obtain the parameter value; 3. According to the parameter key, assign the obtained parameter value to the corresponding running status parameter of the application until the state snapshot data packet is read, so that the application is restored to the state when the screenshot was generated, and the deserialization of the snapshot data packet is completed. Furthermore, the binary format of the parameters of the snapshot data is composed of a key for distinguishing different parameters and a value for marking the parameter value type. The local snapshot collection and the remote snapshot collection are managed in the same way, and both can be retrieved through the ID parameter in the URL.

[0035] In this embodiment, a method is proposed to serialize complex software session snapshot data objects into session data files, convert key identity identification information of the session data files into QR codes and output them to offline screenshots of the graphical interface of the application software for restoring the running status of the program. The method mainly solves the problem of how to quickly restore the running status of the program from offline screenshots of the graphical interface of the application software. This method does not require the manual operation of the application program by referring to the screenshot of the graphic application program, and relies on the software operator's memory, experience and multiple trial and error to restore the running status when the screenshot was generated. Instead, the method automatically and efficiently identifies and parses the QR code in the screenshot through the software, obtains the URL of the snapshot data packet, obtains the snapshot data packet, restores the system running status, and obtains the URL of the screenshot. Figure 1 The method of the present invention facilitates the unified management of snapshot data packets and screenshots of graphic application programs, eliminates the inability to restore the running state due to improper manual operations, makes team interaction smoother and more natural, greatly improves the efficiency of collaboration, and saves communication costs.

[0036] Reference Figure 5 , Figure 5 It is a structural block diagram of an embodiment of an application running status recovery system based on a QR code of the present invention.

[0037] like Figure 5 As shown, the application running state recovery system based on QR code proposed in the embodiment of the present invention includes: Establishing module 10, for accessing the web service website of the remote snapshot server in the desktop graphical interface application, and establishing a communication relationship between the local snapshot management subsystem and the remote snapshot server; A generating module 20, configured to obtain a screenshot of a graphical user interface using a local snapshot management subsystem, and generate a target snapshot of a desktop graphical interface application; A setting module 30, for storing the running status data of the desktop graphic application in the data packet of the target snapshot, converting the target snapshot into a target QR code and setting it in the screenshot of the graphical user interface; A reading module 40, for identifying a target QR code of the GUI screenshot, extracting a data packet of the target snapshot, and reading a parameter value of each parameter type of the snapshot data from the data packet; The recovery module 50 is used to assign the parameter value as the running state data to the desktop graphical interface application so that the desktop graphical interface application is restored to the state of the graphical user interface screenshot.

[0038] Other embodiments or specific implementations of the QR code-based application running status recovery system of the present invention can refer to the above-mentioned method embodiments and will not be repeated here.

[0039] It is understood that, in the description of this specification, the description with reference to the terms "one embodiment", "another embodiment", "other embodiments", or "first to Nth embodiments" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0040] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0041] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for restoring the running status of an application based on a QR code, characterized in that: The method comprises: Step S1: accessing the web service website of the remote snapshot server in the desktop graphical interface application, and establishing a communication relationship between the local snapshot management subsystem and the remote snapshot server; Step S2: using the local snapshot management subsystem to obtain a screenshot of the graphical user interface and generate a target snapshot of the desktop graphical interface application; Step S3: storing the running status data of the desktop graphic application into the data packet of the target snapshot, converting the target snapshot into a target QR code and setting it in the graphical user interface screenshot; Step S4: identifying the target QR code of the GUI screenshot, extracting the data packet of the target snapshot, and reading the parameter value of each parameter type of the snapshot data from the data packet; Step S5: assigning the parameter value as the running status data to the desktop graphical interface application, so that the desktop graphical interface application is restored to the state of the graphical user interface screenshot.

2. The method for restoring the application running state based on a QR code according to claim 1, characterized in that: The method further comprises: Step S0: Use the WeChat open platform to register a remote snapshot server and WeChat account for a desktop graphical interface application, and configure the WeChat QR code of the WeChat account; scan the WeChat QR code in the desktop graphical interface application to log in to the remote snapshot server.

3. The method for restoring the application running state based on a QR code according to claim 2, characterized in that: The step S0 specifically includes: Step S01: Register an account on the WeChat Open Platform to obtain developer qualifications; Step S02: Apply to register a website application of a remote snapshot server on the WeChat Open Platform and obtain the AppID and AppSecret of the application; Step S03: Access the web service website of the remote snapshot server in the desktop graphical interface application, and use the user information returned by WeChat as the user identification; Step S04: Obtain the permission information of the WeChat user from the web service website, determine whether the permission information is valid, and if so, log in to the remote snapshot server.

4. The method for restoring the application running state based on a QR code as claimed in claim 3, characterized in that: The step S03 specifically includes: Step S031: Enter the https address for obtaining the WeChat QR code; Step S032: The user scans the WeChat QR code to obtain a code, and obtains an authorization token through the code; Step S033: Obtain WeChat user information through the authorization token, and return the user ID used to log in to the remote snapshot server.

5. The method for restoring the application running state based on a QR code according to claim 1, characterized in that: The step S2 specifically includes: Step S21: using the screenshot tool in the local snapshot management subsystem to capture a screenshot of the graphical user interface of the desktop graphical interface application; Step S22: Generate a target snapshot of the desktop graphical interface application corresponding to the graphical user interface screenshot.

6. The method for restoring the application running state based on a QR code according to claim 1, characterized in that: The step S3 specifically includes: Step S31: obtaining the running status data of the desktop graphical interface application corresponding to the graphical user interface screenshot, and serializing the running status data into binary data and storing it in the data packet of the target snapshot; Step S32: using a remote snapshot server to allocate a URL to store the target snapshot, using a QR code generator to convert the URL into a target QR code, and setting the target QR code at a designated location of the graphical user interface screenshot.

7. The method for restoring the application running state based on a QR code according to claim 6, characterized in that: The step S4 specifically includes: Step S41: using a QR code parser to convert the target QR code in the graphical user interface screenshot into a URL, and obtaining a data packet of the target snapshot storing binary serialized running status data through the URL; wherein the QR code parser includes a QR code parser in a WeChat program or a QR code parser embedded in a desktop graphical interface application; Step S42: Read the parameter type of the snapshot data from the data packet of the target snapshot, decode the binary data packet according to the parameter type, and obtain the parameter value of each parameter type.

8. The method for restoring the application running state based on a QR code according to claim 7, characterized in that: The parameter binary format of the snapshot data is composed of a key for distinguishing different parameter types and a value for marking the parameter value type.

9. The method for restoring the application running state based on a QR code according to claim 7, characterized in that: The step S5 specifically includes: S51: assigning the obtained parameter value to the corresponding running status data in the desktop graphical interface application until the snapshot data in the data packet of the target snapshot is completely read; S52 drives the desktop graphical interface application to recover to the state of the graphical user interface screenshot according to the assigned running status data.

10. A QR code-based application running status recovery system, characterized in that: include: Establishing a module for accessing the web service website of the remote snapshot server in a desktop graphical interface application program, and establishing a communication relationship between the local snapshot management subsystem and the remote snapshot server; A generation module, used for obtaining a screenshot of a graphical user interface using a local snapshot management subsystem, and generating a target snapshot of a desktop graphical interface application; A setting module, used for storing the running status data of the desktop graphic application into the data packet of the target snapshot, converting the target snapshot into a target QR code and setting it in the screenshot of the graphical user interface; A reading module, used for identifying a target QR code of the GUI screenshot, extracting a data packet of the target snapshot, and reading a parameter value of each parameter type of the snapshot data from the data packet; The recovery module is used to assign the parameter value as the running status data to the desktop graphical interface application so that the desktop graphical interface application is restored to the state of the graphical user interface screenshot.