CN110302537A - Virtual object control method, device, storage medium and computer equipment - Google Patents

Virtual object control method, device, storage medium and computer equipment Download PDF

Info

Publication number
CN110302537A
CN110302537A CN201910620281.3A CN201910620281A CN110302537A CN 110302537 A CN110302537 A CN 110302537A CN 201910620281 A CN201910620281 A CN 201910620281A CN 110302537 A CN110302537 A CN 110302537A
Authority
CN
China
Prior art keywords
virtual
virtual objects
interface
program
interacting
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
CN201910620281.3A
Other languages
Chinese (zh)
Other versions
CN110302537B (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.)
Shenzhen Tencent Domain Computer Network Co Ltd
Original Assignee
Shenzhen Tencent Domain Computer Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Tencent Domain Computer Network Co Ltd filed Critical Shenzhen Tencent Domain Computer Network Co Ltd
Priority to CN201910620281.3A priority Critical patent/CN110302537B/en
Publication of CN110302537A publication Critical patent/CN110302537A/en
Application granted granted Critical
Publication of CN110302537B publication Critical patent/CN110302537B/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/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/55Controlling game characters or game objects based on the game progress
    • A63F13/56Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/64Methods for processing data by generating or executing the game program for computing dynamical parameters of game objects, e.g. motion determination or computation of frictional forces for a virtual car

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)

Abstract

This application involves a kind of virtual object control method, device, computer readable storage medium and computer equipments, which comprises obtains the initial position of the first virtual objects and target position in map provided by virtual interacting program;It obtains in the map from the initial position to the path of the target position;The motion interface in the virtual interacting program is called, first virtual objects is controlled according to the path and is intended to the target position movement;In the motion process of first virtual objects, the motion interface in the virtual interacting program is called, first virtual objects is controlled and executes corresponding movement.Virtual objects controlled efficiency can be improved in scheme provided by the present application.

Description

