CN112688851B - Display method, device and equipment for sharing information of small programs and storage medium - Google Patents

Display method, device and equipment for sharing information of small programs and storage medium Download PDF

Info

Publication number
CN112688851B
CN112688851B CN201910989166.3A CN201910989166A CN112688851B CN 112688851 B CN112688851 B CN 112688851B CN 201910989166 A CN201910989166 A CN 201910989166A CN 112688851 B CN112688851 B CN 112688851B
Authority
CN
China
Prior art keywords
information
social platform
applet
platform client
sharing
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.)
Active
Application number
CN201910989166.3A
Other languages
Chinese (zh)
Other versions
CN112688851A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910989166.3A priority Critical patent/CN112688851B/en
Publication of CN112688851A publication Critical patent/CN112688851A/en
Application granted granted Critical
Publication of CN112688851B publication Critical patent/CN112688851B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a method, a device, equipment and a storage medium for displaying shared information of an applet, wherein after a social platform client receives a program sharing request sent by a social platform server, an information display format of the shared information of the applet on the social platform client is determined according to the shared information of the applet carried in the program sharing request and system information of the social platform client; and displaying the applet sharing information in the target window according to the information display format so that a sending user and a receiving user can view the applet sharing information in the target window. The information display format is determined according to the system information of the social platform client, so that different devices (for example, devices such as a mobile phone or a desktop computer) provided with the social platform client can display the applet sharing information according to the corresponding information display format, and a user can view the applet sharing information on different devices.

Description

