CN113117328B - Data processing method and equipment - Google Patents

Data processing method and equipment Download PDF

Info

Publication number
CN113117328B
CN113117328B CN202110527916.2A CN202110527916A CN113117328B CN 113117328 B CN113117328 B CN 113117328B CN 202110527916 A CN202110527916 A CN 202110527916A CN 113117328 B CN113117328 B CN 113117328B
Authority
CN
China
Prior art keywords
sound effect
grouping
sound
cluster
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110527916.2A
Other languages
Chinese (zh)
Other versions
CN113117328A (en
Inventor
刘畅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110527916.2A priority Critical patent/CN113117328B/en
Publication of CN113117328A publication Critical patent/CN113117328A/en
Application granted granted Critical
Publication of CN113117328B publication Critical patent/CN113117328B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • 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/50Controlling the output signals based on the game progress
    • A63F13/54Controlling the output signals based on the game progress involving acoustic signals, e.g. for simulating revolutions per minute [RPM] dependent engine sounds in a driving game or reverberation against a virtual wall
    • 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/55Controlling game characters or game objects based on the game progress
    • 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/80Special adaptations for executing a specific game genre or game mode
    • A63F13/822Strategy games; Role-playing games
    • 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/30Features 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 output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface
    • 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/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/807Role playing or strategy games

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Human Computer Interaction (AREA)
  • Stereophonic System (AREA)

Abstract

The embodiment of the application discloses a data processing method and equipment, wherein the method comprises the following steps: responding to a starting instruction of a target game, and loading a game scene of the target game on a display interface; determining at least one target position corresponding to at least one monitoring point in the game scene according to the position information of the at least one monitoring point of the display interface; detecting a type of a terrain area of each of the at least one target location in the game scene; determining the corresponding sound effect grouping of each target position in the sound effect grouping cluster; and according to the surface area type of each target position and the sound effect grouping corresponding to each target position, determining the ambient sound effect of each sound effect grouping in a sound effect grouping cluster, and playing the ambient sound effect corresponding to each sound effect grouping in the sound effect grouping cluster. By the adoption of the method and the device, the representation mode of the environmental sound effect in the game scene can be enriched, and the spatial impression of the environmental sound effect is improved.

Description

Data processing method and equipment
Technical Field
The present application relates to the field of internet technologies, and in particular, to a data processing method and device.
Background
In a strategy game (SLG) or a god view game in the current market, a game scene and an uncertain ground surface distribution state are generally provided, an environmental sound effect in the game is mainly supported by a 2D sound effect, a sound attribute does not change with a distance sound production point position, a small number of games are assisted by a small number of 3D point sound sources located on the scene ground surface, game details on the scene ground surface are difficult to fully express, such as complex and changeable landforms (plain/desert/frozen soil/mountain/river/ocean, and the like), and abundant expressible details of specific organisms/plants and the like attached to various landforms, so that the immersive experience of a user is poor, and the scene sound expression lacks a spatial sense.
Disclosure of Invention
The embodiment of the application provides a data processing method and equipment, which can enrich the expression mode of the environmental sound effect in a game scene and improve the spatial sense of the environmental sound effect.
An aspect of the present application provides a data processing method, which may include:
responding to a starting instruction of a target game, and loading a game scene of the target game on a display interface;
determining at least one target position corresponding to at least one monitoring point in the game scene according to the position information of the at least one monitoring point of the display interface; the monitoring points correspond to the target positions one by one;
detecting a type of a terrain area of each of the at least one target location in the game scene;
determining the corresponding sound effect grouping of each target position in the sound effect grouping cluster; the sound effect grouping cluster comprises at least one sound effect grouping, the sound effect grouping comprises ambient sound effects corresponding to each earth surface area type in the game scene, and the target positions correspond to the sound effect grouping one by one;
and according to the surface area type of each target position and the sound effect grouping corresponding to each target position, determining the ambient sound effect of each sound effect grouping in a sound effect grouping cluster, and playing the ambient sound effect corresponding to each sound effect grouping in the sound effect grouping cluster.
In one possible embodiment, the method further includes:
counting all the earth surface area types in the game scene of the target game, and setting a corresponding environmental sound effect for each earth surface area type; the game scene comprises at least one surface area type;
and determining a set of the environmental sound effects respectively corresponding to all the land surface area types as sound effect marshalling.
In a possible embodiment, the method further comprises:
setting at least one monitoring point for a game scene in a display interface;
acquiring position information of a sound receiving component in the game scene, constructing a sound effect grouping cluster according to the position information of the at least one monitoring point and the position information of the sound receiving component, and creating a corresponding relation set of each monitoring point in the at least one monitoring point and a sound effect grouping in the sound effect grouping cluster;
the sound effect grouping cluster comprises at least one sound effect grouping, the number of the sound effect grouping is the same as that of the monitoring points, and the sound effect grouping corresponds to the monitoring points one to one.
In one possible embodiment, the constructing the prominence grouping cluster according to the position information of the at least one monitoring point and the position information of the sound receiving component comprises:
acquiring quantity information of the at least one monitoring point, and creating sound effect marshalling with the same quantity as the quantity information;
acquiring a relative position relationship between each monitoring point in the at least one monitoring point, and determining a relative position relationship between at least one sound effect grouping according to the relative position relationship;
and constructing a sound effect grouping cluster according to the position information of the sound receiving assembly and at least one sound effect assembly with a relative position relation.
In one possible embodiment, the detecting the type of the ground surface area of each of the at least one target position in the game scene includes:
acquiring a land surface type database of the target game, wherein all land surface area types of the target game and an area range corresponding to each land surface area type are stored in the land surface type database;
and acquiring the coordinate information of each target position in a game scene, and searching the earth surface area type of each target position from the earth surface type database according to the coordinate information.
In one possible embodiment, the determining the corresponding prominence grouping of each target position in a prominence grouping cluster includes:
acquiring a first corresponding relation set of the detection points and sound grouping, wherein the first corresponding relation set stores the corresponding relation between each sound grouping in the sound grouping cluster and the monitoring points;
determining the sound effect grouping corresponding to each monitoring point in the sound effect grouping cluster through the first corresponding relation set;
and determining a sound effect grouping corresponding to each target position in the sound effect grouping cluster according to the target position corresponding to each monitoring point.
In a possible implementation manner, the determining, according to the land surface area type of each target location and the sound effect grouping corresponding to each target location, an ambient sound effect of each sound effect grouping in a sound effect grouping cluster, and playing, in the sound effect grouping cluster, the ambient sound effect corresponding to each sound effect grouping includes:
acquiring a second corresponding relation set of the surface area types and the environmental sound effects, wherein the second corresponding relation table stores the environmental sound effects corresponding to each surface area type;
determining an environmental sound effect corresponding to the type of the earth surface area of each target position through the second corresponding relation set;
and determining the ambient sound effect of each sound effect grouping in a sound effect grouping cluster according to the ambient sound effect and the sound effect grouping corresponding to each target position, and playing the ambient sound effect corresponding to each sound effect grouping in the sound effect grouping cluster.
In a possible embodiment, the method further comprises:
responding to an exit instruction of a game scene, recording the current environmental sound effect of each sound effect grouping in the sound effect grouping cluster, stopping playing the current environmental sound effect of each sound effect grouping, and taking the current environmental sound effect of each sound effect grouping as a historical environmental sound effect and storing the historical environmental sound effect.
In one aspect, an embodiment of the present application provides a data processing apparatus, which may include:
the scene loading unit is used for responding to a starting instruction of a target game and loading a game scene of the target game on a display interface;
the position determining unit is used for determining at least one target position corresponding to at least one monitoring point in the game scene according to the position information of the at least one monitoring point of the display interface; the monitoring points correspond to the target positions one by one;
the earth surface type detection unit is used for detecting the earth surface area type of each target position in the at least one target position in the game scene;
the sound effect grouping determining unit is used for determining the corresponding sound effect grouping of each target position in the sound effect grouping cluster; the sound effect grouping cluster comprises at least one sound effect grouping, the sound effect grouping comprises ambient sound effects corresponding to each earth surface area type in the game scene, and the target positions correspond to the sound effect grouping one by one;
and the ambient sound effect playing unit is used for determining the ambient sound effect of each sound effect grouping in the sound effect grouping cluster according to the surface area type of each target position and the sound effect grouping corresponding to each target position, and playing the ambient sound effect corresponding to each sound effect grouping in the sound effect grouping cluster.
In a possible embodiment, the method further comprises:
the sound effect grouping generation unit is used for counting all the land surface area types in the game scene of the target game and setting corresponding environmental sound effects for each land surface area type; the game scene comprises at least one surface area type;
and determining the set of the environmental sound effects respectively corresponding to all the land surface area types as sound effect grouping.
In a possible embodiment, the method further comprises:
the grouping cluster building unit is used for setting at least one monitoring point for a game scene in a display interface;
acquiring position information of a sound receiving component in the game scene, constructing a sound effect grouping cluster according to the position information of the at least one monitoring point and the position information of the sound receiving component, and creating a corresponding relation set of each monitoring point in the at least one monitoring point and a sound effect grouping in the sound effect grouping cluster;
the sound effect grouping cluster comprises at least one sound effect grouping, the number of the sound effect grouping is the same as that of the monitoring points, and the sound effect grouping corresponds to the monitoring points one to one.
In a possible embodiment, the grouping cluster building unit is specifically configured to:
acquiring quantity information of the at least one monitoring point, and creating sound effect marshalling with the same quantity as the quantity information;
acquiring the relative position relationship between each monitoring point in the at least one monitoring point, and determining the relative position relationship between at least one sound effect grouping according to the relative position relationship;
and constructing a sound effect grouping cluster according to the position information of the sound receiving assembly and at least one sound effect assembly with a relative position relation.
In a possible embodiment, the surface type detection unit is specifically configured to:
acquiring a land surface type database of the target game, wherein the land surface type database stores all land surface area types of the target game and an area range corresponding to each land surface area type;
and acquiring the coordinate information of each target position in a game scene, and searching the earth surface area type of each target position from the earth surface type database according to the coordinate information.
In a possible implementation, the sound grouping determination unit is specifically configured to:
acquiring a first corresponding relation set of the detection points and sound grouping, wherein the corresponding relation set stores the corresponding relation between each sound grouping in the sound grouping cluster and the monitoring points;
determining a sound effect grouping corresponding to each monitoring point in a sound effect grouping cluster through the first corresponding relation set;
and determining a sound effect grouping corresponding to each target position in the sound effect grouping cluster according to the target position corresponding to each monitoring point.
In a possible implementation manner, the ambient sound effect playing unit is specifically configured to:
acquiring a second corresponding relation set of the surface area types and the environmental sound effects, wherein the environmental sound effects corresponding to each surface area type are stored in the corresponding relation table;
determining an environmental sound effect corresponding to the type of the earth surface area of each target position through the second corresponding relation set;
and determining the ambient sound effect of each sound effect grouping in a sound effect grouping cluster according to the ambient sound effect and the sound effect grouping corresponding to each target position, and playing the ambient sound effect corresponding to each sound effect grouping in the sound effect grouping cluster.
In one possible embodiment, the method further includes:
and the sound effect stopping unit is used for responding to an exit instruction of a game scene, recording the current environmental sound effect of each sound effect marshalling in the sound effect marshalling cluster, stopping playing the current environmental sound effect of each sound effect marshalling, and taking the current environmental sound effect of each sound effect marshalling as the historical environmental sound effect and storing the historical environmental sound effect.
An aspect of the embodiments of the present application provides a computer-readable storage medium, in which a computer program is stored, the computer program being adapted to be loaded by a processor and to perform the above-mentioned method steps.
In one aspect, an embodiment of the present application provides a computer device, including a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
An aspect of an embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The computer instructions are read by a processor of the computer device from a computer-readable storage medium, and the computer instructions are executed by the processor to cause the computer device to perform the above-mentioned method steps.
In the embodiment of the application, a starting instruction of a target game is responded, a game scene of the target game is loaded on a display interface, at least one target position corresponding to at least one monitoring point is determined in the game scene according to position information of the at least one monitoring point of the display interface, a surface area type of each target position in the at least one target position in the game scene is further detected, a sound effect grouping corresponding to each target position in a sound effect grouping cluster is determined, finally, an ambient sound effect of each sound effect grouping in the sound effect grouping cluster is determined according to the surface area type of each target position and the sound effect grouping corresponding to each target position, and the ambient sound effect corresponding to each sound effect grouping is played in the sound effect grouping cluster. By adopting the method, the game details of the scene ground surface can be fully expressed according to the complicated and changeable landform and the 3D point sound source positioned on the scene ground surface, the expression mode of the environmental sound effect in the game scene is enriched, and the spatial impression of the environmental sound effect is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a block diagram of a system architecture for data processing according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a data processing method according to an embodiment of the present application;
fig. 3 is an exemplary schematic diagram of a detection point provided in an embodiment of the present application;
fig. 4 is a schematic flowchart of a data processing method according to an embodiment of the present application;
FIG. 5a is an exemplary diagram of a game scene according to an embodiment of the present application;
FIG. 5b is a diagram illustrating examples of relative positions of sound groupings according to an embodiment of the present disclosure;
FIG. 6 is a schematic flow chart of sound grouping generation according to an embodiment of the present disclosure;
FIG. 7 is a schematic flow chart illustrating an ambient sound effect life cycle according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
Fig. 1 is a block diagram of a data processing system according to an embodiment of the present invention. The user terminal cluster establishes connection with the server 10f corresponding to the target game through the switch 10e and the communication bus 10d, and the user terminal cluster may include: user terminal 10a, user terminal 10 b. The target game is an SLG or god view game that can be run on the user terminal, and the database 10g stores therein a plurality of game scenes of the target game and an ambient sound effect and an area range corresponding to each game scene. The following explains the scheme by using any user terminal in a user terminal cluster, where the user terminal responds to a start instruction of a target game, loads a game scene of the target game on a display interface, generally selects 6 fixed positions in the display interface as monitoring points according to position information of at least one monitoring point of the display interface, further determines at least one target position corresponding to the at least one monitoring point in the game scene, and detects a surface area type of each target position in the game scene, specifically, may determine a surface area type of a target position according to a region range corresponding to each game scene in a database 10g, and further determines a sound effect grouping corresponding to each target position in a sound effect grouping cluster, where the sound effect grouping includes an environmental sound effect grouping corresponding to each surface area type in the game scene, and finally determines an environmental sound effect of each sound effect grouping in the grouping cluster according to the surface area type of each target position and the sound effect grouping corresponding to each target position, and plays the environmental sound effect grouping corresponding to each sound effect grouping in the sound effect cluster.
The user terminal related to the embodiment of the application comprises: terminal equipment such as tablet personal computers, smart phones, personal Computers (PCs), notebook computers, palmtop computers and the like.
Referring to fig. 2, a flow chart of a data processing method according to an embodiment of the present application is schematically shown. As shown in fig. 2, the method of the embodiment of the present application may include the following steps S101 to S105.
S101, responding to a starting instruction of a target game, and loading a game scene of the target game on a display interface;
specifically, the data processing device responds to a start instruction of a target game, the data processing device may be the user terminal in fig. 1, the target game is an SLG or god view angle game which can run on the data processing device, the start instruction is a start instruction for the target game or entering a game scene, specifically, a click instruction or a screen touch instruction, further, the game scene of the target game is loaded on a display interface, corresponding environmental sound effects can be played in the game scene, the environmental sound effects include a 3D sound effect and a 2D sound effect, sound effects of which sound attributes change with the position of a sound generating point, for example, the volume attenuates with the increase of the distance, and the 3D sound effect can distinguish the direction and the distance of the sound; and (3) sound effects with sound attributes of the 2D sound effects unchanged along with the position of the sound production point, such as game scene music and the like.
S102, determining at least one target position corresponding to at least one monitoring point in the game scene according to the position information of the at least one monitoring point of the display interface;
specifically, the data processing device determines, according to the position information of at least one monitoring point of the display interface, at least one target position corresponding to the at least one monitoring point in the game scene, it may be understood that the monitoring point is located on the display interface, and the position of the monitoring point is usually fixed, please refer to fig. 3, which provides an exemplary schematic diagram of a detection point for the embodiment of the present application, as shown in fig. 3, in the display interface 100 of the user terminal, 6 fixed positions are determined as the monitoring points, and generally in an SLG or shandi view game, the most important visual information comes from a middle horizontal line area of a screen, so 3 monitoring points (a display interface center point, a left frame center point, and a right frame center point) on a horizontal line of the display interface are selected, and an object located in a lower area of the display interface is closer to a view camera in the target game than an upper area of the screen, therefore, two monitoring points at a left lower corner and a right lower corner of the screen are selected, and an upper area of the screen is selected as a relatively secondary presentation area, and one detection point on a border of the screen is selected. It should be noted that the selection of the monitoring points is not uniform, and can also be flexibly adjusted according to the actual situation, for example, 9 fixed positions can be selected as the monitoring points: the display interface center point, the left frame center point, the right frame center point, the lower left corner, the lower right corner, the upper frame center point, the upper left corner and the upper right corner.
Further, a target position is determined in the game scene according to the position information of the monitoring point, the target position is a position in the game scene, and specifically may be coordinate information in the target game, for example, if the central point of the display interface is one monitoring point, the target position of the monitoring point is coordinate information of the central position in the current game scene. The monitoring points correspond to the target positions one by one, for example, if there are 6 monitoring points, there are 6 corresponding target positions.
S103, detecting the earth surface area type of each target position in the at least one target position in the game scene;
specifically, the data processing device detects a surface area type of each target position in the game scene, it is understood that in the game scene of the target game, there may be various types of landforms, such as plains, deserts, frozen earth, mountains, rivers, oceans, and the like, each type of landform may correspond to a surface area type, each type of surface area corresponds to a certain area in the game map, one or more types of surface areas may be included in each game scene, the data processing device detects coordinate information of each target position, and determines the surface area type of each target position in the game scene according to the surface area type to which the coordinate information belongs.
S104, determining a corresponding sound effect grouping of each target position in the sound effect grouping cluster;
specifically, the data processing device determines a sound grouping corresponding to each target position in a sound grouping cluster, and it can be understood that the sound grouping cluster includes at least one sound grouping, the number of the sound grouping in the sound grouping cluster is the same as that of the target positions, that is, the number of the sound grouping is the same as that of the monitoring points, the sound groupings in the sound grouping cluster are arranged according to a certain relative position relationship, and the target positions are in one-to-one correspondence with the sound grouping, the data processing device can determine a sound grouping corresponding to each target position according to the corresponding relationship between the target positions and the sound grouping, each sound grouping includes an ambient sound corresponding to each earth surface area type in the game scene, the ambient sound included in each sound grouping is the same, that is, each sound grouping can play an ambient sound corresponding to any earth surface area type.
S105, according to the land surface area type of each target position and the sound effect grouping corresponding to each target position, determining the ambient sound effect of each sound effect grouping in a sound effect grouping cluster, and playing the ambient sound effect corresponding to each sound effect grouping in the sound effect grouping cluster.
Specifically, each target position corresponds to one sound grouping, for example, a center point of a display interface corresponds to a sound grouping 1, a center point of a left frame corresponds to a sound grouping 2, a center point of a right frame corresponds to a sound grouping 3, a lower left corner corresponds to a sound grouping 4, a lower right corner corresponds to a sound grouping 5, and an upper center point corresponds to a sound grouping 6. The sound receiving assembly may receive ambient sound effects for each sound effect assembly.
In the embodiment of the application, a starting instruction of a target game is responded, a game scene of the target game is loaded on a display interface, at least one target position corresponding to at least one monitoring point in the game scene is further determined according to position information of at least one monitoring point of the display interface, the surface area type of each target position in the game scene is further detected, a sound effect grouping corresponding to each target position in a sound effect grouping cluster is determined, finally, the environmental sound effect of each sound effect grouping in the sound effect grouping cluster is determined according to the surface area type of each target position and the sound effect grouping corresponding to each target position, and the environmental sound effect corresponding to each sound effect grouping is played in the sound effect grouping cluster. By adopting the method, the game details of the scene ground surface can be fully expressed according to the complicated and changeable landform and the 3D point sound source positioned on the scene ground surface, the expression mode of the environmental sound effect in the game scene is enriched, and the spatial sense of the environmental sound effect is improved.
Referring to fig. 4, a flow chart of a data processing method according to an embodiment of the present application is schematically shown. As shown in fig. 4, the method of the embodiment of the present application may include the following steps S201 to S208.
S201, counting all the earth surface area types in the game scene of the target game, and setting a corresponding environmental sound effect for each earth surface area type; and determining the set of the environmental sound effects respectively corresponding to all the land surface area types as sound effect grouping.
Specifically, the data processing device counts all the surface area types in the game scene of the target game, and sets a corresponding environmental sound effect for each surface area type, it can be understood that the game scene of the target game includes at least one surface area type, such as a plain, a desert, frozen earth, a mountain, a river, a sea, and the like, and meanwhile, different surface area types may correspond to different environmental sound effects, so that a corresponding environmental sound effect may be set for each surface area type according to the characteristics of the surface area type, and a set of the environmental sound effects respectively corresponding to all the surface area types is determined as a sound effect grouping, that is, the environmental sound effect corresponding to each surface area type may be played in the sound effect grouping.
S202, setting at least one monitoring point for a game scene in a display interface; acquiring position information of a sound receiving component in the game scene, constructing a sound effect grouping cluster according to the position information of the at least one monitoring point and the position information of the sound receiving component, and creating a corresponding relation set of each monitoring point in the at least one monitoring point and a sound effect grouping in the sound effect grouping cluster;
specifically, the monitoring points are located on the display interface, the positions of the monitoring points are usually fixed, generally, in an SLG or god view game, 6 fixed positions are selected as the monitoring points, and specifically, the 6 monitoring points include a display interface central point, a left frame central point, a right frame central point, a lower left corner, a lower right corner and an upper frame central point.
The data processing equipment acquires the position information of a sound receiving component in the game scene, wherein the sound receiving component is a component for receiving sound signals in the game scene, and some sound receiving components are arranged on a visual angle camera, a character controlled by a player or other positions and the like according to different game types.
Further, a sound effect grouping cluster is constructed according to the position information of the at least one monitoring point and the position information of the sound receiving assembly, and the specific process of constructing the sound effect grouping cluster is as follows: the method comprises the steps of obtaining quantity information of at least one monitoring point, creating sound effect groups with the same quantity as the quantity information, obtaining a relative position relation between each monitoring point in the at least one monitoring point, determining the relative position relation between the at least one sound effect group according to the relative position relation, and constructing a sound effect group cluster according to the position information of a sound receiving component and the at least one sound effect component with the relative position relation. The sound effect grouping cluster comprises at least one sound effect grouping, the number of the sound effect grouping is the same as that of the monitoring points, and the sound effect grouping corresponds to the monitoring points one to one.
Referring to fig. 5a, an exemplary schematic diagram of a game scene is provided in the embodiment of the present application. Fig. 5a is a cross-sectional view of a game scene, where a view camera is located at a certain height of a scene ground surface, a sound receiving component in the game scene is located on the view camera, an area 1000 is a visual range of the view camera, and an area 2000 is an attenuation radius of a 3D point sound source on the ground surface, where when the sound receiving component is located within the radius, a sound signal of the point sound source may be obtained, and when the sound receiving component is located outside the radius, the sound signal of the point sound source may not be obtained, and meanwhile, a 2D sound effect corresponding to the scene may be continuously played in the whole scene, for example, wind sound, and a volume attribute of the 2D sound effect may be dynamically changed along with a height change of the sound receiving component. The sound grouping set is located on a sound grouping plane, the sound grouping plane is located at a certain distance below a viewing angle camera, and sound groupings in the sound grouping set are arranged in a sound grouping plane in a certain relative position relationship, specifically, the relative position relationship between the sound groupings can be determined according to the relative position relationship between each monitoring point, please refer to fig. 5b, which provides an exemplary schematic diagram of the relative position of the sound groupings in the embodiment of the present application, as shown in fig. 5b, the sound groupings are arranged in a position relationship similar to the relative position relationship between the monitoring points, the position relationship of the monitoring points is an upper detection point, a middle three detection points, and a lower two monitoring points, the position relationship of the sound groupings is also an upper sound grouping, a middle three grouping sound grouping, and a lower two sound groupings, it should be noted that the position relationship between the sound groupings may not be on one plane, meanwhile, the distance between the sound groupings is not fixed, and can be adjusted according to a change in the height of the viewing angle camera, for example, when the height of the viewing angle camera becomes larger, the distance between the sound groupings becomes smaller.
S203, responding to a starting instruction of the target game, and loading a game scene of the target game on a display interface;
s204, determining at least one target position corresponding to at least one monitoring point in the game scene according to the position information of the at least one monitoring point of the display interface;
s205, detecting the earth surface area type of each target position in the at least one target position in the game scene;
specifically, the data processing device obtains a ground surface type database of the target game, the ground surface type database stores all ground surface area types of the target game and area ranges corresponding to each ground surface area type, further obtains coordinate information of each target position in a game scene, searches the ground surface area type of each target position from the ground surface type database according to the coordinate information, for example, detects the area range to which the coordinate information belongs, and determines the ground surface area type corresponding to the target position according to the area range.
S206, determining a sound effect grouping corresponding to each target position in the sound effect grouping cluster;
specifically, a first corresponding relationship set of the detection point and the sound effect grouping is obtained, the corresponding relationship between each sound effect grouping in the sound effect grouping cluster and the monitoring point is stored in the first corresponding relationship set, the sound effect grouping corresponding to each monitoring point in the sound effect grouping cluster is determined through the first corresponding relationship set, and further the sound effect grouping corresponding to each target position in the sound effect grouping cluster is determined according to the target position corresponding to each monitoring point. Each sound effect grouping comprises an ambient sound effect corresponding to each earth surface area type in the game scene, and the ambient sound effects contained in each sound effect grouping are the same, namely, each sound effect grouping can play the ambient sound effect corresponding to any earth surface area type.
S207, according to the surface area type of each target position and the sound effect grouping corresponding to each target position, determining the environmental sound effect of each sound effect grouping in a sound effect grouping cluster, and playing the environmental sound effect corresponding to each sound effect grouping in the sound effect grouping cluster;
specifically, a second corresponding relationship set of the surface area type and the ambient sound effect is obtained, the ambient sound effect corresponding to each surface area type is stored in the second corresponding relationship table, the ambient sound effect corresponding to the surface area type of each target position is determined through the second corresponding relationship set, further, the ambient sound effect of each sound effect grouping in a sound effect grouping cluster is determined according to the ambient sound effect and the sound effect grouping corresponding to each target position, and the ambient sound effect corresponding to each sound effect grouping is played in the sound effect grouping cluster.
S208, responding to an exit instruction of a game scene, recording the current environmental sound effect of each sound effect grouping in the sound effect grouping cluster, stopping playing the current environmental sound effect of each sound effect grouping, and taking the current environmental sound effect of each sound effect grouping as a historical environmental sound effect and storing the historical environmental sound effect.
Specifically, the data processing device responds to an exit instruction of the game scene, where the exit instruction is an end instruction for the target game or exiting the game scene, specifically, a click instruction or a screen touch instruction, and stops playing the current ambient sound effect of each sound effect group. And simultaneously, recording the current environmental sound of each sound marshalling in the sound marshalling cluster, taking the current environmental sound of each sound marshalling as historical environmental sound and storing the historical environmental sound, and when the user enters the target game again and is in the same environment, directly reading the historical environmental sound and playing each sound marshalling in the sound marshalling cluster according to the historical environmental sound.
Step S203 in the embodiment of the present invention refers to the detailed description of step S101 in the embodiment shown in fig. 2, and step S204 refers to the detailed description of step S102 in the embodiment shown in fig. 2, which is not repeated herein.
In the embodiment of the application, a starting instruction of a target game is responded, a game scene of the target game is loaded on a display interface, at least one target position corresponding to at least one monitoring point is determined in the game scene according to position information of the at least one monitoring point of the display interface, a surface area type of each target position in the at least one target position in the game scene is further detected, a sound effect grouping corresponding to each target position in a sound effect grouping cluster is determined, finally, an ambient sound effect of each sound effect grouping in the sound effect grouping cluster is determined according to the surface area type of each target position and the sound effect grouping corresponding to each target position, and the ambient sound effect corresponding to each sound effect grouping is played in the sound effect grouping cluster. By adopting the method, the game details of the scene ground surface can be fully expressed according to the complicated and changeable landform and the 3D point sound source positioned on the scene ground surface, the expression mode of the environmental sound effect in the game scene is enriched, and the spatial sense of the environmental sound effect is improved.
With reference to fig. 6 to fig. 7, a specific implementation scenario provided by the embodiment of the present application is described below, and as shown in fig. 6, a schematic flow diagram for generating a sound effect grouping is provided for the embodiment of the present application. Specifically, all the types of the earth surface regions possibly appearing in a game scene are counted, the types of the earth surface regions are defined as a real-time game parameter X, the value range is 0-N, the values of all the types of the earth surface regions are defined, for example, the plains are 1, the deserts are 2, the frozen soils are 3 and the like, corresponding 3D environmental sound effects are manufactured for each type needing to express the environmental sound effects and grouped, 6 sound effects are grouped and copied, the 1 st group is arranged right ahead of the sound receiving assembly (the sound receiving assembly is used as a reference point, the scene ground is front, namely, the scene ground is overlooked on the sound receiving assembly) for a certain distance, the 2 nd group is arranged right ahead of the sound receiving assembly for a certain distance, the 3 rd group is arranged right ahead of the sound receiving assembly for a certain distance, the 4 th group is arranged right below and left ahead of the sound receiving assembly for a certain distance, the 5 th group is arranged right below and right ahead of the sound receiving assembly for a certain distance, the 6 th group is arranged right ahead of the sound receiving assembly for a certain distance, and the specific distance can be set according to the specific scene.
Meanwhile, 6 copies of the parameter X are carried out, X _1 is a real-time area type parameter of a screen center point at a surface mapping point, X _2 is a real-time area type parameter of a screen left frame midpoint at a surface mapping point, X _3 is a real-time area type parameter of a screen right frame midpoint at a surface mapping point, X _4 is a real-time area type parameter of a screen lower left corner at a surface mapping point, X _5 is a real-time area type parameter of a screen lower right corner at a surface mapping point, and X _6 is a real-time area type parameter of a screen upper frame midpoint at a surface mapping point.
And when the scene is started, the sound effect marshalling is simultaneously triggered, and the triggered sound effect content is switched according to the real-time parameters transmitted from the specific position, so that the dynamic change of the scene earth surface area sound effect and the wide sound field experience brought by sound signals from the middle, the left front, the right front, the left lower front, the right lower front and the upper front are realized.
As shown in fig. 7, a flow diagram of an ambient sound effect life cycle is provided for the embodiment of the present application. Specifically, when the game scene of the target game is started, the sound event trigger of the interactive environment sound effect system is started, including 2D sound effects, 3D sound effect grouping, surface 3D point sound source trigger, and the like. Aiming at the 2D sound effect, the attributes such as sound effect volume and the like can be adjusted in real time according to the parameters such as the height of a visual angle camera, and the 2D sound effect can be added with the change response to 24-hour time parameters, the change response to various weather parameters and the like; aiming at the 3D sound effect marshalling, the real-time dynamic change of the sound effect content of the 3D sound effect marshalling can be triggered according to the real-time earth surface area type parameters corresponding to each monitoring point in the screen, and the 3D sound effect marshalling can be changed in real time along with the height of a visual angle camera, the time change of 24 hours, the weather change and other information; aiming at the ground surface 3D point sound source, the sound expression is set according to the 3D attenuation attribute of the point sound source, when the sound receiving assembly is positioned in the attenuation radius range of the ground surface 3D point sound source, the sound signal triggered by the point sound source can be received, and when the sound receiving assembly is positioned out of the attenuation radius range of the ground surface 3D point sound source, the sound signal triggered by the point sound source cannot be received. It should be noted that, in the switching process of the environmental sound, a mode of gradually entering the sound and fading out the sound can be adopted, so that the switching of the sound is smoother. When the game scene leaves, the sound event trigger of the interactive environment sound effect system is closed, and the 2D sound effect, the 3D sound effect grouping and the earth surface 3D point sound source stop playing.
Meanwhile, the surface area type sound effect resources which are not in the playing state in the 3D sound effect marshalling can be released from the memory, and are loaded from the sound effect resources when the surface area types are switched, so that the memory can be saved, and meanwhile, the real-time sounding quantity can be controlled.
Please refer to fig. 8, which provides a schematic structural diagram of a data processing apparatus according to an embodiment of the present application. The data processing device may be a computer program (comprising program code) running on a computer device, e.g. an application software; the device can be used for executing the corresponding steps in the method provided by the embodiment of the application. As shown in fig. 8, the data processing apparatus 1 according to the embodiment of the present application may include: the system comprises a scene loading unit 11, a position determining unit 12, a ground surface type detecting unit 13, a sound effect grouping determining unit 14 and an ambient sound effect playing unit 15.
A scene loading unit 11, configured to respond to a start instruction of a target game, and load a game scene of the target game on a display interface;
the position determining unit 12 is configured to determine, according to position information of at least one monitoring point of the display interface, at least one target position corresponding to the at least one monitoring point in the game scene; the monitoring points correspond to the target positions one by one;
a ground surface type detection unit 13, configured to detect a ground surface area type of each target location in the at least one target location in the game scene;
a sound effect grouping determining unit 14, configured to determine a sound effect grouping corresponding to each target location in the sound effect grouping cluster; the sound effect marshalling cluster comprises at least one sound effect marshalling, the sound effect marshalling comprises the environmental sound effect corresponding to each earth surface area type in the game scene, and the target position corresponds to the sound effect marshalling one by one;
and the ambient sound effect playing unit 15 is configured to determine an ambient sound effect of each sound effect grouping in the sound effect grouping cluster according to the land surface area type of each target position and the sound effect grouping corresponding to each target position, and play the ambient sound effect corresponding to each sound effect grouping in the sound effect grouping cluster.
Referring to fig. 8, the data processing apparatus 1 according to the embodiment of the present application may further include: a sound effect grouping generation unit 16;
a sound effect grouping generation unit 16, configured to count all the land surface area types in the game scene of the target game, and set a corresponding ambient sound effect for each land surface area type; the game scene comprises at least one surface area type;
and determining a set of the environmental sound effects respectively corresponding to all the land surface area types as sound effect marshalling.
Referring to fig. 8, the data processing apparatus 1 according to the embodiment of the present application may further include: a grouping cluster construction unit 17;
the grouping cluster building unit 17 is used for setting at least one monitoring point for a game scene in a display interface;
acquiring position information of a sound receiving component in the game scene, constructing a sound effect grouping cluster according to the position information of the at least one monitoring point and the position information of the sound receiving component, and creating a corresponding relation set of each monitoring point in the at least one monitoring point and a sound effect grouping in the sound effect grouping cluster;
the sound effect grouping cluster comprises at least one sound effect grouping, the number of the sound effect grouping is the same as that of the monitoring points, and the sound effect grouping corresponds to the monitoring points one to one.
In a possible embodiment, the grouping cluster building unit 17 is specifically configured to:
acquiring quantity information of the at least one monitoring point, and creating sound effect marshalling with the same quantity as the quantity information;
acquiring a relative position relationship between each monitoring point in the at least one monitoring point, and determining a relative position relationship between at least one sound effect grouping according to the relative position relationship;
and constructing a sound effect grouping cluster according to the position information of the sound receiving component and at least one sound effect component with a relative position relation.
In a possible embodiment, the surface type detection unit 13 is specifically configured to:
acquiring a land surface type database of the target game, wherein the land surface type database stores all land surface area types of the target game and an area range corresponding to each land surface area type;
and acquiring the coordinate information of each target position in a game scene, and searching the earth surface area type of each target position from the earth surface type database according to the coordinate information.
In a possible embodiment, the grouping determination unit 14 is specifically configured to:
acquiring a first corresponding relation set of the detection points and sound grouping, wherein the corresponding relation set stores the corresponding relation between each sound grouping in the sound grouping cluster and the monitoring points;
determining the sound effect grouping corresponding to each monitoring point in the sound effect grouping cluster through the first corresponding relation set;
and determining the sound effect marshalling corresponding to each target position in the sound effect marshalling cluster according to the target position corresponding to each monitoring point.
In a possible implementation manner, the ambient sound effect playing unit 15 is specifically configured to:
acquiring a second corresponding relation set of the surface area types and the environmental sound effects, wherein the environmental sound effects corresponding to each surface area type are stored in the corresponding relation table;
determining an environmental sound effect corresponding to the type of the earth surface area of each target position through the second corresponding relation set;
and determining the ambient sound effect of each sound effect grouping in a sound effect grouping cluster according to the ambient sound effect and the sound effect grouping corresponding to each target position, and playing the ambient sound effect corresponding to each sound effect grouping in the sound effect grouping cluster.
Referring to fig. 8, the data processing apparatus 1 according to the embodiment of the present application may further include: a sound effect stop unit 18;
and the sound effect stopping unit 18 is used for responding to an exit instruction of a game scene, recording the current environmental sound effect of each sound effect grouping in the sound effect grouping cluster, stopping playing the current environmental sound effect of each sound effect grouping, and taking the current environmental sound effect of each sound effect grouping as historical environmental sound effect and storing the historical environmental sound effect.
In the embodiment of the application, a starting instruction of a target game is responded, a game scene of the target game is loaded on a display interface, at least one target position corresponding to at least one monitoring point is determined in the game scene according to position information of the at least one monitoring point of the display interface, a surface area type of each target position in the at least one target position in the game scene is further detected, a sound effect grouping corresponding to each target position in a sound effect grouping cluster is determined, finally, an ambient sound effect of each sound effect grouping in the sound effect grouping cluster is determined according to the surface area type of each target position and the sound effect grouping corresponding to each target position, and the ambient sound effect corresponding to each sound effect grouping is played in the sound effect grouping cluster. By adopting the method, the game details of the scene ground surface can be fully expressed according to the complicated and changeable landform and the 3D point sound source positioned on the scene ground surface, the expression mode of the environmental sound effect in the game scene is enriched, and the spatial sense of the environmental sound effect is improved.
Referring to fig. 9, a schematic structural diagram of a computer device is provided according to an embodiment of the present application. As shown in fig. 9, the computer apparatus 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002. The communication bus 1002 is used to implement connection communication among these components. The user interface 1003 may include a Display screen (Display), and the optional user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., a WI-FI interface). The Memory 1005 may be a Random Access Memory (RAM) or a non-volatile Memory (NVM), such as at least one disk Memory. The memory 1005 may alternatively be at least one memory device located remotely from the processor 1001. As shown in fig. 9, the memory 1005, which is a type of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a data processing application program.
In the computer apparatus 1000 shown in fig. 9, a network interface 1004 may provide a network communication function, and a user interface 1003 is mainly used as an interface for providing input for a user; the processor 1001 may be configured to call a data processing application stored in the memory 1005 to implement the description of the data processing method in the embodiment corresponding to any one of fig. 2 to fig. 7, which is not described herein again.
It should be understood that the computer device 1000 described in this embodiment of the present application may perform the description of the data processing method in the embodiment corresponding to any one of fig. 2 to fig. 7, and may also perform the description of the data processing device in the embodiment corresponding to fig. 8, which is not described herein again. In addition, the beneficial effects of the same method are not described in detail.
Furthermore, it is to be noted here that: an embodiment of the present application further provides a computer-readable storage medium, where the computer program executed by the aforementioned data processing apparatus is stored in the computer-readable storage medium, and the computer program includes program instructions, and when the processor executes the program instructions, the description of the data processing method in the embodiment corresponding to any one of fig. 2 to fig. 7 can be performed, so that details are not repeated here. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in the embodiments of the computer-readable storage medium referred to in the present application, reference is made to the description of the embodiments of the method of the present application. As an example, program instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network, which may comprise a block chain system.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, an NVM or a RAM.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and should not be taken as limiting the scope of the present application, so that the present application will be covered by the appended claims.