Virtual object control method, device, storage medium and computer equipment
Technical field
It, can more particularly to a kind of virtual object control method, device, computer this application involves field of computer technology Read storage medium and computer equipment.
Background technique
With the development of computer technology, people can simulate real-life scene by computer technology, with Abundant people's lives.For example, in game application, it can be by controlling virtual objects in virtual interacting scene, so that should Virtual objects, which are realized, the movement such as walks, runs, jumps or shoots, to simulate the movement of people in reality.
In the exploitation or use process of a game application, the scene tested game application is usually faced.? Under test scene, it is true to simulate usually to require design AI (Artificial Intelligence, artificial intelligence) role Manual operation.For the mode of traditional control AI role, developer needs to design a set of different from the complete of game logic AI behavior tree code, operate in server background, and to the status information of the synchronous AI role of terminal.This control AI role's Mode is needed redesign and realized, and need to constantly held when controlling AI role due to entirely logically independent in game logic Row synchronization action causes control efficiency low.
Summary of the invention
Based on this, it is necessary to for the low technical problem of virtual role control efficiency, provide a kind of virtual objects controlled side Method, device, computer readable storage medium and computer equipment.
A kind of virtual object control method, comprising:
Obtain the initial position of the first virtual objects and target position in map provided by virtual interacting program;
It obtains in the map from the initial position to the path of the target position;
The motion interface in the virtual interacting program is called, first virtual objects is controlled and tends to according to the path It is moved in the target position;
In the motion process of first virtual objects, the motion interface in the virtual interacting program is called, is controlled First virtual objects execute corresponding movement.
A kind of virtual objects controlled device, which is characterized in that described device includes:
Module is obtained, for obtaining the initial position and mesh of the first virtual objects in map provided by virtual interacting program Cursor position;
The acquisition module is also used to obtain in the map from the initial position to the path of the target position;
Control module controls first virtual objects and presses for calling the motion interface in the virtual interacting program It is intended to the target position movement according to the path;
The control module is also used in the motion process of first virtual objects, calls the virtual interacting program In motion interface, control first virtual objects and execute corresponding movement.
A kind of computer readable storage medium is stored with computer program, when the computer program is executed by processor, So that the processor executes following steps:
Obtain the initial position of the first virtual objects and target position in map provided by virtual interacting program;
It obtains in the map from the initial position to the path of the target position;
The motion interface in the virtual interacting program is called, first virtual objects is controlled and tends to according to the path It is moved in the target position;
In the motion process of first virtual objects, the motion interface in the virtual interacting program is called, is controlled First virtual objects execute corresponding movement.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the calculating When machine program is executed by the processor, so that the processor executes following steps:
Obtain the initial position of the first virtual objects and target position in map provided by virtual interacting program;
It obtains in the map from the initial position to the path of the target position;
The motion interface in the virtual interacting program is called, first virtual objects is controlled and tends to according to the path It is moved in the target position;
In the motion process of first virtual objects, the motion interface in the virtual interacting program is called, is controlled First virtual objects execute corresponding movement.
Above-mentioned virtual object control method, device, computer readable storage medium and computer equipment obtain in map From the initial positions of the first virtual objects to the path of target position, the first virtual objects of control are moved according to path.And In the motion process of first virtual objects, the motion interface in original virtual interacting program is called, it is first virtual to control this Object executes corresponding movement.In this way, by calling directly logic interfacing packaged in virtual interacting program, Lai Zidong Realize control to virtual objects, entire scheme can directly simulate true manual operation at the terminal, without repeatedly with service Device carries out state synchronized, reduces the waiting time of additional synchronization action and data transmission, substantially increases virtual objects Control efficiency.
Detailed description of the invention
Fig. 1 is the applied environment figure of virtual object control method in one embodiment;
Fig. 2 is the flow diagram of virtual object control method in one embodiment;
Fig. 3 is the initial position that the first virtual objects in map provided by virtual interacting program are obtained in one embodiment With the flow diagram of target position step;
Fig. 4 is the principle assumption diagram of code Dynamic injection in one embodiment;
Fig. 5 is to obtain in map in one embodiment from initial position to the timing diagram of the path step of target position;
Fig. 6 is the flow diagram of virtual object control method in one embodiment;
Fig. 7 is the functional block diagram that interface calls in one embodiment;
Fig. 8 is the flow diagram of virtual object control method in one embodiment;
Fig. 9 is the structural block diagram of virtual objects controlled device in one embodiment;
Figure 10 is the structural block diagram of virtual objects controlled device in another embodiment;
Figure 11 is the structural block diagram of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and It is not used in restriction the application.
Fig. 1 is the applied environment figure of virtual object control method in one embodiment.Referring to Fig.1, the virtual objects controlled Method is applied to virtual objects controlled system.The virtual objects controlled system includes terminal 110 and server 120.In terminal 110 Operation has virtual interacting program.Terminal 110 and server 120 pass through network connection.Terminal 110 specifically can be terminal console or Mobile terminal, mobile terminal specifically can be at least one of mobile phone, tablet computer, laptops etc..Server 120 can be with It is realized with the server cluster of the either multiple server compositions of independent server.
It should be noted that the embodiment of the present application relates generally to electronic game or simulated training scene, with electronic game For scene, before game is online, tester usually needs to realize that aspect is tested to the function of game ben fan.It surveys Examination personnel can in advance store game configuration file at the terminal, which can specifically include the electronic game Application program, interface display data or virtual interacting contextual data etc., so that when user logs in electronic game on the terminal The game configuration file can be called, rendering is carried out to electronic game interface and is shown.Tester can grasp at the terminal Make, to render the game data for showing the electronic game by terminal, wherein game data may include virtual interacting scene number According to the behavioral data etc. of virtual objects in, the virtual interacting scene.
This application involves to virtual interacting scene can be used for simulating a virtual three dimensional space, can be used for simulating One two-dimensional virtual space etc., the embodiment of the present application is it is not limited here.Wherein, the virtual three dimensional space or two-dimensional virtual space It specifically can be an open space.The virtual interacting scene can be used for simulating the true environment in reality, for example, this is virtual It may include sky, land or ocean etc. in interaction scenarios, which may include the environment such as desert, city or forest member Element.The virtual interacting scene can specifically be realized by environmental map.Terminal can control virtual objects in the virtual interacting scene In moved.The virtual objects specifically can be one in the virtual interacting scene it is virtual for representing the virtual of user Image, the virtual image can be any form, for example, people, animal or cartoon figure etc., the embodiment of the present application to this not It limits.It may include at least one virtual objects in the virtual interacting scene, each virtual objects are in virtual interacting scene With itself shape and volume, a part of space in virtual interacting scene is occupied.
By taking first person shooting game (FPS class game, First-person shooting game) as an example, terminal exists When testing the electronic game, terminal can control virtual objects carried out in the land of the virtual interacting scene movement or Execute certain movements etc., naturally it is also possible to control virtual objects in ocean went swimming, floating or dive etc..Wherein virtual objects Moving in land, which specifically can be, runs in land, beats, creeping, it is forward etc. to bend over.Control virtual objects execute movement It specifically can be the virtual objects of attack enemy, for example shoot or punch.It is only illustrated herein with above-mentioned scene, this Apply for the scene mentioned in embodiment and scene applied by the application, the embodiment of the present application are not made this specifically without limitation It limits.
In above-mentioned electronic game scene or simulated scenario, it will usually be provided with camera model, which can It, can also to be to be located at around virtual objects in three-dimensional virtual environment or threedimensional model in the virtual objects ocular To be the two dimensional model in two-dimensional virtual scene.The camera model is used to simulate the sight of third-party point of observation or virtual objects It examines a little.The virtual interacting scene shown in the virtual interacting interface of terminal display is that the camera lens of the camera model can be shot The virtual interacting scene arrived, it is understood that the camera lens for the camera model is an observation to virtual interacting scene Point.The direction of the camera lens is the direction at visual angle.When terminal control virtual objects movement when, terminal can control simultaneously camera lens into Row correspondingly rotates, and as camera lens rotates, the virtual interacting scene which can take can also occur to change accordingly, It that is to say that the display area of virtual interacting scene can be different, and virtual objects environmental information within the vision can also occur Variation.
As shown in Fig. 2, in one embodiment, providing a kind of virtual object control method.The present embodiment is mainly with this Method is applied to the terminal 110 in above-mentioned Fig. 1 to illustrate.Referring to Fig. 2, which specifically includes as follows Step:
S202 obtains the initial position of the first virtual objects and target position in map provided by virtual interacting program.
Wherein, virtual interacting program is to realize virtual interacting application and can have information processing by computer etc. The code instruction sequence that the device of ability executes.Virtual interacting program specifically can be games or simulated training program Deng.
Virtual objects are the operable virtualization objects of computer equipment, it will be understood that at provided by virtual interacting program A virtual virtual image for being used to represent user in virtual interacting scene, the virtual image can be any shape State, for example, people, animal or cartoon figure etc., the embodiment of the present application is not limited this.
First virtual objects are the virtual objects of a side where testing terminal or user terminal, and correspondingly, the application is subsequent The second virtual objects mentioned in embodiment are anti-virtual objects opposite with the first virtual objects.First virtual objects can claim Make one's own side's virtual objects;Second virtual objects can be referred to as adverse party virtual objects.First virtual objects specifically can be by terminal The virtual objects of operation.Second virtual objects are the virtual objects of the another party to confront with each other with the first virtual objects.
Initial position is the position that the first virtual objects most start in map;Target position is that the first virtual objects are to be shipped Move position extremely.Wherein, initial position specifically can be when running virtual interacting program, virtual interacting circle that terminal is shown Position where the first virtual objects refreshed in face;Target position specifically can be the position where adverse party camp either Some predeterminated position in map etc..
Specifically, operation has operating system in terminal, and runs virtual interacting program on an operating system.Terminal can pass through The virtual interacting programs render of operation shows virtual interacting interface, and map and virtual objects are shown in virtual interacting interface. The map specifically can be environmental map;The virtual objects include the first virtual objects.Terminal shows virtual interacting circle in rendering When face, i.e., it is believed that starting the virtual interacting scene of authorities, terminal can be by the current position in map of the first virtual objects As initial position, using some predeterminated position in the position where the second virtual objects of adverse party either map as mesh Cursor position.
In one embodiment, first is virtual in step S202, that is, map provided by acquisition virtual interacting program The step of initial position of object and target position specifically includes the following steps:
S302 shows virtual objects by terminal display virtual interacting interface, and in virtual interacting interface.
Wherein, when virtual interacting interface is that terminal passes through operation virtual interacting program, according to corresponding interface display number According to the interface for rendering display on a display screen.The interface display data can specifically be provided by virtual interacting configuration file.Tester Member can in advance store virtual interacting configuration file at the terminal, which can specifically include corresponding void Quasi- interactive program, interface display data or virtual interacting contextual data etc., so that user can adjust when logging on the terminal With the virtual interacting configuration file, virtual interacting interface is shown with rendering.
Specifically, terminal can show virtual interacting interface by rendering on a display screen, and in virtual interacting showing interface At least one virtual objects.The virtual interacting interface can also show virtual locating for the virtual objects other than showing virtual objects Interaction scenarios.
S304, using the operable virtual objects of terminal as the first virtual objects in virtual interacting interface, and will be with The relatively anti-virtual objects of one virtual objects are as the second virtual objects.
Wherein, the operable virtual objects of terminal refer to that terminal can be controlled the virtual objects by instruction and execute corresponding move Make.Specifically, terminal can be using the operable virtual objects of the terminal as the first virtual objects in virtual interacting interface, and incite somebody to action Anti- virtual objects opposite with the first virtual objects are as the second virtual objects.Wherein, the second virtual objects are in virtual interacting Initial stage can directly show in the virtual interacting interface, or show in the virtual interacting interface then shown, should be with Understand the movement according to the first virtual objects and change in the virtual interacting interface shown afterwards.The quantity of second virtual objects can To be one or more.Multiple second virtual objects, which specifically may belong to same camp, also may belong to different camps, this Shen Please embodiment it is not limited here.
In one embodiment, terminal is when showing virtual interacting interface, can be shown with first person or Person's third person is shown.Wherein, visual angle is the visual angle for showing virtual interacting scene in virtual interacting interface.It is the first Visual angle is claimed to observe virtual interacting scene for simulating through the visual angle of the first virtual objects, in this case, video camera is logical Can often it be located at the eyes of the first virtual objects or region near the eyes of the first virtual objects, for example, first is virtual right The head of elephant or chest etc..It is virtual to observe that third person is used to simulate some position around the first virtual objects Interaction scenarios, in this case, video camera may be typically located at the behind side of the first virtual objects, so as to virtually hand over First virtual objects are shown in mutual scene, so that user can see the dynamic of first virtual objects in virtual interacting scene Work and local environment etc..
In one embodiment, virtual interacting scene is shown with first person in virtual interacting interface when terminal When, with the movement of the first virtual objects, the virtual interacting scene which can be presented also correspondingly is changing.
In one embodiment, virtual interacting scene is shown with third person in virtual interacting interface when terminal When, which specifically can be complete scene, when the movement of the first virtual objects, only brush in virtual interacting interface The position of new first virtual objects.Alternatively, the virtual interacting scene, also with the first virtual objects movement and phase occurs The variation answered.
S306, using position of first virtual objects in the map provided by virtual interacting program as initial position, and Using position of the corresponding campsite of the second virtual objects in map as target position.
Specifically, terminal can be shown in the virtual interacting interface by virtual interacting journey when showing virtual interacting interface Map provided by sequence, the map specifically can be environmental map.Specifically, terminal can be by the first virtual objects in map Position is as initial position, and using position of the corresponding campsite of the second virtual objects in map as target position.Wherein, Position of one virtual objects in map specifically can be coordinate of first virtual objects in map or between some marker Relative coordinate.Position of the corresponding campsite of second virtual objects in map, specifically can be the second virtual objects in map In position or the second virtual objects where position of the camp in map.
In electronic game scene, for fighting the electronic game of class, a settable side captures the campsite of another party, for extremely At least part of Mission Objective.In electronic game scene, the settable campsite for having captured another party as a side, it is believed that capture pair That side in square campsite wins;Or new Mission Objective is continued to execute, until game over.Thus, it is virtually right for one's own side As the motion path of the virtual objects is the position where moving to the camp of adverse party from the position of one's own side, thus settable Position where the campsite of adverse party is target position.
In above-described embodiment, virtual objects are shown by terminal display virtual interacting interface, and in virtual interacting interface, Using the operable virtual objects of terminal as one's own side's virtual objects, that is, the first virtual objects;It will be with the first virtual objects phase The virtual objects of confrontation are as the second virtual objects.In turn can be directly using the position of the first virtual objects as initial position, it will The position in campsite where second virtual objects is as target position, to can control the first virtual objects court in subsequent steps The movement of second virtual objects.
In one embodiment, first is virtual in step S202, that is, map provided by acquisition virtual interacting program The step of initial position of object and target position, specifically includes: by terminal display virtual interacting interface, and in virtual interacting Virtual objects are shown in interface;Using the operable virtual objects of terminal as the first virtual objects in virtual interacting interface;It will Position of first virtual objects in the map provided by virtual interacting program will be different from just as initial position in map The predeterminated position of beginning position is as target position.
Specifically, terminal can by display screen render display virtual interacting interface, and virtual interacting showing interface at least One virtual objects.Terminal is using the operable virtual objects of the terminal as the first virtual objects in virtual interacting interface.Eventually End is using position of first virtual objects in map as initial position, and by predeterminated position different from initial position in map As target position.The predeterminated position specifically can be the pre-set position of terminal, which can show expression The marker of terminal is highlighted label.Wherein, the marker of terminal, such as the icon of " small red flag " or " starlet " are indicated.
In electronic game scene, for crossing the electronic game of outpost class, the virtual objects of a settable side overcome default It is at least part of Mission Objective that outpost, which reaches predeterminated position,.In electronic game scene, the settable virtual objects for working as a side When overcoming default outpost, directly win;Or new Mission Objective is continued to execute, until game over.Then think to win.Cause And for one's own side's virtual objects, the motion path of the virtual objects is that predetermined position is moved to from the position of one's own side, thus can It is target position that some predeterminated position, which is arranged,.
In above-described embodiment, virtual objects are shown by terminal display virtual interacting interface, and in virtual interacting interface, Using the operable virtual objects of terminal as one's own side's virtual objects, that is, the first virtual objects.And then it can be directly by the first void The position of quasi- object will be different from the predeterminated position of the initial position as target position, thus subsequent as initial position The step of in can control the first virtual objects towards target move.
S204 is obtained in map from initial position to the path of target position.
Specifically, terminal can when executing virtual interacting program, can directly by operation virtual interacting program or The code injected in virtual interacting program, according to initial position and target position of first virtual objects in map, determine from Initial position to target position path.
Wherein, code is the symbol combination for indicating information, specifically can be the language that programmer's developing instrument is supported The source file write out.Multiple groups code can combine configuration program.In one embodiment, it can be previously implanted in virtual interacting program For realizing the code of certain functions, terminal can execute the code of injection, and pass through injection when executing virtual interacting program Code executes corresponding movement, to obtain in map from initial position to the path of target position.
In one embodiment, which further includes code injection step, which specifically includes: obtaining Take code to be implanted;Code include code for obtaining the path from initial position to target position and for realizing The code that motion interface and motion interface are called;According to the corresponding library file of code building;Pass through the library in virtual interacting program File loading interface loads library file, by code injection into virtual interacting program.
Wherein, library file, also referred to as DLL (Dynamic Link Library), are dynamic link library files, also known as " application Program is expanded ", it is a kind of software document.Specifically, in order to realize the scheme for automatically controlling virtual objects in the embodiment of the present application, Developer can write the code for realizing concrete function in advance and be injected into virtual interacting program.Wherein, concrete function, Such as to acquisite approachs function, call the function of interface etc. in virtual interacting program.Correspondingly, being injected into virtual interacting program In code specifically may include code for obtaining the path from initial position to target position and connect for realizing movement The code that mouth and motion interface are called.In turn, terminal can be according to the corresponding library file of code building to be implanted.In this way, when void Quasi- interactive program at runtime, can load the library file into memory by the library file loading interface in virtual interacting program, Make a part of the library file virtual interacting program, that is, by code injection into virtual interacting program.In this way, when load When to corresponding code section, when loading the code, then can be achieved the corresponding function of the code, for example, to acquisite approachs function or The function of the interface in virtual interacting program is called in reflection.
In one embodiment, terminal can be injected in motion virtual interactive program by executing in virtual interacting program Code, with obtain in map from initial position to the path of target position.By executing the motion interface letter in the code Number, calls the motion interface in virtual interacting program, and the first virtual objects of control are intended to target position movement according to path.? In the motion process of first virtual objects, by executing the motion interface function in the code, call in virtual interacting program Motion interface, the first virtual objects of control execute corresponding movement.
Wherein, motion interface function is the function for encapsulating motion interface, is particularly used in and calls the motion interface, the application In embodiment, terminal can call the motion interface in virtual interacting program by executing the motion interface function.Motion interface Function is the function for encapsulating motion interface, is particularly used in and calls the motion interface, and in the embodiment of the present application, terminal can be by holding The motion interface function go to call the motion interface in virtual interacting program.
In electronic game scene, to be based on the electronic game that Unity (a set of cross-platform game engine) is developed The correlative code for realizing automatic AI object realization can be written as an independent library file in advance by example, developer (gamelib.dll) in.When electronic game operation, with the library file loading interface of unity, this library file is loaded Into a kind of memory of mono (frame) virtual machine.Fundamentals of Compiling when being run by unity is adjusted by load library file reflection With the interface of games, the function of the Action logic of AI object is automatically controlled with realization.
It is the principle assumption diagram of code Dynamic injection in one embodiment with reference to Fig. 4, Fig. 4.As shown in figure 4, being patrolled in game When collecting operation, with library file loading interface provided by the virtual interacting program run in unity engine, such as Assembly.Load (dll) loads library file (namely AI logic) into the memory of mono virtual machine.Compiling at runtime, it is raw At the executable local code of operating system (such as Android system) (Native Code), by corresponding electronic equipment, such as Android device executes.
In above-described embodiment, in advance by the additional code injection for realizing virtual objects controlled to virtual interacting program In, in order to subsequent when running virtual interacting program, pair in virtual interacting program can be directly called by the code of injection The interface answered can rapidly and accurately realize that analog subscriber operates at the terminal.
In one embodiment, terminal can by virtual interacting program or the code injected in virtual interacting program, In other computer equipments local or by network connection, determine in map between initial position to target position to Few one can walking path, and a path as determination can be filtered out in walking path from least one.Wherein, screening Mode specifically can be random screening or according to screening after the progress Comprehensive Assessment of the factors such as path length and number of turns etc., originally Apply for embodiment it is not limited here.
In one embodiment, step S204, that is, obtain in map from initial position to the path of target position The step of specifically include: by the code injected in virtual interacting program, according to initial position and target position, generate path Acquisition request;Path acquisition request is sent to server;The path acquisition request of transmission is used to indicate server and determines on ground From initial position to the path of target position in figure;Receive the path of server feedback.
Specifically, terminal can be by the code that injects in virtual interacting program, according to corresponding with the first virtual objects Initial position and target position generate path acquisition request, and the path acquisition request is sent to server.Server receives After the acquisition request of path, determine in map between initial position to target position at least one can walking path, and to Few one can filter out one as determining path in walking path.Server can be by coordinates feedback included by the path extremely Terminal.
In one embodiment, by the code injected in virtual interacting program, according to initial position and target position, The step of generating path acquisition request specifically includes: by the code injected in virtual interacting program, according to initial position and Target position generates path acquisition request according to request protocol.The step of receiving the path of server feedback specifically includes: receiving Server feedback, according to what corresponding with request protocol time packet protocol generated return packet;It parses back packet and obtains path.
Specifically, between terminal and server communication when need abide by relevant communication protocol, such as request protocol and Return packet protocol etc..Terminal can be by the code that injects in virtual interacting program, according to initial position and target position, according to asking Agreement is asked to generate path acquisition request.Wherein, the request protocol, such as the agreement based on C2S_REQ_DST_PATH.Server After receiving path acquisition request, according to the corresponding coordinate of the corresponding coordinate of initial position and target position, determine in map Initial position to target position path.Server can the corresponding coordinate of the location point according to included by the path, according to ask Time packet that corresponding time packet protocol of agreement generates is sought, and packet will be returned and be sent to terminal.Packet protocol is returned, for example is based on eS2C_RES_ The agreement of DST_PATH.Terminal parses back the content of packet, obtains the path from initial position to target position.
It is to obtain in map in one embodiment from initial position to the path step of target position with reference to Fig. 5, Fig. 5 Timing diagram.As shown in figure 5, operation has client in terminal, client can be to server transmitting path acquisition request, can with request Walking path.Server is according to path acquisition request, path between calculating from initial position to target position, generates back and wraps and anti- It is fed to terminal.Terminal can handle back packet, parse the corresponding information of outbound path from returning in packet.
In above-described embodiment, by the code injected in virtual interacting program, to server transmitting path acquisition request, So that server determines corresponding path and is fed back from map.In this way, can determine only by primary interaction it is virtual right As corresponding path, it is greatly improved the applicability of the code, convenient for other void can be injected in the case where changing minimum In quasi- interactive program, to realize the function of automatically controlling virtual objects, cost of implementation is substantially reduced.
S206 calls the motion interface in virtual interacting program, controls the first virtual objects according to path and is intended to target Position movement.
Specifically, terminal can be called by executing the motion interface function in the code injected in virtual interacting program Motion interface in virtual interacting program is intended to target to control the first virtual objects according to path since initial position Position movement.Wherein, the first virtual objects of control movement specifically can be the first virtual objects of control and according to path be intended to mesh Cursor position walks, jumps, creeps or runs.
In one embodiment, before step S206, this method further include: obtain the attribute information of the first virtual objects; When attribute information table shows that the first virtual objects are in existing state, the motion interface called in virtual interacting program, control are executed It makes the first virtual objects and is intended to target position movement according to path.
Wherein, attribute information is the information for reflecting the essence and feature of things or object, such as the position that virtual objects are current Confidence breath, the life attribute value of virtual objects, the energy value of virtual objects etc..In one embodiment, the first virtual objects Attribute information include the first virtual objects life attribute value.When the life attribute value of the first virtual objects is greater than or equal in advance If when value, then it is believed that first virtual objects are in existing state.It is called in virtual interacting program at this point, terminal is executable The step of motion interface, the first virtual objects of control are intended to target position movement according to path.
In one embodiment, when attribute information table shows that the first virtual objects are in existing state, terminal can be by holding The code injected in row virtual interacting program, call virtual interacting program in motion interface, control the first virtual objects according to Path is intended to target position movement.
In above-described embodiment, before controlling the movement of the first virtual objects, it can first determine whether first virtual objects survive, When first virtual objects survival, the subsequent motor performance of ability analog.
In one embodiment, step S206, that is, the motion interface in virtual interacting program is called, control first is empty The step of quasi- object is intended to target position movement according to path specifically includes: by the generation injected in virtual interacting program Code calls the motion interface in virtual interacting program, according to path, determines the corresponding direction of motion of the first virtual objects;It obtains The corresponding movement velocity of first virtual objects;According to the direction of motion and movement velocity, controls the first virtual objects and become according to path It is moved in target position.
Wherein, the direction of motion is the direction of the first virtual objects during the motion, specifically can be the first virtual objects When walking forward, the front of the first virtual objects is also possible to appointing in predetermined angle when the first virtual objects are walked forward One direction.
Specifically, terminal can call the movement in virtual interacting program to connect by the code injected in virtual interacting program Mouthful, when according to being moved from initial position to the path of target position is determining along the path, the direction of motion of the first virtual objects. Terminal is according to the angle between the direction and direction of advance of the first virtual objects, and the direction of the first virtual objects of adjustment is to match the fortune Dynamic direction.Terminal can obtain preset movement velocity, or the length according to path determines suitable movement velocity, and according to fortune Dynamic direction and movement velocity, the first virtual objects of control are intended to target position movement according to path.Wherein, the first virtual objects Direction be direction before the first virtual objects, specifically can be the front of the first virtual objects or the preset angle in front Degree in either to etc., the embodiment of the present application is it is not limited here.
It is appreciated that the first virtual objects are during the motion, can remain a constant speed movement or variable motion etc., this Apply for embodiment it is not limited here.During the motion, terminal can currently exist first virtual objects according to the first virtual objects Position relation between specific location in path, and target position to be advanced is virtual to be constantly adaptively adjusted first The current direction of motion of object, to ensure that the first virtual objects can be moved along the path.
In above-described embodiment, the corresponding direction of motion of the first virtual objects is determined according to path, can according to the direction of motion and Movement velocity accurately controls the first virtual objects and moves along path.
S208 calls the motion interface in virtual interacting program, control first in the motion process of the first virtual objects Virtual objects execute corresponding movement.
Specifically, in the motion process of the first virtual objects, terminal can be by generation for being injected into virtual interacting program Code calls the motion interface in virtual interacting program, with virtual right by the original motion interface control first of virtual interacting program As executing corresponding movement.Wherein, the first virtual objects of control execute corresponding movement, for example control the progress of the first virtual objects Jump, avoidance, attack or acceleration, deceleration etc..
In one embodiment, in the motion process of the first virtual objects, terminal can be dynamic in the code by executing Make interface function, to call the motion interface in virtual interacting program, the first virtual objects of control execute corresponding movement.It can be with Understand, for different motion interfaces, terminal can be matched to call by executing corresponding motion interface function in the code Motion interface.
It is appreciated that for different virtual interacting programs, by achieved by the motion interface in virtual interacting program Movement can be identical movement and be also possible to different movements, the movement that the first virtual interacting program of control can execute can To be that single movement is also possible to various movement, the primary setting of the concrete foundation virtual interacting program.
In one embodiment, in the motion process of the first virtual objects, when meeting action triggers condition, terminal is logical The motion interface in code calling virtual interacting program is crossed, the first virtual objects of control execute corresponding movement.Wherein, meet dynamic Make trigger condition specifically and can be to meet preset trigger condition, such as when the movement durations of the first virtual objects reaches default Length, the first virtual objects move to some preset position, the first virtual objects encounter barrier or first during the motion There are hostile the second virtual objects etc. within sweep of the eye in virtual objects.When meeting action triggers condition, terminal can pass through generation Code calls the motion interface in virtual interacting program, and the first virtual objects of control execute corresponding movement.
Above-mentioned virtual object control method obtains in map from the initial position of the first virtual objects to target position Path, the first virtual objects of control are moved according to path.And in the motion process of the first virtual objects, original void is called Motion interface in quasi- interactive program executes corresponding movement to control first virtual objects.In this way, by calling directly void Packaged logic interfacing in quasi- interactive program is realized the control to virtual objects automatically, and entire scheme can directly exist True manual operation is simulated in terminal, without repeatedly with server carry out state synchronized, reduce additional synchronization action, with And the waiting time of data transmission, substantially increase virtual objects controlled efficiency.
In one embodiment, which includes: to obtain in map provided by virtual interacting program The initial position of first virtual objects and target position;By the code injected in virtual interacting program, obtain in map From initial position to the path of target position;The motion interface in virtual interacting program is called by code, control first is virtual Object is intended to target position movement according to path;In the motion process of the first virtual objects, virtual hand over is called by code Motion interface in mutual program, the first virtual objects of control execute corresponding movement.Wherein, it is injected into virtual interacting program Code includes code for obtaining the path from initial position to target position and connects for realizing motion interface and movement The code that mouth calls.
In above-described embodiment, by the code injected in original virtual interacting program, it is available in map from The initial position of first virtual objects to target position path.It is called so as to directly by the code of injection original virtual Motion interface in interactive program, the first virtual objects of control are moved according to path.And in being moved through for the first virtual objects Cheng Zhong calls the motion interface in original virtual interacting program by the code of injection, is held with controlling first virtual objects The corresponding movement of row.In this way, reflection is called in virtual interacting program by the injecting codes in original virtual interacting program Encapsulated good logic interfacing can realize the control to virtual objects automatically, to the change pole of the virtual interacting program of script It is small, greatly reduce development cost.Also, entire scheme can directly simulate true manual operation at the terminal, without repeatedly State synchronized is carried out with server, reduces the waiting time of additional synchronization action and data transmission, substantially increases void Quasi- object control efficiency.
In one embodiment, step S208, that is, in the motion process of the first virtual objects, call virtual interacting The step of motion interface in program, the first virtual objects of control execute corresponding movement, specifically includes: in the first virtual objects Motion process in, the observation interface in virtual interacting program is called by the code that injects in virtual interacting program, is determined First virtual objects environmental information within the vision;When environmental information meets action triggers condition, called by code empty Motion interface in quasi- interactive program, the first virtual objects of control execute corresponding movement.
Specifically, in the motion process of the first virtual objects, terminal can be by generation for being injected into virtual interacting program Code, the observation interface in virtual interacting program is called in reflection, by the camera model pre-seted, from first virtual objects First person shows the first virtual objects environmental information within the vision, that is, shows the first virtual objects visual field Virtual interacting scene in range.Wherein, environmental information can specifically include that appear in the first virtual objects within the vision Land, house, rock, shelter or second virtual objects etc..When environmental information included in the virtual interacting scene meets When action triggers condition, terminal can call the motion interface in virtual interacting program by code, and the first virtual objects of control are held The corresponding movement of row.
In one embodiment, in the motion process of the first virtual objects, terminal can be by executing the sight in the code Interface function is examined, to realize that the observation interface in virtual interacting program is called in reflection, to obtain the first virtual objects visual field model Enclose interior environmental information.
In one embodiment, when the first virtual objects environmental information within the vision includes barrier, terminal can The motion interface in virtual interacting program is called by code, control the first virtual objects cut-through object or skips barrier row It walks.
In one embodiment, when second resisted opposite with the first virtual objects occur within sweep of the eye in the first virtual objects When virtual objects, terminal can call the motion interface in virtual interacting program by code, and the first virtual objects of control aim at simultaneously Attack the second virtual objects.
In one embodiment, when the first virtual objects be in the second virtual objects of adverse party within sweep of the eye when, Correspondingly, second virtual objects can also aim at and attack the first virtual objects.When the first virtual objects are attacked, first is empty The attribute information of quasi- object can carry out corresponding adjustment according to the number and intensity attacked.For example, life attribute value can phase The reduction answered.It is appreciated that second virtual objects specifically can be the virtual objects of player's manipulation, it is also possible to other terminals The AI object controlled, the embodiment of the present application herein and without limitation, need to only meet the first virtual objects and the second virtual objects It is the virtual objects of adverse party.
In above-described embodiment, in the motion process of the first virtual objects, it can be called in virtual interacting program by code Observation interface, in time determine the first virtual objects environmental information within the vision.When environmental information meets action triggers When condition, then it can be automatically controled the first virtual objects and execute corresponding movement.In this way, calling observation interface and movement by reflection Interface can find abnormal conditions present in the first virtual objects visual field in time, and control the first virtual objects in time and execute phase The movement answered.
In one embodiment, when environmental information meets action triggers condition, virtual interacting program is called by code In motion interface, the step of the first virtual objects of control execute corresponding movement includes: when environmental information includes and first is empty When the second virtual objects that quasi- object resists relatively, pass through the aiming interface in code calling virtual interacting program, adjustment first is empty The direction of quasi- object aims at the second virtual objects to control the virtual item of the first virtual objects;Virtual hand over is called by code Attack interface in mutual program, the first virtual objects of control attack the second virtual objects by virtual item.
Specifically, motion interface specifically may include aiming at interface and attack interface.When environmental information include with it is first virtual When relatively anti-the second virtual objects of object, terminal can call the aiming interface in virtual interacting program by code, determine the The position of two virtual objects, and the position of the position and second virtual objects current according to the first virtual objects, determine for void The line segment of quasi- two positions of connectionist, adjusts the direction of the first virtual objects, so that the side towards place of the first virtual objects Position is overlapped with the orientation of the line segment.It is appreciated that virtual objects can carry virtual item, when the first virtual objects are towards place Orientation be overlapped with the orientation of the line segment, terminal can control the first virtual objects virtual item aim at second virtual objects. Wherein, virtual item specifically can be the prop model that firearms model, catapult model or bow and arrow model etc. have attack effect.
In one embodiment, it when the position of the position and second virtual objects current according to the first virtual objects, determines The line segment for two positions of virtual link person between there are when shelter, terminal can control the adjustment movement of the first virtual objects Suitable transfer path is found in direction, around the shelter or far from the shelter, so that virtual for virtual link first Shelter is not present between object and the line segment of the second virtual objects.In this way, terminal is the virtual of controllable first virtual objects Stage property aims at the second virtual objects.
Further, when the virtual item of the first virtual objects of terminal control aims at the second virtual objects, terminal can lead to The attack interface in code calling virtual interacting program is crossed, the first virtual objects of control attack the second void by virtual item automatically Quasi- object.For example, terminal can be called in virtual interacting program by the code reflection of injection when virtual item is firearms model Original attack interface shoots the second virtual objects by virtual item.
It is appreciated that when the second virtual objects are attacked, correspondingly, indicating life in the attribute information of the second virtual objects The life attribute value of life intensity can be reduced accordingly, when reduction to preset value, then it is believed that second virtual objects are in dead State is died, the second virtual objects in dead state can not lead off an attack again.
In above-described embodiment, when the second virtual objects of appearance within sweep of the eye of the first virtual objects, terminal can be automatic It controls the first virtual objects and aims at and attack the second virtual objects, be not necessarily to manually operated, substantially increase virtual objects Control efficiency.
In one embodiment, which further includes the steps that the first virtual objects are lived again and controls, should Step specifically includes: when the first virtual objects are in dead state, obtaining position of living again;Resetting first is empty at position of living again Quasi- object, and the position that will live again is as the corresponding initial position of the first virtual objects after resetting;Return obtain in map from Initial position to target position path the step of and continue to execute.
Specifically, when the first virtual objects are attacked by the second virtual objects, the life attribute value meeting of the first virtual objects It is corresponding to reduce.When the life attribute value of the first virtual objects is less than preset value, terminal can determine that the first virtual objects are in Dead state.At this point, terminal can determine pre-set position of living again, which specifically can be the first virtual objects Initial position, or other positions for being different from target position.In turn, it is virtual right can to reset first at position of living again for terminal As.The first virtual objects namely in dead state can disappear in virtual interacting interface, and correspondingly, at position of living again It will appear the first virtual objects of resetting.The attribute information of first virtual objects of the resetting can revert to initial attribute letter Breath.
Further, terminal can be by the position of living again of the first virtual objects of resetting (also referred to as living again), as resetting The corresponding initial position of the first virtual objects afterwards, and return step S204.It is, terminal can obtain in map from living again The path of position to target position;The motion interface in virtual interacting program is called by code, the first virtual objects of control are pressed It is intended to target position movement according to path;In the motion process of the first virtual objects, virtual interacting program is called by code In motion interface, the first virtual objects of control execute corresponding movement.
It is appreciated that the number that the first virtual objects can live again can be limited, such as 3 times, it is unlimited to be also possible to. If the number that the first virtual objects can live again is limited times, when the dead number of the first virtual objects reaches preset times or should When first virtual objects reach target position, then this innings of virtual interacting behavior terminates.If the number that virtual objects can live again is Infinitely, when the first virtual objects reach target position, then this innings of virtual interacting behavior terminates.
In above-described embodiment, when the first virtual objects are in dead state, first void can be reset at position of living again Quasi- object, and the position that will live again obtains to return in map as the corresponding initial position of the first virtual objects after resetting In from initial position to the path of target position the step of and continue to execute.In this way, when the first virtual objects are in dead state When, it can live again at position of living again automatically, automatically control the first virtual objects to continue to realize, substantially increase virtual objects Control efficiency.
In one embodiment, which further includes the steps that obtaining test instruction, and the step is specific It include: to show virtual interacting interface provided by virtual interacting program, and the first virtual objects are shown in virtual interacting interface; It obtains and acts on virtual interacting interface and the test instruction for testing virtual interacting program.Step S202, that is, obtain empty The initial position of first virtual objects and target position in map provided by quasi- interactive program, comprising: held according to test instruction Row obtains the initial position of the first virtual objects and target position in map provided by virtual interacting program.
Specifically, tester can in advance store virtual interacting program at the terminal, and terminal, which can pass through, runs virtual hand over Mutual program shows virtual interacting interface, and shows the first virtual objects in virtual interacting interface.In addition, terminal can also be in void Virtual interacting scene is shown in quasi- interactive interface.The test instruction for acting on virtual interacting interface, the test can be detected in terminal Instruction is for testing virtual interacting program.When terminal gets test instruction, virtual interacting is obtained according to test instruction execution The initial position of first virtual objects and target position in map provided by program.
In one embodiment, test instruction specifically can be the trigger action acted on virtual interacting interface and be generated 's.In further embodiments, when test instruction can be timing, reaches preset time point or show virtual interacting interface certainly What dynamic triggering generated.The embodiment of the present application is it is not limited here.
Wherein, trigger action specifically can be touch operation, cursor operations, button operation or voice operating.Wherein, it touches Touching operation can be touch clicking operation, touches pressing operation or touch slide, and touch operation can be single-touch Operation or multiple point touching operation;Cursor operations can be the operation that control cursor is clicked or control cursor is pressed Operation;Button operation can be operation of virtual key or physical button operation etc..
In one embodiment, test instruction specifically can be used for carrying out automated performance testing, automate survey of smoldering Examination, the test of automation intra-office logic function or automation compatibility test etc..
In above-described embodiment, after illustrating virtual interacting interface, test instruction can be obtained, and according to the test instruction execution The initial position of the first virtual objects and target position and subsequent step in map provided by virtual interacting program are obtained, with The control effect for realizing the automatic test virtual objects, can greatly reduce manpower testing cost, substantially increase test again Efficiency.
It is illustrated so that the virtual object control method is applied to the concrete scene of electronic game as an example below.The application is real Apply example provide it is a set of can with Fast simulation manual operation control AI object scheme.It can be by being obtained to server transmitting path Request is taken, to calculate feasible path automatically by server, obtains the world coordinate point of feasible path.And then call game logic The motion interface of middle 1P role realizes automation pathfinding function.During path-search (namely during the motion), pass through tune With observation interface determine automatically it is within the vision shoot object, pass through call aim at interface and attack interface, realize determine The simultaneously aimed fire of the orientation of the virtual objects of adverse party.Before realizing automatic control AI object, terminal can pass through the JIT of Unity The mode of (just in time, immediately) Dynamic injection code and reflection call original logic interfacing to realize, to game The code change of script is minimum.
It wherein, specifically can be as described below by the process of relevant code injection electronic game program.Terminal can be by the generation Code is realized and is write in an independent library file (gamelib.dll), when game running, is added with the library file of unity Interface is carried, loads this library file into the memory of mono virtual machine.By the compiling at runtime principle of unity, reflection is called The function interface of library file realizes the Action logic module for calling AI role.
Virtual object control method mentioned by the embodiment of the present application can by the intra-office AI object implementatio8 of Unity game, It can be transplanted in other Unity projects, run and realize in the environment provided by terminal.It is applied to electronic game in this way Cell phone client for be described in detail, with reference to Fig. 6, Fig. 6 is the process of virtual object control method in one embodiment Schematic diagram.As shown in fig. 6, into after single innings of game, cell phone client sends one to server end when operation electronic game program Item request.Server returns to the coordinate that path is walked comprising present feasible.After client receives the agreement time packet that backstage returns, Analysis protocol return packet obtain can walking path coordinate.Whether client judges current AI role dead, if without death, Then recall motion interface control AI role movement.If current AI role is dead, live again the AI role, and returns to and obtain Take can walking path coordinate the step of on.When AI role during the motion, if meeting enemy, call aim at module and Shooting module is fought automatically.If AI role is dead, return obtain can walking path coordinate the step of on, until single Office terminates, and exits the single innings of electronic game.
Wherein, automatic movement, automatic aiming, automatic fire can be realized about AI role and determines that enemy whether there is Behavior, these behaviors refer to the functional interface of game logic, and main principle is illustrated in fig. 7 shown below.Fig. 7 is in one embodiment The functional block diagram that interface calls.It is the funtion part realized needed for the code injected in games, figure with reference to Fig. 7, on the left of Fig. 7 7 right side is the corresponding interface of functional module original in games.As shown in fig. 7, library file and game function module are all In game host process (UnityMain), when AI role need to realize automatic motor behavior, client can call game function mould Assembly-Csharp.dll interface in block;When AI role need to realize automatic aiming behavior, client can call game function UnityEngine.dll interface in energy module;When AI role, which need to realize, is related to behavior automatically, client can call game function System.dll interface in energy module;When AI role, which need to realize, judges enemy, client can be called in game function module DataProto.dll interface.
Scheme mentioned by the embodiment of the present application is realized in the client that can be run in the terminal, simulates prototype ring completely The operation in border can be reduced human input under the scene for needing more true man's tests, improve testing efficiency;Original program is changed Small, cost of implementation is low, convenient for debugging and maintenance;The realization of entire scheme can call directly original game logic, AI operation spirit It is living fine;The program can whole scene use, the operation such as do not need manually to get ready, can the rapid Cover new scene (field of different maps Scape);The program is applicable to the game automation of other unity types, quickly accesses, cost of implementation is low.
As shown in figure 8, in a specific embodiment, the virtual object control method specifically includes the following steps:
S802 obtains code to be implanted;Code includes the generation for obtaining the path from initial position to target position Code and the code called for realizing motion interface and motion interface.
S804, according to the corresponding library file of code building.
S806 loads library file by the library file loading interface in virtual interacting program, by code injection to virtual In interactive program.
S808 shows virtual interacting interface provided by virtual interacting program, and shows virtually in virtual interacting interface Object.
S810 is obtained and is acted on virtual interacting interface and the test instruction for testing virtual interacting program.
S812 is virtual right using the operable virtual objects of terminal as first in virtual interacting interface according to test instruction As, and using anti-virtual objects opposite with the first virtual objects as the second virtual objects.
S814, using position of first virtual objects in the map provided by virtual interacting program as initial position, and Using position of the corresponding camp of the second virtual objects in map as target position.
S816 is assisted according to initial position and target position according to request by the code injected in virtual interacting program View generates path acquisition request.
Path acquisition request is sent to server by S818;The path acquisition request of transmission is used to indicate server and determines It is raw according to path from initial position to the path of target position in map, and according to corresponding with request protocol time packet protocol It is wrapped at returning.
S820, receive server feedback returns packet, and parses back packet and obtain path.
S822 obtains the attribute information of the first virtual objects.
S824 calls virtual interacting journey by code when attribute information table shows that the first virtual objects are in existing state Motion interface in sequence determines the corresponding direction of motion of the first virtual objects according to path.
S826 obtains the corresponding movement velocity of the first virtual objects.
S828 controls the first virtual objects according to path and is intended to target position fortune according to the direction of motion and movement velocity It is dynamic.
S830 calls the observation interface in virtual interacting program by code in the motion process of the first virtual objects, Determine the first virtual objects environmental information within the vision.
S832 is called when environmental information includes the second virtual objects resisted opposite with the first virtual objects by code Aiming interface in virtual interacting program adjusts the direction of the first virtual objects, to control the virtual item of the first virtual objects Aim at the second virtual objects.
S834 calls the attack interface in virtual interacting program by code, and the first virtual objects of control pass through virtual road Tool the second virtual objects of attack.
S836 obtains position of living again when the first virtual objects are in dead state.
S838 resets the first virtual objects at position of living again, and the position that will live again is virtual right as first after resetting As corresponding initial position, and return step S816 is continued to execute.
Above-mentioned virtual object control method, by the code injected in original virtual interacting program, it is available From the initial position of the first virtual objects to the path of target position in map.It is called so as to directly by the code of injection former Motion interface in some virtual interacting programs, the first virtual objects of control are moved according to path.And in the first virtual objects Motion process in, the motion interface in original virtual interacting program is called by the code of injection, it is first empty to control this Quasi- object executes corresponding movement.In this way, virtual interacting is called in reflection by the injecting codes in original virtual interacting program Packaged logic interfacing in program can realize the control to virtual objects automatically, to the virtual interacting program of script Change it is minimum, greatly reduce development cost.Also, entire scheme can directly simulate true manual operation at the terminal, Without carrying out state synchronized with server repeatedly, reduce the waiting time of additional synchronization action and data transmission, significantly Improve virtual objects controlled efficiency.
Fig. 8 is the flow diagram of virtual object control method in one embodiment.Although should be understood that Fig. 8's Each step in flow chart is successively shown according to the instruction of arrow, but these steps are not necessarily to indicate according to arrow Sequence successively executes.Unless expressly stating otherwise herein, there is no stringent sequences to limit for the execution of these steps, these steps Suddenly it can execute in other order.Moreover, at least part step in Fig. 8 may include multiple sub-steps or multiple ranks Section, these sub-steps or stage are not necessarily to execute completion in synchronization, but can execute at different times, this The execution sequence in a little step perhaps stage be also not necessarily successively carry out but can be with other steps or other steps Sub-step or at least part in stage execute in turn or alternately.
As shown in figure 9, in one embodiment, providing virtual objects controlled device 900, including obtain 901 He of module Control module 902.
Module 901 is obtained, for obtaining the initial position of the first virtual objects in map provided by virtual interacting program The target position and;
Module 901 is obtained to be also used to obtain in map from initial position to the path of target position;
Control module 902 controls the first virtual objects according to path for calling the motion interface in virtual interacting program It is intended to target position movement;
Control module 902 is also used in the motion process of the first virtual objects, calls the movement in virtual interacting program Interface, the first virtual objects of control execute corresponding movement.
In one embodiment, it obtains module 901 and is also used to the code by injecting in virtual interacting program, obtain From initial position to the path of target position in map.Control module 902 is also used to call in virtual interacting program by code Motion interface, control the first virtual objects according to path be intended to target position movement.Control module 902 is also used to first In the motion process of virtual objects, the motion interface in virtual interacting program is called by code, the first virtual objects of control are held The corresponding movement of row.
In one embodiment, which further includes generation module 903 and loading module 904, In:
It obtains module 901 and is also used to obtain code to be implanted;Code includes for obtaining from initial position to target position The code in the path set and the code called for realizing motion interface and motion interface.
Generation module 903, for according to the corresponding library file of code building.
Loading module 904 will generation for loading library file by the library file loading interface in virtual interacting program Code is injected into virtual interacting program.
In one embodiment, it obtains module 901 to be also used to through terminal display virtual interacting interface, and in virtual interacting Virtual objects are shown in interface;Using the operable virtual objects of terminal as the first virtual objects in virtual interacting interface, and Using anti-virtual objects opposite with the first virtual objects as the second virtual objects;By the first virtual objects in virtual interacting program Position in provided map as initial position, and using position of the corresponding camp of the second virtual objects in map as Target position.
In one embodiment, it obtains module 901 to be also used to through terminal display virtual interacting interface, and in virtual interacting Virtual objects are shown in interface;Using the operable virtual objects of terminal as the first virtual objects in virtual interacting interface;It will Position of first virtual objects in the map provided by virtual interacting program will be different from just as initial position in map The predeterminated position of beginning position is as target position.
In one embodiment, it obtains module 901 and is also used to the code by injecting in virtual interacting program, according to first Beginning position and target position generates path acquisition request;Path acquisition request is sent to server;The path of transmission obtains and asks It asks and is used to indicate server determination in map from initial position to the path of target position;Receive the path of server feedback.
In one embodiment, by the code injected in virtual interacting program, according to initial position and target position, Path acquisition request is generated according to request protocol;It is reception server feedback, raw according to corresponding with request protocol time packet protocol At return packet;It parses back packet and obtains path.
In one embodiment, virtual objects controlled device 900 further includes execution module 905, in which:
Obtain the attribute information that module 901 is also used to obtain the first virtual objects.
Execution module 905, for executing and calling virtually when attribute information table shows that the first virtual objects are in existing state Motion interface in interactive program, the first virtual objects of control are intended to target position movement according to path.
In one embodiment, control module 902 is also used to the code by injecting in virtual interacting program, calls empty Motion interface in quasi- interactive program determines the corresponding direction of motion of the first virtual objects according to path;It is virtual right to obtain first As corresponding movement velocity;According to the direction of motion and movement velocity, the first virtual objects are controlled according to path and are intended to target position Set movement.
In one embodiment, control module 902 is also used in the motion process of the first virtual objects, by virtual The code injected in interactive program calls the observation interface in virtual interacting program, determines that the first virtual objects are within the vision Environmental information;When environmental information meets action triggers condition, the motion interface in virtual interacting program, control are called by code It makes the first virtual objects and executes corresponding movement.
In one embodiment, control module 902 is also used to when environmental information include opposite with the first virtual objects anti- When the second virtual objects, the aiming interface in virtual interacting program is called by code, adjusts the direction of the first virtual objects, with The virtual item for controlling the first virtual objects aims at the second virtual objects;The attack in virtual interacting program is called to connect by code Mouthful, the first virtual objects of control attack the second virtual objects by virtual item.
In one embodiment, which further includes resetting module 906, for when the first virtual objects When in dead state, position of living again is obtained;The first virtual objects are reset at position of living again, and the position that will live again is as resetting The corresponding initial position of the first virtual objects afterwards;It returns and obtains in map from initial position to the step in the path of target position Suddenly it and continues to execute.
With reference to Figure 10, in one embodiment, which further includes display module 907, for showing Virtual interacting interface provided by virtual interacting program, and the first virtual objects are shown in virtual interacting interface.Obtain module 901 are also used to obtain the test instruction for acting on virtual interacting interface and being used to test virtual interacting program;It is instructed according to test It executes and obtains the initial position of the first virtual objects and target position in map provided by virtual interacting program.
Figure 11 shows the internal structure chart of computer equipment in one embodiment.The computer equipment specifically can be figure Terminal 110 in 1.As shown in figure 11, it includes the place connected by system bus which, which includes the computer equipment, Manage device, memory, network interface and display screen.Wherein, memory includes non-volatile memory medium and built-in storage.The calculating The non-volatile memory medium of machine equipment is stored with operating system, can also be stored with computer program, which is located When managing device execution, processor may make to realize virtual object control method.Computer program can also be stored in the built-in storage, When the computer program is executed by processor, processor may make to execute virtual object control method.The display of computer equipment Screen can be liquid crystal display or electric ink display screen.
It will be understood by those skilled in the art that structure shown in Figure 11, only part relevant to application scheme The block diagram of structure, does not constitute the restriction for the computer equipment being applied thereon to application scheme, and specific computer is set Standby may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, virtual objects controlled device provided by the present application can be implemented as a kind of computer program Form, computer program can be run in computer equipment as shown in figure 11.Group can be stored in the memory of computer equipment At each program module of the virtual objects controlled device, for example, acquisition module shown in Fig. 9 and control module.Each program The computer program of module composition makes processor execute the virtual objects of each embodiment of the application described in this specification Step in control method.
For example, computer equipment shown in Figure 11 can pass through the acquisition in virtual objects controlled device as shown in Figure 9 Module executes step S202 and S204.Computer equipment can execute step S206 and S208 by control module.
In one embodiment, a kind of computer equipment, including memory and processor are provided, memory is stored with meter Calculation machine program, when computer program is executed by processor, so that the step of processor executes above-mentioned virtual object control method.This The step of locating virtual object control method can be the step in the virtual object control method of above-mentioned each embodiment.
In one embodiment, a kind of computer readable storage medium is provided, computer program, computer journey are stored with When sequence is executed by processor, so that the step of processor executes above-mentioned virtual object control method.Virtual objects controlled side herein The step of method, can be the step in the virtual object control method of above-mentioned each embodiment.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a non-volatile computer and can be read In storage medium, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, provided herein Each embodiment used in any reference to memory, storage, database or other media, may each comprise non-volatile And/or volatile memory.Nonvolatile memory may include that read-only memory (ROM), programming ROM (PROM), electricity can be compiled Journey ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) directly RAM (RDRAM), straight Connect memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously The limitation to the application the scope of the patents therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the concept of this application, various modifications and improvements can be made, these belong to the guarantor of the application Protect range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (15)