Display method, device and equipment for sharing information of small programs and storage medium
Technical Field
The application relates to the technical field of social platform development, in particular to a method, a device, equipment and a storage medium for displaying shared information of applets.
Background
Currently, some applets (e.g., game applets) can be directly run on a social platform (e.g., WeChat) as a social platform application, and have the advantages of small size and high running efficiency because the applets can be run on the social platform without downloading and installing. In addition, the applets can be shared among different users by using a social platform. For example, when a duplet and a ceremony are both users of a messenger, the duplet can share an applet to the ceremony through the messenger.
The social platform generally includes a social platform server and a social platform client, and the social platform client may be installed on various devices (e.g., a mobile phone or a computer). At this time, in order to enable the user to view the applet sharing information on various devices, it is necessary to control the applet sharing information to be displayed on the various devices, respectively. However, how to display the applet sharing information in the social platform clients of different devices is a technical problem to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a storage medium for displaying shared information of an applet, and the shared information of the applet can be displayed in social platform clients of different equipment.
In view of this, a first aspect of the present application provides a method for displaying applet sharing information, which is applied to a social platform client, and includes:
receiving a program sharing request sent by a social platform server; the program sharing request carries small program sharing information, a sending user identifier and a receiving user identifier;
determining an information display format of the applet sharing information on the social platform client according to the applet sharing information and the system information of the social platform client;
displaying the small program sharing information in a target window according to the information display format; the target window is an interactive window determined according to the sending user identification and the receiving user identification.
This application second aspect provides a display device of information is shared to applet, is applied to social platform client, includes:
the receiving unit is used for receiving a program sharing request sent by a social platform server; the program sharing request carries small program sharing information, a sending user identifier and a receiving user identifier;
the determining unit is used for determining an information display format of the applet sharing information on the social platform client according to the applet sharing information and the system information of the social platform client;
the display unit is used for displaying the applet sharing information in a target window according to the information display format; the target window is an interactive window determined according to the sending user identification and the receiving user identification.
A third aspect of the application provides an apparatus comprising a processor and a memory:
the memory is used for storing a computer program;
the processor is configured to execute the displaying method of the applet sharing information according to the first aspect.
A fourth aspect of the present application provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the displaying method for sharing information by an applet according to the first aspect.
A fifth aspect of the present application provides a computer program product comprising instructions, which when run on a computer, cause the computer to perform the method for displaying applet sharing information according to the first aspect.
According to the technical scheme, the embodiment of the application has the following advantages:
according to the method for displaying the applet sharing information, after a social platform client receives a program sharing request sent by a social platform server, an information display format of the applet sharing information on the social platform client is determined according to the applet sharing information carried in the program sharing request and system information of the social platform client; and displaying the applet sharing information in the target window according to the information display format so that a sending user and a receiving user can view the applet sharing information in the target window. The information display format is determined according to the system information of the social platform client, so that the information display format is suitable for information display on the device provided with the corresponding social platform client, different devices (such as mobile phones or desktop computers and the like) provided with the social platform client can display the applet sharing information according to the corresponding information display format, and a user can view the applet sharing information on the different devices.
Drawings
Fig. 1 is a schematic view of an application scenario of a display method for sharing information of an applet according to an embodiment of the present application;
fig. 2 is a flowchart of a method for displaying shared information of applets according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a social platform client installed on a computer and corresponding to a sending user according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a social platform client installed on a computer and corresponding to a receiving user according to an embodiment of the present disclosure;
fig. 5 is a flowchart of a display method applied to receive applet sharing information of a social platform client used by a user according to an embodiment of the present disclosure;
fig. 6 is a flowchart of a display method applied to send applet sharing information of a social platform client used by a user according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of a communication system for sharing applets according to an embodiment of the present application;
fig. 8 is a schematic communication flow diagram of applet sharing according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a display device for sharing information by applets according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, 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 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 should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be implemented in sequences other than those 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.
For technical problems existing in the background art, embodiments of the present application provide an applet display method, which can determine an information display format of applet sharing information on a device according to system information of a social platform client installed on different devices, so that the applet sharing information can be displayed on the device according to the information display format suitable for the social platform client on the device, and a user can view the applet sharing information on different devices (for example, a mobile terminal or a non-mobile terminal). That is, the user may view the applet sharing information on a mobile terminal (e.g., a mobile phone) or may view the applet sharing information on a non-mobile terminal (e.g., a computer). This can improve the flexibility of the user to view the shared information of these applets.
Specifically, in the method for displaying applet sharing information provided in the embodiment of the present application, a social platform client receives a program sharing request sent by a social platform server; the method comprises the steps that a social platform client determines an information display format of the applet sharing information on the social platform client according to the applet sharing information carried by a program sharing request and system information of the social platform client; and the social platform client displays the applet sharing information in a target window according to the information display format, and the target window is an interactive window determined according to the sending user identification and the receiving user identification.
In the method for displaying the applet sharing information provided by the embodiment of the application, the information display format is determined according to the system information of the social platform client, so that the information display format is suitable for displaying information on the device provided with the corresponding social platform client, different devices (for example, devices such as a mobile phone or a desktop computer and the like) provided with the social platform client can display the applet sharing information according to the corresponding information display format, and a user can view the applet sharing information on different devices.
It should be understood that the method for displaying the applet sharing information provided by the embodiment of the application can be applied to data processing equipment, such as terminal equipment and the like; the terminal device may be a smart phone, a computer, a Personal Digital Assistant (PDA), a tablet computer, or the like.
When the display method of the applet sharing information provided by the embodiment of the application is executed by the terminal device, the terminal device can directly determine the information display format of the applet sharing information on the social platform client according to the applet sharing information carried by the program sharing request and the system information of the social platform client, so that the applet sharing information can be displayed in the target window according to the information display format. Therefore, the terminal equipment can accurately display the applet sharing information corresponding to different applets.
In order to facilitate understanding of the technical solution provided by the embodiment of the present application, an application scenario in which the displaying method for sharing information by an applet provided in the embodiment of the present application is applied to a terminal device is exemplarily described below with reference to fig. 1. Fig. 1 is an application scene schematic diagram of a display method for sharing information of applets according to an embodiment of the present application.
As shown in fig. 1, the application scenario includes: a third party server 101, a social platform server 102, a terminal device 103, and a user 104; the third-party server 101 is configured to provide an application service of the applet, and is configured to send a program forwarding request carrying applet sharing information to the social platform server 102. The social platform server 102 is configured to generate a program sharing request carrying sharing information, a sending user identifier, and a receiving user identifier according to the program forwarding request sent by the third-party server 101. The terminal device 103 is provided with a social platform client, the terminal device 103 is used for displaying the applet sharing information to the user 104, and the terminal device 103 is used for executing a displaying method of the applet sharing information.
Specifically, after the terminal device 103 receives the program sharing request sent by the social platform server 102, the terminal device 103 determines an information display format of the applet sharing information on the social platform client (that is, determines an information display format of the applet sharing information on the terminal device 103) according to the applet sharing information and system information of the social platform client on the terminal device 103, and then displays the applet sharing information in a target window according to the information display format, so that the user 104 (a sending user and/or a receiving user) can view the applet sharing information in the target window.
It should be understood that the application scenario shown in fig. 1 is only an example, and in practical application, the method for displaying the applet sharing information provided in the embodiment of the present application may also be applied to other application scenarios where the applet sharing information needs to be displayed, and no limitation is made to the method for displaying the applet sharing information provided in the embodiment of the present application.
The method for displaying the applet sharing information provided by the present application is described below by an embodiment.
Method embodiment 1
Referring to fig. 2, the figure is a flowchart of a displaying method of shared information of applets according to an embodiment of the present application.
The method for displaying the shared information of the small programs, provided by the embodiment of the application, comprises the following steps of S201-S203:
s201: and the social platform client receives a program sharing request sent by the social platform server.
The social platform refers to a network platform for interpersonal communication; moreover, the type of the social platform is not limited in the application, for example, the social platform may be WeChat, microblog or known. In addition, the social platform can realize information interaction through communication between the social platform client and the social platform server; in addition, the embodiment of the present application does not limit the communication manner between the social platform client and the social platform server (for example, a communication manner such as wireless communication or wired communication may be adopted).
The social platform client is installed on a terminal device, and the terminal device can be a mobile terminal (for example, a mobile phone) or a non-mobile terminal (for example, a desktop computer). In addition, in this embodiment of the application, the social platform client may be a client corresponding to the sending user identifier (that is, a social platform client used by the sending user), may also be a client corresponding to the receiving user identifier (that is, a social platform client used by the receiving user), and may also be a client corresponding to the sending user identifier and a client corresponding to the receiving user identifier. It should be noted that each user id may correspond to at least one social platform client installed on the device, for example, one user id may correspond to a social platform client installed on a computer, a social platform client installed on a mobile phone, and the like.
The program sharing request is an information sharing request sent to the social platform client by the social platform server, and the program sharing request carries the applet sharing information, the sending user identifier and the receiving user identifier.
The applet sharing information is used for recording related information of the shared applet, for example, the applet sharing information may include picture information of the applet, word introduction information of the applet, comment information of the applet, application link information of the applet, and the like. The applet refers to an applet that can run on the social platform, for example, the applet may be a game program, a shopping program, a payment program, a reading program, and other social platform programs, which is not limited in this embodiment of the present application.
The sending user identification is used for uniquely marking the sending user, and the receiving user identification is used for uniquely marking the sending user. In addition, the user identifier may be a user account, so that the sending user identifier may be the user account of the sending user, and the receiving user identifier may also be the user account of the receiving user. It should be noted that the transmitting user corresponds to the receiving user. The sending user refers to a user who triggers an applet sharing instruction or forwards the applet sharing information, namely, a user who actively sends the applet sharing information by means of a social platform; moreover, the receiving user refers to a user who receives the shared information of the applet, that is, a user who passively receives the shared information of the applet by means of the social platform. For example, when a first user shares a first program to a second user through a WeChat, the first user is a sending user, the second user is a receiving user, the WeChat is a social platform, and the first program is an applet to be shared.
In addition, in practical application, one user can share the small programs with another user in multiple ways, so that the program sharing request can be generated in multiple ways. For ease of understanding and explanation, two embodiments of generating a program sharing request will be described below as examples.
As a first implementation manner, the generation process of the program sharing request may specifically be: and the social platform server generates a program sharing request according to the program forwarding request sent by the third-party server. The third-party server is used for providing application services of the small programs; and the program forwarding request is generated by the third-party server according to the small program sharing instruction triggered by the sending user.
In this embodiment, as shown in fig. 1, when the sending user is using an applet, and the sending user wants to share the applet to the receiving user, the sending user can trigger the applet sharing instruction directly on the applet running interface (i.e., the applet client), so that a third-party server (i.e., an applet server) corresponding to the applet can generate a program forwarding request according to the applet sharing instruction, and send the program forwarding request to the social platform server, thereby enabling the social platform server to generate a program sharing request according to the program forwarding request, so that the social platform client corresponding to the receiving user (and/or the sending user) can display the applet sharing information to the receiving user (and/or the sending user) according to the program sharing request sent by the social platform server.
It should be noted that, in the embodiment of the present application, the program forwarding request carries the applet sharing information, the sending user identifier, and the receiving user identifier. In addition, the applet comprises an applet client and an applet server, the applet client is installed on the terminal device, and the applet client and the applet server can communicate in any communication mode.
The above is a first implementation manner of the generation process of the program sharing request, and in this implementation manner, the sending user can achieve the purpose of sharing the applet to the receiving user on the applet running interface. Therefore, the sending user does not need to switch to the social platform client side from the applet running interface to share the applet information, operation steps of the sending user are saved, and operation efficiency of the sending user is improved.
In addition, the sending user may also forward the applet sharing information shared by other users (e.g., a third user) to the receiving user, or share the applet sharing information shared by other users (e.g., the third user) to the receiving user again. Based on this, an embodiment of the present application further provides a second implementation manner of a generation process of the program sharing request, and in this implementation manner, the generation process of the program sharing request may specifically be: and the social platform server generates a program sharing request according to the target message forwarding instruction triggered by the sending user. The target message is displayed in an interactive window between the third user and the sending user, and the target message carries the sharing information of the small programs. It should be noted that the target message may be information sent by the third user to the sending user, or may be information sent by the sending user to the third user.
In this embodiment, when a target message carrying applet sharing information exists in an interactive window between a third user and a sending user, if the sending user wants to share the applet to a receiving user, the sending user only needs to forward the target message carrying the applet sharing information displayed in the interactive window between the third user and the sending user to the receiving user; and the forwarding process specifically comprises: and the sending user triggers a target message forwarding instruction in an interactive window between a third user and the sending user, so that the social platform server generates a program sharing request according to the forwarding instruction, and a social platform client corresponding to the receiving user (and/or the sending user) can display the applet sharing information to the receiving user (and/or the sending user) according to the program sharing request sent by the social platform server. It should be noted that the forwarding instruction carries applet sharing information, a sending user identifier, and a receiving user identifier.
In this embodiment, the sending user may forward the existing target message carrying the applet sharing information in the other interactive windows to the social platform client corresponding to the receiving user by using the social platform server, so that the receiving user can view the applet sharing information in the interactive windows of the sending user and the receiving user. Therefore, the sending user can share the small programs without leaving the social platform, operation steps of the sending user are saved, and operation efficiency of the sending user is improved.
Based on the above generation process of the program sharing request, in the embodiment of the present application, after the social platform server generates the program sharing request by using any one of the above embodiments, the social platform server sends the program sharing request to the social platform client, so that the social platform client can display the applet sharing information in the interaction windows of the sending user and the receiving user based on the program sharing request.
S202: and the social platform client determines an information display format of the applet sharing information on the social platform client according to the applet sharing information and the system information of the social platform client.
The system information is used for representing installation or use related information of the social platform client installed on the terminal equipment, and the system information of the social platform client is associated with installation equipment of the social platform client, so that the system information of the social platform client installed on different terminal equipment is different.
The information display format is a format used for displaying the applet sharing information on the equipment provided with the social platform client; also, the information display format may include at least one of a picture display position, a picture display requirement, a text display position, a text display requirement, and an information display area. For example, the information display format is as shown in fig. 3.
The picture display position is used for representing the display position of the picture information in the applet sharing information in the interactive window, and the picture display position can be the actual display position of the picture or the relative position of the picture relative to a certain specific position (for example, the central point position of the information display area). In addition, the picture display requirement is used for recording the display requirement of the picture information in the applet sharing information in the interactive window, for example, the picture display requirement may include picture requirements of the shape, transparency, brightness, hue, size, and the like of the picture.
The text display position is used for representing the display position of the text information in the applet sharing information in the interactive window, and the text display position can be the actual display position of the text or the relative position of the text relative to a certain specific position (for example, the central point position of the information display area). In addition, the text display requirements are used for recording the display requirements of the text information in the applet sharing information in the interactive window, for example, the text display requirements may include text requirements such as word number limit of the text, font-related setting (for example, font type, font color or font size, etc.), display format (for example, whether to hide part of the text, word spacing, line spacing, word number per line, etc.), alignment manner, etc.
The information display area is used for representing display area information of the shared information of the small programs in the interactive window. For example, the information display area may be determined by using a position of a frame of the area, a position of a center and a position of an edge point, or a plurality of sub-areas, which is not specifically limited in this embodiment of the present application.
Different applets correspond different applets and share information, and it specifically is: the information types (for example, the information types can be texts, pictures and the like) included in the shared information of different applets are different. For example, some applet sharing information includes only text information, some applet sharing information includes only picture information, and some applet sharing information may include text information and picture information. And the essential contents of the shared information of different applets are different, so that the shared information of each applet can be used for introducing the related contents of the applet. And thirdly, different programs share different information corresponding to different typesetting. For example, some applet sharing information corresponds to typesetting of characters surrounding a picture, some applet sharing information corresponds to typesetting of characters on the right side of a left picture, some applet sharing information corresponds to typesetting of characters floating above the picture, and the like. Based on the information, the different applet sharing information is suitable for being displayed by adopting different information display formats. It should be noted that the information display formats corresponding to different applet sharing information may be preset, or may be automatically determined according to the applet sharing information (for example, determined according to a display format determination rule established in advance), which is not specifically limited in this embodiment of the present application.
In addition, the social platform clients installed on different types of devices have different system information (for example, the system information of the social platform client installed on the computer is different from and different from the system information of the social platform client installed on the mobile phone), so that the social platform clients with different system information are suitable for displaying information by adopting different information display formats (for example, the information display format of the social platform client installed on the computer is different from that of the social platform client installed on the mobile phone). It should be noted that the information display formats corresponding to the social platform clients with different system information may be preset, or may be automatically determined according to the applet sharing information (for example, determined according to a display format determination rule established in advance), which is not specifically limited in this embodiment of the present application.
Based on the two sections of analysis, in the embodiment of the application, after the social platform client receives the program sharing request, the social platform client needs to jointly determine the information display format of the applet sharing information on the social platform client according to the applet sharing information and the system information of the social platform client, so that the information display format is not only suitable for displaying the applet sharing information, but also suitable for displaying on the social platform client.
S203: and the social platform client displays the applet sharing information in a target window according to an information display format.
The target window is an interactive window determined according to the sending user identifier and the receiving user identifier, that is, the target window is an interactive window between the sending user and the receiving user. In addition, the target window may include: the sending user and the receiving user in the social platform client used by the sending user (such as the window shown in fig. 3) and/or the receiving user in the social platform client used by the receiving user (such as the window shown in fig. 4).
In the embodiment of the application, after the social platform client acquires the information display format, the social platform client needs to display the applet sharing information in the target window according to the information display format, so that a sending user or a receiving user can view the applet sharing information in the target window.
In addition, when the types of the information included in the applet sharing information are different, the step S203 may adopt different embodiments. For ease of understanding and explanation, the following description is made in conjunction with three embodiments of step S203.
As an embodiment, when the applet sharing information includes only the picture information, it is determined that the information display format includes only the picture display position, the picture display requirement, and the information display area, at this time, step S203 may specifically be: the social platform client displays the picture information in the applet sharing information at the picture display position in the target window according to the picture display requirement, and displays the applet sharing information in the information display area in the target window.
As a second implementation manner, when the applet sharing information only includes text information, it is determined that the information display format only includes a text display position, a text display requirement, and an information display area, at this time, step S203 may specifically be: the social platform client displays the text information in the applet sharing information at a text display position in the target window according to a text display requirement, and displays the applet sharing information in an information display area in the target window.
As a third implementation manner, when the applet sharing information includes text information and picture information, it is determined that the information display format includes a picture display position, a picture display requirement, a text display position, a text display requirement, and an information display area, and at this time, step S203 may specifically be: displaying the text information in the applet sharing information at a text display position in the target window according to a text display requirement, displaying the picture information in the applet sharing information at a picture display position in the target window according to a picture display requirement, and displaying the applet sharing information in an information display area in the target window.
In the embodiment, after the social platform client receives the program sharing request sent by the social platform server, an information display format of the applet sharing information on the social platform client is determined according to the applet sharing information carried in the program sharing request and system information of the social platform client; and displaying the applet sharing information in the target window according to the information display format so that a sending user and a receiving user can view the applet sharing information in the target window. The information display format is determined according to the system information of the social platform client, so that the information display format is suitable for information display on the device provided with the corresponding social platform client, different devices (such as mobile phones or desktop computers and the like) provided with the social platform client can display the applet sharing information according to the corresponding information display format, and a user can view the applet sharing information on the different devices.
It should be noted that the method for displaying applet sharing information provided in the embodiment of the present application may be applied to any terminal device, and this is not specifically limited in the embodiment of the present application. For example, the method for displaying the applet sharing information provided by the embodiment of the application can be applied to non-mobile terminal devices (e.g., computers, etc.), and can also be applied to mobile terminal devices (e.g., mobile phones, etc.).
In order to further understand and explain the method for displaying the applet sharing information provided in the embodiment of the present application, a second method embodiment is to integrally introduce the method for displaying the applet sharing information provided in the embodiment of the present application with reference to fig. 5 to 8. Fig. 5 is a flowchart of a display method applied to receiving applet sharing information of a social platform client used by a user according to an embodiment of the present disclosure; fig. 6 is a flowchart of a display method applied to send applet sharing information of a social platform client used by a user according to an embodiment of the present disclosure; fig. 7 is a schematic diagram of a communication system for sharing applets according to an embodiment of the present application; fig. 8 is a schematic view of a communication flow of applet sharing according to an embodiment of the present disclosure.
Method embodiment two
For the sake of brevity, the contents of the parts in the second method embodiment that are the same as those in the first method embodiment are not described herein again, and please refer to the relevant contents in the first method embodiment for the technical details of the parts that are the same.
As shown in fig. 5, an embodiment of the present application further provides a display method applicable to receiving applet sharing information of a social platform client used by a user, where when a queen (sending user) shares an applet with a lie (receiving user), the method includes steps S501 to S506:
s501: an applet sharing instruction is triggered by a wang on an applet client (e.g., a microblog on a cell phone).
S502: and the applet client sends the applet sharing instruction to a third-party server corresponding to the applet.
It should be noted that the third-party server corresponding to the applet is the applet server (as shown in fig. 7 and 8), and communication between the third-party server corresponding to the applet and the applet client is possible.
S503: the third-party server can generate a program forwarding request according to the applet sharing instruction and send the program forwarding request to the social platform server.
S504: and the social platform server generates a program sharing request according to the program forwarding request and sends the program sharing request to a social platform client used by the plum.
S505: and determining an information display format of the applet sharing information on the social platform client side used by the Li & ltle & gt according to the applet sharing information and the system information of the social platform client side used by the Li & ltle & gt.
The social platform client used in this embodiment of the present application may include at least one client, which is not particularly limited. For example, a social platform client used by lie may include a social platform client installed on a computer and/or a social platform client installed on a cell phone.
Based on this, if li only uses the social platform client installed on the computer, step S505 may specifically be: the social platform client installed on a computer used in li will need to determine the information display format of the applet sharing information on the social platform client according to the system information and the applet sharing information, so that the applet sharing information can be displayed in a window (such as a window shown in fig. 4) of the social platform client installed on the computer used in li according to the information display format. Therefore, the user can directly check the applet sharing information on the computer used by the user without switching to other equipment to check the applet sharing information.
If a certain social platform client installed on the mobile phone is used, step S505 may specifically be: the social platform client installed on the mobile phone used by li-a-se needs to determine the information display format of the applet sharing information on the social platform client according to the system information and the applet sharing information of the client, so that the applet sharing information can be displayed in the window of the social platform client installed on the mobile phone used by li-a-se according to the information display format. Therefore, the user can directly check the applet sharing information on the mobile phone used by the user without switching to other equipment to check the applet sharing information.
If li a user uses both the social platform client installed on the computer and the social platform client installed on the mobile phone, step S505 may specifically be: the method comprises the steps that a social platform client installed on a computer used in Li & lt & gt determines an information display format of applet sharing information on the social platform client according to system information and the applet sharing information of the social platform client, so that the applet sharing information can be displayed in a window of the social platform client installed on the computer used in Li & gt according to the information display format; meanwhile, the social platform client installed on the mobile phone used in li will need to determine the information display format of the applet sharing information on the social platform client according to the system information and the applet sharing information of the social platform client, so that the applet sharing information can be displayed in the window of the social platform client installed on the mobile phone used in li according to the information display format. Therefore, a user can directly view the applet sharing information on the computer used by the user and also can directly view the applet sharing information on the mobile phone used by the user, and convenience of viewing the applet sharing information by the user is improved.
S506: the social platform client used by lie is to display the applet sharing information in a target window (for example, a window shown in fig. 4) according to the information display format, so that lie can view the applet sharing information in the target window.
In the specific implementation manner of the displaying method of the applet sharing information, which is provided by the embodiment of the application and can be applied to the social platform client used by the user, in the implementation manner, the social platform client used by the user can determine the information display format of the applet sharing information in the target window according to the program sharing request sent by the social platform server, and can display the applet sharing information on at least one social platform client used by the user according to the information display format. Therefore, all the devices of the client side provided with the social platform and used by the receiving user can display the applet sharing information sent by the sending user, so that the receiving user can view the applet sharing information on any device of the client side provided with the social platform. Therefore, convenience of viewing the sharing information of the small program is improved for the user.
In addition, when the sending user sends a message to the receiving user, the social platform client used by the sending user can also display the message sent by the sending user. Based on this, as shown in fig. 6, an embodiment of the present application further provides a method for displaying applet sharing information that can be applied to a social platform client used by a sending user, where when a wang (sending user) shares an applet with a lie (receiving user), the method may specifically include steps S601 to S606:
s601: an applet sharing instruction is triggered by a wang on an applet client (e.g., a microblog on a cell phone).
S602: and the applet client sends the applet sharing instruction to a third-party server corresponding to the applet.
S603: the third-party server can generate a program forwarding request according to the applet sharing instruction and send the program forwarding request to the social platform server.
S604: and the social platform server generates a program sharing request according to the program forwarding request and sends the program sharing request to a social platform client used by Wangzhe.
S605: and the social platform client used by the Wangzao determines the information display format of the shared information of the applet on the social platform client used by the Wangzao according to the shared information of the applet and the system information of the social platform client used by the Wangzao.
The social platform client used by wangzhi may include at least one client, which is not specifically limited in this embodiment of the present application. For example, a social platform client used by wangto may include a social platform client installed on a computer and/or a social platform client installed on a cell phone.
Based on this, if a user uses only the social platform client installed on the computer, step S605 may specifically be: the social platform client installed on the computer used by wangzao needs to determine the information display format of the applet sharing information on the social platform client according to the system information and the applet sharing information, so that the applet sharing information can be displayed in a window (such as a window shown in fig. 3) of the social platform client installed on the computer used by wangzao according to the information display format. Therefore, the shared applet sharing information can be directly checked by the King worker on the computer used by the King worker, and the shared applet sharing information does not need to be checked by switching to other equipment.
If a user uses only the social platform client installed on the mobile phone, step S605 may specifically be: the social platform client installed on the mobile phone used by wangzao determines the information display format of the applet sharing information on the social platform client according to the system information and the applet sharing information, so that the applet sharing information can be displayed in the window of the social platform client installed on the mobile phone used by wangzao according to the information display format. Therefore, the shared applet sharing information can be directly checked by the King worker on the mobile phone used by the King worker, and the shared applet sharing information does not need to be checked by switching to other equipment.
If a user uses both the social platform client installed on the computer and the social platform client installed on the mobile phone, step S605 may specifically be: the method comprises the steps that a social platform client installed on a computer used by Wangzao determines an information display format of applet sharing information on the social platform client according to system information and the applet sharing information of the social platform client, so that the applet sharing information can be displayed in a window of the social platform client installed on the computer used by Wangzao according to the information display format; meanwhile, the social platform client installed on the mobile phone used by the king needs to determine the information display format of the applet sharing information on the social platform client according to the system information and the applet sharing information of the social platform client, so that the applet sharing information can be displayed in the window of the social platform client installed on the mobile phone used by the king according to the information display format. Therefore, the shared applet sharing information can be directly checked by the Wangzhi on the computer used by the Wangzhi and also can be directly checked by the mobile phone used by the Wangzhi, and the convenience of checking the shared applet sharing information by a user is improved.
S606: the social platform client used by the wang displays the applet sharing information in a target window (for example, the window shown in fig. 3) according to the information display format, so that the wang can view the applet sharing information in the target window.
In the embodiment, the social platform client used by the sending user can determine the information display format of the applet sharing information in the target window according to the program sharing request sent by the social platform server, and can display the applet sharing information on at least one social platform client used by the sending user according to the information display format. Therefore, all the devices used by the sending user and provided with the social platform client can display the applet sharing information sent by the sending user, so that the sending user can check the applet sharing information on any device provided with the social platform client. Therefore, convenience of viewing the sharing information of the small program is improved for the user.
It should be noted that, the method for displaying applet sharing information provided in the embodiment of the present application may be applied to a social platform client, and the social platform client may be installed on various terminal devices, so that the method for displaying applet sharing information provided in the embodiment of the present application may be executed on various terminal devices installed with the social platform client.
Based on the method for displaying the applet sharing information provided by the method embodiment, the application further provides a corresponding device for displaying the applet sharing information, so that the method for displaying the applet sharing information provided by the method embodiment is practically applied and realized.
Device embodiment
It should be noted that, in the technical details of the display apparatus for displaying applet sharing information provided in this embodiment, reference may be made to the display method for displaying the applet sharing information provided in the foregoing method embodiment.
Referring to fig. 9, which is a schematic structural diagram of a display device for sharing information by applets according to an embodiment of the present application.
The display device 900 for sharing information by applets provided by the embodiment of the application includes:
a receiving unit 901, configured to receive a program sharing request sent by a social platform server; the program sharing request carries small program sharing information, a sending user identifier and a receiving user identifier;
a determining unit 902, configured to determine, according to the applet sharing information and the system information of the social platform client, an information display format of the applet sharing information on the social platform client;
a display unit 903, configured to display the applet sharing information in a target window according to the information display format; the target window is an interactive window determined according to the sending user identification and the receiving user identification.
Optionally, on the basis of the display apparatus 900 for sharing information by applets shown in fig. 9, the information display format includes at least one of a picture display position, a picture display requirement, a text display position, a text display requirement, and an information display area.
Optionally, on the basis of the display device 900 for sharing information with applets shown in fig. 9, the display unit 903 is specifically configured to: if the information display format comprises a picture display position, a picture display requirement, a text display position, a text display requirement and an information display area, displaying the text information in the applet sharing information at the text display position in the target window according to the text display requirement, displaying the picture information in the applet sharing information at the picture display position in the target window according to the picture display requirement, and displaying the applet sharing information at the information display area in the target window.
Optionally, on the basis of the display apparatus 900 for sharing information with an applet shown in fig. 9, the process of generating the program sharing request includes:
the social platform server generates a program sharing request according to a program forwarding request sent by a third-party server; the third-party server is used for providing application services of the small programs; the program forwarding request is generated by the third-party server according to an applet sharing instruction triggered by a sending user;
or the like, or, alternatively,
the social platform server generates a program sharing request according to a target message forwarding instruction triggered by a sending user; and the target message is displayed in an interactive window between a third user and the sending user, and the target message carries the applet sharing information.
Optionally, on the basis of the display device 900 for sharing information by an applet shown in fig. 9, the social platform client includes a client corresponding to the sending user identifier and/or a client corresponding to the receiving user identifier.
Optionally, on the basis of the applet information sharing display apparatus 900 shown in fig. 9, the social platform client is installed on a non-mobile device.
Optionally, on the basis of the display device 900 for sharing information by applets shown in fig. 9, the social platform is WeChat; and/or the user identification is a user account.
In the display device 900 for sharing information of an applet, which is provided in the above-described embodiment of the apparatus, after a social platform client receives a program sharing request sent by a social platform server, an information display format of the applet sharing information on the social platform client is determined according to the applet sharing information carried in the program sharing request and system information of the social platform client; and displaying the applet sharing information in the target window according to the information display format so that a sending user and a receiving user can view the applet sharing information in the target window. The information display format is determined according to the system information of the social platform client, so that the information display format is suitable for information display on the device provided with the corresponding social platform client, different devices (such as mobile phones or desktop computers and the like) provided with the social platform client can display the applet sharing information according to the corresponding information display format, and a user can view the applet sharing information on the different devices.
The embodiment of the present application further provides a terminal device for displaying the applet sharing information, and the terminal device for displaying the applet sharing information provided in the embodiment of the present application will be introduced from the perspective of hardware materialization.
Referring to fig. 10, a schematic structural diagram of a terminal device provided in an embodiment of the present application is shown. For convenience of explanation, only the parts related to the embodiments of the present application are shown, and details of the specific technology are not disclosed. The terminal may be any terminal device including a mobile phone, a tablet computer, a Personal Digital Assistant (PDA, for short, in english), a Sales terminal (POS, for short, in english), a vehicle-mounted computer, and the like, where the terminal is the tablet computer:
fig. 10 is a block diagram illustrating a partial structure of a tablet computer related to a terminal provided in an embodiment of the present application. Referring to fig. 10, the tablet computer includes: radio Frequency (RF) circuit 1010, memory 1020, input unit 1030, display unit 1040, sensor 1050, audio circuit 1060, wireless fidelity (WiFi) module 1070, processor 1080, and power source 1090. Those skilled in the art will appreciate that the tablet configuration shown in fig. 10 is not intended to be a limitation of a tablet and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The memory 1020 can be used for storing software programs and modules, and the processor 1080 executes various functional applications and data processing of the tablet computer by operating the software programs and modules stored in the memory 1020. The memory 1020 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the stored data area may store data (such as audio data, a phonebook, etc.) created according to the use of the tablet computer, and the like. Further, the memory 1020 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 1080 is a control center of the tablet pc, and is connected to various parts of the entire tablet pc through various interfaces and lines, and executes various functions of the tablet pc and processes data by running or executing software programs and/or modules stored in the memory 1020 and calling data stored in the memory 1020, thereby integrally monitoring the tablet pc. Optionally, processor 1080 may include one or more processing units; preferably, the processor 1080 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1080.
In the embodiment of the present application, the processor 1080 included in the terminal further has the following functions:
receiving a program sharing request sent by a social platform server; the program sharing request carries small program sharing information, a sending user identifier and a receiving user identifier;
determining an information display format of the applet sharing information on the social platform client according to the applet sharing information and the system information of the social platform client;
displaying the small program sharing information in a target window according to the information display format; the target window is an interactive window determined according to the sending user identification and the receiving user identification.
Optionally, the processor 1080 is further configured to execute the steps of any implementation manner of displaying the applet sharing information provided in the embodiment of the present application.
An embodiment of the present application further provides a computer-readable storage medium, configured to store a computer program, where the computer program is configured to execute any one implementation manner of displaying shared information of applets in the foregoing embodiments.
Embodiments of the present application further provide a computer program product including instructions, which when run on a computer, enable the computer to execute any one implementation manner of displaying the applet sharing information according to the foregoing embodiments.
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 manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, 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.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing computer programs.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting 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 such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (8)

