CN106914019A - A kind of data processing method, device and server - Google Patents

A kind of data processing method, device and server Download PDF

Info

Publication number
CN106914019A
CN106914019A CN201710161491.1A CN201710161491A CN106914019A CN 106914019 A CN106914019 A CN 106914019A CN 201710161491 A CN201710161491 A CN 201710161491A CN 106914019 A CN106914019 A CN 106914019A
Authority
CN
China
Prior art keywords
technical ability
virtual objects
coverage
virtual
initial
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.)
Granted
Application number
CN201710161491.1A
Other languages
Chinese (zh)
Other versions
CN106914019B (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 CN201710161491.1A priority Critical patent/CN106914019B/en
Publication of CN106914019A publication Critical patent/CN106914019A/en
Application granted granted Critical
Publication of CN106914019B publication Critical patent/CN106914019B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/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
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • 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/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the present invention provides a kind of data processing method, device and server, and the method includes:The technical ability for receiving client transmission puts request to good use, and the technical ability puts the first technical ability that the first virtual objects are put in request to good use for request to good use;Determine the initial technical ability coverage of the first technical ability;According to the technical ability coverage gradually expanded since initial technical ability coverage, the virtual objects of scanning second gradually, until scanned in technical ability coverage to the second virtual objects, or technical ability coverage is expanded to range limit;If scanned in technical ability coverage to the second virtual objects, destination virtual object is determined from the second virtual objects for scanning, and send the first notice to the client, to notify that the client controls the first virtual objects to move to the position of destination virtual object, and show the first effect that the first technical ability is produced to destination virtual object.The embodiment of the present invention can be easy realization collision class technical ability, reduce the resource overhead of server.

Description

A kind of data processing method, device and server
Technical field
The present invention relates to technical field of data processing, and in particular to a kind of data processing method, device and server.
Background technology
Technical ability as game, emulation etc. network application an important component, technical ability realize be always this kind of network The technology emphasis of developer's research of application, the realization that class technical ability is collided among these is more difficult;Colliding class technical ability is When referring to that technical ability is started, putting the virtual objects of technical ability to good use can produce motion, and the target generation strike effect to being collided in motion way.
Collision class technical ability is touched generally by physical engine realization by being defined to the virtual objects in virtual scene at present Device is hit, when collision class technical ability is started, physical engine can drive the virtual objects for putting technical ability to good use to be moved, in virtual objects In motion process, whether the impinger of the detectable virtual objects of physical engine produces with the impinger of other virtual objects and contacts, And when the impinger of virtual objects and the impinger of other virtual objects are produced and contacted, the virtual objects to producing contact are produced Strike effect.
But the quantity of the virtual objects of same screen is more in network application, collision class technical ability is realized using physical engine, Server is needed to process substantial amounts of information, causes the resource overhead of server larger, therefore how easy realization is touched Class technical ability is hit, reduces the resource overhead of server, become the problem for needing to solve.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of data processing method, device and server, is touched with easy realization Class technical ability is hit, reduces the resource overhead of server.
To achieve the above object, the embodiment of the present invention provides following technical scheme:
A kind of data processing method, including:
The technical ability for receiving client transmission puts request to good use, and the technical ability puts request to good use and puts the first virtual objects to good use for request The first technical ability;First technical ability is used to trigger the first virtual objects motion, and in the first virtual objects motion way Second virtual objects of collision produce the first effect;
It is starting point with position of first virtual objects in virtual scene, determines the initial technical ability influence model of the first technical ability Enclose;
According to the technical ability coverage gradually expanded since initial technical ability coverage, scanning second gradually is virtual Object, until scanned in technical ability coverage to the second virtual objects, or technical ability coverage is expanded to range limit;
If scanned in technical ability coverage to the second virtual objects, mesh is determined from the second virtual objects for scanning Mark virtual objects, and the first notice is sent to the client, to notify that the client controls first virtual objects to transport Move to the position of the destination virtual object, and cause the client in first virtual objects and the destination virtual pair During as collision, show the first effect that first technical ability is produced to destination virtual object.
The embodiment of the present invention also provides a kind of data processing equipment, including:
Request receiving module, the technical ability for receiving client transmission puts request to good use, and the technical ability puts request to good use for asking Seek the first technical ability for putting the first virtual objects to good use;First technical ability is used to triggering first virtual objects motion, and to the The second virtual objects collided in one virtual objects motion way produce the first effect;
Initial range determining module, is starting point for the position with the first virtual objects in virtual scene, determines first The initial technical ability coverage of technical ability;
Scan round module, for the technical ability coverage that basis gradually expands since initial technical ability coverage, The virtual objects of scanning second gradually, until scanned in technical ability coverage to the second virtual objects, or technical ability influence model Enclose and be expanded to range limit;
First result treatment module, if for being scanned in technical ability coverage to the second virtual objects, from scanning to The second virtual objects in determine destination virtual object, and to the client send first notify, to notify the client Control first virtual objects to move to the position of the destination virtual object, and cause that the client is empty described first When plan object is collided with the destination virtual object, show the first effect that first technical ability is produced to destination virtual object.
The embodiment of the present invention also provides a kind of server, including data processing equipment described above.
Based on above-mentioned technical proposal, in data processing method provided in an embodiment of the present invention, server is receiving client After holding the technical ability of request the first technical ability of putting the first virtual objects to good use for sending to put to good use and ask, server wouldn't control first virtual Object is moved, but the position with the first virtual objects in virtual scene is starting point, determines the initial of the first technical ability Technical ability coverage;And then according to the technical ability coverage gradually expanded since initial technical ability coverage, sweeping gradually The second virtual objects are retouched, until scanned in technical ability coverage to the second virtual objects, or technical ability coverage is expanded to Range limit;During this, if the server determine that scanned in technical ability coverage to the second virtual objects, then server Destination virtual object can be determined from the second virtual objects for scanning, and the first notice is sent to the client, to notify The client controls first virtual objects to move to the position of the destination virtual object, and causes that the client exists When first virtual objects are collided with the destination virtual object, show what first technical ability was produced to destination virtual object First effect, realizes the first technical ability.
As can be seen that the embodiment of the present invention can be described and configured by the logic of realizing to the first technical ability, so as to When client transmission technical ability puts request to good use, server can be by performing by program language description and the realization of the first technical ability for configuring Logic, realizes the first technical ability so that realizing for collision class technical ability can be by easy script configuration completion, it is not necessary to rely on physics Engine, the resource overhead of server is reduced.Meanwhile, do not scanning on the basis of the second virtual objects, by gradually expanding Big technical ability coverage carrys out the virtual objects of scanning second gradually to range limit, may be such that the number of the second virtual objects of scanning Controlled according to treating capacity, reduced the data processing amount involved by the second virtual objects of scanning.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is the system architecture schematic diagram of the embodiment of the present invention;
Fig. 2 is the flow chart of data processing method provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram for colliding class technical ability;
Fig. 4 is another schematic diagram for colliding class technical ability;
Fig. 5 is another flow chart of data processing method provided in an embodiment of the present invention;
Fig. 6 is the schematic diagram of initial technical ability coverage;
Fig. 7 is the schematic diagram of the technical ability coverage after expanding;
Fig. 8 is another flow chart of data processing method provided in an embodiment of the present invention;
Fig. 9 is the schematic diagram that the embodiment of the present invention is applied in gaming;
Figure 10 is the structured flowchart of data processing equipment provided in an embodiment of the present invention;
Figure 11 is another structured flowchart of data processing equipment provided in an embodiment of the present invention;
Figure 12 is another structured flowchart of data processing equipment provided in an embodiment of the present invention;
Figure 13 is the hardware block diagram of server.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Data processing method provided in an embodiment of the present invention realizes the mode of collision class technical ability, not using physical engine, But the logic of realizing of collision class technical ability is described and configured by program language, so as to start collision in client request During class technical ability, server can realize logic by performing by the collision class technical ability of program language description and configuration, to collision class Technical ability is realized;Remove prior art from and define impinger, and in the motion process of virtual objects, detect touching for virtual objects Hit whether device produces the process for contacting with the impinger of other virtual objects, be greatly reduced the resource overhead of server.
Fig. 1 shows the system architecture schematic diagram of the embodiment of the present invention, and reference picture 1, the system architecture can include:Client End 10 and server 20;
Client 10 can be arranged on the user equipmenies such as smart mobile phone, panel computer, notebook computer, for game, imitated It is true to wait network application to provide local service;Optionally, by taking gaming network application as an example, client 10 such as game client;
Server 20 is arranged at network side, can provide network service for network applications such as game, emulation, and server 20 can Being that single server is realized, it is also possible to by multiple server groups into server farm realize;Optionally, with net game As a example by network application, server 20 such as game server.
Based on system shown in Figure 1 framework, client 10 can send when technical ability is put to good use based on user's operation to server 20 Technical ability puts request to good use, and it can be the collision class technical ability that virtual objects are put in request to good use that the technical ability puts request to good use.
Server 20 can perform by the collision class technical ability of program language description and configuration after reception technical ability puts request to good use Logic is realized, the optional flow for realizing logic that server performs collision class technical ability can be as shown in Figure 2.
Fig. 2 is the flow chart of data processing method provided in an embodiment of the present invention, and the data processing method can be applied to clothes Business device, reference picture 2, data processing method provided in an embodiment of the present invention can include:
Step S100, receive the technical ability that client sends and put request to good use, the technical ability is put to good use and asks to put the to good use for request First technical ability of one virtual objects;First technical ability is used to trigger the first virtual objects motion, and virtual to first right As the second virtual objects collided in motion way produce the first effect.
Optionally, the first technical ability can be the one kind for colliding class technical ability;By taking gaming network application as an example, class technical ability is such as collided Can trigger user's control virtual role make a spurt forwards, and to spurt path on collide hostile target start strike, to enemy Strike effect (a kind of form of the first effect) is produced to target;Fig. 3 shows corresponding signal, and a game role is put to good use and touched After hitting class technical ability, can to direction front make a spurt, and to spurt path on collide hostile game role start strike so that enemy Vital values are lost to game role;
And for example, the device (such as weapon) that collision class technical ability can trigger operated by the virtual role of user's control is projected forwards Object, and strike is produced to the hostile target in projected path, and if not existing hostile target in projected path, then technical ability is beaten It is empty;As shown in figure 4, Fig. 4 left halfs show that a game role control cannon projects shell, but cannon to cannon towards front Project and do not exist hostile target on the path of shell, the signal that shell fans the air, Fig. 4 right halfs show a game role control Cannon projects shell to cannon towards front, there is hostile target on the path of cannon projection shell, and shell hits hostile target, So that hostile target loses the signal of vital values;
Obviously, the citing of the collision class technical ability of foregoing description is only schematically illustrate, and the concrete form for colliding class technical ability can be with According to game etc. network application exploitation demand and define.
When first virtual objects can be that the first technical ability is started, the virtual objects of motion are produced;As the first virtual objects can To be virtual role that user is controlled, by taking gaming network application as an example, the first virtual objects can be the trip that user is controlled Play role;First virtual objects are also likely to be the device operated by the virtual role that user is controlled, and are with gaming network application Example, the first virtual objects can be weapon operated by the game role that user is controlled etc.;
Second virtual objects can be the virtual objects that can apply the first technical ability, can be specifically to be with the first virtual objects The virtual objects of hostile relations;Monster in second virtual objects such as virtual scene, be with the first virtual objects in virtual scene Virtual role of hostile relations (rival camps or battle relation) etc.;
First effect can be strike effect of first technical ability to the second virtual objects;First technical ability is to the second virtual objects The first effect is produced, then the second virtual objects are typically subject to declining profit influence, the vital values property value of such as the second virtual objects Loss.
Step S110, the position with the first virtual objects in virtual scene are starting point, determine the initial skill of the first technical ability Can coverage.
Optionally, the technical ability coverage of the first technical ability can be the scope of two dimension, it is also possible to three-dimensional scope, specifically Depending on the virtual scene that the form of the first technical ability and network application are supported is two dimension or three-dimensional.
Server is being received after the technical ability puts request to good use, position that can be with the first virtual objects in virtual scene, It is the starting point of technical ability coverage, determines the initial technical ability coverage of the first technical ability, the initial technical ability influence model of the first technical ability The original dimension enclosed can preset;
The embodiment of the present invention can determine direction of first virtual objects in virtual scene, with the first virtual objects in void The position intended in scene is starting point, determines the initial technical ability coverage of the first technical ability of setting original dimension, and initial Direction of the direction of technical ability coverage to the first virtual objects in virtual scene is corresponding;Optionally, it is resulting initial Technical ability coverage corresponding position range in virtual scene, position that can be according to the first virtual objects in virtual scene, And the corresponding position range of original dimension of setting is combined and determined.
Step S120, the second virtual objects are scanned according to initial technical ability coverage, judged in initial technical ability influence In the range of whether scan to the second virtual objects, if it is not, perform step S130, if so, performing step S160.
Optionally, the embodiment of the present invention can be (empty with first such as in virtual scene by the second virtual objects in virtual scene Intend object for hostile relations virtual objects) position, with initial technical ability coverage in virtual scene corresponding position Scope is matched, matched if there is position range of the position with initial technical ability coverage in virtual scene Two virtual objects, then can determine that and scanned to the second virtual objects in initial technical ability coverage, otherwise, it determines initial Do not scanned to the second virtual objects in technical ability coverage.
Step S130, according to setting adjustment dimension enlargement technical ability coverage.
Optionally, the starting point of the technical ability coverage after expansion is still position of first virtual objects in virtual scene, Direction of the direction of the technical ability coverage after expansion still to the first virtual objects in virtual scene is corresponding;Expand technical ability influence The setting adjustment size that scope is used, can define according to actual conditions.
By initial technical ability coverage in virtual scene corresponding position range, add it is described setting adjustment size pair The position range of the virtual scene answered, then technical ability coverage after can the being expanded corresponding position model in virtual scene Enclose;
If technical ability coverage had carried out expansion, can be by the corresponding technical ability coverage of last time scanning virtual Corresponding position range in scene, adds the position range of the corresponding virtual scene of the setting adjustment size, is currently expanded Technical ability coverage after the big corresponding position range in virtual scene.
Step S140, according to after expansion technical ability coverage scan the second virtual objects, judge the technical ability after expansion Whether scanned to the second virtual objects in coverage, if it is not, step S150 is performed, if so, performing step S160.
Optionally, the embodiment of the present invention can be by the position of the second virtual objects in virtual scene, with the technical ability after expansion Whether coverage corresponding position range in virtual scene is matched, and judges swept in the technical ability coverage after expansion Retouch to the second virtual objects.
Technical ability coverage after step S150, judgement expansion, if reach the model of the technical ability coverage of the first technical ability Limit value is enclosed, if it is not, step S130 is performed, if so, performing step S170.
It can be seen that, the embodiment of the present invention with technical ability coverage the second virtual objects of run-down, and can not be scanned to During two virtual objects, expand a technical ability coverage, and it is virtual right to scan second again with the technical ability coverage after expansion As, circulated with this, until the technical ability coverage reach limit value after expanding, or, scanned in technical ability coverage and arrived Second virtual objects.
The range limit of the technical ability coverage of the first technical ability, can set according to the concrete condition of the first technical ability, such as with The technical ability strike scope of the first energy-conservation is corresponding.
Step S160, destination virtual object is determined from the second virtual objects for scanning, the is sent to the client One notifies, to notify that the client controls first virtual objects to move to the position of the destination virtual object, and makes The client is obtained when first virtual objects are collided with the destination virtual object, shows first technical ability to target The first effect that virtual objects are produced.
Optionally, it can inform the technical ability of client first that server sends the first effect for notifying to the client The destination virtual object to be applied is in the middle position of virtual scene, so that the client can be with destination virtual object virtual Position in scene, is the motion destination of first virtual objects, and the client can control first virtual objects Move to the motion destination;Meanwhile, the motion destination is moved in first virtual objects, it is empty with the target When plan object collides, the client can show the first effect that first technical ability is produced to destination virtual object.
It can be seen that, if server is scanned to the second virtual objects in the initial technical ability coverage of the first technical ability, or Person, the technical ability coverage (can expand at least one times, but the no more than technical ability coverage of range limit) after expansion Interior scanning can determine destination virtual object to the second virtual objects, then server from the second virtual objects for scanning, and The first virtual objects can be made to move to position of the destination virtual object in virtual scene, and this is moved in the first virtual objects When position collides with destination virtual object, the first effect of the first technical ability is produced to destination virtual object.
Optionally, embodiment of the present invention definable determines setting for destination virtual object from the second virtual objects for scanning Fixed condition, such as from the second virtual objects for scanning, chooses and the closest destination virtual object of the first virtual objects, or Person, the second virtual objects that will be scanned are defined as destination virtual object etc., impose a condition can be according to the first technical ability can Situations such as strike quantity, sets.
The virtual role that such as can trigger user's control with the first technical ability is made a spurt forwards, and to the hostile mesh on spurt path Mark starts as a example by strike, and server, as starting point, determines the first of the first technical ability in the position with virtual role in virtual scene The technical ability coverage of beginning, and scan to hostile target, or, with the technical ability coverage scanning after expansion to hostile target Afterwards, server can choose the closest target hostile target with virtual role from the hostile target for scanning, and to institute State client and send the first notice so that position of the client control virtual role with target hostile target in virtual scene Destination thrust forward is set to, and at the position of virtual role spurt to target hostile target, client shows the first technical ability To the strike effect of target hostile target.
Step S170, second is sent to the client notify, to notify that client control described first is virtual right As moving to the corresponding position of Distance l imit that first technical ability sets, and cause that the client is virtual right described first As moving to during the position, show the second effect of first technical ability.
If server is during technical ability coverage to range limit is expanded, equal every time by technical ability coverage Scanning is moved less than the second virtual objects, the then Distance l imit that the first virtual objects can set according to the first technical ability, will The virtual objects of distance first be the position of the Distance l imit as destination, and control the first virtual objects to move to the purpose Ground, produces the second effect of the first technical ability.
Optionally, due to there is no the second virtual objects, therefore the first virtual objects in the path of the first virtual objects motion In the absence of the second virtual objects that can collide during motion, the first virtual objects first technical ability after motion terminates is beaten Hitting to fan the air, and accordingly, the second effect of the first technical ability can be the effect that fans the air of the first technical ability.Optionally, first technical ability Strike effect and the effect that fans the air can set according to actual conditions, not the fixed effect form of expression.
In data processing method provided in an embodiment of the present invention, server puts the to good use in the request for receiving client transmission After the technical ability of the first technical ability of one virtual objects puts request to good use, server wouldn't control the first virtual objects to be moved, but It is starting point with position of first virtual objects in virtual scene, determines the initial technical ability coverage of the first technical ability;And then According to the technical ability coverage gradually expanded since initial technical ability coverage, the virtual objects of scanning second gradually, directly Extremely scanned in technical ability coverage to the second virtual objects, or technical ability coverage is expanded to range limit;This process In, if the server determine that being scanned in technical ability coverage to the second virtual objects, then server can be from second for scanning Destination virtual object is determined in virtual objects, and the first notice is sent to the client, to notify the client control institute The position that the first virtual objects move to the destination virtual object is stated, and causes the client in first virtual objects When being collided with the destination virtual object, show the first effect that first technical ability is produced to destination virtual object, realize the One technical ability.
As can be seen that the embodiment of the present invention can be described and configured by the logic of realizing to the first technical ability, so as to When client transmission technical ability puts request to good use, server can be by performing by program language description and the realization of the first technical ability for configuring Logic, realizes the first technical ability so that realizing for collision class technical ability can be by easy script configuration completion, it is not necessary to rely on physics Engine, the resource overhead of server is reduced.Meanwhile, do not scanning on the basis of the second virtual objects, by gradually expanding Big technical ability coverage carrys out the virtual objects of scanning second gradually to range limit, may be such that the number of the second virtual objects of scanning Controlled according to treating capacity, reduced the data processing amount involved by the second virtual objects of scanning.
Optionally, from shown in Fig. 1 as can be seen that Fig. 1 touches branch up to step S160, it is possible to achieve the first of the first technical ability Effect, so far, the realization of the strike effect that can complete to collide class technical ability is configured by easy script, reduces the resource of server Expense, therefore the branches that touch up to step S160 of Fig. 1 can reach the purpose of the resource overhead for reducing server, solution technology is asked Topic;And Fig. 1 touches the branch up to step S170, it is believed that be on the basis of the purpose for reaching the resource overhead for reducing server On, further realize the means of the effect that fans the air of collision class technical ability;
It is i.e. further, if during technical ability coverage to range limit is expanded, it is every by technical ability coverage Secondary to scan less than the second virtual objects, server can send second and notify to client, to notify the client control institute State the first virtual objects and move to the corresponding position of Distance l imit of the first technical ability setting, and cause the client in institute When stating the first virtual objects and moving to the position, show the second effect of first technical ability, so as to the second of the first technical ability Effect is realized.
If data processing method provided in an embodiment of the present invention scans corresponding technical ability coverage according to the last time, not Scan to the second virtual objects, then can set the corresponding technical ability coverage of the last scanning of adjustment dimension enlargement, obtain this The corresponding technical ability coverage of secondary scanning (the technical ability coverage i.e. corresponding to present scan, corresponding with last time scanning Technical ability coverage difference setting adjustment size), so as to virtual according to the corresponding technical ability coverage scanning second of present scan Object, is circulated with this, until scanned in technical ability coverage to the second virtual objects, or technical ability coverage is expanded to model Enclose limit value;
Wherein, the corresponding technical ability coverage of last scanning is probably initial technical ability coverage, it is also possible to right and wrong Initial expansion technical ability coverage at least one times.
Optionally, the embodiment of the present invention can be by " if according to the corresponding technical ability coverage of last time scanning, do not scanned Second virtual objects, to set the corresponding technical ability coverage of the last scanning of adjustment dimension enlargement, obtain present scan correspondence Technical ability coverage, the second virtual objects are scanned according to the corresponding technical ability coverage of present scan " process be referred to as the One step, the embodiment of the present invention is recyclable to perform first step, until scanned in technical ability coverage to the second virtual objects, Or technical ability coverage is expanded to range limit.
Optionally, setting adjustment size can be setting adjustment width, the first technical ability that the embodiment of the present invention can set Length limit as initial length, while determine the initial technical ability coverage of the first technical ability with the original width for setting, And when not scanned to the second virtual objects subsequently through technical ability coverage, to set the skill of the adjustment technical ability of width expansion first Energy coverage, and a scanning for the second virtual objects is carried out with the technical ability coverage after expanding every time, until the first skill The width of the technical ability coverage of energy reaches the width limit of setting, or, scanned in technical ability coverage virtual to second Object;
Accordingly, the mode that the embodiment of the present invention expands technical ability coverage can be, at the beginning of limitation technical ability coverage Beginning length is length limit, since the original width of setting, the width of expansion technical ability coverage gradually, until in technical ability Scanning is to the second virtual objects in coverage, or technical ability coverage width expansion to width limit;
Further, if the first technical ability supports three-dimensional technical ability coverage, the first of technical ability coverage can also be limited Beginning length is the length limit of the first technical ability of setting, and elemental height is the Height of the first technical ability of setting, from setting Original width starts, the width of expansion technical ability coverage gradually, until being scanned in technical ability coverage virtual to second Object, or technical ability coverage width expansion to width limit;
Optionally, Fig. 5 shows another flow chart of data processing method provided in an embodiment of the present invention, the data processing Method can be applied to server, and reference picture 5, data processing method provided in an embodiment of the present invention can include:
Step S200, receive the technical ability that client sends and put request to good use, the technical ability is put to good use and asks to put the to good use for request First technical ability of one virtual objects;First technical ability is used to trigger the first virtual objects motion, and virtual to first right As the second virtual objects collided in motion way produce the first effect.
Step S210, the position with the first virtual objects in virtual scene are starting point, the length of the first technical ability of setting Limit value is initial length, sets width as original width determines the initial technical ability coverage of the first technical ability.
Optionally, the direction of initial technical ability coverage, can with the first virtual objects in virtual scene towards phase Should.
As shown in fig. 6, a game role is when the first technical ability is started, server can be with game role in virtual scene Current location be starting point, the length limit (extreme length) of the first technical ability for setting be initial length, set adjust width as Original width determines the initial technical ability coverage of the first technical ability, and the initial technical ability coverage is as shown in Fig. 6 square boxs;
Obviously, if the technical ability coverage of the first technical ability supports three-dimensional scope, the first technical ability also can be set initial The elemental height of technical ability coverage is, the Height of the first technical ability setting.
Optionally, as the setting width of original width, the setting used with expansion technical ability coverage adjusts width May be identical, it is also possible to different, specific visual actual conditions setting.
Step S220, the second virtual objects are scanned according to initial technical ability coverage, judged in initial technical ability influence In the range of whether scan to the second virtual objects, if it is not, perform step S230, if so, performing step S260.
Step S230, the width to set adjustment width expansion technical ability coverage.
The embodiment of the present invention when technical ability coverage is expanded, due to the length of technical ability coverage, or, length and height Degree has been limit value, therefore adjustable dimension is the width of technical ability coverage, and the embodiment of the present invention can be in skill of every expansion During energy coverage, to set the corresponding technical ability coverage of the last scanning of adjustment width expansion, present scan correspondence is obtained Technical ability coverage;
As shown in fig. 7, Fig. 7 is to expand technical ability coverage once, the comparison with initial technical ability coverage is shown It is intended to, both length is not changed, but expands technical ability coverage by expanding width.
Step S240, according to after expansion technical ability coverage scan the second virtual objects, judge the technical ability after expansion Whether scanned to the second virtual objects in coverage, if it is not, step S250 is performed, if so, performing step S260.
Step S250, the width for judging the technical ability coverage after expanding, if reach the technical ability influence model of the first technical ability The width limit for enclosing, if it is not, step S230 is performed, if so, performing step S270.
It can be seen that, server device puts the technical ability of the first technical ability of the first virtual objects to good use in the request for receiving client transmission After putting request to good use, server can control the first virtual objects to be moved, and can be the first virtual objects in virtual field Position in scape is starting point, and the length limit of the first technical ability for setting is initial length, sets width as original width determines the The initial technical ability coverage of one technical ability, and then according to since initial technical ability coverage, gradually expand setting adjustment wide The technical ability coverage of degree, the virtual objects of scanning second gradually are virtual right to second up to being scanned in technical ability coverage As, or technical ability coverage width expansion to width limit.
Step S260, destination virtual object is determined from the second virtual objects for scanning, the is sent to the client One notifies, to notify that the client controls first virtual objects to move to the position of the destination virtual object, and makes The client is obtained when first virtual objects are collided with the destination virtual object, shows first technical ability to target The first effect that virtual objects are produced.
Step S270, second is sent to the client notify, to notify that client control described first is virtual right As moving to the corresponding position of Distance l imit that first technical ability sets, and cause that the client is virtual right described first As moving to during the position, show the second effect of first technical ability.
Optionally, the setting adjustment size that the embodiment of the present invention expands technical ability coverage can also be setting adjustment length Degree, the position that the embodiment of the present invention can be with the first virtual objects in virtual scene is starting point, the width of the first technical ability of setting Limit value is original width, and preseting length determines the initial technical ability coverage of the first technical ability for initial length, and subsequently through Technical ability coverage is not scanned during to the second virtual objects, to set the technical ability coverage that adjustment length expands the first technical ability; It is optionally, identical with the setting adjustment length possibility that expansion technical ability coverage is used as the preseting length of initial length, Difference is likely to, specific visual actual conditions setting;
Optionally, another middle mode that the embodiment of the present invention expands technical ability coverage can be that limitation technical ability influences model The original width enclosed is the width limit of the first technical ability of setting, since the initial length of setting, expansion technical ability shadow gradually The length of scope is rung, until scanned in technical ability coverage to the second virtual objects, or the length of technical ability coverage expands Greatly to length limit;
Further, if the first technical ability supports three-dimensional technical ability coverage, the first of technical ability coverage can also be limited Beginning width is width limit, and elemental height is the Height of the first technical ability of setting, and then since the initial length of setting, The length of expansion technical ability coverage gradually, until scanned in technical ability coverage to the second virtual objects, or technical ability The length of coverage is expanded to length limit.
Optionally, if server passes through the corresponding technical ability coverage of present scan (the corresponding technical ability shadow of present scan Ring scope and such as, for the first time scan the initial technical ability coverage for being used, or, what non-first time scanning was used is extended to Few technical ability coverage once), scanning will can then be scanned to being the second virtual objects of hostile relations with the first virtual objects To the second virtual objects in meet the virtual objects that impose a condition, as destination virtual object;
Meet the virtual objects for imposing a condition such as in second virtual objects for scanning, second void for scanning In plan object, the closest virtual objects with the first virtual objects;Or, the second virtual objects that will scan it is equal as Destination virtual object;
The concrete form for imposing a condition can determine that such as the first technical ability is beaten for monomer according to hit quantity of the first technical ability etc. Technical ability is hit, then can choose the second closest virtual objects with the first virtual objects for scanning, be destination virtual pair As such as the first technical ability is that technical ability is hit by colony, then the second virtual objects that will can be scanned are as destination virtual object.
Optionally, the embodiment of the present invention can be in upper scanning once to the second virtual objects, and dividing into, fixed number frame is (as follows One frame) arrive when, expand technical ability coverage, and with after expansion technical ability coverage scan the second virtual objects, followed with this Ring, until scanned in technical ability coverage to the first virtual objects, or technical ability coverage is expanded to range limit;And Every time during the second virtual objects of scanning, the position of the second virtual objects that can be in the virtual scene of present frame is swept with this The matching for retouching position range of the used technical ability coverage in virtual scene is realized;
Fig. 8 shows another flow chart of data processing method provided in an embodiment of the present invention, and the data processing method can Server is applied to, reference picture 8, data processing method provided in an embodiment of the present invention can include:
Step S300, receive the technical ability that client sends and put request to good use, the technical ability is put to good use and asks to put the to good use for request First technical ability of one virtual objects;First technical ability is used to trigger the first virtual objects motion, and virtual to first right As the second virtual objects collided in motion way produce the first effect.
Step S310, the position with the first virtual objects in virtual scene are starting point, determine the initial skill of the first technical ability Can coverage.
Step S320, the position by the second virtual objects in the virtual scene of present frame, model is influenceed with initial technical ability Whether corresponding position range is matched in being trapped among virtual scene, judges scanned to second in initial technical ability coverage Virtual objects, if it is not, step S330 is performed, if so, performing step S360.
Step S330, divide into fixed number frame arrival, with set adjustment dimension enlargement technical ability coverage, obtain present scan pair The technical ability coverage answered.
Step S340, the position by the second virtual objects in the virtual scene of present frame, skill corresponding with present scan Can position range of the coverage in virtual scene matched, judge be in the corresponding technical ability coverage of present scan No scanning is to the second virtual objects, if it is not, step S350 is performed, if so, performing step S360.
Technical ability coverage after step S350, judgement expansion, if reach the model of the technical ability coverage of the first technical ability Limit value is enclosed, if it is not, step S330 is performed, if so, performing step S370.
Step S360, destination virtual object is determined from the second virtual objects for scanning, the is sent to the client One notifies, to notify that the client controls first virtual objects to move to the position of the destination virtual object, and makes The client is obtained when first virtual objects are collided with the destination virtual object, shows first technical ability to target The first effect that virtual objects are produced.
Step S370, second is sent to the client notify, to notify that client control described first is virtual right As moving to the corresponding position of Distance l imit that first technical ability sets, and cause that the client is virtual right described first As moving to during the position, show the second effect of first technical ability.
It can be seen that, if according to the corresponding technical ability coverage of last time scanning, do not scanned to the second virtual objects, the present invention Embodiment can be when fixed number frame (such as next frame) arrival be divided into, to set the corresponding technical ability shadow of the last scanning of adjustment dimension enlargement Scope is rung, the corresponding technical ability coverage of present scan is obtained, and according to the corresponding technical ability coverage scanning of present scan the Two virtual objects;Meanwhile, when the second virtual objects are scanned, can be by the position of the second virtual objects in the virtual scene of present frame Put, position range of the technical ability coverage corresponding with present scan in virtual scene is matched, to judge to be swept at this Retouch and whether scanned to the second virtual objects in corresponding technical ability coverage so that the scanning to the second virtual objects is more smart Standard, improves the accuracy of the first technical ability realization.
Optionally, the client notifies that control first virtual objects move to the target according to described first Behind the position of virtual objects, the client can send the displaying request of the first effect to server, so that server can be to screen The client for showing destination virtual object sends third notice, and the third notice is used to notify the first technical ability of displaying to target The first effect that virtual objects are produced, to realize the synchronization among clients of the first effect of the first technical ability;
Optionally, the client notifies that control first virtual objects move to the first technical ability according to described second Behind the corresponding position of Distance l imit of setting, the client can send the displaying request of the second effect to server, so as to service The client that device can match to currently displaying scope position corresponding with the Distance l imit sends the 4th notice, the described 4th The second effect for notifying the first technical ability of displaying is notified, to realize among clients same of the second effect of the first technical ability Step.
With gaming network application, as a example by particularly MMORPG (MMOPRG), the present invention is implemented The data processing method that example is provided can be independent of physical engine, but match somebody with somebody by easy script when collision class technical ability is realized Put realization;
As shown in figure 9, game client can be based on user operation (such as user click on collision class technical ability technical ability icon, or Person, user clicks on keyboard corresponding with collision class technical ability) put collision class technical ability to good use to game server game role A Technical ability put request to good use;
Game server is received after the technical ability puts request to good use, if it is determined that the collision class technical ability is available (such as game role A The property values such as magic, life can meet the consumption of collision class technical ability, and the cool time for colliding class technical ability has terminated), game garment Business device can be with positions of the game role A in map (a kind of form of virtual scene) as starting point, with the collision class technical ability Corresponding length limit (such as influence length limit), Height (such as influence Height), setting original width are determined just The technical ability coverage S1 of beginning;
It is the position of the game role of hostile relations that game server is transferred in present frame map with game role A, Position range of the position that will be transferred with technical ability coverage S1 in map is matched, and judges to influence model in technical ability Enclose the game role that whether hostile relations are scanned in S1;
If game server does not scan the game role of hostile relations in technical ability coverage S1, in next frame When bringing, to set adjustment width expansion technical ability coverage, technical ability coverage S2 is obtained, and transfer present frame map In with game role A be the position of the game role of hostile relations, the position that will be transferred and technical ability coverage S2 are in game Position range in map is matched, and judges whether the game role of hostile relations is scanned in technical ability coverage S2;
If game server does not scan the game role of hostile relations, game services in technical ability coverage S2 Think highly of a multiple frame and expand a technical ability coverage, and the game role of hostile relations is scanned with the technical ability coverage after expansion The step of, until the game role of hostile relations is arrived in scanning in technical ability coverage, or, the width of technical ability coverage expands Greatly to width limit;As shown in figure 9, the width of technical ability coverage has reached width limit by 4 expansion, it is impossible to expand again Greatly;
As shown in figure 9, game server is in the scanning of third time, hostile relations are arrived in scanning in technical ability coverage S3 Game role, game server can therefrom choose closest game role B with game role A for technical ability hits mesh Mark, and send the first notice to game client;
After game client receives the first notice, controllable game role A moves to the position of game role B, in game When role A and game role B is collided, strike effect of the displaying collision class technical ability to game role B;Meanwhile, to game server Send strike effect synchronization request;
Game server can send third notice to the client of Display on the same screen game role B, to notify these clients Strike effect of the synchronous displaying collision class technical ability to game role B.
Data processing method provided in an embodiment of the present invention, server can be by performing what is described by program language and configured First technical ability realizes logic, can specifically put the first technical ability of the first virtual objects to good use in the request that receives client transmission After technical ability puts request to good use, according to the technical ability coverage gradually expanded since the initial technical ability coverage of the first technical ability, by The secondary virtual objects of scanning second, until scanned in technical ability coverage to the second virtual objects, or technical ability coverage It is expanded to range limit;During this, if the second virtual objects scanned in technical ability coverage and therefrom determined Destination virtual object, server can be notified by sending first to client, the first technical ability is realized;It can be seen that, the present invention In embodiment, realizing for collision class technical ability can be by easy script configuration completion, it is not necessary to rely on physical engine, server Resource overhead is reduced;Can also mitigate client by the data processing pressure brought with the use of physical engine simultaneously. Further, the embodiment of the present invention is not being scanned on the basis of the second virtual objects, by gradually expanding technical ability coverage extremely Range limit, carrys out the virtual objects of scanning second gradually, may be such that the data processing amount of the second virtual objects of scanning is controlled, Possibility is provided to reduce the data processing amount involved by the second virtual objects of scanning.
Data processing equipment provided in an embodiment of the present invention is introduced below, data processing equipment described below can It is cross-referenced with above-described data processing method.Data processing equipment described below may be considered server to realize Data processing method provided in an embodiment of the present invention, the functional module framework of required setting.
Figure 10 is the structured flowchart of data processing equipment provided in an embodiment of the present invention, and the data processing equipment can be applied to Server, reference picture 10, data processing equipment provided in an embodiment of the present invention can include:
Request receiving module 100, the technical ability for receiving client transmission puts request to good use, and the technical ability puts request to good use to be used for The first technical ability of the first virtual objects is put in request to good use;First technical ability is used to trigger the first virtual objects motion, and right The second virtual objects collided in first virtual objects motion way produce the first effect;
Initial range determining module 200, is starting point for the position with the first virtual objects in virtual scene, determines The initial technical ability coverage of one technical ability;
Scan round module 300, model is influenceed for the technical ability that basis gradually expands since initial technical ability coverage Enclose, the virtual objects of scanning second gradually, until scanned in technical ability coverage to the second virtual objects, or technical ability influence Scope is expanded to range limit;
First result treatment module 400, if for being scanned in technical ability coverage to the second virtual objects, from scanning To the second virtual objects in determine destination virtual object, and to the client send first notify, to notify the client End control first virtual objects move to the position of the destination virtual object, and cause the client described first When virtual objects are collided with the destination virtual object, show the first effect that first technical ability is produced to destination virtual object Really.
Optionally, Figure 11 shows another structured flowchart of data processing equipment provided in an embodiment of the present invention, with reference to figure Shown in 10 and Figure 11, data processing equipment provided in an embodiment of the present invention can also include:
Second result treatment module 500, if for during technical ability coverage to range limit is expanded, passing through Technical ability coverage is scanned less than the second virtual objects every time, and sending second to the client notifies, to notify the visitor Family end controls first virtual objects to move to the corresponding position of Distance l imit of the first technical ability setting, and causes described Client shows the second effect of first technical ability when first virtual objects move to the position.
Optionally, initial range determining module 200, for the position with the first virtual objects in virtual scene as rise Point, determines the initial technical ability coverage of the first technical ability, specifically includes:
It is starting point with position of first virtual objects in virtual scene, it is determined that the first technical ability of setting original dimension is initial Technical ability coverage;The direction of the initial technical ability coverage with the first virtual objects in virtual scene towards phase Should.
Optionally, scan round module 300, for the technical ability that basis gradually expands since initial technical ability coverage Coverage, the virtual objects of scanning second gradually, until being scanned in technical ability coverage to the second virtual objects, Huo Zheji Energy coverage is expanded to range limit, can specifically include:
Circulation performs first step, until scanned in technical ability coverage to the second virtual objects, or technical ability influence Scope is expanded to range limit;
The first step includes:If according to the corresponding technical ability coverage of last time scanning, do not scanned empty to second Intend object, to set the corresponding technical ability coverage of the last scanning of adjustment dimension enlargement, obtain the corresponding technical ability of present scan Coverage, the second virtual objects are scanned according to the corresponding technical ability coverage of present scan.
Optionally, the corresponding technical ability coverage of the last scanning includes:Initial technical ability coverage, or, expanding Greater than technical ability coverage at least one times.
Optionally, initial range determining module 200, for the position with the first virtual objects in virtual scene as rise Point, it is determined that the initial technical ability coverage of the first technical ability of setting original dimension, specifically includes:
It is starting point with position of first virtual objects in virtual scene, the length limit of the first technical ability for setting is initial Length, sets width as original width determines the initial technical ability coverage of the first technical ability;
Or, the position with the first virtual objects in virtual scene is starting point, the length limit of the first technical ability for setting as Initial length, the Height of the first technical ability for setting is elemental height, is set at the beginning of width determines the first technical ability as original width The technical ability coverage of beginning;
Accordingly, scan round module 300, for being influenceed with setting the corresponding technical ability of the last scanning of adjustment dimension enlargement Scope, specifically includes:
To set the corresponding technical ability coverage of the last scanning of adjustment width expansion.
Optionally, the range limit includes:The width limit of the technical ability coverage of first technical ability.
Optionally, scan round module 300, if for according to the corresponding technical ability coverage of last time scanning, not sweeping Retouch to the second virtual objects, to set the corresponding technical ability coverage of the last scanning of adjustment dimension enlargement, obtain present scan Corresponding technical ability coverage, specifically includes:
If according to the corresponding technical ability coverage of last time scanning, do not scanned to the second virtual objects, fixed number is being divided into When frame arrives, to set the corresponding technical ability coverage of the last scanning of adjustment dimension enlargement, the corresponding skill of present scan is obtained Can coverage;
Accordingly, scan round module 300, for virtual according to the corresponding technical ability coverage scanning second of present scan Object, specifically includes:
By the position of the second virtual objects in the virtual scene of present frame, technical ability coverage corresponding with present scan Whether position range in virtual scene is matched, and judges scanned in the corresponding technical ability coverage of present scan to Two virtual objects.
Optionally, second virtual objects are the virtual objects for hostile relations with the first virtual objects;
First result treatment module 400, for determining destination virtual object from the second virtual objects for scanning, specifically Including:
From the second virtual objects for scanning, the destination virtual object for imposing a condition is determined for compliance with.
Optionally, the first result treatment module 400, for from the second virtual objects for scanning, being determined for compliance with setting The destination virtual object of condition, specifically includes:
From the second virtual objects for scanning, it is determined that the closest destination virtual pair with first virtual objects As.
Optionally, Figure 12 shows another structured flowchart of data processing equipment provided in an embodiment of the present invention, with reference to figure Shown in 11 and Figure 12, the data processing equipment can also include:
First synchronization module 600, request is shown for receiving the first effect that the client sends, and is had to Display on the same screen The client of destination virtual object sends third notice, and the third notice is used to notify the first technical ability of displaying to destination virtual pair As the first effect for producing.
Second synchronization module 700, shows request, to currently displaying model for receiving the second effect that the client sends Client the 4th notice of transmission that position corresponding with the Distance l imit matches is enclosed, the described 4th notifies for notifying to show Second effect of the first technical ability.
Data processing equipment provided in an embodiment of the present invention can be configured by easy script, realize collision class technical ability, no Need to rely on physical engine, the resource overhead of server is reduced.
The embodiment of the present invention also provides a kind of server, including data processing equipment described above.
Optionally, Figure 13 shows the hardware configuration of server, and reference picture 13, the server can include:Processor 1, Communication interface 2, memory 3 and communication bus 4;
Wherein processor 1, communication interface 2, memory 3 complete mutual communication by communication bus 4;
Optionally, communication interface 2 can be the interface of communication module, such as interface of gsm module;
Processor 1 is probably a central processor CPU, or specific integrated circuit ASIC (Application Specific Integrated Circuit), or it is arranged to implement one or more integrated electricity of the embodiment of the present invention Road.
Memory 3 may include high-speed RAM memory, it is also possible to also including nonvolatile memory (non-volatile Memory), for example, at least one magnetic disk storage.
Wherein, processor 1 specifically for:
The technical ability for receiving client transmission puts request to good use, and the technical ability puts request to good use and puts the first virtual objects to good use for request The first technical ability;First technical ability is used to trigger the first virtual objects motion, and in the first virtual objects motion way Second virtual objects of collision produce the first effect;
It is starting point with position of first virtual objects in virtual scene, determines the initial technical ability influence model of the first technical ability Enclose;
According to the technical ability coverage gradually expanded since initial technical ability coverage, scanning second gradually is virtual Object, until scanned in technical ability coverage to the second virtual objects, or technical ability coverage is expanded to range limit;
If scanned in technical ability coverage to the second virtual objects, mesh is determined from the second virtual objects for scanning Mark virtual objects, and the first notice is sent to the client, to notify that the client controls first virtual objects to transport Move to the position of the destination virtual object, and cause the client in first virtual objects and the destination virtual pair During as collision, show the first effect that first technical ability is produced to destination virtual object.
Each embodiment is described by the way of progressive in this specification, and what each embodiment was stressed is and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment For, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is said referring to method part It is bright.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and The interchangeability of software, generally describes the composition and step of each example according to function in the above description.These Function is performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specialty Technical staff can realize described function to each specific application using distinct methods, but this realization should not Think beyond the scope of this invention.
The step of method or algorithm for being described with reference to the embodiments described herein, directly can be held with hardware, processor Capable software module, or the two combination is implemented.Software module can be placed in random access memory (RAM), internal memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In field in known any other form of storage medium.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or uses the present invention. Various modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can in other embodiments be realized in the case where core concept of the invention or scope is not departed from.Therefore, originally Invention is not intended to be limited to the embodiments shown herein, and is to fit to and principles disclosed herein and features of novelty Consistent scope most wide.

Claims (15)

1. a kind of data processing method, it is characterised in that including:
Receive the technical ability that client sends and put request to good use, the technical ability puts that the first virtual objects are put in request to good use for request to good use One technical ability;First technical ability is used to trigger the first virtual objects motion, and to being collided in the first virtual objects motion way The second virtual objects produce the first effect;
It is starting point with position of first virtual objects in virtual scene, determines the initial technical ability coverage of the first technical ability;
According to the technical ability coverage gradually expanded since initial technical ability coverage, scanning second gradually is virtual right As, until scanned in technical ability coverage to the second virtual objects, or technical ability coverage is expanded to range limit;
If scanned in technical ability coverage to the second virtual objects, determine that target is empty from the second virtual objects for scanning Intend object, and first sent to the client to notify, to notify that the client controls first virtual objects to move to The position of the destination virtual object, and cause that the client is touched in first virtual objects with the destination virtual object When hitting, show the first effect that first technical ability is produced to destination virtual object.
2. data processing method according to claim 1, it is characterised in that also include:
If during technical ability coverage to range limit is expanded, scanned every time by technical ability coverage less than the Two virtual objects, send second and notify to the client, to notify that the client controls first virtual objects to move To the corresponding position of Distance l imit of first technical ability setting, and cause that the client is moved in first virtual objects During to the position, show the second effect of first technical ability.
3. data processing method according to claim 1, it is characterised in that it is described with the first virtual objects in virtual scene In position be starting point, determine that the initial technical ability coverage of the first technical ability includes:
It is starting point with position of first virtual objects in virtual scene, it is determined that the initial skill of the first technical ability of setting original dimension Can coverage;Direction of the direction of the initial technical ability coverage to the first virtual objects in virtual scene is corresponding.
4. data processing method according to claim 3, it is characterised in that the basis is from initial technical ability coverage The technical ability coverage that beginning gradually expands, the virtual objects of scanning second gradually, until scanned in technical ability coverage arriving Second virtual objects, or technical ability coverage is expanded to range limit and includes:
Circulation performs first step, until scanned in technical ability coverage to the second virtual objects, or technical ability coverage It is expanded to range limit;
The first step includes:If according to the corresponding technical ability coverage of last time scanning, it is virtual right to second not scan As to set the corresponding technical ability coverage of the last scanning of adjustment dimension enlargement, obtaining the corresponding technical ability influence of present scan Scope, the second virtual objects are scanned according to the corresponding technical ability coverage of present scan.
5. data processing method according to claim 4, it is characterised in that the corresponding technical ability influence of the last scanning Scope includes:Initial technical ability coverage, or, expanding technical ability coverage at least one times.
6. the data processing method according to claim 4 or 5, it is characterised in that it is described with the first virtual objects virtual Position in scene is starting point, it is determined that the initial technical ability coverage of the first technical ability of setting original dimension includes:
It is starting point with position of first virtual objects in virtual scene, the length limit of the first technical ability for setting is as initial long Degree, sets width as original width determines the initial technical ability coverage of the first technical ability;
Or, the position with the first virtual objects in virtual scene is starting point, the length limit of the first technical ability for setting is initial Length, the Height of the first technical ability for setting is elemental height, sets width as original width determines that the first technical ability is initial Technical ability coverage;
It is described to be included with setting the corresponding technical ability coverage of the last scanning of adjustment dimension enlargement:
To set the corresponding technical ability coverage of the last scanning of adjustment width expansion.
7. data processing method according to claim 6, it is characterised in that the range limit includes:First skill The width limit of the technical ability coverage of energy.
8. the data processing method according to claim 4 or 5, it is characterised in that if described right according to last time scanning The technical ability coverage answered, does not scan to the second virtual objects, to set the corresponding technical ability of the last scanning of adjustment dimension enlargement Coverage, obtaining the corresponding technical ability coverage of present scan includes:
If according to the corresponding technical ability coverage of last time scanning, do not scanned to the second virtual objects, arrived fixed number frame is divided into When coming, to set the corresponding technical ability coverage of the last scanning of adjustment dimension enlargement, the corresponding technical ability shadow of present scan is obtained Ring scope;
It is described to be included according to present scan the second virtual objects of corresponding technical ability coverage scanning:
By the position of the second virtual objects in the virtual scene of present frame, technical ability coverage corresponding with present scan is in void Whether the position range intended in scene is matched, and judges scanned in the corresponding technical ability coverage of present scan to the second void Intend object.
9. data processing method according to claim 1, it is characterised in that second virtual objects are virtual with first Object is the virtual objects of hostile relations;
It is described to determine that destination virtual object includes from the second virtual objects for scanning:
From the second virtual objects for scanning, it is determined that the second closest virtual objects with first virtual objects are Destination virtual object.
10. data processing method according to claim 2, it is characterised in that methods described also includes:
The first effect displaying request that the client sends is received, the client for having destination virtual object to Display on the same screen sends Third notice, the third notice is used to notify the first effect that the first technical ability of displaying produces destination virtual object;
Or, the second effect displaying request that the client sends is received, it is corresponding with the Distance l imit to currently displaying scope The client that matches of position send the 4th notice, the described 4th notifies the second effect for notifying the first technical ability of displaying.
A kind of 11. data processing equipments, it is characterised in that including:
Request receiving module, the technical ability for receiving client transmission puts request to good use, and the technical ability is put request to good use and applied for request Open up the first technical ability of the first virtual objects;First technical ability is used to trigger the first virtual objects motion, and empty to first The second virtual objects for intending being collided in object motion way produce the first effect;
Initial range determining module, is starting point for the position with the first virtual objects in virtual scene, determines the first technical ability Initial technical ability coverage;
Scan round module, for the technical ability coverage that basis gradually expands since initial technical ability coverage, gradually The virtual objects of scanning second, until scanned in technical ability coverage to the second virtual objects, or technical ability coverage expands Greatly to range limit;
First result treatment module, if for being scanned in technical ability coverage to the second virtual objects, from for scanning Destination virtual object is determined in two virtual objects, and the first notice is sent to the client, to notify that the client is controlled First virtual objects move to the position of the destination virtual object, and cause that the client is virtual right described first During as being collided with the destination virtual object, show the first effect that first technical ability is produced to destination virtual object.
12. data processing equipments according to claim 11, it is characterised in that also include:
Second result treatment module, if for during technical ability coverage to range limit is expanded, by technical ability shadow Ring scope to scan every time less than the second virtual objects, sending second to the client notifies, to notify the client control Make first virtual objects and move to the corresponding position of Distance l imit of the first technical ability setting, and cause the client When first virtual objects move to the position, show the second effect of first technical ability.
13. data processing equipments according to claim 11, it is characterised in that the initial range determining module, are used for It is starting point with position of first virtual objects in virtual scene, determines the initial technical ability coverage of the first technical ability, specific bag Include:
It is starting point with position of first virtual objects in virtual scene, it is determined that the initial skill of the first technical ability of setting original dimension Can coverage;Direction of the direction of the initial technical ability coverage to the first virtual objects in virtual scene is corresponding;
The scan round module, for the technical ability coverage that basis gradually expands since initial technical ability coverage, The virtual objects of scanning second gradually, until scanned in technical ability coverage to the second virtual objects, or technical ability influence model Enclose and be expanded to range limit, can specifically include:
Circulation performs first step, until scanned in technical ability coverage to the second virtual objects, or technical ability coverage It is expanded to range limit;
The first step includes:If according to the corresponding technical ability coverage of last time scanning, it is virtual right to second not scan As to set the corresponding technical ability coverage of the last scanning of adjustment dimension enlargement, obtaining the corresponding technical ability influence of present scan Scope, the second virtual objects are scanned according to the corresponding technical ability coverage of present scan.
14. data processing equipments according to claim 13, it is characterised in that the initial range determining module, are used for It is starting point with position of first virtual objects in virtual scene, it is determined that the initial technical ability shadow of the first technical ability of setting original dimension Scope is rung, is specifically included:
It is starting point with position of first virtual objects in virtual scene, the length limit of the first technical ability for setting is as initial long Degree, and setting original width determines the initial technical ability coverage of the first technical ability;
Or, the position with the first virtual objects in virtual scene is starting point, the length limit of the first technical ability for setting is initial Length, the Height of the first technical ability for setting is elemental height, sets width as original width determines that the first technical ability is initial Technical ability coverage;
The scan round module, for set, adjustment dimension enlargement is last to scan corresponding technical ability coverage, specifically Including:
To set the corresponding technical ability coverage of the last scanning of adjustment width expansion.
15. a kind of servers, it is characterised in that including the data processing equipment described in claim any one of 11-14.
CN201710161491.1A 2017-03-17 2017-03-17 A kind of data processing method, device and server Active CN106914019B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710161491.1A CN106914019B (en) 2017-03-17 2017-03-17 A kind of data processing method, device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710161491.1A CN106914019B (en) 2017-03-17 2017-03-17 A kind of data processing method, device and server

Publications (2)

Publication Number Publication Date
CN106914019A true CN106914019A (en) 2017-07-04
CN106914019B CN106914019B (en) 2018-09-07

Family

ID=59461310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710161491.1A Active CN106914019B (en) 2017-03-17 2017-03-17 A kind of data processing method, device and server

Country Status (1)

Country Link
CN (1) CN106914019B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108355355A (en) * 2018-03-16 2018-08-03 深圳冰川网络股份有限公司 A kind of control method and system of 3D sports class online game
CN108379838A (en) * 2018-03-16 2018-08-10 深圳冰川网络股份有限公司 A kind of control method and system of 3D sports class online game
CN108970116A (en) * 2018-07-19 2018-12-11 腾讯科技(深圳)有限公司 Virtual role control method and device
CN111054066A (en) * 2019-12-17 2020-04-24 腾讯科技(深圳)有限公司 Operation method and device of virtual prop, storage medium and electronic device
WO2021244310A1 (en) * 2020-06-05 2021-12-09 腾讯科技(深圳)有限公司 Method and apparatus for controlling virtual object in virtual scene, and device and storage medium
CN117244243A (en) * 2023-11-20 2023-12-19 腾讯科技(深圳)有限公司 Virtual object processing method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501287A (en) * 2013-09-03 2014-01-08 网易(杭州)网络有限公司 Method and equipment for determining hit motion object in game operation process
EP2829307A2 (en) * 2013-07-25 2015-01-28 Square Enix Co., Ltd. Image processing program, image processing device and image processing method
CN104915117A (en) * 2015-06-16 2015-09-16 深圳市腾讯计算机系统有限公司 Method and device for controlling interaction with virtual target
CN104922906A (en) * 2015-07-15 2015-09-23 网易(杭州)网络有限公司 Action executing method and device
CN105582674A (en) * 2015-12-25 2016-05-18 网易(杭州)网络有限公司 Game target selecting method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2829307A2 (en) * 2013-07-25 2015-01-28 Square Enix Co., Ltd. Image processing program, image processing device and image processing method
CN103501287A (en) * 2013-09-03 2014-01-08 网易(杭州)网络有限公司 Method and equipment for determining hit motion object in game operation process
CN104915117A (en) * 2015-06-16 2015-09-16 深圳市腾讯计算机系统有限公司 Method and device for controlling interaction with virtual target
CN104922906A (en) * 2015-07-15 2015-09-23 网易(杭州)网络有限公司 Action executing method and device
CN105582674A (en) * 2015-12-25 2016-05-18 网易(杭州)网络有限公司 Game target selecting method and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108355355A (en) * 2018-03-16 2018-08-03 深圳冰川网络股份有限公司 A kind of control method and system of 3D sports class online game
CN108379838A (en) * 2018-03-16 2018-08-10 深圳冰川网络股份有限公司 A kind of control method and system of 3D sports class online game
CN108970116A (en) * 2018-07-19 2018-12-11 腾讯科技(深圳)有限公司 Virtual role control method and device
CN111054066A (en) * 2019-12-17 2020-04-24 腾讯科技(深圳)有限公司 Operation method and device of virtual prop, storage medium and electronic device
CN111054066B (en) * 2019-12-17 2021-01-15 腾讯科技(深圳)有限公司 Operation method and device of virtual prop, storage medium and electronic device
WO2021244310A1 (en) * 2020-06-05 2021-12-09 腾讯科技(深圳)有限公司 Method and apparatus for controlling virtual object in virtual scene, and device and storage medium
JP2022540283A (en) * 2020-06-05 2022-09-15 ▲騰▼▲訊▼科技(深▲セン▼)有限公司 VIRTUAL OBJECT CONTROL METHOD, APPARATUS, DEVICE, AND COMPUTER PROGRAM IN VIRTUAL SCENE
JP7394872B2 (en) 2020-06-05 2023-12-08 ▲騰▼▲訊▼科技(深▲セン▼)有限公司 Virtual object control method, device, equipment and computer program in virtual scene
CN117244243A (en) * 2023-11-20 2023-12-19 腾讯科技(深圳)有限公司 Virtual object processing method, device, equipment and storage medium
CN117244243B (en) * 2023-11-20 2024-02-02 腾讯科技(深圳)有限公司 Virtual object processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN106914019B (en) 2018-09-07

Similar Documents

Publication Publication Date Title
CN106914019A (en) A kind of data processing method, device and server
CN107222510B (en) A kind of game synchronization method, system and relevant device
CN105337844B (en) Method and device for displaying message and electronic equipment
EP2839441B1 (en) Network game system without dynamic obstructions and processing method thereof
KR102257801B1 (en) Notification method in virtual scene, related device and computer storage medium
US11260300B2 (en) Image processing method and apparatus
CN103501287B (en) Method and equipment for determining hit motion object in game operation process
US20060046810A1 (en) Network game not requiring continuous connectivity
CN109731330B (en) Method and device for displaying picture, storage medium and electronic device
US10796668B2 (en) Virtual object control method and related device
GB2359704A (en) Sharing a computer-generated environment
CN110559663A (en) Game control method, device, terminal equipment, server and medium
EP3726843B1 (en) Animation implementation method, terminal and storage medium
JP2003006127A (en) Distributed processing system and method therefor, and client terminal capable of using the method
CN110730449B (en) Wireless sensor network communication method and system based on multiple block chains
CN107547507A (en) A kind of anti-attack method, device, router device and machinable medium
JP6254627B2 (en) Program and system
CN102387132B (en) Fighting system realization method
CN105407992A (en) Image processing program, server device, image processing system, and image processing method
CN105930172A (en) Dynamic display method and system for user interface of network game in mobile terminal
CN107172136B (en) The synchronous method and device of voxel data
CN108335088A (en) A kind of virtual resource transfer method, device and storage medium
JP2024512471A (en) Virtual scene conversion method and device, computer equipment and computer program
CN110694268B (en) Shooting assisting method and device in shooting game
CN112755529B (en) Scene data updating method and device and computer storage medium

Legal Events

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