1. a kind of virtual object control method, comprising:
Obtain the initial position of the first virtual objects and target position in map provided by virtual interacting program;
It obtains in the map from the initial position to the path of the target position;
The motion interface in the virtual interacting program is called, first virtual objects is controlled according to the path and is intended to institute State target position movement;
In the motion process of first virtual objects, the motion interface in the virtual interacting program is called, described in control First virtual objects execute corresponding movement.
2. the method according to claim 1, wherein it is described acquisition in the map from the initial position to The path of the target position, comprising:
By the code injected in the virtual interacting program, obtain in the map from the initial position to the mesh The path of cursor position;
The motion interface called in the virtual interacting program controls first virtual objects and tends to according to the path It is moved in the target position, comprising:
The motion interface in the virtual interacting program is called by the code, controls first virtual objects according to described Path is intended to the target position movement;
It is described to call the motion interface in the virtual interacting program in the motion process of first virtual objects, control First virtual objects execute corresponding movement, comprising:
In the motion process of first virtual objects, the movement in the virtual interacting program is called to connect by the code Mouthful, it controls first virtual objects and executes corresponding movement.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
Obtain code to be implanted;The code include for obtain the code in the path from initial position to target position, with And the code called for realizing motion interface and motion interface;
According to the corresponding library file of the code building;
By the library file loading interface in the virtual interacting program, the library file is loaded, extremely by the code injection In the virtual interacting program.
4. the method according to claim 1, wherein in map provided by the acquisition virtual interacting program The initial position of one virtual objects and target position, comprising:
Virtual objects are shown by terminal display virtual interacting interface, and in the virtual interacting interface;
Using the operable virtual objects of the terminal as the first virtual objects in the virtual interacting interface, and will with it is described The relatively anti-virtual objects of first virtual objects are as the second virtual objects;
Using the position in the first virtual objects map provided by virtual interacting program as initial position, and will be described Position of the corresponding campsite of second virtual objects in the map is as target position.
5. the method according to claim 1, wherein in map provided by the acquisition virtual interacting program The initial position of one virtual objects and target position, comprising:
Virtual objects are shown by terminal display virtual interacting interface, and in the virtual interacting interface;
Using the operable virtual objects of the terminal as the first virtual objects in the virtual interacting interface;
Using the position in the first virtual objects map provided by virtual interacting program as initial position, and will be described The predeterminated position of the initial position is different from map as target position.
6. the method according to claim 1, wherein it is described acquisition in the map from the initial position to The path of the target position, comprising:
Road is generated according to the initial position and the target position by the code injected in the virtual interacting program Diameter acquisition request;
The path acquisition request is sent to server;It is true that the path acquisition request sent is used to indicate the server It is scheduled in the map from the initial position to the path of the target position;
Receive the path of the server feedback.
7. according to the method described in claim 6, it is characterized in that, the generation by being injected in the virtual interacting program Code, according to the initial position and the target position, generating path acquisition request includes:
By the code injected in the virtual interacting program, according to the initial position and the target position, according to asking Agreement is asked to generate path acquisition request;
The path for receiving the server feedback includes:
Time packet receiving the server feedback, being generated according to corresponding with the request protocol time packet protocol;
The parsing packet that returns obtains the path.
8. the method according to claim 1, wherein it is described acquisition in the map from the initial position to After the path of the target position, the method also includes:
Obtain the attribute information of first virtual objects;
When the attribute information indicates that first virtual objects are in existing state, the calling virtual interacting is executed Motion interface in program controls first virtual objects according to the path and is intended to the target position movement.
9. the method according to claim 1, wherein described call the movement in the virtual interacting program to connect Mouthful, first virtual objects, which are controlled, according to the path is intended to the target position movement, comprising:
By the code injected in the virtual interacting program, the motion interface in the virtual interacting program, foundation are called The path determines the corresponding direction of motion of first virtual objects;
Obtain the corresponding movement velocity of first virtual objects;
According to the direction of motion and the movement velocity, control first virtual objects are intended to described according to the path Target position movement.
10. the method according to claim 1, wherein described in the motion process of first virtual objects, The motion interface in the virtual interacting program is called, first virtual objects is controlled and executes corresponding movement, comprising:
In the motion process of first virtual objects, called by the code that is injected in the virtual interacting program described in Observation interface in virtual interacting program determines the first virtual objects environmental information within the vision;
When the environmental information meets action triggers condition, the movement in the virtual interacting program is called by the code Interface controls first virtual objects and executes corresponding movement.
11. according to the method described in claim 10, it is characterized in that, described when the environmental information meets action triggers condition When, the motion interface in the virtual interacting program is called by the code, first virtual objects is controlled and executes accordingly Movement, comprising:
When the environmental information includes the second virtual objects resisted opposite with first virtual objects, pass through the code tune With the aiming interface in the virtual interacting program, the direction of first virtual objects is adjusted, it is virtual to control described first The virtual item of object aims at second virtual objects;
The attack interface in the virtual interacting program is called by the code, controls first virtual objects described in Virtual item attacks second virtual objects.
12. the method according to claim 1, wherein the method also includes:
When first virtual objects are in dead state, position of living again is obtained;
First virtual objects are reset at the position of living again, and using the position of living again as described first after resetting The corresponding initial position of virtual objects;
Return the acquisition in the map from the initial position to the path of the target position the step of and continue to hold Row.
13. method according to any one of claim 1 to 12, which is characterized in that the method also includes:
It shows virtual interacting interface provided by virtual interacting program, and shows that first is virtual right in the virtual interacting interface As;
It obtains and acts on the virtual interacting interface and the test instruction for testing the virtual interacting program;
It is described to obtain the initial position of the first virtual objects and target position in map provided by virtual interacting program, comprising:
The initial position of the first virtual objects in map provided by virtual interacting program is obtained according to the test instruction execution The target position and.
14. a kind of virtual objects controlled device, which is characterized in that described device includes:
Module is obtained, for obtaining the initial position of the first virtual objects and target position in map provided by virtual interacting program It sets;
The acquisition module is also used to obtain in the map from the initial position to the path of the target position;
Control module controls first virtual objects according to institute for calling the motion interface in the virtual interacting program It states path and is intended to the target position movement;
The control module is also used in the motion process of first virtual objects, is called in the virtual interacting program Motion interface controls first virtual objects and executes corresponding movement.
15. a kind of computer readable storage medium is stored with computer program, when the computer program is executed by processor, So that the processor is executed such as the step of any one of claims 1 to 12 the method.
CN201910620281.3A 2019-07-10 2019-07-10 Virtual object control method, device, storage medium and computer equipment Active CN110302537B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910620281.3A CN110302537B (en) 2019-07-10 2019-07-10 Virtual object control method, device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910620281.3A CN110302537B (en) 2019-07-10 2019-07-10 Virtual object control method, device, storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN110302537A true CN110302537A (en) 2019-10-08
CN110302537B CN110302537B (en) 2023-12-19

