WO2017125024A1 - 资源分享方法、终端及存储介质 - Google Patents

资源分享方法、终端及存储介质 Download PDF

Info

Publication number
WO2017125024A1
WO2017125024A1 PCT/CN2017/071595 CN2017071595W WO2017125024A1 WO 2017125024 A1 WO2017125024 A1 WO 2017125024A1 CN 2017071595 W CN2017071595 W CN 2017071595W WO 2017125024 A1 WO2017125024 A1 WO 2017125024A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
resource sharing
sharing message
user
message image
Prior art date
Application number
PCT/CN2017/071595
Other languages
English (en)
French (fr)
Inventor
赖文辉
林丹妮
熊峰
刘林
钟鹏飞
肖日城
许灵锋
廖增康
唐聪
黄明
李谋邦
况建炜
王军朝
王松
吴祖榕
涂强
翟伟
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to JP2018538113A priority Critical patent/JP6683387B2/ja
Priority to EP17741055.2A priority patent/EP3407549B1/en
Priority to KR1020187022457A priority patent/KR102050936B1/ko
Publication of WO2017125024A1 publication Critical patent/WO2017125024A1/zh
Priority to US16/041,581 priority patent/US11017484B2/en
Priority to US16/045,467 priority patent/US10861108B2/en
Priority to US16/045,519 priority patent/US10861109B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • H04L51/063Content adaptation, e.g. replacement of unsuitable content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0879Manual configuration through operator
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/306User profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-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/10Multimedia information

