CN116684369A - Expression sharing method and device, storage medium and computer equipment - Google Patents
Expression sharing method and device, storage medium and computer equipment Download PDFInfo
- Publication number
- CN116684369A CN116684369A CN202310650562.XA CN202310650562A CN116684369A CN 116684369 A CN116684369 A CN 116684369A CN 202310650562 A CN202310650562 A CN 202310650562A CN 116684369 A CN116684369 A CN 116684369A
- Authority
- CN
- China
- Prior art keywords
- expression
- package
- sharing
- expression set
- resource address
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000014509 gene expression Effects 0.000 title claims abstract description 790
- 238000000034 method Methods 0.000 title claims abstract description 60
- 238000005538 encapsulation Methods 0.000 claims description 8
- 238000010276 construction Methods 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 6
- 238000012545 processing Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 17
- 230000006870 function Effects 0.000 description 7
- 238000004806 packaging method and process Methods 0.000 description 6
- 238000001514 detection method Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000008451 emotion Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
- H04L51/10—Multimedia information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/48—Message addressing, e.g. address format or anonymous messages, aliases
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the application discloses a method, a device, a storage medium and computer equipment for sharing expressions, wherein the method comprises the following steps: receiving an expression set sharing message sent by an expression set sharing party, wherein the expression set sharing message carries a resource address of a package body of the expression set and identity information of the sharing party; constructing a package access request of the expression set based on the resource address of the package and the identity information of the sharing party; requesting a server to download the package of the expression set through the package access request of the expression set; when receiving the package body of the expression set returned by the server based on the package body access request of the expression set, analyzing the package body of the expression set, and adding the expression in the expression set. Through the form of the package body of the expression set of the package body of the package of the expression, after the package body is analyzed, the expressions in the expression set are directly added, the expressions in the expression package can be added in batches, the addition one by one is avoided, and the operation efficiency is improved.
Description
Technical Field
The present application relates to the field of computers, and in particular, to a method and apparatus for sharing expressions, a computer readable storage medium, and a computer device.
Background
Expression is a special picture that typically exists as part of an instant messaging system (Instant Messaging, IM), managed by an expression module, and shared among users of the system. Each user in the expression module usually has an own expression list, comprises a plurality of system expression package groups and a custom collection group, can express and transmit information and emotion by sending a certain expression in the own group when communicating with other users, and plays an important role in an IM system.
In the prior art, a user wants to add a group of expressions, which can only be realized by downloading an expression package. Of course, if some pictures of the user want to be shared as expressions to others, the pictures are also needed to be sent after being sent in one Zhang Tianjia expression, and the receiver can only collect the expression singly. Of course part of the expression system also supports adding pictures sent by others as expressions directly, but is always a hurdle to the individual adding operations.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
In the research and practice process of the prior art, the inventor discovers that the expression in the expression package can only be added one by one aiming at the addition of the expression package in the prior art, and the operation efficiency is low.
The embodiment of the application provides a method and a device for sharing expressions, which can add expressions in an expression package in batches, avoid adding the expressions one by one and improve the operation efficiency.
In order to solve the technical problems, the embodiment of the application provides the following technical scheme:
an expression sharing method comprises the following steps:
receiving an expression set sharing message sent by an expression set sharing party, wherein the expression set sharing message carries a resource address of a package body of the expression set and identity information of the sharing party;
constructing a package access request of the expression set based on the resource address of the package and the identity information of the sharing party;
requesting a server to download the package of the expression set through the package access request of the expression set;
when receiving the package of the expression set returned by the server based on the package access request of the expression set, analyzing the package of the expression set, and adding the expression in the expression set.
The utility model provides a sharing device of expression which characterized in that includes:
responding to an expression set sharing control operation, and determining the expression selected by the expression set sharing control operation;
constructing a package of the expression set based on the resource address corresponding to each expression and the identity information of the sharing party sharing the expression;
generating a resource address of the package of the expression set for the package of the expression set;
and generating an expression set sharing message based on the resource address of the package body and the identity information of the sharing party, and sending the expression set sharing message to a receiving party.
An expression sharing device, comprising:
the expression collection sharing system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving an expression collection sharing message sent by an expression collection sharing party, and the expression collection sharing message carries a resource address of a package body of the expression collection and identity information of the sharing party;
the first construction module is used for constructing a package access request of the expression set based on the resource address of the package and the identity information of the sharing party;
the request module is used for requesting the server to download the package body of the expression set through the package body access request of the expression set;
And the adding module is used for analyzing the package of the expression set and adding the expression in the expression set when receiving the package of the expression set returned by the server based on the package access request of the expression set.
An expression sharing device, comprising:
the determining module is used for responding to the expression set sharing control operation and determining the expression selected by the expression set sharing control operation;
the second construction module is used for constructing a package body of the expression set based on the resource address corresponding to each expression and the identity information of the sharing party sharing the expression;
the first generation module is used for generating the resource address of the package body of the expression set for the package body of the expression set;
and the second generation module is used for generating an expression set sharing message based on the resource address of the package body and the identity information of the sharing party, and sending the expression set sharing message to a receiving party.
A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the expression sharing method described above.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the expression sharing method as described above when the program is executed.
According to the embodiment of the application, the expression set sharing message sent by the expression set sharing party is received, and the expression set sharing message carries the resource address of the package body of the expression set and the identity information of the sharing party; constructing a package access request of the expression set based on the resource address of the package and the identity information of the sharing party; requesting a server to download the package of the expression set through the package access request of the expression set; when receiving the package of the expression set returned by the server based on the package access request of the expression set, analyzing the package of the expression set, and adding the expression in the expression set. On the one hand, the expressions in the expression set can be directly added after the package body is analyzed by packaging the plurality of expressions into the package body of the expression set, so that the expressions in the expression package can be added in batches, the gradual addition is avoided, and the operation efficiency is improved; on the other hand, based on the identity information of the sharing party of the package and the identity information of the first sharing party of the package, whether the expression set is shared by the first sharing party or not can be verified, if not, the expression set is forbidden to be acquired, and the integrity of the expression set is ensured.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1a is a schematic diagram of a system for sharing expressions according to an embodiment of the present application.
Fig. 1b is a flowchart illustrating a method for sharing expressions according to an embodiment of the present application.
Fig. 1c is a first schematic diagram of a chat interface according to an embodiment of the application.
Fig. 1d is a second schematic diagram of a chat interface according to an embodiment of the application.
Fig. 1e is a third schematic diagram of a chat interface according to an embodiment of the application.
Fig. 1f is a fourth schematic diagram of a chat interface according to an embodiment of the application.
Fig. 2a is a schematic diagram of a first structure of an expression sharing device according to an embodiment of the present application;
fig. 2b is a schematic diagram of a second structure of the expression sharing device according to the embodiment of the present application;
fig. 3 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
The embodiment of the application provides an expression sharing method, an expression sharing device, a storage medium and computer equipment. Referring to fig. 1a, fig. 1a is a system schematic diagram of an expression sharing method according to an embodiment of the application. The system may include at least two computer devices 1000, at least one server 2000, at least one database 3000, and a network 4000. Users can be divided into a sharing party for sharing expressions and a receiving party for receiving expressions in the expression sharing scene, and the corresponding computer equipment 1000 is correspondingly divided into a sharing party client and a receiving party client. The held computer device 1000 may be connected to a server 2000 through a network 4000. The server 2000 is any device having computing hardware capable of supporting and executing software products corresponding to the games. The computer device 1000 has one or more multi-touch sensitive screens for sensing and obtaining input from a user through touch or slide operations performed at multiple points of one or more touch sensitive display screens. In addition, when the system includes a plurality of computer devices 1000, a plurality of servers 2000, and a plurality of networks 4000, different computer devices 1000 may be connected to different servers 2000 through different networks 4000. The network 4000 may be a wireless network or a wired network, such as a Wireless Local Area Network (WLAN), a Local Area Network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. In addition, the different computer devices 1000 may be connected to other terminals or connected to the server 2000 using their own bluetooth network or hotspot network. For example, multiple users may be online through different computer devices 1000 so as to be connected through an appropriate network and synchronized with each other to support multi-user gaming. In addition, the system may include a plurality of databases 3000, the plurality of databases 3000 being coupled to different servers 2000, and information related to game environments may be continuously stored in the databases 3000 when different users play multi-user games online.
It should be noted that, the system schematic diagram of the expression sharing system shown in fig. 1a is only an example, and the expression sharing system and the scenario described in the embodiments of the present application are for more clearly describing the technical solution of the embodiments of the present application, and do not constitute a limitation on the technical solution provided by the embodiments of the present application, and those skilled in the art can know that, with the evolution of the expression sharing system and the appearance of a new service scenario, the technical solution provided by the embodiments of the present application is equally applicable to similar technical problems.
In this embodiment, description will be made from the perspective of an expression sharing device, which may be integrated in a computer device having a storage unit and a microprocessor mounted thereon and having an operation capability.
Referring to fig. 1b, fig. 1b is a flowchart illustrating a method for sharing expressions, which is applied to a receiving client according to an embodiment of the present application. The expression sharing method comprises the following steps:
in step 101, an expression set sharing message sent by an expression set sharing party is received, where the expression set sharing message carries a resource address of a package of the expression set and identity information of the sharing party.
Fig. 1c is a schematic diagram of a chat interface according to an embodiment of the application, as shown in fig. 1 c. An expression set sharing message sent by an expression set sharing party (e.g., user AAA in fig. 1 c) is received, which may be displayed with the sharing party of the message (e.g., user AAA in fig. 1 c) and the receiving party of the message (e.g., user BBB in fig. 1 c).
Specifically, the expression set sharing message carries the resource address of the package body of the expression set and the identity information of the sharing party. The package of the expression set is an xml file temporarily generated by the server when the sharing party shares the expression set. The resource address is the url address of the xml file. The identity information of the sharing party may be a unique identifier representing the identity of the sharing party, such as an id of the sharing party, a nickname, or a device identifier of a client used by the sharing party, which is not limited herein.
The package of the expression set may include identity information of the sharing party, for example, "xxx@xx.com". And the expression group name to which each expression belongs and the resource address corresponding to the expression; for example, the url address corresponding to the expression group name "my collection" lower expression "44".
In step 102, a package access request of the expression set is constructed based on the resource address of the package and the identity information of the sharing party.
When the receiving user performs a touch operation on the expression set sharing message (for example, clicks on the expression set sharing message in fig. 1 c), an access request for accessing the package of the expression set may be constructed according to the resource address of the package carried by the expression set sharing message and the identity information of the sharing party, where the access request is used to request downloading of the package of the expression set from the server.
Specifically, the manner of constructing the package access request of the expression set may be: and splicing the resource address of the package body and the identity information of the sharing party, so as to construct an access link, and accessing the server through the access link, thereby requesting to download the package body of the expression set.
For example, the resource address of the package is "https:// www.123abcx.com", the identity information of the sharing party is "AAA", and the spliced access link may be "https:// www.123abcx.comAAA" or "https:// aaaww.123abcx.com", and the specific splicing manner is not limited herein.
In step 103, the package of the expression set is requested to be downloaded from the server through the package access request of the expression set.
After the package access request of the expression set is constructed. For example, access links, by which packages of the expression set can be downloaded from a server.
In some embodiments, the step of requesting the server to download the package of the expression set through the package access request of the expression set includes:
(1) Requesting a server to download the package of the expression set through the package access request of the expression set;
(2) Triggering the server to verify whether the identity information of the sharing party in the package access request of the expression set is the identity information of the first sharing party which is included in the package of the expression set and is used for first sharing the expression set;
(3) And if the identity information of the sharing party is the identity information of the first sharing party, returning to the package body of the expression set.
In order to avoid that the original expression package sharing party forwards the expression package to other people for adding the expression after sharing the expression package to other people, when the downloading of the encapsulation body of the expression set is requested to the server through the encapsulation body access request of the expression set, the server is required to verify whether the access request of the encapsulation body of the expression set is the access request generated by the expression package sharing party or not.
Specifically, when the expression set is packaged, the identity information of the sharing party of the expression set, namely the first sharing party, is packaged in the package, so that the server can compare whether the identity information of the sharing party used for constructing the access request at this time is identical with the identity information of the first sharing party. If the request is the same, the request is shared to the receiver by the first sharing party, so that verification is passed, and the package body of the expression package is allowed to be downloaded; if the access requests are different, the access requests are not shared for the first time (namely, the first time is shared by other people after the first time is shared by other people) to be shared by the receiver, and downloading of the package of the expression package is forbidden.
In some embodiments, the resource address of the package is marked with a first sharing timestamp for first sharing the expression set, and the step of constructing the package access request of the expression set based on the resource address of the package and the identity information of the sharing party includes:
constructing a package access request of the expression set based on the resource address of the package, the first sharing time stamp and the identity information of the sharing party;
After the step of triggering the server to verify whether the identity information of the sharing party in the package access request of the expression set is the identity information of the first sharing party of the package of the expression set, the method further comprises:
(1) Triggering the server to verify whether the package of the expression set exceeds the validity period based on a receiving timestamp of the package access request of the expression set and the first sharing timestamp;
(2) And if the package body of the expression set is verified to not exceed the valid period, returning the package body of the expression set.
In order to avoid storage pressure caused by the package body of the expression set stored by the server for a long time, when the resource address of the package body of the expression set is generated, a first sharing timestamp for first sharing the expression set is marked for the resource address. When the time difference between the current time of the server and the time recorded by the first sharing time stamp is larger than the designated time difference (for example, one week), the server automatically deletes the package of the expression set.
Specifically, the server may further verify whether the recipient can download the package of the expression set according to the first sharing timestamp of the resource address label. After triggering the server to verify whether the identity information of the sharing party in the package access request of the expression set is the identity information of the first sharing party for sending the package of the expression set for the first time, the server can be triggered to verify whether the package of the expression set exceeds the validity period based on the receiving timestamp of the package access request of the expression set and the first sharing timestamp. If the valid period is not exceeded, returning to the packaging body of the expression set of the receiver; if the expiration date is exceeded, the package of the expression set is also automatically cleaned in the server, so that the receiver cannot download the package of the expression set from the server.
For example, the receiving timestamp of the package access request of the expression set received by the server is 2023,5,16,13:00, and the first sharing timestamp of the resource address label of the package of the expression set is 2023,5,10,12:00. If the validity period is one week, it can be determined that the validity period exceeds one week, and the package body of the expression set cannot be downloaded.
In step 104, when receiving the package of the expression set returned by the server based on the package access request of the expression set, analyzing the package of the expression set, and adding the expression in the expression set.
When receiving the package of the expression set returned by the server based on the package access request of the expression set, the package is a file obtained by packaging the expression set, so that the package of the expression set needs to be analyzed, and the expression in the expression set is added.
In some embodiments, the package of the expression set includes a resource address of each expression in the expression set, the step of parsing the package of the expression set and adding the expression in the expression set includes:
(1) Analyzing the package body of the expression set, and analyzing the resource address of each expression in the expression set from the package body of the expression set;
(2) And downloading each expression based on the resource address of each expression, and adding each expression.
The package body of the expression set comprises a resource address corresponding to each expression, so that after the resource address of each expression in the package body of the expression set is resolved, each expression is downloaded through the resource address of each expression, and each expression is added.
In some embodiments, each expression in the package of the expression set is marked with a second group name of the expression group, and the step of downloading each expression based on the resource address of each expression and adding each expression includes:
(1.1) acquiring a first grouping name corresponding to the owned expression grouping and acquiring a second grouping name of the expression grouping marked in the package body of the expression set;
(1.2) comparing the first packet name to the second packet name;
(1.3) if the first target packet name is the same as the first packet name in the second packet name, adding the expression marking the first target packet name into the expression packet corresponding to the first packet name which is the same as the first target packet name.
The expression package based on the prior art is generally different from other expressions or expression packages in a single grouping mode, so if an updated expression in an original expression package exists in the expression set, a first grouping name corresponding to the acquired expression package owned by the receiver is compared with a second grouping name of the expression package marked in the encapsulation body of the expression set. If the group name of the expression group owned by the receiver is the same as the group name (first target group name) of the expression group marked in the encapsulation body of the expression set, the expression marked with the first target group name can be added into the expression group corresponding to the first group name which is the same as the first target group name.
For example, if there is an expression group with the second group name "vcl", if there is an expression group with the first group name "vcl" in the expression group already owned by the receiving party, the expression labeled "vcl" in the package of the expression set is added to the expression group of "vcl" of the receiving party.
In some embodiments, the method further comprises:
(1.1) if there is a second target packet name in the second packet name that is different from the first packet name, creating an expression packet based on the second target packet name;
(1.2) adding an expression marking the second target group name to the created expression group.
And if the second target group name is different from the first group name in the second group name, indicating that the expression group with the second target group name does not exist in the expression group owned by the receiver. A new expression group can thus be created and named with the name of the second target group name. Adding the expression marking the second target group name to the created expression group.
In some embodiments, the expression set sharing message has a corresponding expression adding control and an expression previewing control, and before the step of constructing the package access request of the expression set based on the resource address of the package and the identity information of the sharing party, the method further includes:
Responding to the control operation of the expression adding control or the expression previewing control, and executing the step of constructing an expression set package access request based on the resource address of the package and the identity information of the sharing party;
after the step of parsing the package of the expression set, the method further includes:
(1) Determining a target control aimed by the control operation from the expression adding control and the expression preview control;
(2) And if the target control is the expression adding control, executing the step of adding the expression in the expression set.
Fig. 1d is a second schematic diagram of a chat interface according to an embodiment of the application, as shown in fig. 1 d. The receiver generally checks whether the expression in the expression set is liked or not before adding the expression in the expression set, and because the expression set sharing message of the application cannot be used for the receiver to preview the expression in the expression set, two controls are set for the expression set sharing message, namely the expression adding control 10 and the expression previewing control 20. The receiver can perform control operation on the expression adding control 10 or the expression previewing control 20 of the expression collection sharing message, so that corresponding functions are realized.
Specifically, when a control operation of the receiver for any one of the expression adding control 10 and the expression previewing control 20 is responded, a step of constructing an expression set package access request based on the resource address of the package and the identity information of the sharing party is executed. And after the step of parsing the package of the expression set, if the control operation of the receiving party is directed to the expression adding control 10, executing the step of adding the expression in the expression set.
In some embodiments, the method further comprises:
(1) If the target control is the expression preview control, acquiring a first expression quantity of the expressions in the expression set;
(2) And generating a corresponding number of preview windows based on the first expression number so as to show an expression in each preview window.
After the step of parsing the package of the expression set, if the control operation of the receiver is directed to the expression preview control 20 and the expressions in the expression set are not grouped, acquiring a first expression number of the expressions in the expression set; and generating a corresponding number of preview windows according to the first expression number, and displaying an expression in one preview window.
For example, fig. 1e shows a third schematic diagram of a chat interface according to an embodiment of the application. When the receiver performs control operation on the expression preview control 20, the number of first expressions in the expression set is 4, 4 preview windows are generated, and an expression, for example, expression 1, expression 2, expression 3, and expression 4 in fig. 1e, is displayed in each preview window.
In some embodiments, each expression in the package of the expression set is marked with a second group name of the associated expression group, the method further comprising:
(1) Determining the name quantity of the second group names, and determining the second expression quantity of expressions corresponding to each second group name according to the marks;
(2) Generating a preview window based on the number of names and the second expression number of expressions corresponding to each second packet name;
(3) And displaying the expressions corresponding to the second packet names in the preview window corresponding to the second packet names.
If each expression in the package of the expression set is marked with a second grouping name of the corresponding expression group, namely the expressions in the expression set are already grouped, determining the name number of the second grouping names, and determining the second expression number of the expressions corresponding to each second grouping name according to the marks; generating a preview window based on the number of names and the second expression number of expressions corresponding to each second packet name; and displaying the expressions corresponding to the second packet names in the preview window corresponding to the second packet names.
For example, as shown in fig. 1f, fig. 1f is a fourth schematic diagram of a chat interface according to an embodiment of the application. If the package body of the expression set comprises a group name 1 and a group name 2, the name number of the second group name is 2, the expressions of the expression group belonging to the group name 1 in the package body of the expression set are two, the expressions of the expression group belonging to the group name 2 in the package body of the expression set are three, a preview window shown in fig. 1f is generated according to the name number 2 and the second expression number of the expressions corresponding to each second group name, and the expressions 1 and the expressions 2 belonging to the group name 1 are respectively displayed in the two preview windows under the group name 1; expression 3, expression 4 and expression 5 belonging to "group name 2" are displayed in three preview windows under "group name 2", respectively.
In some embodiments, the embodiment of the present application further provides a method for sharing an expression, which is applied to a client of a sharing party, and includes:
(1) Responding to an expression set sharing control operation, and determining the expression selected by the expression set sharing control operation;
(2) Constructing a package of the expression set based on the resource address corresponding to each expression and the identity information of the sharing party sharing the expression;
(3) Generating a resource address of the package of the expression set for the package of the expression set;
(4) And generating an expression set sharing message based on the resource address of the package body and the identity information of the sharing party, and sending the expression set sharing message to a receiving party.
In the expression set sharing stage, the sharing party can select the expression expected to be shared from the owned expressions as the expression set during sharing, and share the expression set. And when the sharing party performs the sharing control operation, determining the expression selected by the sharing party. Because each expression corresponds to a resource address, the resource address corresponding to each expression is constructed into a package body of the expression set, and because the server verifies the identity information of the sharing party in the expression adding stage, the identity information of the sharing party sharing the expression needs to be packaged into the package body. And generates a resource address for the enclosure. And the chat system generates an expression set sharing message based on the resource address of the package body and the identity information of the sharing party, and sends the expression set sharing message to the receiving party.
In some embodiments, after the step of generating the resource address of the package of the expression set for the package of the expression set, the method further includes:
And marking a first sharing time stamp for first sharing the expression set for the resource address of the package body of the expression set.
The server verifies the validity period of the expression set in the expression adding stage, so that the first sharing timestamp of the expression set can be shared for the first time for the resource address mark of the package body of the expression set.
As can be seen from the foregoing, in the embodiment of the present application, by receiving an expression set sharing message sent by an expression set sharing party, the expression set sharing message carries a resource address of a package body of an expression set and identity information of the sharing party; constructing a package access request of the expression set based on the resource address of the package and the identity information of the sharing party; requesting a server to download the package of the expression set through the package access request of the expression set; when receiving the package of the expression set returned by the server based on the package access request of the expression set, analyzing the package of the expression set, and adding the expression in the expression set. On the one hand, the expressions in the expression set can be directly added after the package body is analyzed by packaging the plurality of expressions into the package body of the expression set, so that the expressions in the expression package can be added in batches, the gradual addition is avoided, and the operation efficiency is improved; on the other hand, based on the identity information of the sharing party of the package and the identity information of the first sharing party of the package, whether the expression set is shared by the first sharing party or not can be verified, if not, the expression set is forbidden to be acquired, and the integrity of the expression set is ensured.
In order to facilitate better implementation of the expression sharing method provided by the embodiment of the application, the embodiment of the application also provides a device based on the expression sharing method. The meaning of the nouns is the same as that of the expression sharing method, and specific implementation details can be referred to the description in the method embodiment.
Referring to fig. 2a, fig. 2a is a schematic diagram of a first structure of an expression sharing device according to an embodiment of the present application, wherein the expression sharing device is applied to a receiving client and may include a receiving module 201, a first constructing module 202, a requesting module 203, an adding module 204, and the like.
The receiving module 201 is configured to receive an expression set sharing message sent by an expression set sharing party, where the expression set sharing message carries a resource address of a package body of an expression set and identity information of the sharing party;
a first construction module 202, configured to construct a package access request of an expression set based on a resource address of the package and identity information of the sharing party;
a request module 203, configured to request, through a package access request of the expression set, a download of a package of the expression set to a server;
and the adding module 204 is configured to parse the package of the expression set and add the expression in the expression set when receiving the package of the expression set returned by the server based on the package access request of the expression set.
In some embodiments, the expression set sharing message includes an expression adding control and an expression preview control, and the apparatus further includes:
the first execution module is used for responding to the control operation of the expression adding control or the expression previewing control, and executing the steps of constructing the package access request of the expression set based on the resource address of the package and the identity information of the sharing party;
the first determining module is used for determining a target control aimed by the control operation from the expression adding control and the expression previewing control;
and the second execution module is used for executing the step of adding the expression in the expression set if the target control is the expression adding control.
In some embodiments, the apparatus further comprises:
the obtaining module is used for obtaining the first expression quantity of the expressions in the expression set if the target control is the expression preview control;
and the first display module is used for generating a corresponding number of preview windows based on the first expression number so as to display an expression in each preview window.
In some embodiments, each expression in the package of the expression set is marked with a second group name of the associated expression group, and the apparatus further includes:
The second determining module is used for determining the name quantity of the second group names and determining the second expression quantity of expressions corresponding to each second group name according to the marks;
the generation module is used for generating a preview window based on the number of names and the second expression number of expressions corresponding to each second packet name;
and the second display module is used for displaying the expressions corresponding to the second packet names in preview windows corresponding to the second packet names.
In some embodiments, the package of the expression set includes a resource address of each expression in the expression set, and the adding module 204 includes:
the analysis submodule is used for analyzing the package body of the expression set and analyzing the resource address of each expression in the expression set from the package body of the expression set;
and the first adding sub-module is used for downloading each expression based on the resource address of each expression and adding each expression.
In some embodiments, each expression in the package of the expression set is marked with a second group name of the belonging expression group, and the first adding sub-module is configured to:
acquiring a first grouping name corresponding to the owned expression grouping and acquiring a second grouping name of the expression grouping marked in the encapsulation body of the expression set;
Comparing the first packet name with the second packet name;
and if the first target packet name is the same as the first packet name in the second packet name, adding the expression marking the first target packet name into the expression packet corresponding to the first packet name which is the same as the first target packet name.
In some embodiments, the first adding sub-module is further configured to:
if the second target packet name is different from the first packet name in the second packet name, creating an expression packet based on the second target packet name;
adding the expression marking the second target group name to the created expression group.
In some embodiments, the request module 203 includes:
the first request submodule is used for requesting a server to download the package body of the expression set through the package body access request of the expression set;
the first triggering sub-module is used for triggering the server to verify whether the identity information of the sharing party in the package access request of the expression set is the identity information of the first sharing party which is included in the package of the expression set and is used for sharing the expression set for the first time;
And the first return sub-module is used for returning the package body of the expression set if the identity information of the sharing party is the identity information of the first sharing party.
In some embodiments, the resource address of the package is marked with a first sharing timestamp for first sharing the expression set, and the first building module 202 includes:
a constructing sub-module, configured to construct a package access request of an expression set based on the resource address of the package, the first sharing timestamp and the identity information of the sharing party;
the request module 203 further includes:
the second triggering sub-module is used for triggering the server to verify whether the package body of the expression set exceeds the valid period based on the receiving time stamp of the package body access request of the expression set and the first sharing time stamp;
and the second return sub-module is used for returning the package body of the expression set if the package body of the expression set is verified to not exceed the valid period.
Referring to fig. 2b, fig. 2b is a schematic diagram of a second structure of the expression sharing device according to the embodiment of the application, wherein the expression sharing device is applied to a sharing client and may include a determining module 301, a second constructing module 302, a first generating module 303, a second generating module 304, and so on.
The determining module 301 is configured to determine, in response to an expression set sharing control operation, an expression selected by the expression set sharing control operation;
a second construction module 302, configured to construct a package of the expression set based on the resource address corresponding to each expression and the identity information of the sharing party sharing the expression;
a first generating module 303, configured to generate, for the package of the expression set, a resource address of the package of the expression set;
and the second generating module 304 is configured to generate an expression set sharing message based on the resource address of the package and the identity information of the sharing party, and send the expression set sharing message to the receiving party.
In some embodiments, the apparatus further comprises:
and the marking module is used for marking the first sharing time stamp for first sharing the expression set for the resource address of the package body of the expression set.
As can be seen from the foregoing, in the embodiment of the present application, the receiving module 201 receives the expression set sharing message sent by the expression set sharing party, where the expression set sharing message carries the resource address of the package body of the expression set and the identity information of the sharing party; the first construction module 202 constructs a package access request of the expression set based on the resource address of the package and the identity information of the sharing party; the request module 203 requests the server to download the package of the expression set through the package access request of the expression set; the adding module 204 analyzes the package of the expression set and adds the expression in the expression set when receiving the package of the expression set returned by the server based on the package access request of the expression set. On the one hand, the expressions in the expression set can be directly added after the package body is analyzed by packaging the plurality of expressions into the package body of the expression set, so that the expressions in the expression package can be added in batches, the gradual addition is avoided, and the operation efficiency is improved; on the other hand, based on the identity information of the sharing party of the package and the identity information of the first sharing party of the package, whether the expression set is shared by the first sharing party or not can be verified, if not, the expression set is forbidden to be acquired, and the integrity of the expression set is ensured.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Correspondingly, the embodiment of the application also provides computer equipment, which can be a terminal or a server, wherein the terminal can be terminal equipment such as a smart phone, a tablet personal computer, a notebook computer, a touch screen, a game console, a personal computer (PC, personal Computer), a personal digital assistant (Personal Digital Assistant, PDA) and the like. Fig. 3 is a schematic structural diagram of a computer device according to an embodiment of the present application, as shown in fig. 3. The computer device 1000 includes a processor 401 having one or more processing cores, a memory 402 having one or more computer readable storage media, and a computer program stored on the memory 402 and executable on the processor. The processor 401 is electrically connected to the memory 402. It will be appreciated by those skilled in the art that the computer device structure shown in the figures is not limiting of the computer device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The processor 401 is a control center of the computer device 1000, connects various parts of the entire computer device 1000 using various interfaces and lines, and performs various functions of the computer device 1000 and processes data by running or loading software programs and/or modules stored in the memory 402, and calling data stored in the memory 402, thereby performing overall monitoring of the computer device 1000.
In the embodiment of the present application, the processor 401 in the computer device 1000 loads the instructions corresponding to the processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 executes the application programs stored in the memory 402, so as to implement various functions:
receiving an expression set sharing message sent by an expression set sharing party, wherein the expression set sharing message carries a resource address of a package body of the expression set and identity information of the sharing party; constructing a package access request of the expression set based on the resource address of the package and the identity information of the sharing party; requesting a server to download the package of the expression set through the package access request of the expression set; when receiving the package of the expression set returned by the server based on the package access request of the expression set, analyzing the package of the expression set, and adding the expression in the expression set.
In some embodiments, the expression set sharing message has a corresponding expression adding control and an expression previewing control, and before the step of constructing the package access request of the expression set based on the resource address of the package and the identity information of the sharing party, the method further includes:
Responding to the control operation of the expression adding control or the expression previewing control, and executing the step of constructing an expression set package access request based on the resource address of the package and the identity information of the sharing party;
after the step of parsing the package of the expression set, the method further includes:
determining a target control aimed by the control operation from the expression adding control and the expression preview control;
and if the target control is the expression adding control, executing the step of adding the expression in the expression set.
In some embodiments, the method further comprises:
if the target control is the expression preview control, acquiring a first expression quantity of the expressions in the expression set;
and generating a corresponding number of preview windows based on the first expression number so as to show an expression in each preview window.
In some embodiments, each expression in the package of the expression set is marked with a second group name of the associated expression group, the method further comprising:
determining the name quantity of the second group names, and determining the second expression quantity of expressions corresponding to each second group name according to the marks;
Generating a preview window based on the number of names and the second expression number of expressions corresponding to each second packet name;
and displaying the expressions corresponding to the second packet names in the preview window corresponding to the second packet names.
In some embodiments, the package of the expression set includes a resource address of each expression in the expression set, the step of parsing the package of the expression set and adding the expression in the expression set includes:
analyzing the package body of the expression set, and analyzing the resource address of each expression in the expression set from the package body of the expression set;
and downloading each expression based on the resource address of each expression, and adding each expression.
In some embodiments, each expression in the package of the expression set is marked with a second group name of the expression group, and the step of downloading each expression based on the resource address of each expression and adding each expression includes:
acquiring a first grouping name corresponding to the owned expression grouping and acquiring a second grouping name of the expression grouping marked in the encapsulation body of the expression set;
comparing the first packet name with the second packet name;
And if the first target packet name is the same as the first packet name in the second packet name, adding the expression marking the first target packet name into the expression packet corresponding to the first packet name which is the same as the first target packet name.
In some embodiments, the method further comprises:
if the second target packet name is different from the first packet name in the second packet name, creating an expression packet based on the second target packet name;
adding the expression marking the second target group name to the created expression group.
In some embodiments, the step of requesting the server to download the package of the expression set through the package access request of the expression set includes:
requesting a server to download the package of the expression set through the package access request of the expression set;
triggering the server to verify whether the identity information of the sharing party in the package access request of the expression set is the identity information of the first sharing party which is included in the package of the expression set and is used for first sharing the expression set;
and if the identity information of the sharing party is the identity information of the first sharing party, returning to the package body of the expression set.
In some embodiments, the resource address of the package is marked with a first sharing timestamp for first sharing the expression set, and the step of constructing the package access request of the expression set based on the resource address of the package and the identity information of the sharing party includes:
constructing a package access request of the expression set based on the resource address of the package, the first sharing time stamp and the identity information of the sharing party;
after the step of triggering the server to verify whether the identity information of the sharing party in the package access request of the expression set is the identity information of the first sharing party of the package of the expression set, the method further comprises:
triggering the server to verify whether the package of the expression set exceeds the validity period based on a receiving timestamp of the package access request of the expression set and the first sharing timestamp;
and if the package body of the expression set is verified to not exceed the valid period, returning the package body of the expression set.
An expression sharing method applied to a sharing party client side comprises the following steps:
responding to an expression set sharing control operation, and determining the expression selected by the expression set sharing control operation;
Constructing a package of the expression set based on the resource address corresponding to each expression and the identity information of the sharing party sharing the expression;
generating a resource address of the package of the expression set for the package of the expression set;
and generating an expression set sharing message based on the resource address of the package body and the identity information of the sharing party, and sending the expression set sharing message to a receiving party.
In some embodiments, after the step of generating the resource address of the package of the expression set for the package of the expression set, the method further includes:
and marking a first sharing time stamp for first sharing the expression set for the resource address of the package body of the expression set.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Optionally, as shown in fig. 3, the computer device 1000 further includes: a touch display 403, a radio frequency circuit 404, an audio circuit 405, an input unit 406, and a power supply 407. The processor 401 is electrically connected to the touch display 403, the radio frequency circuit 404, the audio circuit 405, the input unit 406, and the power supply 407, respectively. Those skilled in the art will appreciate that the computer device structure shown in FIG. 3 is not limiting of the computer device and may include more or fewer components than shown, or may be combined with certain components, or a different arrangement of components.
The touch display 403 may be used to display a graphical user interface and receive operation instructions generated by a user acting on the graphical user interface. The touch display screen 403 may include a display panel and a touch panel. Wherein the display panel may be used to display information entered by a user or provided to a user as well as various graphical user interfaces of a computer device, which may be composed of graphics, text, icons, video, and any combination thereof. Alternatively, the display panel may be configured in the form of a liquid crystal display (LCD, liquid Crystal Display), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations on or near the user (such as operations on or near the touch panel by the user using any suitable object or accessory such as a finger, stylus, etc.), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 401, and can receive and execute commands sent from the processor 401. The touch panel may overlay the display panel, and upon detection of a touch operation thereon or thereabout, the touch panel is passed to the processor 401 to determine the type of touch event, and the processor 401 then provides a corresponding visual output on the display panel in accordance with the type of touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display screen 403 to realize the input and output functions. In some embodiments, however, the touch panel and the touch panel may be implemented as two separate components to perform the input and output functions. I.e. the touch-sensitive display 403 may also implement an input function as part of the input unit 406.
In an embodiment of the present application, the processor 401 executes the game application program to generate a graphical user interface on the touch display screen 403, where the virtual scene on the graphical user interface includes at least one skill control area, and the skill control area includes at least one skill control. The touch display 403 is used for presenting a graphical user interface and receiving an operation instruction generated by a user acting on the graphical user interface.
The radio frequency circuitry 404 may be used to transceive radio frequency signals to establish wireless communications with a network device or other computer device via wireless communications.
The audio circuitry 405 may be used to provide an audio interface between a user and a computer device through speakers, microphones, and so on. The audio circuit 405 may transmit the received electrical signal after audio data conversion to a speaker, where the electrical signal is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signals into electrical signals, which are received by the audio circuit 405 and converted into audio data, which are processed by the audio data output processor 401 and sent via the radio frequency circuit 404 to, for example, another computer device, or which are output to the memory 402 for further processing. The audio circuit 405 may also include an ear bud jack to provide communication of the peripheral ear bud with the computer device.
The input unit 406 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The power supply 407 is used to power the various components of the computer device 1000. Alternatively, the power supply 407 may be logically connected to the processor 401 through a power management system, so as to implement functions of managing charging, discharging, and power consumption management through the power management system. The power supply 407 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown in fig. 3, the computer device 1000 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which are not described herein.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
As can be seen from the above, in the computer device provided in this embodiment, by receiving the expression set sharing message sent by the expression set sharing party, the expression set sharing message carries the resource address of the package of the expression set and the identity information of the sharing party; constructing a package access request of the expression set based on the resource address of the package and the identity information of the sharing party; requesting a server to download the package of the expression set through the package access request of the expression set; when receiving the package of the expression set returned by the server based on the package access request of the expression set, analyzing the package of the expression set, and adding the expression in the expression set. On the one hand, the expressions in the expression set can be directly added after the package body is analyzed by packaging the plurality of expressions into the package body of the expression set, so that the expressions in the expression package can be added in batches, the gradual addition is avoided, and the operation efficiency is improved; on the other hand, based on the identity information of the sharing party of the package and the identity information of the first sharing party of the package, whether the expression set is shared by the first sharing party or not can be verified, if not, the expression set is forbidden to be acquired, and the integrity of the expression set is ensured.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer readable storage medium having stored therein a plurality of computer programs that can be loaded by a processor to perform steps in any of the skills control methods provided by the embodiment of the present application. For example, the computer program may perform the steps of:
receiving an expression set sharing message sent by an expression set sharing party, wherein the expression set sharing message carries a resource address of a package body of the expression set and identity information of the sharing party; constructing a package access request of the expression set based on the resource address of the package and the identity information of the sharing party; requesting a server to download the package of the expression set through the package access request of the expression set; when receiving the package of the expression set returned by the server based on the package access request of the expression set, analyzing the package of the expression set, and adding the expression in the expression set.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The steps in the method for sharing any expression provided by the embodiment of the present application can be executed by the computer program stored in the storage medium, so that the beneficial effects that can be achieved by the method for sharing any expression provided by the embodiment of the present application can be achieved, which are detailed in the previous embodiments and are not described herein.
The foregoing describes in detail a method, an apparatus, a storage medium, and a computer device for sharing expressions provided by the embodiments of the present application, and specific examples are applied to describe the principles and implementations of the present application, where the descriptions of the foregoing embodiments are only used to help understand the method and core ideas of the present application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, the present description should not be construed as limiting the present application.
Claims (15)
1. The expression sharing method is characterized by comprising the following steps:
receiving an expression set sharing message sent by an expression set sharing party, wherein the expression set sharing message carries a resource address of a package body of the expression set and identity information of the sharing party;
constructing a package access request of the expression set based on the resource address of the package and the identity information of the sharing party;
requesting a server to download the package of the expression set through the package access request of the expression set;
when receiving the package of the expression set returned by the server based on the package access request of the expression set, analyzing the package of the expression set, and adding the expression in the expression set.
2. The method for sharing expressions according to claim 1, wherein the expression set sharing message has a corresponding expression adding control and an expression preview control, and before the step of constructing the package access request of the expression set based on the resource address of the package and the identity information of the sharing party, the method further comprises:
responding to the control operation of the expression adding control or the expression previewing control, and executing the step of constructing an expression set package access request based on the resource address of the package and the identity information of the sharing party;
After the step of parsing the package of the expression set, the method further includes:
determining a target control aimed by the control operation from the expression adding control and the expression preview control;
and if the target control is the expression adding control, executing the step of adding the expression in the expression set.
3. The method of sharing expressions according to claim 2, further comprising:
if the target control is the expression preview control, acquiring a first expression quantity of the expressions in the expression set;
and generating a corresponding number of preview windows based on the first expression number so as to show an expression in each preview window.
4. The method of sharing expressions according to claim 3, wherein each expression in the package of the expression set is marked with a second group name of the expression group, the method further comprising:
determining the name quantity of the second group names, and determining the second expression quantity of expressions corresponding to each second group name according to the marks;
generating a preview window based on the number of names and the second expression number of expressions corresponding to each second packet name;
And displaying the expressions corresponding to the second packet names in the preview window corresponding to the second packet names.
5. The method of sharing expressions according to claim 1, wherein the package of the expression set includes a resource address of each expression in the expression set, and the step of parsing the package of the expression set and adding the expression in the expression set includes:
analyzing the package body of the expression set, and analyzing the resource address of each expression in the expression set from the package body of the expression set;
and downloading each expression based on the resource address of each expression, and adding each expression.
6. The method according to claim 5, wherein each expression in the package of the expression set is marked with a second packet name of the expression group, and the step of downloading each expression based on the resource address of each expression and adding each expression includes:
acquiring a first grouping name corresponding to the owned expression grouping and acquiring a second grouping name of the expression grouping marked in the encapsulation body of the expression set;
comparing the first packet name with the second packet name;
And if the first target packet name is the same as the first packet name in the second packet name, adding the expression marking the first target packet name into the expression packet corresponding to the first packet name which is the same as the first target packet name.
7. The method of sharing expressions of claim 6, further comprising:
if the second target packet name is different from the first packet name in the second packet name, creating an expression packet based on the second target packet name;
adding the expression marking the second target group name to the created expression group.
8. The expression sharing method according to claim 1, wherein the step of requesting the server to download the package of the expression set through the package access request of the expression set includes:
requesting a server to download the package of the expression set through the package access request of the expression set;
triggering the server to verify whether the identity information of the sharing party in the package access request of the expression set is the identity information of the first sharing party which is included in the package of the expression set and is used for first sharing the expression set;
And if the identity information of the sharing party is the identity information of the first sharing party, returning to the package body of the expression set.
9. The method for sharing expressions according to claim 8, wherein a resource address of the package is marked with a first sharing timestamp for first sharing the expression set, and the step of constructing a package access request of the expression set based on the resource address of the package and the identity information of the sharing party includes:
constructing a package access request of the expression set based on the resource address of the package, the first sharing time stamp and the identity information of the sharing party;
after the step of triggering the server to verify whether the identity information of the sharing party in the package access request of the expression set is the identity information of the first sharing party of the package of the expression set, the method further comprises:
triggering the server to verify whether the package of the expression set exceeds the validity period based on a receiving timestamp of the package access request of the expression set and the first sharing timestamp;
and if the package body of the expression set is verified to not exceed the valid period, returning the package body of the expression set.
10. The expression sharing method is characterized by comprising the following steps:
responding to an expression set sharing control operation, and determining the expression selected by the expression set sharing control operation;
constructing a package of the expression set based on the resource address corresponding to each expression and the identity information of the sharing party sharing the expression;
generating a resource address of the package of the expression set for the package of the expression set;
and generating an expression set sharing message based on the resource address of the package body and the identity information of the sharing party, and sending the expression set sharing message to a receiving party.
11. The method of claim 10, further comprising, after the step of generating the resource address of the package of the expression set for the package of the expression set:
and marking a first sharing time stamp for first sharing the expression set for the resource address of the package body of the expression set.
12. The utility model provides a sharing device of expression which characterized in that includes:
the expression collection sharing system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving an expression collection sharing message sent by an expression collection sharing party, and the expression collection sharing message carries a resource address of a package body of the expression collection and identity information of the sharing party;
The first construction module is used for constructing a package access request of the expression set based on the resource address of the package and the identity information of the sharing party;
the request module is used for requesting the server to download the package body of the expression set through the package body access request of the expression set;
and the adding module is used for analyzing the package of the expression set and adding the expression in the expression set when receiving the package of the expression set returned by the server based on the package access request of the expression set.
13. The utility model provides a sharing device of expression which characterized in that includes:
the determining module is used for responding to the expression set sharing control operation and determining the expression selected by the expression set sharing control operation;
the second construction module is used for constructing a package body of the expression set based on the resource address corresponding to each expression and the identity information of the sharing party sharing the expression;
the first generation module is used for generating the resource address of the package body of the expression set for the package body of the expression set;
and the second generation module is used for generating an expression set sharing message based on the resource address of the package body and the identity information of the sharing party, and sending the expression set sharing message to a receiving party.
14. A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps in the expression sharing method of any one of claims 1 to 11.
15. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor performs the steps in the method of sharing expressions of any one of claims 1 to 11 when the program is executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310650562.XA CN116684369A (en) | 2023-06-02 | 2023-06-02 | Expression sharing method and device, storage medium and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310650562.XA CN116684369A (en) | 2023-06-02 | 2023-06-02 | Expression sharing method and device, storage medium and computer equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116684369A true CN116684369A (en) | 2023-09-01 |
Family
ID=87790306
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310650562.XA Pending CN116684369A (en) | 2023-06-02 | 2023-06-02 | Expression sharing method and device, storage medium and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116684369A (en) |
-
2023
- 2023-06-02 CN CN202310650562.XA patent/CN116684369A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107172477B (en) | Voting method and device | |
CN108471376B (en) | Data processing method, device and system | |
CN109347722B (en) | Interaction system, method, client and background server | |
US10304461B2 (en) | Remote electronic service requesting and processing method, server, and terminal | |
JP6557741B2 (en) | Picture combining method, terminal, and picture combining system | |
WO2016150270A1 (en) | Method and apparatus for processing group session message | |
CN111178012A (en) | Form rendering method, device and equipment and storage medium | |
CN106709705A (en) | Virtual goods packet sending method, receiving method, devices and system | |
CN108206742B (en) | Message sending method, device, server and system | |
CN106656743B (en) | Message display method, device and system | |
CN105554522A (en) | Method for playing audio in group, server and terminal | |
CN106293738B (en) | Expression image updating method and device | |
US9965733B2 (en) | Method, apparatus, and communication system for updating user data based on a completion status of a combination of business task and conversation task | |
US20220171011A1 (en) | Positioning method and device, server, storage medium and terminal | |
WO2019037566A1 (en) | Information display method and apparatus, device, and computer-readable storage medium | |
CN108521365B (en) | Method for adding friends and mobile terminal | |
CN108809805B (en) | Information interaction method and system and public account client | |
CN106100974B (en) | Information sharing method and device | |
CN108429668B (en) | Message processing method, device, terminal and system | |
CN105426190B (en) | Data transferring method and device | |
CN116980851A (en) | Method and device for sharing subroutines between locomotives, electronic equipment and storage medium | |
CN113329100B (en) | Message pushing method, device and system | |
CN114417201A (en) | Message processing method and device, computer equipment and storage medium | |
KR102263977B1 (en) | Methods, devices, and systems for performing information provision | |
CN109165197A (en) | A kind of document handling method, terminal and server |
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 |