Family

ID=68080801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910620281.3A Active CN110302537B (en) 2019-07-10 2019-07-10 Virtual object control method, device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN110302537B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111111181A (en) * 2019-12-26 2020-05-08 腾讯科技(深圳)有限公司 Method, device and equipment for setting props in virtual environment and readable storage medium
CN111569422A (en) * 2020-05-15 2020-08-25 网易(杭州)网络有限公司 Interaction method and device between game characters, electronic equipment and storage medium
CN112221143A (en) * 2020-10-09 2021-01-15 腾讯科技(深圳)有限公司 Method, device and storage medium for controlling movement of virtual object
CN113713384A (en) * 2021-09-14 2021-11-30 腾讯科技(深圳)有限公司 Control method and device of virtual role, storage medium and electronic equipment
CN113867531A (en) * 2021-09-30 2021-12-31 北京市商汤科技开发有限公司 Interaction method, device, equipment and computer readable storage medium
CN115212575A (en) * 2022-09-19 2022-10-21 南京惠积信息科技有限公司 Continuous state space intelligent agent construction method
WO2023169010A1 (en) * 2022-03-09 2023-09-14 腾讯科技(深圳)有限公司 Virtual object control method and apparatus, electronic device, storage medium, and program product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120004017A1 (en) * 2010-06-11 2012-01-05 Nintendo Co., Ltd. Computer-readable storage medium having information processing program stored therein, information processing apparatus, information processing system, and information processing method
US20180172463A1 (en) * 2016-12-16 2018-06-21 Osvaldo Morales Geo-location tracking system and method
US20190076739A1 (en) * 2017-09-12 2019-03-14 Netease (Hangzhou) Network Co.,Ltd. Information processing method, apparatus and computer readable storage medium
US20190118078A1 (en) * 2017-10-23 2019-04-25 Netease (Hangzhou) Network Co.,Ltd. Information Processing Method and Apparatus, Storage Medium, and Electronic Device
CN109876438A (en) * 2019-02-20 2019-06-14 腾讯科技(深圳)有限公司 Method for displaying user interface, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120004017A1 (en) * 2010-06-11 2012-01-05 Nintendo Co., Ltd. Computer-readable storage medium having information processing program stored therein, information processing apparatus, information processing system, and information processing method
US20180172463A1 (en) * 2016-12-16 2018-06-21 Osvaldo Morales Geo-location tracking system and method
US20190076739A1 (en) * 2017-09-12 2019-03-14 Netease (Hangzhou) Network Co.,Ltd. Information processing method, apparatus and computer readable storage medium
US20190118078A1 (en) * 2017-10-23 2019-04-25 Netease (Hangzhou) Network Co.,Ltd. Information Processing Method and Apparatus, Storage Medium, and Electronic Device
CN109876438A (en) * 2019-02-20 2019-06-14 腾讯科技(深圳)有限公司 Method for displaying user interface, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李晓燕等: "《电子商务概论 第2版》", 西安电子科技大学出版社, pages: 64 - 72 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111111181A (en) * 2019-12-26 2020-05-08 腾讯科技(深圳)有限公司 Method, device and equipment for setting props in virtual environment and readable storage medium
CN111569422A (en) * 2020-05-15 2020-08-25 网易(杭州)网络有限公司 Interaction method and device between game characters, electronic equipment and storage medium
CN111569422B (en) * 2020-05-15 2024-05-17 网易(杭州)网络有限公司 Interaction method and device between game roles, electronic equipment and storage medium
CN112221143A (en) * 2020-10-09 2021-01-15 腾讯科技(深圳)有限公司 Method, device and storage medium for controlling movement of virtual object
CN113713384A (en) * 2021-09-14 2021-11-30 腾讯科技(深圳)有限公司 Control method and device of virtual role, storage medium and electronic equipment
CN113713384B (en) * 2021-09-14 2023-07-14 腾讯科技(深圳)有限公司 Virtual character control method and device, storage medium and electronic equipment
CN113867531A (en) * 2021-09-30 2021-12-31 北京市商汤科技开发有限公司 Interaction method, device, equipment and computer readable storage medium
WO2023169010A1 (en) * 2022-03-09 2023-09-14 腾讯科技(深圳)有限公司 Virtual object control method and apparatus, electronic device, storage medium, and program product
CN115212575A (en) * 2022-09-19 2022-10-21 南京惠积信息科技有限公司 Continuous state space intelligent agent construction method
CN115212575B (en) * 2022-09-19 2022-12-20 南京惠积信息科技有限公司 Continuous state space intelligent agent construction method

