Sharing panel generation method and device and electronic equipment
By interacting between the client and the web page front-end, dynamically generating a sharing panel, the problem of inflexible sharing panel configuration in the existing technology is solved, and efficient sharing panel generation is achieved that adapts to different application scenarios and user needs.
Patent Information
- Application Number
- CN202411846397.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-05-13
AI Technical Summary
The existing technology cannot provide flexible sharing panel configuration in different application scenarios, and cannot meet the richer sharing panel needs.
By interacting between the client and the web page front-end, a request carrying the sharing panel setting parameters is generated in response to user sharing operations, a sharing panel framework is initialized and generated, and a sharing panel that is suitable for different scenarios is generated according to the setting parameters.
It realizes dynamic generation of sharing panels based on different application scenarios and user needs, improves the flexibility and adaptability of sharing panels, and meets diverse sharing needs.
Smart Images

Figure CN119996391A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of application software, and in particular to the technical field of generation of sharing panels. Background Art
[0002] Currently, when users use the client of an application, they often need to share page information, for example, they need to share a file page in a network disk client, and share an activity page in a shopping software client. Usually, after the user clicks the share button, a share panel will be called up in the user interface. The user clicks the share panel to share the page information to be shared to the corresponding sharing destination.
[0003] Different application scenarios require different forms of sharing panels. The current method is to pre-configure fixed and different sharing panels for different activity scenarios and provide them to the web front end for display to users. However, this configuration method is not flexible enough and cannot adapt to more diverse needs for sharing panels. Summary of the invention
[0004] The present disclosure provides a method, device, and electronic device for generating a sharing panel for solving at least one of the above-mentioned technical problems.
[0005] According to one aspect of the present disclosure, a method for generating a sharing panel is provided, wherein the method is applied on a client and comprises:
[0006] In response to a sharing panel generation request generated based on a user sharing operation and sent by a webpage front end, a sharing panel framework is initialized; wherein the sharing panel generation request carries sharing panel setting parameters;
[0007] According to the sharing panel setting parameters, the sharing panel frame is generated as a sharing panel, and the sharing panel is returned to the webpage front end;
[0008] Wherein, the web front end is configured to receive and display the sharing panel.
[0009] According to one aspect of the present disclosure, a method for generating a sharing panel is provided, wherein the method is applied to a web page front end, and the method includes:
[0010] A sharing panel generation request carrying sharing panel setting parameters is generated based on a user sharing operation, and sent to a client, wherein the client is configured to initialize a sharing panel framework in response to the received sharing panel generation request; generate the sharing panel framework into a sharing panel according to the sharing panel setting parameters, and return the sharing panel to the webpage front end;
[0011] The sharing panel is received and displayed.
[0012] According to one aspect of the present disclosure, a device for generating a sharing panel is provided, wherein the device includes:
[0013] An initialization module, configured to initialize a sharing panel framework in response to a sharing panel generation request sent by a webpage front end and generated based on a user sharing operation; wherein the sharing panel generation request carries sharing panel setting parameters;
[0014] A generating module, configured to generate the sharing panel frame into a sharing panel according to the sharing panel setting parameters, and return the sharing panel to the webpage front end;
[0015] Wherein, the web front end is configured to receive and display the sharing panel.
[0016] According to another aspect of the present disclosure, a device for generating a sharing panel is provided, wherein the device includes:
[0017] A sending module, configured to generate a sharing panel generation request carrying sharing panel setting parameters based on a user sharing operation, and send the request to a client, wherein the client is configured to initialize a sharing panel framework in response to the received sharing panel generation request; generate the sharing panel framework into a sharing panel according to the sharing panel setting parameters, and return the sharing panel to the webpage front end;
[0018] The receiving module is used to receive and display the sharing panel.
[0019] According to another aspect of the present disclosure, there is provided an electronic device, comprising:
[0020] at least one processor; and
[0021] a memory communicatively connected to the at least one processor; wherein,
[0022] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the above method.
[0023] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the above method.
[0024] According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein the computer program implements the above method when executed by a processor.
[0025] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0027] Figure 1 is a flowchart of a method for generating a sharing panel provided in the first embodiment of the present disclosure;
[0028] Figure 2 is a data flow diagram of a method for generating a sharing panel disclosed in the present invention;
[0029] Figure 3 is a flowchart of a method for generating a sharing panel provided in the second embodiment of the present disclosure;
[0030] Figure 4 is one of the exemplary flow charts of S203;
[0031] Figure 5 This is a second exemplary flow chart of S203;
[0032] Figure 6 This is a third exemplary flow chart of S203;
[0033] Figure 7 is an exemplary flow chart of S203b1;
[0034] Figure 8 This is a fourth exemplary flow chart of S203;
[0035] Fig. 9 is a panel diagram of an exemplary sharing panel;
[0036] Fig.10 is a flowchart of a method for generating a sharing panel provided in the third embodiment of the present disclosure;
[0037] Fig.11 is a flowchart of another method for generating a sharing panel provided in the third embodiment of the present disclosure;
[0038] Fig.12 is a structural schematic diagram of a device for generating a sharing panel provided in a fourth embodiment of the present disclosure;
[0039] Fig.13 is a structural schematic diagram of a device for generating a sharing panel provided in a fifth embodiment of the present disclosure;
[0040] Fig.14 The block diagram is a block diagram of an electronic device for implementing the method of the embodiment of the present disclosure. DETAILED DESCRIPTION
[0041] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0042] In the absence of conflict, the various embodiments of the present disclosure and the various features therein may be combined with each other.
[0043] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.
[0044] The terminology used herein is for describing particular embodiments only and is not intended to limit the present disclosure.As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
[0045] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted as having an idealized or overly formal meaning unless explicitly defined as such herein.
[0046] The method for generating a sharing panel according to the present disclosure can be executed by an electronic device such as a terminal device or a server, and the terminal device can be a vehicle-mounted device, a display device (User Equipment, UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (Personal Digital Assistant, PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. The method can be implemented by a processor calling a computer-readable program instruction stored in a memory. Alternatively, the method for generating a sharing panel provided by the present disclosure can be executed by a server.
[0047] In the first embodiment disclosed, see Figure 1 , Figure 1 A flow chart of a method for generating a sharing panel provided in the first embodiment of the present disclosure is shown. The method includes:
[0048] S101, in response to a sharing panel generation request generated based on a user sharing operation and sent by a web front end, initializing a sharing panel framework, wherein the sharing panel generation request carries sharing panel setting parameters.
[0049] S102: Generate a sharing panel frame as a sharing panel according to sharing panel setting parameters, and return the sharing panel to the web page front end.
[0050] The web front end is configured to receive and display the sharing panel.
[0051] The function of the sharing panel is: the user can share the page to be shared to the corresponding sharing destination by operating the sharing panel.
[0052] The sharing destination is the destination for receiving the page to be shared, which can be within the client or other clients. For example: the dialog interface of the user's friends within the client; jump to other clients, etc., which are not limited here.
[0053] The sharing panel setting parameters represent the parameters that can configure the sharing panel, including but not limited to any of the following: parameters for configuring the style of the sharing panel, parameters for configuring the functions of the sharing panel, etc., which are not limited here. In different application scenarios, each web front end can configure the sharing panel setting parameters corresponding to the page to be shared on the web front end according to the scenario requirements, so that when the user wants to share the page to be shared, the client obtains the corresponding sharing panel setting parameters from the web front end, and then generates a sharing panel that meets the requirements of the page to be shared based on the sharing panel setting parameters, and sends it to the web front end, thereby achieving flexibility in sharing panel configuration.
[0054] The user sharing operation is an operation generated by the user through interactive behavior on the page to be shared on the web front end. The purpose of the user sharing operation is to share the page to be shared, for example, clicking the interactive component of sharing on the page to be shared. In some cases, the user can also generate a user sharing operation through the client by clicking on the sharing interactive component of the client. The client then sends the user sharing operation to the web front end. In response to the user sharing operation, the web front end generates a sharing panel generation request carrying the sharing panel setting parameters, which is not limited here.
[0055] It should be noted that in the application scenario of the present application, the client can be a client of an application program or a mini-program, which is not limited here.
[0056] The method provided by the present invention is that the user clicks on the share button on the web page front end to generate a user sharing operation, the web page front end generates a sharing panel generation request in response to the user sharing operation and sends it to the client, the client responds to the sharing panel generation request, initializes the sharing panel framework, and generates a sharing panel based on the sharing panel framework according to the sharing panel setting parameters carried in the sharing panel generation request, and returns the sharing panel to the web page front end. In this way, based on the sharing panel setting parameters configured by the web page front end, a sharing panel corresponding to the needs of the web page front end can be generated, so that different forms of sharing panels can be flexibly configured to meet the scenario requirements of the content to be shared on each web page front end.
[0057] In the second embodiment disclosed, the application scenario of the present application is exemplarily as follows: the user logs in to the client, accesses the page to be shared on the web front end in the client, the user clicks on the interactive component of sharing on the page to be shared, generates a user sharing operation, and the web front end responds to the user sharing operation, generates a sharing panel generation request carrying the sharing panel setting parameters and sends it to the client logged in by the user; the client responds to the sharing panel generation request, initializes the sharing panel framework, further generates a sharing panel based on the sharing panel framework according to the sharing panel setting parameters carried in the sharing panel generation request, and returns the sharing panel to the web front end. Thus, the web front end receives and displays the sharing panel, and the user can operate the sharing panel to share the page to be shared to the corresponding sharing destination. Specific application scenarios, for example, can be: sharing the map information page of the electronic map client to the dialog interface of other clients; sharing the file page of the network disk client to the friend dialog interface in the network disk client, etc.; sharing the activity page of the electronic shopping platform client to the interface of other social media clients, etc.
[0058] See also Figure 2 , Figure 2The data flow diagram of a method for generating a sharing panel disclosed in the present invention is shown. Taking the page to be shared as the active page and the client as the client of the application as an example, the interaction between the web front end and the client is as follows: S201-1, the user logs in to the client, accesses the active page in the client, enters the active page of the web front end, the user clicks share on the active page to generate a user sharing operation, and the web front end generates a sharing panel generation request in response to the user sharing operation and sends it to the client logged in by the user; S201-2, the client responds to the sharing panel generation request and initializes the sharing panel framework; S202, the client determines the sharing sub-panel included in the sharing panel based on the sharing sub-panel selection parameters contained in the sharing panel setting parameters carried by the sharing panel generation request; S203, the client generates a corresponding sharing sub-panel for each sharing sub-panel included based on the sub-panel setting parameters corresponding to the sharing sub-panel; S204, the client splices the generated sharing sub-panels and fills them into the sharing panel framework to obtain a complete sharing panel; S205, the client sends the sharing panel to the web front end. Thus, the web front end receives and displays the sharing panel, and the user can operate the sharing panel to share the activity page to be shared to the corresponding sharing destination.
[0059] See also Figure 3 , Figure 3 A flow chart of a method for generating a sharing panel provided in the second embodiment of the present disclosure is shown. The method can be applied to a client, and the method includes:
[0060] S201 . In response to a sharing panel generation request sent by a webpage front end and generated based on a user sharing operation, a sharing panel framework is initialized.
[0061] The sharing panel generation request carries sharing panel setting parameters.
[0062] Among them, the page to be shared is loaded through the web front end, the user sharing operation is the operation generated by the user through interactive behavior on the page to be shared on the web front end, and the purpose of the user sharing operation is to share the page to be shared, for example, clicking the interactive component of sharing on the page to be shared. In some cases, the user can also generate a user sharing operation through the client by clicking on the sharing interactive component of the client, and the client then sends the user sharing operation to the web front end. In response to the user sharing operation, the web front end generates a sharing panel generation request carrying sharing panel setting parameters, which is not limited here.
[0063] Exemplarily, the web front end may send a sharing panel generation request carrying sharing panel setting parameters to the client through the Hybrid protocol to invoke the sharing panel.
[0064] The sharing panel setting parameters represent parameters that can configure the sharing panel, including but not limited to any of the following: parameters for configuring the style of the sharing panel, parameters for configuring the functions of the sharing panel, etc., which are not limited here. In different application scenarios, each web front end can configure the sharing panel setting parameters corresponding to the page to be shared on the web front end according to the scenario requirements, so that when the user wants to share the page to be shared, the client obtains the corresponding sharing panel setting parameters from the web front end.
[0065] The client responds to the sharing panel generation request, requests the sharing panel invocation interface, and initializes the sharing panel frame in response to the initialization information provided by the interface. The sharing panel frame is a sharing panel without content filled in. Subsequent steps are filled based on the sharing panel frame to obtain the final sharing panel.
[0066] S202: Determine the sharing sub-panels included in the sharing panel based on the sharing sub-panel selection parameters included in the sharing panel setting parameters carried in the sharing panel generation request.
[0067] In some examples, the sharing panel includes multiple sharing sub-panels, each sharing sub-panel having different functions. Accordingly, the sharing panel setting parameters include: sharing sub-panel selection parameters and sub-panel setting parameters corresponding to each sharing sub-panel.
[0068] A sharing panel can be composed of a variety of different sharing sub-panels, wherein the multiple sharing sub-panels include, for example, at least one of the following: a sharing destination sub-panel, a sharing method sub-panel, a sharing general settings sub-panel, a sharing contact sub-panel, etc., which are not limited here.
[0069] The sharing sub-panel selection parameter is used to determine which sharing sub-panels the sharing panel contains.
[0070] S203 . For each shared sub-panel included, generate a corresponding shared sub-panel based on the sub-panel setting parameters corresponding to the shared sub-panel.
[0071] The sub-panel setting parameters are used to configure the corresponding sharing sub-panel, including but not limited to configuring the style of the sharing sub-panel, configuring the function of the sharing sub-panel, and configuring at least one of the content and format of the sharing sub-panel. For each sharing sub-panel, a sharing sub-panel with a corresponding style, function, content and format is generated according to the sub-panel setting parameters, so as to realize independent configuration of each sharing sub-panel.
[0072] In some examples, in addition to configuring the sharing panel according to the sharing panel setting parameters provided by the web front end, the client can also set the default sharing panel parameters, such as the sub-panel default parameters, so as to combine the two to generate a sharing panel. Figure 4 , Figure 4An exemplary flow chart of S203 is shown, where S203 includes:
[0073] S2031. Obtain sub-panel default parameters.
[0074] Among them, the sub-panel default parameters are parameters used by the client to configure the shared sub-panel, for example, they may include: sub-panel default style parameters, used to configure the sub-panel, including the style of the panel unit. The sub-panel default parameters can be set in the client or in the client's server. In the case of being set on the server, S2031 includes: generating a default parameter request instruction and sending it to the server, the server is configured to call and return the sub-panel setting parameters corresponding to the default parameter request instruction based on the default parameter request instruction; receiving the sub-panel default parameters returned by the server.
[0075] S2032. Generate multiple panel units based on sub-panel default parameters and sub-panel setting parameters.
[0076] In some examples, the sharing sub-panel may include multiple panel units. When the user clicks on different panel units, different content to be shared will be generated. The content to be shared is the content that is ultimately shared to the sharing destination. It can be in various forms, such as: link form, password form, graphic form, etc., which are not limited here.
[0077] The client generates multiple panel units by combining the default sub-panel default parameters and the sub-panel setting parameters passed in by the web front end. For example: the sub-panel default parameters are the font default parameters for setting the font of the sub-panel; the sub-panel setting parameters are the parameters for setting the content and color of the panel unit; thus, the panel unit with the corresponding content and color is generated by combining the sub-panel setting parameters, and the font of the panel unit is set by combining the sub-panel default parameters to obtain the final panel unit.
[0078] S2033. Connect multiple panel units into a complete shared sub-panel.
[0079] In some examples, the generated multiple panel units include panel unit position information, so that the multiple panel units are spliced into a complete shared sub-panel according to the panel unit position information of each panel unit.
[0080] The panel unit position information is used to indicate the position of the panel unit on the shared sub-panel.
[0081] S204: splice the generated sharing sub-panels and fill them into the sharing panel frame to obtain a complete sharing panel.
[0082] In some examples, the generated multiple sharing sub-panels contain sub-panel location information, so that the multiple sharing sub-panels are spliced together according to the sub-panel location information of each sharing sub-panel, and based on the analysis of the panel framework, the spliced sharing sub-panels are filled into the sharing panel framework to obtain a complete sharing panel.
[0083] The sub-panel position information is used to indicate the position of the sharing sub-panel on the sharing panel.
[0084] S205, returning the sharing panel to the front end of the web page.
[0085] The web page front end is configured to receive and display the sharing panel, so that the user can operate the sharing panel to share the page to be shared to the corresponding sharing destination.
[0086] It should be noted that S202-S204 is one implementation of S102, and there are other implementations of S102, which are not limited here.
[0087] A sharing panel may be composed of a plurality of different sharing sub-panels, wherein the plurality of sharing sub-panels may include at least one of the following: a sharing destination sub-panel, a sharing method sub-panel, a sharing general settings sub-panel, a sharing contact sub-panel, etc., which are not limited here.
[0088] Example 1: The sharing sub-panel includes a sharing purpose sub-panel.
[0089] See also Figure 5 , Figure 5 An exemplary flow chart of S203 is shown. In this case, S203 includes:
[0090] S203a1 . Determine the sharing destinations included in the sharing destination sub-panel according to the sub-panel setting parameters, and generate a corresponding sharing destination panel unit based on the included sharing destinations.
[0091] S203a2: Generate a sharing destination sub-panel according to the generated sharing destination panel unit.
[0092] The sharing destination is the destination for receiving the page to be shared, which can be within the client or other clients. For example: the dialog interface of the user's friends within the client; jump to other clients, etc., which are not limited here.
[0093] The sharing destination sub-panel is used to allow the user to select a sharing destination, wherein different panel units correspond to different sharing destinations.
[0094] Among them, each sharing destination can be numbered, for example: network disk client-number 1; electronic map client-number 2; social software client-number 3. The sub-panel setting parameters of the sharing destination sub-panel include numbers, so that the sharing destinations included in the sharing destination sub-panel can be determined through the numbers of the sub-panel setting parameters, and then based on the selected sharing destination, panel units corresponding to different sharing destinations are generated, and each panel unit is spliced into the final sharing destination sub-panel. Thus, the user clicks on the panel unit of the sharing destination sub-panel to determine the sharing destination that receives the content to be shared.
[0095] Example 2: The sharing sub-panel includes a sharing method sub-panel.
[0096] See also Figure 6 , Figure 6 An exemplary flow chart of S203 is shown. In this case, S203 includes:
[0097] S203b1. Determine the sharing methods included in the sharing method sub-panel according to the sub-panel setting parameters, and generate a corresponding sharing method panel unit based on the included sharing methods and the corresponding sub-panel setting parameters.
[0098] The shared content can be analyzed through a variety of sharing methods. For example, the sharing methods include at least one of the following: link sharing method, password sharing method, image and text sharing method, QR code sharing method, poster sharing method, secret command sharing method, quick transfer to computer sharing method, etc., which are not limited here.
[0099] The sharing method sub-panel is used to allow the user to select the sharing method, wherein different panel units correspond to different sharing methods.
[0100] Among them, each sharing method can be numbered, for example: link sharing method-number 1; password sharing method-number 2; image and text sharing method-number 3. The sub-panel setting parameters of the sharing method sub-panel include numbers, so that through the numbers of the sub-panel setting parameters, the sharing methods included in the sharing method sub-panel can be determined, and then based on the selected sharing method, panel units corresponding to different sharing methods are generated, and each panel unit is spliced into the final sharing method sub-panel. Therefore, the user clicks on the panel unit of the sharing method sub-panel to determine the sharing method, and based on the selected sharing method, obtains the content to be shared corresponding to the sharing method.
[0101] In some examples, the sub-panel default parameters of the sharing method sub-panel may also include parameters for configuring the format, content, etc. of the sharing method. For example, the sub-panel default parameters include at least one of the following: a sharing title corresponding to each sharing method, a sharing text corresponding to each sharing method, a jump link corresponding to each sharing method, wherein the jump link includes an in-end link or an out-end link, a sharing picture corresponding to each sharing method, etc., which are not limited here.
[0102] In some examples, for some special sharing destinations, only special sharing methods may be effective under the sharing destination. Therefore, the sub-panel default parameters of the sharing method sub-panel may also include: specifying sharing method setting parameters; specifying sharing method setting parameters are associated with the corresponding sharing destination, with a priority higher than other sub-panel default parameters, and an independent specifying sharing method panel unit will be generated, which is associated with the corresponding sharing destination. When the corresponding sharing destination is selected, the content to be shared will be generated based on the specifying sharing method panel unit. Specifically, for example, for some social media clients, it is prohibited to share content in the form of links, and only share content in the form of pictures and texts. When the sharing destination is the social media client, the content to be shared in the form of pictures and texts will be generated based on the corresponding specifying sharing method panel unit.
[0103] For example, take the following code as an example:
[0104] i.{
[0105] ii. "viewStyle":"2"-----Set the sub-panel parameters of the sharing destination sub-panel, and select the sharing destination numbered 2;
[0106] iii. “shareChanel”:”0,1,2,3,4,5,6,7”-----Set the parameters of the sub-panel of the sharing mode sub-panel, and select the sharing mode numbered 0-7;
[0107] iv. "url":"aaaa"-----Set the parameters of the sub-panel of the sharing method sub-panel, and set the jump link corresponding to each common sharing method to aaaa;
[0108] v. "title":"xxxx"----Sub-panel setting parameters of the sharing method sub-panel, set the sharing title corresponding to each common sharing method to xxxx;
[0109] vi.extradict:{“3”:{“url”:”bbbb”,”style”:”1”,”title”:”Social Media Client”}----Set the sub-panel parameters of the sharing method sub-panel. Set the sharing destination numbered 3, the corresponding sharing jump link to aaaa, the sharing method (style) to the sharing method numbered 1, and the sharing title to social media client.
[0110] For some examples, see Figure 7 , Figure 7 An exemplary flow chart of S203b1 is shown, where S203b1 includes:
[0111] S001. Obtain sub-panel default parameters corresponding to the sharing mode sub-panel.
[0112] S002. Generate a sharing mode panel unit based on the included sharing modes, sub-panel default parameters and sub-panel setting parameters corresponding to the corresponding sharing mode sub-panel.
[0113] The sub-panel default parameters are parameters used by the client to configure the shared sub-panel. The sub-panel default parameters can be set in the client or in the client's server. In the case of setting in the server, S001 includes: generating a default parameter request instruction and sending it to the server, the server is configured to call and return the sub-panel setting parameters corresponding to the default parameter request instruction based on the default parameter request instruction; receiving the sub-panel default parameters returned by the server.
[0114] In some examples, the sub-panel default parameters corresponding to the sharing mode sub-panel include: sub-panel default style parameters; S002 includes:
[0115] Based on the included sharing methods, a sharing method panel unit of a corresponding style corresponding to the included sharing methods is generated according to the sub-panel setting parameters and the corresponding sub-panel default style parameters.
[0116] The sub-panel default style parameters are the client defaults and are used to set the style parameters of the sharing mode sub-panel and / or sharing mode panel unit. The style of the sub-panel and / or sharing mode panel unit can be adjusted based on the sub-panel default style parameters.
[0117] In some examples, the sharing method includes at least one of the following: a link sharing method, a password sharing method, and a picture and text sharing method;
[0118] The sub-panel default style parameters include at least one of the following: a link text header and a link text footer corresponding to the link sharing method; a password text header and a password text footer corresponding to the password sharing method; and a picture and text corresponding to the picture and text sharing method.
[0119] For example, for the link sharing method, the sub-panel default style parameters include the link copy header and the link copy footer, and the sub-panel setting parameters entered on the web page front end include the jump link, so the content to be shared corresponding to the link sharing method panel unit finally generated is: link copy header + jump link + link copy footer.
[0120] For the picture and text sharing mode, the sub-panel default style parameters include pictures and texts, and the sub-panel setting parameters inputted by the webpage front end include the shared content, so that the content to be shared corresponding to the picture and text sharing mode panel unit finally generated is: pictures including the shared content and texts;
[0121] For the password sharing method, the sub-panel default style parameters include the password text header and the password text footer, and the sub-panel setting parameters entered on the web page front end include the password content, so that the content to be shared corresponding to the password sharing method panel unit finally generated is: password text header + password content + password text footer.
[0122] Wherein, when the sharing sub-panel includes a sharing mode sub-panel and the sharing mode is a password sharing mode, S203b1 includes:
[0123] Determines whether the subpanel setting parameters contain password content.
[0124] If the password content is included, a sharing mode panel unit corresponding to the password sharing mode is generated according to the password content.
[0125] If the password content is not included, a password content request is generated and sent to the server, and the server is configured to return the corresponding password content in response to receiving the password content request.
[0126] The password content returned by the server is received, and a sharing mode panel unit corresponding to the password sharing mode is generated based on the returned password content.
[0127] In some cases, the web page front end may pass in specific password content, or may not pass in password content but only pass in a jump link. Therefore, when no password content is passed in, a final password sharing method sharing panel unit can be generated based on the password content provided by the server.
[0128] S203b2. Generate a sharing mode sub-panel according to the generated sharing mode panel unit.
[0129] Generate sharing method panel units corresponding to different sharing methods, wherein each sharing method panel unit also includes generated content to be shared corresponding to the sharing method, splice each sharing method panel unit into a final sharing method sub-panel, and bind the content to be shared corresponding to the different sharing method panel units with the corresponding sharing method panel unit, and send them together to the web page front end, so that the user clicks on the sharing method panel unit of the sharing method sub-panel to determine the sharing method and obtain the content to be shared corresponding to the sharing method, such as: a string of passwords, a link, a picture.
[0130] Example 3: The sharing sub-panel includes the sharing general settings sub-panel.
[0131] See also Figure 8 , Figure 8 An exemplary flow chart of S203 is shown. In this case, S203 includes:
[0132] S203c1. Determine the general setting items included in the shared general setting sub-panel according to the sub-panel setting parameters, and generate corresponding general setting item panel units based on the included general setting items and the corresponding sub-panel setting parameters.
[0133] The sharing general setting sub-panel is used for users to set the content to be shared, wherein different panel units correspond to different general setting items.
[0134] Among them, the general setting items include at least one of the following: sharing title setting item, sharing text setting item, sharing password setting item, sharing validity period setting item, sharing skin setting item, etc., which are not limited here.
[0135] S203c2. Generate a shared general setting sub-panel according to the generated general setting item panel unit.
[0136] Generate universal setting item panel units corresponding to different universal setting items that can be set, and splice each universal setting item panel unit into a final universal setting item sub-panel, so that the user can set the corresponding universal setting item by clicking the universal setting item panel unit of the universal setting item panel, for example: setting the password and validity period of the content to be shared, etc., which are not limited here.
[0137] Of course, the sharing panel may also include more sharing sub-panels with different functions and contents. The above are merely examples and do not constitute a limitation to the present disclosure.
[0138] See also Fig. 9 , Fig. 9A panel schematic diagram of an exemplary sharing panel of the present application is shown. The interface represents: after S205, the sharing panel is displayed in the page to be shared on the front end of the web page. The sharing panel includes a sub-panel of the sharing destination, a sub-panel of the sharing method, and a sub-panel of the sharing general settings. a1 represents multiple sharing destination panel units, b1 represents multiple sharing method panel units, and c1 represents multiple general settings panel units.
[0139] In disclosing the third embodiment, see Fig.10 , Fig.10 A flow chart of a method for generating a sharing panel provided in the third embodiment of the present disclosure is shown. The method can be applied to a web page front end, and the method includes:
[0140] S301. Generate a sharing panel generation request carrying sharing panel setting parameters based on the user sharing operation and send it to the client. The client is configured to initialize the sharing panel framework in response to the received sharing panel generation request; generate the sharing panel framework into a sharing panel according to the sharing panel setting parameters, and return the sharing panel to the web page front end.
[0141] S302: Receive and display a sharing panel.
[0142] The function of the sharing panel is: the user can share the page to be shared to the corresponding sharing destination by operating the sharing panel.
[0143] The sharing destination is the destination for receiving the page to be shared, which can be within the client or other clients. For example: the dialog interface of the user's friends within the client; jump to other clients, etc., which are not limited here.
[0144] The sharing panel setting parameters represent the parameters that can configure the sharing panel, including but not limited to any of the following: parameters for configuring the style of the sharing panel, parameters for configuring the functions of the sharing panel, etc., which are not limited here. In different application scenarios, each web front end can configure the sharing panel setting parameters corresponding to the page to be shared on the web front end according to the scenario requirements, so that when the user wants to share the page to be shared, the client obtains the corresponding sharing panel setting parameters from the web front end, and then generates a sharing panel that meets the requirements of the page to be shared based on the sharing panel setting parameters, and sends it to the web front end, thereby achieving flexibility in sharing panel configuration.
[0145] The user sharing operation is an operation generated by the user through interactive behavior on the page to be shared on the web front end. The purpose of the user sharing operation is to share the page to be shared, for example, clicking the interactive component of sharing on the page to be shared. In some cases, the user can also generate a user sharing operation through the client by clicking on the sharing interactive component of the client. The client then sends the user sharing operation to the web front end. In response to the user sharing operation, the web front end generates a sharing panel generation request carrying the sharing panel setting parameters, which is not limited here.
[0146] The method provided by the present invention is that the user clicks on the share button on the web page front end to generate a user sharing operation, the web page front end generates a sharing panel generation request in response to the user sharing operation and sends it to the client, the client responds to the sharing panel generation request, initializes the sharing panel framework, and generates a sharing panel based on the sharing panel framework according to the sharing panel setting parameters carried in the sharing panel generation request, and returns the sharing panel to the web page front end. In this way, based on the sharing panel setting parameters configured by the web page front end, a sharing panel corresponding to the needs of the web page front end can be generated, so that different forms of sharing panels can be flexibly configured to meet the scenario requirements of the content to be shared on each web page front end.
[0147] The Share Panel consists of multiple panel units. Fig.11 , Fig.11 A flowchart of another method for generating a sharing panel provided in the third embodiment of the present disclosure is shown. After S302, the method further includes:
[0148] S303: In response to a panel setting operation of the user based on the sharing panel, corresponding content to be shared is obtained according to at least one of the sharing destination panel unit, the sharing mode sub-panel and the general setting item panel unit corresponding to the panel setting operation.
[0149] When the user clicks on different panel units, different content to be shared will be generated. The content to be shared is the content that is ultimately shared to the sharing destination. It can be in various forms, such as: link form, password form, graphic form, etc., which are not limited here.
[0150] S304: Jump the content to be shared to the sharing destination corresponding to the sharing destination panel unit for sharing.
[0151] In the fourth embodiment disclosed, based on Figure 1 The same principle, Fig.12 A device 120 for generating a sharing panel provided in a fourth embodiment of the present disclosure is shown, and the device includes:
[0152] Initialization module 1201, for initializing a sharing panel framework in response to a sharing panel generation request generated based on a user sharing operation and sent by a webpage front end; wherein the sharing panel generation request carries sharing panel setting parameters;
[0153] A generating module 1202 is used to generate a sharing panel frame into a sharing panel according to the sharing panel setting parameters, and return the sharing panel to the webpage front end;
[0154] The web front end is configured to receive and display the sharing panel.
[0155] In some examples, the share panel includes a plurality of share sub-panels;
[0156] The sharing panel setting parameters include: sharing sub-panel selection parameters and sub-panel setting parameters corresponding to each sharing sub-panel;
[0157] The generation module is specifically used for:
[0158] Determine the sharing sub-panels included in the sharing panel based on the sharing sub-panel selection parameters included in the sharing panel setting parameters;
[0159] For each shared sub-panel included, based on the sub-panel setting parameters corresponding to the shared sub-panel, a corresponding shared sub-panel is generated;
[0160] The generated sharing sub-panels are spliced together and filled into the sharing panel frame to obtain a complete sharing panel, and the sharing panel is returned to the front end of the web page.
[0161] In some examples, the generation module, when generating a corresponding sharing sub-panel based on the sub-panel setting parameters corresponding to the sharing sub-panel for each sharing sub-panel included, is used to:
[0162] Get the sub-panel default parameters;
[0163] Generate multiple panel units based on sub-panel default parameters and sub-panel setting parameters;
[0164] Combine multiple panel units into a complete shared sub-panel.
[0165] In some examples, the sharing sub-panel includes a sharing destination sub-panel;
[0166] The generation module is used to: generate a corresponding sharing sub-panel for each sharing sub-panel contained in the sharing sub-panel based on the sub-panel setting parameters corresponding to the sharing sub-panel;
[0167] Determine the sharing destinations included in the sharing destination sub-panel according to the sub-panel setting parameters, and generate corresponding sharing destination panel units based on the included sharing destinations;
[0168] A sharing destination sub-panel is generated according to the generated sharing destination panel unit.
[0169] In some examples, the sharing sub-panel includes a sharing method sub-panel;
[0170] The generation module is used to: generate a corresponding sharing sub-panel for each sharing sub-panel contained in the sharing sub-panel based on the sub-panel setting parameters corresponding to the sharing sub-panel;
[0171] Determine the sharing methods included in the sharing method sub-panel according to the sub-panel setting parameters, and generate a corresponding sharing method panel unit based on the included sharing methods and the corresponding sub-panel setting parameters;
[0172] Generate a sharing mode sub-panel according to the generated sharing mode panel unit.
[0173] In some examples, when the generation module determines the sharing methods included in the sharing method sub-panel according to the sub-panel setting parameters and generates a corresponding sharing method panel unit based on the included sharing methods, it is used to:
[0174] Get the sub-panel default parameters corresponding to the sharing mode sub-panel;
[0175] Based on the included sharing methods, the sub-panel default parameters and sub-panel setting parameters corresponding to the corresponding sharing method sub-panel, a sharing method panel unit is generated.
[0176] In some examples, the sub-panel default parameters corresponding to the sharing mode sub-panel include: sub-panel default style parameters;
[0177] The generation module is used to generate a sharing mode panel unit based on the included sharing mode, the sub-panel default parameters and the sub-panel setting parameters corresponding to the corresponding sharing mode sub-panel, and:
[0178] Based on the included sharing methods, a sharing method panel unit of a corresponding style corresponding to the included sharing methods is generated according to the sub-panel setting parameters and the corresponding sub-panel default style parameters.
[0179] In some examples, the sharing method includes at least one of the following: a link sharing method, a password sharing method, and a picture and text sharing method;
[0180] The sub-panel default style parameters include at least one of the following: a link text header and a link text footer corresponding to the link sharing method; a password text header and a password text footer corresponding to the password sharing method; and a picture and text corresponding to the picture and text sharing method.
[0181] In some examples, when the sharing method is a password sharing method, the generation module determines the sharing methods included in the sharing method sub-panel according to the sub-panel setting parameters, and generates a corresponding sharing method panel unit based on the included sharing methods and the corresponding sub-panel setting parameters, and is used to:
[0182] Determine whether the sub-panel setting parameters contain password content;
[0183] If so, generating a sharing mode panel unit corresponding to the password sharing mode according to the password content;
[0184] If not, a password content request is generated and sent to the server, and the server is configured to return the corresponding password content in response to receiving the password content request;
[0185] The password content returned by the server is received, and a sharing mode panel unit corresponding to the password sharing mode is generated based on the returned password content.
[0186] In some examples, the sharing sub-panel includes a sharing general settings sub-panel;
[0187] The generation module is used to: generate a corresponding sharing sub-panel for each sharing sub-panel contained in the sharing sub-panel based on the sub-panel setting parameters corresponding to the sharing sub-panel;
[0188] Determine the general setting items included in the shared general setting sub-panel according to the sub-panel setting parameters, and generate corresponding general setting item panel units based on the included general setting items and the corresponding sub-panel setting parameters;
[0189] Generate a shared general settings sub-panel based on the generated general settings item panel unit.
[0190] In some examples, the general setting items include at least one of the following: a sharing title setting item, a sharing text setting item, a sharing password setting item, a sharing validity period setting item, and a sharing skin setting item.
[0191] In the disclosed fifth embodiment, based on Fig.10 The same principle, Fig.13 A sharing panel generation device 130 provided in the fifth embodiment of the present disclosure is shown, and the device includes:
[0192] The sending module 1301 is used to generate a sharing panel generation request carrying sharing panel setting parameters based on the user sharing operation, and send it to the client. The client is configured to respond to the received sharing panel generation request, initialize the sharing panel framework; generate the sharing panel framework into a sharing panel according to the sharing panel setting parameters, and return the sharing panel to the webpage front end;
[0193] The receiving module 1302 is used to receive and display the sharing panel.
[0194] In some examples, the sharing panel includes a plurality of panel units;
[0195] The device further includes: a sharing module, for obtaining corresponding content to be shared according to at least one of a sharing destination panel unit, a sharing mode sub-panel, and a general setting item panel unit correspondingly set by the panel setting operation in response to a panel setting operation by a user based on the sharing panel;
[0196] Jump the content to be shared to the sharing destination corresponding to the sharing destination panel unit for sharing.
[0197] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0198] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0199] Fig.14 A schematic block diagram of an example electronic device 1400 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0200] like Fig.14 As shown, the device 1400 includes a computing unit 1401, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1402 or a computer program loaded from the storage unit 1402 to a random access memory (RAM) 1403. In the RAM 1403, various programs and data required for the operation of the device 1400 can also be stored. The computing unit 1401, the ROM 1402, and the RAM 1403 are connected to each other via a bus 1404. An input / output (I / O) interface 1405 is also connected to the bus 1404.
[0201] A number of components in the device 1400 are connected to the I / O interface 1405, including: an input unit 1406, such as a keyboard, a mouse, etc.; an output unit 1407, such as various types of displays, speakers, etc.; a storage unit 1408, such as a disk, an optical disk, etc.; and a communication unit 1409, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1409 allows the device 1400 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0202] The computing unit 1401 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1401 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1401 performs the various methods and processes described above, such as the generation method of the sharing panel. For example, in some embodiments, the generation method of the sharing panel may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 1408. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 1400 via the ROM 1402 and / or the communication unit 1409. When the computer program is loaded into the RAM 1403 and executed by the computing unit 1401, one or more steps of the generation method of the sharing panel described above may be performed. Alternatively, in other embodiments, the computing unit 1401 may be configured with the sharing panel generation method in any other appropriate manner (eg, by means of firmware).
[0203] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0204] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0205] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0206] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0207] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0208] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0209] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0210] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A method for generating a sharing panel, wherein: Applied on the client, the method includes: In response to a sharing panel generation request generated based on a user sharing operation and sent by a webpage front end, a sharing panel framework is initialized; wherein the sharing panel generation request carries sharing panel setting parameters; According to the sharing panel setting parameters, the sharing panel frame is generated as a sharing panel, and the sharing panel is returned to the webpage front end; Wherein, the web front end is configured to receive and display the sharing panel.
2. The method according to claim 1, wherein: The sharing panel includes a plurality of sharing sub-panels; The sharing panel setting parameters include: sharing sub-panel selection parameters and sub-panel setting parameters corresponding to each sharing sub-panel; The step of generating the sharing panel frame into a sharing panel according to the sharing panel setting parameters, and returning the sharing panel to the webpage front end includes: Determining a sharing sub-panel included in the sharing panel based on a sharing sub-panel selection parameter included in the sharing panel setting parameter; For each of the shared sub-panels included, generating a corresponding shared sub-panel based on the sub-panel setting parameters corresponding to the shared sub-panel; The generated sharing sub-panels are spliced together and filled into the sharing panel frame to obtain a complete sharing panel, and the sharing panel is returned to the web page front end.
3. The method according to claim 2, wherein: The step of generating a corresponding sharing sub-panel for each of the sharing sub-panels based on the sub-panel setting parameters corresponding to the sharing sub-panel includes: Get the sub-panel default parameters; generating a plurality of panel units based on the sub-panel default parameters and the sub-panel setting parameters; The multiple panel units are spliced into a complete shared sub-panel.
4. The method according to claim 2 or 3, wherein: The sharing sub-panel includes a sharing destination sub-panel; The step of generating a corresponding sharing sub-panel for each of the sharing sub-panels based on the sub-panel setting parameters corresponding to the sharing sub-panel includes: Determining the sharing destinations included in the sharing destination sub-panel according to the sub-panel setting parameters, and generating a corresponding sharing destination panel unit based on the included sharing destinations; The sharing destination sub-panel is generated according to the generated sharing destination panel unit.
5. The method according to any one of claims 2 to 4, wherein: The sharing sub-panel includes a sharing method sub-panel; The step of generating a corresponding sharing sub-panel for each of the sharing sub-panels based on the sub-panel setting parameters corresponding to the sharing sub-panel includes: Determining the sharing methods included in the sharing method sub-panel according to the sub-panel setting parameters, and generating a corresponding sharing method panel unit based on the included sharing methods and the corresponding sub-panel setting parameters; The sharing mode sub-panel is generated according to the generated sharing mode panel unit.
6. The method according to claim 5, wherein: The step of determining the sharing methods included in the sharing method sub-panel according to the sub-panel setting parameters, and generating a corresponding sharing method panel unit based on the included sharing methods, includes: Obtaining sub-panel default parameters corresponding to the sharing mode sub-panel; The sharing mode panel unit is generated based on the included sharing modes, the sub-panel default parameters corresponding to the corresponding sharing mode sub-panel and the sub-panel setting parameters.
7. The method according to claim 6, wherein: The sub-panel default parameters corresponding to the sharing mode sub-panel include: sub-panel default style parameters; The generating the sharing mode panel unit based on the included sharing mode, the sub-panel default parameters corresponding to the corresponding sharing mode sub-panel and the sub-panel setting parameters includes: Based on the included sharing methods, the sharing method panel unit of a corresponding style corresponding to the included sharing methods is generated according to the sub-panel setting parameters and the corresponding sub-panel default style parameters.
8. The method according to claim 7, wherein: The sharing method includes at least one of the following: link sharing method, password sharing method, and image and text sharing method; The sub-panel default style parameters include at least one of the following: a link text header and a link text footer corresponding to the link sharing method; a password text header and a password text footer corresponding to the password sharing method; and a picture and text corresponding to the picture and text sharing method.
9. The method according to any one of claims 5 to 8, wherein: When the sharing method is a password sharing method, determining the sharing methods included in the sharing method sub-panel according to the sub-panel setting parameters, and generating a corresponding sharing method panel unit based on the included sharing methods and the corresponding sub-panel setting parameters, includes: Determining whether the sub-panel setting parameters include password content; If yes, generating the sharing mode panel unit corresponding to the password sharing mode according to the password content; If not, generating a password content request and sending it to the server, the server being configured to return the corresponding password content in response to receiving the password content request; The password content returned by the server is received, and the sharing mode panel unit corresponding to the password sharing mode is generated based on the returned password content.
10. The method according to any one of claims 2 to 9, wherein: The sharing sub-panel includes a sharing general settings sub-panel; The step of generating a corresponding sharing sub-panel for each of the sharing sub-panels based on the sub-panel setting parameters corresponding to the sharing sub-panel includes: Determining the general setting items included in the sharing general setting sub-panel according to the sub-panel setting parameters, and generating corresponding general setting item panel units based on the included general setting items and the corresponding sub-panel setting parameters; The shared general setting sub-panel is generated according to the generated general setting item panel unit.
11. The method according to claim 10, wherein: The general setting items include at least one of the following: a sharing title setting item, a sharing text setting item, a sharing password setting item, a sharing validity period setting item, and a sharing skin setting item.
12. A method for generating a sharing panel, wherein: Applied in the front end of a web page, the method includes: A sharing panel generation request carrying sharing panel setting parameters is generated based on a user sharing operation, and sent to a client, wherein the client is configured to initialize a sharing panel framework in response to the received sharing panel generation request; generate the sharing panel framework into a sharing panel according to the sharing panel setting parameters, and return the sharing panel to the webpage front end; The sharing panel is received and displayed.
13. The method according to claim 12, wherein: The sharing panel includes a plurality of panel units; After receiving and displaying the sharing panel, the method further includes: In response to a panel setting operation of the user based on the sharing panel, obtaining corresponding content to be shared according to at least one of a sharing destination panel unit, a sharing mode sub-panel, and a general setting item panel unit correspondingly set by the panel setting operation; Jump the content to be shared to the sharing destination corresponding to the sharing destination panel unit for sharing.
14. A device for generating a sharing panel, wherein: The device comprises: An initialization module, configured to initialize a sharing panel framework in response to a sharing panel generation request sent by a webpage front end and generated based on a user sharing operation; wherein the sharing panel generation request carries sharing panel setting parameters; A generating module, configured to generate the sharing panel frame into a sharing panel according to the sharing panel setting parameters, and return the sharing panel to the webpage front end; Wherein, the web front end is configured to receive and display the sharing panel.
15. The device according to claim 14, wherein: The sharing panel includes a plurality of sharing sub-panels; The sharing panel setting parameters include: sharing sub-panel selection parameters and sub-panel setting parameters corresponding to each sharing sub-panel; The generation module is specifically used for: Determining a sharing sub-panel included in the sharing panel based on a sharing sub-panel selection parameter included in the sharing panel setting parameter; For each of the shared sub-panels included, generating a corresponding shared sub-panel based on the sub-panel setting parameters corresponding to the shared sub-panel; The generated sharing sub-panels are spliced together and filled into the sharing panel frame to obtain a complete sharing panel, and the sharing panel is returned to the web page front end.
16. The device according to claim 15, wherein: The generating module, when generating a corresponding sharing sub-panel based on the sub-panel setting parameters corresponding to the sharing sub-panel for each of the sharing sub-panels included, is used to: Get the sub-panel default parameters; generating a plurality of panel units based on the sub-panel default parameters and the sub-panel setting parameters; The multiple panel units are spliced into a complete shared sub-panel.
17. A device for generating a sharing panel, wherein: The device comprises: A sending module, configured to generate a sharing panel generation request carrying sharing panel setting parameters based on a user sharing operation, and send the request to a client, wherein the client is configured to initialize a sharing panel framework in response to the received sharing panel generation request; generate the sharing panel framework into a sharing panel according to the sharing panel setting parameters, and return the sharing panel to the webpage front end; The receiving module is used to receive and display the sharing panel.
18. The device according to claim 17, wherein: The sharing panel includes a plurality of panel units; The device further includes: a sharing module, configured to obtain corresponding content to be shared in response to a panel setting operation of the user based on the sharing panel, according to at least one of a sharing destination panel unit, a sharing mode sub-panel, and a general setting item panel unit correspondingly set by the panel setting operation; Jump the content to be shared to the sharing destination corresponding to the sharing destination panel unit for sharing.
19. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method of any one of claims 1-11 and / or can execute the method of any one of claims 12 or 13.
20. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-11, and / or the method according to any one of claims 12 or 13.
21. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 11 and / or the method according to any one of claims 12 or 13.