CN106789562B - Virtual article sending method, virtual article receiving method, virtual article sending device, virtual article receiving device and virtual article sending system - Google Patents

Virtual article sending method, virtual article receiving method, virtual article sending device, virtual article receiving device and virtual article sending system Download PDF

Info

Publication number
CN106789562B
CN106789562B CN201611108377.4A CN201611108377A CN106789562B CN 106789562 B CN106789562 B CN 106789562B CN 201611108377 A CN201611108377 A CN 201611108377A CN 106789562 B CN106789562 B CN 106789562B
Authority
CN
China
Prior art keywords
video
virtual article
control
virtual
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611108377.4A
Other languages
Chinese (zh)
Other versions
CN106789562A (en
Inventor
蒋有为
郭蕊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201611108377.4A priority Critical patent/CN106789562B/en
Publication of CN106789562A publication Critical patent/CN106789562A/en
Priority claimed from PCT/CN2017/094361 external-priority patent/WO2018024137A1/en
Application granted granted Critical
Publication of CN106789562B publication Critical patent/CN106789562B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00Arrangements for user-to-user messaging in packet-switching networks, e.g. e-mail or instant messages
    • H04L51/10Messages including multimedia information
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06QDATA PROCESSING SYSTEMS OR METHODS, SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL, SUPERVISORY OR FORECASTING PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00Arrangements for user-to-user messaging in packet-switching networks, e.g. e-mail or instant messages
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Real-time or near real-time messaging, e.g. instant messaging [IM] interacting with other applications or services
    • H04L51/52

Abstract

The invention provides a virtual article sending method, a virtual article receiving method, a virtual article sending device, a virtual article receiving device and a virtual article sending system. Belongs to the technical field of computers and internet. The method comprises the following steps: the method comprises the steps that a client side of a sender acquires video information and virtual article package parameters input in a virtual article package sending page, and correspondingly sends the information and information of a receiver to a background server; the background server generates a virtual article packet identifier, stores the corresponding relation among the virtual article packet identifier, the video information and the virtual article packet parameter, and sends a virtual article packet message carrying the virtual article packet identifier to at least one receiver client according to the receiver information; and displaying a virtual commodity package message by the client of the receiving party, wherein the virtual commodity package message and/or the virtual commodity package pickup page triggered and displayed based on the virtual commodity package message comprise a playing control, and playing the video information acquired according to the virtual commodity package identification after acquiring a trigger signal corresponding to the playing control.

Description

Virtual article sending method, virtual article receiving method, virtual article sending device, virtual article receiving device and virtual article sending system
Technical Field
The invention relates to the technical field of computers and internet, in particular to a virtual article sending method, a virtual article receiving method, a virtual article sending device, a virtual article receiving device and a virtual article sending system.
Background
With the development of network technology, users can give away resources with virtual goods on clients. The resources may be money, credits, equipment in a network game, virtual pets, and the like.
Taking the example of using a virtual article as a carrier to present money, after acquiring a virtual article generation instruction, the client of the sending party displays a virtual article sending page and acquires a virtual article parameter input in the virtual article sending page; the virtual item parameters may include the monetary amount to be donated, or may include the number of virtual items requested to be generated and the monetary amount packaged in each virtual item. In the related art, the user is also provided with a function of adding a blessing word when sending a virtual good. The virtual item sending page comprises an input box, and the input box is used for a user to input blessing words. For example, the user may manually edit "May you be happy with money, good fortune! "as blessing words. After the user inputs the parameters of the virtual articles and the blessing words, the client of the sender is triggered to send a virtual article generation request to the background server, wherein the virtual article generation request comprises the parameters of the virtual articles and the blessing words. And after the background server generates the virtual articles according to the virtual article parameters, the blessing words are carried in the virtual articles and are sent to the corresponding client of the receiving party. The user of the recipient client is able to view the blessing words and open the virtual good to obtain the resources therein.
In the prior art, only the function of adding the blessing words in the text form when sending the virtual goods is provided for the user, the number of words input by the blessing words in the text form is limited, and the information which can be transmitted by the text is limited. Such a method of transmitting a virtual article lacks a sense of context, and the receiver user cannot intuitively and clearly know the current situation, psychological state, and the like of the sender user only according to the blessing words in text form.
Disclosure of Invention
In order to solve the problem that in the prior art, only a function of adding a blessing word in a text form when a virtual article is sent is provided for a user, so that the information which can be transmitted is limited, embodiments of the present invention provide a virtual article sending method, a virtual article receiving method, a device and a system. The technical scheme is as follows:
in a first aspect, a virtual article sending method is provided, where the method includes:
after the client of the sending party obtains the virtual article generation instruction, displaying a virtual article sending page; acquiring video information and virtual article parameters input in the virtual article sending page; correspondingly sending the video information, the virtual article parameters and the receiver information to a background server;
the background server generates a virtual article identifier; storing the corresponding relation among the virtual article identification, the video information and the virtual article parameter; sending a virtual article message to at least one receiver client according to the receiver information, wherein the virtual article message carries the virtual article identifier;
the receiving party client displays the virtual article message, and the virtual article message and/or a virtual article pickup page triggered and displayed based on the virtual article message comprise a playing control; and after a trigger signal corresponding to the playing control is acquired, playing the video information acquired according to the virtual article identifier.
In a second aspect, a virtual article sending method is provided, and the method includes:
after the virtual article generation instruction is acquired, displaying a virtual article sending page;
acquiring video information and virtual article parameters input in the virtual article sending page;
correspondingly sending the video information, the virtual article parameters and the receiver information to a background server so that the background server generates a virtual article identifier, stores the corresponding relation among the virtual article identifier, the video information and the virtual article parameters, and sends a virtual article message to at least one receiver client according to the receiver information, wherein the virtual article message carries the virtual article identifier; the receiving party client is used for displaying the virtual article message, the virtual article message and/or a virtual article pickup page triggered and displayed based on the virtual article message comprise a playing control, and after a triggering signal corresponding to the playing control is acquired, the video information acquired according to the virtual article identification is played.
In a third aspect, a virtual article sending method is provided, where the method includes:
receiving video information, virtual article parameters and receiver information which are correspondingly sent by a sender client;
generating a virtual article identifier;
storing the corresponding relation among the virtual article identification, the video information and the virtual article parameter;
sending a virtual article message to at least one receiver client according to the receiver information, and sending the virtual article message to at least one receiver client according to the receiver information, wherein the virtual article message carries the virtual article identifier; and the virtual article message and/or a virtual article pickup page triggered and displayed based on the virtual article message comprise a playing control, and after a triggering signal corresponding to the playing control is acquired, the video information acquired according to the virtual article identifier is played.
In a fourth aspect, there is provided a virtual article receiving method, the method comprising:
receiving a virtual article message sent by a background server, wherein the virtual article message carries a virtual article identifier; the virtual article message is generated by the background server after receiving video information, virtual article parameters and receiver information which are correspondingly sent by a sender client, and the video information and the virtual article parameters are obtained by the sender client in a displayed virtual article sending page;
displaying the virtual article message, wherein the virtual article message and/or a virtual article pickup page triggered and displayed based on the virtual article message comprise a playing control;
and after a trigger signal corresponding to the playing control is acquired, playing the video information acquired according to the virtual article identifier.
In a fifth aspect, a virtual article sending method is provided, where the method includes:
acquiring a virtual article generation instruction;
displaying a virtual article sending page under the triggering of the virtual article generation instruction;
acquiring video information and virtual article parameters input in the virtual article sending page;
acquiring a virtual article sending instruction;
sending a virtual item message to at least one recipient client under the trigger of the virtual item sending instruction;
and the virtual article message generated based on the virtual article parameters carries the video information.
In a sixth aspect, there is provided a virtual article receiving method, the method comprising:
receiving a virtual item message;
displaying the virtual article message, wherein the virtual article message and/or a virtual article pickup page triggered and displayed based on the virtual article message comprise a playing control;
acquiring a trigger signal corresponding to the play control;
and under the trigger of the trigger signal, playing the video information carried in the virtual article message.
In a seventh aspect, a virtual article sending device is provided, the device including:
the page display module is used for displaying a virtual article sending page after the virtual article generation instruction is acquired;
the information acquisition module is used for acquiring the video information and the virtual article parameters input in the virtual article sending page;
the information sending module is used for correspondingly sending the video information, the virtual article parameters and the receiving party information to a background server so that the background server generates virtual article identifiers, stores the corresponding relations among the virtual article identifiers, the video information and the virtual article parameters, and sends virtual article messages to at least one receiving party client according to the receiving party information, wherein the virtual article messages carry the virtual article identifiers; the receiving party client is used for displaying the virtual article message, the virtual article message and/or a virtual article pickup page triggered and displayed based on the virtual article message comprise a playing control, and after a triggering signal corresponding to the playing control is acquired, the video information acquired according to the virtual article identification is played.
In an eighth aspect, there is provided a virtual item sending apparatus, the apparatus comprising:
the information receiving module is used for receiving video information, virtual article parameters and receiver information which are correspondingly sent by a sender client;
the identification generation module is used for generating virtual article identifications;
the relation storage module is used for storing the corresponding relation among the virtual article identification, the video information and the virtual article parameter;
the message sending module is used for sending a virtual article message to at least one receiver client according to the receiver information, wherein the virtual article message carries the virtual article identifier; and the virtual article message and/or a virtual article pickup page triggered and displayed based on the virtual article message comprise a playing control, and after a triggering signal corresponding to the playing control is acquired, the video information acquired according to the virtual article identifier is played.
In a ninth aspect, there is provided a virtual article receiving apparatus, the apparatus comprising:
the message receiving module is used for receiving a virtual article message sent by the background server, wherein the virtual article message carries a virtual article identifier; the virtual article message is generated by the background server after receiving video information, virtual article parameters and receiver information which are correspondingly sent by a sender client, and the video information and the virtual article parameters are obtained by the sender client in a displayed virtual article sending page;
the message display module is used for displaying the virtual article message, and the virtual article message and/or a virtual article pickup page triggered and displayed based on the virtual article message comprise a playing control;
and the information playing module is used for playing the video information acquired according to the virtual article identifier after acquiring the trigger signal corresponding to the playing control.
In a tenth aspect, there is provided a virtual item delivery system, comprising:
the system comprises a sender client, a background server and a receiver client;
the sender client comprises the apparatus of the seventh aspect;
the background server comprises the apparatus according to the eighth aspect;
the sender client comprises an apparatus according to the ninth aspect.
In an eleventh aspect, there is provided a virtual item sending apparatus, the apparatus comprising:
the generation instruction acquisition module is used for acquiring a virtual article generation instruction;
the page display module is used for displaying a virtual article sending page under the triggering of the virtual article generation instruction;
the information acquisition module is used for acquiring the video information and the virtual article parameters input in the virtual article sending page;
a sending instruction acquisition module for acquiring a virtual article sending instruction;
a message sending module, configured to send a virtual item message to at least one recipient client under the trigger of the virtual item sending instruction;
and the virtual article message generated based on the virtual article parameters carries the video information.
In a twelfth aspect, there is provided a virtual article receiving apparatus, the apparatus comprising:
the message receiving module is used for receiving the virtual article message;
the message display module is used for displaying the virtual article message, and the virtual article message and/or a virtual article pickup page triggered and displayed based on the virtual article message comprise a playing control;
the signal acquisition module is used for acquiring a trigger signal corresponding to the play control;
and the video playing module is used for playing the video information carried in the virtual article message under the trigger of the trigger signal.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
when sending the virtual article, the user at the sending party can record the video information as the associated information of the virtual article and send the video information to the receiving party, and the receiving party can play the video information after receiving the virtual article; compared with the blessing words in the form of characters, the video information can transmit more information, for example, a receiver user can intuitively and clearly know the near condition of the sender user according to the characteristics of the sender user, such as appearance, clothes, makeup, facial expression and action, body language, blessing words and the like, and the information amount transmitted when the virtual articles are sent is enriched.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of an implementation environment provided by one embodiment of the invention;
FIG. 2 is an architecture diagram of a backend server provided by an embodiment of the present invention;
fig. 3 is a flowchart of a virtual article sending method according to an embodiment of the present invention;
fig. 4A is a flowchart of a virtual article sending method according to another embodiment of the present invention;
FIGS. 4B-4G are schematic diagrams of interfaces involved in the embodiment of FIG. 4A;
fig. 5 is a flowchart of a virtual article sending method according to another embodiment of the present invention;
fig. 6 is a flowchart of a virtual article sending method according to another embodiment of the present invention;
fig. 7 is a flowchart of a virtual article receiving method according to an embodiment of the present invention;
fig. 8 is a block diagram of a virtual item delivery apparatus provided in one embodiment of the present invention;
fig. 9 is a block diagram of a virtual article sending apparatus according to another embodiment of the present invention;
fig. 10 is a block diagram of a virtual article sending apparatus according to another embodiment of the present invention;
fig. 11 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Referring to fig. 1, a schematic diagram of an implementation environment provided by an embodiment of the invention is shown. The implementation 30 environment includes: a sending terminal 120, a backend server 140 and a receiving terminal 160.
The transmitting terminal 120 has a transmitting client running therein. The sending terminal 120 may be a mobile phone, a tablet computer, an e-book reader, an MP3(Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4) player, a laptop computer, a desktop computer, and the like.
The background server 140 may be one server, a server cluster composed of several servers, or a cloud computing service center.
The receiving terminal 160 has a receiving client running therein. The receiving terminal 160 may also be a mobile phone, a tablet computer, an e-book reader, an MP3(Moving Picture Experts Group Audio Layer III, mpeg Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, mpeg Audio Layer 4) player, a laptop computer, a desktop computer, or the like.
Background server 140 may establish a communication connection with sending terminal 120 and receiving terminal 160, respectively, over a network. The network may be a wireless network or a wired network.
In the embodiment of the present invention, the sender client and the receiver client may be any clients having a virtual article transceiving function. For example, the sender client may be a social-type application client, an instant messaging client, a payment-type application client, a game client, a reading client, a client dedicated to sending virtual items, and so on.
In practical applications, the sender client and the receiver client may be two clients with different functions, where the sender client has a function of sending a virtual article, and the receiver client has a function of receiving the virtual article. Alternatively, the sender client and the receiver client may be two clients having the same function, and the clients have a function of sending and receiving the virtual item. When the client is used for realizing the function of the client side of the sender in the method example of the invention, the client is used as the client of the sender; when the client is used to implement the function of the client side of the receiving party in the method example of the present invention, the client is the client of the receiving party. Correspondingly, the sending terminal and the receiving terminal are both terminal devices. When the client running in the terminal device is used for realizing the function of the client side of the sender in the method example of the invention, the terminal device is used as the sender terminal; when the client operating in the terminal device is used to implement the function of the client side of the receiving party in the method example of the present invention, the terminal device is used as the receiving terminal. In practical application, the same client can be used as a sender client and a receiver client. The same terminal may be used as a transmitting terminal or a receiving terminal.
In the embodiment of the present invention, the virtual article may also be referred to as a virtual red envelope or an electronic red envelope, and the virtual article is a virtual carrier for transferring resources (or referred to as a virtual article) between at least two users in a gift form. The at least two users have a friend relationship, or may not have a friend relationship, in the client and/or the real world. The resources involved in the virtual item (or referred to as virtual items) may be currency, gaming equipment, gaming materials, gaming pets, gaming chips, icons, members, titles, value-added services, points, gold bulls, gold beans, gift certificates, redemption certificates, coupons, greeting cards, and the like. The embodiment of the invention does not limit the resource types.
In one example, as shown in fig. 2, when the backend server 140 is a cluster architecture, the backend server 140 may include: communication server 142, package server 144, video server 146, and payment server 148.
The communication server 142 is used to provide communication services between the sender client and the receiver client.
For example, the communication server 142 is used for providing a function of transmitting and receiving messages such as text, pictures, videos, and videos between the sender client and the receiver client.
The package server 144 is used to provide virtual item transceiving functions.
And a video server 146 for providing functions of storing and processing video information.
The payment server 148 is used to provide resource transfer functionality. For example, the payment server 148 is used to provide functions of transferring resources from an account corresponding to the sender client to an account corresponding to the backend server 140, and transferring resources from an account corresponding to the backend server 140 to an account corresponding to the receiver client.
The servers can establish communication connection through a network. The network may be a wireless network or a wired network.
Referring to fig. 3, a flowchart of a virtual article sending method according to an embodiment of the present invention is shown. The method may be applied to the implementation environment shown in fig. 1. The method may include the following steps.
Step 301, after acquiring a virtual article generation instruction, a sender client displays a virtual article sending page.
Step 302, the client of the sending party obtains the video information and the parameters of the virtual goods input in the page for sending the virtual goods.
And step 303, the client of the sender correspondingly sends the video information, the virtual article parameters and the information of the receiver to the background server.
Correspondingly, the background server receives the video information, the virtual article parameters and the receiver information which are correspondingly sent by the sender client.
Step 304, the background server generates a virtual item identifier.
Step 305, the background server stores the corresponding relationship between the virtual article identifier, the video information and the virtual article parameter.
And step 306, the background server sends the virtual article message to at least one receiver client according to the receiver information. The virtual article message carries a virtual article identifier.
Accordingly, the receiving client receives the virtual article message sent by the background server.
Step 307, the receiving party client displays the virtual item message, and the virtual item message and/or the virtual item pickup page triggered and displayed based on the virtual item message includes a play control.
And 308, after the receiving-side client acquires the trigger signal corresponding to the playing control, playing the video information acquired according to the virtual article identifier.
In summary, in the method provided in this embodiment, when sending the virtual article, the sender user may record the video information as the associated information of the virtual article and send the associated information to the receiver, and the receiver may play the video information after receiving the virtual article; compared with blessing words in a text form, the video information can transmit more information, for example, a receiving party user can intuitively and clearly know the psychological state of a sending party user according to the characteristics of the video, the tone and the like of the sending party user, and the amount of information transmitted when a virtual article is sent is enriched.
In addition, the sender user does not need to manually edit blessing words, and expresses moods, consolation or award prizes and other moods when sending the virtual articles by recording the video information, so that the operation is fully simplified, and the operation efficiency is improved.
In addition, for a special group of recipients, such as deaf-mutes, recording video information to express blessings, comfort or quarts will undoubtedly bring user experience which is quite different from the traditional red packet. Even information transfer contents which cannot be realized by the conventional information transfer method can be realized by the information transfer method. For other people, such as the elderly or children who cannot use or normally use the traditional information expression, the video input mode is substantially different from the traditional mode.
In addition, in order to solve the problems that the operation of inputting the blessing words is cumbersome and inefficient because the user is required to manually edit the blessing words, it is a conventional practice to use default set blessing words. If the user does not manually input blessing words when sending the virtual articles, the sender client uses the default blessing words carried in the virtual articles to send to the corresponding receiver client. However, the default set blessing words sometimes do not accurately express the mood of the user. For example, the default set blessing words are "May you get good, good luck and great profit", which can express blessing only, but cannot express a mood such as comfort or a bonus. By the technical scheme provided by the embodiment of the invention, the operation can be simplified, and meanwhile, the sender user can accurately express the mood when sending the virtual article.
Referring to fig. 4A, a flowchart of a virtual article sending method according to another embodiment of the present invention is shown. The method may be applied to the implementation environment shown in fig. 1. The method may include the following steps.
In step 401, after acquiring the virtual article generation instruction, the client of the sending party displays a virtual article sending page.
The virtual article generation instruction is an operation signal for requesting generation of a virtual article, which is triggered by the sender user. The client of the sending party is provided with an operation control for sending the virtual article, and the virtual article generation indication is triggered when the user clicks the operation control. In one example, a sender client displays a session interface, which can be a single chat session interface or a chat group session interface; after a trigger signal corresponding to a menu control in a session interface is acquired, displaying a function menu, wherein the function menu comprises an operation control for sending a virtual article; and after the trigger signal corresponding to the operation control is acquired, displaying a virtual article sending page.
Optionally, if the client of the sending party provides the function of sending the virtual article carrying the video information to the user and also provides the function of sending the virtual article carrying the text information to the user, the client of the sending party displays the option of the type of the virtual article after acquiring the trigger signal corresponding to the operation control for sending the virtual article; and after the trigger signal corresponding to the selection item of the virtual article carrying the video information is acquired, displaying a virtual article sending page for sending the virtual article carrying the video information. In one example, the selection items of the virtual item types include a selection item corresponding to a virtual item carrying text information and a selection item corresponding to a virtual item carrying video information.
The virtual article sending page comprises: the system comprises an operation control for the sender user to input parameters of the virtual article, an operation control for the sender user to record video information and an operation control for the sender user to trigger sending of the virtual article. Referring collectively to fig. 4B, there is illustrated a schematic diagram of the interface involved in a virtual item delivery process, assuming that currency is donated using a "red envelope" as the carrier. A sender user clicks a menu control 42 in a single chat session interface 41 to trigger and display a function menu 43, wherein the function menu 43 comprises an operation control 44 for sending a virtual article; the sender user clicks the operation control 44 to trigger the display of options of virtual article types, including a video red packet option 45 and a text red packet option 46; clicking on the video red packet selection item 45 by the sender user triggers displaying of a virtual article sending interface 47 for sending the video red packet, wherein the virtual article sending interface 47 comprises an input box 48 for inputting the amount of money to be given by the sender user, a recording control 49 for recording video information by the sender user, and an operation control 50 for triggering sending of the virtual article by the sender user.
Step 402, the client of the sending party obtains the video information and the virtual article parameters input in the virtual article sending page.
And after acquiring a trigger signal corresponding to a video recording control in a virtual article sending page, the client of the sending party acquires video information through a microphone. Referring to fig. 4B, when the user presses the recording control 49 to trigger the recording of the video information, the sending user starts a session and acts to record the video information that he wishes to express after viewing the displayed recording prompt box 51. Optionally, in the process of recording the video information, the sender client cancels the recording of the video information if acquiring the recording cancellation instruction. For example, the user performs a slide-up operation during recording of video information to trigger cancellation of the recording instruction.
The virtual article parameters include several possible implementations as follows: when sending virtual items to a single recipient client, the virtual item parameters include the number of virtual items in the virtual item; when sending virtual items to at least one recipient client belonging to the same group, the virtual item parameters include the number of virtual items and the total number of virtual items, the total number of virtual items is used for randomly generating the number of virtual items in each virtual item, or the virtual item parameters include the number of virtual items and the fixed number of virtual items in each virtual item.
In step 403, the client of the sending party displays a preview control in the virtual item sending page.
After the client of the sending party obtains the video information, a preview control is displayed in the virtual article sending page. The preview control is used for the sender user to preview and play the video information recorded by the sender user. Optionally, after the client of the sending party obtains the video information, the recording control in the virtual article sending interface is switched to the preview control.
In step 404, after acquiring the trigger signal corresponding to the preview control, the sender client plays the video information.
The user at the sending party can listen to the video information recorded by the user by triggering the preview control so as to achieve the purpose of checking the video information. The video information may be re-recorded when the sender user deems the video information it recorded to be undesirable. Optionally, the virtual article sending interface further includes a re-recording control. And the client of the sending party acquires the video information again after acquiring the trigger signal corresponding to the re-recording control piece.
With combined reference to fig. 4B and 4C, after acquiring the video information, the sender client switches the recording control 49 in the virtual article sending interface 47 to the preview control 52. The sender user clicking on the preview control 52 triggers the playing of the video information. In the process of playing the video information, the client of the sending party can display the playing progress of the video information. For example, as shown in fig. 4C, the sender client displays the progress of the video information on the outer border of the preview control 52.
In step 405, the sender client generates a video file containing video information.
After the client of the sending party acquires the video information, a video file containing the video information is generated.
At step 406, the sender client processes the video file. Referring to FIG. 4F, in step 406, processing the video file utilizes a compression algorithm to compress the video file, including the sub-steps of:
step 4061, the sender client obtains at least one frame of the video data and the video parameters of the video data.
The client of the sending party can decode through the existing video file to obtain at least one frame of video data and video parameters of the video data; the client of the sending party can also obtain at least one frame of video data and video parameters of the video data collected by a camera of the mobile terminal.
When at least one frame of video data is obtained by decoding the existing video file, the client of the sending party can also decode the existing video file by the aid of the hardware acceleration function of the client of the sending party to obtain at least one frame of video data and video parameters of the video data.
Taking the electronic device which runs the iOS system and is provided with the mobile terminal carrying the sender client as a product of the american apple company as an example, the mobile terminal decodes the existing video file by adopting a multimedia decoding component in the iOS system, and the multimedia decoding component can start a hardware acceleration function in the electronic device running the iOS system, thereby greatly improving the decoding efficiency.
The video parameters of the video data refer to resolution and code rate. In the iOS system, video parameters of video data are carried in a SampleBuffer structure, and 1 SampleBuffer structure is shared by multiple frames of video data. For example, the 1 st SampleBuffer structure is shared by the 1 st to 100 th frames of video data, and the respective resolutions and bit rates (which are usually the same) of the 1 st to 100 th frames of video data are recorded in the 1 st SampleBuffer structure; the 101-th-through-200 frames share the 2 nd SampleBuffer structure, the 2 nd SampleBuffer structure records the respective resolutions and code rates (usually, the same) of the video data of the 101-th-through-200 frames, and so on.
Step 4062, the sender client modifies the video parameters of the video data into compressed video parameters.
And the mobile terminal modifies the video parameters of the video data into compressed video parameters. The video parameters include resolution and code rate, and video compression can be realized only by modifying one of the parameters into a compressed video parameter, but both of the parameters are generally modified into the compressed video parameter at the same time. Namely: the mobile terminal modifies the resolution of the video data into the resolution after compression; and/or the mobile terminal modifies the code rate of the video data into the compressed code rate. When the original code rate is modified into the compressed code rate, the compression effect of the video data is very obvious. Taking an electronic device running an iOS system as an example, the mobile terminal modifies the original resolution in the SampleBuffer structure to 480 × 480, and modifies the original bitrate (usually 1500kbps) in the SampleBuffer structure to 500 kbps.
Step 4063, the sender client compresses the at least one frame of video data according to the compressed video parameters through a hardware acceleration function, so as to obtain a compressed video file.
The step 4063 decodes the existing video file through a hardware acceleration function of the mobile terminal to obtain the at least one frame of video data. And in the process of compressing the video data, the mobile terminal compresses at least one frame of video data through a hardware acceleration function according to the resolution and/or code rate after compression. Taking an electronic device running with an iOS system as an example, the mobile terminal compresses at least one frame of video data in an h.264 coding format according to the compressed resolution and/or code rate through a multimedia coding component avasetwriter in the iOS system. The multimedia coding component AVAssetWriter can start a hardware acceleration function in the electronic equipment running with the iOS system, and greatly improves the coding efficiency.
As described above, the video compression process of steps 4061 to 4063 further includes:
step 40611, decoding the existing video file to obtain the at least one frame of video data;
and 40612, acquiring the at least one frame of video data acquired by the camera of the mobile terminal.
Said step 4062, including modifying a resolution of said video data to a compressed resolution; and/or modifying the code rate of the video data into the compressed code rate.
Step 4063 includes the following substeps:
step 40631, for each frame of video data, compressing the video data according to the compressed video parameters through a hardware acceleration function of the mobile terminal;
step 40632 is to write each frame of compressed video data into a video file at a predetermined writing frame rate, so as to obtain the compressed video file.
In step 40632, the mobile terminal writes the compressed current frame video data into a video file, and then performs step 40631 on the next frame video data, so as to implement sequential compression and writing on all the frame video data. When video data compressed by one frame is written into a video file, the mobile terminal controls the writing frame rate to be a predetermined writing frame rate after compression, for example, the mobile terminal controls the predetermined writing frame rate to be 24 frames per second, that is, the lowest frame rate that human eyes can receive, thereby achieving a better compression effect. Experiments prove that the data volume of the compressed short videos with the lengths of 8 seconds is only about 500K through the compression processing, and the compression effect is very good.
Modifying the video parameters of the video data into compressed video parameters by acquiring at least one frame of video data and the video parameters of the video data by using the video compression technology described in the steps 40611 to 40613, and compressing the at least one frame of video data according to the compressed video parameters by using a hardware acceleration function of the mobile terminal to obtain a compressed video file; the problem that the processing speed of the existing video compression method is low is solved; the effects of performing video compression through the hardware acceleration function of the mobile terminal and improving the processing speed of the video compression method on the mobile terminal are achieved. The video compression processing technology is very advantageous to be used in the virtual article sending process of this embodiment, performing compression operation at the mobile terminal can greatly reduce the data traffic transmitted from the terminal to the video server and from the video server to the receiving terminal, which can save communication traffic on one hand, and on the other hand, the video compression technology at the mobile terminal can also reduce the pressure on communication bandwidth caused by the peak period of sending a large number of virtual articles.
In the virtual article sending process, the obtained video file is compressed on the sending side because the video file has a large format, which also causes the virtual article sending process to be different from other forms of virtual article sending modes such as text, audio and the like.
Of course, the compression technique in this embodiment is merely an exemplary description, and other video compression techniques may be adopted at the client side in order to implement transmission of the transmission-side video to the video server.
In some cases, for example, when the network condition of the user is good, the user may select to directly upload the uncompressed lossless video to the video server, perform compression on the server side, and store the uncompressed lossless video and the compressed small format video file on the server side, and the receiving side may select to receive the lossless video or the compressed small format video file. In one example, the recipient first receives a compressed small format video; and then, for example, when the network condition is good or the user demands a clearer video, a request for acquiring the lossless video is provided for the video server, and the server issues the lossless video file according to the request. The virtual article sending mode takes the server as a medium, so that hardware resources of a user can be saved, various choices of the user are provided, and particularly, the user can conveniently obtain video files according to requirements under different network conditions.
Step 407, the client of the sending party correspondingly sends the video file, the virtual package parameter and the information of the receiving party to the background server. Correspondingly, the background server receives the video file sent by the client side of the sender.
The virtual item generation request is used for instructing the background server to generate the virtual item. The virtual article generation request comprises file identification of the video file, virtual article parameters and receiver information. The file identification is generated by the sending client or the background server. The file identification is used to uniquely identify the video file. For example, the file identifier may be a file name of the video file, or may be a unique serial number assigned to the video file by the sender client or the background server. The recipient information is used to indicate a recipient user of the virtual item.
Illustratively, the recipient information may be an identification of the recipient client, or a group identification of a group to which the recipient client belongs, or a condition of the recipient client set by the sender user, for example, the condition may be the recipient client corresponding to the recipient user between 20 and 30 years old in Guangzhou city.
In one example, a sending control is included in the virtual article sending page, and the sending control is triggered by the sending user to trigger the virtual article sending instruction. After acquiring the virtual article sending instruction, the sending party client triggers and executes a sending process described below, and sends a virtual article message to at least one receiving party client. And the virtual article message generated based on the virtual article parameters carries video information.
Optionally, if the client of the sending party receives the processed video file from the background server, the virtual article generation request includes a file identifier of the processed video file, a virtual article parameter, and information of the receiving party. The file identifier of the processed video file may be the same as the file identifier of the unprocessed video file, or may be a file identifier newly generated by the background server for the processed video file. And if the file identifier is newly generated for the processed video file by the background server, the background server sends the processed video file and the file identifier I of the processed video file to the sender client side.
With reference to fig. 4B and 4D, the sender user clicks the operation control 50 to trigger the payment process, the sender client interacts with the background server to complete the payment process, the sender client transfers the amount of money to be donated from the account corresponding to the sender client to the account corresponding to the background server, and after the transfer is successful, the virtual article is successfully sent out. A single chat session interface 41 displayed by the sender client displays a sent virtual good message 53.
Step 408, the server generates a virtual item identification.
The background server generates virtual article identification corresponding to the virtual article parameter.
It should be noted that, for one or more virtual articles that need to be generated by the same virtual article generation request, the background server generates a virtual article identifier, and the virtual article identifier is stored in correspondence with the virtual article parameter included in the request.
Step 409, the background server stores the corresponding relationship between the virtual article identifier, the video information and the virtual article parameter.
And the background server stores the processed video file. The file identifier of the processed video file can be a file identifier of a video file received by the background server from the client of the sender; or a file identifier generated by the background server for the processed video file.
Step 410, the background server sends a virtual article message to at least one receiver client according to the receiver information, wherein the virtual article message carries a virtual article identifier.
Accordingly, the receiving client receives the virtual article message sent by the background server.
And if the virtual item is triggered to be sent in the single chat session interface, the receiver user of the virtual item is the contact person in the single chat session interface. The virtual article generation request sent by the client of the sending party to the background server can carry the user account of the contact person in the single chat session interface. And the background server sends the virtual article message to a receiver client corresponding to the user account of the contact.
And if the virtual article is triggered to be sent in the group chat session interface, the receiver user of the virtual article is the contact in the group corresponding to the group chat session interface. The virtual article generation request sent by the sender client to the background server can carry the group identifier of the group corresponding to the group chat session interface.
And the background server acquires the user accounts of all the contacts belonging to the group according to the group identification, and then sends the virtual article message to the receiver client corresponding to the acquired user accounts of all the contacts.
Optionally, the virtual article message further carries an identifier of the sender client, so that the receiver user can know the sender user of the virtual article according to the identifier of the sender client.
In step 411, the recipient client displays the virtual item message.
The receiver client displays the virtual item message in a session interface with the sender client. In one example, a play control is included in the virtual item message displayed by the recipient client. In another example, a play control is included in a virtual item pickup page that triggers display based on a virtual item message displayed by the recipient client. In yet another example, the virtual item message displayed by the recipient client and the virtual item pickup page triggered to be displayed based on the virtual item message each include a play control. The playing control is used for triggering the receiving party user to play the video information.
The virtual item message displayed by the recipient client is similar to the virtual item message displayed by the sender client, as can be seen in fig. 4D.
In step 412, after the receiving-side client acquires the trigger signal corresponding to the virtual item message, the receiving-side client displays a virtual item pickup page.
The virtual article pickup page comprises a playing control and a pickup control. And the receiving party user triggers to receive the virtual articles in the virtual articles.
As shown in fig. 4E, an interface diagram of a virtual item pickup page 54 is illustrated.
The virtual item pickup page 54 includes a play control 55 and a pickup control 56. Clicking on the play control 55 by the recipient user may trigger the recipient client to play the video information. Clicking on the pick-up control 56 by the recipient user may trigger the recipient client to retrieve a virtual item from the virtual items.
In step 413, after acquiring the trigger signal corresponding to the play control, the receiver client plays the video information acquired according to the virtual article identifier.
The user of the receiving party can click the playing control included in the virtual article message or click the playing control included in the virtual article pickup page to trigger the client of the receiving party to play the video information.
In a possible implementation manner, the receiver client determines the triggering manner of the video playing control by judging the network environment. Referring to fig. 4G, the process may be described as the following steps:
in step 4131, the receiving client acquires a trigger signal corresponding to the play control.
Step 4132, determine whether the current network is a Wifi network.
Step 4133, if the current network is a Wifi network, directly generating a trigger signal of the play control, automatically playing the video information, waiting for receiving the trigger signal of the pickup control, and acquiring the virtual item from the background server according to the virtual item identifier when receiving the trigger signal.
Step 4134, if the current network is not a Wifi network, not generating the trigger signal of the playing control, and not playing the video information; and waiting for receiving a trigger signal of the picking control, and acquiring the virtual article from the background server according to the virtual article identifier when receiving the trigger signal.
Step 4135, receiving the trigger signal of the play control, and triggering the video information to play.
In addition, the recipient client may obtain video information from the backend server as follows. In one example, a receiver client sends a video acquisition request to a background server, wherein the video acquisition request comprises a virtual article identifier; after receiving the video acquisition request, the background server inquires and acquires video information corresponding to the virtual article identifier from the pre-stored corresponding relation, and sends a video file containing the video information acquired by the inquiry to the client of the receiving party. In another example, the virtual article message sent by the background server to the receiver client further includes a file identifier corresponding to the video information. The receiver client sends a video acquisition request to the background server, wherein the video acquisition request comprises the file identifier; and after receiving the video acquisition request, the background server sends a video file corresponding to the file identifier to the receiver client. Optionally, the video file is a processed video file obtained by performing noise reduction processing on the video information.
In addition, the opportunity of the receiver client to acquire the video information from the background server includes several possible implementation manners as follows:
in a first possible implementation manner, after acquiring the trigger signal corresponding to the play control, the receiver client acquires the video information from the background server.
That is, after confirming that the receiver user needs to play the video information, the receiver client requests to acquire the video information from the background server, so that resource waste caused by the fact that the receiver user does not need to play the video information but acquires the video information in advance is avoided.
In a second possible implementation manner, after verifying that the user account logged in to the receiver client meets the condition of picking up the virtual article in the virtual article, the receiver client acquires the video information from the background server.
Wherein the condition for picking up the virtual article in the virtual article includes but is not limited to at least one of the following:
the user account logged in the receiver client is a contact in the single chat session interface, the user account logged in the receiver client belongs to a contact in a group corresponding to the group chat session interface, and an unreceived virtual article and a virtual article are not overdue. Through the method, the authority of the receiving user is verified, and only the receiving user who has the authority to receive the virtual articles in the virtual articles is allowed to check the video information recorded by the sending user, so that the privacy of the video information is improved.
In a third possible implementation manner, after the client of the receiving party successfully acquires the virtual article in the virtual articles, the client of the receiving party acquires the video information from the background server.
In this embodiment, the receiving user has the right to acquire and view the corresponding video information after successfully getting the virtual item in the virtual item.
And step 414, after acquiring the trigger signal corresponding to the picking control, the receiving party client acquires the virtual article from the background server according to the virtual article identifier.
And after acquiring the trigger signal corresponding to the pickup control, the receiver client sends a virtual article pickup request to the background server, wherein the virtual article pickup request carries a virtual article identifier. And after receiving the virtual article picking request, the background server inquires and acquires the virtual article parameters corresponding to the virtual article identification from the pre-stored corresponding relation and sends the virtual article to the client of the receiving party according to the virtual article parameters.
And if the virtual article parameters comprise the number of the virtual articles in the virtual articles, the background server transfers the virtual articles with the number from the account corresponding to the background server to the account corresponding to the receiver client. If the virtual article parameters include the number of the virtual articles and the total number of the virtual articles, the background server randomly generates the number of the virtual articles in the virtual articles acquired by the receiver client according to the number of the virtual articles and the total number of the virtual articles, and transfers the virtual articles with the number from an account corresponding to the background server to an account corresponding to the receiver client. And if the virtual article parameters comprise the number of the virtual articles and the fixed number of the virtual articles in each virtual article, the background server transfers the virtual articles with the fixed number from the account corresponding to the background server to the account corresponding to the receiver client.
In this embodiment, only the user clicks the pick-up control to trigger the pick-up of the virtual item in the virtual items is taken as an example. In other embodiments, the recipient client may also automatically retrieve virtual items from the virtual items.
In one example, the receiving-side client acquires the virtual item from the background server according to the virtual item identifier after the video information is played.
In step 415, the recipient client displays a pickup results page.
And after the receiving party client acquires the virtual article, displaying a pickup result page. The number of retrieved virtual items may be included in the retrieval result page. Optionally, the pickup result page further includes a message leaving control, and the message leaving control is used for a receiving party user to input message leaving information.
As shown in fig. 4E, after the receiving-side user successfully picks up the virtual item, the receiving-side client displays a pickup result page 57, and the pickup result page 57 includes a message control 58.
In step 416, the recipient client obtains the message information input in the pickup result page.
And the receiver user clicks the message control to trigger the message information input. The message leaving information is any one of characters, videos or videos. For example, the recipient user may record a video or video to convey a thank you to the sender user.
Step 417, the receiver client sends the message to the background server.
Correspondingly, the background server receives the message information sent by the client.
And 418, the background server sends the message information to the sender client.
Correspondingly, the sender client receives the message information sent by the background server.
The sender client displays the message.
In summary, in the method provided in this embodiment, when sending the virtual article, the sender user may record the video information as the associated information of the virtual article and send the associated information to the receiver, and the receiver may play the video information after receiving the virtual article; compared with blessing words in a text form, the video information can transmit more information, for example, a receiving party user can intuitively and clearly know the psychological state of a sending party user according to the characteristics of the video, the tone and the like of the sending party user, and the amount of information transmitted when a virtual article is sent is enriched.
In addition, the client of the sending party does not directly carry the video information in the virtual article generation request to the background server and sends the video information and the virtual article generation request to the background server separately, so that two different servers can be used for realizing the function of storing the video information and the function of sending and receiving the virtual article respectively, and the processing and storage pressure of the server for realizing the function of sending and receiving the virtual article is reduced.
In addition, the noise reduction processing is carried out on the video information, so that the interference of noise signals in the video information on the listening of users is reduced, and the audio and video information with better quality can be recorded even if a user at a sender is in a noisy environment such as a road, a market, a restaurant and the like.
In addition, the preview control is displayed in the virtual article sending page, so that the sender user can preview and play the recorded video information before sending the virtual article, and the subsequently sent video information is ensured to meet the user expectation.
In the above method embodiment, the step related to the sender client side may be implemented as a virtual article transmission method on the sender client side alone, the step related to the backend server side may be implemented as a virtual article transmission method on the backend server side alone, and the step related to the receiver client side may be implemented as a virtual article reception method on the receiver client side alone.
In one example, when the backend server is a cluster architecture shown in fig. 2, the virtual article sending method may include the following steps:
step 501, after acquiring a virtual article generation instruction, the client of the sending party displays a virtual article sending page.
Step 502, the client of the sending party obtains the video information and the virtual article parameters input in the virtual article sending page.
Step 503, displaying the preview control in the virtual item package sending page.
Step 504 plays the video information after acquiring the trigger signal corresponding to the preview control.
Step 505, a video file containing video information is generated.
Step 506, the video file is processed. Including but not limited to the process defined in step 406.
And 507, correspondingly sending the video file, the virtual commodity package parameter and the receiver information to a background server.
In step 508, the package of items server generates a virtual item identifier.
In step 509, the package server stores the corresponding relationship between the virtual item identifier, the video information, and the virtual item parameter.
At step 510, the package of items server generates a virtual item message.
The virtual article message carries a virtual article identifier. Optionally, the virtual article message further carries an identifier of the sender client and/or a file identifier of the video file.
Step 511, the commodity package server sends the virtual commodity message to the communication server.
Accordingly, the communication server receives the virtual article message sent by the article package server.
Step 512, the communication server sends the virtual object message to at least one receiver client according to the receiver information.
Accordingly, the receiving client receives the virtual article message sent by the communication server.
Step 513, the recipient client displays the virtual item message.
In step 514, after acquiring the trigger signal corresponding to the virtual article message, the receiving client displays a virtual article pickup page.
Step 515, the receiver client sends a video acquisition request carrying the file identifier to the video server.
Accordingly, the video server receives a video acquisition request sent by the client.
In step 516, the video server obtains the video file corresponding to the file identifier.
Step 517, the video server sends the video file to the client of the receiving party.
Accordingly, the receiving client receives the video file sent by the video server.
In step 518, after the receiver client acquires the trigger signal corresponding to the play control, the receiver client plays the video information in the video file.
In step 519, after acquiring the trigger signal corresponding to the pick-up control, the receiver client sends a virtual item pick-up request to the commodity package server, where the virtual item pick-up request carries a virtual item identifier.
Accordingly, the commodity package server receives the commodity package pick-up request sent by the client.
In step 520, the commodity package server queries and obtains the virtual commodity parameter corresponding to the virtual commodity identifier from the pre-stored corresponding relationship.
Step 521, the commodity package server sends the virtual commodity to the receiving client according to the virtual commodity parameter.
Referring to fig. 6, a flowchart of a virtual article sending method according to another embodiment of the present invention is shown. The method can be applied to the client of the sending party. The method may include several steps as follows.
Step 601, obtaining a virtual article generation instruction.
Step 602, under the trigger of the virtual item generation instruction, displaying a virtual item sending page.
Step 603, acquiring the video information and the virtual article parameters input in the virtual article sending page.
Optionally, after the client of the sending party acquires the video information, a video file containing the video information is generated, and the video file is sent to the background server. The background server is used for carrying out noise reduction processing on the video information to obtain a processed video file, and sending the processed video file to the sender client. Accordingly, the sender client receives the processed video file.
Optionally, after the client of the sending party acquires the video information, a preview control is displayed in the virtual item sending page. And after acquiring the trigger signal corresponding to the preview control, the client of the sending party plays the video information.
Step 604, obtain a virtual item sending instruction.
Step 605, sending a virtual item message to at least one recipient client under the triggering of the virtual item sending instruction. And the virtual article message generated based on the virtual article parameters carries video information.
For details, reference may be made to the method embodiment shown in fig. 4A.
Referring to fig. 7, a flow chart of a virtual article receiving method according to an embodiment of the present invention is shown, where the method is applicable to a receiving client. The method may include several steps as follows.
Step 701, receiving a virtual article message.
Step 702, displaying a virtual item message, wherein the virtual item message and/or the virtual item pickup page triggered and displayed based on the virtual item message comprises a play control.
Optionally, after acquiring the trigger signal corresponding to the virtual item message, the receiver client displays a virtual item pickup page.
Step 703, acquiring a trigger signal corresponding to the play control.
Step 704, under the trigger of the trigger signal, playing the video information carried in the virtual article message.
Optionally, the virtual article pickup page further includes a pickup control, and after the receiving-side client acquires the trigger signal corresponding to the pickup control, the receiving-side client acquires the virtual article from the background server according to the virtual article identifier.
Optionally, the receiving client displays the pickup result page, obtains the message information input in the pickup result page, and then sends the message information to the sending client. Correspondingly, after receiving the message information sent by the receiver client, the sender client displays the message information.
For details, reference may be made to the method embodiment shown in fig. 4A.
The following are embodiments of the apparatus of the present invention that may be used to perform embodiments of the method of the present invention. For details which are not disclosed in the embodiments of the apparatus of the present invention, reference is made to the embodiments of the method of the present invention.
Referring to fig. 8, a block diagram of a virtual object sending apparatus according to an embodiment of the present invention is shown. The device has the function of implementing the sender client side in the above method example, and the function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The apparatus may include: a page display module 821, an information acquisition module 822, and an information transmission module 823.
And a page display module 821 for executing the steps 301 and 401.
An information obtaining module 822, configured to perform step 302 and step 402.
An information sending module 823 is configured to execute the step 303.
Optionally, the information sending module 823 includes: the device comprises a file generating unit, a file sending unit and a request sending unit.
A file generating unit, configured to execute step 405.
A file sending unit, configured to execute step 406.
A request sending unit, configured to execute the step 409.
Optionally, the information sending module 823 further includes: and the file receiving unit is used for receiving the processed video file sent by the background server.
Optionally, the apparatus further comprises: the control display module and the information playing module.
And a control display module, configured to perform step 403.
And an information playing module, configured to execute the step 404.
Reference may be made in detail to the method embodiments illustrated in fig. 3 or fig. 4A.
Referring to fig. 9, a block diagram of a virtual object sending apparatus according to another embodiment of the invention is shown. The device has the function of realizing the background server side in the method example, and the function can be realized by hardware or by hardware executing corresponding software. The apparatus may include: the system comprises an information receiving module 921, an identification generating module 922, a relation storing module 923 and a message sending module 924.
And the information receiving module 921 is configured to receive video information and virtual item parameters correspondingly sent by the sender client.
And an identifier generating module 922, configured to perform step 304 and step 410.
A relation storing module 923, configured to perform step 305 and step 411.
A message sending module 924, configured to perform the above step 306 and step 412.
Optionally, the information receiving module 921 includes: a file receiving unit and a request receiving unit.
And the file receiving unit is used for receiving the video file containing the video information sent by the client of the sender.
And the request receiving unit is used for receiving the virtual article generation request sent by the client side of the sending party.
Optionally, the information receiving module 641 further includes: an information processing unit and a file transmitting unit.
An information processing unit, configured to execute step 407.
A file sending unit, configured to execute step 409.
Reference may be made in detail to the method embodiments illustrated in fig. 3 or fig. 4A.
Referring to fig. 10, a block diagram of a virtual object sending apparatus according to another embodiment of the invention is shown. The device has the function of implementing the receiver client side in the above method example, and the function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The apparatus may include: a message receiving module 1021, a message display module 1022, and an information playing module 1023.
A message receiving module 1021, configured to receive a virtual article message sent by the background server.
A message display module 1022, configured to execute the above step 307 and step 413.
And an information playing module 1023, configured to perform step 308 and step 416.
Optionally, the apparatus further comprises: the device comprises a first information acquisition module, a second information acquisition module and a third information acquisition module.
And the first information acquisition module is used for acquiring the video information from the background server after acquiring the trigger signal corresponding to the play control.
And the second information acquisition module is used for acquiring the video information from the background server after verifying that the user account logged in to the receiver client meets the condition of picking up the virtual articles in the virtual articles.
And the third information acquisition module is used for acquiring the video information from the background server after the virtual articles in the virtual articles are successfully acquired.
Optionally, the apparatus further comprises: a first item acquisition module and a second item acquisition module.
The first article acquisition module is used for displaying a virtual article pickup page after acquiring a trigger signal corresponding to a virtual article message, wherein the virtual article pickup page comprises a playing control and a pickup control; and after the trigger signal corresponding to the picking control is acquired, acquiring the virtual article from the background server according to the virtual article identifier.
And the second article acquisition module is used for acquiring the virtual article from the background server according to the virtual article identifier after the video information is played.
Optionally, the apparatus further comprises: the device comprises a page display module, a message acquisition module and a message sending module.
And a page display module, configured to perform step 417.
And a message obtaining module, configured to execute step 418.
And a message sending module for executing the step 419.
Reference may be made in detail to the method embodiments illustrated in fig. 3 or fig. 4A.
An exemplary embodiment of the present invention also provides a virtual item transmitting apparatus. The device has the function of implementing the sender client side in the above method example, and the function may be implemented by hardware, or may be implemented by hardware executing corresponding software. The apparatus may include: the device comprises a generation indication acquisition module, a page display module, an information acquisition module, a sending indication acquisition module and a message sending module.
And a generation instruction obtaining module, configured to execute the step 601.
And a page display module, configured to perform step 602.
An information obtaining module, configured to perform step 603.
A sending instruction obtaining module, configured to execute step 604.
A message sending module, configured to execute step 605.
Reference may be made to the method embodiment shown in fig. 6 for details.
An exemplary embodiment of the present invention also provides a virtual item transmitting apparatus. The device has a
Now, the functions of the receiver client side in the above method examples may be implemented by hardware, or may be implemented by hardware executing corresponding software. The apparatus may include: a message receiving module, a message display module,
The device comprises a signal acquisition module and a video playing module.
A message receiving module, configured to execute step 701.
And a message display module, configured to perform step 702.
A signal obtaining module, configured to perform step 703.
And a video playing module, configured to perform step 704.
Reference may be made in detail to the method embodiment illustrated in fig. 7.
An exemplary embodiment of the present invention also provides a virtual article delivery system, including:
the system comprises a sender client, a background server and a receiver client.
The sender client is used for displaying a virtual article sending page after acquiring the virtual article generation instruction; acquiring video information and virtual article parameters input in a virtual article sending page; and correspondingly sending the video information, the virtual article parameters and the receiver information to a background server.
The background server is used for generating a virtual article identifier; storing the corresponding relation among the virtual article identification, the video information and the virtual article parameter; and sending a virtual article message to at least one receiver client according to the receiver information, wherein the virtual article message carries the virtual article identifier.
The receiving party client is used for displaying the virtual article message, and the virtual article message and/or the virtual article pickup page triggered and displayed based on the virtual article message comprise a playing control; and after the trigger signal corresponding to the playing control is acquired, playing the video information acquired according to the virtual article identifier.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Referring to fig. 11, a schematic structural diagram of a terminal according to an embodiment of the present invention is shown. The terminal is configured to implement the virtual article transmission method on the transmitting side client side provided in the above-described embodiment, or to implement the virtual article reception method on the receiving side client side provided in the above-described embodiment. Specifically, the method comprises the following steps:
the terminal 1100 can include RF (Radio Frequency) circuitry 1110, memory 1120 including one or more computer-readable storage media, an input unit 1130, a display unit 1140, a video sensor 1150, audio circuitry 1160, a WiFi (wireless fidelity) module 1170, a processor 1180 including one or more processing cores, and a power supply 990, among other components. Those skilled in the art will appreciate that the terminal structure shown in fig. 11 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
RF circuit 1110 may be used for receiving and transmitting signals during a message transmission or communication process, and in particular, for receiving downlink messages from a base station and then processing the received downlink messages by one or more processors 1180; in addition, data relating to uplink is transmitted to the base station. In general, RF circuitry 1110 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuitry 1110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), and the like.
The memory 1120 may be used to store software programs and modules, and the processor 1180 may execute various functional applications and data processing by operating the software programs and modules stored in the memory 1120. The memory 1120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as video data, a phone book, etc.) created according to the use of the terminal 1100, and the like. Further, the memory 1120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 1120 may also include a memory controller to provide the processor 1180 and the input unit 1130 access to the memory 1120.
The input unit 1130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. Specifically, the input unit 1130 may include an image input device 1131 and other input devices 1132. The image input device 1131 may be a camera or a photoelectric scanning device. The input unit 1130 may include other input devices 1132 in addition to the image input device 1131. In particular, other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1140 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal 1100, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 1140 may include a Display panel 1141, and optionally, the Display panel 1141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode, 15 Organic Light-Emitting Diode), or the like.
The terminal 1100 can include at least one video sensor 1150 for acquiring video information of a user. Terminal 1100 can also include other sensors (not shown), such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 1141 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 1141 and/or the backlight when the terminal 1100 moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal 1100, detailed descriptions thereof are omitted.
Video circuitry 1160, speakers 1161, and microphone 1162 may provide a video interface between a user and terminal 1100. The audio circuit 1160 may transmit the electrical signal converted from the received audio data to the speaker 1161, and convert the electrical signal into a sound signal for output by the speaker 1161; on the other hand, the microphone 1162 converts the collected sound signal into an electric signal, receives it by the audio circuit 1160, converts it into audio data, processes it by the audio data output processor 1180, and transmits it to, for example, another terminal via the RF circuit 1111, or outputs it to the memory 1120 for further processing. Audio circuitry 1160 may also include an earbud jack to provide peripheral headset communication with terminal 1100.
WiFi belongs to a short-distance wireless transmission technology, and the terminal 1100 can help a user send and receive e-mails, browse web pages, access streaming media, and the like through the WiFi module 70, and it provides a wireless broadband internet access for the user. Although fig. 11 shows the WiFi module 1170, it is understood that it does not belong to the essential constitution of the terminal 1100, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1180 is a control center of the terminal 1100, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal 1100 and processes data by operating or executing software programs and/or modules stored in the memory 1120 and calling data stored in the memory 1120, thereby performing overall monitoring of the mobile phone. Optionally, processor 1180 may include one or more processing cores; preferably, the processor 1180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications.
It will be appreciated that the modem processor described above may not be integrated within processor 1180.
The terminal 1100 also includes a power supply 990 (e.g., a battery) for supplying power to the various components, which may be logically connected to the processor 1180 via a power management system, for managing charging, discharging, and power consumption via the power management system. Power supply 990 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and the like.
Although not shown, the terminal 1100 may further include a bluetooth module or the like, which is not described in detail herein.
In this embodiment, the terminal 1100 further comprises a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for performing the method on the sender client side or the receiver client side.
Referring to fig. 12, a schematic structural diagram of a server according to an embodiment of the present invention is shown. The server is configured to implement the virtual item sending method on the background server side provided in the foregoing embodiment. Specifically, the method comprises the following steps:
the server 1200 includes a Central Processing Unit (CPU)1201, a system memory 1204 including a Random Access Memory (RAM)1202 and a Read Only Memory (ROM)1203, and a system bus 1205 connecting the system memory 1204 and the central processing unit 1201. The server 1200 also includes a basic input/output system (I/O system) 1206 to facilitate transfer of information between devices within the computer, and a mass storage device 1207 for storing an operating system 1213, application programs 1214, and other program modules 1215.
The basic input/output system 1206 includes a display 1208 for displaying information and an input device 1209, such as a mouse, keyboard, etc., for a user to input information. Wherein the display 1208 and input device 1209 are connected to the central processing unit 1201 through an input-output controller 1210 coupled to the system bus 1205. The basic input/output system 1206 may also include an input/output controller 1210 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, input-output controller 1210 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 1207 is connected to the central processing unit 1201 through a mass storage controller (not shown) connected to the system bus 1205. The mass storage device 1207 and its associated computer-readable media provide non-volatile storage for the server 1200. That is, the mass storage device 1207 may include a computer-readable medium (not shown) such as a hard disk or CD-ROM drive.
Without loss of generality, the computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the foregoing. The system memory 1204 and mass storage device 1207 described above may be collectively referred to as memory.
The server 1200 may also operate as a remote computer connected to a network via a network, such as the internet, in accordance with various embodiments of the present invention. That is, the server 1200 may be connected to the network 1212 through a network interface unit 1211 coupled to the system bus 1205, or the network interface unit 1211 may be used to connect to other types of networks or remote computer systems (not shown).
The memory also includes one or more programs stored in the memory and configured to be executed by one or more processors. The one or more programs include instructions for performing the method of the backend server side.
In an exemplary embodiment, a non-transitory computer readable storage medium is further provided, for example, a memory including instructions executable by a processor of a terminal to perform the steps of the sender client side or the receiver client side in the above method embodiments, or executed by a processor of a server to perform the steps of the background server side in the above method embodiments. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (29)

1. A method for sending a virtual item, the method comprising:
the method comprises the steps that a sender client responds to a trigger instruction of a menu control in a session interface and displays a function menu, wherein the function menu comprises a target operation control for sending a virtual article; responding to a triggering instruction of the target operation control, and displaying a selection item of the virtual article type; the selection items of the virtual article types comprise selection items corresponding to virtual articles carrying character information and selection items corresponding to virtual articles carrying video information; responding to a trigger instruction of a selection item of the virtual article carrying the video information, and displaying a virtual article sending page used for sending the virtual article carrying the video information; the virtual article sending page comprises the following steps: the system comprises an operation control for a sender user to input parameters of the virtual article, an operation control for the sender user to record video information and an operation control for the sender user to trigger sending of the virtual article; and responding to a triggering instruction of an operation control of the virtual article parameter, and determining the virtual article parameter; responding to a trigger instruction of the operation control for recording the video information, and recording the video information; in the process of recording the video information, if a recording cancellation instruction for executing the upward sliding operation is acquired, the recording of the video information is cancelled; displaying a preview control in a virtual article sending page, and playing video information after acquiring a trigger signal corresponding to the preview control; responding to a trigger instruction of the operation control for sending the virtual article, and correspondingly sending the video information, the virtual article parameters and the receiver information to a background server; the receiving party information comprises conditions of a user of a receiving party client side, which are set by a sending party user, wherein the conditions comprise position conditions and age intervals; the non-friend relationship between the user corresponding to the sender client and the user corresponding to the receiver client; compressing the video file corresponding to the video information by using a compression algorithm: acquiring at least one frame of the video data and video parameters of the video data; modifying the video parameters of the video data into compressed video parameters; compressing the at least one frame of video data according to the compressed video parameters through a hardware acceleration function to obtain a compressed video file; decoding the existing video file to obtain the at least one frame of video data; when the network condition is good, sending the uncompressed lossless video to a video server so that the video server compresses the lossless video and stores the lossless video and the compressed video;
the background server generates a virtual article identifier; storing the corresponding relation among the virtual article identification, the video information and the virtual article parameter; sending a virtual article message to at least one receiver client according to the receiver information, wherein the virtual article message carries the virtual article identifier;
the receiving party client displays the virtual article message, and the virtual article message and/or a virtual article pickup page triggered and displayed based on the virtual article message comprise a playing control; after the trigger signal corresponding to the playing control is obtained, judging whether the current network is a Wifi network or not, if the current network is the Wifi network, directly generating the trigger signal of the playing control, automatically playing video information, waiting for receiving the trigger signal of the picking control, and obtaining a virtual article from a background server according to the virtual article identifier when the trigger signal is received; if the current network is not a Wifi network, the trigger signal of the playing control is not generated, and the video information is not played; waiting for receiving a trigger signal of a pickup control, and acquiring a virtual article from a background server according to a virtual article identifier when receiving the trigger signal; receiving a trigger signal of the playing control, and playing the video information acquired according to the virtual article identifier; the video information is obtained from the background server after the receiving party client side successfully obtains the virtual articles in the virtual articles; and receiving the compressed video, sending a request for acquiring a lossless video to the video server when the network condition is good or the video required by a user is clearer, and receiving the lossless video sent by the video server.
2. The method of claim 1, wherein the sending client correspondingly sends the video information, the virtual item parameter and the receiving information to a background server, and the method comprises:
the client of the sender generates a video file containing the video information;
the sender client processes the video file to generate a processed video file;
the sender client sends the processed video file to the background server;
the client of the sender sends a virtual article generation request to the background server, wherein the virtual article generation request comprises a file identifier of the video file, the virtual article parameters and the information of the receiver, and the file identifier is generated by the client of the sender or the background server.
3. The method according to claim 1, wherein after recording video information in response to the triggering instruction for the operation control for recording video information, further comprising:
the client of the sender displays a video preview control in the virtual article sending page;
after the sender client acquires a first trigger signal corresponding to the video preview control, the sender client plays the video information;
and after the client of the sending party acquires a second trigger signal corresponding to the video preview control, the video information is paused to be played.
4. The method of claim 1, wherein after the recipient client displays the virtual item message, further comprising:
the receiver client acquires the video information from the background server after acquiring the trigger signal corresponding to the play control;
or after verifying that the user account logged in to the receiver client meets the condition of picking up the virtual articles in the virtual articles, the receiver client acquires the video information from the background server;
or after the receiving party client successfully acquires the virtual article, acquiring the video information from the background server.
5. The method of claim 1, wherein after the recipient client displays the virtual item message, further comprising:
after the receiving party client acquires the trigger signal corresponding to the virtual article message, displaying a virtual article pickup page, wherein the virtual article pickup page comprises the playing control and the pickup control;
the receiver client judges the current network state, and selects to generate the trigger signal of the playing control according to the current network state or waits to receive the input of the trigger signal of the playing control;
and after the receiving party client acquires the trigger signal corresponding to the picking control, acquiring the virtual article from the background server according to the virtual article identifier.
6. The method of claim 5, wherein after the receiving client obtains the virtual item from the backend server according to the virtual item identifier, the method further comprises:
the receiving party client displays a pickup result page; acquiring message information input in the pickup result page, wherein the message information is any one of characters, voice or video; sending the message information to the background server;
the background server forwards the message information to the sender client;
and the sender client receives and displays the message information.
7. A method for sending a virtual item, the method comprising:
responding to a trigger instruction of a menu control in a session interface, and displaying a function menu, wherein the function menu comprises a target operation control for sending a virtual article;
responding to a triggering instruction of the target operation control, and displaying a selection item of a virtual article type; the selection items of the virtual article types comprise selection items corresponding to virtual articles carrying character information and selection items corresponding to virtual articles carrying video information;
responding to a trigger instruction of a selection item of the virtual article carrying the video information, and displaying a virtual article sending page used for sending the virtual article carrying the video information; the virtual article sending page comprises the following steps: the system comprises an operation control for a sender user to input parameters of the virtual article, an operation control for the sender user to record video information and an operation control for the sender user to trigger sending of the virtual article;
responding to a triggering instruction of an operation control of the virtual article parameter, and determining the virtual article parameter;
responding to a trigger instruction of the operation control for recording the video information, and recording the video information;
displaying a preview control in a virtual article sending page, and playing video information after acquiring a trigger signal corresponding to the preview control;
responding to a trigger instruction of the operation control for sending the virtual article, and correspondingly sending the video information, the virtual article parameters and receiver information to a background server, wherein the receiver information comprises user conditions of a receiver client side, which are set by a sender user, and the conditions comprise position conditions and age intervals; the non-friend relationship between the user corresponding to the sender client and the user corresponding to the receiver client; compressing the video file corresponding to the video information by using a compression algorithm: acquiring at least one frame of the video data and video parameters of the video data; modifying the video parameters of the video data into compressed video parameters; compressing the at least one frame of video data according to the compressed video parameters through a hardware acceleration function to obtain a compressed video file; decoding the existing video file to obtain the at least one frame of video data; when the network condition is good, sending the uncompressed lossless video to a video server so that the video server compresses the lossless video and stores the lossless video and the compressed video; enabling the background server to generate a virtual article identifier, storing a corresponding relation among the virtual article identifier, the video information and the virtual article parameter, and sending a virtual article message to at least one receiver client according to the receiver information, wherein the virtual article message carries the virtual article identifier; the receiving party client is used for displaying the virtual article message, the virtual article message and/or a virtual article pickup page triggered and displayed based on the virtual article message comprise a playing control, and after a triggering signal corresponding to the playing control is obtained, the virtual article message is played according to the virtual article identifier; the video information is obtained from the background server after the receiving party client side successfully obtains the virtual articles in the virtual articles; and receiving the compressed video, sending a request for acquiring a lossless video to the video server when the network condition is good or the user demands a clearer video, and receiving the lossless video sent by the video server.
8. The method of claim 7, wherein the sending the video information, the virtual item parameter, and the recipient information to a backend server correspondingly comprises:
generating a video file containing the video information;
processing the video file to generate a processed video file;
sending the processed video file to the background server;
sending a virtual article generation request to the background server, wherein the virtual article generation request comprises a file identifier of the video file, the virtual article parameter and the receiver information, and the file identifier is generated by the sender client or the background server.
9. The method according to claim 7, wherein after recording video information in response to the triggering instruction for the operation control of recording video information, further comprising:
displaying a video preview control in the virtual item sending page;
after a first trigger signal corresponding to the video preview control is acquired, playing the video information;
and after a second trigger signal corresponding to the video preview control is acquired, pausing the playing of the video information.
10. A method for sending a virtual item, the method comprising:
receiving video information, virtual article parameters and receiver information sent by a sender client in response to a trigger instruction of an operation control for sending a virtual article; the receiving party information comprises conditions of a user of a receiving party client side, which are set by a sending party user, wherein the conditions comprise position conditions and age intervals; the video information is recorded information in response to a trigger instruction of an operation control for recording the video information by the sender client; the virtual article parameter is a parameter determined by the client of the sender in response to a trigger instruction of an operation control of the virtual article parameter; the system comprises an operation control used for a sender user to input parameters of a virtual article, an operation control used for the sender user to record video information, and a control used for the sender user to trigger the operation control for sending the virtual article to be a control in a virtual article sending page of the virtual article carrying the video information, wherein the virtual article sending page is a page displayed by a sender client in response to a trigger instruction for a selection item of the virtual article carrying the video information; the selection items of the virtual article types comprise selection items corresponding to virtual articles carrying character information and selection items corresponding to virtual articles carrying video information; the selection item of the virtual article type is an option displayed by the client of the sender in response to a trigger instruction of the target operation control; the target operation control is a control used for sending a virtual article in a function menu, and the function menu is a menu displayed by the sender client in response to a trigger instruction of the menu control in the session interface; in the process of recording the video information, if a recording cancellation instruction for executing the upward sliding operation is acquired, the recording of the video information is cancelled; displaying a preview control in a virtual article sending page, and playing video information after acquiring a trigger signal corresponding to the preview control;
generating a virtual article identifier;
storing the corresponding relation among the virtual article identification, the video information and the virtual article parameter;
sending a virtual article message to at least one receiver client according to the receiver information, wherein the virtual article message carries the virtual article identifier; enabling the receiving party client to display the virtual article message, wherein the virtual article message and/or a virtual article pickup page triggered and displayed based on the virtual article message comprises a play control, judging whether a current network is a Wifi network or not after acquiring a trigger signal corresponding to the play control, directly generating the trigger signal of the play control if the current network is the Wifi network, automatically playing video information, waiting for receiving the trigger signal of the pickup control, and acquiring a virtual article from a background server according to a virtual article identifier when receiving the trigger signal; if the current network is not a Wifi network, the trigger signal of the playing control is not generated, and the video information is not played; waiting for receiving a trigger signal of a pickup control, and acquiring a virtual article from a background server according to a virtual article identifier when receiving the trigger signal; receiving a trigger signal of the playing control, and playing the video information acquired according to the virtual article identifier; the video information is obtained from a background server after the receiving party client side successfully obtains the virtual articles in the virtual articles; receiving a compressed video, sending a request for acquiring a lossless video to the video server when the network condition is good or the video required by a user is clearer, and receiving the lossless video sent by the video server; the method for acquiring the compressed video comprises the following steps: the client of the sending party compresses the video file corresponding to the video information by using a compression algorithm: acquiring at least one frame of the video data and video parameters of the video data; modifying the video parameters of the video data into compressed video parameters; compressing the at least one frame of video data according to the compressed video parameters through a hardware acceleration function to obtain a compressed video file; decoding the existing video file to obtain the at least one frame of video data; and when the network condition is good, sending the uncompressed lossless video to a video server so that the video server compresses the lossless video to obtain the video.
11. The method according to claim 10, wherein the receiving the video information, the virtual article parameter and the receiver information sent by the sender client comprises:
receiving a video file containing the video information sent by the sender client;
receiving a virtual article generation request sent by the client of the sender, wherein the virtual article generation request comprises a file identifier of the video file, the virtual article parameters and the information of the receiver, and the file identifier is generated by the client of the sender or a background server.
12. A virtual article receiving method, the method comprising:
receiving a virtual article message sent by a background server, wherein the virtual article message carries a virtual article identifier; the virtual article message is generated by the background server after receiving video information, virtual article parameters and receiver information which are correspondingly sent by a sender client in response to a trigger instruction for an operation control for sending a virtual article, wherein the video information is recorded by the sender client in response to the trigger instruction for the operation control for recording the video information; the virtual article parameter is a parameter determined by the client of the sender in response to a trigger instruction of an operation control of the virtual article parameter; the system comprises an operation control used for a sender user to input parameters of a virtual article, an operation control used for the sender user to record video information, and a control used for the sender user to trigger the operation control for sending the virtual article to be a control in a virtual article sending page of the virtual article carrying the video information, wherein the virtual article sending page is a page displayed by a sender client in response to a trigger instruction for a selection item of the virtual article carrying the video information; the selection item of the virtual article type is an option displayed by the client of the sender in response to a trigger instruction of the target operation control; the selection items of the virtual article types comprise selection items corresponding to virtual articles carrying character information and selection items corresponding to virtual articles carrying video information; the target operation control is a control used for sending a virtual article in a function menu, and the function menu is a menu displayed by the sender client in response to a trigger instruction of the menu control in the session interface; the receiver information comprises the user conditions of the receiver client, which are set by the sender user, wherein the conditions comprise position conditions and age intervals;
displaying the virtual article message, wherein the virtual article message and/or a virtual article pickup page triggered and displayed based on the virtual article message comprise a playing control;
after the trigger signal corresponding to the playing control is obtained, judging whether the current network is a Wifi network or not, if the current network is the Wifi network, directly generating the trigger signal of the playing control, automatically playing video information, waiting for receiving the trigger signal of the picking control, and obtaining a virtual article from a background server according to the virtual article identifier when the trigger signal is received; if the current network is not a Wifi network, the trigger signal of the playing control is not generated, and the video information is not played; waiting for receiving a trigger signal of a pickup control, and acquiring a virtual article from a background server according to a virtual article identifier when receiving the trigger signal; receiving a trigger signal of the playing control, and playing the video information acquired according to the virtual article identifier; the video information is obtained from the background server after the receiving party client side successfully obtains the virtual articles in the virtual articles; receiving a compressed video, sending a request for acquiring a lossless video to the video server when the network condition is good or the video required by a user is clearer, and receiving the lossless video sent by the video server; the method for acquiring the compressed video comprises the following steps: the client of the sending party compresses the video file corresponding to the video information by using a compression algorithm: acquiring at least one frame of the video data and video parameters of the video data; modifying the video parameters of the video data into compressed video parameters; compressing the at least one frame of video data according to the compressed video parameters through a hardware acceleration function to obtain a compressed video file; decoding the existing video file to obtain the at least one frame of video data; and when the network condition is good, sending the uncompressed lossless video to a video server so that the video server compresses the lossless video to obtain the video.
13. The method of claim 12, wherein after displaying the virtual item message, further comprising:
after a trigger signal corresponding to the playing control is acquired, acquiring the video information from the background server;
or after verifying that the user account logged in to the receiver client meets the condition of picking up the virtual articles in the virtual articles, acquiring the video information from the background server;
or after the virtual articles in the virtual articles are successfully acquired, acquiring the video information from the background server.
14. The method of claim 12, wherein after displaying the virtual item message, further comprising:
after a trigger signal corresponding to the virtual article message is acquired, displaying a virtual article pickup page, wherein the virtual article pickup page comprises the playing control and a pickup control;
judging the current network state, and selecting to directly generate a trigger signal of the playing control or wait for receiving the input of the trigger signal of the playing control according to the current network state;
and after a trigger signal corresponding to the picking control is acquired, acquiring a virtual article from the background server according to the virtual article identifier.
15. The method of claim 12, wherein after the virtual item is obtained from the backend server according to the virtual item identifier, further comprising:
displaying a pickup result page;
acquiring message information input in the pickup result page, wherein the message information is any one of characters, voice or video;
and sending the message information to the background server, wherein the background server is used for forwarding the message information to the sender client.
16. A method for sending a virtual item, the method comprising:
responding to a trigger instruction of a menu control in a session interface, and displaying a function menu, wherein the function menu comprises a target operation control for sending a virtual article;
responding to a triggering instruction of the target operation control, and displaying a selection item of a virtual article type; the selection items of the virtual article types comprise selection items corresponding to virtual articles carrying character information and selection items corresponding to virtual articles carrying video information;
responding to a trigger instruction of a selection item of the virtual article carrying the video information, and displaying a virtual article sending page used for sending the virtual article carrying the video information; the virtual article sending page comprises the following steps: the system comprises an operation control for a sender user to input parameters of the virtual article, an operation control for the sender user to record video information and an operation control for the sender user to trigger sending of the virtual article;
responding to a triggering instruction of an operation control of the virtual article parameter, and determining the virtual article parameter;
responding to a trigger instruction of the operation control for recording the video information, and recording the video information; in the process of recording the video information, if a recording cancellation instruction for executing the upward sliding operation is acquired, the recording of the video information is cancelled; displaying a preview control in a virtual article sending page, and playing video information after acquiring a trigger signal corresponding to the preview control;
responding to a triggering instruction of the operation control for sending the virtual article, and sending a virtual article message to at least one receiver client corresponding to the receiver information; the receiving party information comprises conditions of a user of a receiving party client side, which are set by a sending party user, wherein the conditions comprise position conditions and age intervals; the non-friend relationship between the user corresponding to the sender client and the user corresponding to the receiver client; compressing the video file corresponding to the video information by using a compression algorithm: acquiring at least one frame of the video data and video parameters of the video data; modifying the video parameters of the video data into compressed video parameters; compressing the at least one frame of video data according to the compressed video parameters through a hardware acceleration function to obtain a compressed video file; decoding the existing video file to obtain the at least one frame of video data; when the network condition is good, sending the uncompressed lossless video to a video server so that the video server compresses the lossless video and stores the lossless video and the compressed video;
the virtual article message generated based on the virtual article parameters carries the video information; after the receiving party client side successfully acquires the virtual articles in the virtual articles, the video information is sent to the receiving party client side; and the receiver client receives the compressed video, sends a request for acquiring a lossless video to the video server when the network condition is good or the user demands the clearer video, and receives the lossless video sent by the video server.
17. A virtual article receiving method, the method comprising:
a receiving party client corresponding to the receiving party information receives the virtual article message; the receiver information comprises the user conditions of the receiver client, which are set by the sender user, wherein the conditions comprise position conditions and age intervals; the virtual article message carries video information and virtual article parameters; the video information is recorded information in response to a trigger instruction of an operation control for recording the video information by the sender client; the virtual article parameter is a parameter determined by the client of the sender in response to a trigger instruction of an operation control of the virtual article parameter; the system comprises an operation control used for a sender user to input parameters of a virtual article, an operation control used for the sender user to record video information, and a control used for the sender user to trigger the operation control for sending the virtual article to be a control in a virtual article sending page of the virtual article carrying the video information, wherein the virtual article sending page is a page displayed by a sender client in response to a trigger instruction for a selection item of the virtual article carrying the video information; the selection item of the virtual article type is an option displayed by the client of the sender in response to a trigger instruction of the target operation control; the target operation control is a control used for sending a virtual article in a function menu, and the function menu is a menu displayed by the sender client in response to a trigger instruction of the menu control in the session interface;
displaying the virtual article message, wherein the virtual article message and/or a virtual article pickup page triggered and displayed based on the virtual article message comprise a playing control;
acquiring a trigger signal corresponding to the play control;
judging whether the current network is a Wifi network or not, if the current network is the Wifi network, directly generating a trigger signal of the playing control, automatically playing video information, waiting for receiving the trigger signal of the picking control, and acquiring a virtual article from a background server according to a virtual article identifier when receiving the trigger signal; if the current network is not a Wifi network, the trigger signal of the playing control is not generated, and the video information is not played; waiting for receiving a trigger signal of a pickup control, and acquiring a virtual article from a background server according to a virtual article identifier when receiving the trigger signal; receiving a trigger signal of the playing control, and playing video information carried in the virtual article message under the trigger of the trigger signal; after the receiving party client side successfully acquires the virtual articles in the virtual articles, the video information is sent to the receiving party client side;
receiving a compressed video, sending a request for acquiring a lossless video to the video server when the network condition is good or the video required by a user is clearer, and receiving the lossless video sent by the video server; the method for acquiring the compressed video comprises the following steps: the client of the sending party compresses the video file corresponding to the video information by using a compression algorithm: acquiring at least one frame of the video data and video parameters of the video data; modifying the video parameters of the video data into compressed video parameters; compressing the at least one frame of video data according to the compressed video parameters through a hardware acceleration function to obtain a compressed video file; decoding the existing video file to obtain the at least one frame of video data; and when the network condition is good, sending the uncompressed lossless video to a video server so that the video server compresses the lossless video to obtain the video.
18. A virtual item delivery apparatus, characterized in that the apparatus comprises:
the page display module is used for responding to a trigger instruction of a menu control in the session interface and displaying a function menu, wherein the function menu comprises a target operation control for sending a virtual article; responding to a triggering instruction of the target operation control, and displaying a selection item of the virtual article type; the selection items of the virtual article types comprise selection items corresponding to virtual articles carrying character information and selection items corresponding to virtual articles carrying video information; responding to a trigger instruction of a selection item of the virtual article carrying the video information, and displaying a virtual article sending page used for sending the virtual article carrying the video information; the virtual article sending page comprises the following steps: the system comprises an operation control for a sender user to input parameters of the virtual article, an operation control for the sender user to record video information and an operation control for the sender user to trigger sending of the virtual article;
the information acquisition module is used for responding to a trigger instruction of the operation control of the virtual article parameter and determining the virtual article parameter; responding to a trigger instruction of the operation control for recording the video information, and recording the video information; in the process of recording the video information, if a recording cancellation instruction for executing the upward sliding operation is acquired, the recording of the video information is cancelled; displaying a preview control in a virtual article sending page, and playing video information after acquiring a trigger signal corresponding to the preview control;
the information sending module is used for responding to a trigger instruction of the operation control for sending the virtual article and correspondingly sending the video information, the virtual article parameters and the receiver information to a background server, wherein the receiver information comprises user conditions of a receiver client side, which are set by a sender user, and the conditions comprise position conditions and age intervals; enabling the background server to generate a virtual article identifier, storing a corresponding relation among the virtual article identifier, the video information and the virtual article parameter, and sending a virtual article message to at least one receiver client according to the receiver information, wherein the virtual article message carries the virtual article identifier; the receiving party client is used for displaying the virtual article message, the virtual article message and/or a virtual article pickup page triggered and displayed based on the virtual article message comprise a playing control, and after a triggering signal corresponding to the playing control is acquired, the video information acquired according to the virtual article identification is played; the video information is obtained from the background server after the receiving party client side successfully obtains the virtual articles in the virtual articles;
a video parameter acquiring subunit, configured to acquire at least one frame of the video data and a video parameter of the video data;
a video parameter modifying subunit, configured to modify a video parameter of the video data into a compressed video parameter;
the video compression subunit compresses the at least one frame of video data according to the compressed video parameters through a hardware acceleration function to obtain a compressed video file; decoding the existing video file to obtain the at least one frame of video data; when the network condition is good, sending the uncompressed lossless video to a video server so that the video server compresses the lossless video and stores the lossless video and the compressed video; enabling the background server to generate a virtual article identifier, storing a corresponding relation among the virtual article identifier, the video information and the virtual article parameter, and sending a virtual article message to at least one receiver client according to the receiver information, wherein the virtual article message carries the virtual article identifier; the receiving party client is used for displaying the virtual article message, the virtual article message and/or a virtual article pickup page triggered and displayed based on the virtual article message comprise a playing control, and after a triggering signal corresponding to the playing control is obtained, the virtual article message is played according to the virtual article identifier; the video information is obtained from the background server after the receiving party client side successfully obtains the virtual articles in the virtual articles; and receiving the compressed video, sending a request for acquiring a lossless video to the video server when the network condition is good or the user demands a clearer video, and receiving the lossless video sent by the video server.
19. The apparatus of claim 18, wherein the information sending module comprises:
the file generating unit is used for generating a video file containing the video information;
the file processing unit is used for processing the video file and generating a processed video file;
the file sending unit is used for sending the video file to the background server;
a request sending unit, configured to send a virtual article generation request to the background server, where the virtual article generation request includes a file identifier of the video file, the virtual article parameter, and the receiver information, and the file identifier is generated by the sender client or the background server.
20. The apparatus of claim 18, further comprising:
the control display module is used for displaying a preview control in the virtual article sending page;
and the information playing module is used for playing the video information after acquiring the trigger signal corresponding to the preview control.
21. A virtual item delivery apparatus, characterized in that the apparatus comprises:
the information receiving module is used for receiving video information, virtual article parameters and receiver information which are correspondingly sent by a sender client in response to a trigger instruction of an operation control for sending a virtual article; the receiving party information comprises conditions of a user of a receiving party client side, which are set by a sending party user, wherein the conditions comprise position conditions and age intervals; the video information is recorded information in response to a trigger instruction of an operation control for recording the video information by the sender client; the virtual article parameter is a parameter determined by the client of the sender in response to a trigger instruction of an operation control of the virtual article parameter; the system comprises an operation control used for a sender user to input parameters of a virtual article, an operation control used for the sender user to record video information, and a control used for the sender user to trigger the operation control for sending the virtual article to be a control in a virtual article sending page of the virtual article carrying the video information, wherein the virtual article sending page is a page displayed by a sender client in response to a trigger instruction for a selection item of the virtual article carrying the video information; the selection item of the virtual article type is an option displayed by the client of the sender in response to a trigger instruction of the target operation control; the target operation control is a control used for sending a virtual article in a function menu, and the function menu is a menu displayed by the sender client in response to a trigger instruction of the menu control in the session interface;
the identification generation module is used for generating virtual article identifications;
the relation storage module is used for storing the corresponding relation among the virtual article identification, the video information and the virtual article parameter;
the message sending module is used for sending a virtual article message to at least one receiver client according to the receiver information, wherein the virtual article message carries the virtual article identifier; enabling the receiving party client to display the virtual article message, wherein the virtual article message and/or a virtual article pickup page triggered and displayed based on the virtual article message comprises a play control, judging whether a current network is a Wifi network or not after acquiring a trigger signal corresponding to the play control, directly generating the trigger signal of the play control if the current network is the Wifi network, automatically playing video information, waiting for receiving the trigger signal of the pickup control, and acquiring a virtual article from a background server according to a virtual article identifier when receiving the trigger signal; if the current network is not a Wifi network, the trigger signal of the playing control is not generated, and the video information is not played; waiting for receiving a trigger signal of a pickup control, and acquiring a virtual article from a background server according to a virtual article identifier when receiving the trigger signal; receiving a trigger signal of the playing control, and playing the video information acquired according to the virtual article identifier; the video information is obtained from a background server after the receiving party client side successfully obtains the virtual articles in the virtual articles; receiving a compressed video, sending a request for acquiring a lossless video to the video server when the network condition is good or the video required by a user is clearer, and receiving the lossless video sent by the video server; the method for acquiring the compressed video comprises the following steps: the client of the sending party compresses the video file corresponding to the video information by using a compression algorithm: acquiring at least one frame of the video data and video parameters of the video data; modifying the video parameters of the video data into compressed video parameters; compressing the at least one frame of video data according to the compressed video parameters through a hardware acceleration function to obtain a compressed video file; decoding the existing video file to obtain the at least one frame of video data; and when the network condition is good, sending the uncompressed lossless video to a video server so that the video server compresses the lossless video to obtain the video.
22. The apparatus of claim 21, wherein the information receiving module comprises:
the file receiving unit is used for receiving a video file which contains the video information and is sent by the client of the sender;
a request receiving unit, configured to receive a virtual article generation request sent by the sender client, where the virtual article generation request includes a file identifier of the video file, the virtual article parameter, and the receiver information, and the file identifier is generated by the sender client or a background server.
23. A virtual article receiving apparatus, the apparatus comprising:
the message receiving module is used for receiving a virtual article message sent by the background server, wherein the virtual article message carries a virtual article identifier; the virtual article message is generated after the background server receives video information, virtual article parameters and receiver information which are correspondingly sent by a sender client, and the video information is recorded by the sender client in response to a trigger instruction of an operation control for recording the video information; the virtual article parameter is a parameter determined by the client of the sender in response to a trigger instruction of an operation control of the virtual article parameter; the system comprises an operation control used for a sender user to input parameters of a virtual article, an operation control used for the sender user to record video information, and a control used for the sender user to trigger the operation control for sending the virtual article to be a control in a virtual article sending page of the virtual article carrying the video information, wherein the virtual article sending page is a page displayed by a sender client in response to a trigger instruction for a selection item of the virtual article carrying the video information; the selection item of the virtual article type is an option displayed by the client of the sender in response to a trigger instruction of the target operation control; the selection items of the virtual article types comprise selection items corresponding to virtual articles carrying character information and selection items corresponding to virtual articles carrying video information; the target operation control is a control used for sending a virtual article in a function menu, and the function menu is a menu displayed by the sender client in response to a trigger instruction of the menu control in the session interface; the receiver information comprises the user conditions of the receiver client, which are set by the sender user, wherein the conditions comprise position conditions and age intervals;
the message display module is used for displaying the virtual article message, and the virtual article message and/or a virtual article pickup page triggered and displayed based on the virtual article message comprise a playing control;
the information playing module is used for judging whether the current network is a Wifi network or not after acquiring the trigger signal corresponding to the playing control, directly generating the trigger signal of the playing control if the current network is the Wifi network, automatically playing video information, waiting for receiving the trigger signal of the picking control, and acquiring a virtual article from the background server according to the virtual article identifier when receiving the trigger signal; if the current network is not a Wifi network, the trigger signal of the playing control is not generated, and the video information is not played; waiting for receiving a trigger signal of a pickup control, and acquiring a virtual article from a background server according to a virtual article identifier when receiving the trigger signal; receiving a trigger signal of the playing control, and playing the video information acquired according to the virtual article identifier; the video information is obtained from the background server after the receiving party client side successfully obtains the virtual articles in the virtual articles; receiving a compressed video, sending a request for acquiring a lossless video to the video server when the network condition is good or the video required by a user is clearer, and receiving the lossless video sent by the video server; the method for acquiring the compressed video comprises the following steps: the client of the sending party compresses the video file corresponding to the video information by using a compression algorithm: acquiring at least one frame of the video data and video parameters of the video data; modifying the video parameters of the video data into compressed video parameters; compressing the at least one frame of video data according to the compressed video parameters through a hardware acceleration function to obtain a compressed video file; decoding the existing video file to obtain the at least one frame of video data; and when the network condition is good, sending the uncompressed lossless video to a video server so that the video server compresses the lossless video to obtain the video.
24. The apparatus of claim 23, further comprising: a video acquisition module;
the video acquisition module is used for acquiring the video information from the background server after acquiring the trigger signal corresponding to the playing control;
or the video information acquisition module is used for acquiring the video information from the background server after verifying that the user account number logged in to the receiver client meets the condition of picking up the virtual articles in the virtual articles;
or the video information acquisition module is configured to acquire the video information from the background server after the virtual article in the virtual article is successfully acquired.
25. The apparatus of claim 23, further comprising:
the page display module is used for displaying a virtual article pickup page after acquiring a trigger signal corresponding to the virtual article message, wherein the virtual article pickup page comprises the playing control and the pickup control;
the trigger mode judging module is used for judging the current network state by the receiver client, and selecting to generate a trigger signal of the play control according to the current network state or waiting for receiving the input of the trigger signal of the play control;
and the receiving party client acquires the virtual article from the background server according to the virtual article identifier after acquiring the trigger signal corresponding to the pickup control.
26. The apparatus of claim 23, further comprising:
the result display module is used for displaying a pickup result page;
the message obtaining module is used for obtaining message information input in the pickup result page, wherein the message information is any one of characters, voice or video;
and the message sending module is used for sending the message information to the background server, and the background server is used for forwarding the message information to the sender client.
27. A virtual good delivery system, the system comprising: the system comprises a sender client, a background server and a receiver client;
the sender client comprising apparatus according to any one of claims 18 to 20;
the backend server comprises an apparatus according to any one of claims 21 to 22;
the sender client comprising apparatus according to any one of claims 23 to 26.
28. A virtual item delivery apparatus, characterized in that the apparatus comprises:
the generation instruction acquisition module is used for acquiring a virtual article generation instruction;
the page display module is used for responding to a trigger instruction of a menu control in the session interface and displaying a function menu, wherein the function menu comprises a target operation control for sending a virtual article; responding to a triggering instruction of the target operation control, and displaying a selection item of the virtual article type; the selection items of the virtual article types comprise selection items corresponding to virtual articles carrying character information and selection items corresponding to virtual articles carrying video information; responding to a trigger instruction of a selection item of the virtual article carrying the video information, and displaying a virtual article sending page used for sending the virtual article carrying the video information; the virtual article sending page comprises the following steps: the system comprises an operation control for a sender user to input parameters of the virtual article, an operation control for the sender user to record video information and an operation control for the sender user to trigger sending of the virtual article;
the information acquisition module is used for responding to a trigger instruction of the operation control of the virtual article parameter and determining the virtual article parameter; responding to a trigger instruction of the operation control for recording the video information, and recording the video information; in the process of recording the video information, if a recording cancellation instruction for executing the upward sliding operation is acquired, the recording of the video information is cancelled; displaying a preview control in a virtual article sending page, and playing video information after acquiring a trigger signal corresponding to the preview control; and compressing the video file corresponding to the video information by using a compression algorithm: acquiring at least one frame of the video data and video parameters of the video data; modifying the video parameters of the video data into compressed video parameters; compressing the at least one frame of video data according to the compressed video parameters through a hardware acceleration function to obtain a compressed video file; decoding the existing video file to obtain the at least one frame of video data; when the network condition is good, sending the uncompressed lossless video to a video server so that the video server compresses the lossless video and stores the lossless video and the compressed video;
a sending instruction acquisition module for acquiring a virtual article sending instruction;
the message sending module is used for sending the virtual article message to at least one receiver client corresponding to the receiver information under the trigger of the virtual article sending instruction; the receiving party information comprises conditions of a user of a receiving party client side, which are set by a sending party user, wherein the conditions comprise position conditions and age intervals;
the virtual article message generated based on the virtual article parameters carries the video information; after the receiving party client side successfully acquires the virtual articles in the virtual articles, the video information is sent to the receiving party client side; and the receiver client receives the compressed video, sends a request for acquiring a lossless video to the video server when the network condition is good or the user demands the clearer video, and receives the lossless video sent by the video server.
29. A virtual article receiving apparatus, the apparatus comprising:
the message receiving module is used for receiving the virtual article message by a receiver client corresponding to the receiver information; the receiver information comprises the user conditions of the receiver client, which are set by the sender user, wherein the conditions comprise position conditions and age intervals; the virtual article message carries video information and virtual article parameters; the video information is recorded information in response to a trigger instruction of an operation control for recording the video information by the sender client; the virtual article parameter is a parameter determined by the client of the sender in response to a trigger instruction of an operation control of the virtual article parameter; the system comprises an operation control used for a sender user to input parameters of a virtual article, an operation control used for the sender user to record video information, and a control used for the sender user to trigger the operation control for sending the virtual article to be a control in a virtual article sending page of the virtual article carrying the video information, wherein the virtual article sending page is a page displayed by a sender client in response to a trigger instruction for a selection item of the virtual article carrying the video information; the selection item of the virtual article type is an option displayed by the client of the sender in response to a trigger instruction of the target operation control; the selection items of the virtual article types comprise selection items corresponding to virtual articles carrying character information and selection items corresponding to virtual articles carrying video information; the target operation control is a control used for sending a virtual article in a function menu, and the function menu is a menu displayed by the sender client in response to a trigger instruction of the menu control in the session interface;
the message display module is used for displaying the virtual article message, and the virtual article message and/or a virtual article pickup page triggered and displayed based on the virtual article message comprise a playing control;
the video receiving module is used for receiving the compressed video, sending a request for acquiring a lossless video to the video server when the network condition is good or the user demands the video which is clearer, and receiving the lossless video signal acquisition module sent by the video server and used for acquiring a trigger signal corresponding to the playing control; the method for acquiring the compressed video comprises the following steps: the client of the sending party compresses the video file corresponding to the video information by using a compression algorithm: acquiring at least one frame of the video data and video parameters of the video data; modifying the video parameters of the video data into compressed video parameters; compressing the at least one frame of video data according to the compressed video parameters through a hardware acceleration function to obtain a compressed video file; decoding the existing video file to obtain the at least one frame of video data; when the network condition is good, sending the uncompressed lossless video to a video server so that the video server can compress the lossless video to obtain a video;
the video playing module is used for judging whether the current network is a Wifi network or not, directly generating a trigger signal of the playing control if the current network is the Wifi network, automatically playing video information, waiting for receiving the trigger signal of the picking control, and acquiring a virtual article from the background server according to the virtual article identifier when receiving the trigger signal; if the current network is not a Wifi network, the trigger signal of the playing control is not generated, and the video information is not played; waiting for receiving a trigger signal of a pickup control, and acquiring a virtual article from a background server according to a virtual article identifier when receiving the trigger signal; receiving a trigger signal of the playing control, and playing video information carried in the virtual article message under the trigger of the trigger signal; and the video information is sent to the client of the receiving party after the client of the receiving party successfully acquires the virtual articles in the virtual articles.
CN201611108377.4A 2016-12-06 2016-12-06 Virtual article sending method, virtual article receiving method, virtual article sending device, virtual article receiving device and virtual article sending system Active CN106789562B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611108377.4A CN106789562B (en) 2016-12-06 2016-12-06 Virtual article sending method, virtual article receiving method, virtual article sending device, virtual article receiving device and virtual article sending system

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201611108377.4A CN106789562B (en) 2016-12-06 2016-12-06 Virtual article sending method, virtual article receiving method, virtual article sending device, virtual article receiving device and virtual article sending system
PCT/CN2017/094361 WO2018024137A1 (en) 2016-08-04 2017-07-25 Information processing method, apparatus and device, and storage medium
US16/194,154 US11153237B2 (en) 2016-08-04 2018-11-16 Information processing method, apparatus, device and storage medium
US17/382,222 US20220014488A1 (en) 2016-08-04 2021-07-21 Information processing method, apparatus, device, and storage medium

Publications (2)

Publication Number Publication Date
CN106789562A CN106789562A (en) 2017-05-31
CN106789562B true CN106789562B (en) 2021-09-14

Family

ID=58878204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611108377.4A Active CN106789562B (en) 2016-12-06 2016-12-06 Virtual article sending method, virtual article receiving method, virtual article sending device, virtual article receiving device and virtual article sending system

Country Status (1)

Country Link
CN (1) CN106789562B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018024137A1 (en) 2016-08-04 2018-02-08 腾讯科技(深圳)有限公司 Information processing method, apparatus and device, and storage medium
CN107527191A (en) * 2017-08-10 2017-12-29 北京小米移动软件有限公司 Return processing method, device, terminal and the server of red packet
CN107483596A (en) * 2017-08-24 2017-12-15 维沃移动通信有限公司 A kind of multimedia file sharing method, relevant device and system
CN107899237B (en) * 2017-12-06 2019-05-24 腾讯科技(深圳)有限公司 Control method and relevant device based on touch screen
CN110147194A (en) * 2019-05-21 2019-08-20 网易(杭州)网络有限公司 Method for sending information and device
CN110139143B (en) * 2019-05-23 2021-11-02 广州酷狗计算机科技有限公司 Virtual article display method, device, computer equipment and storage medium
CN110780954B (en) * 2019-09-03 2022-02-18 腾讯科技(深圳)有限公司 Virtual article sending method and device
CN111050222A (en) * 2019-12-05 2020-04-21 腾讯科技(深圳)有限公司 Virtual article issuing method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035086A (en) * 2007-04-20 2007-09-12 杭州华三通信技术有限公司 Data transfer method and device
CN101459616A (en) * 2009-01-04 2009-06-17 成都市华为赛门铁克科技有限公司 Method, customer terminal and access system for network access
CN103338393A (en) * 2013-06-13 2013-10-02 西安交通大学 Video code rate selecting method driven by user experience under HSPA system
CN104537077A (en) * 2014-12-30 2015-04-22 联想(北京)有限公司 Information processing method and electronic equipment
CN204465735U (en) * 2015-01-29 2015-07-08 中国人民解放军理工大学 A kind of based on buffering take than the wireless Adaptive Transmission system of UAV Video

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105809481B (en) * 2014-01-29 2021-06-18 腾讯科技(深圳)有限公司 Virtual article sending method, virtual article receiving method, virtual article sending device, virtual article receiving device and virtual article sending system
CN104853193B (en) * 2014-02-19 2019-06-07 腾讯科技(北京)有限公司 Video-frequency compression method, device and electronic equipment
CN104615335B (en) * 2015-02-13 2019-02-22 腾讯科技(北京)有限公司 A kind of information processing method, client
CN104618226B (en) * 2015-02-16 2016-08-24 腾讯科技(深圳)有限公司 A kind of information processing method, client and server
CN104966214B (en) * 2015-06-29 2019-11-26 百度在线网络技术(北京)有限公司 A kind of exchange method and device of electronic ticket
CN105610695B (en) * 2015-12-21 2021-01-12 阿里巴巴集团控股有限公司 Object allocation method and device
CN105554027B (en) * 2016-01-21 2020-12-01 腾讯科技(深圳)有限公司 Resource sharing method and device
CN105634926B (en) * 2016-01-21 2019-05-14 腾讯科技(深圳)有限公司 Resource sharing method, device and system
CN105516784A (en) * 2016-01-29 2016-04-20 广州酷狗计算机科技有限公司 Virtual good display method and device
CN106056369B (en) * 2016-06-02 2020-04-24 财付通支付科技有限公司 Information processing method and device
CN106097057B (en) * 2016-06-07 2020-09-25 腾讯科技(深圳)有限公司 Virtual article issuing method and device
CN106100983A (en) * 2016-08-30 2016-11-09 黄在鑫 A kind of mobile social networking system based on augmented reality Yu GPS location technology

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035086A (en) * 2007-04-20 2007-09-12 杭州华三通信技术有限公司 Data transfer method and device
CN101459616A (en) * 2009-01-04 2009-06-17 成都市华为赛门铁克科技有限公司 Method, customer terminal and access system for network access
CN103338393A (en) * 2013-06-13 2013-10-02 西安交通大学 Video code rate selecting method driven by user experience under HSPA system
CN104537077A (en) * 2014-12-30 2015-04-22 联想(北京)有限公司 Information processing method and electronic equipment
CN204465735U (en) * 2015-01-29 2015-07-08 中国人民解放军理工大学 A kind of based on buffering take than the wireless Adaptive Transmission system of UAV Video