1. The method for displaying the shared information of the small programs is applied to a social platform client, the social platform client is installed on a non-mobile device, and the method comprises the following steps:
receiving a program sharing request sent by a social platform server; the program sharing request carries small program sharing information, a sending user identifier and a receiving user identifier;
determining an information display format of the applet sharing information on the social platform client according to the applet sharing information and the system information of the social platform client, wherein the information display format comprises at least one of a picture display position, a picture display requirement, a text display position, a text display requirement and an information display area, the information display format is determined according to system information of the social platform client, so that the information display format is suitable for information display on a device provided with a corresponding social platform client, the system information is used for characterizing installation or use related information of a social platform client installed on a terminal device, the system information of the social platform client is associated with an installation device of the social platform client, the information display format is a format used for displaying the applet sharing information on the equipment provided with the social platform client;
displaying the small program sharing information in a target window according to the information display format; the target window is an interactive window determined according to the sending user identification and the receiving user identification.
2. The method according to claim 1, wherein if the information display format includes a picture display position, a picture display requirement, a text display position, a text display requirement, and an information display area, the displaying the applet sharing information in a target window according to the information display format specifically includes:
displaying the text information in the applet sharing information at a text display position in a target window according to a text display requirement, displaying the picture information in the applet sharing information at a picture display position in the target window according to a picture display requirement, and displaying the applet sharing information in an information display area in the target window.
3. The method according to claim 1, wherein the generating of the program sharing request comprises:
the social platform server generates a program sharing request according to a program forwarding request sent by a third-party server; the third-party server is used for providing application services of the small programs; the program forwarding request is generated by the third-party server according to an applet sharing instruction triggered by a sending user;
or the like, or, alternatively,
the social platform server generates a program sharing request according to a target message forwarding instruction triggered by a sending user; and the target message is displayed in an interactive window between a third user and the sending user, and the target message carries the applet sharing information.
4. The method of claim 1, wherein the social platform client comprises a client corresponding to the sending user identifier and/or a client corresponding to the receiving user identifier.
5. The method of claim 1, wherein the social platform is WeChat; and/or the user identification is a user account.
6. The utility model provides a display device of applet sharing information which is applied to social platform client, social platform client installs on non-mobile device, includes:
the receiving unit is used for receiving a program sharing request sent by a social platform server; the program sharing request carries small program sharing information, a sending user identifier and a receiving user identifier;
a determining unit, configured to determine an information display format of the applet sharing information on the social platform client according to the applet sharing information and system information of the social platform client, where the information display format includes at least one of a picture display position, a picture display requirement, a text display position, a text display requirement, and an information display area, the information display format is determined according to the system information of the social platform client, so that the information display format is suitable for displaying information on a device on which the corresponding social platform client is installed, the system information is used to represent installation or use related information of the social platform client installed on a terminal device, the system information of the social platform client is associated with an installation device of the social platform client, and the information display format is a format used by the social platform client to display the applet sharing information on the device on which the social platform client is installed (ii) a
The display unit is used for displaying the applet sharing information in a target window according to the information display format; the target window is an interactive window determined according to the sending user identification and the receiving user identification.
7. An apparatus, comprising a processor and a memory:
the memory is used for storing a computer program;
the processor is configured to perform the method of any of claims 1-5 in accordance with the computer program.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium is used to store a computer program for performing the method of any of claims 1-5.
CN201910989166.3A 2019-10-17 2019-10-17 Display method, device and equipment for sharing information of small programs and storage medium Active CN112688851B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910989166.3A CN112688851B (en) 2019-10-17 2019-10-17 Display method, device and equipment for sharing information of small programs and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910989166.3A CN112688851B (en) 2019-10-17 2019-10-17 Display method, device and equipment for sharing information of small programs and storage medium

