Unlock instant, AI-driven research and patent intelligence for your innovation.

Picture-based logout request method and device, electronic equipment and storage medium

A picture and access request technology, applied in the Internet field, can solve problems such as poor code maintenance, IE browser compatibility problems, code redundancy, etc., and achieve the effect of no browser compatibility problems

Pending Publication Date: 2022-03-01
挂号网(杭州)科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing solution for requesting logout has the following problems: Using the first solution will cause code redundancy. Currently, it is a packaged and formed framework, and the code is not easy to maintain with native implementation. There are compatibility issues with lower versions of IE browsers. ; Although the amount of code is reduced by using the second solution, there are also codes that reference libraries, which still cannot achieve the ultimate

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Picture-based logout request method and device, electronic equipment and storage medium
  • Picture-based logout request method and device, electronic equipment and storage medium
  • Picture-based logout request method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.

[0038] Like numbers and letters denote similar items in the following figures, so that once an item is defined in one figure, it does not require further definition and explanation in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second" and the like are only used to distinguish descriptions, and cannot be understood as indicating or implying relative importance.

[0039] In this application, when the user requests logout based on the image object, the client first creates the image object by responding to the image object creation request; then the client sets the attribute of the image object as the logout interface address; The interface address sends an access request to the server; finally, the client parses the data returned by the server bas...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a picture-based logout request method and device, electronic equipment and a storage medium, and the method comprises the steps: creating a picture object in response to a picture object creation request; setting the attribute of the picture object as a logout interface address; sending an access request to a server according to the logout interface address; and analyzing data returned by the server based on the access request, and analyzing unsuccessful triggering of a callback function to realize logout. According to the method and the device, the operation is simple, the logout request interface is realized without redundant codes or introduction of a third-party library, the logout is realized, the browser compatibility problem is avoided, and some page jumping and other operations can be carried out after the logout.

Description

technical field [0001] The present application relates to the Internet field, in particular to a method and device for requesting logout based on pictures, electronic equipment, and storage media. Background technique [0002] The XMLHttpRequest object is used to interact with the server. Through the XMLHttpRequest, you can request a specific URL and obtain data without refreshing the page, where the URL is a uniform resource locator, also known as a web page address, which is the address of a standard resource on the Internet. There are two existing solutions for requesting logout: the first is to create a native XMLHttpRequest object, request the logout interface, and implement logout; the second is to use a third-party library, such as axios request logout interface, to implement logout . The existing solution for requesting logout has the following problems: Using the first solution will cause code redundancy. Currently, it is a packaged and formed framework, and the c...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/955G06F16/958
CPCG06F16/955G06F16/972
Inventor 李奇诺
Owner 挂号网(杭州)科技有限公司