Bullet screen based data processing method and device

文档序号:1937641 发布日期:2021-12-07 浏览:24次 中文

阅读说明:本技术 一种基于弹幕的数据处理方法和装置 (Bullet screen based data processing method and device ) 是由 柴薪 于 2020-07-28 设计创作,主要内容包括:本发明公开了一种基于弹幕的数据处理方法和装置,涉及计算机技术领域。该方法的一具体实施方式包括:从服务端获取弹幕,并在页面上显示所述弹幕;接收所述页面上的任意一个弹幕的点击事件,在所述页面上显示对话框,从而与所述对话框内的成员进行对话;实时将所述对话框内的对话记录上传至所述服务端。该实施方式能够解决购物流程缺少社交属性的技术问题。(The invention discloses a data processing method and device based on a bullet screen, and relates to the technical field of computers. One embodiment of the method comprises: acquiring a bullet screen from a server, and displaying the bullet screen on a page; receiving a click event of any bullet screen on the page, and displaying a dialog box on the page so as to have a dialog with members in the dialog box; and uploading the dialog record in the dialog box to the server in real time. The embodiment can solve the technical problem that the shopping process lacks social attributes.)

1. A data processing method based on a bullet screen is characterized by comprising the following steps:

acquiring a bullet screen from a server, and displaying the bullet screen on a page;

receiving a click event of any bullet screen on the page, and displaying a dialog box on the page so as to have a dialog with members in the dialog box;

and uploading the dialog record in the dialog box to the server in real time.

2. The method of claim 1, wherein obtaining the barrage from the server and displaying the barrage on a page comprises:

receiving a query request of a keyword, and acquiring page data and a barrage corresponding to the keyword from a server;

and displaying the page data and the barrage on the page.

3. The method of claim 1, wherein obtaining the barrage from the server and displaying the barrage on a page comprises:

receiving a browsing request of an article page, and acquiring a bullet screen corresponding to the article page from a server;

and displaying the bullet screen on the object page.

4. The method of claim 1, after displaying a dialog box on the page, further comprising:

displaying a popup window on the page, wherein the popup window comprises a member list which is used for displaying each member in the dialog box;

and forwarding the identifier of the dialog box and the page data of the page to a target user through a server so as to have a dialog with the target user in the dialog box.

5. The method of claim 4, wherein the popup further comprises a search box;

after the popup is displayed on the page, the method further comprises the following steps:

receiving a query request of search content input through the search box, and acquiring page data corresponding to the search content from the server; wherein the search content includes an item name or a store name;

displaying a drop-down list below the search box, and displaying the page data in the drop-down list;

and receiving a click event of any page data in the drop-down list, and displaying the any page data in the dialog box.

6. The method of claim 5, wherein presenting the page data in the drop down list comprises:

packaging the page data corresponding to the search content into a json object, and displaying the json object corresponding to the page data in the drop-down list;

receiving a click event of any page data in the drop-down list, and displaying the any page data in the dialog box, wherein the click event comprises the following steps:

and receiving a click event of a json object corresponding to any page data in the drop-down list, converting the json object corresponding to any page data into page data in an html format, and displaying the page data in the html format in the dialog box.

7. The method of claim 1, further comprising:

receiving a message sent by a target user through a server, wherein the message carries an identifier of a dialog box and page data;

and receiving a click event of the message, displaying the page data on a current page, displaying a dialog box on the current page, acquiring a dialog record corresponding to the dialog box from the server, and displaying the dialog record in the dialog box so as to carry out dialog with the target user.

8. A bullet screen based data processing apparatus, comprising:

the bullet screen module is used for acquiring a bullet screen from the server and displaying the bullet screen on a page;

the dialogue module is used for receiving a click event of any bullet screen on the page, and displaying a dialogue box on the page so as to carry out dialogue with members in the dialogue box;

and the uploading module is used for uploading the dialog record in the dialog box to the server in real time.

9. An electronic device, comprising:

one or more processors;

a storage device for storing one or more programs,

the one or more programs, when executed by the one or more processors, implement the method of any of claims 1-7.

10. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-7.

Technical Field

