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

Information sharing method and system, client and server

An information sharing and client-side technology, applied in the computer field, which can solve the problem that QR codes cannot transmit complex parameters.

Active Publication Date: 2019-10-08
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This disclosure provides an information sharing method and system, a client and a server to at least solve the problem in the related art that the QR code of the applet cannot transmit complex parameters due to the limited length of scene parameters

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
  • Information sharing method and system, client and server
  • Information sharing method and system, client and server
  • Information sharing method and system, client and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0153] see Figure 14 , the overall process of information sharing provided by Embodiment 1 of the present disclosure is as follows:

[0154] S601. The first client acquires sharing parameters of the target page of the mini-program to be shared;

[0155] S602. The first client sends a sharing message carrying the sharing parameter to the server;

[0156] S603. The server generates a first identifier of the sharing parameter, and stores a correspondence between the first identifier and the sharing parameter;

[0157] S604. The server uses the first identifier as a scene parameter, and calls the mini-program QR code generation interface based on the scene parameter to generate the mini-program QR code;

[0158] S605. The server returns the two-dimensional code to the first client;

[0159] S606. The first client shares the two-dimensional code, that is, sends the two-dimensional code to the second client;

[0160] S607. The second client scans the two-dimensional code to obt...

Embodiment 2

[0166] see Figure 15 , the overall process of information sharing provided by Embodiment 2 of the present disclosure is as follows:

[0167] S701. The first client acquires sharing parameters of the target page of the mini-program to be shared;

[0168] S702. The first client sends a sharing message carrying the sharing parameter to the server;

[0169] S703. The server generates a first identifier of the sharing parameter, and stores a correspondence between the first identifier and the sharing parameter;

[0170] S704. The server encodes the first identifier to obtain a second identifier with a shorter length as a scene parameter;

[0171] S705. The server calls the applet QR code generation interface based on the scene parameter to generate the applet QR code;

[0172] S706. The server returns the two-dimensional code to the first client;

[0173] S707. The first client shares the two-dimensional code, that is, sends the two-dimensional code to the second client;

[0...

Embodiment 3

[0181] see Figure 16 , the overall process of information sharing provided by Embodiment 3 of the present disclosure is as follows:

[0182] S801. The first client acquires sharing parameters of the target page of the mini-program to be shared;

[0183] S802. The first client sends a sharing message carrying the sharing parameter to the server;

[0184] S803. The server generates a first identifier of the sharing parameter, and stores a correspondence between the first identifier and the sharing parameter;

[0185] S804. The server encodes the first identifier to obtain a second identifier with a shorter length as a scene parameter;

[0186] S805. The server calls the applet QR code generation interface based on the scene parameter to generate the applet QR code;

[0187] S806. The server returns the two-dimensional code to the first client;

[0188] S807. The first client shares the two-dimensional code, that is, sends the two-dimensional code to the second client;

[018...

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 relates to an information sharing method and system, a client and a server. The information sharing method is used for solving the problem that in the prior art, due to the fact that thelength of score parameters is limited, a two-dimensional code of a small program cannot transmit complex parameters. The information sharing method comprises: receiving sharing information sent by afirst client side, wherein the sharing information comprises sharing parameters of a to-be-shared small program target page; generating a first identifier of the sharing parameter; determining a scenescore parameter according to the first identifier, and calling a mini-program two-dimensional code generation interface based on the score parameter to generate a two-dimensional code of the mini-program; and returning the two-dimensional code to the first client, wherein the two-dimensional code is used for sharing.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular to an information sharing method and system, a client and a server. Background technique [0002] A small program is an application that can be used without downloading. It does not need to be installed and downloaded. The user can scan or search to open the small program and run the small program. In the process of scanning the QR code through the application software (for example, WeChat) to run the applet, you first need to generate a QR code for the applet. The attributes passed by the QR code are mainly page path (page) and scene (scene) parameters , where page is the path of the applet page entered after scanning the code (such as pages / index / index), and the scene parameter is the parameter placed in the scene field. After scanning the QR code to enter the applet, open the corresponding page through page. Display the content of the page through the scene parame...

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
IPC IPC(8): H04L29/08G06K7/14
CPCG06K7/1417H04L67/56
Inventor 刘正阳
Owner BEIJING DAJIA INTERNET INFORMATION TECH CO LTD