Also Published As

Publication number Publication date
CN110302537B (en) 2023-12-19

Similar Documents

Publication Publication Date Title
CN110302537A (en) Virtual object control method, device, storage medium and computer equipment
CN112076473B (en) Control method and device of virtual prop, electronic equipment and storage medium
CN108958475B (en) Virtual object control method, device and equipment
US20140213361A1 (en) Method, device, and system for interacting with a virtual character in smart terminal
WO2022057529A1 (en) Information prompting method and apparatus in virtual scene, electronic device, and storage medium
CN112402960B (en) State switching method, device, equipment and storage medium in virtual scene
WO2022042435A1 (en) Method and apparatus for displaying virtual environment picture, and device and storage medium
CN111437608B (en) Game play method, device, equipment and storage medium based on artificial intelligence
CN113559510B (en) Virtual skill control method, device, equipment and computer readable storage medium
CN113633964B (en) Virtual skill control method, device, equipment and computer readable storage medium
Sanchis et al. Using natural interfaces for human-agent immersion
WO2022237420A1 (en) Control method and apparatus for virtual object, device, storage medium, and program product
CN114082173A (en) Data processing method, data processing device, computer equipment and storage medium
CN112402963A (en) Information sending method, device, equipment and storage medium in virtual scene
CN112669194A (en) Animation processing method, device and equipment in virtual scene and storage medium
CN114217708B (en) Control method, device, equipment and storage medium for opening operation in virtual scene
CN112121432B (en) Control method, device and equipment of virtual prop and computer readable storage medium
CN113018853B (en) Data processing method, data processing device, computer equipment and storage medium
CN113703654B (en) Camouflage processing method and device in virtual scene and electronic equipment
CN110531854A (en) A kind of action imitation display methods, action imitation display system and storage medium
CN113018862B (en) Virtual object control method and device, electronic equipment and storage medium
CN112121433B (en) Virtual prop processing method, device, equipment and computer readable storage medium
Liu et al. Development of a cybercrime investigation simulator for immersive virtual reality
CN112156472A (en) Control method, device and equipment of virtual prop and computer readable storage medium
CN113769392B (en) Method and device for processing state of virtual scene, electronic equipment and 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