The invention relates to the technical field of computers, in particular to a bullet screen-based data processing method and device.

Background

With the rapid development of the e-commerce industry, the living habits of people are changed, the whole time is not needed to be spent for shopping, the shopping can be performed in scattered time, and the convenience is brought to the life of users to a great extent.

In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:

at present, each e-commerce platform can be guided to the e-commerce platform through social modes such as social application sharing and the like, but the social modes are not completely brought into a shopping process after entering the shopping process, so that a user does not feel immersed in a shopping mall in the shopping process.

Disclosure of Invention

In view of this, embodiments of the present invention provide a data processing method and apparatus based on a bullet screen, so as to solve the technical problem that a shopping process lacks social attributes.

In order to achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a bullet screen based data processing method, including:

acquiring a bullet screen from a server, and displaying the bullet screen on a page;

receiving a click event of any bullet screen on the page, and displaying a dialog box on the page so as to have a dialog with members in the dialog box;

and uploading the dialog record in the dialog box to the server in real time.

Optionally, acquiring a barrage from a server and displaying the barrage on a page includes:

receiving a query request of a keyword, and acquiring page data and a barrage corresponding to the keyword from a server;

and displaying the page data and the barrage on the page.

Optionally, acquiring a barrage from a server and displaying the barrage on a page includes:

receiving a browsing request of an article page, and acquiring a bullet screen corresponding to the article page from a server;

and displaying the bullet screen on the object page.

Optionally, after the dialog box is displayed on the page, the method further includes:

displaying a popup window on the page, wherein the popup window comprises a member list which is used for displaying each member in the dialog box;

and forwarding the identifier of the dialog box and the page data of the page to a target user through a server so as to have a dialog with the target user in the dialog box.

Optionally, the pop-up window further comprises a search box;

after the popup is displayed on the page, the method further comprises the following steps:

receiving a query request of search content input through the search box, and acquiring page data corresponding to the search content from the server; wherein the search content includes an item name or a store name;

displaying a drop-down list below the search box, and displaying the page data in the drop-down list;

and receiving a click event of any page data in the drop-down list, and displaying the any page data in the dialog box.

Optionally, displaying the page data in the drop-down list includes:

packaging the page data corresponding to the search content into a json object, and displaying the json object corresponding to the page data in the drop-down list;

receiving a click event of any page data in the drop-down list, and displaying the any page data in the dialog box, wherein the click event comprises the following steps:

and receiving a click event of a json object corresponding to any page data in the drop-down list, converting the json object corresponding to any page data into page data in an html format, and displaying the page data in the html format in the dialog box.

Optionally, the method further comprises:

receiving a message sent by a target user through a server, wherein the message carries an identifier of a dialog box and page data;

and receiving a click event of the message, displaying the page data on a current page, displaying a dialog box on the current page, acquiring a dialog record corresponding to the dialog box from the server, and displaying the dialog record in the dialog box so as to carry out dialog with the target user.

In addition, according to another aspect of the embodiments of the present invention, there is provided a bullet screen based data processing apparatus, including:

the bullet screen module is used for acquiring a bullet screen from the server and displaying the bullet screen on a page;

the dialogue module is used for receiving a click event of any bullet screen on the page, and displaying a dialogue box on the page so as to carry out dialogue with members in the dialogue box;

and the uploading module is used for uploading the dialog record in the dialog box to the server in real time.

Optionally, the barrage module is further configured to:

receiving a query request of a keyword, and acquiring page data and a barrage corresponding to the keyword from a server;

and displaying the page data and the barrage on the page.

Optionally, the barrage module is further configured to:

receiving a browsing request of an article page, and acquiring a bullet screen corresponding to the article page from a server;

and displaying the bullet screen on the object page.

Optionally, the dialog module is further configured to:

after a dialog box is displayed on the page, displaying a popup window on the page, wherein the popup window comprises a member list which is used for displaying each member in the dialog box;

and forwarding the identifier of the dialog box and the page data of the page to a target user through a server so as to have a dialog with the target user in the dialog box.

Optionally, the pop-up window further comprises a search box;

the dialog module is further to:

after a popup is displayed on the page, receiving a query request of search content input through the search box, and acquiring page data corresponding to the search content from the server; wherein the search content includes an item name or a store name;

