[go: up one dir, main page]

CN116389778B - A method, system, device and storage medium for switching scenes in a voice room - Google Patents

A method, system, device and storage medium for switching scenes in a voice room Download PDF

Info

Publication number
CN116389778B
CN116389778B CN202310301621.2A CN202310301621A CN116389778B CN 116389778 B CN116389778 B CN 116389778B CN 202310301621 A CN202310301621 A CN 202310301621A CN 116389778 B CN116389778 B CN 116389778B
Authority
CN
China
Prior art keywords
scene mode
scene
room
client
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310301621.2A
Other languages
Chinese (zh)
Other versions
CN116389778A (en
Inventor
舒伟
郭曼丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Xinyu Network Technology Co ltd
Original Assignee
Guangzhou Xinyu Network 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 Guangzhou Xinyu Network Technology Co ltd filed Critical Guangzhou Xinyu Network Technology Co ltd
Priority to CN202310301621.2A priority Critical patent/CN116389778B/en
Publication of CN116389778A publication Critical patent/CN116389778A/en
Application granted granted Critical
Publication of CN116389778B publication Critical patent/CN116389778B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/233Processing of audio elementary streams
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明公开了一种语音房场景切换方法、系统、装置及存储介质,包括:响应于用户的语音房进入请求,通过服务器获取用户的第一客户端版本,判断第一客户端版本与目标语音房的第一场景模式是否匹配;当第一客户端版本与第一场景模式不匹配,判断第一场景模式是否配置有对第一客户端版本兼容的备选场景模式;当第一场景模式配置有对应的备选场景模式,授权用户进入目标语音房,并在用户的客户端上将目标语音房切换为备选场景模式;当第一场景模式未配置对应的备选场景模式,获取与第一场景模式兼容的第二客户端版本,并引导用户更新客户端至第二客户端版本。本发明实现了语音房场景的智能切换,提高了用户的使用体验,可广泛应用于网络直播技术领域。

The present invention discloses a method, system, device and storage medium for switching scenes in a voice room, including: in response to a user's voice room entry request, obtaining the user's first client version through a server, judging whether the first client version matches the first scene mode of a target voice room; when the first client version does not match the first scene mode, judging whether the first scene mode is configured with an alternative scene mode compatible with the first client version; when the first scene mode is configured with a corresponding alternative scene mode, authorizing the user to enter the target voice room, and switching the target voice room to the alternative scene mode on the user's client; when the first scene mode is not configured with a corresponding alternative scene mode, obtaining a second client version compatible with the first scene mode, and guiding the user to update the client to the second client version. The present invention realizes intelligent switching of voice room scenes, improves the user's experience, and can be widely used in the field of network live broadcast technology.

Description

Voice room scene switching method, system, device and storage medium
Technical Field
The invention relates to the technical field of network live broadcast, in particular to a voice room scene switching method, a system, a device and a storage medium.
Background
In order to enhance the interaction with different types of users, the existing voice live-broadcast friend-making APP can set different room scene modes to achieve the interaction requirement, such as a personal radio live broadcast mode, a double-person interaction mode, a multi-person interaction mode and the like, and the layout styles, the wheat position numbers and the like of the different room scene modes can be different. In the technical iteration process, a new scene mode is added, but part of old version applications do not realize the scene mode of the type, so that the problem that the old version applications are not compatible with the new scene mode exists, and the use experience of a user is affected. In addition, when different scene modes are switched, the problem that the audio channels of all users are not synchronous exists, and when the network is weak, an administrator updates the room scene mode, and the problem that the room scene mode cannot be synchronously updated in real time exists at the user side, so that the use experience of the users is also influenced.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems existing in the prior art to a certain extent.
Therefore, an object of the embodiments of the present invention is to provide a method for switching a speech room scene, which implements intelligent switching of speech room scenes and improves the user experience.
Another object of the embodiment of the present invention is to provide a voice room scene switching system.
In order to achieve the technical purpose, the technical scheme adopted by the embodiment of the invention comprises the following steps:
in a first aspect, an embodiment of the present invention provides a method for switching a speech room scene, including the following steps:
Responding to a voice room entering request of a user, acquiring a first client version of the user through a server, and judging whether the first client version is matched with a first scene mode of a target voice room or not;
when the first client version is not matched with the first scene mode, judging whether the first scene mode is configured with an alternative scene mode compatible with the first client version;
when the first scene mode is configured with the corresponding alternative scene mode, authorizing the user to enter the target voice room, and switching the target voice room into the alternative scene mode on the client of the user;
And when the first scene mode is not configured with the corresponding alternative scene mode, acquiring a second client version compatible with the first scene mode, and guiding the user to update the client to the second client version.
Further, in one embodiment of the present invention, the step of obtaining, by the server, the first client version of the user and determining whether the first client version matches the first scene mode of the target speech room specifically includes:
analyzing the voice room entering request through the server, and determining the first client version and the target voice room;
Acquiring the current first scene mode of the target voice room, and determining the minimum version requirement of the first scene mode configuration;
Judging whether the first client version meets the minimum version requirement, if so, matching the first client version with the first scene mode, and if not, not matching the first client version with the first scene mode.
Further, in an embodiment of the present invention, the method for switching a speech room scene further includes a step of pre-configuring the alternative scene mode, which specifically includes:
when the target voice room is newly added with the first scene mode, determining a first scene layout and a first wheat number of the first scene mode;
Acquiring an existing second scene mode of the target voice room, and determining a second scene layout and a second wheat number of the second scene mode;
and when the similarity between the first scene layout and the second scene layout is greater than or equal to a preset first threshold, and the first number of wheat bits is consistent with the second number of wheat bits, configuring the second scene mode as the alternative scene mode.
Further, in one embodiment of the present invention, the method for switching a speech room scene further includes the steps of:
when the first scene mode is not configured with the corresponding alternative scene mode and the user is an administrator of the target voice room, a scene mode list supported by the target voice room is obtained and pushed to the client of the user, and then the target voice room is switched to a third scene mode according to the selection operation of the user.
Further, in one embodiment of the present invention, the method for switching a speech room scene further includes the steps of:
and when the number of the wheat bits in the third scene mode is inconsistent with that of the wheat bits in the first scene mode, clearing an original wheat bit sequence of the target voice room, and guiding a host on the original wheat bit sequence to resharpen.
Further, in one embodiment of the present invention, the method for switching a speech room scene further includes the steps of:
When the target voice room is switched to the third scene mode, acquiring the client network states of other users in the target voice room;
and when the network state of the client is normal, controlling the other users to reenter the target voice room through the server, and switching the scene mode displayed by the clients of the other users into the third scene mode.
In a second aspect, an embodiment of the present invention provides a speech room scene switching system, including:
The client version acquisition module is used for responding to a voice room entry request of a user, acquiring a first client version of the user through a server and judging whether the first client version is matched with a first scene mode of a target voice room or not;
The alternative scene mode determining module is used for judging whether the first scene mode is configured with an alternative scene mode compatible with the first client version or not when the first client version is not matched with the first scene mode;
An alternative scene mode switching module, configured to authorize the user to enter the target voice room when the first scene mode is configured with the corresponding alternative scene mode, and switch the target voice room to the alternative scene mode on the client of the user;
And the client version updating module is used for acquiring a second client version compatible with the first scene mode when the first scene mode is not configured with the corresponding alternative scene mode, and guiding the user to update the client to the second client version.
Further, in one embodiment of the present invention, the speech room scene switching system further includes an alternative scene mode configuration module, which is specifically configured to:
when the target voice room is newly added with the first scene mode, determining a first scene layout and a first wheat number of the first scene mode;
Acquiring an existing second scene mode of the target voice room, and determining a second scene layout and a second wheat number of the second scene mode;
and when the similarity between the first scene layout and the second scene layout is greater than or equal to a preset first threshold, and the first number of wheat bits is consistent with the second number of wheat bits, configuring the second scene mode as the alternative scene mode.
In a third aspect, an embodiment of the present invention provides a speech room scene switching device, including:
at least one processor;
At least one memory for storing at least one program;
The at least one program, when executed by the at least one processor, causes the at least one processor to implement a speech room scene switching method as described above.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium, in which a processor executable program is stored, where the processor executable program is used to perform a speech room scene switching method as described above when executed by a processor.
The advantages and benefits of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
In the embodiment of the invention, a first client version of a user is obtained through a server in response to a voice room entry request of the user, whether the first client version is matched with a first scene mode of a target voice room or not is judged, when the first client version is not matched with the first scene mode, whether the first scene mode is configured with an alternative scene mode compatible with the first client version or not is judged, when the first scene mode is configured with a corresponding alternative scene mode, the user is authorized to enter the target voice room, the target voice room is switched to the alternative scene mode on the client of the user, when the first scene mode is not configured with the corresponding alternative scene mode, a second client version compatible with the first scene mode is obtained, and the user is guided to update the client to the second client version. The embodiment of the invention can solve the problem that the old version client is incompatible with the new scene mode, realize intelligent switching of the voice room scene and improve the use experience of the user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following description will refer to the drawings that are needed in the embodiments of the present invention, and it should be understood that the drawings in the following description are only for convenience and clarity to describe some embodiments in the technical solutions of the present invention, and other drawings may be obtained according to these drawings without any inventive effort for those skilled in the art.
Fig. 1 is a flowchart of steps of a method for switching a speech room scene according to an embodiment of the present invention;
fig. 2 is a block diagram of a speech room scene switching system according to an embodiment of the present invention;
fig. 3 is a block diagram of a speech room scene switching device according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention. The step numbers in the following embodiments are set for convenience of illustration only, and the order between the steps is not limited in any way, and the execution order of the steps in the embodiments may be adaptively adjusted according to the understanding of those skilled in the art.
In the description of the present invention, the plurality means two or more, and if the description is made to the first and second for the purpose of distinguishing technical features, it should not be construed as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the precedence of the indicated technical features. Furthermore, unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art.
Referring to fig. 1, an embodiment of the present invention provides a method for switching a speech room scene, which specifically includes the following steps:
s101, responding to a voice room entering request of a user, acquiring a first client version of the user through a server, and judging whether the first client version is matched with a first scene mode of a target voice room.
Specifically, when a user enters a voice room, a voice room entering request is sent, the request message carries client version information used by the user, and whether the client version information of the user is matched with a room scene mode set by the current voice room or not is judged through a server.
Further as an optional implementation manner, the step of obtaining, by the server, the first client version of the user and determining whether the first client version matches the first scene mode of the target speech room specifically includes:
a1, analyzing a voice room entering request through a server, and determining a first client version and a target voice room;
a2, acquiring a current first scene mode of the target voice room, and determining the minimum version requirement of the first scene mode configuration;
A3, judging whether the first client version meets the minimum version requirement, if so, matching the first client version with the first scene mode, and if not, matching the first client version with the first scene mode.
Specifically, a version number of a client sending a request and a target voice room ID (identity) of the target voice room are packaged in a voice room entry request message, a first client version and the target voice room can be determined by analyzing the message through a server, and then a current first scene mode of the target voice room is obtained. In the embodiment of the invention, each scene mode is preconfigured with the minimum version requirement, and when the obtained first client version meets the minimum version requirement of the first scene mode, the two modes are matched, otherwise, the two modes are not matched. For example, if the minimum version requirement of the current scene mode configuration of the target voice room is v3.1.0, the requirement is not satisfied when the client version number of the user is before v3.1.0.
And if the first client version of the user meets the minimum version requirement of the current scene mode configuration of the target voice room, directly authorizing the user to enter the target voice room, and if the first client version of the user does not meet the minimum version requirement, entering a subsequent judging step.
S102, when the first client version is not matched with the first scene mode, judging whether the first scene mode is configured with an alternative scene mode compatible with the first client version.
Further as an optional implementation manner, the speech room scene switching method further includes a step of pre-configuring an alternative scene mode, which specifically includes:
B1, when a first scene mode is newly added to a target voice room, determining a first scene layout and a first wheat number of the first scene mode;
b2, acquiring an existing second scene mode of the target voice room, and determining a second scene layout and a second wheat number of the second scene mode;
b3, when the similarity between the first scene layout and the second scene layout is greater than or equal to a preset first threshold value, and the first number of wheat bits is consistent with the second number of wheat bits, configuring the second scene mode as an alternative scene mode.
Specifically, when the technology iterates the newly added room scene mode, whether the existing scene mode of the voice room has a scene similar to the newly added scene mode or not is checked, if the existing scene mode of the voice room has a similar layout, the number of wheat bits is the same, and the like, if so, the existing scene mode is set as an alternative scene mode compatible with the newly added scene mode to the low-version client, so that a user of the low-version client can enter the voice room as much as possible, the scene mode is switched in a self-adaptive mode, and the use experience of the user is improved.
And S103, when the first scene mode is configured with a corresponding alternative scene mode, authorizing the user to enter the target voice room, and switching the target voice room into the alternative scene mode on the client of the user.
S104, when the first scene mode is not configured with the corresponding alternative scene mode, acquiring a second client version compatible with the first scene mode, and guiding a user to update the client to the second client version.
Specifically, whether the first scene mode of the target voice room is configured with an alternative scene mode compatible with the low-version client is judged, if the first scene mode is configured with the alternative scene mode compatible with the low-version client and the alternative scene mode supports the client version of the user, the user is authorized to enter, and meanwhile the target voice room is switched to the alternative scene mode on the client of the user, namely, the room scene mode acquired by the user is the compatible alternative scene mode. If the first scene mode is not configured with the alternative scene mode compatible with the low-version client, the user fails to enter the voice room, and meanwhile, the current first scene mode of the target voice room is prompted to only support the client of the new version, and the user is guided to update the client.
Further as an optional implementation manner, the voice room scene switching method further includes the following steps:
S105, when the first scene mode is not configured with the corresponding alternative scene mode, and the user is an administrator of the target voice room, a scene mode list supported by the target voice room is obtained and pushed to the client of the user, and then the target voice room is switched to the third scene mode according to the selection operation of the user.
Specifically, when the first scene mode is not configured with the corresponding alternative scene mode, if the user requesting to enter the voice room is an administrator of the target voice room (a user added by the anchor or the anchor and capable of modifying the setting items in the voice room), a scene mode list capable of being set by the target voice room is returned for the user to select, and then the scene of the target voice room is switched.
Further as an optional implementation manner, the voice room scene switching method further includes the following steps:
s106, when the number of wheat bits in the third scene mode is inconsistent with that of the first scene mode, the original wheat bit sequence of the target voice room is emptied, and the host on the original wheat bit sequence is guided to resharpen.
Specifically, after the administrator switches the target voice room to the third scene mode through the scene mode list, if the number of the wheat bits of the third scene mode is inconsistent with that of the original first scene mode, the original wheat bit sequence is cleared, the wheat is turned off for the host/user who opens the wheat, and then the host/user is guided to turn on the wheat again, so that the problem that noise or asynchronism exists in the room audio after the switching to the new scene mode is avoided.
Further as an optional implementation manner, the voice room scene switching method further includes the following steps:
s107, when the target voice room is switched to a third scene mode, acquiring the client network states of other users in the target voice room;
s108, when the network state of the client is normal, controlling other users to reenter the target voice room through the server, and switching the scene mode displayed by the client of the other users into a third scene mode.
Specifically, under the condition of weak network, if the administrator of the target voice room switches the scene mode, the client of other users of the target voice room is subjected to network state self-checking, after the network is detected to be normal, the APP re-executes the room running process in the background, and if the acquired new scene mode of the target voice room is inconsistent with the scene mode currently displayed by the APP, the new scene mode is switched.
The method steps of the embodiments of the present invention are described above. It can be appreciated that the embodiment of the invention can solve the problem that the old version client is incompatible with the new scene mode, realize intelligent switching of the voice room scene and improve the use experience of the user. In addition, when the scene mode is switched, the wheat bit sequence is emptied for re-feeding if the difference between the front scene mode and the rear scene mode is larger, so that the problem that noise or asynchronism occurs in the room audio is avoided.
Referring to fig. 2, an embodiment of the present invention provides a speech room scene switching system, including:
The client version acquisition module is used for responding to a voice room entry request of a user, acquiring a first client version of the user through the server and judging whether the first client version is matched with a first scene mode of a target voice room or not;
The alternative scene mode determining module is used for judging whether the first scene mode is configured with an alternative scene mode compatible with the first client version or not when the first client version is not matched with the first scene mode;
The alternative scene mode switching module is used for authorizing a user to enter a target voice room when the first scene mode is configured with a corresponding alternative scene mode, and switching the target voice room into the alternative scene mode on a client of the user;
and the client version updating module is used for acquiring a second client version compatible with the first scene mode when the first scene mode is not configured with the corresponding alternative scene mode, and guiding a user to update the client to the second client version.
Further as an optional implementation manner, the speech room scene switching system further includes an alternative scene mode configuration module, which is specifically configured to:
When a first scene mode is newly added to a target voice room, determining a first scene layout and a first wheat number of the first scene mode;
acquiring a second scene mode of the target voice room, and determining a second scene layout and a second wheat number of the second scene mode;
And when the similarity between the first scene layout and the second scene layout is greater than or equal to a preset first threshold value, and the first number of wheat bits is consistent with the second number of wheat bits, configuring the second scene mode as an alternative scene mode.
The content in the method embodiment is applicable to the system embodiment, the functions specifically realized by the system embodiment are the same as those of the method embodiment, and the achieved beneficial effects are the same as those of the method embodiment.
Referring to fig. 3, an embodiment of the present invention provides a speech room scene switching device, including:
at least one processor;
At least one memory for storing at least one program;
The at least one program, when executed by the at least one processor, causes the at least one processor to implement a speech room scene switching method as described above.
The content in the method embodiment is applicable to the embodiment of the device, and the functions specifically realized by the embodiment of the device are the same as those of the method embodiment, and the obtained beneficial effects are the same as those of the method embodiment.
The embodiment of the invention also provides a computer readable storage medium, in which a processor executable program is stored, which when executed by a processor is used to perform a speech room scene switching method as described above.
The computer readable storage medium of the embodiment of the invention can execute the voice room scene switching method provided by the embodiment of the method of the invention, and can execute the steps of any combination implementation of the embodiment of the method, thereby having the corresponding functions and beneficial effects of the method.
Embodiments of the present invention also disclose a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions may be read from a computer-readable storage medium by a processor of a computer device, and executed by the processor, to cause the computer device to perform the method shown in fig. 1.
In some alternative embodiments, the functions/acts noted in the block diagrams may occur out of the order noted in the operational illustrations. For example, two blocks shown in succession may in fact be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved. Furthermore, the embodiments presented and described in the flowcharts of the present invention are provided by way of example in order to provide a more thorough understanding of the technology. The disclosed methods are not limited to the operations and logic flows presented herein. Alternative embodiments are contemplated in which the order of various operations is changed, and in which sub-operations described as part of a larger operation are performed independently.
Furthermore, while the present invention has been described in the context of functional modules, it should be appreciated that, unless otherwise indicated, one or more of the functions and/or features described above may be integrated in a single physical device and/or software module or one or more of the functions and/or features may be implemented in separate physical devices or software modules. It will also be appreciated that a detailed discussion of the actual implementation of each module is not necessary to an understanding of the present invention. Rather, the actual implementation of the various functional modules in the apparatus disclosed herein will be apparent to those skilled in the art from consideration of their attributes, functions and internal relationships. Accordingly, one of ordinary skill in the art can implement the invention as set forth in the claims without undue experimentation. It is also to be understood that the specific concepts disclosed are merely illustrative and are not intended to be limiting upon the scope of the invention, which is to be defined in the appended claims and their full scope of equivalents.
The above functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied in essence or a part contributing to the prior art or a part of the technical solution in the form of a software product stored in a storage medium, including several instructions for causing 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 above-described method of the various embodiments of the present invention. The storage medium includes a U disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, an optical disk, or other various media capable of storing program codes.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include an electrical connection (an electronic device) having one or more wires, a portable computer diskette (a magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium upon which the program described above is printed, as the program described above may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of techniques known in the art, discrete logic circuits with logic gates for implementing logic functions on data signals, application specific integrated circuits with appropriate combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the foregoing description of the present specification, reference has been made to the terms "one embodiment/example", "another embodiment/example", "certain embodiments/examples", and the like, means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the spirit and scope of the invention as defined by the appended claims and their equivalents.
While the preferred embodiment of the present application has been described in detail, the present application is not limited to the above embodiments, and various equivalent modifications and substitutions can be made by those skilled in the art without departing from the spirit of the present application, and these equivalent modifications and substitutions are intended to be included in the scope of the present application as defined in the appended claims.

Claims (10)

1. The voice room scene switching method is characterized by comprising the following steps of:
Responding to a voice room entering request of a user, acquiring a first client version of the user through a server, and judging whether the first client version is matched with a first scene mode of a target voice room or not;
when the first client version is not matched with the first scene mode, judging whether the first scene mode is configured with an alternative scene mode compatible with the first client version;
when the first scene mode is configured with the corresponding alternative scene mode, authorizing the user to enter the target voice room, and switching the target voice room into the alternative scene mode on the client of the user;
When the first scene mode is not configured with the corresponding alternative scene mode, acquiring a second client version compatible with the first scene mode, and guiding the user to update a client to the second client version;
Wherein, different scene modes have different layout styles and wheat bit numbers.
2. The method for switching a speech room scene according to claim 1, wherein the step of obtaining, by the server, a first client version of the user and determining whether the first client version matches a first scene pattern of a target speech room comprises:
analyzing the voice room entering request through the server, and determining the first client version and the target voice room;
Acquiring the current first scene mode of the target voice room, and determining the minimum version requirement of the first scene mode configuration;
Judging whether the first client version meets the minimum version requirement, if so, matching the first client version with the first scene mode, and if not, not matching the first client version with the first scene mode.
3. The method for switching a speech room scene according to claim 1, further comprising the step of pre-configuring the alternative scene mode, which specifically comprises:
when the target voice room is newly added with the first scene mode, determining a first scene layout and a first wheat number of the first scene mode;
Acquiring an existing second scene mode of the target voice room, and determining a second scene layout and a second wheat number of the second scene mode;
and when the similarity between the first scene layout and the second scene layout is greater than or equal to a preset first threshold, and the first number of wheat bits is consistent with the second number of wheat bits, configuring the second scene mode as the alternative scene mode.
4. The speech room scene switching method according to claim 1, further comprising the steps of:
when the first scene mode is not configured with the corresponding alternative scene mode and the user is an administrator of the target voice room, a scene mode list supported by the target voice room is obtained and pushed to the client of the user, and then the target voice room is switched to a third scene mode according to the selection operation of the user.
5. The speech room scene switching method according to claim 4, further comprising the steps of:
and when the number of the wheat bits in the third scene mode is inconsistent with that of the wheat bits in the first scene mode, clearing an original wheat bit sequence of the target voice room, and guiding a host on the original wheat bit sequence to resharpen.
6. The speech room scene switching method according to claim 4, further comprising the steps of:
When the target voice room is switched to the third scene mode, acquiring the client network states of other users in the target voice room;
and when the network state of the client is normal, controlling the other users to reenter the target voice room through the server, and switching the scene mode displayed by the clients of the other users into the third scene mode.
7. A speech room scene switching system, comprising:
The client version acquisition module is used for responding to a voice room entry request of a user, acquiring a first client version of the user through a server and judging whether the first client version is matched with a first scene mode of a target voice room or not;
The alternative scene mode determining module is used for judging whether the first scene mode is configured with an alternative scene mode compatible with the first client version or not when the first client version is not matched with the first scene mode;
An alternative scene mode switching module, configured to authorize the user to enter the target voice room when the first scene mode is configured with the corresponding alternative scene mode, and switch the target voice room to the alternative scene mode on the client of the user;
A client version updating module, configured to obtain a second client version compatible with the first scene mode when the first scene mode is not configured with the corresponding alternative scene mode, and guide the user to update the client to the second client version;
Wherein, different scene modes have different layout styles and wheat bit numbers.
8. The speech room scene switching system of claim 7, further comprising an alternative scene mode configuration module, specifically configured to:
when the target voice room is newly added with the first scene mode, determining a first scene layout and a first wheat number of the first scene mode;
Acquiring an existing second scene mode of the target voice room, and determining a second scene layout and a second wheat number of the second scene mode;
and when the similarity between the first scene layout and the second scene layout is greater than or equal to a preset first threshold, and the first number of wheat bits is consistent with the second number of wheat bits, configuring the second scene mode as the alternative scene mode.
9. A speech room scene switching device, comprising:
at least one processor;
At least one memory for storing at least one program;
when the at least one program is executed by the at least one processor, the at least one processor is caused to implement a speech room scene switching method as claimed in any one of claims 1 to 6.
10. A computer readable storage medium, in which a processor executable program is stored, characterized in that the processor executable program is for performing a speech room scene switching method according to any one of claims 1 to 6 when being executed by a processor.
CN202310301621.2A 2023-03-23 2023-03-23 A method, system, device and storage medium for switching scenes in a voice room Active CN116389778B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310301621.2A CN116389778B (en) 2023-03-23 2023-03-23 A method, system, device and storage medium for switching scenes in a voice room

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310301621.2A CN116389778B (en) 2023-03-23 2023-03-23 A method, system, device and storage medium for switching scenes in a voice room

Publications (2)

Publication Number Publication Date
CN116389778A CN116389778A (en) 2023-07-04
CN116389778B true CN116389778B (en) 2025-05-09

Family

ID=86966825

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310301621.2A Active CN116389778B (en) 2023-03-23 2023-03-23 A method, system, device and storage medium for switching scenes in a voice room

Country Status (1)

Country Link
CN (1) CN116389778B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110069303A (en) * 2019-03-20 2019-07-30 厦门网宿有限公司 A kind of screen layout's update method and server, electronic equipment and storage medium
CN112003711A (en) * 2020-07-31 2020-11-27 北京达佳互联信息技术有限公司 Wheat connecting method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9229701B2 (en) * 2013-03-15 2016-01-05 Microsoft Technology Licensing, Llc Local store data versioning
CN113923065B (en) * 2021-09-06 2023-11-24 贵阳语玩科技有限公司 Cross-version communication method, system, medium and server based on chat room audio
CN114040240B (en) * 2021-11-18 2024-09-20 北京达佳互联信息技术有限公司 Button configuration method, device, server and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110069303A (en) * 2019-03-20 2019-07-30 厦门网宿有限公司 A kind of screen layout's update method and server, electronic equipment and storage medium
CN112003711A (en) * 2020-07-31 2020-11-27 北京达佳互联信息技术有限公司 Wheat connecting method and device

Also Published As

Publication number Publication date
CN116389778A (en) 2023-07-04

Similar Documents

Publication Publication Date Title
US20120017073A1 (en) Configuration of a basic input/output system (bios) of a computing device
CN104506631B (en) A kind of audio file caching method and equipment
CN109564566A (en) Discovery of the calling application to control file hydration behavior
CN109299425A (en) Amending method, device, server, terminal and the storage medium of content are issued
CN102842317B (en) Multi-medium play method and player
CN116389778B (en) A method, system, device and storage medium for switching scenes in a voice room
CN109582904A (en) Amending method, device, server, terminal and the storage medium of content are issued
US20200349190A1 (en) Interactive music on-demand method, device and terminal
CN106131689A (en) Method for downloading video and device
US20030120750A1 (en) Device based detection of user preferences in a home networking environment
CN107071504A (en) Splashette content processing method and device
CN105828208A (en) Method and device for playing audio/video and smart terminal
CN107154936A (en) Login method, device and system
CN112243151A (en) Audio playing control method, device, equipment and medium
CN110544480A (en) Voice recognition resource switching method and device
CN113556486B (en) Video generation method, device, electronic equipment and storage medium
CN114527673A (en) Intelligent device control method and device, electronic device and storage medium
CN115472149A (en) Voice message response method and device, storage medium and electronic device
CN107493481A (en) Video broadcasting method and device based on virtual video technology
CN111111161A (en) Game server repairing method, device, server and medium
CN107135409A (en) A kind of detection method of video and audio ability to play
CN114722100B (en) Method, device, electronic device and readable storage medium for determining target item sequence
JP7178537B2 (en) Playback update method, device and storage medium
CN120582971A (en) Network distribution method and device of intelligent equipment, electronic equipment and storage medium
CN119293287A (en) Video player control method and system

Legal Events

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