CN112422415B - Information interaction method, device and computer readable storage medium - Google Patents

Information interaction method, device and computer readable storage medium Download PDF

Info

Publication number
CN112422415B
CN112422415B CN202011308388.3A CN202011308388A CN112422415B CN 112422415 B CN112422415 B CN 112422415B CN 202011308388 A CN202011308388 A CN 202011308388A CN 112422415 B CN112422415 B CN 112422415B
Authority
CN
China
Prior art keywords
resource
client terminal
local area
area network
target
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
CN202011308388.3A
Other languages
Chinese (zh)
Other versions
CN112422415A (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 Music Entertainment Technology Shenzhen Co Ltd
Original Assignee
Tencent Music Entertainment 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 Music Entertainment Technology Shenzhen Co Ltd filed Critical Tencent Music Entertainment Technology Shenzhen Co Ltd
Priority to CN202011308388.3A priority Critical patent/CN112422415B/en
Publication of CN112422415A publication Critical patent/CN112422415A/en
Application granted granted Critical
Publication of CN112422415B publication Critical patent/CN112422415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Abstract

The application discloses an information interaction method, information interaction equipment and a computer readable storage medium, and belongs to the technical field of multimedia. The method comprises the following steps: receiving an information interaction request sent by a first client terminal, wherein the information interaction request carries a room identifier of a target room, the first client terminal logs in a first account, and the first account is an account added into the target room; transmitting local area network broadcast to a second client terminal under the same local area network with the first client terminal, wherein the local area network broadcast carries room identification of a target room, the number of the second client terminals is at least one, and the second client terminal logs in a second account; in response to receiving the confirmation message from the second client terminal, a confirmation message is sent to the first client terminal, the confirmation message being used to join the second account, in which the second client terminal is logged, into the target room. The method can realize that local area network broadcast is sent to at least one second client terminal at one time, and improves the efficiency of information interaction.

Description

Information interaction method, device and computer readable storage medium
Technical Field
The embodiment of the application relates to the technical field of multimedia, in particular to an information interaction method, information interaction equipment and a computer readable storage medium.
Background
With the continuous development of multimedia technology, in order to make the life of people more colorful, more and more application programs provide the function of online karaoke, so that people can experience the pleasure of karaoke without going out.
In the related art, a user a downloads and installs an application program providing a K song function, creates a target room in the application program, manually sends an invitation message to a user B through a social application, wherein the invitation message carries a room identifier of the target room, and when the user B receives the invitation message and confirms to join the target room, the user B joins the target room created by the user a and performs K songs together.
However, the method of information interaction described above is to manually send the invitation message after the user a creates the song room, so that the sending efficiency of the invitation message is low, resulting in low efficiency of information interaction.
Disclosure of Invention
The embodiment of the application provides an information interaction method, information interaction equipment and a computer readable storage medium, which can be used for solving the problems in the related art. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides an information interaction method, where the method is applied to a local area network server, and the method includes:
Receiving an information interaction request sent by a first client terminal, wherein the information interaction request carries a room identifier of a target room, the first client terminal logs in a first account, and the first account is an account added into the target room;
transmitting a local area network broadcast to a second client terminal under the same local area network with the first client terminal, wherein the local area network broadcast carries room identifiers of the target rooms, the number of the second client terminals is at least one, and the second client terminal logs in a second account;
and in response to receiving the confirmation message of the second client terminal, sending the confirmation message to the first client terminal, wherein the confirmation message carries an account identifier of a second account logged in by the second client terminal, and the confirmation message is used for adding the second account logged in by the second client terminal into the target room.
In one possible implementation, after the sending the acknowledgement message to the first client terminal in response to receiving the acknowledgement message of the second client terminal, the method further includes: and in response to receiving the target page of the target room sent by the first client terminal, sending the target page of the target room to the second client terminal, and displaying the target page of the target room by the second client terminal, wherein the target page of the target room comprises the account identifier of the first account and the account identifier of the second account.
In one possible implementation, the sending a local area network broadcast to a second client terminal that is under the same local area network as the first client terminal includes: and transmitting local area network broadcast to a second client terminal under the same local area network with the first client terminal through a user datagram protocol UDP.
In one possible implementation, after the sending the acknowledgement message to the first client terminal in response to receiving the acknowledgement message of the second client terminal, the method further includes: acquiring a first resource list in response to receiving a first resource acquisition request sent by the first client terminal, wherein the first resource list comprises second resources downloaded by the second client terminal; the first list of resources is sent to the first client terminal, which is displayed by the first client terminal.
In one possible implementation, after the sending the first resource list to the first client terminal, the method further includes: responding to a resource information acquisition request of a first target resource sent by the first client terminal, and acquiring resource information corresponding to the first target resource; and sending the resource information corresponding to the first target resource to the first client terminal, wherein the first client terminal displays the resource information corresponding to the first target resource, and the resource information comprises at least one of original singing, accompaniment and lyrics of the first target resource.
In one possible implementation, after the sending the acknowledgement message to the first client terminal in response to receiving the acknowledgement message of the second client terminal, the method further includes: acquiring a second resource list in response to receiving a second resource acquisition request sent by the second client terminal, wherein the second resource list comprises first resources downloaded by the first client terminal; and sending the second resource list to the second client terminal, and displaying the second resource list by the second client terminal.
In one possible implementation manner, after the sending the second resource list to the second client terminal, the method further includes: responding to a resource information acquisition request of a second target resource sent by the second client terminal, and acquiring resource information corresponding to the second target resource; and sending the resource information corresponding to the second target resource to the second client terminal, and displaying the resource information corresponding to the second target resource by the second client terminal, wherein the resource information comprises at least one of original singing, accompaniment and lyrics of the second target resource.
In a second aspect, an embodiment of the present application provides an information interaction method, where the method is applied to a first client terminal, and the first client terminal logs in to a first account, and the method includes:
in response to receiving a request for creating the first account, creating a target room in which the first account exists;
acquiring a room identifier of the target room;
sending an information interaction request to a local area network server, wherein the information interaction request carries a room identifier of the target room;
receiving a confirmation message sent by the local area network server, wherein the confirmation message carries an account identifier of a second account logged in by a second client terminal, and the second client terminal and the first client terminal are positioned in the same local area network;
and adding a second account logged in by the second client terminal into the target room.
In one possible implementation, after adding the second account logged in by the second client terminal to the target room, the method further includes: and sending a target page of the target room to the local area network server, wherein the target page displays the account identifier of the first account and the account identifier of the second account.
In one possible implementation manner, after the sending the information interaction request to the local area network server, the method further includes: responding to the song requesting request of the first account, and sending a first resource obtaining request to the local area network server, wherein the first resource obtaining request is used for obtaining a first resource list, and the first resource list comprises second resources downloaded by the second client terminal; receiving a first resource list returned by the local area network server based on the first resource acquisition request; and displaying the first resource list.
In one possible implementation manner, after the displaying the first resource list, the method further includes: responding to a received selection instruction of a first target resource in the first resource list, and sending a resource information acquisition request of the first target resource to the local area network server; receiving resource information corresponding to the first target resource returned by the local area network server, wherein the resource information comprises at least one of original singing, accompaniment and lyrics of the first target resource; and displaying the resource information corresponding to the first target resource.
In a third aspect, an embodiment of the present application provides an information interaction method, where the method is applied to a second client terminal, and the second client terminal logs in a second account, and the method includes:
Receiving a local area network broadcast sent by a local area network server, wherein the local area network broadcast carries a room identifier of a target room, the target room is created by a first account logged in by a first client terminal, and the first client terminal and the second client terminal are positioned in the same local area network;
and responding to a confirmation instruction broadcast by the second account to the local area network, sending a confirmation message to the local area network server, and sending the confirmation message to the first client terminal by the local area network server, wherein the confirmation message carries an account identifier of the second account registered by the second client terminal, and the confirmation message is used for adding the second account registered by the second client terminal into a target room.
In one possible implementation manner, after the sending, by the second account, a confirmation message to the local area network server in response to a confirmation instruction broadcast by the second account to the local area network, the method further includes: receiving a target page of the target room sent by the local area network server, wherein the target page displays an account identifier of a first account and an account identifier of a second account; and displaying a target page of the target room.
In one possible implementation manner, after the sending, by the second account, a confirmation message to the local area network server in response to a confirmation instruction broadcast by the second account to the local area network, the method further includes: responding to the song requesting request of the second account, and sending a second resource obtaining request to the local area network server, wherein the second resource obtaining request is used for obtaining a second resource list, and the second resource list comprises first resources downloaded by the first client terminal; receiving a second resource list returned by the local area network server based on the second resource acquisition request; and displaying the second resource list.
In one possible implementation manner, after the displaying the second resource list, the method further includes: responding to a received selection instruction of a second target resource in the second resource list, and sending a resource information acquisition request of the second target resource to the local area network server; receiving resource information corresponding to the second target resource returned by the local area network server, wherein the resource information comprises at least one of original singing, accompaniment and lyrics of the second target resource; and displaying the resource information corresponding to the second target resource.
In a fourth aspect, an embodiment of the present application provides an information interaction device, where the device includes:
the system comprises a receiving module, a first client terminal and a second client terminal, wherein the receiving module is used for receiving an information interaction request sent by the first client terminal, the information interaction request carries a room identifier of a target room, the first client terminal logs in a first account, and the first account is an account added into the target room;
a sending module, configured to send a local area network broadcast to a second client terminal under the same local area network as the first client terminal, where the local area network broadcast carries a room identifier of the target room, the number of the second client terminals is at least one, and the second client terminal logs in with a second account;
the sending module is further configured to send, in response to receiving a confirmation message of the second client terminal, the confirmation message to the first client terminal, where the confirmation message carries an account identifier of a second account logged in by the second client terminal, and the confirmation message is used to join the second account logged in by the second client terminal into the target room.
In one possible implementation manner, the sending module is further configured to send, in response to receiving the target page of the target room sent by the first client terminal, the target page of the target room to the second client terminal, where the target page of the target room is displayed by the second client terminal, and the target page of the target room includes an account identifier of the first account and an account identifier of the second account.
In a possible implementation manner, the sending module is configured to send, through a user datagram protocol UDP, a local area network broadcast to a second client terminal that is under the same local area network as the first client terminal.
In one possible implementation, the apparatus further includes: the acquisition module is used for responding to a first resource acquisition request sent by the first client terminal and acquiring a first resource list, wherein the first resource list comprises second resources downloaded by the second client terminal; the sending module is further configured to send the first resource list to the first client terminal, and the first client terminal displays the first resource list.
In a possible implementation manner, the obtaining module is further configured to obtain resource information corresponding to a first target resource in response to receiving a resource information obtaining request of the first target resource sent by the first client terminal;
the sending module is further configured to send resource information corresponding to the first target resource to the first client terminal, where the first client terminal displays the resource information corresponding to the first target resource, and the resource information includes at least one of original singing, accompaniment and lyrics of the first target resource.
In a possible implementation manner, the obtaining module is further configured to obtain a second resource list in response to receiving a second resource obtaining request sent by the second client terminal, where the second resource list includes first resources that have been downloaded by the first client terminal; the sending module is further configured to send the second resource list to the second client terminal, where the second client terminal displays the second resource list.
In a possible implementation manner, the obtaining module is further configured to obtain resource information corresponding to a second target resource in response to receiving a resource information obtaining request of the second target resource sent by the second client terminal; the sending module is further configured to send resource information corresponding to the second target resource to the second client terminal, where the second client terminal displays the resource information corresponding to the second target resource, and the resource information includes at least one of original singing, accompaniment and lyrics of the second target resource.
In a fifth aspect, an embodiment of the present application provides an information interaction device, where the device includes:
the creation module is used for responding to the received creation request of the first account, creating a target room, wherein the first account exists in the target room;
The acquisition module is used for acquiring the room identification of the target room;
the sending module is used for sending an information interaction request to the local area network server, wherein the information interaction request carries a room identifier of the target room;
the receiving module is used for receiving a confirmation message sent by the local area network server, wherein the confirmation message carries an account identifier of a second account logged in by a second client terminal, and the second client terminal and the first client terminal are positioned in the same local area network;
and the adding module is used for adding the second account logged in by the second client terminal into the target room.
In one possible implementation manner, the sending module is further configured to send a target page of the target room to the local area network server, where the target page displays the account identifier of the first account and the account identifier of the second account.
In a possible implementation manner, the sending module is further configured to send, in response to receiving a song requesting request of the first account, a first resource obtaining request to the local area network server, where the first resource obtaining request is used to obtain a first resource list, and the first resource list includes second resources that have been downloaded by the second client terminal; the receiving module is further configured to receive a first resource list returned by the local area network server based on the first resource acquisition request; the apparatus further comprises: and the display module is used for displaying the first resource list.
In one possible implementation manner, the sending module is further configured to send, to the local area network server, a resource information acquisition request of a first target resource in the first resource list in response to receiving a selection instruction of the first target resource;
the receiving module is further configured to receive resource information corresponding to the first target resource returned by the local area network server, where the resource information includes at least one of original singing, accompaniment and lyrics of the first target resource;
the display module is further configured to display resource information corresponding to the first target resource.
In a sixth aspect, an embodiment of the present application provides an information interaction device, where the device includes:
the receiving module is used for receiving local area network broadcast sent by the local area network server, wherein the local area network broadcast carries a room identifier of a target room, the target room is created by a first account logged in by a first client terminal, and the first client terminal and the second client terminal are positioned in the same local area network;
and the sending module is used for responding to the confirmation instruction broadcast by the second account to the local area network, sending a confirmation message to the local area network server, and sending the confirmation message to the first client terminal by the local area network server, wherein the confirmation message carries the account identifier of the second account which is logged in by the second client terminal, and the confirmation message is used for adding the second account which is logged in by the second client terminal into the target room.
In a possible implementation manner, the receiving module is further configured to receive a target page of the target room sent by the local area network server, where the target page displays an account identifier of a first account and an account identifier of the second account;
the apparatus further comprises: and the display module is used for displaying the target page of the target room.
In a possible implementation manner, the sending module is further configured to send, in response to receiving a song requesting request of a second account, a second resource obtaining request to a local area network server, where the second resource obtaining request is used to obtain a second resource list, and the second resource list includes a first resource that has been downloaded by the first client terminal;
the receiving module is further configured to receive a second resource list returned by the local area network server based on the second resource acquisition request;
the display module is further configured to display the second resource list.
In one possible implementation manner, the sending module is further configured to send, to the local area network server, a resource information acquisition request of a second target resource in the second resource list in response to receiving a selection instruction of the second target resource;
The receiving module is further configured to receive resource information corresponding to a second target resource returned by the local area network server, where the resource information includes at least one of original singing, accompaniment and lyrics of the second target resource;
the display module is further configured to display resource information corresponding to the second target resource.
In a seventh aspect, an embodiment of the present application provides a local area network server, where the local area network server includes a processor and a memory, where at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor, so as to implement the information interaction method described in any one of the foregoing first aspect and the first aspect.
In an eighth aspect, an embodiment of the present application provides an information interaction device, where the information interaction device includes a processor and a memory, where at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor, so as to implement the information interaction method described in any one of the implementation manners of the second aspect and the second aspect, or implement the information interaction method described in any one of the implementation manners of the third aspect and the third aspect.
In a ninth aspect, there is further provided a computer readable storage medium having at least one program code stored therein, the at least one program code being loaded and executed by a processor to implement any of the above-described information interaction methods.
The technical scheme provided by the embodiment of the application at least brings the following beneficial effects:
according to the technical scheme, the second accounts logged in the at least one second client terminal are invited to join the target room in a mode of sending local area network broadcast to the at least one second client terminal which is in a local area network with the first client terminal, so that the invitation messages can be sent to the plurality of second accounts at one time without manually sending the invitation messages one by one, the sending of the invitation messages is more convenient, the speed of sending the invitation messages is improved, and the efficiency of information interaction is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an implementation environment of an information interaction method according to an embodiment of the present application;
fig. 2 is a flowchart of an information interaction method provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of a creation process of a target room provided in an embodiment of the present application;
fig. 4 is a schematic diagram of a target page of a target room according to an embodiment of the present application;
FIG. 5 is a schematic illustration of displaying a first resource list according to an embodiment of the present application;
fig. 6 is a schematic display diagram of resource information corresponding to a first target resource according to an embodiment of the present application;
fig. 7 is a flowchart of an information interaction method provided in an embodiment of the present application;
FIG. 8 is a flowchart of an information interaction method according to an embodiment of the present application;
FIG. 9 is a flowchart of an information interaction method according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an information interaction device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an information interaction device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an information interaction device according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a lan server according to an embodiment of the present application;
Fig. 14 is a schematic structural diagram of a client terminal according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an implementation environment of an information interaction method according to an embodiment of the present application, where, as shown in fig. 1, the implementation environment includes: a first client terminal 101, a local area network server 102 and a second client terminal 103.
The first client terminal 101 and the second client terminal 103 include an electronic terminal and an application program, the electronic terminals of the first client terminal 101 and the second client terminal 103 may be different electronic terminals, and the application programs of the first client terminal 101 and the second client terminal 103 are the same application program. The electronic terminal is at least one of a smart phone, a game console, a desktop computer, a tablet computer, an electronic book reader, an MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio plane 4) player, and a laptop portable computer. The first client terminal 101 creates a target room, and sends an information interaction request to the local area network server 102, where the information interaction request carries a room identifier of the target room. The second client terminal 103 is configured to receive the lan broadcast sent by the lan server 102, send a confirmation message to the lan server 102, and send the confirmation message to the first client terminal 101 by the lan server 102, so that the first client terminal 101 joins the second account registered in the second client terminal 103 to the target room.
The lan server 102 is a server, or a server cluster formed by a plurality of servers, or at least one of a cloud computing platform and a virtualization center, which is not limited in this embodiment of the present application. The lan server 102 is connected to the first client terminal 101 and the second client terminal 103 via a wired or wireless network. The lan server 102 is configured to receive an information exchange request sent by the first client terminal 101, and send a lan broadcast to a second client terminal 103 that is under the same lan as the first client terminal 101 based on the information exchange request. In response to receiving the acknowledgement message of the second client terminal 103, the local area network server 102 is further configured to send an acknowledgement message to the first client terminal 101.
The first client terminal 101 and the second client terminal 103 may each refer broadly to one of a plurality of client terminals, and the present embodiment is illustrated with only the first client terminal 101 and the second client terminal 103. Those skilled in the art will appreciate that the number of the first client terminal 101 and the second client terminal 103 may be greater or lesser. For example, the first client terminal 101 and the second client terminal 103 are only one, or the first client terminal 101 and the second client terminal 103 are tens or hundreds, or more, respectively, the number and the device type of the first client terminal and the second client terminal are not limited in the embodiment of the present application.
Based on the above implementation environment, the embodiment of the present application provides an information interaction method, taking a flowchart of the information interaction method provided in the embodiment of the present application as shown in fig. 2 as an example, the method may be illustrated by the interaction between the first client terminal 101, the local area network server 102 and the second client terminal 103 in fig. 1. As shown in fig. 2, the method comprises the steps of:
in step 201, in response to receiving a request to create a first account, a first client terminal creates a target room.
In an exemplary embodiment of the present application, the first client terminal includes an electronic terminal and an application program, where the electronic terminal is any type of electronic device, the application program is an application program for singing, the application program supports creating a song room, the application program has a first account logged in, and the application program is any type of application program, and the embodiment of the present application is not limited to this.
In one possible implementation, in response to the first account triggering an instruction in the application to create a song room, the first client terminal receives a request to create the first account, the first client terminal creates the song room, that is, the first client terminal creates the target room. The instruction for triggering and creating the song rooms is that the first account clicks a button for creating the song rooms, or triggers and creates the button for the first account in a voice control mode, which is not limited in the embodiment of the present application.
In one possible implementation, after the first client terminal creates the target room, the first client terminal may also display an initial page of the target room, in which an account identification of the first account is displayed. Fig. 3 is a schematic diagram of a process for creating a target room according to an embodiment of the present application, in which a first account clicks a song-room creation button in the application in the left diagram of fig. 3, and in the right diagram of fig. 3, a first client terminal creates the target room in response to a request for creating a song-room by the first account, and displays an initial page of the target room, where an account identifier of the first account is displayed.
In one possible implementation, an invite button is also displayed on the initial page of the target room, the invite button being used to manually invite the first account to join the second account in the target room. The first client terminal displays a second account matching the first account in response to the first account triggering the operation of the invite button, and sends an invite message to the clicked second account in response to the first account clicking on a certain second account to invite the second account to join the target room.
In step 202, a first client terminal obtains a room identification of a target room.
In one possible implementation, after the first client terminal creates the target room, the first client terminal obtains a room identifier of the target room, where the room identifier of the target room is account information of a first account for creating the target room, or is other identifier that can uniquely identify the target room, which is not limited in this embodiment of the present application.
Illustratively, the room identification of the target room is account information of the first account. The account name of the first account creating the target room is: account a, i.e., the room identity of the target room is: account a.
In step 203, the first client terminal sends an information interaction request to the lan server, where the information interaction request carries a room identifier of the target room.
In one possible implementation, after the first client terminal creates the target room and obtains the room identifier of the target room, the first client terminal directly sends the information interaction request to the local area network server, without the first account manually sending the information interaction request. The information interaction request carries the room identification of the target room.
In step 204, the lan server receives the information interaction request, and sends a lan broadcast to a second client terminal that is in the same lan as the first client terminal, where the lan broadcast carries a room identifier of the target room.
In one possible implementation manner, the lan server receives the information interaction request sent by the first client terminal, parses the information interaction request to obtain a room identifier of a target room included in the information interaction request, generates a lan broadcast, where the lan broadcast carries the room identifier of the target room, and sends the lan broadcast to other client terminals connected to the lan server, that is, sends the lan broadcast to a second client terminal under the same lan with the first client terminal. The local area network broadcasts a second account for inviting a second client terminal to log in to the target room.
In one possible implementation, the local area network server sends a local area network broadcast to a second client terminal that is under the same local area network as the first client terminal, comprising: the local area network server transmits the local area network broadcast to a second client terminal on the same local area network as the first client terminal via a user datagram protocol (User Datagram Protocol, UDP).
The local area network server is connected with the first client terminal, the second client terminal, the third client terminal and the fourth client terminal, namely, the first client terminal, the second client terminal, the third client terminal and the fourth client terminal are client terminals under the same local area network, when the local area network server receives an information interaction request sent by the first client terminal, the information interaction request is analyzed to obtain a room identifier of a target room carried in the information interaction request, local area network broadcasting is generated based on the room identifier of the target room, and the local area network server sends the local area network broadcasting to the second client terminal, the third client terminal and the fourth client terminal.
The local area network (Local Area Network, LAN) is a computer communication network formed by interconnecting various computers, external devices, databases and the like in a local geographical range (such as a school, a factory and a machine), generally within a few kilometers. It can be connected with remote local area network, data base or processing centre by means of data communication network or special data point to form a large-range information processing system. The local area network may implement functions such as file management, application sharing, printer sharing, scanner sharing, scheduling within a workgroup, email and fax communication services, etc. Local area networks are strictly closed. It may consist of several or even thousands of computers within a closed environment.
Local area network broadcasting is a technology that enables all terminal devices in a local area network to receive a specific message, and using local area network broadcasting enables a second client terminal under the same local area network as a first client terminal to receive a room identifier of a target room, that is, enables the second client terminal under the same local area network as the first client terminal to receive an invitation message inviting to enter the target room.
UDP is a connectionless transport layer protocol, and the source and the terminal do not establish a connection before transmitting data, and the connection state is not required to be maintained because the connection is not established. And the UDP has high transmission speed, so that the data transmission time can be greatly reduced, and the data transmission speed can be improved.
In step 205, the second client terminal receives the lan broadcast sent by the lan server, and responds to the confirmation instruction of the second account to the lan broadcast, and the second client terminal sends a confirmation message to the lan server.
In one possible implementation, the second client terminal includes an electronic terminal and an application, the application in the second client terminal is consistent with the application in the first client terminal, and the second client terminal has a second account logged in. After the second client terminal receives the local area network broadcast sent by the local area network server, the local area network broadcast is analyzed to obtain the room identification of the target room carried in the local area network broadcast, the second client terminal can also display the room identification of the target room, and the second account determines whether to join the target room. When the second account wants to join the target room, the second account triggers the room identification of the target room, and the second client terminal displays a prompt message, which is used to prompt whether the second account agrees to join the target room, for example, "do you determine to join the target room? Of course, the prompt information may be other contents, which are not limited in the embodiment of the present application. And in response to the second account clicking the confirmation button, the second client terminal receives a confirmation instruction, and the second client terminal sends a confirmation message to the local area network server, wherein the confirmation message carries the account identification of the second account logged in the second client terminal, and the confirmation message is used for informing the second account to confirm to join the target room.
In step 206, the lan server receives the acknowledgement message sent by the second client terminal and sends the acknowledgement message to the first client terminal.
In one possible implementation, after receiving the confirmation message sent by the second client terminal, the local area network server sends the confirmation message to the first client terminal, and the first client terminal joins the second account logged in the second client terminal into the target room based on the confirmation message.
In step 207, the first client terminal receives a confirmation message sent by the local area network server, and the first client terminal joins the second account, into which the second client terminal is logged, in the target room.
In one possible implementation manner, the first client terminal receives a confirmation message sent by the local area network server, analyzes the confirmation message to obtain an account identifier of a second account logged in the second client terminal carried in the confirmation message, and adds the second account logged in the second client terminal to the target room, that is, the first account and the second account both exist in the target room.
In one possible implementation manner, since the confirmation message further carries the account identifier of the second account, after the first client terminal receives the confirmation message sent by the local area network server, the account identifier of the second account may be added to the initial page of the target room to obtain the target page of the target room, where the target page of the target room displays the account identifier of the first account and the account identifier of the second account. Fig. 4 is a schematic diagram of a target page of a target room according to an embodiment of the present application, where in fig. 4, an account identifier of a first account and an account identifier of a second account are displayed.
In one possible implementation, after the first client terminal obtains the target page of the target room, the procedure of sending, by the first client terminal, the target page of the target room to the local area network server is as follows: and the first client terminal compresses the target page of the target room to obtain page data of the target page of the target room. The first client terminal sends page data of a target page of the target room to the local area network server.
And the local area network server sends the page data of the target page of the target room to the second client terminal, the second client terminal decompresses the page data to obtain the target page of the target room corresponding to the page data, and the second client terminal displays the target page of the target room.
In step 208, in response to receiving the song requesting request of the first account, the first client terminal sends a first resource acquisition request to the local area network server.
In one possible implementation, a song ordering button is also displayed on the target page of the target room. Since both the first account and the second account are present in the target room, the first account and the second account can make a K song. When the first account clicks a song requesting button on a target page of a target room displayed by the first client terminal, the first client terminal receives a song requesting request of the first account, and sends a first resource acquisition request to the local area network server based on the song requesting request of the first account, wherein the first resource acquisition request is used for acquiring a first resource list, and the first resource list comprises second resources downloaded by the second client terminal. Of course, the first resource list may also be a first resource that has been downloaded by the first client terminal and a second resource that has been downloaded by the second client terminal.
Similarly, when the second account clicks a song requesting button on a target page of a target room displayed by the second client terminal, the second client terminal receives a song requesting request of the second account, and sends a second resource acquisition request to the local area network server based on the song requesting request of the second account, wherein the second resource acquisition request is used for acquiring a second resource list, and the second resource list comprises first resources downloaded by the first client terminal. Of course, the second resource list may also be the first resource that the first client terminal has downloaded and the second resource that the second client terminal has downloaded.
In step 209, the lan server receives a first resource acquisition request sent by the first client terminal, and acquires a first resource list.
In one possible implementation, after receiving the first resource acquisition request sent by the first client terminal, the local area network server sends a first acquisition request to a second client terminal in the same local area network as the first client terminal, where the first acquisition request is used to acquire the second resource already downloaded in the second client terminal. The local area network server receives second resources returned by the second client terminal based on the first acquisition request, the local area network server carries out resource filtering on the acquired second resources to obtain a first resource list, and the resource filtering process is used for deleting repeated second resources so that the repeated second resources do not exist in the first resource list.
It should be noted that, when the number of second client terminals in the same lan as the first client terminal is plural, the lan server obtains the second resources downloaded in each of the second client terminals, respectively.
In one possible implementation, after the local area network server acquires the second resource downloaded in the second client terminal, the local area network server may further send a first acquisition request to the first client terminal to acquire the first resource downloaded by the first client terminal. And filtering the first resources downloaded by the first client terminal and the second resources downloaded by the second client terminal, namely removing the first resources identical to the second resources, and obtaining a first resource list.
Similarly, after receiving a second resource acquisition request sent by the second client terminal, the local area network server sends a second acquisition request to the first client terminal, where the second acquisition request is used to acquire the first resource downloaded in the first client terminal, the local area network server receives the first resource returned by the first client terminal based on the second acquisition request, and the local area network server uses the acquired first resource as a second resource list, that is, the local area network server acquires the second resource list.
In one possible implementation, after the local area network server acquires the first resource downloaded by the first client terminal, the local area network server may further send a second acquisition request to other second client terminals in the same local area network as the first client terminal, to acquire the second resource downloaded by the other second client terminals. And filtering the acquired first resources downloaded by the first client terminal and the second resources downloaded by other second client terminals, namely removing the second resources identical to the first resources to obtain a second resource list.
In step 210, the local area network server sends a first list of resources to the first client terminal.
In one possible implementation, after the local area network server obtains the first resource list, the first resource list is sent to the first client terminal, and the first client terminal displays the first resource list, so that a first account logged in the first client terminal performs resource selection in the first resource list.
Similarly, after the local area network server obtains the second resource list, the second resource list is sent to the second client terminal, and the second client terminal displays the second resource list so that a second account logged in the second client terminal can select resources in the second resource list.
In step 211, the first client terminal receives a first resource list, and displays the first resource list.
In one possible implementation, after receiving the first resource list, the first client terminal displays the first resource list in a target page of the target room, and the first account selects a first target resource in the first resource list to sing. Fig. 5 is a schematic display diagram of a first resource list provided in an embodiment of the present application, where in fig. 5, a first resource list is displayed in a target page of a target room displayed by a first client terminal, and includes: five second resources are respectively: give your @, like fish @, dry cups @, three-birth three-world @, small luck @.
And similarly, the second client terminal receives a second resource list, displays the second resource list in a target page of the target room, and selects a second target resource from the second resource list by the second account to sing.
In step 212, the first client terminal sends a resource information acquisition request of the first target resource to the local area network server in response to receiving the selection instruction of the first account for the first target resource in the first resource list.
In one possible implementation manner, the first account may select any first resource in the first resource list, and when the first account selects a certain first resource in the first resource list, the first client terminal determines the selected first resource as a first target resource, and sends a resource information acquisition request of the first target resource to the local area network server, where the resource information acquisition request is used for acquiring resource information of the first target resource.
Similarly, the second account may select any second resource in the second resource list, and when the second account selects a certain second resource in the second resource list, the second client terminal determines the selected second resource as a second target resource, and sends a resource information acquisition request of the second target resource to the local area network server, where the resource acquisition request is used for acquiring resource information of the second target resource.
In step 213, the lan server receives the resource information obtaining request of the first target resource sent by the first client terminal, and obtains the resource information corresponding to the first target resource.
In one possible implementation, the local area network server stores a plurality of resources and a correspondence between the plurality of resources and resource information of each resource, where the resource information includes at least one of original singing, accompaniment, and lyrics. After receiving the resource information acquisition request of the first target resource sent by the first client terminal, the local area network server determines resource information corresponding to the first target resource from the storage space, that is, the local area network server acquires the resource information corresponding to the first target resource.
In one possible implementation manner, after the local area network server receives the resource information acquisition request of the first target resource sent by the first client terminal, the local area network server may search for resource information corresponding to the first target resource through means such as the internet, so as to acquire the resource information corresponding to the first target resource.
In a possible implementation manner, after receiving the resource information obtaining request of the first target resource, the lan server sends a resource information obtaining instruction to the second client terminal, where the resource information obtaining instruction carries a resource identifier of the first target resource, such as a resource name of the first target resource, and of course, the resource identifier may also be any other identifier that can uniquely identify the first target resource. And the local area network server receives the resource information of the first target resource returned by the second client terminal, namely the resource information of the first target resource acquired by the local area network server.
Similarly, after the local area network server receives the resource information acquisition request of the second target resource sent by the second client terminal, the process of acquiring the resource information corresponding to the second target resource by the local area network server is consistent with the process of acquiring the resource information corresponding to the first target resource by the local area network server, which is not described herein.
In step 214, the lan server sends resource information corresponding to the first target resource to the first client terminal.
In one possible implementation manner, after obtaining the resource information corresponding to the first target resource, the local area network server sends the resource information corresponding to the first target resource to the first client terminal, and the first client terminal displays the resource information corresponding to the first target resource.
Similarly, in response to the resource information corresponding to the second target resource acquired by the local area network server, the local area network server sends the resource information corresponding to the second target resource to the second client terminal, and the second client terminal displays the resource information corresponding to the second target resource.
In step 215, the first client terminal receives the resource information corresponding to the first target resource sent by the lan server, and displays the resource information corresponding to the first target resource.
In one possible implementation manner, after receiving the resource information corresponding to the first target resource sent by the local area network server, the first client terminal displays the resource information of the first target resource in a target page of a target room displayed by the first client terminal, so that the first account sings based on the resource information corresponding to the first target resource. Fig. 6 is a schematic display diagram of resource information corresponding to a first target resource according to an embodiment of the present application, where in fig. 6, a resource name, an original song, an accompaniment, and lyrics of the first target resource are displayed, and in fig. 6, the first target resource is shown as "Sansheng Sanshi", and the original song, accompaniment, and lyrics of the first target resource are displayed.
Similarly, after the second client terminal receives the resource information corresponding to the second target resource sent by the local area network server, the second client terminal displays the resource information of the second target resource in a target page of the target room, so that the second account sings based on the resource information corresponding to the second target resource.
According to the method, the second accounts logged in the at least one second client terminal are invited to join the target room in a mode of sending local area network broadcast to the at least one second client terminal which is located in the local area network with the first client terminal, the invitation messages are sent to the plurality of second accounts at one time, and the invitation messages are not required to be sent manually one by one, so that the invitation messages are sent more conveniently, the invitation information sending speed is improved, and the information interaction efficiency is improved.
Further, the information interaction method provided by the application can also enable resources between the first client terminal and the second client terminal to be shared, so that the resources available for the first client terminal and the second client terminal are richer.
Fig. 7 is a flowchart of a method for information interaction according to an embodiment of the present application, where the method is performed by the lan server 102. As shown in fig. 7, the method includes:
In step 701, an information interaction request sent by a first client terminal is received, where the information interaction request carries a room identifier of a target room, and the first client terminal logs in a first account, where the first account is an account that has joined in the target room.
In the exemplary embodiment of the present application, the process of receiving the information interaction request sent by the first client terminal is consistent with the process in step 204, which is not described herein.
In step 702, a local area network broadcast is sent to a second client terminal under the same local area network as the first client terminal, wherein the local area network broadcast carries room identification of a target room, the number of the second client terminals is at least one, and the second client terminal logs in a second account.
In the exemplary embodiment of the present application, the procedure of sending the lan broadcast to the second client terminal in the same lan as the first client terminal is identical to the procedure of step 204, which is not described herein.
In step 703, in response to receiving the confirmation message of the second client terminal, a confirmation message is sent to the first client terminal, the confirmation message carrying an account identifier of the second account in which the second client terminal is logged in, the confirmation message being used to join the second account in which the second client terminal is logged in to the target room.
In the exemplary embodiment of the present application, in response to receiving the acknowledgement message of the second client terminal, the process of sending the acknowledgement message to the first client terminal is identical to the process of step 206 described above, and will not be described herein.
According to the method, the second accounts logged in the at least one second client terminal are invited to join the target room in a mode of sending local area network broadcast to the at least one second client terminal which is located in the local area network with the first client terminal, the invitation messages are sent to the plurality of second accounts at one time, and the invitation messages are not required to be sent manually one by one, so that the invitation messages are sent more conveniently, the invitation information sending speed is improved, and the information interaction efficiency is improved.
Fig. 8 is a flowchart of a method for information interaction according to an embodiment of the present application, which is performed by the first client terminal 101. As shown in fig. 8, the method includes:
in step 801, in response to receiving a request to create a first account, a target room is created in which the first account exists.
In the exemplary embodiment of the present application, the process of creating the target room is identical to the process of step 201 described above, and will not be described in detail herein.
In step 802, a room identification of a target room is obtained.
In the exemplary embodiment of the present application, the process of obtaining the room identifier of the target room is identical to the process of step 202, which is not described herein.
In step 803, an information interaction request is sent to the lan server, where the information interaction request carries a room identifier of the target room.
In the exemplary embodiment of the present application, the process of sending the information interaction request to the server is consistent with the process of step 203, which is not described herein.
In step 804, a confirmation message sent by the lan server is received, where the confirmation message carries an account identifier of a second account on which the second client terminal logs in, and the second client terminal and the first client terminal are located in the same lan.
In the exemplary embodiment of the present application, the process of receiving the acknowledgement message sent by the lan server is identical to the process of step 207 described above, and will not be described in detail herein.
In step 805, a second account, in which a second client terminal is logged in, is added to the target room.
In the exemplary embodiment of the present application, the process of adding the second account logged in by the second client terminal to the target room is identical to the process of step 207 described above, and will not be described herein.
According to the method, the information interaction request is sent to the local area network server, so that the local area network server simultaneously invites the second accounts which are logged in with the first client terminal in the second client terminal of the same local area network to join the target room, the invitation messages are sent to a plurality of second accounts at one time, the invitation messages are not required to be sent manually one by one, the invitation messages are sent more conveniently, the invitation information sending speed is improved, and the information interaction efficiency is improved.
Fig. 9 is a flowchart of an information interaction method according to an embodiment of the present application, where the method is performed by the second client terminal 103. As shown in fig. 9, the method includes:
in step 901, a local area network broadcast sent by a local area network server is received, the local area network broadcast carrying a room identification of a target room created by a first account in which a first client terminal is logged in, the first client terminal and a second client terminal being located on the same local area network.
In the exemplary embodiment of the present application, the procedure of receiving the lan broadcast sent by the lan server is consistent with the procedure of step 205, which is not described herein.
In step 902, in response to the confirmation instruction broadcast by the second account to the local area network, a confirmation message is sent to the local area network server, the confirmation message is sent to the first client terminal by the local area network server, the confirmation message carries an account identifier of the second account logged in by the second client terminal, and the confirmation message is used for joining the second account logged in by the second client terminal into the target room.
In the exemplary embodiment of the present application, the process of sending the confirmation message to the lan server in response to the confirmation instruction broadcast to the lan by the second account is consistent with the process of step 205, which is not described herein.
According to the method, the second account is added into the target room in a mode of receiving the local area network broadcast sent by the local area network server, so that the first account and the second account are in the same target room, and the information interaction efficiency is improved.
Fig. 10 is a schematic structural diagram of an information interaction device according to an embodiment of the present application, where, as shown in fig. 10, the device includes:
the receiving module 1001 is configured to receive an information interaction request sent by a first client terminal, where the information interaction request carries a room identifier of a target room, and the first client terminal logs in a first account, where the first account is an account that has joined in the target room;
a sending module 1002, configured to send a local area network broadcast to a second client terminal under the same local area network as the first client terminal, where the local area network broadcast carries a room identifier of a target room, the number of the second client terminals is at least one, and the second client terminal logs in with a second account;
the sending module 1002 is further configured to send, in response to receiving a confirmation message of the second client terminal, a confirmation message to the first client terminal, where the confirmation message carries an account identifier of a second account logged in by the second client terminal, and the confirmation message is used to join the second account logged in by the second client terminal into the target room.
In one possible implementation, the sending module 1002 is further configured to send, in response to receiving the target page of the target room sent by the first client terminal, the target page of the target room to the second client terminal, where the target page of the target room is displayed by the second client terminal, and the target page of the target room includes the account identifier of the first account and the account identifier of the second account.
In one possible implementation, the sending module 1002 is configured to send, via a user datagram protocol UDP, a local area network broadcast to a second client terminal that is under the same local area network as the first client terminal.
In one possible implementation, the apparatus further includes: the acquisition module is used for responding to a first resource acquisition request sent by the first client terminal and acquiring a first resource list, wherein the first resource list comprises second resources downloaded by the second client terminal;
the sending module 1002 is further configured to send the first resource list to the first client terminal, where the first resource list is displayed by the first client terminal.
In one possible implementation manner, the obtaining module is further configured to obtain resource information corresponding to the first target resource in response to receiving a resource information obtaining request of the first target resource sent by the first client terminal;
The sending module 1002 is further configured to send, to the first client terminal, resource information corresponding to the first target resource, where the first client terminal displays the resource information corresponding to the first target resource, and the resource information includes at least one of an original song, accompaniment, and lyrics of the first target resource.
In one possible implementation manner, the obtaining module is further configured to obtain a second resource list in response to receiving a second resource obtaining request sent by the second client terminal, where the second resource list includes the first resource downloaded by the first client terminal;
in a possible implementation, the sending module 1002 is further configured to send the second resource list to a second client terminal, and the second resource list is displayed by the second client terminal.
In one possible implementation manner, the obtaining module is further configured to obtain resource information corresponding to the second target resource in response to receiving a resource information obtaining request of the second target resource sent by the second client terminal;
the sending module 1002 is further configured to send resource information corresponding to the second target resource to the second client terminal, where the second client terminal displays the resource information corresponding to the second target resource, and the resource information includes at least one of original singing, accompaniment and lyrics of the second target resource.
According to the device, the second accounts logged in the at least one second client terminal are invited to join the target room in a mode of transmitting local area network broadcast to the at least one second client terminal which is in a local area network with the first client terminal, so that the invitation messages are transmitted to the plurality of second accounts at one time without manually transmitting the invitation messages one by one, the transmission of the invitation messages is more convenient, the speed of transmitting the invitation messages is improved, and the efficiency of information interaction is improved.
Fig. 11 is a schematic structural diagram of an information interaction device according to an embodiment of the present application, where, as shown in fig. 11, the device includes:
a creating module 1101, configured to create a target room in which the first account exists in response to receiving a request for creating the first account;
an obtaining module 1102, configured to obtain a room identifier of a target room;
a sending module 1103, configured to send an information interaction request to the lan server, where the information interaction request carries a room identifier of the target room;
a receiving module 1104, configured to receive a confirmation message sent by the lan server, where the confirmation message carries an account identifier of a second account logged in by a second client terminal, and the second client terminal and the first client terminal are located in the same lan;
An adding module 1105 is configured to add the second account logged in by the second client terminal to the target room.
In one possible implementation manner, the sending module is further configured to send a target page of the target room to the local area network server, where the target page displays an account identifier of the first account and an account identifier of the second account.
In a possible implementation manner, the sending module 1103 is further configured to send, to the local area network server, a first resource acquisition request in response to receiving a song requesting request of the first account, where the first resource acquisition request is used to acquire a first resource list, and the first resource list includes second resources that have been downloaded by the second client terminal;
a receiving module 1104, configured to receive a first resource list returned by the lan server based on the first resource acquisition request;
the apparatus further comprises: and the display module is used for displaying the first resource list.
In one possible implementation manner, the sending module 1103 is further configured to send, to the local area network server, a resource information acquisition request of the first target resource in response to receiving a selection instruction of the first target resource in the first resource list;
the receiving module 1104 is further configured to receive resource information corresponding to the first target resource returned by the local area network server, where the resource information includes at least one of original singing, accompaniment and lyrics of the first target resource;
The display module is further used for displaying resource information corresponding to the first target resource.
According to the device, the information interaction request is sent to the local area network server, so that the local area network server simultaneously invites the second accounts which are logged in with the first client terminal in the second client terminal of the same local area network to join the target room, the invitation messages are sent to a plurality of second accounts at one time, the invitation messages are not required to be sent manually one by one, the invitation messages are sent more conveniently, the invitation information sending speed is improved, and the information interaction efficiency is improved.
Fig. 12 is a schematic structural diagram of an information interaction device according to an embodiment of the present application, where, as shown in fig. 12, the device includes:
a receiving module 1201, configured to receive a local area network broadcast sent by a local area network server, where the local area network broadcast carries a room identifier of a target room, the target room is created by a first account in which a first client terminal logs in, and the first client terminal and a second client terminal are located in the same local area network;
and the sending module 1202 is configured to send a confirmation message to the local area network server in response to a confirmation instruction broadcast by the second account to the local area network, where the confirmation message carries an account identifier of the second account registered by the second client terminal, and the confirmation message is used to join the second account registered by the second client terminal into the target room.
In one possible implementation manner, the receiving module 1201 is further configured to receive a target page of the target room sent by the local area network server, where the target page displays an account identifier of the first account and an account identifier of the second account;
the apparatus further comprises: and the display module is used for displaying a target page of the target room.
In one possible implementation manner, the sending module 1202 is further configured to send, to the local area network server, a second resource acquisition request in response to receiving a song requesting request of the second account, where the second resource acquisition request is used to acquire a second resource list, and the second resource list includes the first resource downloaded by the first client terminal;
the receiving module 1201 is further configured to receive a second resource list returned by the lan server based on the second resource acquisition request;
and the display module is also used for displaying the second resource list.
In one possible implementation manner, the sending module 1202 is further configured to send, to the local area network server, a resource information acquisition request of the second target resource in response to receiving a selection instruction of the second target resource in the second resource list;
the receiving module 1201 is further configured to receive resource information corresponding to the second target resource returned by the local area network server, where the resource information includes at least one of original singing, accompaniment and lyrics of the second target resource;
The display module is further used for displaying resource information corresponding to the second target resource.
The second account of the device joins the target room in a mode of receiving the local area network broadcast sent by the local area network server, so that the first account and the second account are in one target room, and the efficiency of information interaction is improved.
It should be noted that: in the information interaction device provided in the above embodiment, only the division of the above functional modules is used for illustration, and in practical application, the above functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the information interaction device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the information interaction device and the information interaction method provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the information interaction device and the information interaction method are detailed in the method embodiments and are not repeated herein.
Fig. 13 is a schematic structural diagram of a lan server according to an embodiment of the present application, where the lan server 1300 may include one or more processors (Central Processing Units, CPU) 1301 and one or more memories 1302, where the one or more memories 1302 store at least one program instruction, and the at least one program instruction is loaded and executed by the one or more processors 1301 to implement the information interaction method provided in the foregoing method embodiments. Of course, the lan server 1300 may also have a wired or wireless network interface, a keyboard, an input/output interface, etc. for performing input/output, and the lan server 1300 may also include other components for implementing the functions of the device, which are not described herein.
Fig. 14 shows a block diagram of a client terminal 1400 provided in an exemplary embodiment of the present application. The client terminal 1400 may be a portable mobile terminal such as: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion picture expert compression standard audio plane 3), an MP4 (Moving Picture Experts Group Audio Layer IV, motion picture expert compression standard audio plane 4) player, a notebook computer, or a desktop computer. Client terminal 1400 may also be referred to by other names of user devices, portable terminals, laptop terminals, desktop terminals, and the like.
In general, the client terminal 1400 includes: a processor 1401 and a memory 1402.
Processor 1401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 1401 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-ProgrammableGate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 1401 may also include a main processor, which is a processor for processing data in an awake state, also called a CPU (Central Processing Unit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1401 may be integrated with a GPU (Graphics Processing Unit, image processor) for taking care of rendering and rendering of content that the display screen is required to display. In some embodiments, the processor 1401 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
Memory 1402 may include one or more computer-readable storage media, which may be non-transitory. Memory 1402 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1402 is used to store at least one instruction for execution by processor 1401 to implement the information interaction methods provided by the method embodiments herein.
In some embodiments, client terminal 1400 may optionally further include: a peripheral interface 1403 and at least one peripheral. The processor 1401, memory 1402, and peripheral interface 1403 may be connected by a bus or signal lines. The individual peripheral devices may be connected to the peripheral device interface 1403 via buses, signal lines or a circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1404, a display screen 1405, a camera assembly 1406, an audio circuit 1407, a positioning assembly 1408, and a power source 1409.
Peripheral interface 1403 may be used to connect at least one Input/Output (I/O) related peripheral to processor 1401 and memory 1402. In some embodiments, processor 1401, memory 1402, and peripheral interface 1403 are integrated on the same chip or circuit board; in some other embodiments, either or both of processor 1401, memory 1402, and peripheral interface 1403 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 1404 is configured to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1404 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 1404 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1404 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuit 1404 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the world wide web, metropolitan area networks, intranets, generation mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuit 1404 may also include NFC (Near Field Communication, short range wireless communication) related circuits, which are not limited in this application.
The display screen 1405 is used to display UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1405 is a touch display screen, the display screen 1405 also has the ability to collect touch signals at or above the surface of the display screen 1405. The touch signal may be input to the processor 1401 as a control signal for processing. At this time, the display 1405 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 1405 may be one, disposed on the front panel of the client terminal 1400; in other embodiments, the display 1405 may be at least two, respectively disposed on different surfaces of the client terminal 1400 or in a folded design; in other embodiments, the display 1405 may be a flexible display disposed on a curved surface or a folded surface of the client terminal 1400. Even more, the display 1405 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The display 1405 may be made of LCD (Liquid Crystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
In some embodiments, client terminal 1400 also includes one or more sensors 1410. The one or more sensors 1410 include, but are not limited to: acceleration sensor 1411, gyroscope sensor 1412, pressure sensor 1413, fingerprint sensor 1414, optical sensor 1415, and proximity sensor 1416.
Those skilled in the art will appreciate that the structure shown in fig. 14 is not limiting and that client terminal 1400 may include more or less components than illustrated, or may combine certain components, or may employ a different arrangement of components.
In an exemplary embodiment, there is also provided a computer readable storage medium having stored therein at least one program code loaded and executed by a processor to implement any of the above-described information interaction methods.
In an exemplary embodiment, a computer program or computer program product is also provided, having stored therein at least one computer instruction that is loaded and executed by a processor to implement any of the information interaction methods described above.
Alternatively, the above-mentioned computer readable storage medium may be a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a Read-Only optical disk (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
It should be understood that references herein to "a plurality" are to two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
The foregoing description of the exemplary embodiments of the present application is not intended to limit the invention to the particular embodiments disclosed, but on the contrary, the intention is to cover all modifications, equivalents, alternatives, and alternatives falling within the spirit and scope of the invention.

Claims (11)

1. An information interaction method, wherein the method is applied to a local area network server, and the method comprises the following steps:
receiving an information interaction request sent by a first client terminal, wherein the information interaction request carries a room identifier of a target room, the first client terminal logs in a first account, and the first account is an account added into the target room;
transmitting local area network broadcast to a second client terminal under the same local area network with the first client terminal through a user datagram protocol UDP, wherein the local area network broadcast carries room identifiers of the target rooms, the number of the second client terminals is at least one, the second client terminal logs in a second account, and the local area network broadcast is used for enabling all terminal devices in the local area network to receive specific messages;
In response to receiving a confirmation message of the second client terminal, sending the confirmation message to the first client terminal, wherein the confirmation message carries an account identifier of a second account registered by the second client terminal, and the confirmation message is used for adding the second account registered by the second client terminal into the target room;
in response to receiving a first resource acquisition request sent by the first client terminal, acquiring a second resource downloaded in the second client terminal, acquiring a first resource downloaded in the first client terminal, and performing resource filtering on the first resource and the second resource to remove the first resource identical to the second resource, so as to obtain a first resource list, wherein the first resource list comprises the first resource downloaded by the first client terminal and the second resource downloaded by the second client terminal;
sending the first list of resources to the first client terminal, the first list of resources being displayed by the first client terminal;
in response to receiving a resource information acquisition request of a first target resource sent by the first client terminal, acquiring resource information corresponding to the first target resource, wherein a plurality of resources and corresponding relations between the plurality of resources and resource information of each resource are stored in the local area network server;
And sending the resource information corresponding to the first target resource to the first client terminal, wherein the first client terminal displays the resource information corresponding to the first target resource, and the resource information comprises at least one of original singing, accompaniment and lyrics of the first target resource.
2. The method of claim 1, wherein after the acknowledgement message is sent to the first client terminal in response to receiving the acknowledgement message for the second client terminal, the method further comprises:
and in response to receiving the target page of the target room sent by the first client terminal, sending the target page of the target room to the second client terminal, and displaying the target page of the target room by the second client terminal, wherein the target page of the target room comprises the account identifier of the first account and the account identifier of the second account.
3. The method according to claim 1 or 2, wherein after the acknowledgement message is sent to the first client terminal in response to receiving the acknowledgement message of the second client terminal, the method further comprises:
Acquiring a second resource list in response to receiving a second resource acquisition request sent by the second client terminal, wherein the second resource list comprises first resources downloaded by the first client terminal;
and sending the second resource list to the second client terminal, and displaying the second resource list by the second client terminal.
4. A method according to claim 3, wherein after said sending said second resource list to said second client terminal, the method further comprises:
responding to a resource information acquisition request of a second target resource sent by the second client terminal, and acquiring resource information corresponding to the second target resource;
and sending the resource information corresponding to the second target resource to the second client terminal, and displaying the resource information corresponding to the second target resource by the second client terminal, wherein the resource information comprises at least one of original singing, accompaniment and lyrics of the second target resource.
5. An information interaction method, wherein the method is applied to a first client terminal, the first client terminal having a first account logged in, the method comprising:
In response to receiving a request for creating the first account, creating a target room in which the first account exists;
acquiring a room identifier of the target room;
the method comprises the steps that an information interaction request is sent to a local area network server, wherein the information interaction request carries room identifiers of target rooms, the local area network server is used for sending local area network broadcasting to second clients through user datagram protocol UDP, the local area network broadcasting carries the room identifiers of the target rooms, the number of the second clients is at least one, and the local area network broadcasting is used for enabling all terminal devices in the local area network to receive specific messages;
receiving a confirmation message sent by the local area network server, wherein the confirmation message carries an account identifier of a second account logged in by a second client terminal, and the second client terminal and the first client terminal are positioned in the same local area network;
adding a second account logged in by the second client terminal into the target room;
responding to a song requesting request of the first account, sending a first resource obtaining request to the local area network server, wherein the first resource obtaining request is used for obtaining a first resource list, the first resource list is obtained by the local area network server after resource filtering is carried out on the obtained first resource and a second resource downloaded by the second client terminal, the resource filtering is used for removing the first resource identical to the second resource, and the first resource list comprises the first resource downloaded by the first client terminal and the second resource downloaded by the second client terminal;
Receiving a first resource list returned by the local area network server based on the first resource acquisition request;
displaying the first resource list;
in response to receiving a selection instruction of a first target resource in the first resource list, sending a resource information acquisition request of the first target resource to the local area network server, wherein the local area network server stores a plurality of resources and corresponding relations between the plurality of resources and resource information of each resource;
receiving resource information corresponding to the first target resource returned by the local area network server, wherein the resource information comprises at least one of original singing, accompaniment and lyrics of the first target resource;
and displaying the resource information corresponding to the first target resource.
6. The method of claim 5, wherein after the joining the second account registered by the second client terminal to the target room, the method further comprises:
and sending a target page of the target room to the local area network server, wherein the target page displays the account identifier of the first account and the account identifier of the second account.
7. An information interaction method, wherein the method is applied to a second client terminal, and the second client terminal logs in a second account, and the method comprises the following steps:
Receiving a local area network broadcast sent by a local area network server through a user datagram protocol UDP, wherein the local area network broadcast carries a room identifier of a target room, the target room is created by a first account logged in by a first client terminal, the first client terminal and the second client terminal are positioned in the same local area network, and the local area network broadcast is used for enabling all terminal devices in the local area network to receive specific messages;
transmitting a confirmation message to the local area network server in response to a confirmation instruction broadcast by the second account to the local area network, wherein the confirmation message carries an account identifier of a second account registered by the second client terminal and is used for adding the second account registered by the second client terminal into the target room;
responding to the song requesting request of the second account, sending a second resource obtaining request to the local area network server, wherein the second resource obtaining request is used for obtaining a second resource list, the second resource list is obtained by the local area network server after resource filtering is carried out on the obtained first resource and the second resource downloaded by the second client terminal, the resource filtering is used for removing the first resource identical to the second resource, and the second resource list comprises the first resource downloaded by the first client terminal and the second resource downloaded by the second client terminal;
Receiving a second resource list returned by the local area network server based on the second resource acquisition request;
displaying the second resource list;
in response to receiving a selection instruction of a second target resource in the second resource list, sending a resource information acquisition request of the second target resource to the local area network server, wherein the local area network server stores a plurality of resources and corresponding relations between the plurality of resources and resource information of each resource;
receiving resource information corresponding to the second target resource returned by the local area network server, wherein the resource information comprises at least one of original singing, accompaniment and lyrics of the second target resource;
and displaying the resource information corresponding to the second target resource.
8. The method of claim 7, wherein after the sending of the confirmation message to the local area network server in response to the confirmation instruction broadcast by the second account to the local area network, the method further comprises:
receiving a target page of the target room sent by the local area network server, wherein the target page displays an account identifier of a first account and an account identifier of a second account;
And displaying a target page of the target room.
9. A local area network server, characterized in that it comprises a processor and a memory, said processor having stored therein at least one program code, said at least one program code being loaded and executed by said processor to implement the information interaction method according to any of claims 1 to 4.
10. An information interaction device, characterized in that it comprises a processor and a memory, in which at least one program code is stored, which is loaded and executed by the processor to implement the information interaction method according to any of the claims 5 to 6 or to implement the information interaction method according to any of the claims 7 to 8.
11. A computer readable storage medium having stored therein at least one program code, the at least one program code being loaded and executed by a processor to implement the information interaction method of any of claims 1 to 8.
CN202011308388.3A 2020-11-19 2020-11-19 Information interaction method, device and computer readable storage medium Active CN112422415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011308388.3A CN112422415B (en) 2020-11-19 2020-11-19 Information interaction method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011308388.3A CN112422415B (en) 2020-11-19 2020-11-19 Information interaction method, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112422415A CN112422415A (en) 2021-02-26
CN112422415B true CN112422415B (en) 2023-05-02

Family

ID=74773215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011308388.3A Active CN112422415B (en) 2020-11-19 2020-11-19 Information interaction method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112422415B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158745A (en) * 2011-02-18 2011-08-17 深圳创维数字技术股份有限公司 Implementation method of Karaoke service, terminal, server terminal and system
CN110808844A (en) * 2019-10-31 2020-02-18 广州心娱网络科技有限公司 Broadcasting communication method, device and system of voice social platform

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG2014008932A (en) * 2014-02-06 2015-09-29 Mastercard Asia Pacific Pte Ltd A method and a corresponding proxy server, system, computer-readable storage medium and computer program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158745A (en) * 2011-02-18 2011-08-17 深圳创维数字技术股份有限公司 Implementation method of Karaoke service, terminal, server terminal and system
CN110808844A (en) * 2019-10-31 2020-02-18 广州心娱网络科技有限公司 Broadcasting communication method, device and system of voice social platform

Also Published As

Publication number Publication date
CN112422415A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN109831456B (en) Message pushing method, device, equipment and storage medium
CN107172477B (en) Voting method and device
CN109347722B (en) Interaction system, method, client and background server
CN105979312B (en) Information sharing method and device
CN111918086B (en) Video connection method, device, terminal, server and readable storage medium
CN111625381B (en) Method, device, equipment and storage medium for reproducing running scene of application program
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN110210007B (en) Document processing method, terminal and computer equipment
CN112184469B (en) Group interaction method, device, equipment and storage medium
CN108521365B (en) Method for adding friends and mobile terminal
US20240104513A1 (en) Schedule sharing method, apparatus, and device
CN113392178A (en) Message reminding method, related device, equipment and storage medium
CN104052801B (en) A kind of information processing method and electronic equipment
CN112422415B (en) Information interaction method, device and computer readable storage medium
CN114979049B (en) Instant messaging message display method, device, equipment and storage medium
CN111831367A (en) Application operation method, wearable device and device with storage function
CN103259917B (en) A kind of data transmission method and electronic equipment
CN111638819B (en) Comment display method, device, readable storage medium and system
CN112786022A (en) Terminal, first voice server, second voice server and voice recognition method
CN112637640B (en) Video interaction method and device
CN114100117B (en) Game loading method, game loading device, computer equipment and storage medium
CN115002059B (en) Information processing method, information processing device, computer readable storage medium and computer equipment
WO2023040707A1 (en) Live broadcast interaction method, electronic device and system
CN110585714B (en) UGC element setting method, device and equipment based on block chain
US20230016256A1 (en) Group user migration method, apparatus and device, and storage medium

Legal Events

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