displaying a drop-down list below the search box, and displaying the page data in the drop-down list;

and receiving a click event of any page data in the drop-down list, and displaying the any page data in the dialog box.

The dialog module is further to:

packaging the page data corresponding to the search content into a json object, and displaying the json object corresponding to the page data in the drop-down list;

and receiving a click event of a json object corresponding to any page data in the drop-down list, converting the json object corresponding to any page data into page data in an html format, and displaying the page data in the html format in the dialog box.

The dialog module is further to:

receiving a message sent by a target user through a server, wherein the message carries an identifier of a dialog box and page data;

and receiving a click event of the message, displaying the page data on a current page, displaying a dialog box on the current page, acquiring a dialog record corresponding to the dialog box from the server, and displaying the dialog record in the dialog box so as to carry out dialog with the target user.

According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including:

one or more processors;

a storage device for storing one or more programs,

when the one or more programs are executed by the one or more processors, the one or more processors implement the method of any of the embodiments described above.

According to another aspect of the embodiments of the present invention, there is also provided a computer readable medium, on which a computer program is stored, which when executed by a processor implements the method of any of the above embodiments.

One embodiment of the above invention has the following advantages or benefits: because the technical means that the barrage is displayed on the page, the click event of any barrage on the page is received, and the dialog box is displayed on the page, so that the dialog box can be interacted with the members in the dialog box is adopted, the technical problem that the shopping process in the prior art is lack of social attributes is solved. According to the embodiment of the invention, the social attribute is added in the shopping process through the bullet screen and the dialog box, so that the user can have shopping experience of shopping with friends in a shopping mall while shopping online. The embodiment of the invention can improve the overall shopping experience, so that social and e-commerce platforms are more closely combined, and the user is more immersed in the shopping experience.

Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.

Drawings

The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:

fig. 1 is a schematic diagram of a main flow of a bullet screen based data processing method according to an embodiment of the present invention;

FIG. 2 is a schematic diagram of a bullet screen displayed on a page according to one embodiment of the present invention;

FIG. 3 is a schematic diagram of a bullet screen displayed on a page according to another embodiment of the present invention;

FIG. 4 is a diagram illustrating a dialog box and a popup being displayed on a page according to an embodiment of the present invention;

fig. 5 is a schematic view of a main flow of a bullet screen based data processing method according to a referential embodiment of the present invention;

FIG. 6 is a diagram illustrating a dialog box and a popup being displayed on a page according to another embodiment of the present invention;

FIG. 7 is a schematic diagram of the main modules of a bullet screen based data processing apparatus according to an embodiment of the present invention;

FIG. 8 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;

fig. 9 is a schematic structural diagram of a computer system suitable for implementing a terminal device or a server according to an embodiment of the present invention.

Detailed Description

Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

Fig. 1 is a schematic diagram of a main flow of a bullet screen based data processing method according to an embodiment of the present invention. As an embodiment of the present invention, as shown in fig. 1, the bullet screen based data processing method may include:

step 101, acquiring a bullet screen from a server, and displaying the bullet screen on a page.

The bullet screen sending frame can be realized by using a front js frame (such as a Jquery frame), each user can input a bullet screen in the bullet screen sending frame, and the bullet screen content is uploaded to a message queue (such as Kafka) of the server after being submitted. Kafka is a high-throughput distributed publish-subscribe messaging system that can handle all the action flow data of a consumer in a web site. Jquery: and common function codes of JavaScript are packaged, a simple JavaScript design mode is provided, and HTML document operation, event processing, animation design and Ajax interaction are optimized.

When a user browses a page, the barrage can be acquired from the server in real time, and the barrage is displayed on the current page. Specifically, a WebSocket long connection mode is adopted by a web application of a page and a server, a bullet screen message is pulled from a message queue in real time, and therefore a js frame and a dom (Document Object Model) are used for rendering, and a bullet screen is displayed on the page in real time. Wherein the web application can be built by java. WebSocket is a new protocol of HTML5 and aims to establish an unlimited channel for two-way communication between a browser and a server, for example, the server can send messages to the browser at any time.

