CN110743163A - Method and system for entering same game room based on live broadcast interface two-dimensional code - Google Patents

Method and system for entering same game room based on live broadcast interface two-dimensional code Download PDF

Info

Publication number
CN110743163A
CN110743163A CN201910911241.4A CN201910911241A CN110743163A CN 110743163 A CN110743163 A CN 110743163A CN 201910911241 A CN201910911241 A CN 201910911241A CN 110743163 A CN110743163 A CN 110743163A
Authority
CN
China
Prior art keywords
game
application
request
dimensional code
anchor
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
CN201910911241.4A
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.)
Evergrande Intelligent Technology Co Ltd
Original Assignee
Evergrande Intelligent Technology 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 Evergrande Intelligent Technology Co Ltd filed Critical Evergrande Intelligent Technology Co Ltd
Priority to CN201910911241.4A priority Critical patent/CN110743163A/en
Publication of CN110743163A publication Critical patent/CN110743163A/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/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • 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/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
    • 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/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
    • A63F13/795Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories for finding other players; for building a team; for providing a buddy list
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9554Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality
    • 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/53Features 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 basic data processing
    • A63F2300/531Server assignment
    • 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/55Details of game data or player data management
    • A63F2300/5546Details of game data or player data management using player registration data, e.g. identification, account, preferences, game history
    • A63F2300/5566Details of game data or player data management using player registration data, e.g. identification, account, preferences, game history by matching opponents or finding partners to build a team, e.g. by skill level, geographical area, background, play style

Abstract

The invention provides a method for entering the same game room based on a live interface two-dimensional code, which comprises the following steps: an anchor application end process monitors a triggered game sharing event, the anchor application end sends an information pulling request to a first game application carried in equipment at the same time to form a two-dimensional code, and the two-dimensional code is displayed in a display interface of the anchor application end; if the user application end monitors the triggering of the game joining request event, the user identifies the two-dimensional code in the screenshot; the user application terminal analyzes the two-dimensional code and extracts a game identifier, a game room number and address data of a game background server; and utilizing the intent component to drive the system to jump the display process to the game application with the same game identifier, so that the user end joins the room with the same anchor game application.

Description

Method and system for entering same game room based on live broadcast interface two-dimensional code
Technical Field
The embodiment of the invention relates to the field of image propagation, in particular to a method and a system for entering the same game room based on a live interface two-dimensional code.
Background
Live broadcast generally refers to a playing mode in which generation and playing of media files are performed simultaneously, live broadcast includes live webcast played on a live webcast platform, and users of live webcast include a main webcast and audiences. With the increasing popularity of live broadcast platforms, the number of anchor broadcasts is increasing day by day, and the number of live broadcast programs is increasing.
In the existing live broadcast mode, if a spectator wants to play a game interaction with a main broadcast or play a game in the same room, a barrage is required to be sent to inquire the number of the room of the main broadcast, then the game is opened, a room number is searched for and the process is very complicated.
Disclosure of Invention
In order to solve the above problem, an embodiment of the present invention provides a method for entering the same game room based on a live interface two-dimensional code, including the following steps:
an anchor application end process monitors a triggered game sharing event, and according to the triggered game sharing event, the anchor application end sends an information pulling request to a first game application carried in equipment at the same time, wherein the information pulling request is a request for a game identifier, a game room number and a game background server address;
the anchor application end receives the fed back game room number and the game background server address, packages the game room number and the game background server address to form a two-dimensional code, and displays the two-dimensional code in a display interface of the anchor application end;
correspondingly, a user application end monitors a game joining request event, wherein the game joining request event is that a user clicks a preset button, the button user is used for triggering a request of a user end for joining the same room number in the same anchor game, and if the user application end monitors the triggering of the game joining request event, the user application end carries out screenshot on a live broadcast interface which is watched currently and identifies a two-dimensional code in the screenshot;
the user application terminal analyzes the two-dimensional code and extracts a game identifier, a game room number and address data of a game background server;
the user application end inputs the game identifier into an intent component of the user application end, the intent component is used for driving a system to jump a display process to the game application which is the same as the game identifier, a background of the application end delivers the game room number and address data of a game background server to the game application, and the intent component is a function code preset in an SDK (software development kit) package by a technician;
and the game application initiates a request for joining a game room to the game background server according to the address of the game background server, wherein the request is accompanied by the game room number so that the user equipment and the anchor enter the same room in the same game.
Preferably, the step of monitoring, by the anchor application process, a triggered game sharing event, and sending, by the anchor application, an information pulling request to a first game application simultaneously carried in the device according to the triggered game sharing event, where the information pulling request is a request for a game identifier, a game room number, and a game background server address, includes:
the anchor application is provided with a trigger button, the button is used for a user to click and trigger a game sharing event, the game sharing event is a two-dimensional code, the two-dimensional code is used for a user side to identify and enter the same room in a game recorded by the anchor application, the two-dimensional code comprises a game identifier, a game room number and a game background server address, and the game room number is the room number to which the game which is live by the anchor application belongs.
Preferably, the step of sending, by the anchor application terminal, an information pull request to the first game application simultaneously carried in the device further includes:
the game application is provided with an interface in advance, and the interface is used for being called by the anchor application end, so that the game application can identify and receive an information pulling request of the anchor application end and deliver the request to the game background server address.
Preferably, the step of receiving, by the anchor application, the fed game room number and the game background server address, encapsulating the game room number and the game background server address to form a two-dimensional code, and displaying the two-dimensional code on a display interface of the anchor application includes:
the game application receives a message returned by a game background server, forwards the message to the anchor application end, and the anchor application end analyzes the game room number, the game identifier and the game background server address in the message, packages the game room number, the game identifier and the game background server address into a two-dimensional code and displays the two-dimensional code in a display interface of the anchor application end.
Preferably, the step of displaying the two-dimensional code in the display interface of the anchor application includes:
the display interface is divided into a plurality of display areas, and the anchor application end of the display areas places the generated two-dimensional codes in corner areas of any display area.
Preferably, the step of the user application performing screenshot on the live interface currently being watched by the user application and identifying the two-dimensional code in the screenshot includes:
accessing a surfefringer service under a native directory, driving the surfefringer service to lock a frame buffer by using a screencap function, extracting a latest frame of image in the frame buffer to further complete a function of capturing a live broadcast interface which is currently watched, wherein the frame buffer comprises a picture synthesis image of all processes of equipment, and unlocking the frame buffer after the frame buffer is obtained;
and performing two-dimensional code identification on the extracted frame image.
Preferably, after the step of initiating, by the game application, a request for joining a game room to the game backend server according to the address of the game backend server, where the request is accompanied by the game room number, so that the user equipment and the anchor enter the same room in the same game, the method further includes:
and after receiving the request for joining the game room, the game background server judges whether the number of players in the game room number is saturated, and if so, returns a rejection request message to the game application process of the user side.
Preferably, after the step of initiating, by the game application, a request for joining a game room to the game backend server according to the address of the game backend server, where the request is accompanied by the game room number, so that the user equipment and the anchor enter the same room in the same game, the method further includes:
after receiving the request for joining the game room, the game background server judges whether the number of players in the game room number is saturated, if so, the game background server sorts the requests according to the request triggering time uploaded by each application end to form a waiting queue;
and periodically detecting whether the room has an available position, if so, establishing a link with the queue first-order application end to allow a queue first-order application end user to enter the room, and sending the current room state data to the application end for loading.
The invention also provides a system for entering the same game room based on the live interface two-dimensional code, which comprises the following steps:
the sharing module is used for monitoring a triggered game sharing event by an anchor application end process, and according to the triggered game sharing event, the anchor application end sends an information pulling request to a first game application carried in equipment at the same time, wherein the information pulling request is a request for a game identifier, a game room number and a game background server address;
the two-dimension code module is used for receiving the fed game room number and the game background server address by the anchor application end, packaging the game room number and the game background server address to form a two-dimension code, and displaying the two-dimension code in a display interface of the anchor application end;
the joining module is used for monitoring a game joining request event by a user application end, wherein the game joining request event is that a user clicks a preset button, the button user is used for triggering a request of a user end for joining the same room number in the same anchor game, and if the user application end monitors the triggering of the game joining request event, the user application end conducts screenshot on a live broadcast interface which is watched currently and identifies a two-dimensional code in the screenshot.
And the analysis module is used for analyzing the two-dimensional code by the user application end and extracting the game identifier, the game room number and the address data of the game background server.
The skip module is used for inputting the game identifier into an intent component of the user application end, using the intent component to drive a system to skip a display process to the game application which is the same as the game identifier, delivering the game room number and the address data of the game background server to the game application by a background of the application end, and presetting the intent component in an SDK (software development kit) package by a technician;
and the game room module is used for initiating a request for joining a game room to the game background server by the game application according to the address of the game background server, and the game room number is attached to the request so that the user equipment and the anchor can enter the same room in the same game.
The present invention also provides a computer storage medium storing a computer program capable of being executed by at least one processor, the method for entering the same game room based on the two-dimensional code of the live interface as described above.
The method for entering the same game room based on the live broadcast interface two-dimensional codes avoids the complex process that audiences or fans and anchor players interact in the same game room in the existing live broadcast mode, only the two-dimensional codes need to be scanned, the live broadcast application automatically jumps to corresponding game application, and the game room number in the two-dimensional codes is directly added, so that the interaction efficiency and the convenience are improved.
Drawings
FIG. 1 is a flow chart of steps of a method for entering the same game room based on two-dimensional codes of a live interface according to the present invention;
FIG. 2 is a schematic diagram of a program module of a system for accessing the same game room based on two-dimensional codes of a live interface according to the present invention;
fig. 3 is a schematic diagram of a hardware structure of the computer device of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that although the terms first, second, etc. may be used to describe the designated key in embodiments of the present invention, the designated key should not be limited to these terms. These terms are only used to distinguish specified keywords from each other. For example, the first specified keyword may also be referred to as the second specified keyword, and similarly, the second specified keyword may also be referred to as the first specified keyword, without departing from the scope of embodiments of the present invention.
The word "if" as used herein may be interpreted as referring to "at … …" or "when … …" or "corresponding to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (a stated condition or time)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
Referring to fig. 1, an embodiment of the present invention provides a method for entering a same game room based on a live interface two-dimensional code, including:
step S100, an anchor application end process monitors a triggered game sharing event, and according to the triggered game sharing event, the anchor application end sends an information pulling request to a first game application carried in equipment at the same time, wherein the information pulling request is a request for a game identifier, a game room number and a game background server address.
Specifically, the anchor application end is specially provided with a trigger button for a user to click and further trigger the starting of a game sharing event, wherein the game sharing event refers to that the anchor shares a corresponding live game room number and displays the game room number in a live image interface in a two-dimensional code mode, so that a series of step sets that each user watching the live game scans codes and joins in the game room are provided.
When the anchor wants to enable the fan users to play games in the same room together with the anchor, the anchor further receives a game sharing event starting signal transmitted by a button by a processing unit in equipment carried by an anchor application end through clicking the trigger button, the processing unit detects each process operated by a current system, and the process with the highest CPU occupancy rate is identified as a game process.
Each process has a path stored in the system for the program code corresponding to the process, so that, after the game process is identified, through the storage path registered in the system, inquiring the folder in the path for the communication text, wherein the communication text specifies a format definition of a message sent by an external application to the game application message, generating an information pulling request according to a format defined in the communication text, wherein the information pulling request is a request for a game identifier, a game room number and a game background server address, after receiving an information pulling request sent by live broadcast software, the game application uploads the request to a corresponding game background server, the game background server inquires the room number of the game application terminal sending the request, and returns the room number to the game process in the live player equipment, and the game process forwards the message to the live broadcast software process.
In addition, since many game backend servers do not open communication to ports of other non-game applications, a game process is required as an intermediary for transferring messages, and since one server may not handle background message processing for one game, the information pull request needs to include a game identifier, for example, 1011 for the identifier corresponding to royal glory.
Step S200, the anchor application receives the fed back game room number and the address of the game background server, packages the game room number and the address of the game background server to form a two-dimensional code, and displays the two-dimensional code in a display interface of the anchor application.
The method comprises the steps that a main broadcasting application end, namely a port of a live broadcasting software application, receives a game room number and a game background server address which are transmitted by a game application through a corresponding port, generates a two-dimensional code by utilizing a two-dimensional code technology, and injects game room number and game background server address information into the main broadcasting application end, wherein the game room number and the game background server address information basically do not exceed 32 bytes, so that the game room number information and the game background server address information carried by the two-dimensional code are more than sufficient, in addition, the game background server address can be omitted, and the scheme provided by the invention can be completed only by carrying game room number data.
And after the two-dimensional code is generated, the two-dimensional code is sent to each fan user equipment as a part of data stream sent to each fan user equipment, and the two-dimensional code can be seen in a display interface in a live broadcast client of each fan user equipment.
Step 300 is relatively, a user application end monitors a game joining request event, the game joining request event is that a user clicks a preset button, the button user is used for triggering a request that a user end joins the same room number in the same anchor game, if the user application end monitors the triggering of the game joining request event, the user application end conducts screenshot on a live broadcast interface which is watched currently, and two-dimensional codes in the screenshot are identified.
Specifically, the scheme of the invention needs interaction between two parties, so that the application end of the fan user also needs to be provided with a corresponding trigger button to start game joining of the fan application end, and after the anchor shares the two-dimensional code of the game room, the user of the fan application end may choose to join the anchor game room, or only like to watch the anchor game, but does not want to join the game room or download the related game application.
When a user clicks a game joining request button, an application end monitors game joining behaviors made by the user, the user application end can capture a current live broadcast interface or the whole screen interface, and image data stored in the captured image is provided with a two-dimensional code naturally.
In addition, the fan user application end is a live broadcast software application of the fan device.
And S400, the user application terminal analyzes the two-dimensional code and extracts a game identifier, a game room number and address data of a game background server in the two-dimensional code.
Specifically, the fan user side calls a camera or a two-dimensional code scanner in the equipment to scan the two-dimensional code in the screenshot, analyzes the two-dimensional code, and extracts the game identifier, the game room number and the address data of the game background server.
In addition, since the two-dimensional code has various pattern forms and belongs to the prior art, the invention is not described herein again.
Step S500, the user application end inputs the game identifier into an intent component of the user application end, the intent component is used for driving a system to jump a display process to the game application identical to the game identifier, a background of the application end delivers the game room number and address data of the game background server to the game application, and the intent component is a function code preset in an SDK package by a technician.
Specifically, after the two-dimensional code is obtained through analysis, the effect of injecting the game identifier into the two-dimensional code at the anchor terminal can be embodied at the moment, the live broadcast software application needs to display process skip according to the game identifier attached to the two-dimensional code, after all, the user side is watched in the live broadcast, no matter a PC platform or an android platform, a plurality of games are installed in equipment of the watching user, the anchor broadcast only broadcasts a game in the live broadcast mode, therefore, the two-dimensional code does not have the game identifier, the display process does not skip to a correct game, and the correct game is the same game which is being broadcasted with the anchor broadcast.
The Intent component is an Intent function, taking an android terminal as an example, since a game room the same as a main broadcast needs to be added for playing a game, the user is forced to leave a live broadcast software application interface and start a game with the same identifier as the game identifier in the two-dimensional code, for example, the game identifier in the two-dimensional code is 1011, and a game corresponding to 1011 is honored by a queen, the live broadcast software configures the Intent function in activity by using the Intent function, inputs the package name of the game identifier in the Intent function, delivers the package name to a system framework layer for implicit start, and converts a display window into a game application by the system to finish the jump of a display process. The Intent function plus the associated configuration function code can ride the Intent component.
Step S600, the game application initiates a request for joining a game room to the game backend server according to the address of the game backend server, and the game room number is attached to the request, so that the user equipment and the anchor enter the same room in the same game.
Specifically, after the game application is started, the game process automatically sends a request for joining the game room to the server according to the game room number carried in the two-dimensional code, and if the room is not saturated, the background server agrees to the joining request and loads the game data related to the game application to enable the game application to load the game data related to other people for synchronization.
The method for entering the same game room based on the live broadcast interface two-dimensional codes avoids the complex process that audiences or fans and anchor players interact in the same game room in the existing live broadcast mode, only the two-dimensional codes need to be scanned, the live broadcast application automatically jumps to corresponding game application, and the game room number in the two-dimensional codes is directly added, so that the interaction efficiency and the convenience are improved.
Optionally, step S100, the anchor application process monitors a triggered game sharing event, and according to the triggered game sharing event, the anchor application sends an information pulling request to a first game application simultaneously carried in the device, where the information pulling request is a request for a game identifier, a game room number, and an address of a game background server, and the method includes:
the anchor application is provided with a trigger button, the button is used for a user to click and trigger a game sharing event, the game sharing event is a two-dimensional code, the two-dimensional code is used for a user side to identify and enter the same room in a game recorded by the anchor application, the two-dimensional code comprises a game identifier, a game room number and a game background server address, and the game room number is the room number to which the game which is live by the anchor application belongs.
Optionally, the step of sending, by the anchor application terminal in step S100, an information pulling request to the first game application simultaneously carried in the device further includes:
the game application is provided with an interface in advance, and the interface is used for being called by the anchor application end, so that the game application can identify and receive an information pulling request of the anchor application end and deliver the request to the game background server address.
Optionally, in step S200, the anchor application receives the fed game room number and the game background server address, and encapsulates them to form a two-dimensional code, and the step of displaying the two-dimensional code on the display interface of the anchor application includes:
the game application receives a message returned by a game background server, forwards the message to the anchor application end, and the anchor application end analyzes the game room number, the game identifier and the game background server address in the message, packages the game room number, the game identifier and the game background server address into a two-dimensional code and displays the two-dimensional code in a display interface of the anchor application end.
Optionally, the step of displaying the two-dimensional code in the display interface of the anchor application terminal in step S200 includes:
the display interface is divided into a plurality of display areas, and the anchor application end of the display areas places the generated two-dimensional codes in corner areas of any display area.
Optionally, in step S300, the step of capturing a screenshot of the live interface currently being watched by the user application, and identifying the two-dimensional code in the screenshot includes:
step S310 accesses a surfaceflag service under a native directory, a screencap function is used for driving the surfaceflag service to lock a frame buffer, the latest frame of image in the frame buffer is extracted to further complete the function of screenshot on the live broadcast interface which is watched currently, the frame buffer comprises picture synthesis images of all processes of the equipment, and the frame buffer is unlocked after the frame buffer is obtained.
Step S320 performs two-dimensional code recognition on the extracted frame image.
Optionally, in step S600, the game application initiates a request for joining a game room to the game backend server according to the address of the game backend server, where the request is accompanied by the game room number, so that the user equipment and the anchor enter the same room in the same game, and after the step, the method further includes:
in step S610, the game backend server receives the request to join the game room, and determines whether the number of players in the game room number is saturated, and if so, returns a rejection request message to the game application process of the user side.
Optionally, in step S600, the game application initiates a request for joining a game room to the game backend server according to the address of the game backend server, where the request is accompanied by the game room number, so that the user equipment and the anchor enter the same room in the same game, and after the step, the method further includes:
step S620, after receiving the request for joining the game room, the game background server judges whether the number of players in the game room number is saturated, if so, the game background server sorts the requests according to the request triggering time uploaded by each application terminal to form a waiting queue;
step S630 periodically detects whether a room has an empty position, if so, establishes a link with the queue head application end to allow a queue head application end user to enter the room, and sends current room state data to the application end for loading.
Referring to fig. 2, the present invention further provides a system for entering the same game room based on a live interface two-dimensional code, including:
the sharing module 100 is configured to monitor a triggered game sharing event by an anchor application process, and according to the triggered game sharing event, the anchor application sends an information pulling request to a first game application simultaneously carried in a device, where the information pulling request is a request for a game identifier, a game room number, and an address of a game background server;
the two-dimensional code module 200 is used for receiving the fed game room number and the game background server address by the anchor application end, packaging the game room number and the game background server address to form a two-dimensional code, and displaying the two-dimensional code in a display interface of the anchor application end;
the joining module 300 is used for monitoring a game joining request event by a user application end, wherein the game joining request event is that a user clicks a preset button, the button user is used for triggering a request of a user end for joining the same room number in the same anchor game, and if the user application end monitors the triggering of the game joining request event, the user application end captures a live broadcast interface which is watched currently and identifies a two-dimensional code in the captured image;
the analysis module 400 is used for the user application end to analyze the two-dimensional code and extract a game identifier, a game room number and address data of a game background server in the two-dimensional code;
the skip module 500 is used for the user application end to input the game identifier into an intent component provided by the user application end, the intent component is used for driving a system to skip a display process to the game application which is the same as the game identifier, a background of the application end delivers the game room number and the address data of the game background server to the game application, and the intent component is a function code preset in an SDK (software development kit) package by a technician;
a game room module 600, configured to initiate, by the game application, a request for joining a game room to the game backend server according to the address of the game backend server, where the game room number is attached to the request, so that the user equipment and the anchor enter the same room in the same game. Please refer to fig. 3, which is a schematic diagram of a hardware architecture of a computer device according to an embodiment of the present invention. In the present embodiment, the computer device 2 is a device capable of automatically performing numerical calculation and/or information processing in accordance with a preset or stored instruction. The computer device 2 may be a personal computer, a tablet computer, a mobile phone, a smartphone, or a rack server, a blade server, a tower server, or a cabinet server (including an independent server or a server cluster composed of a plurality of servers), and the like, and is configured to provide a virtual client. As shown, the computer device 2 includes, but is not limited to, at least a memory 21, a processor 22, a network interface 23, andsystem for entering same game room based on live broadcast interface two-dimensional code20, wherein:
in this embodiment, the memory 21 includes at least one type of computer-readable storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the storage 21 may be an internal storage unit of the computer device 2, such as a hard disk or a memory of the computer device 2. In other embodiments, the memory 21 may also be an external storage device of the computer device 2, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (Secure Digital) SD Card, a Flash memory Card (Flash Card), etc. provided on the computer device 20, although of course, the memory may be a memory Card21 may also include both internal and external storage units of the computer device 2. In this embodiment, the memory 21 is used for storing an operating system and various application software installed in the computer device 2, for exampleSystem for entering same game room based on live broadcast interface two-dimensional code20, etc. Further, the memory 21 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 22 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data Processing chip in some embodiments. The processor 22 is typically used to control the overall operation of the computer device 2. In this embodiment, the processor 22 is used for executing program codes stored in the memory 21 or processing data, such as executingSystem for entering same game room based on live broadcast interface two-dimensional code20 to implement takeaway personnel basedBased on live broadcast Interface two-dimensional code entering same game roomA method.
The network interface 23 may comprise a wireless network interface or a limited network interface, and the network interface 23 is typically used for establishing a communication connection between the computer device 2 and other electronic apparatuses. For example, the network interface 23 is used to connect the computer device 2 with an external terminal necklace, establish a data transmission channel and a communication connection between the computer device 2 and an external interrupt, and the like via a network. The network may be a wireless or wired network such as an Intranet (Intranet), the Internet (Internet), a Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth (Bluetooth), Wi-Fi, and the like.
In the present embodiment, the data stored in the memory 21Two-dimensional code entering same game room based on live interface Of (2) a20 may also be divided into one or more program modules that are stored in memory 21 and executed by one or more processors, such as processor 22 in this embodiment, to carry out the invention.
In addition, the embodiment also providesA computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application mall, etc., is provided, on which a computer program is stored, which when executed by a processor, implements corresponding functions. The computer-readable storage medium of the present embodiment is used for storageTwo-dimension code entering same game room based on live interface Inter-system20, when executed by a processor, implement the inventionTwo-dimensional code entering same game room based on live interfaceA method.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for entering the same game room based on two-dimension codes of a live interface is characterized by comprising the following steps:
an anchor application end process monitors a triggered game sharing event, and according to the triggered game sharing event, the anchor application end sends an information pulling request to a first game application carried in equipment at the same time, wherein the information pulling request is a request for a game identifier, a game room number and a game background server address;
the anchor application end receives the fed back game room number and the game background server address, packages the game room number and the game background server address to form a two-dimensional code, and displays the two-dimensional code in a display interface of the anchor application end;
correspondingly, a user application end monitors a game joining request event, wherein the game joining request event is that a user clicks a preset button, the button user is used for triggering a request of a user end for joining the same room number in the same anchor game, and if the user application end monitors the triggering of the game joining request event, the user application end carries out screenshot on a live broadcast interface which is watched currently and identifies a two-dimensional code in the screenshot;
the user application terminal analyzes the two-dimensional code and extracts a game identifier, a game room number and address data of a game background server;
the user application end inputs the game identifier into an intent component of the user application end, the intent component is used for driving a system to jump a display process to the game application which is the same as the game identifier, a background of the application end delivers the game room number and address data of a game background server to the game application, and the intent component is a function code preset in an SDK (software development kit) package by a technician;
and the game application initiates a request for joining a game room to the game background server according to the address of the game background server, wherein the request is accompanied by the game room number so that the user equipment and the anchor enter the same room in the same game.
2. The two-dimensional code entering the same game room based on the live interface of claim 1, wherein the process of the anchor application monitors a triggered game sharing event, and according to the triggered game sharing event, the anchor application sends an information pulling request to a first game application simultaneously carried in a device, and the information pulling request is a request for a game identifier, a game room number, and a game background server address, and includes:
the anchor application is provided with a trigger button, the button is used for a user to click and trigger a game sharing event, the game sharing event is a two-dimensional code, the two-dimensional code is used for a user side to identify and enter the same room in a game recorded by the anchor application, the two-dimensional code comprises a game identifier, a game room number and a game background server address, and the game room number is the room number to which the game which is live by the anchor application belongs.
3. The method for entering the same game room based on the live interface two-dimensional code as claimed in claim 1, wherein the step of the anchor application sending the information pulling request to the first game application simultaneously carried in the device further comprises:
the game application is provided with an interface in advance, and the interface is used for being called by the anchor application end, so that the game application can identify and receive an information pulling request of the anchor application end and deliver the request to the game background server address.
4. The method for entering the same game room based on the live interface two-dimensional code as claimed in claim 3, wherein the step of receiving the game room number and the game background server address fed back by the anchor application, encapsulating the game room number and the game background server address to form a two-dimensional code, and displaying the two-dimensional code in the display interface of the anchor application comprises:
the game application receives a message returned by a game background server, forwards the message to the anchor application end, and the anchor application end analyzes the game room number, the game identifier and the game background server address in the message, packages the game room number, the game identifier and the game background server address into a two-dimensional code and displays the two-dimensional code in a display interface of the anchor application end.
5. The method for entering the same game room based on the live interface two-dimensional code according to claim 4, wherein the step of displaying the two-dimensional code in the display interface of the anchor application comprises:
the display interface is divided into a plurality of display areas, and the anchor application end of the display areas places the generated two-dimensional codes in corner areas of any display area.
6. The method for entering the same game room based on the live interface two-dimensional code according to claim 1, wherein the step of the user application capturing a shot of the live interface currently being watched and identifying the two-dimensional code in the shot comprises:
accessing a surfefringer service under a native directory, driving the surfefringer service to lock a frame buffer by using a screencap function, extracting a latest frame of image in the frame buffer to further complete a function of capturing a live broadcast interface which is currently watched, wherein the frame buffer comprises a picture synthesis image of all processes of equipment, and unlocking the frame buffer after the frame buffer is obtained;
and performing two-dimensional code identification on the extracted frame image.
7. The method for entering the same game room based on the live interface two-dimensional code as claimed in claim 1, wherein the game application initiates a request for joining a game room to the game backend server according to the address of the game backend server, and after the step of attaching the game room number to the request to enable the user equipment and the anchor to enter the same room in the same game, the method further comprises:
and after receiving the request for joining the game room, the game background server judges whether the number of players in the game room number is saturated, and if so, returns a rejection request message to the game application process of the user side.
8. A method for making a game room based on a live interface two-dimensional code according to claim 1, wherein the game application initiates a request for joining a game room to the game backend server according to the address of the game backend server, and the request is accompanied by the game room number so that a user equipment and the anchor enter the same room in the same game, further comprising:
after receiving the request for joining the game room, the game background server judges whether the number of players in the game room number is saturated, if so, the game background server sorts the requests according to the request triggering time uploaded by each application end to form a waiting queue;
and periodically detecting whether the room has an available position, if so, establishing a link with the queue first-order application end to allow a queue first-order application end user to enter the room, and sending the current room state data to the application end for loading.
9. A system for entering the same game room based on two-dimension codes of a live interface is characterized by comprising:
the sharing module is used for monitoring a triggered game sharing event by an anchor application end process, and according to the triggered game sharing event, the anchor application end sends an information pulling request to a first game application carried in equipment at the same time, wherein the information pulling request is a request for a game identifier, a game room number and a game background server address;
the two-dimension code module is used for receiving the fed game room number and the game background server address by the anchor application end, packaging the game room number and the game background server address to form a two-dimension code, and displaying the two-dimension code in a display interface of the anchor application end;
the joining module is used for monitoring a game joining request event by a user application end, wherein the game joining request event is that a user clicks a preset button, the button user is used for triggering a request of a user end for joining the same room number in the same anchor game, and if the user application end monitors the triggering of the game joining request event, the user application end carries out screenshot on a live broadcast interface which is watched currently and identifies a two-dimensional code in the screenshot;
the analysis module is used for analyzing the two-dimensional code by the user application end and extracting a game identifier, a game room number and address data of a game background server;
the skip module is used for inputting the game identifier into an intent component of the user application end, using the intent component to drive a system to skip a display process to the game application which is the same as the game identifier, delivering the game room number and the address data of the game background server to the game application by a background of the application end, and presetting the intent component in an SDK (software development kit) package by a technician;
and the game room module is used for initiating a request for joining a game room to the game background server by the game application according to the address of the game background server, and the game room number is attached to the request so that the user equipment and the anchor can enter the same room in the same game.
10. A computer storage medium, characterized in that the computer storage medium stores a computer program capable of being executed by at least one processor to perform a method of entering a same game room based on a live interface two-dimensional code according to claims 1 to 8.
CN201910911241.4A 2019-09-25 2019-09-25 Method and system for entering same game room based on live broadcast interface two-dimensional code Pending CN110743163A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910911241.4A CN110743163A (en) 2019-09-25 2019-09-25 Method and system for entering same game room based on live broadcast interface two-dimensional code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910911241.4A CN110743163A (en) 2019-09-25 2019-09-25 Method and system for entering same game room based on live broadcast interface two-dimensional code

Publications (1)

Publication Number Publication Date
CN110743163A true CN110743163A (en) 2020-02-04

Family

ID=69277034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910911241.4A Pending CN110743163A (en) 2019-09-25 2019-09-25 Method and system for entering same game room based on live broadcast interface two-dimensional code

Country Status (1)

Country Link
CN (1) CN110743163A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111282263A (en) * 2020-03-03 2020-06-16 北京奇艺世纪科技有限公司 Event message processing method and device, electronic equipment and readable storage medium
CN111773661A (en) * 2020-07-03 2020-10-16 珠海金山网络游戏科技有限公司 System, method and device for team formation game based on live broadcast interface
CN111818357A (en) * 2020-07-21 2020-10-23 网易(杭州)网络有限公司 Network live broadcast control method and device
CN113992619A (en) * 2020-07-10 2022-01-28 腾讯科技(深圳)有限公司 Live broadcast information processing method, device, equipment and computer readable storage medium
CN114904282A (en) * 2022-07-13 2022-08-16 深圳市乐易网络股份有限公司 Game picture sharing method and system and computer equipment
CN115460431A (en) * 2022-09-23 2022-12-09 北京爱奇艺科技有限公司 Media stream live broadcasting method, system, computer equipment and storage medium
CN115623227A (en) * 2021-07-12 2023-01-17 北京字节跳动网络技术有限公司 Live video photographing method, device and equipment and computer readable storage medium
CN115695831A (en) * 2022-09-19 2023-02-03 北京所思信息科技有限责任公司 Live broadcast interaction method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327109A (en) * 2013-06-27 2013-09-25 腾讯科技(深圳)有限公司 Method, terminals and system for accessing game and method and servers for processing game
CN103316472A (en) * 2013-05-17 2013-09-25 南京睿悦信息技术有限公司 Android device gas platform system based on Bluetooth handle and implementation method of Android device gas platform system
CN104168517A (en) * 2014-08-04 2014-11-26 广州华多网络科技有限公司 Method and system for entering live channels
CN106302610A (en) * 2015-06-08 2017-01-04 博雅网络游戏开发(深圳)有限公司 User interaction method based on geographical position and device
CN106506178A (en) * 2016-11-30 2017-03-15 武汉斗鱼网络科技有限公司 A kind of method and system for for the accurate drainage of main broadcaster
CN107277636A (en) * 2017-06-15 2017-10-20 广州华多网络科技有限公司 It is a kind of it is live during interactive approach, user terminal, main broadcaster end and system
CN107281756A (en) * 2017-05-05 2017-10-24 武汉斗鱼网络科技有限公司 A kind of method and apparatus for game of forming a team

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103316472A (en) * 2013-05-17 2013-09-25 南京睿悦信息技术有限公司 Android device gas platform system based on Bluetooth handle and implementation method of Android device gas platform system
CN103327109A (en) * 2013-06-27 2013-09-25 腾讯科技(深圳)有限公司 Method, terminals and system for accessing game and method and servers for processing game
CN104168517A (en) * 2014-08-04 2014-11-26 广州华多网络科技有限公司 Method and system for entering live channels
CN106302610A (en) * 2015-06-08 2017-01-04 博雅网络游戏开发(深圳)有限公司 User interaction method based on geographical position and device
CN106506178A (en) * 2016-11-30 2017-03-15 武汉斗鱼网络科技有限公司 A kind of method and system for for the accurate drainage of main broadcaster
CN107281756A (en) * 2017-05-05 2017-10-24 武汉斗鱼网络科技有限公司 A kind of method and apparatus for game of forming a team
CN107277636A (en) * 2017-06-15 2017-10-20 广州华多网络科技有限公司 It is a kind of it is live during interactive approach, user terminal, main broadcaster end and system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111282263A (en) * 2020-03-03 2020-06-16 北京奇艺世纪科技有限公司 Event message processing method and device, electronic equipment and readable storage medium
CN111773661A (en) * 2020-07-03 2020-10-16 珠海金山网络游戏科技有限公司 System, method and device for team formation game based on live broadcast interface
CN111773661B (en) * 2020-07-03 2024-05-03 珠海金山数字网络科技有限公司 System, method and device for team formation game based on live broadcast interface
CN113992619A (en) * 2020-07-10 2022-01-28 腾讯科技(深圳)有限公司 Live broadcast information processing method, device, equipment and computer readable storage medium
CN113992619B (en) * 2020-07-10 2024-03-08 腾讯科技(深圳)有限公司 Live information processing method, device, equipment and computer readable storage medium
CN111818357A (en) * 2020-07-21 2020-10-23 网易(杭州)网络有限公司 Network live broadcast control method and device
CN115623227A (en) * 2021-07-12 2023-01-17 北京字节跳动网络技术有限公司 Live video photographing method, device and equipment and computer readable storage medium
CN114904282A (en) * 2022-07-13 2022-08-16 深圳市乐易网络股份有限公司 Game picture sharing method and system and computer equipment
CN115695831A (en) * 2022-09-19 2023-02-03 北京所思信息科技有限责任公司 Live broadcast interaction method, device, equipment and storage medium
CN115460431A (en) * 2022-09-23 2022-12-09 北京爱奇艺科技有限公司 Media stream live broadcasting method, system, computer equipment and storage medium
CN115460431B (en) * 2022-09-23 2023-10-10 北京爱奇艺科技有限公司 Media stream live broadcast method, system, computer device and storage medium

Similar Documents

Publication Publication Date Title
CN110743163A (en) Method and system for entering same game room based on live broadcast interface two-dimensional code
US10065119B2 (en) Game accessing method and processing method, server, terminal, and system
CN106341695B (en) Live broadcast room interaction method, device and system
CN109525851B (en) Live broadcast method, device and storage medium
US20220167036A1 (en) Live broadcast method and apparatus, and computer device and storage medium
US10198238B2 (en) Data transmission method, and relevant device and system
EP1694071A1 (en) Interactive video applications
CN101873325B (en) Flash supporting and processing method, system, mobile terminal and transfer server
US20150261389A1 (en) Communication Event History
CN110945863B (en) Photographing method and terminal equipment
CN109754329B (en) Electronic resource processing method, terminal, server and storage medium
CN111901695B (en) Video content interception method, device and equipment and computer storage medium
WO2018161887A1 (en) Data interaction method and device, and storage medium
CA3102425C (en) Video processing method, device, terminal and storage medium
CN113630618B (en) Video processing method, device and system
CN109089152B (en) Operation method, device, equipment and storage medium of live broadcast room
CN112188223B (en) Live video playing method, device, equipment and medium
CN110697517A (en) Elevator control method, system and storage medium based on cell
CN113938742B (en) Control method, system, equipment and storage medium for automatic screen-throwing content playing
WO2018121542A1 (en) Operation method and apparatus for service object, and electronic device
CN102761453A (en) Method for testing availability of client and client
CN113613029A (en) Live broadcast picture display method and device, storage medium and electronic equipment
CN112861612A (en) Method and device for shooting image, electronic equipment and storage medium
CN116866628A (en) Live broadcasting room interaction method and device and video live broadcasting system
CN113179445B (en) Video sharing method based on interactive object and interactive object

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200204