Publications (2)

Publication Number Publication Date
CN112688851A CN112688851A (en) 2021-04-20
CN112688851B true CN112688851B (en) 2022-07-08

Family

ID=75444556

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910989166.3A Active CN112688851B (en) 2019-10-17 2019-10-17 Display method, device and equipment for sharing information of small programs and storage medium

Country Status (1)

Country Link
CN (1) CN112688851B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102495A (en) * 2014-07-31 2014-10-15 广州华多网络科技有限公司 Window display method and device
CN108011968A (en) * 2017-12-14 2018-05-08 深圳天珑无线科技有限公司 The method, terminal and computer-readable recording medium of message are shared in display
CN110061908A (en) * 2019-04-30 2019-07-26 上海连尚网络科技有限公司 Application program recommendation, device, electronic equipment and medium
CN110086877A (en) * 2019-04-30 2019-08-02 上海连尚网络科技有限公司 Application program sharing, sharing information display methods, device, equipment and medium
CN110098998A (en) * 2019-04-30 2019-08-06 上海掌门科技有限公司 Method and apparatus for handling information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10785178B2 (en) * 2016-10-04 2020-09-22 Facebook, Inc. In-application notifications

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104102495A (en) * 2014-07-31 2014-10-15 广州华多网络科技有限公司 Window display method and device
CN108011968A (en) * 2017-12-14 2018-05-08 深圳天珑无线科技有限公司 The method, terminal and computer-readable recording medium of message are shared in display
CN110061908A (en) * 2019-04-30 2019-07-26 上海连尚网络科技有限公司 Application program recommendation, device, electronic equipment and medium
CN110086877A (en) * 2019-04-30 2019-08-02 上海连尚网络科技有限公司 Application program sharing, sharing information display methods, device, equipment and medium
CN110098998A (en) * 2019-04-30 2019-08-06 上海掌门科技有限公司 Method and apparatus for handling information