Optionally, acquiring a barrage from a server and displaying the barrage on a page includes: receiving a query request of a keyword, and acquiring page data and a barrage corresponding to the keyword from a server; and displaying the page data and the barrage on the page. As shown in fig. 2, a user inputs a keyword in a search box of a page, a terminal receives the keyword input by the user, and sends the keyword to a server, so as to obtain a search result (i.e., page data) and a bullet screen corresponding to the keyword from the server, and then display the page data and the corresponding bullet screen on the page.

Optionally, acquiring a barrage from a server and displaying the barrage on a page includes: receiving a browsing request of an article page, and acquiring a bullet screen corresponding to the article page from a server; and displaying the bullet screen on the object page. After the user clicks the article shown in fig. 2, the terminal obtains the page data of the article from the server, and displays the page data of the article on a page, as shown in fig. 3. Meanwhile, in the process that the user browses the article page, the terminal also obtains the bullet screen corresponding to the article page from the server side, and therefore the bullet screen is displayed on the article page.

It should be noted that, in another embodiment of the present invention, after the user clicks the article shown in fig. 2, the terminal obtains the page data and the barrage of the article from the server, and displays the page data and the barrage of the article on the page, as shown in fig. 3.

And 102, receiving a click event of any bullet screen on the page, and displaying a dialog box on the page so as to have a conversation with members in the dialog box.

When a user clicks any one of the barrages on the page, the terminal responds to the operation of clicking the barrage by the user, displays a dialog box on the page, and then carries out dialog with other members in the dialog box. It should be noted that if the dialog box is first established, the server assigns an ID to the dialog box, and all dialog records based on the dialog box are associated with the ID and stored in the server, so that the previous context can be seen as soon as the dialog box is entered.

If the dialog box is not created for the first time, after the dialog box is displayed on the page, all dialog records associated with the dialog box ID are pulled from the server-side web application and displayed within the dialog box so that the previous contextual context can be seen by the various members within the dialog box.

Alternatively, clicking may be implemented using a click event of the Jquery frame, thereby displaying a dialog box on the page, as shown in fig. 4. And then displaying all the dialog records corresponding to the dialog box acquired from the server side in the dialog box, and enabling the user to have a dialog with other members in the dialog box, as shown in fig. 4.

And 103, uploading the dialog record in the dialog box to the server in real time.

And the users entering the dialog box are all members in the dialog box, the dialog box can be in dialog with other members, the terminal uploads the dialog record in real time, and the server updates the dialog record corresponding to the dialog box ID in real time. Optionally, when a new conversation record exists in the dialog box, the server side sends a message prompt to other members in the dialog box, so that the other members can conduct conversation in time.

Optionally, after the dialog box is displayed on the page, the method further includes: displaying a popup window on the page, wherein the popup window comprises a member list which is used for displaying each member in the dialog box; and forwarding the identifier of the dialog box and the page data of the page to a target user through a server so as to have a dialog with the target user in the dialog box. As shown in fig. 4, while a dialog box is displayed on a page, a popup is also displayed on the page, where the popup includes a list of members, i.e., individual members within the dialog box. When the user selects to forward the dialog record and the page data to a certain friend (namely a target user), the terminal sends an instruction for forwarding the dialog box identifier and the page data to the target user to the server. And the server side sends the dialog box identification and the page data to the target user, after the target user receives the dialog box identification and the page data, the page data is displayed on the current page of the target user, the dialog box is displayed on the page, and then all dialog records corresponding to the dialog box identification are obtained from the server side and displayed in the dialog box. Therefore, the target user becomes a member in the dialog box, and can have a dialog with the user.

Optionally, the method further comprises: receiving a message sent by a target user through a server, wherein the message carries an identifier of a dialog box and page data; and responding to the operation of clicking the message by the user, displaying the page data on the current page, and displaying a dialog box on the current page so as to have a dialog with the target user in the dialog box. The user may not only forward the identifier and the page data of the dialog box to the target user (such as a friend), but also receive the identifier and the page data of the dialog box forwarded by the target user. As shown in fig. 3, a message may be displayed at the lower left corner, and when the user clicks the message, page data is displayed on the current page, a dialog box is displayed on the current page, and then all dialog records corresponding to the dialog box identifier are obtained from the server and displayed in the dialog box. Therefore, the user becomes a member in the dialog box, and can have a dialog with the target user.