Also Published As

Publication number Publication date
CN106789562A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106789562B (en) Virtual article sending method, virtual article receiving method, virtual article sending device, virtual article receiving device and virtual article sending system
CN106341695B (en) Live broadcast room interaction method, device and system
CN105809481B (en) Virtual article sending method, virtual article receiving method, virtual article sending device, virtual article receiving device and virtual article sending system
CN106101756B (en) Barrage display methods, barrage adding method, apparatus and system
CN104967902B (en) Video sharing method, apparatus and system
CN105337843B (en) Interactive system, method, client and background server
WO2017076143A1 (en) Method, apparatus, and system for switching video live stream to video-on-demand data
US10580092B2 (en) Resource transfer system and method
US10701451B2 (en) Program interaction system, method, client, and backend server
WO2017008627A1 (en) Multimedia live broadcast method, apparatus and system
CN104796743B (en) Content item display system, method and device
CN106375774B (en) Method, device and system for controlling display content of live broadcast room
CN111698145A (en) Method, apparatus and medium for receiving and transmitting virtual package including voice
CN108924464B (en) Video file generation method and device and storage medium
CN103166941A (en) Data sharing method and device
CN106254910B (en) Method and device for recording image
CN107332976B (en) Karaoke method, device, equipment and system
CN108540655A (en) A kind of caller identification processing method and mobile terminal
WO2017215661A1 (en) Scenario-based sound effect control method and electronic device
CN108900855B (en) Live content recording method and device, computer readable storage medium and server
CN110087149A (en) A kind of video image sharing method, device and mobile terminal
WO2018205786A1 (en) Method, apparatus and device for sharing screen-recording video
WO2016184295A1 (en) Instant messenger method, user equipment and system
CN105704106B (en) A kind of visualization IVR implementation method and mobile terminal
CN107154894B (en) Instant messaging information processing method, device, system and storage medium

Legal Events

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