Claims (9)

1. A data processing method, comprising:
setting at least one monitoring point for a game scene in a display interface;
acquiring position information of a sound receiving component in the game scene, constructing a sound effect grouping cluster according to the position information of the at least one monitoring point and the position information of the sound receiving component, and creating a corresponding relation set of each monitoring point in the at least one monitoring point and a sound effect grouping in the sound effect grouping cluster; the sound effect grouping cluster comprises at least one sound effect grouping, the number of the sound effect grouping is the same as that of the monitoring points, and the sound effect grouping corresponds to the monitoring points one to one;
responding to a starting instruction of a target game, and loading a game scene of the target game on the display interface;
determining at least one target position corresponding to at least one monitoring point in the game scene according to the position information of the at least one monitoring point of the display interface; the monitoring points correspond to the target positions one by one;
detecting a surface area type of each of the at least one target location in the game scene;
determining a corresponding prominence grouping of each target position in the prominence grouping cluster; the sound effect marshalling comprises an environmental sound effect corresponding to each earth surface area type in the game scene, and the target position corresponds to the sound effect marshalling in a one-to-one mode;
and determining the ambient sound effect of each sound effect grouping in a sound effect grouping cluster according to the land surface area type of each target position and the sound effect grouping corresponding to each target position, and playing the ambient sound effect corresponding to each sound effect grouping in the sound effect grouping cluster.
2. The method of claim 1, further comprising:
counting all the earth surface area types in the game scene of the target game, and setting a corresponding environmental sound effect for each earth surface area type; the game scene comprises at least one surface area type;
and determining a set of the environmental sound effects respectively corresponding to all the land surface area types as sound effect marshalling.
3. The method according to claim 1, wherein the constructing of the prominence grouping cluster according to the position information of the at least one monitoring point and the position information of the sound receiving component comprises:
acquiring quantity information of the at least one monitoring point, and creating sound effect marshalling with the same quantity as the quantity information;
acquiring the relative position relationship between each monitoring point in the at least one monitoring point, and determining the relative position relationship between at least one sound effect grouping according to the relative position relationship;
and constructing a sound effect grouping cluster according to the position information of the sound receiving assembly and at least one sound effect assembly with a relative position relation.
4. The method of claim 1, wherein the detecting a type of a terrain area in the game scene for each of the at least one target location comprises:
acquiring a land surface type database of the target game, wherein all land surface area types of the target game and an area range corresponding to each land surface area type are stored in the land surface type database;
and acquiring coordinate information of each target position in a game scene, and searching the earth surface region type of each target position from the earth surface type database according to the coordinate information.
5. The method of claim 1, wherein said determining a corresponding prominence grouping for each target location in the prominence grouping cluster comprises:
acquiring a first corresponding relation set of the monitoring points and sound grouping, wherein the first corresponding relation set stores the corresponding relation between each sound grouping in the sound grouping cluster and the monitoring points;
determining the sound effect grouping corresponding to each monitoring point in the sound effect grouping cluster through the first corresponding relation set;
and determining a sound effect grouping corresponding to each target position in the sound effect grouping cluster according to the target position corresponding to each monitoring point.
6. The method according to claim 1, wherein the determining the ambient sound effect of each sound effect grouping in a sound effect grouping cluster according to the land surface area type of each target position and the sound effect grouping corresponding to each target position, and playing the ambient sound effect corresponding to each sound effect grouping in the sound effect grouping cluster comprises:
acquiring a second corresponding relation set of the surface area types and the environmental sound effects, wherein the environmental sound effects corresponding to each surface area type are stored in the second corresponding relation table;
determining an environmental sound effect corresponding to the type of the earth surface area of each target position through the second corresponding relation set;
and determining the ambient sound effect of each sound effect grouping in a sound effect grouping cluster according to the ambient sound effect and the sound effect grouping corresponding to each target position, and playing the ambient sound effect corresponding to each sound effect grouping in the sound effect grouping cluster.
7. A data processing apparatus, characterized by comprising:
the grouping cluster building unit is used for setting at least one monitoring point for a game scene in a display interface;
the grouping cluster constructing unit is further configured to acquire position information of a sound receiving component in the game scene, construct a sound grouping cluster according to the position information of the at least one monitoring point and the position information of the sound receiving component, and create a corresponding relationship set between each monitoring point in the at least one monitoring point and a sound grouping in the sound grouping cluster; the sound grouping cluster comprises at least one sound grouping, the number of the sound grouping is the same as that of the monitoring points, and the sound grouping corresponds to the monitoring points one to one;
the scene loading unit is used for responding to a starting instruction of a target game and loading a game scene of the target game on the display interface;
the position determining unit is used for determining at least one target position corresponding to at least one monitoring point in the game scene according to the position information of the at least one monitoring point of the display interface; the monitoring points correspond to the target positions one by one;
the earth surface type detection unit is used for detecting the earth surface area type of each target position in the at least one target position in the game scene;
a sound effect grouping determining unit, which is used for determining the corresponding sound effect grouping of each target position in the sound effect grouping cluster; the sound effect marshalling cluster comprises at least one sound effect marshalling, the sound effect marshalling comprises the environmental sound effect corresponding to each earth surface area type in the game scene, and the target position corresponds to the sound effect marshalling one by one;
and the ambient sound effect playing unit is used for determining the ambient sound effect of each sound effect grouping in the sound effect grouping cluster according to the surface area type of each target position and the sound effect grouping corresponding to each target position, and playing the ambient sound effect corresponding to each sound effect grouping in the sound effect grouping cluster.
8. A computer-readable storage medium, in which a computer program is stored which is adapted to be loaded by a processor and to carry out the method of any one of claims 1 to 6.
9. A computer device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method of any of claims 1-6.
CN202110527916.2A 2021-05-14 2021-05-14 Data processing method and equipment Active CN113117328B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110527916.2A CN113117328B (en) 2021-05-14 2021-05-14 Data processing method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110527916.2A CN113117328B (en) 2021-05-14 2021-05-14 Data processing method and equipment