Definitions

  • the present application relates to the field of Internet technologies, and in particular, to a resource sharing method, a terminal, and a storage medium.
  • Resources including virtual items as well as physical items, virtual items such as account numbers, points or electronic vouchers.
  • the owner of the resource can share the resource through the social network, and the user with the permission can obtain the shared resource, and sharing the resource in the social network can increase the interaction between the users, thereby maintaining the existing relationship chain and establishing a new one. Social relationship chain.
  • the resource owner currently shares resources, the content of the generated resource sharing message is the same and the recognition is poor.
  • the resource sharing message is a red envelope message, and the red packet message is displayed as a red envelope pattern specified by the application. If a plurality of users issue a virtual red envelope, it is difficult to identify different red envelope messages from the resource sharing message itself.
  • a resource sharing method a terminal, and a storage medium are provided.
  • a method of resource sharing including:
  • a terminal comprising a memory and a processor, the memory storing computer readable instructions, wherein the computer readable instructions are executed by the processor such that the processor performs the following steps:
  • One or more computer readable non-volatile storage media storing computer readable instructions, when executed by one or more processors, cause the one or more processors to perform the steps of:
  • 1 is an application environment diagram of a resource sharing system in an embodiment
  • FIG. 2 is a schematic structural diagram of a terminal used to implement a resource sharing method in an embodiment
  • FIG. 3 is a schematic flowchart of a resource sharing method in an embodiment
  • FIG. 4 is a schematic flowchart of a step of customizing a resource sharing message image template in an embodiment
  • FIG. 5 is a schematic flowchart of a step of acquiring resources in an embodiment
  • FIG. 6 is a schematic flowchart of a resource sharing method in another embodiment
  • Figure 7 is a schematic diagram of a session page in an embodiment
  • FIG. 8 is a schematic diagram of a red envelope image configuration page in one embodiment
  • FIG. 9 is a second schematic diagram of a red envelope image configuration page in one embodiment.
  • FIG. 10 is a third schematic diagram of a red envelope image configuration page in one embodiment
  • Figure 11 is a fourth schematic diagram of a red envelope image configuration page in one embodiment
  • FIG. 12 is a second schematic diagram of a session page in an embodiment
  • Figure 13 is a third schematic diagram of a session page in an embodiment
  • Figure 14 is a fourth schematic diagram of a session page in an embodiment
  • Figure 15 is a block diagram showing the structure of a terminal in an embodiment
  • Figure 16 is a block diagram showing the structure of a terminal in another embodiment
  • Figure 17 is a block diagram showing the structure of a terminal in still another embodiment
  • Figure 18 is a block diagram showing the structure of a terminal in an embodiment.
  • a resource sharing system includes a terminal 110 and a server 120.
  • the terminal 110 includes a mobile terminal, a desktop computer, and the like, and the mobile terminal includes at least one of a mobile phone, a tablet computer, a smart watch, a personal digital assistant (PDA), and a networkable e-reader.
  • Server 120 can be a standalone physical server or a physical server cluster.
  • a terminal 110 for implementing a resource sharing method includes a processor connected through a system bus, a non-volatile storage medium, an internal memory, and a network interface. And touch screen.
  • the processor has computing functionality and functionality to control operation of the mobile terminal 110, the processor being configured to perform a resource sharing method.
  • the non-volatile storage medium includes at least one of a magnetic storage medium, an optical storage medium, and a flash storage medium for connection to the server 120.
  • the touch screen includes a touch layer and a display screen, and the display screen includes at least one of a liquid crystal display, a flexible display, and an electronic ink display.
  • a resource sharing method is provided. This embodiment is applied to the terminal 110 in FIG. 1 and FIG. 2 by way of example. The method specifically includes the following steps:
  • Step 302 Configure the resources to be shared, and obtain data required to obtain the resources.
  • the terminal may receive the resource sharing instruction, trigger the entry into the resource configuration page according to the resource sharing instruction, and display the configuration item of the resource to be shared in the resource configuration page, thereby obtaining the resource to be shared according to the configuration instruction of each configuration item.
  • Configuration parameters such as the resource type of the resource to be shared, the resource share, the resource allocation mode, and the user attribute of the resource that can be obtained, etc.
  • the parameter is the specific value after configuring each configuration item.
  • the resource type is, for example, a currency red envelope type, a physical red envelope type, or a shopping coupon red envelope type.
  • Resource shares such as currency amounts, resource allocation methods such as average allocation or random allocation.
  • the user attribute of the available resource means that only the friend can get it or only the group member can get it.
  • Step 302 can be performed after step 306.
  • the data required to obtain the resource is the data required to obtain the resource to be shared, and may include the resource identifier, which is used to uniquely identify the resource to be shared, and may also include the user identifier, which is used to identify the user who initiated the resource sharing message;
  • the expiration date information of the resource sharing message may be included.
  • Step 304 Obtain a user identifier of the currently logged in social application.
  • the social application is an application for social interaction based on a social network.
  • the social application usually has a contact search function and an instant communication function, and may also have a UGC (User Generated Content) sharing function and a UGC comment function.
  • the social application may be an instant messaging application or an SNS (Social Network Sites) application or the like.
  • the user identifier of the current login social application acquired by the terminal may be an account entered by the user when logging in to the social application, or may be a unique string generated according to the account.
  • Step 306 Acquire a resource sharing message image template associated with the user identifier, a user-defined visual element, and configuration information of the visual element.
  • the terminal may obtain, according to the user identifier, a resource sharing message image template associated with the user identifier, a user-defined visual element, and configuration information of the visual element from a local or server query.
  • the resource sharing message image template, the user-defined visual element, and the configuration information of the visual element are used to draw a resource sharing message image, which may be collectively referred to as drawing data for convenience of description.
  • the terminal may determine whether the drawing data is stored locally. If the drawing data is stored locally, the server queries whether the drawing data corresponding to the user identifier changes during the time period from when the drawing data is last acquired to the current time. If no change occurs, the drawing data corresponding to the user identifier is directly obtained from the local; if the change occurs or the drawing data is not stored locally, the drawing data corresponding to the user identifier is obtained from the server query.
  • the resource refers to an item that can acquire ownership through the network, including at least one of a virtual item and a physical item, and the virtual item includes an account value, an avatar product, a virtual recharge card, and a tour.
  • the physical item may be any item having a physical form that can be owned by the user, such as an electronic product, a toy, a craft, or a signature photo.
  • the resource sharing message image refers to an image that is presented when the resource message is displayed, and the resource sharing message image template is a templated resource sharing message image.
  • the resource sharing message image template constrains the overall attributes such as the overall shape and size of the resource sharing message image, and can also constrain the shape, size and position of the editing area for accommodating the user-defined visual element.
  • a visual element is data that can be displayed to make the human eye visible to convey information.
  • Visual elements include a combination of one or more of characters, pictures, and animation files.
  • the format of the image can be in JPEG format (an image format, Joint Photographic Experts Group), PNG format (full name Portable Network Graphic Format), or other customizations.
  • Image Format Images can include still images and dynamic images.
  • Dynamic images can be in GIF format (full name Graphics Interchange Format).
  • Animation files can be in SWF format (full name Shock Wave Flash, FLASH animation file format provided by Adobe) or other custom animation file formats.
  • the configuration information of the visual element is used to describe the attributes of the user-defined visual element itself, and the relationship with the corresponding resource sharing message image template.
  • the configuration information of the visual element may specifically include the size of the visual element and the location of the image template with respect to the resource sharing message.
  • the corresponding configuration information may include information for describing the attribute of the character itself, such as font, word spacing, font size, alignment format, and character color, and may also include characters in the corresponding resource sharing message image template. s position. If the visual element includes a picture, the corresponding configuration information may include transparency and the location of the picture in the resource sharing message image template.
  • Step 308 Draw a resource sharing message image according to the resource sharing message image template, the visual element, and the configuration information, and display the resource sharing message image in the social communication page of the social application.
  • the terminal merges the resource sharing message image template and the visual element according to the configuration information of the visual element, and draws the resource sharing message image. Further, the terminal may draw a visual element according to the information used to describe the attribute of the visual element in the configuration information, and is used to describe according to the configuration information.
  • the location information fuses the visual elements with the resource sharing message image template.
  • a social communication page refers to a page in a social application that can be accessed by social friends, such as a conversation page, a UGC sharing page, or a publicly accessible personal page.
  • the session page includes a one-to-one session page and a group session page.
  • Step 310 The resource sharing message corresponding to the resource sharing message image is transmitted through the social network, where the resource sharing message includes data required for acquiring the resource.
  • the terminal may generate a resource sharing message corresponding to the resource sharing message image, and propagate the resource sharing message through a message channel of the social network.
  • the object to be propagated is related to the type of the social communication page. For example, if the social communication page is a one-to-one conversation page, the object to be propagated may be the identifier of another user who is in conversation with the current user; if the social communication page is a group conversation page, The object to be propagated may be all group members in the current group that remove the current user ID.
  • the resource sharing message includes data required for acquiring a resource, and further includes a resource sharing message image or data for acquiring a resource sharing message image.
  • the data required for obtaining the resource may include a resource identifier, which is used to uniquely identify the available resource, and may also include a user identifier, which is used to identify the user who initiated the resource sharing message, and may also include an expiration date of the resource sharing message.
  • the data used to obtain the resource sharing message image may be a user identifier, or an access address of the resource sharing message image, or may be a resource sharing message image template associated with the user identifier, a user-defined visual element, and a visual The access address of the element's configuration information.
  • the user customizes the visual element, and associates the resource sharing message image template, the visual element, and the configuration information of the visual element with the user identifier, and when the resource needs to be shared, the user identifier can be obtained according to the user identifier.
  • the resource sharing message image template, visual elements, and configuration information complete the rendering of the resource sharing message image.
  • the resource sharing message image is displayed in a social communication page of the social application, and the resource sharing message is transmitted through the social network to realize sharing of resources.
  • the resource sharing message image has user-defined visual elements, which can easily and efficiently identify resource sharing messages.
  • the method further comprises playing the customized audio when displaying the resource sharing message image in the social communication page.
  • the audio can be user-defined audio, specifically
  • the audio recorded at the time can also be audio selected locally or from the audio set provided by the server.
  • the method further includes: obtaining an identifier of the audio; and step S310 includes: generating a resource sharing message including an identifier of the data and audio required to acquire the resource, where the resource sharing message corresponds to the delivery resource sharing message image; The network passes the resource sharing message.
  • the identifier of the audio is used to uniquely identify the corresponding audio.
  • the identification of the audio is used to get the audio and play it.
  • the audio can be specifically music or voice.
  • the identifier of the audio may be a URL (Uniform Resource Locator) of the audio, and the URL of the audio may be generated after the terminal uploads the audio to the server.
  • the resource sharing message propagated through the social network can be used not only to share resources, but also to play specific audio on the receiving end, which can increase the amount of information transmitted.
  • the resource sharing method further includes the step of customizing a resource sharing message image template, which specifically includes the following steps:
  • Step 402 Select a resource sharing message image template from the candidate resource sharing message image template.
  • the terminal may detect an operation of the resource sharing message image configuration control in the social communication page, thereby entering the resource sharing message image configuration page according to the detected operation, and the detecting operation may be long pressing, clicking, sliding, and multi-touch Control and other methods.
  • the terminal pulls a list of candidate resource sharing message image templates from the server and displays them in the resource sharing message image configuration page, receives a user selection instruction, and selects a resource sharing message image template from the candidate resource sharing message image template according to the user selection instruction.
  • Step 404 Obtain a user-defined visual element.
  • the terminal may acquire a character input by the user, or select a picture or an animation file according to a user selection instruction.
  • the terminal if the terminal does not detect the operation of the user-defined visual element, the terminal acquires a default visual element of the selected resource sharing message image template, and uses the default visual element as a user-defined visual element.
  • the terminal may display a visual element to add a visual element to the selected resource sharing message map A preview image of a resource sharing message image generated in an edit area like a template. This allows the user to preview the resource sharing message image to have an accurate grasp of the results of the custom visual element.
  • Step 406 Obtain configuration information corresponding to the user-defined visual element.
  • the terminal may acquire configuration information corresponding to the user-defined visual element after the user-initiated confirmation configuration instruction.
  • the acquired configuration information may include configuration information input by the user and automatically calculated configuration information.
  • Step 408 Associate the selected resource sharing message image template, the user-defined visual element, and the acquired configuration information with the user identifier.
  • the terminal may associate the selected resource sharing message image template, the user-defined visual element, and the obtained configuration information with the user identifier on the server.
  • the terminal may transmit the user identifier, the identifier of the resource sharing message image template, the user-defined visual element, and the corresponding configuration information to the server, and the server shares the selected resource image template, the user-defined visual element, and the selected resource.
  • the obtained configuration information is associated with the user ID.
  • the resource sharing message image template can be freely selected from the candidate resource sharing message image template according to the user's intention, and the visual corresponding to the selected resource sharing message image template can be customized.
  • the element such that the probability that different users are configured to share the message image with the same resource, is further reduced, further enhancing the visibility of the resource sharing message.
  • the method before step 404, the method further includes: acquiring a constraint condition corresponding to the selected resource sharing message image template; and step 404 includes: acquiring a user-defined visual element under the constraint condition.
  • the constraint is a condition that the user-defined visual element should satisfy, and may include constraints on the attributes of the visual element itself, and may also include constraints on the position of the visual element relative to the selected resource sharing message image template.
  • the constraints can be constraints on the size, number, position, color, transparency, and position of the visual elements.
  • the server pre-stores the constraint condition corresponding to each resource sharing message image template
  • the terminal may acquire the constraint condition corresponding to the selected resource sharing message image template from the server after the selected resource sharing message image template is selected.
  • the terminal can display a prompt for the constraint to guide the user Enter or select visual elements that meet the constraints as soon as possible according to the constraints.
  • the terminal When the terminal obtains the user-defined visual element under the constraint condition, it can specifically determine whether the visual element after the custom configuration operation meets the constraint condition, and if not, reject the custom configuration operation; if satisfied, accept the Custom configuration operations.
  • Custom configuration operations such as uploading visual elements, increasing the number of visual elements, changing the size of visual elements, or moving the position of visual elements.
  • the selected resource sharing message image template has a corresponding constraint condition, and the visual element is acquired and associated with the user identifier under the constraint condition, so as to avoid an error when drawing the resource sharing message image, thereby avoiding resource sharing. An error occurred.
  • the resource sharing method further includes the step of acquiring a resource, and specifically includes the following steps:
  • Step 502 Obtain an operation instruction for the displayed resource sharing message image.
  • the terminal that initiates the resource sharing may obtain an operation instruction for displaying the resource sharing message image; the terminal that receives the resource sharing message may display the resource sharing message image according to the received resource sharing message, and acquire the resource sharing message for the display.
  • the operation instructions of the image Operation instructions can be triggered by long press, click, slide, and multi-touch.
  • Step 504 Generate a resource acquisition request including a resource identifier and a resource acquirer identifier according to the operation instruction.
  • the terminal extracts the resource identifier from the resource sharing message according to the operation instruction, and generates a resource acquisition request including the resource identifier and the resource acquirer identifier.
  • the resource acquirer identifier is an identifier of a user requesting to obtain a resource, and may be a user identifier that is logged in by a terminal that triggers an operation instruction.
  • the terminal may extract the resource identifier from the resource sharing message according to the operation instruction, and query the server whether the currently logged-in user identifier has the right to obtain the resource corresponding to the resource identifier; if yes, generate the resource identifier according to the operation instruction. And the resource acquisition request identified by the resource acquisition party; if not, no action or prompt acquisition failure.
  • the method further includes: acquiring the customized audio corresponding to the resource sharing message image according to the operation instruction, and playing the audio.
  • the packet can be broadcasted.
  • Putting a custom audio can convey more information and remind you of the action of getting resources.
  • Step 506 Send a resource acquisition request to the server, so that the server allocates the resource corresponding to the resource identifier to the resource acquirer identifier.
  • the terminal sends the resource acquisition request to the server, and the server acquires the resource identifier and the resource acquirer identifier according to the resource acquisition request, so as to allocate the resource corresponding to the resource identifier to the resource acquirer identifier.
  • the server may determine whether the resource corresponding to the resource identifier has a remaining share, and if yes, allocate a resource for the resource acquirer identifier from the remaining share and reduce the corresponding share, and feed back the resource for obtaining the resource successfully. As a result, if it does not exist, the resource acquisition result that fails to obtain the resource is directly fed back to the terminal.
  • the server may allocate a resource for the resource acquirer identifier according to a preset fixed value or according to a random pre-requisite. Set the value selected in the value range to the value account corresponding to the resource acquirer ID.
  • the numeric account includes a cash account and a gift certificate account, and the numerical account can be set on a bank server or a third party payment server.
  • the server may record the correspondence between the resource and the resource acquirer identifier when the resource is allocated for the resource acquirer identifier, so as to indicate the ownership of the resource by the corresponding user, and subsequently pass the other Ways to distribute resources.
  • Step 508 Receive a resource acquisition result fed back by the server.
  • the resource acquisition result is divided into a result of obtaining the resource success and a result of the resource failure, and the terminal receives the resource acquisition result fed back by the server after performing the resource allocation.
  • the result of obtaining the resource success may also include description information of the obtained resource, such as the red envelope value received.
  • Step 510 Display a result display page with a custom background image that matches the visual element, and display the resource acquisition result in the result display page.
  • the terminal displays a result display page, where the result display page has a customized background image, and the customized background image matches the visual element, and the terminal displays the resource acquisition result in the result display page.
  • the custom background image is matched with the visual element.
  • the specific custom background image may be an image obtained by scaling the visual element, or an image after the visual element is rearranged.
  • Custom back The landscape image can be merged with the result presentation page in a watermarked form.
  • the resource sharing message image may trigger the action of acquiring the resource, and display the resource obtaining result in the result display page, and the result display page has a customized background image matching the visual element, which can convey more Information increases the way users interact.
  • step 306 includes: querying, from the server, a resource sharing message image template associated with the user identifier, a user-defined visual element, and configuration information of the visual element; if queried, performing the step in the memory 308; and obtaining a resource sharing instruction, and directly performing the step of displaying the resource sharing message image in the social communication page of the social application according to the resource sharing instruction.
  • the terminal may query the resource sharing message image template associated with the user identifier from the server before initiating resource sharing, such as after logging in to the social application, or after completing the custom configuration resource sharing message image template, and the user-defined View elements and configuration information for visual elements. If the query is found, the resource sharing message image is drawn directly in the memory according to the drawn drawing data. If not found, the user does not have a custom configuration resource sharing message image template, and subsequently uses the default resource sharing message image of the social application when sharing the resource.
  • the terminal When the terminal detects an action for triggering the sharing of resources, for example, when the button for sharing the resource is pressed, the terminal acquires the corresponding resource sharing instruction.
  • the terminal completes resource configuration on the server according to the resource sharing instruction, and obtains data required for acquiring the resource corresponding to the configured resource.
  • Resource configuration such as configuration of resource types, configuration of resource shares, and configuration of resource allocation methods.
  • the resource sharing message image may be completed in advance in the memory, and the resource sharing message image pre-drawn in the memory may be immediately displayed in the resource sharing operation.
  • Drawing takes more time than display, and here the efficiency of resource sharing is greatly improved by pre-rendering resource sharing message images.
  • the resource sharing message image template is a red envelope image template
  • the resource sharing message image is a red envelope image
  • the resource sharing message is a red envelope message
  • the red packet message is a special message
  • the social communication page is a session page
  • the resource sharing message is The image configuration page is a red envelope image configuration page.
  • the red envelope is a gift with a currency equivalent property
  • the virtual red envelope is a red envelope that can be processed by a computer in an electronic form.
  • a resource sharing method includes the following steps:
  • Step 602 Enter the red envelope image configuration page through the social application.
  • the user After the user logs in to the social application, the user enters the session page, and touches the red envelope image configuration control 701 in the toolbar of the session page to enter the red envelope image configuration page as shown in FIG. 8.
  • Step 604 Acquire a candidate red envelope image template from the server, and select a red envelope image template from the candidate red envelope image template.
  • the candidate red envelope image template list is pulled from the server and displayed in the red envelope image configuration page, such as the candidate red envelope image templates 810, 820, and 830 shown in FIG.
  • the user selects the candidate red envelope image template 820, and the enlarged view is displayed in the social application.
  • Step 606 Acquire a constraint condition corresponding to the selected red envelope image template.
  • the user touches the editing area 821a of the red envelope image template 821 as shown in FIG. 8 and enters the red envelope image configuration page shown in FIG. 9.
  • the constraint condition corresponding to the social application acquiring the red envelope image template 821 includes: the visual element is 1 English words.
  • Step 608 Obtain a user-defined visual element under the constraint condition.
  • a prompt 901 for displaying a constraint may be displayed in the social application, the user inputs an English word "Rich” in the input box 902, and the social application displays the added word "Rich” to the selected red envelope image template.
  • the social application can provide a switch 904 that switches the visual elements of the English word between uppercase English and lowercase English.
  • the corresponding constraint includes: the visual element is at most 4 English letters, and the user can input 1-4 English letters under the constraint condition, and the social application
  • the English letter size can be adaptively adjusted according to the number of English letters.
  • the corresponding constraint includes: the visual element is a picture format, and the size does not exceed a preset value.
  • Step 610 Obtain configuration information corresponding to a user-defined visual element.
  • Step 612 Acquire a user identifier of the currently registered social application, and select the selected red envelope image template, User-defined visual elements and acquired configuration information are associated with the user ID on the server.
  • the resources to be shared are configured to obtain data required for obtaining resources.
  • Step 614 querying, from the server, the red envelope image template associated with the user identification, the user-defined visual element, and the configuration information of the visual element.
  • the social application may trigger the query data from the server when the user clicks the virtual red envelope trigger control 702 in the session page as shown in FIG. 7, or may trigger the trigger when the user clicks the virtual red envelope trigger control 905 in the red envelope image configuration page.
  • the server queries the drawing data.
  • Step 616 drawing a red envelope image according to the red envelope image template, the visual element, and the configuration information.
  • Step 618 displaying the red envelope image in a session page of the social application.
  • Step 620 The red packet message corresponding to the data required to allocate the value corresponding to the red packet image is transmitted through the social network, and the resource sharing message includes data required to acquire the resource.
  • the social application displays the red envelope image 1201 of the red envelope message when displaying the red envelope message sent by the user, and delivers the red envelope message to the session object(s) of the session page through the social network.
  • the session object can also send a red envelope message.
  • the terminal displays the red envelope image 1202 of the received red packet message.
  • Step 622 Acquire an operation instruction for the displayed red envelope image.
  • the user can touch the red envelope image 1301 to trigger an operation instruction.
  • Step 624 Generate a numerical value allocation request including a red envelope identifier and a numerical demand side identifier according to the operation instruction.
  • Step 626 the value assignment request is sent to the server, so that the server selects some or all of the remaining value shares corresponding to the red envelope identifier to be assigned to the numerical account corresponding to the value demander identifier.
  • Step 628 Receive a numerical distribution result fed back by the server.
  • Step 630 displaying a result display page having a custom background image that matches the visual element, and displaying the numerical assignment result in the result display page.
  • the result display page 1401 of the red envelope style is displayed in the social application, and the result distribution page 1401 is displayed with the numerical distribution result 1402, and the result display page 1401 is customized back.
  • the scene image 1403 matches the user-defined visual element.
  • the red packet message sent by each user may have better recognition, and the specific red packet message may be efficiently identified in the session scenario of the multi-user.
  • multiple users can interact with each other through the red envelope image in the session page, as shown in FIG.
  • the present application further provides a terminal 1500.
  • the internal structure of the terminal may correspond to the structure shown in FIG. 2.
  • Each of the following modules may be implemented in whole or in part by software, hardware, or a combination thereof.
  • the terminal 1500 includes a resource configuration module 1501, a user identifier acquisition module 1502, a drawing data acquisition module 1503, a drawing module 1504, a display module 1505, and a resource sharing message delivery module 1506.
  • the resource configuration module 1501 is configured to configure resources to be shared, and obtain data required for acquiring resources.
  • the user identifier obtaining module 1502 is configured to obtain a user identifier of the currently logged in social application.
  • the drawing data obtaining module 1503 is configured to acquire a resource sharing message image template associated with the user identifier, a user-defined visual element, and configuration information of the visual element.
  • the drawing module 1504 is configured to draw a resource sharing message image according to the resource sharing message image template, the visual element, and the configuration information.
  • the display module 1505 is configured to display the resource sharing message image in a social communication page of the social application.
  • the resource sharing message delivery module 1506 is configured to transmit, by using a social network, a resource sharing message corresponding to the resource sharing message image, where the resource sharing message includes data required for acquiring the resource.
  • the user customizes the visual element, and associates the resource sharing message image template, the visual element, and the configuration information of the visual element with the user identifier, and when the resource needs to be shared, the resource can be obtained according to the user identifier.
  • Share message image templates, visual elements, and configuration information to complete the rendering of resource sharing message images.
  • the resource sharing message image is displayed in a social communication page of the social application, and the resource sharing message is transmitted through the social network to realize sharing of resources.
  • the resource sharing message image has user-defined visual elements, which can easily and efficiently identify resource sharing messages.
  • the terminal 1500 further includes: a template selection module 1507, A visual element entry module 1508, a configuration information acquisition module 1509, and an association module 1510.
  • the template selection module 1507 is configured to select a resource sharing message image template from the candidate resource sharing message image templates.
  • the visual element entry module 1508 is configured to obtain a user-defined visual element.
  • the configuration information obtaining module 1509 is configured to acquire configuration information corresponding to a user-defined visual element.
  • the association module 1510 is configured to associate the selected resource sharing message image template, the user-defined visual element, and the acquired configuration information with the user identifier.
  • the resource sharing message image template can be freely selected from the candidate resource sharing message image template according to the user's intention, and the visual corresponding to the selected resource sharing message image template can be customized.
  • the element such that the probability that different users are configured to share the message image with the same resource, is further reduced, further enhancing the visibility of the resource sharing message.
  • the terminal 1500 further includes: a preview module 1511, configured to display a resource sharing message image generated by adding a visual element to an edit region of the selected resource sharing message image template. Preview the image.
  • the terminal 1500 further includes: a constraint acquiring module 1512, configured to acquire a constraint condition corresponding to the selected resource sharing message image template.
  • the visual element entry module 1508 is also used to obtain user-defined visual elements under constraints.
  • the selected resource sharing message image template has a corresponding constraint condition, and the visual element is acquired and associated with the user identifier under the constraint condition, so as to avoid an error when drawing the resource sharing message image, thereby avoiding resource sharing. An error occurred.
  • the terminal 1500 further includes: an operation instruction acquisition module 1513, a resource acquisition request generation module 1514, a resource acquisition module 1515, a resource acquisition result receiving module 1516, and a resource acquisition result display module 1517.
  • the operation instruction acquisition module 1513 is configured to acquire an operation instruction for the displayed resource sharing message image.
  • the resource acquisition request generating module 1514 is configured to generate a resource acquisition request including a resource identifier and a resource acquirer identifier according to the operation instruction.
  • the resource obtaining module 1515 is configured to send a resource acquisition request to the server, so that the server allocates the resource corresponding to the resource identifier to the resource acquirer identifier.
  • the resource acquisition result receiving module 1516 is configured to receive a resource acquisition result fed back by the server.
  • the resource acquisition result display module 1517 is configured to display a result display page having a customized background image that matches the visual element, and display the resource acquisition result in the result display page.
  • the resource sharing message image may trigger the action of acquiring the resource, and display the resource obtaining result in the result display page, and the result display page has a customized background image matching the visual element, which can convey more Information increases the way users interact.
  • the rendering data acquisition module 1503 is further configured to query, from the server, a resource sharing message image template associated with the user identification, a user-defined visual element, and configuration information of the visual element. If queried, the rendering module 1504 is notified.
  • the drawing module 1504 is further configured to draw a resource sharing message image according to the resource sharing message image template, the visual element, and the configuration information in the memory.
  • the display module 1505 is further configured to obtain a resource sharing instruction, and display the resource sharing message image in the social communication page of the social application according to the resource sharing instruction.
  • the resource sharing message image may be completed in advance in the memory, and the resource sharing message image pre-drawn in the memory may be immediately displayed in the resource sharing operation.
  • Drawing takes more time than display, and here the efficiency of resource sharing is greatly improved by pre-rendering resource sharing message images.
  • the resource sharing message is for triggering an action of acquiring a resource;
  • the resource includes at least one of a virtual item and a physical item;
  • the visual element includes at least one of a character and a picture.
  • the storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Multimedia (AREA)
  • Automation & Control Theory (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Telephone Function (AREA)

Abstract

一种资源分享方法,包括:通过处理器对待分享的资源进行配置,获得获取资源所需数据;获取当前登录社交应用的用户标识;获取与所述用户标识相关联的资源分享消息图像模板、用户自定义的可视元素以及所述可视元素的配置信息;根据所述资源分享消息图像模板、所述可视元素以及所述配置信息绘制资源分享消息图像;将所述资源分享消息图像显示在所述社交应用的社交传播页面中;及通过社交网络传递所述资源分享消息图像对应的资源分享消息,所述资源分享消息包括所述获取资源所需数据。

Description

资源分享方法、终端及存储介质
本申请要求于2016年1月21日提交中国专利局,申请号为201610042161.6,发明名称为“资源分享方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及互联网技术领域,特别是涉及一种资源分享方法、终端及存储介质。
背景技术
资源,包括虚拟物品以及实体物品,虚拟物品比如账户数值、积分或者电子代金券等。资源的主人可以通过社交网络将资源进行分享,具有权限的用户就可以获取到该分享的资源,将资源在社交网络中进行分享可以增加用户之间的互动,从而维护已有关系链以及建立新的社交关系链。
然而,目前资源的主人在分享资源时,生成的资源分享消息的内容千篇一律,辨识性很差。比如发放虚拟红包时,资源分享消息为红包消息,红包消息都显示为应用程序所指定的红包样式,假设有多个用户发放虚拟红包,就难以从资源分享消息本身辨识出不同的红包消息。
发明内容
根据本申请的各种实施例,提供一种资源分享方法、终端及存储介质。
一种资源分享方法,包括:
通过处理器对待分享的资源进行配置,获得获取资源所需数据;
获取当前登录社交应用的用户标识;
获取与所述用户标识相关联的资源分享消息图像模板、用户自定义的可 视元素以及所述可视元素的配置信息;
根据所述资源分享消息图像模板、所述可视元素以及所述配置信息绘制资源分享消息图像,并将所述资源分享消息图像显示在所述社交应用的社交传播页面中;及
通过社交网络传递所述资源分享消息图像对应的资源分享消息,所述资源分享消息包括所述获取资源所需数据。
一种终端,包括存储器和处理器,所述存储器中储存有计算机可读指令,其特征在于,所述计算机可读指令被所述处理器执行时,使得所述处理器执行以下步骤:
对待分享的资源进行配置,获得获取资源所需数据;
获取当前登录社交应用的用户标识;
获取与所述用户标识相关联的资源分享消息图像模板、用户自定义的可视元素以及所述可视元素的配置信息;
根据所述资源分享消息图像模板、所述可视元素以及所述配置信息绘制资源分享消息图像,并将所述资源分享消息图像显示在所述社交应用的社交传播页面中;及
通过社交网络传递所述资源分享消息图像对应的资源分享消息,所述资源分享消息包括所述获取资源所需数据。
一个或多个存储有计算机可读指令的计算机可读非易失性存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:
对待分享的资源进行配置,获得获取资源所需数据;
获取当前登录社交应用的用户标识;
获取与所述用户标识相关联的资源分享消息图像模板、用户自定义的可视元素以及所述可视元素的配置信息;
根据所述资源分享消息图像模板、所述可视元素以及所述配置信息绘制资源分享消息图像,并将所述资源分享消息图像显示在所述社交应用的社交 传播页面中;及
通过社交网络传递所述资源分享消息图像对应的资源分享消息,所述资源分享消息包括所述获取资源所需数据。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本发明的其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为一个实施例中资源分享系统的应用环境图;
图2为一个实施例中用于实现一种资源分享方法的终端的结构示意图;
图3为一个实施例中资源分享方法的流程示意图;
图4为一个实施例中自定义配置资源分享消息图像模板的步骤的流程示意图;
图5为一个实施例中获取资源的步骤的流程示意图;
图6为另一个实施例中资源分享方法的流程示意图;
图7为一个实施例中会话页面的示意图之一;
图8为一个实施例中红包图像配置页面的示意图之一;
图9为一个实施例中红包图像配置页面的示意图之二;
图10为一个实施例中红包图像配置页面的示意图之三;
图11为一个实施例中红包图像配置页面的示意图之四;
图12为一个实施例中会话页面的示意图之二;
图13为一个实施例中会话页面的示意图之三;
图14为一个实施例中会话页面的示意图之四;
图15为一个实施例中终端的结构框图;
图16为另一个实施例中终端的结构框图;
图17为再一个实施例中终端的结构框图;
图18为一个实施例中终端的结构框图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
如图1所示,在一个实施例中,提供了一种资源分享系统,其包括终端110和服务器120。终端110包括移动终端和台式计算机等,移动终端包括手机、平板电脑、智能手表、个人数字助理(PDA)和可联网电子阅读器等中的至少一种。服务器120可以是独立的物理服务器也可以是物理服务器集群。
如图2所示,在一个实施例中,提供了一种用于实现一种资源分享方法的终端110,其包括通过系统总线连接的处理器、非易失性存储介质、内存储器、网络接口和触控屏。其中处理器具有计算功能和控制移动终端110工作的功能,该处理器被配置为执行一种资源分享方法。非易失性存储介质包括磁存储介质、光存储介质和闪存式存储介质中的至少一种网络接口用于连接到服务器120。触控屏包括触控层和显示屏,显示屏包括液晶显示屏、柔性显示屏和电子墨水显示屏中的至少一种。
如图3所示,在一个实施例中,提供了一种资源分享方法,本实施例以该方法应用于上述图1和图2中的终端110来举例说明。该方法具体包括如下步骤:
步骤302,对待分享的资源进行配置,获得获取资源所需数据。
具体地,终端可接收资源分享指令,根据该资源分享指令触发进入资源配置页面,并在资源配置页面中显示待分享的资源的配置项,从而根据对各个配置项的配置指令获得待分享的资源的配置参数。配置项比如待分享的资源的资源类型、资源份额、资源分配方式以及可获取资源的用户属性等,配 置参数则是对各个配置项进行配置后的具体值。资源类型比如是货币红包类型、实物红包类型或者购物券红包类型等。资源份额比如货币数额,资源分配方式比如平均分配或者随机分配。可获取资源的用户属性是指仅好友可获取或者仅群组成员可获取。步骤302可以在步骤306之后执行。
获取资源所需数据是指获取待分享的资源所需要的数据,可以包括资源标识,用于唯一标识出待分享的资源;也可以包括用户标识,用于标识出发起资源分享消息的用户;还可以包括资源分享消息的有效期限信息。
步骤304,获取当前登录社交应用的用户标识。
其中社交应用是基于社交网络进行网络社交互动的应用,社交应用通常具有联系人查找功能以及即时通信功能,还可以具有UGC(User Generated Content,用户生成内容)分享功能以及UGC评论功能。社交应用可以是即时通信应用或者SNS(Social Network Sites,社交网站)应用等。终端获取的当前登录社交应用的用户标识,可以是用户在登录社交应用时输入的账号,也可以是根据该账号生成的唯一字符串。
步骤306,获取与用户标识相关联的资源分享消息图像模板、用户自定义的可视元素以及可视元素的配置信息。
具体地,终端可根据用户标识,从本地或者服务器查询获得与用户标识相关联的资源分享消息图像模板、用户自定义的可视元素以及可视元素的配置信息。资源分享消息图像模板、用户自定义的可视元素以及可视元素的配置信息用于绘制资源分享消息图像,为方便描述可统称为绘制数据。
在一个实施例中,终端可判断本地是否存储有绘制数据,若本地存储有绘制数据,则从服务器查询自上次获取绘制数据到当前时间的时间段内用户标识对应的绘制数据是否发生变化,若未发生变化则直接从本地获取用户标识对应的绘制数据;若发生变化或者本地未存储绘制数据,则从服务器查询获得与用户标识对应的绘制数据。
其中,资源是指可通过网络获取所有权的物品,包括虚拟物品和实体物品中的至少一种,虚拟物品包括账户数值、虚拟形象产品、虚拟充值卡、游 戏装备和虚拟货币中的至少一种,实体物品可以是任意可被用户拥有的具有实际形态的物品,比如电子产品、玩具、工艺品或者签名照片等。
资源分享消息图像是指资源消息在展示时所呈现的图像,资源分享消息图像模板则是模板化的资源分享消息图像。资源分享消息图像模板约束了资源分享消息图像的整体形状和大小等整体属性,还可以约束用于容纳用户自定义的可视元素的编辑区域的形状、大小和位置等信息。
可视元素是指可以显示出来使人眼可见用以传达信息的数据。可视元素包括字符、图片和动画文件中的一种或几种的组合。其中图片的格式可以采用JPEG格式(一种图片格式,Joint Photographic Experts Group即联合图像专家小组制定的图像压缩标准)、PNG格式(全称Portable Network Graphic Format,意为便携网络图形格式)或者其它自定义图片格式。图片可以包括静态图片和动态图片,动态图片可以采用GIF格式(全称Graphics Interchange Format,图形文件交换格式)。动画文件可以采用SWF格式(全称Shock Wave Flash,Adobe公司提供的FLASH动画文件格式)或者其它自定义动画文件格式。
可视元素的配置信息用于描述用户自定义的可视元素自身的属性,以及与相应的资源分享消息图像模板的关系。可视元素的配置信息具体可以包括可视元素的尺寸以及相对于资源分享消息图像模板的位置。
比如,若可视元素包括字符,相应的配置信息可以包括字体、字间距、字号、对齐格式以及字符颜色等用于描述字符本身属性的信息,还可以包括字符在相应的资源分享消息图像模板中的位置。若可视元素包括图片,相应的配置信息可以包括透明度以及图片在资源分享消息图像模板中的位置。
步骤308,根据资源分享消息图像模板、可视元素以及配置信息绘制资源分享消息图像,并将资源分享消息图像显示在社交应用的社交传播页面中。
具体地,终端按照可视元素的配置信息,将资源分享消息图像模板和可视元素融合,绘制成资源分享消息图像。进一步地,终端可按照配置信息中用于描述可视元素本身属性的信息绘制可视元素,按照配置信息中用于描述 位置的信息将可视元素与资源分享消息图像模板融合。
社交传播页面是指社交应用中可被社交好友访问的可传播消息的页面,比如会话页面、UGC分享页面或者公众可访问的个人页面等。其中会话页面包括一对一会话页面和群组会话页面。
步骤310,通过社交网络传递资源分享消息图像对应的资源分享消息,资源分享消息包括获取资源所需数据。
具体地,终端可生成与资源分享消息图像对应的资源分享消息,并通过社交网络的消息通道传播该资源分享消息。传播的对象与社交传播页面的类型相关,比如若社交传播页面为一对一会话页面,则传播的对象可以是与当前用户会话的另一用户的标识;若社交传播页面为群组会话页面,则传播的对象可以是当前群组中除去当前的用户标识的所有群组成员。
其中,资源分享消息包括获取资源所需数据,还包括资源分享消息图像或者用于获取资源分享消息图像的数据。其中获取资源所需数据可以包括资源标识,用于唯一标识出可获取的资源;也可以包括用户标识,用于标识出发起资源分享消息的用户;还可以包括资源分享消息的有效期限。用于获取资源分享消息图像的数据可以是用户标识,也可以是资源分享消息图像的访问地址,还可以是与用户标识相关联的资源分享消息图像模板、用户自定义的可视元素以及可视元素的配置信息的访问地址。
上述资源分享方法,用户自定义了可视元素,并将资源分享消息图像模板、可视元素以及可视元素的配置信息与用户标识相关联,在需要分享资源时,便可以根据用户标识获取到资源分享消息图像模板、可视元素以及配置信息以完成资源分享消息图像的绘制。将资源分享消息图像显示在社交应用的社交传播页面中,通过社交网络传递资源分享消息实现资源的分享。资源分享消息图像具有用户自定义可视元素,可以方便、高效地辨识资源分享消息。
在一个实施例中,该方法还包括:在社交传播页面中显示资源分享消息图像时,播放自定义的音频。音频可以是用户自定义的音频,具体可以是即 时录制的音频,也可以是从本地选取的音频,也可以是从服务器提供的音频集合中选中的音频。
在一个实施例中,该方法还包括:获取音频的标识;步骤S310包括:生成包括获取资源所需数据和音频的标识的资源分享消息,该资源分享消息与传递资源分享消息图像对应;通过社交网络传递该资源分享消息。
其中,音频的标识用于唯一标识出相应的音频。音频的标识用于获取音频并播放。音频具体可以是音乐或者语音等。音频的标识可以是音频的URL(Uniform Resource Locator,统一资源定位器),该音频的URL可由终端将音频上传到服务器后生成。
本实施例中,通过社交网络传播的资源分享消息不仅可以用来分享资源,还可以在接收端播放特定的音频,可增加传递的信息量。
如图4所示,在一个实施例中,该资源分享方法还包括自定义配置资源分享消息图像模板的步骤,具体包括如下步骤:
步骤402,从候选的资源分享消息图像模板中选定资源分享消息图像模板。
具体地,终端可检测对社交传播页面中的资源分享消息图像配置控件的操作,从而根据检测到的操作进入资源分享消息图像配置页面,检测的操作可以是长按、点击、滑动以及多点触控等方式。
终端从服务器拉取候选的资源分享消息图像模板的列表并在资源分享消息图像配置页面中显示,接收用户选择指令,根据用户选择指令从候选的资源分享消息图像模板中选定资源分享消息图像模板。
步骤404,获取用户自定义的可视元素。
具体地,终端可获取用户输入的字符,或者根据用户选择指令选择图片或动画文件。在一个实施例中,终端若未检测到用户自定义可视元素的操作,则获取选定的资源分享消息图像模板的默认可视元素,并将该默认可视元素作为用户自定义的可视元素。
在一个实施例中,终端可显示将可视元素添加到选定的资源分享消息图 像模板的编辑区域中所生成的资源分享消息图像的预览图像。这样用户可以预览资源分享消息图像,以便对自定义可视元素的结果有准确的把握。
步骤406,获取与用户自定义的可视元素对应的配置信息。
具体地,终端可在用户触发的确认配置的指令之后获取与用户自定义的可视元素对应的配置信息。获取的配置信息可以包括用户输入的配置信息和自动计算出的配置信息。
步骤408,将选定的资源分享消息图像模板、用户自定义的可视元素及获取的配置信息与用户标识相关联。
具体地,终端可将选定的资源分享消息图像模板、用户自定义的可视元素及获取的配置信息与用户标识在服务器上建立关联。终端可将用户标识、资源分享消息图像模板的标识、用户自定义的可视元素和相应的配置信息传递到服务器,由服务器将选定的资源分享消息图像模板、用户自定义的可视元素及获取的配置信息与用户标识相关联。
本实施例中,通过自定义配置,可根据用户意愿自由地从候选的资源分享消息图像模板中选定资源分享消息图像模板,并可以自定义与选定的资源分享消息图像模板对应的可视元素,这样不同用户配置成相同的资源分享消息图像的概率进一步减少,进一步增强了资源分享消息的辨识性。
在一个实施例中,步骤404之前,还包括:获取选定的资源分享消息图像模板所对应的约束条件;且步骤404包括:获取在约束条件下用户自定义的可视元素。
其中,约束条件是用户自定义的可视元素应当满足的条件,可以包括对可视元素本身属性的约束,还可以包括对可视元素相对于选定的资源分享消息图像模板的位置的约束。比如约束条件可以是对可视元素的尺寸、数量、位置、颜色、透明度以及位置等的约束。
具体地,服务器预先存储了每种资源分享消息图像模板所对应的约束条件,终端可在选定资源分享消息图像模板后,从服务器获取选定的资源分享消息图像模板所对应的约束条件。终端可显示约束条件的提示,以引导用户 按照约束条件尽快录入或者选定符合约束条件的可视元素。
终端获取在约束条件下用户自定义的可视元素时,具体可以判断经过自定义配置操作后的可视元素是否会满足约束条件,若不满足则拒绝该自定义配置操作;若满足则接受该自定义配置操作。自定义配置操作比如上传可视元素、增加可视元素的数量、更改可视元素的尺寸或者移动可视元素的位置等。
本实施例中,选定的资源分享消息图像模板具有相应的约束条件,在该约束条件下获取可视元素并与用户标识关联,这样可以避免在绘制资源分享消息图像时出错,从而避免资源分享出错。
如图5所示,在一个实施例中,该资源分享方法还包括获取资源的步骤,具体包括如下步骤:
步骤502,获取对显示的资源分享消息图像的操作指令。
具体地,发起资源分享的终端可获取对显示的资源分享消息图像的操作指令;接收到资源分享消息的终端可根据接收到的资源分享消息显示资源分享消息图像,并获取对显示的资源分享消息图像的操作指令。操作指令可以通过长按、点击、滑动以及多点触控等方式触发。
步骤504,根据操作指令生成包括资源标识和资源获取方标识的资源获取请求。
具体地,终端根据操作指令从资源分享消息中提取资源标识,并生成包括资源标识和资源获取方标识的资源获取请求。资源获取方标识是请求获取资源的用户的标识,可以是触发操作指令的终端所登录的用户标识。
在一个实施例中,终端可根据操作指令从资源分享消息中提取资源标识,并从服务器查询当前登录的用户标识是否具有获取资源标识对应的资源的权限;若有则根据操作指令生成包括资源标识和资源获取方标识的资源获取请求;若没有则无动作或者提示获取失败。
在一个实施例中,该方法还包括:根据操作指令获取与资源分享消息图像对应的自定义的音频,播放该音频。本实施例中,在获取资源时,可以播 放自定义的音频,可传达更多的信息量,还可以提醒发生了获取资源的动作。
步骤506,将资源获取请求发送至服务器,以使服务器为资源获取方标识分配资源标识所对应的资源。
具体地,终端将资源获取请求发送至服务器,服务器根据该资源获取请求获取资源标识和资源获取方标识,从而为资源获取方标识分配资源标识所对应的资源。服务器可在接收到资源获取请求后判断资源标识对应的资源是否存在剩余份额,若存在则从剩余份额中为资源获取方标识分配资源且减少相应的份额,并向终端反馈获取资源成功的资源获取结果;若不存在则直接向终端反馈获取资源失败的资源获取结果。
服务器在分配资源时,若资源为按数值分配的资源,比如虚拟红包或者虚拟充值卡的数值,则服务器在为资源获取方标识分配资源时,可按照预设的固定的数值或者按照随机从预设数值范围内选择的数值,转入资源获取方标识所对应的数值账户中。数值账户包括现金账户和礼券账户,数值账户可设置在银行服务器或者第三方支付服务器上。若资源为登记领取的资源,比如实体物品,则服务器在为资源获取方标识分配资源时,可以记录资源与资源获取方标识的对应关系,以表示相应用户对该资源的所有权,从而后续通过其它方式发放资源。
步骤508,接收服务器反馈的资源获取结果。
具体地,资源获取结果分为获取资源成功的结果和获取资源失败的结果,终端接收服务器在进行资源分配后反馈的资源获取结果。获取资源成功的结果还可以包括获取的资源的描述信息,比如领取到的红包数值。
步骤510,显示具有与可视元素匹配的自定义背景图像的结果展示页面,并在结果展示页面中展示资源获取结果。
具体地,终端显示结果展示页面,该结果展示页面具有自定义背景图像,该自定义背景图像与可视元素匹配,终端在该结果展示页面中展示资源获取结果。自定义背景图像与可视元素匹配,具体自定义背景图可以是将可视元素缩放处理后的图像,也可以是将可视元素重新排布之后的图像。自定义背 景图像可以水印形式与结果展示页面融合。
本实施例中,通过资源分享消息图像可以触发获取资源的动作,并将资源获取结果展示在结果展示页面中,该结果展示页面具有与可视元素匹配的自定义背景图像,可以传达更多的信息,增加了用户之间的互动方式。
在一个实施例中,步骤306包括:从服务器查询与用户标识相关联的资源分享消息图像模板、用户自定义的可视元素以及可视元素的配置信息;若查询到,则在内存中执行步骤308;以及获取资源分享指令,根据资源分享指令直接执行将资源分享消息图像显示在社交应用的社交传播页面中的步骤。
具体地,终端可在发起资源分享之前,比如登录社交应用之后,或者在完成自定义配置资源分享消息图像模板后,从服务器查询与用户标识相关联的资源分享消息图像模板、用户自定义的可视元素以及可视元素的配置信息。若查询到则直接在内存中根据查询到的绘制数据绘制资源分享消息图像。若未查询到则说明用户没有自定义配置资源分享消息图像模板,后续在分享资源时采用社交应用默认的资源分享消息图像。
终端在检测到用于触发分享资源的动作时,比如分享资源的按钮被按下时,获取到相应的资源分享指令。终端根据资源分享指令在服务器上完成资源配置,并获得配置的资源对应的获取资源所需数据。资源配置比如资源类型的配置、资源份额的配置以及资源分配方式的配置等。
本实施例中,在从服务器查询到绘制数据之后,便可以预先在内存中完成资源分享消息图像的绘制,在进行资源分享的操作时便可以立即将内存中预先绘制的资源分享消息图像显示在社交传播页面中。绘制比显示要消耗更多时间,这里通过预先绘制资源分享消息图像极大地提高了进行资源分享的效率。
在一个实施例中,资源分享消息图像模板为红包图像模板,资源分享消息图像为红包图像,资源分享消息为红包消息,红包消息是一种特殊的消息,社交传播页面为会话页面,资源分享消息图像配置页面为红包图像配置页面。 其中,红包是具有货币等价物属性的礼物,虚拟红包则是电子形式的可由计算机处理的红包。如图6所示,一种资源分享方法,具体包括如下步骤:
步骤602,通过社交应用进入红包图像配置页面。
例如,参照图7,用户登录社交应用之后进入会话页面,在会话页面的工具栏中点触红包图像配置控件701进入如图8所示的红包图像配置页面。
步骤604,从服务器获取候选的红包图像模板,并从候选的红包图像模板中选定红包图像模板。
比如,社交应用进入红包图像配置页面时,从服务器拉取候选的红包图像模板列表,并显示在红包图像配置页面中,如图8所示候选的红包图像模板810、820和830。图8中用户选中了候选的红包图像模板820,社交应用中显示其放大视图。
步骤606,获取选定的红包图像模板所对应的约束条件。
比如,用户点触如图8所示的红包图像模板821的编辑区域821a,进入图9所示的红包图像配置页面,社交应用获取到红包图像模板821对应的约束条件包括:可视元素为1个英文词。
步骤608,获取在约束条件下用户自定义的可视元素。
比如,参照图9,社交应用中可显示约束条件的提示901,用户在输入框902中输入一个英文词“Rich”,社交应用中显示将该英文词“Rich”添加到选定的红包图像模板的编辑区域中所生成的红包图像的预览图像903。社交应用可提供将英文词的可视元素在大写英文和小写英文之间切换的开关904。
再比如,参照图10,若选定的红包图像模板为810,相应的约束条件包括:可视元素为至多4个英文字母,在该约束条件下用户可输入1-4个英文字母,社交应用可根据英文字母数不同自适应调整英文字母字号。再比如,参照图11,若选定的红包图像模板为830,相应的约束条件包括:可视元素是图片格式,且大小不超过预设数值。
步骤610,获取与用户自定义的可视元素对应的配置信息。
步骤612,获取当前登录社交应用的用户标识,将选定的红包图像模板、 用户自定义的可视元素及获取的配置信息与用户标识在服务器上建立关联。
步骤613,对待分享的资源进行配置,获得获取资源所需数据。
步骤614,从服务器查询与用户标识相关联的红包图像模板、用户自定义的可视元素以及可视元素的配置信息。
比如,社交应用可在用户点击如图7所示的会话页面中的虚拟红包触发控件702时触发从服务器查询绘制数据,也可以在用户点击红包图像配置页面中的虚拟红包触发控件905时触发从服务器查询绘制数据。
步骤616,根据红包图像模板、可视元素以及配置信息绘制红包图像。
步骤618,将红包图像显示在社交应用的会话页面中。
步骤620,通过社交网络传递红包图像对应的包括分配数值所需数据的红包消息,资源分享消息包括获取资源所需数据。
比如,参照图12,社交应用展示用户发送的红包消息时显示该红包消息的红包图像1201,并通过社交网络将红包消息传递给会话页面的会话对象(一个或多个)。会话对象同样也可以发送红包消息,比如,本终端接收到会话对象发送的红包消息后,展示接收到的红包消息的红包图像1202。
步骤622,获取对显示的红包图像的操作指令。比如参照图13,用户可以点触红包图像1301以触发操作指令。
步骤624,根据操作指令生成包括红包标识和数值需求方标识的数值分配请求。
步骤626,将数值分配请求发送至服务器,以使服务器从红包标识所对应的剩余数值份额中选取一部分或全部数值,以分配到数值需求方标识所对应的数值账户中。
步骤628,接收服务器反馈的数值分配结果。
步骤630,显示具有与可视元素匹配的自定义背景图像的结果展示页面,并在结果展示页面中展示数值分配结果。
比如,参照图14,社交应用中展示红包样式的结果展示页面1401,结果展示页面1401中展示有数值分配结果1402,结果展示页面1401的自定义背 景图像1403与用户自定义的可视元素匹配。
本实施例中,社交应用的会话页面中,各个用户发送的红包消息可以具有较好的识别性,在多用户的会话场景中可以高效地辨识出特定的红包消息。而且,在会话页面中多用户之间可以通过红包图像进行互动,如图12所示。
如图15所示,本申请还提供一种终端1500,终端的内部结构可对应于如图2所示的结构,下述每个模块可全部或部分通过软件、硬件或其组合来实现。终端1500包括资源配置模块1501、用户标识获取模块1502、绘制数据获取模块1503、绘制模块1504、显示模块1505和资源分享消息传递模块1506。
资源配置模块1501,用于对待分享的资源进行配置,获得获取资源所需数据。
用户标识获取模块1502,用于获取当前登录社交应用的用户标识。
绘制数据获取模块1503,用于获取与用户标识相关联的资源分享消息图像模板、用户自定义的可视元素以及可视元素的配置信息。
绘制模块1504,用于根据资源分享消息图像模板、可视元素以及配置信息绘制资源分享消息图像。
显示模块1505,用于将资源分享消息图像显示在社交应用的社交传播页面中。
资源分享消息传递模块1506,用于通过社交网络传递资源分享消息图像对应的资源分享消息,资源分享消息包括获取资源所需数据。
上述终端1500,用户自定义了可视元素,并将资源分享消息图像模板、可视元素以及可视元素的配置信息与用户标识相关联,在需要分享资源时,便可以根据用户标识获取到资源分享消息图像模板、可视元素以及配置信息以完成资源分享消息图像的绘制。将资源分享消息图像显示在社交应用的社交传播页面中,通过社交网络传递资源分享消息实现资源的分享。资源分享消息图像具有用户自定义可视元素,可以方便、高效地辨识资源分享消息。
如图16所示,在一个实施例中,终端1500还包括:模板选定模块1507、 可视元素录入模块1508、配置信息获取模块1509和关联模块1510。
模板选定模块1507,用于从候选的资源分享消息图像模板中选定资源分享消息图像模板。
可视元素录入模块1508,用于获取用户自定义的可视元素。
配置信息获取模块1509,用于获取与用户自定义的可视元素对应的配置信息。
关联模块1510,用于将选定的资源分享消息图像模板、用户自定义的可视元素及获取的配置信息与用户标识相关联。
本实施例中,通过自定义配置,可根据用户意愿自由地从候选的资源分享消息图像模板中选定资源分享消息图像模板,并可以自定义与选定的资源分享消息图像模板对应的可视元素,这样不同用户配置成相同的资源分享消息图像的概率进一步减少,进一步增强了资源分享消息的辨识性。
如图17所示,在一个实施例中,终端1500还包括:预览模块1511,用于显示将可视元素添加到选定的资源分享消息图像模板的编辑区域中所生成的资源分享消息图像的预览图像。
在一个实施例中,终端1500还包括:约束条件获取模块1512,用于获取选定的资源分享消息图像模板所对应的约束条件。
可视元素录入模块1508还用于获取在约束条件下用户自定义的可视元素。
本实施例中,选定的资源分享消息图像模板具有相应的约束条件,在该约束条件下获取可视元素并与用户标识关联,这样可以避免在绘制资源分享消息图像时出错,从而避免资源分享出错。
如图18所示,在一个实施例中,终端1500还包括:操作指令获取模块1513、资源获取请求生成模块1514、资源获取模块1515、资源获取结果接收模块1516和资源获取结果展示模块1517。
操作指令获取模块1513,用于获取对显示的资源分享消息图像的操作指令。
资源获取请求生成模块1514,用于根据操作指令生成包括资源标识和资源获取方标识的资源获取请求。
资源获取模块1515,用于将资源获取请求发送至服务器,以使服务器为资源获取方标识分配资源标识所对应的资源。
资源获取结果接收模块1516,用于接收服务器反馈的资源获取结果。
资源获取结果展示模块1517,用于显示具有与可视元素匹配的自定义背景图像的结果展示页面,并在结果展示页面中展示资源获取结果。
本实施例中,通过资源分享消息图像可以触发获取资源的动作,并将资源获取结果展示在结果展示页面中,该结果展示页面具有与可视元素匹配的自定义背景图像,可以传达更多的信息,增加了用户之间的互动方式。
在一个实施例中,绘制数据获取模块1503还用于从服务器查询与用户标识相关联的资源分享消息图像模板、用户自定义的可视元素以及可视元素的配置信息。若查询到,则通知绘制模块1504。
绘制模块1504还用于在内存中根据资源分享消息图像模板、可视元素以及配置信息绘制资源分享消息图像。
显示模块1505还用于获取资源分享指令,根据资源分享指令将资源分享消息图像显示在社交应用的社交传播页面中。
本实施例中,在从服务器查询到绘制数据之后,便可以预先在内存中完成资源分享消息图像的绘制,在进行资源分享的操作时便可以立即将内存中预先绘制的资源分享消息图像显示在社交传播页面中。绘制比显示要消耗更多时间,这里通过预先绘制资源分享消息图像极大地提高了进行资源分享的效率。
在一个实施例中,资源分享消息用于触发获取资源的动作;资源包括虚拟物品和实体物品中的至少一种;可视元素包括字符和图片中的至少一种。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施 例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random Access Memory,RAM)等。
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (20)

  1. 一种资源分享方法,包括:
    通过处理器对待分享的资源进行配置,获得获取资源所需数据;
    获取当前登录社交应用的用户标识;
    获取与所述用户标识相关联的资源分享消息图像模板、用户自定义的可视元素以及所述可视元素的配置信息;
    根据所述资源分享消息图像模板、所述可视元素以及所述配置信息绘制资源分享消息图像,并将所述资源分享消息图像显示在所述社交应用的社交传播页面中;及
    通过社交网络传递所述资源分享消息图像对应的资源分享消息,所述资源分享消息包括所述获取资源所需数据。
  2. 根据权利要求1所述的方法,其特征在于,还包括:
    从候选的资源分享消息图像模板中选定资源分享消息图像模板;
    获取用户自定义的可视元素;
    获取与用户自定义的可视元素对应的配置信息;及
    将选定的资源分享消息图像模板、用户自定义的可视元素及获取的配置信息与所述用户标识相关联。
  3. 根据权利要求2所述的方法,其特征在于,所述获取用户自定义的可视元素之前,所述方法还包括:
    获取选定的资源分享消息图像模板所对应的约束条件;
    所述获取用户自定义的可视元素包括:
    获取在所述约束条件下用户自定义的可视元素。
  4. 根据权利要求1所述的方法,其特征在于,还包括:
    获取对显示的所述资源分享消息图像的操作指令;
    根据所述操作指令生成包括资源标识和资源获取方标识的资源获取请求;
    将所述资源获取请求发送至服务器,以使所述服务器为所述资源获取方 标识分配所述资源标识所对应的资源;
    接收所述服务器反馈的资源获取结果;及
    显示具有与所述可视元素匹配的自定义背景图像的结果展示页面,并在所述结果展示页面中展示所述资源获取结果。
  5. 根据权利要求1所述的方法,其特征在于,所述获取与所述用户标识相关联的资源分享消息图像模板、用户自定义的可视元素以及所述可视元素的配置信息包括:
    从服务器查询与所述用户标识相关联的资源分享消息图像模板、用户自定义的可视元素以及所述可视元素的配置信息;
    若查询到,则在内存中执行所述根据所述资源分享消息图像模板、所述可视元素以及所述配置信息绘制资源分享消息图像的步骤;以及
    获取资源分享指令,根据所述资源分享指令直接执行所述将所述资源分享消息图像显示在所述社交应用的社交传播页面中的步骤。
  6. 根据权利要求5所述的方法,其特征在于,所述从服务器查询与所述用户标识相关联的资源分享消息图像模板、用户自定义的可视元素以及所述可视元素的配置信息包括:
    判断本地是否存储有与所述用户标识相关联的绘制数据;所述绘制数据包括与所述用户标识相关联的资源分享消息图像模板、用户自定义的可视元素以及所述可视元素的配置信息;
    若本地存储有所述绘制数据,则从服务器查询自上次获取绘制数据到当前时间的时间段内用户标识对应的绘制数据是否发生变化;
    若未发生所述变化则直接从本地获取用户标识对应的绘制数据;
    若发生所述变化或者本地未存储绘制数据,则从服务器查询获得与用户标识对应的绘制数据。
  7. 根据权利要求1所述的方法,其特征在于,所述资源分享消息用于触发获取资源的动作;所述资源包括虚拟物品和实体物品中的至少一种;所述可视元素包括字符和图片中的至少一种。
  8. 一种终端,包括存储器和处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行以下步骤:
    对待分享的资源进行配置,获得获取资源所需数据;
    获取当前登录社交应用的用户标识;
    获取与所述用户标识相关联的资源分享消息图像模板、用户自定义的可视元素以及所述可视元素的配置信息;
    根据所述资源分享消息图像模板、所述可视元素以及所述配置信息绘制资源分享消息图像,并将所述资源分享消息图像显示在所述社交应用的社交传播页面中;及
    通过社交网络传递所述资源分享消息图像对应的资源分享消息,所述资源分享消息包括所述获取资源所需数据。
  9. 根据权利要求8所述的终端,其特征在于,所述计算机可读指令被所述处理器执行时,还使得所述处理器执行以下步骤:
    从候选的资源分享消息图像模板中选定资源分享消息图像模板;
    获取用户自定义的可视元素;
    获取与用户自定义的可视元素对应的配置信息;及
    将选定的资源分享消息图像模板、用户自定义的可视元素及获取的配置信息与所述用户标识相关联。
  10. 根据权利要求9所述的终端,其特征在于,所述计算机可读指令被所述处理器执行时,还使得所述处理器在执行所述获取用户自定义的可视元素之前执行以下步骤:
    获取选定的资源分享消息图像模板所对应的约束条件;
    所述获取用户自定义的可视元素包括:
    获取在所述约束条件下用户自定义的可视元素。
  11. 根据权利要求8所述的终端,其特征在于,所述计算机可读指令被所述处理器执行时,还使得所述处理器执行以下步骤:
    获取对显示的所述资源分享消息图像的操作指令;
    根据所述操作指令生成包括资源标识和资源获取方标识的资源获取请求;
    将所述资源获取请求发送至服务器,以使所述服务器为所述资源获取方标识分配所述资源标识所对应的资源;
    接收所述服务器反馈的资源获取结果;及
    显示具有与所述可视元素匹配的自定义背景图像的结果展示页面,并在所述结果展示页面中展示所述资源获取结果。
  12. 根据权利要求8所述的终端,其特征在于,所述获取与所述用户标识相关联的资源分享消息图像模板、用户自定义的可视元素以及所述可视元素的配置信息包括:
    从服务器查询与所述用户标识相关联的资源分享消息图像模板、用户自定义的可视元素以及所述可视元素的配置信息;
    若查询到,则在内存中执行所述根据所述资源分享消息图像模板、所述可视元素以及所述配置信息绘制资源分享消息图像的步骤;以及
    获取资源分享指令,根据所述资源分享指令直接执行所述将所述资源分享消息图像显示在所述社交应用的社交传播页面中的步骤。
  13. 根据权利要求12所述的终端,其特征在于,所述从服务器查询与所述用户标识相关联的资源分享消息图像模板、用户自定义的可视元素以及所述可视元素的配置信息包括:
    判断本地是否存储有与所述用户标识相关联的绘制数据;所述绘制数据包括与所述用户标识相关联的资源分享消息图像模板、用户自定义的可视元素以及所述可视元素的配置信息;
    若本地存储有所述绘制数据,则从服务器查询自上次获取绘制数据到当前时间的时间段内用户标识对应的绘制数据是否发生变化;
    若未发生所述变化则直接从本地获取用户标识对应的绘制数据;
    若发生所述变化或者本地未存储绘制数据,则从服务器查询获得与用户 标识对应的绘制数据。
  14. 根据权利要求8所述的终端,其特征在于,所述资源分享消息用于触发获取资源的动作;所述资源包括虚拟物品和实体物品中的至少一种;所述可视元素包括字符和图片中的至少一种。
  15. 一个或多个存储有计算机可读指令的计算机可读非易失性存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:
    对待分享的资源进行配置,获得获取资源所需数据;
    获取当前登录社交应用的用户标识;
    获取与所述用户标识相关联的资源分享消息图像模板、用户自定义的可视元素以及所述可视元素的配置信息;
    根据所述资源分享消息图像模板、所述可视元素以及所述配置信息绘制资源分享消息图像,并将所述资源分享消息图像显示在所述社交应用的社交传播页面中;及
    通过社交网络传递所述资源分享消息图像对应的资源分享消息,所述资源分享消息包括所述获取资源所需数据。
  16. 根据权利要求15所述的计算机可读非易失性存储介质,其特征在于,所述计算机可读指令被所述一个或多个处理器执行时,还使得所述一个或多个处理器执行以下步骤:
    从候选的资源分享消息图像模板中选定资源分享消息图像模板;
    获取用户自定义的可视元素;
    获取与用户自定义的可视元素对应的配置信息;及
    将选定的资源分享消息图像模板、用户自定义的可视元素及获取的配置信息与所述用户标识相关联。
  17. 根据权利要求16所述的计算机可读非易失性存储介质,其特征在于,所述计算机可读指令被所述一个或多个处理器执行时,还使得所述一个或多 个处理器在执行所述获取用户自定义的可视元素之前执行以下步骤:
    获取选定的资源分享消息图像模板所对应的约束条件;
    所述获取用户自定义的可视元素包括:
    获取在所述约束条件下用户自定义的可视元素。
  18. 根据权利要求15所述的计算机可读非易失性存储介质,其特征在于,所述计算机可读指令被所述一个或多个处理器执行时,还使得所述一个或多个处理器执行以下步骤:
    获取对显示的所述资源分享消息图像的操作指令;
    根据所述操作指令生成包括资源标识和资源获取方标识的资源获取请求;
    将所述资源获取请求发送至服务器,以使所述服务器为所述资源获取方标识分配所述资源标识所对应的资源;
    接收所述服务器反馈的资源获取结果;及
    显示具有与所述可视元素匹配的自定义背景图像的结果展示页面,并在所述结果展示页面中展示所述资源获取结果。
  19. 根据权利要求15所述的计算机可读非易失性存储介质,其特征在于,所述获取与所述用户标识相关联的资源分享消息图像模板、用户自定义的可视元素以及所述可视元素的配置信息包括:
    从服务器查询与所述用户标识相关联的资源分享消息图像模板、用户自定义的可视元素以及所述可视元素的配置信息;
    若查询到,则在内存中执行所述根据所述资源分享消息图像模板、所述可视元素以及所述配置信息绘制资源分享消息图像的步骤;以及
    获取资源分享指令,根据所述资源分享指令直接执行所述将所述资源分享消息图像显示在所述社交应用的社交传播页面中的步骤。
  20. 根据权利要求15所述的计算机可读非易失性存储介质,其特征在于,所述资源分享消息用于触发获取资源的动作;所述资源包括虚拟物品和实体物品中的至少一种;所述可视元素包括字符和图片中的至少一种。
PCT/CN2017/071595 2016-01-21 2017-01-18 资源分享方法、终端及存储介质 WO2017125024A1 (zh)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP2018538113A JP6683387B2 (ja) 2016-01-21 2017-01-18 リソース共有方法、端末、および記憶媒体
EP17741055.2A EP3407549B1 (en) 2016-01-21 2017-01-18 Resource sharing method, terminal and storage medium
KR1020187022457A KR102050936B1 (ko) 2016-01-21 2017-01-18 자원 공유 방법, 단말기 및 저장 매체
US16/041,581 US11017484B2 (en) 2016-01-21 2018-07-20 Resource sharing method and terminal
US16/045,467 US10861108B2 (en) 2016-01-21 2018-07-25 Resource sharing method and terminal
US16/045,519 US10861109B2 (en) 2016-01-21 2018-07-25 Resource sharing method and terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610042161.6A CN105591885B (zh) 2016-01-21 2016-01-21 资源分享方法和装置
CN201610042161.6 2016-01-21

Related Parent Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2017/070630 Continuation WO2017124932A1 (zh) 2016-01-21 2017-01-09 资源分享方法和终端
PCT/CN2017/071557 Continuation-In-Part WO2017129017A1 (zh) 2016-01-21 2017-01-18 资源分享方法、资源获取方法、终端及服务器

Related Child Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2017/070630 Continuation-In-Part WO2017124932A1 (zh) 2016-01-21 2017-01-09 资源分享方法和终端
PCT/CN2017/071557 Continuation WO2017129017A1 (zh) 2016-01-21 2017-01-18 资源分享方法、资源获取方法、终端及服务器

Publications (1)

Publication Number Publication Date
WO2017125024A1 true WO2017125024A1 (zh) 2017-07-27

Family

ID=55931131

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/071595 WO2017125024A1 (zh) 2016-01-21 2017-01-18 资源分享方法、终端及存储介质

Country Status (5)

Country Link
EP (1) EP3407549B1 (zh)
JP (1) JP6683387B2 (zh)
KR (1) KR102050936B1 (zh)
CN (1) CN105591885B (zh)
WO (1) WO2017125024A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110879733A (zh) * 2018-09-06 2020-03-13 Oppo广东移动通信有限公司 电子红包的检测方法、装置、终端及计算机可读存储介质
CN114092675A (zh) * 2021-11-22 2022-02-25 北京百度网讯科技有限公司 图像显示方法、图像显示装置、电子设备及存储介质

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105591885B (zh) * 2016-01-21 2019-01-08 腾讯科技(深圳)有限公司 资源分享方法和装置
US11017484B2 (en) 2016-01-21 2021-05-25 Tencent Technology (Shenzhen) Company Limited Resource sharing method and terminal
CN106251124A (zh) * 2016-07-18 2016-12-21 浙江翼信科技有限公司 一种电子资源分配方法和设备
CN106888203B (zh) 2016-12-13 2020-03-24 阿里巴巴集团控股有限公司 基于增强现实的虚拟对象分配方法及装置
CN107194817B (zh) * 2017-03-29 2023-06-23 腾讯科技(深圳)有限公司 用户社交信息的展示方法、装置和计算机设备
TWI647609B (zh) * 2017-04-14 2019-01-11 緯創資通股份有限公司 即時通訊方法、系統及電子裝置與伺服器
CN109324836A (zh) * 2017-07-27 2019-02-12 阿里巴巴集团控股有限公司 个性化图片的生成方法和装置、个性化闪屏的处理方法
CN107679840A (zh) * 2017-09-14 2018-02-09 维沃移动通信有限公司 一种资源转移方法、相关设备及系统
CN108108250A (zh) * 2017-09-25 2018-06-01 上海掌门科技有限公司 分享信息的处理方法、设备及计算机可读存储介质
CN109582401B (zh) * 2017-09-27 2021-08-24 腾讯科技(深圳)有限公司 推广图片生成方法、装置、存储介质和计算机设备
CN108288152B (zh) * 2018-01-02 2023-09-15 腾讯科技(深圳)有限公司 一种分享信息的交互方法、终端及存储介质
CN110875875B (zh) * 2018-09-03 2022-04-22 Oppo广东移动通信有限公司 电子红包消息检测方法、检测装置及终端设备
CN110166345A (zh) * 2018-11-12 2019-08-23 腾讯科技(深圳)有限公司 资源分享方法、资源获取方法、装置和存储介质
CN109754329B (zh) * 2019-01-31 2022-12-20 腾讯科技(深圳)有限公司 电子资源的处理方法、终端、服务器及存储介质
CN110765388A (zh) * 2019-09-09 2020-02-07 上海掌门科技有限公司 一种用于在社交空间发布分享信息的方法与设备
CN110619513A (zh) * 2019-09-11 2019-12-27 腾讯科技(深圳)有限公司 电子资源领取方法、电子资源发放方法及相关设备
CN111309205B (zh) * 2020-01-23 2021-07-06 维沃移动通信有限公司 一种应用分享方法、第一电子设备及计算机可读存储介质
CN112511405B (zh) * 2020-10-30 2023-04-18 百果园技术(新加坡)有限公司 用于社交应用的分享方法、装置、服务器和存储介质
CN115826815A (zh) * 2022-07-20 2023-03-21 灵智信息服务(深圳)有限公司 在线处理文档的方法、计算机设备、存储介质
CN117056950B (zh) * 2023-08-09 2024-05-17 淮安瀚唐信息技术有限公司 一种基于信息共享的人机交互系统及方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484694A (zh) * 2014-12-31 2015-04-01 立德高科(北京)数码科技有限责任公司 通过扫描任一二维码以对多媒体信息相绑定与查看的方法
CN105096157A (zh) * 2015-05-21 2015-11-25 腾讯科技(深圳)有限公司 虚拟物品接收方法、发送方法、交互方法和设备
CN105187527A (zh) * 2015-09-01 2015-12-23 立德高科(北京)数码科技有限责任公司 自定义二维码及其生成方法以及其定向推送与识读方法
CN105591885A (zh) * 2016-01-21 2016-05-18 腾讯科技(深圳)有限公司 资源分享方法和装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7941399B2 (en) * 2007-11-09 2011-05-10 Microsoft Corporation Collaborative authoring
US8607146B2 (en) * 2010-09-30 2013-12-10 Google Inc. Composition of customized presentations associated with a social media application
CN102724639A (zh) * 2011-03-31 2012-10-10 中国电信股份有限公司 多媒体消息制作方法、装置与系统
US20150088848A1 (en) * 2013-09-20 2015-03-26 Megan H. Halt Electronic system and method for facilitating sound media and electronic commerce by selectively utilizing one or more song clips
CN103973769B (zh) * 2014-01-29 2016-08-17 腾讯科技(深圳)有限公司 虚拟物品发送方法、接收方法、装置和系统
CA3080370A1 (en) * 2014-03-18 2015-09-24 nChain Holdings Limited Virtual currency system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484694A (zh) * 2014-12-31 2015-04-01 立德高科(北京)数码科技有限责任公司 通过扫描任一二维码以对多媒体信息相绑定与查看的方法
CN105096157A (zh) * 2015-05-21 2015-11-25 腾讯科技(深圳)有限公司 虚拟物品接收方法、发送方法、交互方法和设备
CN105187527A (zh) * 2015-09-01 2015-12-23 立德高科(北京)数码科技有限责任公司 自定义二维码及其生成方法以及其定向推送与识读方法
CN105591885A (zh) * 2016-01-21 2016-05-18 腾讯科技(深圳)有限公司 资源分享方法和装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110879733A (zh) * 2018-09-06 2020-03-13 Oppo广东移动通信有限公司 电子红包的检测方法、装置、终端及计算机可读存储介质
CN114092675A (zh) * 2021-11-22 2022-02-25 北京百度网讯科技有限公司 图像显示方法、图像显示装置、电子设备及存储介质

Also Published As

Publication number Publication date
KR102050936B1 (ko) 2019-12-02
EP3407549B1 (en) 2020-08-26
CN105591885A (zh) 2016-05-18
CN105591885B (zh) 2019-01-08
JP2019508799A (ja) 2019-03-28
EP3407549A4 (en) 2019-01-16
JP6683387B2 (ja) 2020-04-22
EP3407549A1 (en) 2018-11-28
KR20180100622A (ko) 2018-09-11

Similar Documents

Publication Publication Date Title
WO2017125024A1 (zh) 资源分享方法、终端及存储介质
US11803345B2 (en) Gallery of messages from individuals with a shared interest
US11783862B2 (en) Routing messages by message parameter
US9854219B2 (en) Gallery of videos set to an audio time line
US20150178388A1 (en) Interactive communication augmented with contextual information
JP2019508794A (ja) リソース共有方法、リソース取得方法、端末、およびサーバ
CN113168425A (zh) 激励用户对社交网络内容做出贡献的ui和设备
KR101567555B1 (ko) 이미지가 이용되는 소셜 네트워크 서비스 시스템 및 방법
CN111177499A (zh) 一种标签的添加方法、装置及计算机可读存储介质
US11829809B2 (en) Method, system, and non-transitory computer-readable record medium for managing event messages and system for presenting conversation thread
CN112534408A (zh) 发布设计的系统和方法
CN110519155B (zh) 信息处理方法及系统
CN112843723A (zh) 交互方法、装置、电子设备和存储介质
US11017484B2 (en) Resource sharing method and terminal
US20150339284A1 (en) Design management apparatus, design management method, and non-transitory computer readable medium
KR101770724B1 (ko) 소셜 네트워크 서비스에 사용하는 이미지 제공 시스템 및 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17741055

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2018538113

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20187022457

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 1020187022457

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 2017741055

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2017741055

Country of ref document: EP

Effective date: 20180821