According to the various embodiments, it can be seen that the technical means of displaying the bullet screens on the page, receiving the click event of any one of the bullet screens on the page, and displaying the dialog box on the page so as to have a conversation with the members in the dialog box in the embodiments of the present invention solves the technical problem that the shopping process in the prior art lacks social attributes. According to the embodiment of the invention, the social attribute is added in the shopping process through the bullet screen and the dialog box, so that the user can have shopping experience of shopping with friends in a shopping mall while shopping online. The embodiment of the invention can improve the overall shopping experience, so that social and e-commerce platforms are more closely combined, and the user is more immersed in the shopping experience.

Fig. 5 is a schematic diagram of a main flow of a bullet screen based data processing method according to a referential embodiment of the present invention. As another embodiment of the present invention, as shown in fig. 5, the bullet screen based data processing method may include:

step 501, obtaining a bullet screen from a server, and displaying the bullet screen on a page.

Each user can input the bullet screen in the bullet screen sending frame, and the bullet screen content is uploaded to the message queue of the server after being submitted. When a user browses a page, the barrage can be acquired from the server in real time, and the barrage is displayed on the current page.

As shown in fig. 2, a user inputs a keyword into a search box of a page, a terminal receives a query request of the keyword, and sends the keyword to a server, so as to obtain a search result (i.e., page data) and a bullet screen corresponding to the keyword from the server, and then display the page data and the corresponding bullet screen on the page.

After the user clicks the article shown in fig. 2, the terminal obtains the page data of the article from the server, and displays the page data of the article on a page, as shown in fig. 3. Meanwhile, in the process that the user browses the article page, the terminal also obtains the bullet screen corresponding to the article page from the server side, and therefore the bullet screen is displayed on the article page.

Step 502, receiving a click event of any bullet screen on the page, displaying a dialog box on the page, so as to have a dialog with a member in the dialog box, and uploading a dialog record in the dialog box to the server in real time.

When a user clicks any one of the barrages on the page, the terminal responds to the operation of clicking the barrage by the user, displays a dialog box on the page, and then carries out dialog with other members in the dialog box. It should be noted that if the dialog box is first established, the server assigns an ID to the dialog box, and all dialog records based on the dialog box are associated with the ID and stored in the server, so that the previous context can be seen as soon as the dialog box is entered.

If the dialog box is not created for the first time, after the dialog box is displayed on the page, all dialog records associated with the dialog box ID are pulled from the server-side web application and displayed within the dialog box so that the previous contextual context can be seen by the various members within the dialog box.

And the users entering the dialog box are all members in the dialog box, the dialog box can be in dialog with other members, the terminal uploads the dialog record in real time, and the server updates the dialog record corresponding to the dialog box ID in real time.

Step 503, displaying a popup on the page.

As shown in fig. 6, while a dialog box is displayed on a page, a popup is also displayed on the page, where the popup includes a member list and a search box, and the member list is used to show each member in the dialog box.

Optionally, after step 503, the identifier of the dialog box and the page data of the page may be forwarded to the target user through the server, so as to perform a dialog with the target user in the dialog box. When the user selects to forward the dialog record and the page data to a certain friend (namely a target user), the terminal sends an instruction for forwarding the dialog box identifier and the page data to the target user to the server. And the server side sends the dialog box identification and the page data to the target user, after the target user receives the dialog box identification and the page data, the page data is displayed on the current page of the target user, the dialog box is displayed on the page, and then all dialog records corresponding to the dialog box identification are obtained from the server side and displayed in the dialog box. Therefore, the target user becomes a member in the dialog box, and can have a dialog with the user.

Step 504, receiving a query request of the search content input through the search box, and acquiring the page data corresponding to the search content from the server. Wherein the search content includes an item name or a store name.

A js frame may be used to implement a search box and search buttons, and a user may enter search content, such as the name of an item or the name of a store, in an input box. And after receiving the search content input by the user in the search box, the terminal asynchronously calls an article background or an http interface of the search background to acquire page data corresponding to the search content, such as article information or shop information.

And 505, displaying a drop-down list below the search box, and displaying the page data in the drop-down list.

As shown in fig. 6, after page data is obtained from a server, a pull-down list is displayed below the search box, and each obtained page data is displayed in the pull-down list. Optionally, displaying the page data in the drop-down list includes: and encapsulating the page data corresponding to the search content into a json object, and displaying the json object corresponding to the page data in the drop-down list. In the embodiment of the invention, the terminal respectively encapsulates the acquired page data into json objects, and displays the json objects corresponding to the page data in a pull-down list mode.

Step 506, receiving a click event of any page data in the pull-down list, and displaying the any page data in the dialog box.

Optionally, step 507 may include: and receiving a click event of a json object corresponding to any page data in the drop-down list, converting the json object corresponding to any page data into page data in an html format, and displaying the page data in the html format in the dialog box. And after the user selects the json object corresponding to any page data in the drop-down list, the terminal converts the json object into page data in an html format by using a js frame and a dom rendering mode, and displays the page data in the html format in a dialog box. After the members of the dialog box click page data in the html format in the dialog box, the item page or the shop page can be displayed on the current page. Therefore, each member in the dialog box can send the article information and the store information to other members in the dialog box, the functions of helping to consult articles and stores and recommending articles and stores are realized, and the effect of shopping with friends is achieved.

Therefore, the embodiment of the invention can bring the social attribute into the shopping process and bring more immersive shopping experience to the user, thereby increasing the activity of the shopping website and the viscosity of the user.

In addition, in a referential embodiment of the present invention, the detailed implementation of the bullet screen based data processing method has been described in detail in the above bullet screen based data processing method, so that the repeated content will not be described again.

Fig. 7 is a schematic diagram of main modules of a bullet screen based data processing apparatus according to an embodiment of the present invention, and as shown in fig. 7, the bullet screen based data processing apparatus 700 includes a bullet screen module 701, a dialogue module 702, and an upload module 703; the barrage module 701 is configured to obtain a barrage from a server and display the barrage on a page; the dialog module 702 is configured to receive a click event of any bullet screen on the page, and display a dialog box on the page, so as to perform a dialog with a member in the dialog box; the uploading module 703 is configured to upload the dialog record in the dialog box to the server in real time.

Optionally, the bullet screen module 701 is further configured to:

receiving a query request of a keyword, and acquiring page data and a barrage corresponding to the keyword from a server;

and displaying the page data and the barrage on the page.

Optionally, the bullet screen module 701 is further configured to:

receiving a browsing request of an article page, and acquiring a bullet screen corresponding to the article page from a server;

and displaying the bullet screen on the object page.

Optionally, the dialog module 702 is further configured to:

after a dialog box is displayed on the page, displaying a popup window on the page, wherein the popup window comprises a member list which is used for displaying each member in the dialog box;

and forwarding the identifier of the dialog box and the page data of the page to a target user through a server so as to have a dialog with the target user in the dialog box.

Optionally, the pop-up window further comprises a search box;

the dialog module 702 is further configured to:

after a popup is displayed on the page, receiving a query request of search content input through the search box, and acquiring page data corresponding to the search content from the server; wherein the search content includes an item name or a store name;

displaying a drop-down list below the search box, and displaying the page data in the drop-down list;

and receiving a click event of any page data in the drop-down list, and displaying the any page data in the dialog box.

The dialog module 702 is further configured to:

packaging the page data corresponding to the search content into a json object, and displaying the json object corresponding to the page data in the drop-down list;

and receiving a click event of a json object corresponding to any page data in the drop-down list, converting the json object corresponding to any page data into page data in an html format, and displaying the page data in the html format in the dialog box.

The dialog module 702 is further configured to:

receiving a message sent by a target user through a server, wherein the message carries an identifier of a dialog box and page data;

clicking the click event of the message, displaying the page data on the current page, displaying a dialog box on the current page, acquiring a dialog record corresponding to the dialog box from the server, and displaying the dialog record in the dialog box, thereby carrying out dialog with the target user.

According to the various embodiments, it can be seen that the technical means that the dialog box is displayed on the page through the bullet screen displayed on the page and the click event of any one bullet screen on the page, so as to have a dialog with the members in the dialog box in the embodiments of the present invention solves the technical problem that the shopping process in the prior art lacks social attributes. According to the embodiment of the invention, the social attribute is added in the shopping process through the bullet screen and the dialog box, so that the user can have shopping experience of shopping with friends in a shopping mall while shopping online. The embodiment of the invention can improve the overall shopping experience, so that social and e-commerce platforms are more closely combined, and the user is more immersed in the shopping experience.

It should be noted that, in the implementation of the bullet screen based data processing device of the present invention, the details have been described in detail in the above bullet screen based data processing method, and therefore, the repeated description is not repeated here.

Fig. 8 illustrates an exemplary system architecture 800 of a bullet screen based data processing method or bullet screen based data processing apparatus to which embodiments of the present invention may be applied.

As shown in fig. 8, the system architecture 800 may include terminal devices 801, 802, 803, a network 804, and a server 805. The network 804 serves to provide a medium for communication links between the terminal devices 801, 802, 803 and the server 805. Network 804 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.

A user may use the terminal devices 801, 802, 803 to interact with a server 805 over a network 804 to receive or send messages or the like. The terminal devices 801, 802, 803 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).

The terminal devices 801, 802, 803 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.

The server 805 may be a server that provides various services, such as a back-office management server (for example only) that supports shopping-like websites browsed by users using the terminal devices 801, 802, 803. The background management server may analyze and otherwise process the received data such as the item information query request, and feed back a processing result (for example, target push information, item information — just an example) to the terminal device.

It should be noted that the bullet screen based data processing method provided by the embodiment of the present invention is executed by the terminal devices 801, 802, and 803, and accordingly, the bullet screen based data processing apparatus is disposed in the terminal devices 801, 802, and 803.

It should be understood that the number of terminal devices, networks, and servers in fig. 8 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.

Referring now to FIG. 9, shown is a block diagram of a computer system 900 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 9 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.

As shown in fig. 9, the computer system 900 includes a Central Processing Unit (CPU)901 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)902 or a program loaded from a storage section 908 into a Random Access Memory (RAM) 903. In the RAM903, various programs and data necessary for the operation of the system 900 are also stored. The CPU 901, ROM 902, and RAM903 are connected to each other via a bus 904. An input/output (I/O) interface 905 is also connected to bus 904.

The following components are connected to the I/O interface 905: an input portion 906 including a keyboard, a mouse, and the like; an output section 907 including components such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 908 including a hard disk and the like; and a communication section 909 including a network interface card such as a LAN card, a modem, or the like. The communication section 909 performs communication processing via a network such as the internet. The drive 910 is also connected to the I/O interface 905 as necessary. A removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 910 as necessary, so that a computer program read out therefrom is mounted into the storage section 908 as necessary.

In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 909, and/or installed from the removable medium 911. The above-described functions defined in the system of the present invention are executed when the computer program is executed by a Central Processing Unit (CPU) 901.

It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.

The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer programs according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a barrage module, a dialog module, and an upload module, where the names of these modules do not in some cases constitute a limitation on the module itself.

As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, implement the method of: acquiring a bullet screen from a server, and displaying the bullet screen on a page; receiving a click event of any bullet screen on the page, and displaying a dialog box on the page so as to have a dialog with members in the dialog box; and uploading the dialog record in the dialog box to the server in real time.

According to the technical scheme of the embodiment of the invention, because the technical means that the barrage is displayed on the page, the click event of any barrage on the page is received, and the dialog box is displayed on the page, so as to carry out dialog with the members in the dialog box is adopted, the technical problem that the shopping process in the prior art is lack of social attributes is solved. According to the embodiment of the invention, the social attribute is added in the shopping process through the bullet screen and the dialog box, so that the user can have shopping experience of shopping with friends in a shopping mall while shopping online. The embodiment of the invention can improve the overall shopping experience, so that social and e-commerce platforms are more closely combined, and the user is more immersed in the shopping experience.

The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种网页风险发现的方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!