Also Published As

Publication number Publication date
CN112688851A (en) 2021-04-20

Similar Documents

Publication Publication Date Title
US20180270180A1 (en) Method and device for displaying notification message and mobile terminal
CN104092644A (en) Interaction method, device, client and server
CN105808305B (en) Static resource loading method and device
CN110545236A (en) Instant messaging message modification method and device, storage medium and electronic equipment
CN111183441A (en) Information processing method, information processing apparatus, and information processing program
WO2018176297A1 (en) Multi-window displaying apparatus and method and mobile electronic equipment
CN111554382A (en) Medical image processing method and device, electronic equipment and storage medium
CN109101306B (en) Sharing method, sharing device, terminal and computer readable storage medium
CN114528816B (en) Collaborative editing information display method and device, electronic equipment and readable medium
CN106998493B (en) Video previewing method and device
CN107710136A (en) Communication terminal, management system, communication system, display methods and program
CN114707472A (en) Method and device for field merging and electronic equipment
CN105245438B (en) Content sharing method, device and system
CN114666048A (en) Data processing method and device, electronic equipment and storage medium
CN112688851B (en) Display method, device and equipment for sharing information of small programs and storage medium
CN106411718B (en) Data synchronization method and device based on instant messaging application
CN102984676B (en) Method and terminal for processing message session
CN112947918A (en) Data display method and device
CN110708238B (en) Method and apparatus for processing information
CN111526084A (en) Information processing method, device, equipment and storage medium
CN113284174A (en) Method and device for processing pictures
CN112965778B (en) Chat page display method, chat page display device, electronic equipment and computer readable medium
CN113835809B (en) Hiding method and device
CN113766437B (en) Short message sending method and device
CN109710254B (en) Page view construction method and device and storage medium

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40041976

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant