CN116320645A - Information processing method, information processing device, storage medium, and electronic device - Google Patents

Information processing method, information processing device, storage medium, and electronic device Download PDF

Info

Publication number
CN116320645A
CN116320645A CN202310208785.0A CN202310208785A CN116320645A CN 116320645 A CN116320645 A CN 116320645A CN 202310208785 A CN202310208785 A CN 202310208785A CN 116320645 A CN116320645 A CN 116320645A
Authority
CN
China
Prior art keywords
game
live
target
client
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310208785.0A
Other languages
Chinese (zh)
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202310208785.0A priority Critical patent/CN116320645A/en
Publication of CN116320645A publication Critical patent/CN116320645A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/85Providing additional services to players
    • A63F13/86Watching games played by other players
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4781Games
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/57Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of game services offered to the player
    • A63F2300/577Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of game services offered to the player for watching a game played by other players

Abstract

The application discloses an information processing method, an information processing device, a storage medium and an electronic device. The method comprises the following steps: responding to the interactive information from the audience live client to acquire a first geographic position where the audience live client is located, wherein the interactive information is used for requesting to generate a virtual game role in a game scene of a live game of the live client; determining a target position matched with the first geographic position in the game scene; a target attribute is determined that matches the interaction information and/or the first geographic location, and a virtual game character having the target attribute is generated at the target location. The method and the device solve the technical problem that the audience live client inputs information to the anchor live client more singly.

Description

Information processing method, information processing device, storage medium, and electronic device
Technical Field
The present invention relates to the field of computers, and in particular, to an information processing method, an information processing device, a storage medium, and an electronic device.
Background
Currently, live barrage games are being developed in the explosion, and a plurality of barrage interactive games are already on the market.
In the related art, only the interactive information (such as barrage) sent by the live client of the audience is subjected to data conversion, so that the data in the live barrage interactive game is changed.
Aiming at the technical problem that the information input from the audience live client to the anchor live client is single, no effective solution is proposed at present.
Disclosure of Invention
At least some embodiments of the present application provide an information processing method, an apparatus, a storage medium, and an electronic device, so as to at least solve a technical problem that a live client of a viewer inputs information to a live client of a host.
According to one embodiment of the present application, an information processing method is provided. The method may include: responding to the interactive information from the audience live client to acquire a first geographic position where the audience live client is located, wherein the interactive information is used for requesting to generate a virtual game role in a game scene of a live game of the live client; determining a target position matched with the first geographic position in the game scene; a target attribute is determined that matches the interaction information and/or the first geographic location, and a virtual game character having the target attribute is generated at the target location.
Optionally, in the game scene, determining the target location that matches the first geographic location includes: in a game scenario, a target location is determined that matches a first geographic location and a second geographic location of a live client of a host.
Optionally, in the game scenario, determining a target location that matches the first geographic location and the second geographic location of the anchor live client includes: acquiring a target distance between a first geographic position and a second geographic position; in a game scene, a target position matching a target distance is acquired.
Optionally, in the game scene, acquiring the target position matched with the target distance includes: scaling the target distance according to the target map scale of the game scene; in the game scene, a target position corresponding to the scaled target distance is determined.
Optionally, in the game scene, determining the target position corresponding to the scaled target distance includes: and determining the target position corresponding to the scaled target distance relative geographic position in a map database, wherein the map database is used for storing positions corresponding to different distances in the game scene.
Optionally, generating the virtual game character at the target location includes: and generating the virtual game role at the target position based on the associated information of the account number of the audience live client.
Optionally, the association information of the account number includes: the virtual object is in a game scene generated by the audience terminal equipment running the audience game client, and the audience game client logs in based on the account.
Optionally, determining the target attribute matching the interaction information includes: extracting keywords from the interaction information; skill attributes characterized by the keywords are determined, wherein the target attributes include skill attributes.
Optionally, determining the target attribute that matches the first geographic location includes: acquiring environment information of a first geographic position; skill attributes that match the environmental information are determined, wherein the target attributes include skill attributes.
Optionally, in response to the interaction information from the viewer live client, acquiring a first geographic location where the viewer live client is located includes: responding to first interaction information in the interaction information, and acquiring a first geographic position, wherein the first interaction information is used for requesting interaction with a game scene of a live game of a live client of a host to generate a virtual game role; determining a target attribute that matches the interaction information, comprising: and determining a target attribute matched with second interaction information in the interaction information, wherein the second interaction information is used for requesting to add the target attribute to the virtual game role.
Optionally, the virtual game character and the live client of the host are controlled to interact between the virtual game characters generated in the game scene.
Optionally, the interactive information includes a bullet screen and/or a virtual gift.
According to one embodiment of the present application, there is also provided an information processing apparatus. The apparatus may include: the system comprises an acquisition unit, a control unit and a control unit, wherein the acquisition unit is used for responding to interaction information from a live client of a spectator and acquiring a first geographic position where the live client of the spectator is located, wherein the interaction information is used for requesting to generate a virtual game role in a game scene of a live game of a live client of a host; a determining unit, configured to determine, in a game scene, a target position that matches the first geographic position; and the generating unit is used for determining target attributes matched with the interaction information and/or the first geographic position and generating the virtual game roles with the target attributes at the target positions.
According to one embodiment of the present application, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to execute the information processing method in any one of the above-mentioned claims when running.
According to one embodiment of the present application, there is also provided an electronic device including a memory in which a computer program is stored, and a processor configured to run the computer program to perform the information processing method in any one of the above.
In the embodiment of the application, the first geographic position of the live client of the audience is obtained in response to the interactive information from the live client of the audience, wherein the interactive information is used for requesting to generate a virtual game role in a game scene of a live game of the live client of the host; determining a target position matched with the first geographic position in the game scene; a target attribute is determined that matches the interaction information and/or the first geographic location, and a virtual game character having the target attribute is generated at the target location. That is, the target position matched with the first geographic position is determined based on the first geographic position of the audience live client, and the virtual game role is generated in the game scene of the anchor live client based on the target position, so that information interaction between the anchor live client and the audience live client is completed, the problem that the anchor live client is required to read interaction information and then convert data in the game scene is avoided, the technical effect of improving diversification of information input from the audience live client to the anchor live client is achieved, and the technical problem that information input from the live client to the anchor live client is single is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
fig. 1 is a block diagram of a hardware structure of a mobile terminal of an information processing method according to an embodiment of the present application;
FIG. 2 is a flow chart of an information processing method according to one embodiment of the present application;
FIG. 3 is a flow chart of a method of processing data according to one embodiment of the present application;
FIG. 4 is a schematic diagram of a viewer live client sending a barrage according to one embodiment of the present application;
FIG. 5 is a schematic diagram of acquiring a true position of a viewer live client according to one embodiment of the present application;
FIG. 6 is a schematic diagram of a viewer live client sending a barrage according to one embodiment of the present application;
FIG. 7a is a schematic diagram of data processing according to one embodiment of the present application;
FIG. 7b is a flow chart of interactions between clients according to one embodiment of the present application;
fig. 8 is a block diagram of a structure of an information processing apparatus according to an embodiment of the present application;
fig. 9 is a schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In one possible implementation, for the game interaction method generally adopted in the live barrage game background in the computer field, only the interaction information (such as barrages) sent by the live client of the audience is subjected to data conversion, so that the data in the live barrage interaction game is changed. After the inventor is practiced and studied carefully, the technical problem that the current technology still has a single function of inputting information to the live broadcasting client by the live broadcasting client of the audience is found, and based on the technical problem, the application provides an information processing method which can be applied to live broadcasting barrage game scenes, and the method can acquire a first geographic position where the live broadcasting client of the audience is located on a live broadcasting platform or in response to interaction information from the live broadcasting client of the audience, wherein the interaction information is used for requesting to generate virtual game roles in the game scenes of the live broadcasting game of the live broadcasting client of the audience; determining a target position matched with the first geographic position in the game scene; the target attribute matched with the interaction information and/or the first geographic position is determined, and the virtual game role with the target attribute is generated at the target position, so that the information interaction between the live broadcasting client of the anchor and the live broadcasting client of the audience is completed, the technical effect of improving the diversification of the information input by the live broadcasting client of the audience to the live broadcasting client of the anchor is further achieved, and the technical problem that the information input by the live broadcasting client of the audience to the live broadcasting client of the anchor is single is solved.
According to one embodiment of the present application, there is provided an embodiment of an information processing method, it should be noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order other than that illustrated herein.
In this embodiment, the above-mentioned viewer live client, is an application program for software, and may be a computer program running in a mobile terminal, a computer terminal, or a similar computing device. Taking the example of running on a mobile terminal, the mobile terminal can be a terminal device such as a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palm computer, a mobile internet device (Mobile Internet Devices, abbreviated as MID), a PAD, a game console, etc. Fig. 1 is a block diagram of a hardware structure of a mobile terminal of an information processing method according to an embodiment of the present application. As shown in fig. 1, a mobile terminal may include one or more (only one is shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processor (GPU), a Digital Signal Processing (DSP) chip, a Microprocessor (MCU), a programmable logic device (FPGA), a neural Network Processor (NPU), a Tensor Processor (TPU), an Artificial Intelligence (AI) type processor, etc.) and a memory 104 for storing data. Optionally, the mobile terminal may further include a transmission device 106, an input-output device 108, and a display device 110 for communication functions. It will be appreciated by those skilled in the art that the structure shown in fig. 1 is merely illustrative and not limiting of the structure of the mobile terminal described above. For example, the mobile terminal may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to the information processing method in the embodiment of the present application, and the processor 102 executes the computer program stored in the memory 104, thereby performing various functional applications and data processing, that is, implementing the information processing method described above. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located relative to the processor 102, which may be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is configured to communicate with the internet wirelessly.
The input in the input output device 108 may come from a plurality of human interface devices (Human Interface Device, abbreviated as HIDs). For example: keyboard and mouse, gamepad, other special game controllers (e.g., steering wheel, fishing pole, dance mat, remote control, etc.). Part of the ergonomic interface device may provide output functions in addition to input functions, such as: force feedback and vibration of the gamepad, audio output of the controller, etc.
The display device 110 may be, for example, a head-up display (HUD), a touch screen type Liquid Crystal Display (LCD), and a touch display (also referred to as a "touch screen" or "touch display"). The liquid crystal display may enable a user to interact with a user interface of the mobile terminal. In some embodiments, the mobile terminal has a Graphical User Interface (GUI), and the user may interact with the GUI by touching finger contacts and/or gestures on the touch-sensitive surface, where the man-machine interaction functions optionally include the following interactions: executable instructions for performing the above-described human-machine interaction functions, such as creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving electronic mail, talking interfaces, playing digital video, playing digital music, and/or web browsing, are configured/stored in a computer program product or readable storage medium executable by one or more processors.
In one embodiment of the present application, a system for executing the above information processing method may include: the system comprises a spectator live client, a live server, a live client for hosting, a spectator game client, a game server and a game client for hosting.
The method comprises the steps that a live broadcasting client and a game playing client run on a terminal device of a host, the terminal device of the host displays corresponding game picture content by running the game playing client, the game picture content can be displayed by triggering the game playing client to render by a game server, and the game picture content can comprise game scenes of a game and virtual game roles moving in the game scenes; the main broadcasting terminal equipment broadcasts the games by running the main broadcasting live broadcasting client, alternatively, the main broadcasting terminal equipment displays a live broadcasting interface by running the main broadcasting live broadcasting client, the main broadcasting live broadcasting client can capture the game picture content displayed on the main broadcasting terminal equipment and display the game picture content on the live broadcasting interface, and meanwhile, the game picture content is forwarded to other audience live broadcasting clients in a video stream mode through a live broadcasting server (also called a live broadcasting platform) so as to realize the purpose of broadcasting the games.
The audience live client and the audience game client run on the audience terminal equipment, the audience terminal equipment displays a live broadcast interface by running the audience live client, receives a video stream aiming at game picture content and sent by a live broadcast server, and displays the game picture content on the live broadcast interface, alternatively, the audience live client can send an instruction of participating in the game to the live broadcast server, and further send interaction information related to the game, for example, the audience live client can send interactive information such as a barrage, a gift and the like related to the game to the live broadcast server, and the live broadcast server can forward the interaction information to the live broadcast client so as to display the interaction information on the live broadcast interface corresponding to the live broadcast client; optionally, the spectator terminal device may further run a spectator game client, and if the account number for logging in the spectator game client is the same as the account number for logging in the spectator live client, the virtual object in the game scene generated by the spectator game client may be used to generate a virtual game character in the game scene of the live game of the live spectator client.
As an optional example, after the spectator terminal device displays the live interface by running the spectator live client and displaying the game screen content on the live interface, interaction information may be sent to the live server, where the interaction information may be used to request the generation of a virtual game character in the game scene of the live game of the live spectator client; the live broadcast server can respond to the interaction information to acquire a first geographic position where the audience live broadcast client is located; the live server may determine a target location matching the first geographic location in the game scene, and may further determine a target attribute matching the interaction information and/or the first geographic location, thereby generating a virtual game character having the target attribute at the target location. The generation of a virtual game character with a target attribute at a target location by a live server is further described below.
In this embodiment, after the live server determines the target location and the target attribute, the target location and the target attribute may be sent to the game server, which in turn may generate a virtual game character with the target attribute at the target location in the game scene based on the target location, the target attribute, and trigger the hosting game client to render and display the virtual game character with the target attribute at the target location in the game scene. Optionally, the game server may generate a virtual game character with a target attribute at a target position in the game scene based on the target position, the target attribute and the virtual object in the game scene generated by the spectator game client, so as to trigger the host game client to render and display the virtual game character with the target attribute at the target position in the game scene.
In this embodiment, the live broadcast client may capture a virtual game role with a target attribute at a target position in a game scene displayed by the live broadcast client, display the virtual game role with the target attribute at the target position in the game scene on a live broadcast interface, and send the virtual game role with the target attribute at the target position in the game scene to the live broadcast server in a video stream manner, so as to achieve the purpose that the live broadcast server generates the virtual game role with the target attribute at the target position, and then the live broadcast server forwards the virtual game role to other live broadcast clients, so as to achieve the purpose of live broadcasting the game.
Optionally, in this embodiment, the spectator live client may send a behavior interaction instruction to the game server, and the game server responds to the behavior interaction instruction, and controls the behavior of the virtual game character with the target attribute at the target position in the game scene, and triggers the hosting game client to render and display the virtual game character that performs the behavior. Alternatively, the live host client may capture the virtual game character displayed by the live host client that performed the above-described behavior, and display the virtual game character that performed the above-described behavior on the live host client's live interface.
In the embodiment of the application, the live broadcast server can determine the target position matched with the first geographic position based on the first geographic position of the live broadcast client of the audience, and generate the virtual game role in the game scene of the live broadcast client of the audience based on the target position, so that the information interaction between the live broadcast client of the audience and the live broadcast client of the audience is realized through the live broadcast server, the problem that the live broadcast client of the audience is required to read interaction information and then convert data in the game scene is avoided, the technical effect of improving the diversification of the input information of the live broadcast client of the audience to the live broadcast client of the audience is further realized, and the technical problem that the input information of the live broadcast client of the audience to the live broadcast client of the audience is single is solved.
In this embodiment of the present Application, the terminal device may refer to a hardware device such as a mobile phone or a computer, and the client may refer to Application (APP) software.
In a possible implementation manner, the embodiment of the present application provides an information processing method from a live broadcast server side, and fig. 2 is a flowchart of the information processing method according to one embodiment of the present application, as shown in fig. 2, where the method may include the following steps:
Step S202, in response to the interaction information from the audience live client, acquiring a first geographic position where the audience live client is located, wherein the interaction information is used for requesting to generate a virtual game role in a game scene of a live game of the live client.
In the technical scheme provided in the above step S202 of the present application, the interaction information of the live client of the audience may be obtained, and the first geographic location where the live client of the audience is located may be obtained in response to the interaction information from the live client of the audience. The audience live client can be an application program for displaying a game scene of a live game of the live client, the application program can be a game program, and the audience live client can be an audience live application. The interactive information may be a barrage, may be used to request to generate a virtual game character in a game scene of a live game of a live client of a host, may be a barrage sent by a live client of a viewer, or may be information carried by a gift sent by the live client of the viewer, and the like. The virtual game characters can be game characters in a game scene, can be characters generated according to the head portrait of the live client in the live room, and can also be characters generated according to the characters in the account game of the live client, and are only used as examples, and the types and the determining modes of the virtual game characters are not particularly limited. The first geographic location may be a true geographic location where the viewer live client is located. The live host client may be an application for hosting a game scene of a game through a live server, and may be a live host Application (APP).
Optionally, the live broadcast server may send a personal information authorization request to the live audience client in response to the interactive information from the live audience client, where the personal information authorization request is a request for requesting whether to agree to the live audience client to acquire user information corresponding to the live audience client. After the live client of the audience agrees to the live server to obtain the user information, the live server may obtain the user information of the live client of the audience, for example, obtain a first geographic location where the live client of the audience is located.
For example, when a live client plays a game, a live client of a spectator sends interactive information to the live client of the live host. The live server may send a personal information authorization request to the viewer live client to determine whether to allow the geographic location of the viewer live client in response to the interaction information from the viewer live client. After the live server determines that the live client of the audience agrees that the live server obtains the geographic location of the live client of the audience, the live server may obtain the internet protocol address of the live client of the audience. Based on the obtained internet protocol address, the real geographic coordinate where the audience live client is located can be determined, so that the first geographic position where the audience live client is located is obtained.
It should be noted that, the user information (including, but not limited to, user equipment information, user personal information, etc.) and the data (including, but not limited to, data for analysis, stored data, presented data, etc.) related to the embodiments of the present application are information and data authorized by the user or fully authorized by each party, and the collection, use and processing of the related data need to comply with the related laws and regulations and standards of the related country and region, and provide a corresponding operation entry for the user to select authorization or rejection.
In step S204, in the game scene, a target location is determined that matches the first geographic location.
In the technical solution provided in the above step S204 of the present application, the target position that matches the first geographic position in the game scene may be determined based on the first geographic position where the client live broadcast by the audience is located. The target position may be a position in the game scene, for example, a position in the game scene represented by game coordinates. The game scene can be a scene of a live game of a live broadcast client through a live broadcast platform.
Alternatively, a first geographic location may be determined, the first geographic location (which may be audience geographic location information) may be mapped into game coordinates of the game scene, and the game coordinates mapped by the first geographic location may be determined as a target location that matches the first geographic location.
For example, when the audience live client sends out the interactive information with the content of "dancing arrow", the first geographic position of the audience live client may be acquired in response to the interactive information from the audience live client, the first geographic position may be mapped onto a map of a game size, game coordinates of the first geographic position in a game scene may be obtained, and a target position matching the first geographic position may be determined based on the obtained game coordinates.
For another example, when the first geographic location of the audience live client is obtained, a distance between the first geographic location and the live client of the host may be determined, the distance may be scaled in equal proportion, and a target location matching the first geographic location may be determined, so as to achieve the purpose of mapping the first geographic location information into a map of the game size.
Step S206, determining target attributes matched with the interaction information and/or the first geographic position, and generating the virtual game role with the target attributes at the target position.
In the technical solution provided in step S206 of the present application, a target attribute that matches the interaction information and/or the first geographic location may be determined, and a virtual game character with the target attribute may be generated at the target location. The target attribute may be an attribute of the virtual game character, for example, an attribute of ice, flame, physical resistance, etc. of the virtual game character. It should be noted that the above target attribute is merely an example, and the content of the target attribute is not specifically limited herein.
Optionally, in this embodiment, when the virtual game role with the target attribute is generated at the target position, the target position and the target attribute may be sent to the game server, and the game server may generate the virtual game role with the target attribute at the target position in the game scene based on the target position and the target attribute, so as to trigger the hosting game client to render and display the virtual game role with the target attribute at the target position in the game scene. In this embodiment, the live client of the host may capture the virtual game role with the target attribute at the target position in the game scene displayed by the live client of the host, and send the virtual game role with the target attribute at the target position in the game scene to the live server in a video stream manner, so as to achieve the purpose of generating the virtual game role with the target attribute at the target position by the live server.
In the related art, the simulation environment scene is obtained by simulating the real world rather than displaying the simulation scene in the live broadcast interface, but the method only displays the information sent by the audience live broadcast client directly in the game scene, so that the information input by the audience live broadcast client to the anchor live broadcast client is single. In the embodiment of the application, the first geographic position of the audience live client can be obtained, the target attribute matched with the interaction information and/or the first geographic position is determined, and the virtual game role with the target attribute is generated on the target position, so that the purpose that the game scene can be mapped through the geographic position is realized, and the effect of improving the diversification of the input information of the audience live client to the anchor live client is further achieved.
Alternatively, the interaction information and the first geographic location of the audience live client may be obtained, a target attribute that matches the interaction information and/or the first geographic location may be determined, and a virtual game character having the target attribute may be generated at the target location.
For example, a barrage sent by a live client of a viewer to a live client of a host may be obtained, so as to obtain interactive information with content of "sending frozen skills", and in response to the interactive information of the live client of the viewer, the first geographic location of the live client of the viewer is obtained as "Beijing". And determining that the target attribute matched with the interaction information is a frozen skill sent by the virtual game role. Determining 1500 kilometers in the northeast direction of the Beijing's true geographic location of the anchor live client may scale 1500 kilometers to determine a target location that matches the first geographic location. Virtual game characters that would develop frozen skills may be generated at the target location.
In this embodiment, the target location may be determined according to the scale from the true geographic coordinates (first geographic location) by joining the geographic location mapping game scenario. The live client of the audience and the live client of the anchor can generate virtual game characters in a game scene (game map) according to the account numbers. The target attribute of the virtual game character, such as character attribute, data and the like, can be determined based on the interaction information, and the virtual game character with the target attribute is displayed on the target position, so that the interaction of the audience live client and the anchor live client is realized in multiple ways, and the diversification of the input information of the audience live client to the anchor live client is improved.
In the embodiment of the application, the interaction information can be used for requesting to generate the virtual game role in the game scene of the live broadcast client live broadcast game, and the interaction information and the game effect in the game scene are paired, so that the connection of the live broadcast platform and the game data is realized, the interaction information of the live broadcast client of the audience is obtained through the bullet screen, the gift sending and other modes, and the diversity of interaction means of the live broadcast client of the audience and the live broadcast client of the host broadcast is enriched.
S202 to S206, responding to the interactive information from the audience live client, and acquiring a first geographic position of the audience live client, wherein the interactive information is used for requesting to generate a virtual game role in a game scene of the live game of the live client; determining a target position matched with the first geographic position in the game scene; a target attribute is determined that matches the interaction information and/or the first geographic location, and a virtual game character having the target attribute is generated at the target location. That is, the target position matched with the first geographic position is determined based on the first geographic position of the audience live client, and the virtual game role is generated in the game scene of the anchor live client based on the target position, so that information interaction between the anchor live client and the audience live client is completed, the technical effect of improving diversification of information input by the audience live client to the anchor live client is achieved, and the technical problem that the information input by the audience live client to the anchor live client is single is solved.
The above-described methods of embodiments of the present application are further described below.
As an optional embodiment, step S204, in the game scenario, determining the target location matching the first geographic location includes: in a game scenario, a target location is determined that matches a first geographic location and a second geographic location of a live client of a host.
In this embodiment, a first geographic location of the viewer's live client and a second geographic location of the anchor's live client may be determined. A target location in the game scene is determined that matches the first geographic location and the second geographic location. The second geographic location may be a real geographic location where the live client of the anchor is located.
Alternatively, a first geographic location of the viewer live client and a second geographic location of the anchor live client may be obtained, and the target location may be determined based on the first geographic location and the second geographic location.
For example, the first geographic location may be determined based on an internet protocol address of the viewer's live client. The second geographic location may be determined based on an internet protocol address of the anchor live client. The target location in the game scene may be determined based on the first geographic location and the second geographic location, e.g., assuming the first geographic location is located north-east of the second geographic location, the target location in the game scene at the virtual game character may be determined based on a relative positional relationship of the first geographic location and the second geographic location. It should be noted that the above method for determining the target position is merely an example, and the method for determining the target position is not particularly limited herein.
For another example, the data matching rule may be preset. The first geographic position and the second geographic position are acquired, and the target position matched with the first geographic position and the second geographic position in the game scene can be determined based on a preset data matching rule, so that the purpose of connecting the game scene with the first geographic position and the second geographic position in the platform information is achieved.
As an alternative embodiment, in a game scenario, determining a target location that matches a first geographic location and a second geographic location of a live host client includes: acquiring a target distance between a first geographic position and a second geographic position; in a game scene, a target position matching a target distance is acquired.
In this embodiment, a first geographic location and a second geographic location are acquired, and a target distance between the first geographic location and the second geographic location is determined. The target position can be obtained by determining the position matched with the target distance in the game scene.
For example, the first geographic location is determined to be "Beijing" and the second geographic location is determined to be "Xishan". The target distance between the first geographic location and the second geographic location is 1121 km. The target distance may be processed according to a rule (e.g., a scaling rule) set in advance, to obtain a target position that matches the target distance.
It should be noted that, the determination of the target position is merely an example, and the method for determining the target position is not particularly limited. Methods of determining the target location based on the relative distance between the first geographic location and the second geographic location are within the scope of embodiments of the present application.
As an alternative embodiment, in a game scene, acquiring a target position matched with a target distance includes: scaling the target distance according to the target map scale of the game scene; in the game scene, a target position corresponding to the scaled target distance is determined.
In this embodiment, the target distance may be scaled in accordance with a target map scale of a game scene in which a target position corresponding to the scaled target distance may be determined. The target map scale may be a preset game map scale, for example, may be 1 to 50, and the numbers are only examples herein.
Optionally, the target distance may be scaled to a target map scale of the game scene for purposes of generating a location in the virtual game environment based on the scale. A target location corresponding to the scaled target distance may be determined in the game scene.
In the embodiment of the application, the target distance can be scaled according to the target map proportion of the game scene, and in the game scene, the first geographic position (geographic position information) of the live client of the audience can be mapped into the map of the game size (target map proportion), so that the virtual game role of the live client of the audience is displayed. That is, the embodiment of the application generates the virtual game environment in the live broadcast interface according to the target map proportion by utilizing the real geographic position information, so that the virtual game roles corresponding to the live broadcast client of the audience and the live broadcast client of the host are displayed in the live broadcast interface, and the effect of improving the participation degree of the live broadcast client of the audience is achieved.
As an alternative embodiment, in a game scene, determining a target position corresponding to the scaled target distance includes: and determining the target position corresponding to the scaled target distance relative geographic position in a map database, wherein the map database is used for storing positions corresponding to different distances in the game scene.
In this embodiment, the target distance may be scaled according to a target map scale of the game scene, and a target position corresponding to the scaled target distance relative geographic position may be determined in the map database. The map database may be a game map coordinate database, and may be used to store positions corresponding to different distances in a game scene.
Alternatively, coordinates of each position in the game scene may be preset to obtain the map database. The target distance may be scaled based on the target map scale. A target location corresponding to the scaled target distance relative location may be determined based on the map database.
For example, coordinates established under the game scene a, the game scene B, and the game scene C may be stored in advance to obtain map coordinates corresponding to each game scene, thereby obtaining a map database including map coordinates corresponding to the game scene a, the game scene B, and the game scene C. The location of the second geographic location in the map coordinates may be set as the origin. The first geographic location is determined to be "Beijing" and the second geographic location is determined to be "Xishan". The target distance between the first geographic position and the second geographic position is 1121 km, the target distance can be scaled based on a target map scale of 1 to 5000, and since Beijing is in the northwest direction of western security, the target position corresponding to the scaled target distance relative to the geographic position can be determined to be in the northwest direction at 0.2242 meters from the origin. When the game scene of the live client of the main broadcasting is the game scene A, a target position corresponding to the scaled target distance relative geographic position in the map coordinates corresponding to the game scene A in the map database can be determined, and the virtual game character can be displayed at the target position.
As an alternative embodiment, step S206, generating a virtual game character at the target location includes: and generating the virtual game role at the target position based on the associated information of the account number of the audience live client.
In this embodiment, the association information of the account number of the live client of the audience is obtained, and the virtual game character may be generated at the target position based on the association information of the account number of the live client of the audience. The association information of the account number may be association information of the account number of the live client of the audience in the live broadcast room, for example, may be header information of the account number, game data, and the like.
Optionally, the association information of the account number of the live client of the audience may be obtained, and the virtual game character may be generated at the target position based on the association information of the account number of the live client of the audience.
For example, an account number of a live client of a viewer logging in a live is obtained, an avatar of the account number can be determined, associated information of the account number is obtained, a virtual game role can be generated according to the avatar of the live client of the viewer in a live room, and the virtual game role is generated at a target position.
For another example, a spectator living client may watch the living of game D through account 123@com, and the spectator has created a virtual object in game D through account 123@com, may read the virtual object at the highest or lowest level in the account, and may display the virtual object as a virtual game character at the target location.
In the related technology, when information such as a barrage or a gift is processed, only the content sent by the live client of the audience is read by a host player and then game objects in a game scene are controlled, so that the virtual game roles of the live client of the audience cannot be generated, and the problems of low participation and poor interactivity of the live client of the audience are caused.
As an alternative embodiment, the association information of the account number includes: the virtual object is in a game scene generated by the audience game client running the audience game client, and the audience game client logs in based on the account.
In this embodiment, the association information of the account number may include: head portrait information associated with the account number, and/or virtual objects associated with the account number. The head portrait information associated with the account number can be head portrait information of the audience living broadcast client side in a living broadcast room. The virtual object may be an in-game object associated with an account number of the spectator live client. The virtual object may be in a game scenario run by a spectator terminal device running a spectator game client, which may be logged in based on the account number of the spectator live client described above.
Optionally, the live client logs in at the live client through the account number, and in a game scene operated by the live client, the live client can control a virtual object associated with the account number. When the audience live client logs in the anchor live client by using the account number and watches live broadcast, the association information of the account number can be determined to obtain head portrait information associated with the account number, and/or a virtual object associated with the account number can generate a virtual game role on a target position based on the association information.
Optionally, in this embodiment, after determining the target location and the target attribute, the target location and the target attribute may be sent to a game server, where the game server may generate a virtual game character with the target attribute at the target location in the game scene based on the target location, the target attribute, and the virtual object in the game scene generated by the spectator game client, and further trigger the hosting game client to render and display the virtual game character with the target attribute at the target location in the game scene. In this embodiment, the live broadcasting client may capture the virtual game role with the target attribute at the target position in the game scene displayed by the live broadcasting client, and send the virtual game role with the target attribute at the target position in the game scene to the live broadcasting server in a video stream manner, so as to achieve the purpose that the live broadcasting server generates the virtual game role at the target position based on the virtual object in the game scene generated by the spectator game client.
As an alternative example, the virtual object is the highest-level virtual object associated with the account number, and the corresponding virtual game character may be generated using the virtual object. Alternatively, if the virtual object has multiple sets of clothing, appearance, or skin, the spectator live client may send instruction changes, and the appearance of the virtual object may be adjusted using the manner in which the live barrage is sent, to determine the final virtual game character.
As an optional embodiment, step S206, determining the target attribute matching the interaction information includes: extracting keywords from the interaction information; skill attributes characterized by the keywords are determined, wherein the target attributes include skill attributes.
In this embodiment, keywords may be extracted from the interaction information, and skill attributes characterized by the keywords may be determined to determine target attributes that match the interaction information. Wherein the target attribute may include a skill attribute; the skill attributes may be skills of the character of the virtual game, such as freezing, transmitting, etc., by way of example only, and the content of the skill attributes is not particularly limited. The keywords may be preset words, etc., or hot words with a relatively high frequency of use, or obtained from gifts sent by the audience live client, or obtained from barrages sent by the audience live client, and may be used to determine skill attributes.
Alternatively, the correspondence of the keywords to the skill attributes may be predetermined. And acquiring the interaction information, extracting keywords from the interaction information, and determining skill attributes characterized by the keywords from the predetermined corresponding relation so as to obtain target attributes.
For example, a database (also referred to as a keyword-language database) containing correspondence between keywords and skill attributes may be pre-constructed. After the audience live client sends interactive information to the anchor live client, the keyword can be extracted from the interactive information in response to the interactive information from the audience live client, and the skill attribute represented by the keyword can be determined based on the corresponding relation in the database.
For another example, the live broadcast platform may collect hot words by using a machine to monitor bullet screen words or manually configured hot words with highest recent frequency of the live broadcast platform, sort the collected hot words, and match the hot words with skill attributes to form a correspondence table. When the interactive information of "send ice" sent by the audience live client is obtained, the keywords in the interactive information are determined to be "ice", and the skill attribute corresponding to "ice" is further determined to be "ice skill". The freezing skills can be added to the virtual game roles in the live interface, so that interaction between the audience live client and the anchor live client is realized, and the diversity of information input by the audience live client to the anchor live client is further improved.
As an alternative example, the audience may send corresponding backdrop and/or gifts based on the cues set by the anchor. When the acquired interaction information is a barrage, keywords in the barrage can be directly acquired, and skill attributes characterized by the keywords can be determined in a keyword language database. When the obtained interaction information is a gift, keywords corresponding to the interaction information can be determined from an information base of gift data containing matching relations between hot words and gift data, keywords in the interaction information are obtained, and skill attributes represented by the keywords can be determined from a keyword language database.
As another optional example, the interactive information sent by the audience live client may be obtained, the interactive information may be matched with a background information base, a platform information block may be generated based on a rule preset in the live platform, and the platform information block may be connected with a data block in the game data, so as to determine a skill attribute represented by the keyword.
It should be noted that the above method for extracting the keywords and the method for determining the skill attributes characterized by the keywords are merely illustrative, and are not limited herein.
As an optional embodiment, step S206, determining the target attribute matching the first geographic location includes: acquiring environment information of a first geographic position; skill attributes that match the environmental information are determined, wherein the target attributes include skill attributes.
In this embodiment, the environmental information where the first geographic location is located may be obtained and skill attributes that match the environmental information may be determined. The environmental information may be information such as rain, snow, etc.
For example, the environmental information in which the first geographic location is located may be determined to be "snowing", and the skill attribute that matches the snowing may be determined to be "snowing", such that the skill of the virtual game character in the game scene may be determined to be snowing.
For another example, a barrage sent by the audience live client to the anchor live client may be obtained, so as to obtain the interactive information with the content of "sending out freezing skills", and the first geographic location of the audience live client is obtained in "Beijing" in response to the interactive information of the audience live client. And determining that the target attribute matched with the interaction information is a frozen skill sent out by the virtual game character, and determining that the skill attribute matched with the first geographic position is snowing when the Beijing is snowing. Determining 1500 kilometers in the northeast direction of the Beijing's true geographic location of the anchor live client may scale 1500 kilometers to determine a target location that matches the first geographic location. Virtual game characters that will give out frozen skills can be generated at the target locations, while snowing effects can be performed on the game scene and/or the locations where the virtual object characters are located. It should be noted that the manner of displaying the skill attributes is merely exemplary, and is not limited herein.
As an optional embodiment, step S202, in response to the interaction information from the live client of the viewer, acquires the first geographic location where the live client of the viewer is located, including: responding to first interaction information in the interaction information, and acquiring a first geographic position, wherein the first interaction information is used for requesting interaction with a game scene of a live game of a live client of a host to generate a virtual game role; determining a target attribute that matches the interaction information, comprising: and determining a target attribute matched with second interaction information in the interaction information, wherein the second interaction information is used for requesting to add the target attribute to the virtual game role.
In this embodiment, the interactive information sent by the live client of the audience is acquired, and the first geographic location may be acquired in response to the first interactive information in the interactive information, and the target attribute matched with the second interactive information in the interactive information may be determined. The first interaction information may be barrage information, for example, barrage information that may be "join game", and may be used to request interaction with a game scene of a live game of a live client of a host to generate a virtual game character. The second interaction information may be information such as a barrage, a gift, etc., sent by the spectator live client, and may be used to request that the target attribute be added to the virtual game character.
Optionally, when the audience live client sends the first interaction information to the anchor live client, it may be determined that the audience live client requests to interact with a game scene of the anchor live game of the anchor live client to generate a virtual game character, and at this time, the position of the audience live client may be read in response to the first interaction information to obtain the first geographic position. And acquiring the second interaction information, and determining target attributes matched with the second interaction information to determine target attributes required to be added to the virtual game role.
For example, when the live client of the audience wants to join the game scene of the live game in the live client of the host, a "join game" barrage (first interactive information) may be sent, the live client of the host reads the "join game" barrage, and the location of the live client of the audience is extracted in response to the first interactive information, so as to obtain the first geographic location. The first geographic location may be mapped into a game map of a game size to obtain a target location. After the audience live client sends the gift or the barrage (second interaction information) to the anchor live client, the target attribute can be added to the virtual game role in the game scene in response to the second interaction information, so that game interaction between the audience live client and the anchor live client is realized.
In the embodiment of the application, the first interaction information can be information set by the live broadcasting client of the anchor, and interaction between the live broadcasting client of the anchor and the live broadcasting client of the anchor can be performed only when the interaction information of the live broadcasting client of the anchor meets the information set by the live broadcasting client of the anchor, so that the problem that the interaction information of the anchor is mistakenly sent by the anchor and abnormal is caused is prevented, and the interaction efficiency between the live broadcasting client of the anchor and the live broadcasting client of the anchor is further improved.
As an alternative embodiment, the virtual game character and the live client of the host are controlled to interact between virtual game characters generated in the game scene.
In this embodiment, the virtual game role may be generated according to the account number of the live client of the audience, and interaction between the virtual game role generated by the live client of the audience and the virtual game role generated by the live client of the anchor in the game scene may be controlled.
For example, in response to the interaction information from the spectator live client, a virtual game character may be generated in a game scene of the live game of the live client, a target attribute of the virtual game character generated by the live client may be a directional skill or a target attribute of the target character for guiding and aiming for post-sending fixed assignment, and the target attribute of the live client may move along with the movement of the track of the target character, so that interaction between the virtual game character of the live client and the virtual game character generated by the live client in the game scene may be controlled.
In the related art, only the live client of the anchor reads the barrage sent by the live client of the audience, and the live client of the anchor directly adjusts the virtual game role generated in the game scene by the live client of the anchor. In the embodiment of the application, the live platform can generate the virtual game roles based on the interaction information sent by the live client of the audience, and the interaction between the virtual game roles of the live client of the audience and the virtual game roles generated in the game scene by the live client of the host can be realized by controlling the virtual game roles of the live client of the audience, so that the participation degree of the live client of the audience in the live process is improved.
In this embodiment, the interactive game rules and gift recharging rules may be customized by the host. When the audience live client enters the live room, the designated barrage set by the host can be sent, so that the audience live client joins the game. The live broadcast platform can capture the barrage sent by the live broadcast client of the audience, after the live broadcast client of the audience is determined to join in a game, the geographic positions of the live broadcast client of the audience and the live broadcast client of the host can be obtained, the relative geographic positions of the live broadcast client of the audience and the live broadcast client of the host are determined, and the relative geographic positions can be scaled according to the game map setting proportion. After the audience live client sends the barrage again to increase the game attributes such as freezing, flame, physical resistance and the like, the live platform can acquire the keywords and generate the virtual game character with the target attribute on the target position. The anchor can interact and play with the virtual game roles generated by the audience live client, so that the technical effect of diversification of information input by the audience live client to the anchor live client is improved, and the technical problem that the information input by the audience live client to the anchor live client is single is solved.
As an alternative embodiment, the interactive information includes a bullet screen and/or a virtual gift.
In this embodiment, the interactive information may include a bullet screen and/or a virtual gift. The barrage may be barrage information sent by the client live broadcasting to the audience, for example, may be "join a game". The virtual gift may be a gift sent by the audience live client to the anchor live client, for example, may be a "cloud arrow".
Optionally, the live client of the anchor may set prompt information in advance, and the live client of the audience may send corresponding interactive information, which may be a barrage and/or a virtual gift, according to the prompt set by the live client of the anchor, so as to join in a game scene of the live game.
In the embodiment of the application, the target position matched with the first geographic position is determined based on the first geographic position of the live client of the audience, and the virtual game role is generated in the game scene of the live client of the host based on the target position, so that information interaction between the live client of the host and the live client of the audience is completed, the technical effect of improving diversification of information input by the live client of the audience to the live client of the host is further achieved, and the technical problem that the input information of the live client of the audience to the live client of the host is single is solved.
The technical solutions of the examples of the present application are further exemplified in the following in connection with the preferred embodiments. The method is specifically used for further describing a technical method for enhancing interactivity of a live barrage game.
Currently, in the development of live barrage games, a plurality of barrage interactive games are already presented on the market, and how to convert information output by a live client of a spectator into more interactive forms is a key for enhancing live effect.
In the related art, some live barrage interactive games can perform data conversion on barrages sent by spectators to form changes to data in the game, for example, a host can read barrage content in a live client of the host, and control virtual game characters based on the barrage content. Or the audience live client can influence the game play of the anchor by giving away gifts, for example, the audience live client can send out a dancing arrow, so that all players in the game can dance at the same time, and the aim of the audience to participate in various interactions of the game is fulfilled. However, after the interactive information of the live client of the audience is obtained, the method cannot display the virtual game role of the live client of the audience on the live client of the anchor, so that the technical problem that the input information of the client to the live client of the anchor is single still exists.
In order to solve the problems, the embodiment of the application realizes that the game environment can be mapped through the geographic position, namely, the virtual image can be generated and game interaction can be carried out in the game scene of the live client of the host according to the actual position of the audience in the live client of the audience, so that the interactive interestingness in the live process is improved, the technical effect of improving the diversification of the input information of the live client of the audience to the live client of the host is further realized, and the technical problem that the input information of the live client of the audience to the live client of the host is single is solved.
In the embodiment of the application, a background keyword word stock, an information stock of gift data and a game map coordinate stock are required to be set, so as to obtain a platform language retrieval stock (also called a background keyword information stock). And searching the barrage, the gift and the real geographic coordinates of the live client of the audience, and matching the barrage and/or the gift with a background key information storage library to form a platform information block, for example, different information blocks can be obtained according to the input information of the audience through a platform established rule, so that the matching of the live client of the audience and the live platform information is completed. The platform information block is connected with the game effect (target attribute) data block, and when the platform information block is successfully matched with the game effect data block, the execution can be triggered in a game scene, so that the control of game data in the live broadcast process is realized, for example, the real coordinates can be connected with the game coordinates.
Embodiments of the present application are further described below.
FIG. 3 is a flow chart of a method of processing data according to one embodiment of the present application, as shown in FIG. 3, the enhancement of live barrage game interactivity may include the following steps.
Step S301, setting a game rule.
In this embodiment, the game rules may be customized, where the game rules may include interactive game rules, gift recharging rules, and the like. A background key language field library can be constructed to form a platform language search library (which can be a background word library).
Alternatively, a background key information store including a background key language field library, an information library of gift data, and a game map coordinate library may be custom set.
For example, machine monitoring and manual configuration may be used to collect hot words, where the hot words may be bullet words with highest recent frequency on the live platform. The hot words conforming to the playing method can be arranged manually or by a machine, and the hot words can be matched with gift data to form a corresponding table. For example, the hotspot word "666" matches the gift with a name 666.
In this embodiment, the live client of the anchor may pair the bullet screen or gift from the live client of the audience with the game effect, thereby implementing the connection of the platform and the game data.
Step S302, a barrage sent by a live client of a viewer is obtained.
In this embodiment, the viewer live client may send corresponding bullet screens and gifts according to the prompts set by the anchor. The live client of the audience can acquire the barrage and/or the gift sent by the live client of the audience, and the barrage and/or the gift sent by the live client of the audience are processed, so that the live client of the audience joins the game.
Fig. 4 is a schematic diagram of a live client of a spectator sending a barrage according to an embodiment of the present application, as shown in fig. 4, the live platform searches the barrage and gift sent by the spectator, and when the background reads the barrage sent by the spectator c and "join in the game", the true position of the spectator c can be read.
FIG. 5 is a schematic diagram of acquiring a real position of a live client of a viewer, where the live platform may send a notification requesting to acquire position information to the live client of the viewer, as shown in FIG. 5, and may read the real position of the viewer c when the live client of the viewer allows the live platform to use the position information, according to one embodiment of the present application
Step S303, displaying the virtual game roles of the audience live client in the live interface.
In this embodiment, the virtual game role may be generated according to the head portrait of the live client of the audience in the live room, or may be generated according to the game image of the live client of the audience and the account game, and the geographic position information of the live client of the audience is mapped to a map of the game size, as the display position of the virtual game role.
Step S304, obtaining a barrage sent by the audience live client and determining the target attribute of the virtual game role of the audience live client.
In this embodiment, the spectator live client may send a gift or a barrage, and the target attribute corresponding to the sent barrage or gift may be determined to determine the purpose of the target attribute (also referred to as a game attribute) of the spectator live client's virtual game character.
For example, fig. 6 is a schematic diagram of a live client sending a barrage for a spectator according to one embodiment of the present application, where, as shown in fig. 6, a barrage of "flame+10" may be sent after a spectator c joins a game. The background (which may be a live platform) reads the barrage sent by the audience c.
Step S305, adding a game attribute to the virtual game character of the audience live client.
In this embodiment, the bullet screen sent by the audience live client is obtained, and the bullet screen can be searched according to the name of the preset game attribute, so that the keyword is obtained. After the keyword is acquired, game attributes corresponding to the virtual game characters can be generated on the target position of the game map. The game attribute may be a character that is designated to be directed and aimed after being issued, for example, may be a character that moves along a track as the aimed character moves; or the skill track is fixed and can be a straight line with the length of 500 and the width of 20; or may be a circle of radius 50 of its own range, etc., by way of example only, without specific limitation to the manifestation of the game attribute.
For example, spectator c may send a "flame +10" bullet screen after joining the game. The background (also may be a live broadcast platform) reads the barrage sent by the audience c, determines that the keyword in the barrage is "flame+10", as shown in fig. 6, and may add the flame skills to the virtual game character c corresponding to the audience c, and display the virtual game character c in a live broadcast picture.
As an alternative example, fig. 7a is a schematic diagram of data processing according to one embodiment of the present application, where, as shown in fig. 7a, all information carried by a bullet screen and/or a gift may be acquired, and the acquired information may be converted into corresponding segments by using a natural language processing technology, so as to obtain segment 1, segment 2, segment 3, and segment 4. The obtained language segments can be subjected to field searching work to obtain corresponding fields 1, 2 and 3 … …, and the fields can be matched in a platform language searching library to determine corresponding game attributes.
Step S306, interacting with the virtual game character generated by the audience live client.
In this embodiment, the anchor may interact with the game character generated by the spectator live client.
Optionally, by setting up a matching rule of the audience language information block and the game information block, the accurate connection between the intra-game effect change and the information input of the audience live client can be realized, and the real position information of the audience live client and the coordinate information of the game map are projected, so that the interaction effect of the anchor and the audience in the live broadcast process is improved; the interest of the audience live client in the barrage game process is increased, so that the game content is diversified; the conversion rate of gift gifts is stimulated by increasing the input channel of information of the audience living client.
In this embodiment, fig. 7b is a flowchart of interactions between clients according to one embodiment of the present application, as shown in fig. 7b, interactions between a spectator live client 71, a live host client 72, a live server 73, a game server 74, and a live host game client 75 may include the following steps.
In step S701, the live client 72 of the anchor defines the interactive game rule and the gift recharging rule.
In this embodiment, the interactive game rules and gift recharging rules may be customized by the anchor live client 72.
In step S702, the viewer live client 71 enters a live room.
In this embodiment, the audience live client 71 may enter the live room when it wants to watch a live.
In step S703, the viewer live client 71 transmits a bullet screen.
In this embodiment, when the spectator live client 71 enters the live room, a designated barrage of the hosting setting may be sent to join the game.
In step S704, the live server 73 acquires the geographical location.
In this embodiment, when the spectator live client 71 enters the live room of the anchor live client 72, a designated barrage of the anchor setting may be sent to join the game. The live server 73 may capture the bullet screen sent by the spectator live client 71, and after determining that the spectator live client 71 joins the game, may obtain the geographic locations of the spectator live client 71 and the anchor live client 72.
In step S705, the live server 73 zooms the relative geographic location.
In this embodiment, the live server 73 determines the geographic locations of the spectator live client 71 and the anchor live client 72, may determine the relative geographic location between the spectator live client 71 and the anchor live client 72 based on the geographic locations of the spectator live client 71 and the anchor live client 72, and may scale the relative geographic locations according to the game map settings.
In step S706, the viewer live client 71 transmits a bullet screen to increase the game attribute.
In this embodiment, the spectator live client 71 may send a bullet screen again to increase the game attributes of ice, flame, physical resistance, etc.
In step S707, the live server 73 determines the target attribute of the virtual game character based on the keyword in the barrage.
In this embodiment, the live server 73 may process the barrage to obtain keywords, determine target attributes of the virtual game character based on the keywords in the barrage, and generate the virtual game character having the target attributes at the target location.
In step S708, the game server 74 generates a virtual game character having a target attribute at a target position in the game scene based on the scaled geographical position and the target attribute.
After the live server 73 determines the scaled geographic location and target attributes, the scaled geographic location and target attributes may be sent to the game server 74, and the game server 74 may generate a virtual game character with target attributes at a target location in the game scene based on the scaled geographic location and target attributes.
In step S709, the hosting game client 75 renders and displays the virtual game character with the target attribute on the scaled geographical position in the game scene.
In this embodiment, the hosting game client 75 may render a virtual game character with a target attribute at a scaled geographic location in the display game scene. Alternatively, the live host client 72 may capture a virtual game character having a target attribute at a target location in a game scene displayed by the live host client 75 and display the virtual game character having the target attribute at the target location in the game scene on a live interface of the live host client 72.
Step S710, the behavior of the virtual game character is presented on the live client 72.
In this embodiment, the spectator live client 71 may send behavior interaction instructions to the game server 74, which game server 74 responds to the behavior interaction instructions to control the behavior of the virtual game character and trigger the hosting game client 75 to render the virtual game character in which the behavior was performed. Optionally, the live client 72 may capture the virtual game role displayed by the live client 75 and display the virtual game role on the live interface of the live client 72, thereby implementing the technical effect of improving the diversity of information input from the live client to the live client, and solving the technical problem that the input information from the live client to the live client is relatively single.
Optionally, the live client of the host broadcasting can set the condition of joining in the live game scene, can be a barrage and/or a virtual gift, and can generate a virtual game role in the game scene only after the live client of the host broadcasting sends the corresponding barrage and/or virtual gift to the live client of the host broadcasting, so that the live client of the host broadcasting can formulate the joining rule of the live broadcasting room according to the own needs, and further the management efficiency of the live broadcasting client of the host broadcasting to the live broadcasting room is improved.
In this embodiment, a target position matched with the first geographic position can be determined based on the first geographic position of the live client of the audience, and a virtual game role is generated in a game scene of the live client of the host based on the target position, so that information interaction between the live client of the host and the live client of the audience is completed, further, the technical effect of improving diversification of information input by the live client of the audience to the live client of the host is achieved, and the technical problem that the live client of the audience is single in information input by the live client of the host to the live client of the host is solved.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present application.
In this embodiment, an information processing apparatus is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and will not be described in detail. As used below, the term "unit" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 8 is a block diagram of an information processing apparatus according to an embodiment of the present application, and as shown in fig. 8, the information processing apparatus may include: an acquisition unit 802, a determination unit 804, and a generation unit 808.
An obtaining unit 802, configured to obtain, in response to the interaction information from the live client of the audience, a first geographical location where the live client of the audience is located, where the interaction information is used to request generation of a virtual game character in a game scene of a live game of the live client of the host.
A determining unit 804 is configured to determine, in the game scene, a target location that matches the first geographic location.
A generating unit 806 is configured to determine a target attribute that matches the interaction information and/or the first geographic location, and generate a virtual game character with the target attribute at the target location.
In the embodiment, the first geographic position of the live client of the audience is obtained through an obtaining unit in response to the interaction information from the live client of the audience, wherein the interaction information is used for requesting to generate a virtual game role in a game scene of a live game of the live client of the host; determining, by the determining unit, a target position matching the first geographic position in the game scene; the generating unit determines the target attribute matched with the interaction information and/or the first geographic position, and generates the virtual game role with the target attribute on the target position, so that the technical effect of improving the diversification of the information input by the audience live client to the anchor live client is achieved, and the technical problem that the information input by the audience live client to the anchor live client is single is solved.
It should be noted that each of the above units may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the units are all located in the same processor; alternatively, the units described above may be located in different processors, respectively, in any combination.
Embodiments of the present application also provide a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
Alternatively, in the present embodiment, the above-described computer-readable storage medium may be configured to store a computer program for performing the steps of:
s1, responding to interaction information from a live client of a spectator, and acquiring a first geographic position of the live client of the spectator, wherein the interaction information is used for requesting to generate a virtual game role in a game scene of a live game of a live client of a host;
s2, determining a target position matched with the first geographic position in the game scene;
and S3, determining target attributes matched with the interaction information and/or the first geographic position, and generating the virtual game roles with the target attributes on the target positions.
Alternatively, in the present embodiment, the above-described computer-readable storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
Embodiments of the present application also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, responding to interaction information from a live client of a spectator, and acquiring a first geographic position of the live client of the spectator, wherein the interaction information is used for requesting to generate a virtual game role in a game scene of a live game of a live client of a host;
s2, determining a target position matched with the first geographic position in the game scene;
and S3, determining target attributes matched with the interaction information and/or the first geographic position, and generating the virtual game roles with the target attributes on the target positions.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
Fig. 9 is a schematic diagram of an electronic device according to an embodiment of the present application. As shown in fig. 9, the electronic device 900 is only an example, and should not impose any limitation on the functions and scope of use of the embodiments of the present application.
As shown in fig. 9, the electronic apparatus 900 is embodied in the form of a general purpose computing device. Components of electronic device 900 may include, but are not limited to: the at least one processor 910, the at least one memory 920, a bus 930 that connects the different system components (including the memory 920 and the processor 910), and a display 940.
Wherein the above-mentioned memory 920 stores program code that can be executed by the processor 910, such that the processor 910 performs the steps according to various exemplary implementations of the present application described in the above-mentioned method section of the present application embodiment.
The memory 920 may include readable media in the form of volatile memory units, such as Random Access Memory (RAM) 10201 and/or cache memory 9202, and may further include Read Only Memory (ROM) 10203, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
In some examples, memory 920 may also include a program/utility 9204 having a set (at least one) of program modules 9205, such program modules 9205 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Memory 920 may further include memory located remotely from processor 910, which may be connected to electronic device 900 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The bus 930 may be one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processor 910, or a local bus using any of a variety of bus architectures.
Display 940 may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of electronic device 900.
Optionally, the electronic apparatus 900 may also communicate with one or more external devices 900 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic apparatus 900, and/or with any device (e.g., router, modem, etc.) that enables the electronic apparatus 900 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 950. Also, electronic device 900 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 960. As shown in fig. 9, the network adapter 960 communicates with other modules of the electronic device 900 over the bus 930. It should be appreciated that although not shown in fig. 9, other hardware and/or software modules may be used in connection with electronic device 900, which may include, but are not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The electronic device 900 may further include: a keyboard, a cursor control device (e.g., a mouse), an input/output interface (I/O interface), a network interface, a power supply, and/or a camera.
It will be appreciated by those skilled in the art that the configuration shown in fig. 9 is merely illustrative and is not intended to limit the configuration of the electronic device. For example, the electronic device 900 may also include more or fewer components than shown in fig. 9, or have a different configuration than shown in fig. 9. The memory 920 may be used to store a computer program and corresponding data, such as a computer program and corresponding data corresponding to an information processing method in an embodiment of the present application. The processor 910 executes a computer program stored in the memory 920 to perform various functional applications and information processing, that is, to implement the above-described information processing method.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application and are intended to be comprehended within the scope of the present application.

Claims (15)

1. An information processing method, characterized by comprising:
responding to interaction information from a live client of a spectator, and acquiring a first geographic position of the live client of the spectator, wherein the interaction information is used for requesting to generate a virtual game role in a game scene of a live game of a live client of a host;
determining a target position matched with the first geographic position in the game scene;
a target attribute that matches the interaction information and/or the first geographic location is determined, and a virtual game character having the target attribute is generated at the target location.
2. The method of claim 1, wherein determining a target location in the game scene that matches the first geographic location comprises:
in the game scenario, the target location is determined that matches the first geographic location and a second geographic location of the anchor live client.
3. The method of claim 2, wherein determining the target location that matches the first geographic location and a second geographic location of the anchor live client in the game scenario comprises:
acquiring a target distance between the first geographic position and the second geographic position;
and in the game scene, acquiring the target position matched with the target distance.
4. A method according to claim 3, wherein in the game scene, obtaining the target location that matches the target distance comprises:
scaling the target distance according to a target map scale of the game scene;
in the game scene, the target position corresponding to the scaled target distance is determined.
5. The method of claim 4, wherein determining the target location corresponding to the scaled target distance in the game scene comprises:
and determining the target position corresponding to the scaled target distance relative geographic position in a map database, wherein the map database is used for storing positions corresponding to different distances in the game scene.
6. The method of claim 1, wherein generating a virtual game character at the target location comprises:
and generating the virtual game role at the target position based on the associated information of the account number of the audience live client.
7. The method of claim 6, wherein the account number association information comprises: and/or a virtual object associated with the account, wherein the virtual object is in a game scene generated by a spectator terminal device running a spectator game client, and the spectator game client logs in based on the account.
8. The method of claim 1, wherein determining a target attribute that matches the interaction information comprises:
extracting keywords from the interaction information;
determining a skill attribute characterized by the keyword, wherein the target attribute comprises the skill attribute.
9. The method of claim 1, wherein determining a target attribute that matches the first geographic location comprises:
acquiring environment information of the first geographic position;
Determining a skill attribute that matches the environmental information, wherein the target attribute comprises the skill attribute.
10. The method of claim 1, wherein the step of determining the position of the substrate comprises,
responding to the interaction information from the audience live client, acquiring a first geographic position of the audience live client, wherein the first geographic position comprises the following steps: responding to first interaction information in the interaction information, and acquiring the first geographic position, wherein the first interaction information is used for requesting interaction with a game scene of the live game of the live client to generate the virtual game role;
determining a target attribute matched with the interaction information comprises the following steps: and determining the target attribute matched with second interaction information in the interaction information, wherein the second interaction information is used for requesting to add the target attribute to the virtual game role.
11. The method according to any one of claims 1 to 10, further comprising:
and controlling the virtual game role and the live client side to interact with each other between the virtual game roles generated in the game scene.
12. A method according to any one of claims 1 to 10, wherein the interactive information comprises a barrage and/or virtual gift.
13. An information processing apparatus, characterized by comprising:
the system comprises an acquisition unit, a control unit and a control unit, wherein the acquisition unit is used for responding to interaction information from a live client of a spectator and acquiring a first geographic position where the live client of the spectator is located, wherein the interaction information is used for requesting to generate a virtual game role in a game scene of a live game of a live client of a host;
a determining unit, configured to determine, in the game scene, a target position that matches the first geographic position;
and the generation unit is used for determining target attributes matched with the interaction information and/or the first geographic position and generating virtual game roles with the target attributes at the target positions.
14. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program, wherein the computer program is arranged to perform the method of any of the claims 1 to 12 when being run by a processor.
15. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the method of any of the claims 1 to 12.
CN202310208785.0A 2023-02-28 2023-02-28 Information processing method, information processing device, storage medium, and electronic device Pending CN116320645A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310208785.0A CN116320645A (en) 2023-02-28 2023-02-28 Information processing method, information processing device, storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310208785.0A CN116320645A (en) 2023-02-28 2023-02-28 Information processing method, information processing device, storage medium, and electronic device

Publications (1)

Publication Number Publication Date
CN116320645A true CN116320645A (en) 2023-06-23

Family

ID=86828230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310208785.0A Pending CN116320645A (en) 2023-02-28 2023-02-28 Information processing method, information processing device, storage medium, and electronic device

Country Status (1)

Country Link
CN (1) CN116320645A (en)

Similar Documents

Publication Publication Date Title
CN109011574B (en) Game interface display method, system, terminal and device based on live broadcast
EP3754992A1 (en) Immersive interactive remote participation in live entertainment
CN108245891B (en) Head-mounted equipment, game interaction platform and table game realization system and method
CN102884490A (en) Maintaining multiple views on a shared stable virtual space
CN111888759A (en) Game skill release method, data processing method and device
JP2011086293A (en) Method for playing browser based game with alternative control and interface
CN113633973A (en) Game screen display method, device, equipment and storage medium
JP2013061889A (en) Program, information storage medium, terminal device, and server
CN111836110B (en) Method and device for displaying game video, electronic equipment and storage medium
WO2022267729A1 (en) Virtual scene-based interaction method and apparatus, device, medium, and program product
CN113490006A (en) Live broadcast interaction method and equipment based on bullet screen
WO2019035193A1 (en) Game program and game program control method
CN114938459A (en) Virtual live broadcast interaction method and device based on barrage, storage medium and equipment
CN110801629B (en) Method, device, terminal and medium for displaying virtual object life value prompt graph
CN114339438B (en) Interaction method and device based on live broadcast picture, electronic equipment and storage medium
KR102105525B1 (en) Method for providing game video, server for providing game video, and apparatus for executing the same
WO2023093389A1 (en) Game pop-up window display method and apparatus, and device, medium and program product
CN111389007A (en) Game control method and device, computing equipment and storage medium
CN116320645A (en) Information processing method, information processing device, storage medium, and electronic device
CN115382208A (en) Three-dimensional guide map generation method, device, storage medium and electronic device
CN114225412A (en) Information processing method, information processing device, computer equipment and storage medium
KR102271323B1 (en) Broadcasting effect offering device and method
CN115396685B (en) Live interaction method and device, readable storage medium and electronic equipment
CN113144623B (en) Recommendation information determining method, display method, device, equipment and storage medium
WO2022137343A1 (en) Information processing method, computer-readable medium, and information processing device

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