CN115455318A - Sharing method and device based on application applet - Google Patents

Sharing method and device based on application applet Download PDF

Info

Publication number
CN115455318A
CN115455318A CN202211078463.0A CN202211078463A CN115455318A CN 115455318 A CN115455318 A CN 115455318A CN 202211078463 A CN202211078463 A CN 202211078463A CN 115455318 A CN115455318 A CN 115455318A
Authority
CN
China
Prior art keywords
sharing
user
server
applet
shared
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211078463.0A
Other languages
Chinese (zh)
Inventor
于杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Shangyin Microchip Technology Co ltd
Original Assignee
Beijing Shangyin Microchip 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 Beijing Shangyin Microchip Technology Co ltd filed Critical Beijing Shangyin Microchip Technology Co ltd
Priority to CN202211078463.0A priority Critical patent/CN115455318A/en
Publication of CN115455318A publication Critical patent/CN115455318A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9554Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioethics (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Medical Informatics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a sharing method and device based on an applet, and the method comprises the following steps: the method comprises the steps that a server receives a poster request sent by a sharing client through an application applet, wherein the poster request comprises user attributes of a current user; the server judges whether the current user generates an undersize program code or not according to the user attribute; if the current user does not generate the small program code, the server generates the small program code and stores the small program code into a file service; and the server sends the applet code to the sharing client, so that the sharing client draws a sharing poster according to the applet code and sends the sharing poster to the sharing client to be shared. By means of the scheme, independent poster sharing based on the application applet can be achieved.

Description

Sharing method and device based on application applet
Technical Field
The present application relates to the field of computer technologies, and in particular, to a sharing method and apparatus based on an applet.
Background
In the mobile internet era, most applications design social platform sharing function and fission playing method suitable for the applications, because the social platform sharing function and fission playing method is the most effective means for promoting new lives and spreading and distributing contents. WeChat is the most popular social platform in the market today, breaking 10 hundred million daily lives. Since 2017, weChat small programs are online, a large number of users are attracted by the characteristic that the small programs can be used without installation, and application scenes are more and more extensive.
The existing sharing method is realized based on the official sharing function of an application program, and a specific scheme based on independent sharing of applets is not provided.
Disclosure of Invention
In view of this, an embodiment of the present application provides a sharing method and apparatus based on an applet, which are used to implement autonomous sharing based on the applet, and the technical solution is as follows:
in a first aspect, an embodiment of the present application provides an application applet-based sharing method, including:
the method comprises the steps that a server receives a poster request sent by a sharing client through an application applet, wherein the poster request comprises user attributes of a current user;
the server judges whether the current user generates an undersize program code or not according to the user attribute;
if the current user does not generate the applet codes, the server generates the applet codes and stores the applet codes into file service;
and the server sends the applet code to the sharing client, so that the sharing client draws a sharing poster according to the applet code and sends the sharing poster to the shared client.
Optionally, if the current user generates the applet code, the server obtains the applet code dedicated to the current user from the file service.
Optionally, the sharing poster is used by the shared client to enable the shared client to enter the applet by scanning the sharing poster.
Optionally, the server receives a sharing request of the sharing client through the applet, where the sharing request includes a user attribute of the current user;
the server generates sharing information according to the user attribute of the current user;
and the server side sends the sharing information to the sharing client side, so that the sharing client side sends the sharing information to the shared client side.
Optionally, the sharing information includes a sharing link;
the sharing link comprises a title, sharing description information, a jumping path carrying the user attribute and a sharing picture.
Optionally, the server receives a registration request of the shared client, where the registration request is a registration request sent to the server by the shared client after scanning the sharing poster to enter the applet, and the registration request includes a user attribute of the shared user;
when the shared client finishes registering, the server stores the user attribute of the shared user;
the server side acquires the user attribute of the current user according to the applet code;
the server associates the user attribute of the shared user with the user attribute of the current user;
and the server increases the integral value of the current user in the integral table by a preset value.
Optionally, the server determines whether the shared client sends answer information to the server for the first time in a preset time period;
and if the shared client does not send answer information to the server for the first time in a preset time period, the server increases the integral value of the shared user in the integral table by a preset value.
Optionally, if the shared client sends answer information to the server for the first time in a preset time period, the server determines whether a shared user corresponding to the shared client is an associated user;
if the shared user is the associated user, the server side obtains the associated user attribute of the current user according to the user attribute of the shared user;
the server increases the integral value of the shared user in the integral table by a preset value;
and the server increases the integral value of the current user in the integral table by a preset value.
On the other hand, an embodiment of the present application provides a sharing device based on an applet, the device includes: the device comprises a receiving module, a judging module, a processing module and a sending module;
the receiving module is used for the server to receive a poster request sent by the sharing client through the application applet, wherein the poster request comprises the user attribute of the current user;
the judging module is used for judging whether the current user generates an undersize program code or not by the server side through the user attribute;
the processing module is used for generating the applet codes by the server side and storing the applet codes into a file service if the applet codes are not generated by the current user;
the sending module is used for sending the applet codes to the sharing client by the server, so that the sharing client draws the sharing poster according to the applet codes and sends the sharing poster to the sharing client to be shared.
Optionally, the processing module is further configured to, if the current user generates the applet code, the server side obtains the applet code dedicated to the current user from the file service.
Optionally, the receiving module is further configured to receive, by the server, a sharing request of the sharing client through the applet, where the sharing request includes a user attribute of the current user;
the processing module is further configured to generate, by the server, shared information according to the user attribute of the current user;
the sending module is further configured to send the sharing information to the sharing client by the server, so that the sharing client sends the sharing information to the shared client.
Optionally, the receiving module is further configured to receive, by the server, a registration request of the shared client, where the registration request is a registration request sent to the server by the shared client after the shared client enters the applet by scanning the sharing poster, and the registration request includes a user attribute of the shared user;
the processing module is further configured to store, by the server, the user attribute of the shared user when the shared client completes registration;
the processing module is further used for the server to acquire the user attribute of the current user according to the applet code;
the processing module is further configured to associate, by the server, the user attribute of the shared user with the user attribute of the current user;
the processing module is further configured to increase, by the server, the integral value of the current user in the integral table by a preset value.
Optionally, the determining module is further configured to determine, by the server, whether the shared client sends answer information to the server for the first time in a preset time period;
the processing module is further configured to, if the shared client does not send answer information to the server for the first time in a preset time period, increase, by the server, the integral value of the shared user in the score table by a preset value.
Optionally, the determining module is further configured to determine, by the server, whether the shared user is an associated user if the shared client sends answer information to the server for the first time in a preset time period;
the processing module is further configured to, if the shared user is an associated user, obtain, by the server, a user attribute of the associated current user according to the user attribute of the shared user;
the processing module is further configured to increase, by the server, the integral value of the shared user in the integral table by a preset value;
the processing module is further configured to increase, by the server, the integral value of the current user in the integral table by a preset value.
According to the technical scheme, the sharing method based on the application applet comprises the following steps: the method comprises the steps that a server receives a poster request sent by a sharing client through an applet, wherein the poster request comprises user attributes of a current user; the server judges whether the current user generates an undersize program code or not according to the user attribute; if the current user does not generate the small program code, the server generates the small program code and stores the small program code into a file service; and the server sends the applet codes to the sharing client, so that the sharing client draws the sharing poster according to the applet codes and sends the sharing poster to the sharing client to be shared. Through the technical scheme, poster sharing based on the application applet can be achieved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the description below are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart illustrating a sharing method based on an applet according to an embodiment of the present disclosure;
fig. 2 is a schematic view of an exemplary application scenario of a sharing method based on an applet according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another sharing method based on an applet according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of another sharing method based on an applet according to an embodiment of the present disclosure;
fig. 5 is a schematic flowchart of another sharing method based on an applet according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a sharing device based on an applet according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of user information and associated introducer information provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a sharing method based on an applet, which is used for realizing the autonomous sharing of the applet.
Referring to fig. 1, a flowchart of a sharing method based on an applet is shown according to an embodiment of the present disclosure. The sharing method based on the application applet, provided by the embodiment of the application, can be implemented through the following steps S101 to S104, for example.
S101: and the server receives a poster request sent by the sharing client through the application applet.
The method comprises the steps that a server receives a poster request sent by a sharing client through an application applet, the poster request is sent to the server after a current user clicks in the application applet to generate a poster, and the poster request comprises user attributes of the current user corresponding to the sharing client.
S102: the server judges whether the current user generates an undersize program code or not according to the user attribute;
specifically, the server judges whether the user generates the applet code according to the user attribute of the current user in the poster request.
S103: and if the current user does not generate the small program code, the server generates the small program code and stores the small program code into the file service.
Specifically, after the server side judges that the current user does not generate the applet code, the server side generates the applet code according to the user attribute of the current user and stores the applet code in the file service of the server side.
Specifically, after the server judges that the current user generates the applet code, the server acquires the applet code specific to the current user from the file service of the server according to the user attribute of the current user.
S104: the server sends the applet codes to the sharing client, and the sharing client can draw the sharing poster according to the applet codes.
Specifically, the server sends the generated applet codes to the sharing client, and the sharing client can draw the sharing poster according to the applet codes. The sharing client can send the sharing poster to the shared client.
Specifically, the sharing poster is used for the shared client to enter the applet through scanning the sharing poster.
Please refer to fig. 2, which is a flowchart illustrating an exemplary application scenario of a sharing method based on an applet according to an embodiment of the present disclosure. As shown in fig. 2, the embodiment of the present application can be implemented by S201-S208.
And after entering the WeChat applet, the user signs a privacy protocol and authorizes the application applet to obtain the user attribute of the user.
S201: the user clicks the generate poster button.
Specifically, a poster button is generated in the interactive page setting of the WeChat applet, and after a user clicks the poster button, the user jumps to the poster page drawing.
S202: and uploading the user attributes to the server.
Specifically, the client uploads a personal unique identifier (openid) of the user to the server.
S203: whether the user has generated proprietary applet code.
Specifically, the server side judges whether the user generates a dedicated applet code or not through the openid of the user. If the current user has generated the dedicated applet code, go to step S204; if the current user has not generated the dedicated applet code, go to step S205.
S204: and acquiring the special applet code of the user from the file service.
Specifically, the server obtains the applet code dedicated to the user from the file service of the server according to the openid of the user. The process advances to step S207.
S205: and generating the small program code.
Specifically, the server generates an applet code according to the user attribute of the user.
S206: to the file service.
Specifically, the server stores the generated applet codes into a file service. And subsequently, if the user clicks the poster generating button again, the server can acquire the special applet code of the user in the file service according to the openid of the user.
Specifically, the server can generate a permanently effective applet code carrying the user openid through a calling applet code (getUnlimited) of the WeChat service.
Specifically, the server associates the storage path of the applet code with the openid of the user.
S207: and returning the applet codes to the client.
Specifically, the server sends the obtained applet code to the client.
S208: and drawing the sharing poster by the client.
Specifically, the client draws the background, the identity information, and the applet code into a poster through a canvas (canvas) instance.
Specifically, the user can share the poster to the shared user by adopting a method including but not limited to: the user saves the poster screenshot and sends a friend circle; the user directly saves the poster to the photo album by authorizing the storage authority.
In the embodiment of the application, a user can independently share the application applet carrying user information through the poster generating button built in the application applet.
Referring to fig. 3, a schematic flow chart of another sharing method based on an applet according to an embodiment of the present disclosure is shown. The sharing method based on the applet, provided by the embodiment of the application, can be realized through the following steps S301 to S303.
S301: the user clicks the share button.
Specifically, a sharing button is arranged on an interactive page of the WeChat applet, an open-type attribute of the sharing button is set as share, and a sharing link function (onShareAppMessage) can be triggered after a user clicks. By the setting method, the onShareAppMessages of other pages can be shielded, and a user can be ensured to finish sharing operation only through an interactive page.
Specifically, the server receives a sharing request sent by the client, where the sharing request includes a user attribute of the user.
S302: and adding the user attribute to generate a sharing message.
Specifically, the server generates a sharing message according to the user attribute of the user.
Specifically, a title, a sharing description, a jump path carrying personal information, and a sharing map are added in the sharing method to generate sharing information.
Specifically, the sharing information includes a sharing link, and the sharing link includes a title, sharing description information, a jump path carrying a user attribute, and a sharing picture.
S303: and sending the sharing information.
Specifically, the server sends the sharing information to the client.
Specifically, the user can send the sharing information to the shared user, and the adopted method includes but is not limited to: and sharing the information to the WeChat friends in a link mode.
Referring to fig. 4, a schematic flow chart of another sharing method based on an applet according to an embodiment of the present disclosure is shown. The sharing method based on the application applet, provided by the embodiment of the application, can be realized through the following steps S401 to S405.
The shared user enters the applet by scanning the shared poster or the shared information.
S401: and the server receives a registration request of the shared client.
Specifically, the registration request is sent to the server after the shared client enters the applet through scanning the shared poster or the shared information, and the registration request includes the user attribute of the shared user.
S402: and when the shared client finishes registering, the server stores the user attribute of the shared user.
Specifically, the server receives a registration request of the shared client, completes registration for the shared client, and stores the user attribute of the shared user.
S403: and the server acquires the user attribute of the current user according to the applet code.
Specifically, the server can obtain attribute information of the current user, namely attribute information of the introducer, according to the applet codes in the shared poster.
S404: and the server associates the user attribute of the shared user with the user attribute of the current user.
Specifically, when the shared user completes registration, an association relationship is established between the user attribute of the shared user and the user attribute of the introducer, and the association relationship is stored in the user information table.
Specifically, a user information table is designed, and the table comprises a head portrait, a mobile phone number, a user nickname, a gender, openid, an introduction person openid, an address, final use time, a device type and the like. The shared user can enter the applet by clicking the shared information of the introducer or scanning the shared poster, the introducer information (such as openid) in the current page path can be acquired from the parameters of the life cycle function (onLoad) of the WeChat applet, the openid is stored in the current user information, and an association relationship is established with the openid of the shared user, wherein the association relationship is shown in FIG. 7.
S405: and the server increases the integral value of the current user in the integral table by a preset value.
Specifically, after the association relationship is established, the server increases the score of the current user in the score table by a preset value.
Specifically, for example, the integral value introduced to a person in the integral table can be increased by 10 points.
Referring to fig. 5, a schematic flow chart of another sharing method based on an applet according to an embodiment of the present disclosure is shown. The sharing method based on the applet, provided by the embodiment of the application, can be implemented through the following steps S501 to S506.
The first answer of the user will give a score to the introducers of the user every day.
S501: the shared users complete answering in the small program.
Specifically, the shared user completes the answering task in the WeChat applet, the shared client corresponding to the user sends answering information to the server, and the server receives the answering information.
S502: the server side judges whether the shared client side sends answer information to the server side for the first time in a preset time period.
Specifically, the server side judges whether to receive the answer information of the shared client side for the first time within a preset time period according to the answer information sent by the shared client side.
Specifically, the server determines whether to receive the answer message of the client for the first time today. If the answer information of the client is not received for the first time, step S503 is entered; if the answer information of the client is received for the first time, the process proceeds to step S504.
S503: and the server increases the integral value of the shared user in the integral table by a preset value.
Specifically, the server increases the integral value of the shared user corresponding to the shared client in the integral table by a preset value, and ends the process. For example, the value of the credit of the shared user is increased by 10 points.
S504: the server side judges whether the shared user corresponding to the shared client side is an associated user.
Specifically, the server searches the sharing user in the user information table, and judges that the introducer information is empty. If the introducer information is empty, go to step S503; if the introducer information is not empty, the flow proceeds to step S505.
Specifically, the server searches for an introducer openid of the user in the user information table, and if the introducer openid is empty, the step S503 is performed; if the introduction person openid is not empty, the process proceeds to step S505.
S505: and the server side obtains the associated user attribute of the current user according to the user attribute of the shared user.
Specifically, if the shared user is an associated user, that is, the introducer information is not empty, the server obtains the user attribute of the associated current user according to the user attribute of the shared user.
S506: and the server increases a preset value for the integral value of the shared user and the current user.
The server increases the integral value of the shared user in the integral table by a preset value, and the server increases the integral value of the current user in the integral table by the preset value.
Specifically, the server increases the integral value of the user in the point table by 10 points, and increases the integral value of the introducer in the point table by 5 points.
By the embodiment, the user can conveniently share the sharing information or the applet code carrying the encrypted identity information to own friends, and the friends can form a superior-subordinate incidence relation after joining the program. The superior can complete the task by itself or encourage the subordinate to complete the task bonus, and the subordinate can complete the task by itself or continue to pull new bonus. The fission bonus playing method matched with the sharing method can be realized, and operators can quickly and efficiently complete the tasks of reviving and promoting activities through the scheme.
As shown in fig. 6, an embodiment of a sharing device based on an applet provided in an embodiment of the present application includes: a receiving module 601, a judging module 602, a processing module 603 and a sending module 604;
the receiving module 601 is used for the server to receive a poster request sent by the sharing client through the applet, wherein the poster request comprises the user attribute of the current user;
the judging module 602 is configured to judge, by the server, whether the current user generates an undersize program code according to the user attribute;
the processing module 603 is configured to, if the current user does not generate the applet code, generate the applet code by the server and store the applet code in the file service;
the sending module 604 is configured to send the applet code to the sharing client by the server, so that the sharing client draws the sharing poster according to the applet code and sends the sharing poster to the sharing client to be shared.
In a possible embodiment, the processing module 603 is configured to, if the current user generates the applet, the server side obtains the applet dedicated to the current user from the file service.
In a possible embodiment, the receiving module 601 is configured to receive, by a server, a sharing request of a sharing client through an applet, where the sharing request includes a user attribute of a current user;
the processing module 603 is configured to generate, by the server, shared information according to the user attribute of the current user;
the sending module 604 is configured to send the sharing information to the sharing client by the server, so that the sharing client sends the sharing information to the shared client.
In a possible embodiment, the receiving module 601 is configured to receive, by a server, a registration request of a shared client, where the registration request is a registration request sent to the server after the shared client enters an applet by scanning a sharing poster, and the registration request includes a user attribute of a shared user;
the processing module 603 is configured to, when the shared client completes registration, store the user attribute of the shared user in the server;
the processing module 603 is further configured to obtain, by the server, the user attribute of the current user according to the applet code;
the processing module 603 is further configured to associate, by the server, the user attribute of the shared user with the user attribute of the current user;
the processing module 603 is further configured to increase, by the server, the integral value of the current user in the integral table by a preset value.
In a possible embodiment, the determining module 602 is configured to determine, by the server, whether the shared client sends answer information to the server for the first time in a preset time period;
the processing module 603 is further configured to, if the shared client sends the answer information to the server for the second time in the preset time period, increase, by the server, the integral value of the shared user in the integral table by a preset value.
In a possible embodiment, the determining module 602 is configured to determine, by the server, whether the shared user is an associated user, if the shared client sends answer information to the server for the first time in a preset time period;
the processing module 603 is configured to, if the shared user is an associated user, obtain, by the server, a user attribute of the associated current user according to the user attribute of the shared user;
the processing module 603 is further configured to increase, by the server, the integral value of the shared user in the integral table by a preset value;
the processing module 603 is further configured to increase, by the server, the integral value of the current user in the integral table by a preset value.
It should be noted that, since the sharing device based on the application applet is based on the same concept as the method embodiment shown in fig. 1 to fig. 5 of the present application, the technical effect thereof is the same as the method embodiment of the present application, and specific contents thereof can be referred to the description of the method embodiment shown in fig. 2 of the present application, and are not repeated herein.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is only a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Those skilled in the art will recognize that, in one or more of the examples described above, the services described in this disclosure may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the services may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above embodiments are intended to explain the objects, aspects and advantages of the present invention in further detail, and it should be understood that the above embodiments are merely illustrative of the present invention.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. An applet-based sharing method, the method comprising:
the method comprises the steps that a server receives a poster request sent by a sharing client through an application applet, wherein the poster request comprises user attributes of a current user;
the server judges whether the current user generates an undersize program code or not according to the user attribute;
if the current user does not generate the applet code, the server generates the applet code and stores the applet code into a file service;
and the server sends the applet codes to the sharing client, so that the sharing client draws the sharing poster according to the applet codes and sends the sharing poster to the shared client.
2. The method of claim 1, further comprising:
and if the current user generates the applet codes, the server side acquires the applet codes exclusive to the current user from the file service.
3. The method of any of claims 1-2, wherein the sharing poster for the shared client is capable of entering the applet by scanning the sharing poster.
4. The method of claim 1, further comprising:
the server receives a sharing request of the sharing client through the applet, wherein the sharing request comprises the user attribute of the current user;
the server generates sharing information according to the user attribute of the current user;
and the server side sends the sharing information to the sharing client side, so that the sharing client side sends the sharing information to the shared client side.
5. The method of claim 4, wherein the shared information comprises a sharing link;
the sharing link comprises a title, sharing description information, a jumping path carrying the user attribute and a sharing picture.
6. The method of claim 1, further comprising:
the server receives a registration request of the shared client, wherein the registration request is sent to the server after the shared client enters the applet through scanning the sharing poster, and the registration request comprises the user attribute of the shared user;
when the shared client finishes registering, the server stores the user attribute of the shared user;
the server side acquires the user attribute of the current user according to the applet code;
the server associates the user attribute of the shared user with the user attribute of the current user;
and the server increases the integral value of the current user in the integral table by a preset value.
7. The method of claim 6, further comprising:
the server side judges whether the shared client side sends answer information to the server side for the first time in a preset time period;
and if the shared client does not send answer information to the server for the first time in a preset time period, the server increases the integral value of the shared user in the integral table by a preset value.
8. The method of claim 7, further comprising:
if the shared client sends answer information to the server for the first time in a preset time period, the server judges whether a shared user corresponding to the shared client is an associated user;
if the shared user is the associated user, the server side obtains the associated user attribute of the current user according to the user attribute of the shared user;
the server increases the integral value of the shared user in the integral table by a preset value;
and the server increases the integral value of the current user in the integral table by a preset value.
9. An applet-based sharing apparatus, the apparatus comprising: the device comprises a receiving module, a judging module, a processing module and a sending module;
the receiving module is used for the server to receive a poster request sent by the sharing client through the application applet, wherein the poster request comprises the user attribute of the current user;
the judging module is used for judging whether the current user generates an undersize program code or not by the server side through the user attribute;
the processing module is used for generating the applet codes by the server side and storing the applet codes into a file service if the applet codes are not generated by the current user;
the sending module is used for sending the applet codes to the sharing client by the server, so that the sharing client draws the sharing poster according to the applet codes and sends the sharing poster to the sharing client to be shared.
10. The apparatus of claim 9, wherein the processing module is further configured to obtain, by the server, the applet code specific to the current user from the file service if the applet code was generated by the current user.
CN202211078463.0A 2022-09-05 2022-09-05 Sharing method and device based on application applet Pending CN115455318A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211078463.0A CN115455318A (en) 2022-09-05 2022-09-05 Sharing method and device based on application applet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211078463.0A CN115455318A (en) 2022-09-05 2022-09-05 Sharing method and device based on application applet

Publications (1)

Publication Number Publication Date
CN115455318A true CN115455318A (en) 2022-12-09

Family

ID=84303616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211078463.0A Pending CN115455318A (en) 2022-09-05 2022-09-05 Sharing method and device based on application applet

Country Status (1)

Country Link
CN (1) CN115455318A (en)

Similar Documents

Publication Publication Date Title
US10065119B2 (en) Game accessing method and processing method, server, terminal, and system
CN105530175B (en) Message processing method, device and system
US10326715B2 (en) System and method for updating information in an instant messaging application
US9380264B1 (en) System and method for video communication
RU2589327C2 (en) Method and device for sending message to user or users of group through microblog
US9686329B2 (en) Method and apparatus for displaying webcast rooms
US9432425B2 (en) Method and system for downloading content
US9800628B2 (en) System and method for tagging images in a social network
US9825929B2 (en) Systems and methods for importing relation chain and providing contact information
CN111160976A (en) Resource allocation method, device, electronic equipment and storage medium
WO2014183427A1 (en) Method and apparatus for displaying webcast rooms
CN106487655B (en) Message interaction method and device and processing server
CN111130986B (en) Message sending method, device, equipment and storage medium
US20110197148A1 (en) Apparatus and method for providing network community service
CN110971984B (en) Wheat connecting method, device, system, equipment and storage medium
CN110300046B (en) Business consultation control method, terminal and server
WO2014176896A1 (en) System and method for updating information in an instant messaging application
US9906485B1 (en) Apparatus and method for coordinating live computer network events
US20140089403A1 (en) System and Method for Qualifying and Targeting Communications using Social Relationships
CN113946739A (en) Sensitive data query method, device, equipment and storage medium
US20140287787A1 (en) Connection System and Method to Dynamically Create and Collect a Group of Contextual Contacts
CN115455318A (en) Sharing method and device based on application applet
KR20160042399A (en) Creating a contact list and pre-populated user accounts
US20100180323A1 (en) Stateful server based social networking using mobile devices
CN104618594B (en) A kind of information processing method and electronic equipment

Legal Events

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