Publications (2)

Publication Number Publication Date
CN113117328A CN113117328A (en) 2021-07-16
CN113117328B true CN113117328B (en) 2022-11-18

Family

ID=76781805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110527916.2A Active CN113117328B (en) 2021-05-14 2021-05-14 Data processing method and equipment

Country Status (1)

Country Link
CN (1) CN113117328B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106170034A (en) * 2016-06-16 2016-11-30 广东欧珀移动通信有限公司 A kind of sound effect treatment method and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014200454A (en) * 2013-04-04 2014-10-27 株式会社スクウェア・エニックス Recording medium, game device and game progress method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106170034A (en) * 2016-06-16 2016-11-30 广东欧珀移动通信有限公司 A kind of sound effect treatment method and mobile terminal

Also Published As

Publication number Publication date
CN113117328A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
US11259136B2 (en) Sound reproduction method and apparatus, storage medium, and electronic apparatus
CN111744187B (en) Game data processing method and device, computer and readable storage medium
CN111190926B (en) Resource caching method, device, equipment and storage medium
CN110102052B (en) Virtual resource delivery method and device, electronic device and storage medium
WO2023273131A1 (en) Game scene generation method and apparatus, storage medium, and electronic apparatus
CN110478898B (en) Configuration method and device of virtual scene in game, storage medium and electronic equipment
CN113952720A (en) Game scene rendering method and device, electronic equipment and storage medium
CN113117328B (en) Data processing method and equipment
CN116402931A (en) Volume rendering method, apparatus, computer device, and computer-readable storage medium
CN112699223B (en) Data searching method, device, electronic equipment and storage medium
CN108744517A (en) Audio-frequency processing method, device, terminal and storage medium
CN115382208A (en) Three-dimensional guide map generation method, device, storage medium and electronic device
CN115193042A (en) Display control method, display control device, electronic equipment and storage medium
CN114090713A (en) Service providing method and system based on augmented reality and electronic equipment
CN112717395B (en) Audio binding method, device, equipment and storage medium
CN116506680B (en) Comment data processing method and device for virtual space and electronic equipment
KR102609126B1 (en) Method and system for predicting marine wind based on asymmetrical typhoon characteristics
CN113413602B (en) Processing method and device for underwater indoor environment in game
CN116109756B (en) Ray tracing method, device, equipment and storage medium
CN114247132B (en) Control processing method, device, equipment, medium and program product for virtual object
US20230285859A1 (en) Virtual world sound-prompting method, apparatus, device and storage medium
CN113926189A (en) Terrain block display method, device, equipment and storage medium
CN117258295A (en) Sound processing method and device for virtual space, electronic equipment and storage medium
CN115944916A (en) Sound effect determination method and device, electronic equipment and storage medium
CN117599419A (en) Method, device, system and program product for displaying virtual wall in virtual scene

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40048747

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant