CN104965695A - Method and apparatus for simulating user real-time operation - Google Patents

Method and apparatus for simulating user real-time operation Download PDF

Info

Publication number
CN104965695A
CN104965695A CN201410687604.8A CN201410687604A CN104965695A CN 104965695 A CN104965695 A CN 104965695A CN 201410687604 A CN201410687604 A CN 201410687604A CN 104965695 A CN104965695 A CN 104965695A
Authority
CN
China
Prior art keywords
user
content
attribute
default key
bit
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
CN201410687604.8A
Other languages
Chinese (zh)
Other versions
CN104965695B (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 Computer Systems Co Ltd
Original Assignee
Shenzhen Tencent Computer Systems 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 Computer Systems Co Ltd filed Critical Shenzhen Tencent Computer Systems Co Ltd
Priority to CN201410687604.8A priority Critical patent/CN104965695B/en
Publication of CN104965695A publication Critical patent/CN104965695A/en
Application granted granted Critical
Publication of CN104965695B publication Critical patent/CN104965695B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention provides a method and apparatus for simulating user real-time operation. The method comprises following steps: receiving simulation operation requests carrying user identification of a simulated user; acquiring corresponding relations of attribute identification and attribute values according to the simulation operation requests, wherein the attribute identification and the attribute values belong to the user identification and are used for representing history operation behaviors; working out preset key operation items corresponding to the attribute identification and operation content items corresponding to the attribute values according to the acquired corresponding relations; and generating real-time simulation operation commands and executing the commands according to the acquired preset key operation items and the operation content items. By employing the method for simulating user real-time operation, real-time operation commands which ought to be triggered by the simulated user can be accurately simulated, the artificial intelligence degree is high, and the real user can be better substituted for real-time operation.

Description

The method and apparatus of analog subscriber true-time operation
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of method and apparatus of analog subscriber true-time operation.
Background technology
Current cell phone game, has quite a few to there is the real time operation strategy content of user, and typical case such as many people fight online game.In PVP (Player VS Player, player the fights player) scene of these game, because the other user not necessarily remains presence, and the data traffic that user's real-time, interactive produces is very large.In order to alleviate this problem, the scheme adopted at present adopts a set of fixing AI (artificial intelligence) logic to carry out alternative the other user to play.
But the scheme adopting fixing AI logic to carry out alternative user is at present only carry out game operation according to certain fixed form specified by AI logic, and artificial intelligence degree is very low, can't substitute the game operation of user well.
Summary of the invention
Based on this, be necessary that the scheme for adopting fixing AI logic to carry out alternative user is at present only carry out game operation according to certain fixed form specified by AI logic, artificial intelligence degree is very low, the problem of the game operation of user can't be substituted well, a kind of method and apparatus of analog subscriber true-time operation is provided.
A method for analog subscriber true-time operation, described method comprises:
Receiving carries by the simulated operation request of the user ID of simulation side;
The corresponding relation for the attribute-bit and property value that represent historical operation behavior that user ID has according to described simulated operation acquisition request;
The default key operation class items corresponding to described attribute-bit and the content of operation item corresponding to corresponding described property value is parsed according to the corresponding relation of described acquisition;
Generate real time modelling operational order according to the described default key operation class items that parses and content of operation item and perform.
A device for analog subscriber true-time operation, described device comprises:
Simulated operation request receiving module, for receiving the simulated operation request carried by the user ID of simulation side;
Corresponding relation acquisition module, for the corresponding relation for the attribute-bit and property value that represent historical operation behavior that user ID according to described simulated operation acquisition request has;
Parsing module, for parsing the default key operation class items corresponding to described attribute-bit and the content of operation item corresponding to corresponding described property value according to the corresponding relation of described acquisition;
Real time modelling operational order processing module, generates real time modelling operational order for the default key operation class items that parses described in basis and content of operation item and performs.
The method and apparatus of above-mentioned analog subscriber true-time operation, after receiving simulated operation request, obtain the corresponding relation for the attribute-bit and property value that represent historical operation behavior that has by simulation side, generated by the real time modelling operational order of simulation side by this corresponding relation and perform.Above-mentioned like this corresponding relation represent by the historical operation behavior of the side of simulation, the true-time operation instruction that should be triggered by simulation side can be simulated exactly according to the real time modelling operational order that this corresponding relation generates, and present diverse operation logic because of the difference by simulation side, artificial intelligence degree is higher, can substitute real user better and carry out true-time operation.
Accompanying drawing explanation
Fig. 1 is the environment map of analog subscriber interaction systems in an embodiment;
Fig. 2 is for realizing the cut-away view of the server of the method for analog subscriber true-time operation in an embodiment;
Fig. 3 is the schematic flow sheet of the method for analog subscriber true-time operation in an embodiment;
Fig. 4 is the schematic flow sheet setting up the step corresponding to the attribute-bit of user ID and the corresponding relation of property value in an embodiment;
Fig. 5 is the schematic flow sheet setting up the step corresponding to the attribute-bit of user ID and the corresponding relation of property value in another embodiment;
Fig. 6 generates real time modelling operational order according to the default key operation class items parsed and content of operation item and the schematic flow sheet of the step performed in an embodiment;
Fig. 7 is the schematic flow sheet of the process generating the key-value array corresponding to user ID in an embody rule scene;
Fig. 8 is the idiographic flow schematic diagram of the method for analog subscriber true-time operation in an embody rule scene;
Fig. 9 is the structured flowchart of the device of analog subscriber true-time operation in an embodiment;
Figure 10 is the structured flowchart of the device of analog subscriber true-time operation in another embodiment;
Figure 11 is the structured flowchart of the device of analog subscriber true-time operation in another embodiment;
Figure 12 is the structured flowchart of the device of analog subscriber true-time operation in an embodiment.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
As shown in Figure 1, in one embodiment, provide a kind of analog subscriber interaction systems, comprise the server 102 and mobile terminal 104 that are connected by network, mobile terminal 104 can comprise multiple, 104a, 104b and 104c in such as Fig. 1.And in analog subscriber interaction systems, have at least a mobile terminal 104 sign in server with the user ID of requesting party and remain on line states.Here mobile terminal 104 can be the portable network access equipment such as smart mobile phone, panel computer.
As shown in Figure 2, in one embodiment, provide a kind of server, this server comprises the processor, internal memory, storage medium and the network interface that are connected by system bus.Wherein, the storage medium of this server stores the device of operating system, database and a kind of analog subscriber true-time operation, and the device of this analog subscriber true-time operation is for realizing a kind of method of analog subscriber true-time operation.The processor of this server is used for providing calculating and control ability, supports the operation of whole server.The device saving as the analog subscriber true-time operation in storage medium in this server provides running environment.This server can be an independently server, or can be multiple can interconnected communication server composition server zone, each functional module of the device of analog subscriber true-time operation can be distributed on each server in server zone respectively.This server can be desk-top computer.
As shown in Figure 3, in one embodiment, provide a kind of method of analog subscriber true-time operation, the server that the present embodiment is applied in above-mentioned Fig. 1 and Fig. 2 in this way illustrates, is understandable that the method also can be applied to mobile terminal.The method specifically comprises the steps:
Step 302, receives and carries by the simulated operation request of the user ID of simulation side.
Referred to a side of the object as simulated operation by simulation side, relatively requesting party then refers to the side sending this simulated operation request.Simulated operation request be request simulation its entrained by by the request of the true-time operation of the user ID of simulation side, can be sent by the mobile terminal logged in the user ID of requesting party, or can by with the mobile terminal logged in by the user ID of simulation side send; Server then receives this simulated operation request.Mobile terminal can when unlatching be to be the PVP game mode fighting object by simulation side, or open with PVE (the Player VS Environment that is cooperation object by simulation side, player fights environment) game mode time, trigger and send simulated operation request to server.
In one embodiment, step 302 comprises: receive the user interaction request carrying the user ID of Requested Party that the mobile terminal that logs in the user ID of requesting party sends, judge the whether corresponding presence of the user ID of Requested Party according to this user interaction request; If then set up the user interaction communication port of requesting party and Requested Party, then user interaction request is performed step 304 as simulated operation request if not.
Further, when the user ID judging Requested Party not corresponding presence time, can judge that the user ID of Requested Party is whether corresponding further and represent the zone bit opening simulation true-time operation; If then user interaction request is performed step 304 as simulated operation request, then return the notice of Requested Party off-line if not to mobile terminal.
Step 304, the corresponding relation for the attribute-bit and property value that represent historical operation behavior that user ID has according to described simulated operation acquisition request.
The corresponding relation of attribute-bit and property value can store by key (key)-value (value) array, and wherein key is for representing attribute-bit, and value then for representing property value, so very saves storage space.The corresponding relation of attribute-bit and property value is used for representing the historical operation behavior corresponding to the user ID of simulation side.The corresponding relation of each user ID its exclusive attribute-bit corresponding and property value on server, relies on user ID to call key-value array to obtain the corresponding relation of attribute-bit and property value when needed.
Step 306, parses the default key operation class items corresponding to described attribute-bit and the content of operation item corresponding to corresponding described property value according to the corresponding relation of described acquisition.
In the corresponding relation of attribute-bit and property value, attribute-bit and default key operation class items one_to_one corresponding, for representing the classification of default key operation; Corresponding property value then with content of operation item one_to_one corresponding, for representing the concrete operations content item of such other default key operation.
Preset key operation class items and refer to the preassigned operation species that effectively can represent the behavior of user's historical operation, such as under game interaction scene, the object that certain game role is preferentially attacked, or the game skill that certain game role preferentially uses, or the use order of certain consumable resource in game, or the construction sequence of building in game etc.Certainly presetting key operation also can be the operation that effectively can represent the behavior of user's historical operation in non-game interaction scene, the expression of face during certain sound bite such as detected during video calling.
For example, if presetting key operation class items is the object of the preferential attack of cavalryman, then corresponding content of operation item is that the other side cavalryman, the other side infantry or the other side attack cities car.Giving an attribute-bit by this default key operation class items is A, gives a property value respectively accordingly by content of operation item, and the corresponding property value of such as the other side cavalryman is 1, and the corresponding property value of the other side infantry is 2, and the other side's corresponding property value of car of attacking cities is 3.Then the object of the preferential attack of cavalryman is the other side cavalryman, then can be expressed as A-1.
Step 308, generates real time modelling operational order according to the described default key operation class items that parses and content of operation item and performs.
Particularly, default key operation class items can represent a complete default key operation in conjunction with its corresponding content of operation item.The real time modelling operational order for realizing this default key operation can being generated and perform, with the historical operation behavior by reproducing corresponding to the user ID of simulation side, realizing modelling customer behavior.
For example, under scene of game, when occurring judging the situation of the object of the preferential attack of cavalryman, then obtain the content of operation item of its correspondence for cavalryman, then generate and control removed to attack the real time modelling operational order of the other side cavalryman by the cavalryman of simulation side and perform.
The method of above-mentioned analog subscriber true-time operation, after receiving simulated operation request, obtain the corresponding relation for the attribute-bit and property value that represent historical operation behavior that has by simulation side, generated by the real time modelling operational order of simulation side by this corresponding relation and perform.Above-mentioned like this corresponding relation represent by the historical operation behavior of the side of simulation, the true-time operation instruction that should be triggered by simulation side can be simulated exactly according to the real time modelling operational order that this corresponding relation generates, and present diverse operation logic because of the difference by simulation side, artificial intelligence degree is higher, can substitute real user better and carry out true-time operation.
As shown in Figure 4, in one embodiment, the method for this analog subscriber true-time operation also comprises the step set up and correspond to the attribute-bit of user ID and the corresponding relation of property value, specifically comprises the steps:
Step 402, gathers default key operation class items and corresponding content of operation item that described user ID triggers.
Particularly, collection here refers to and gathers in advance.Here user ID is by the user ID of the side of simulation, and user ID triggers and refers to that real user is triggered after being logged in by this user ID.Gathering and preset key operation class items and corresponding content of operation item, can be when the operation of mating with default key operation class items being detected, obtains the particular content of this operation as the content of operation item corresponding to this default key operation class items.The species number of content of operation item is determined.
In one embodiment, step 402 comprises: be captured in the user interaction scene of preset times or the default key operation class items that within the scope of the fixed time, described user ID triggers and corresponding content of operation item.User interaction scene refers to that user carries out interactive independently scene, such as certain fight of playing, certain complete video calling etc.The value of preset times can set as required.The user interaction scene gathered depends on the user interaction scene needing to simulate true-time operation.The default key operation class items that user triggers and corresponding content of operation item have time attribute, and at the appointed time in scope, collection can ensure ageing.In one embodiment, default key operation class items and corresponding content of operation item that in the user interaction scene of the nearest preset times of distance current time, user ID triggers can be gathered.
Step 404, statistics corresponds to the respective frequency of occurrences of various content of operation items or the occurrence number of the default key operation class items of described collection.
Particularly, a user interaction scene or repeatedly in user interaction scene, multiple situation is had corresponding to same default key operation class items, corresponding multiple content of operation item, here first the statistics respective frequency of occurrences of each content of operation item that corresponds to same default key operation class items or occurrence number.
Step 406, obtains the property value corresponding to a kind of content of operation item that the attribute-bit corresponding to default key operation class items of described collection and the frequency of occurrences of described statistics or occurrence number are maximum.
The frequency of occurrences or the occurrence number of statistics are more, the optimal selection of this content of operation item user is described, here retain the frequency of occurrences or the maximum a kind of content of operation item of occurrence number, obtain corresponding attribute-bit and property value according to the attribute-bit giving default key operation class items in advance and the property value of giving content of operation item.
Step 408, sets up the corresponding relation of the attribute-bit of described acquisition and the property value of described acquisition corresponding to described user ID.
Particularly, the key-value array set up corresponding to this user ID can be adopted here to the corresponding relation of the property value of the attribute-bit and described acquisition that store acquisition.
In one embodiment, server can delete the corresponding relation of attribute-bit and the property value set up corresponding to user ID according to the instruction of the reconstruction corresponding relation received, re-execute step 402 ~ step 408 to re-establish the corresponding relation of attribute-bit and property value.The instruction of this reconstruction corresponding relation can trigger by by the user simulated, or can clocked flip.
In the present embodiment, provide the scheme set up and correspond to the attribute-bit of user ID and the corresponding relation of property value, generate especially by collection user key operation, make the corresponding relation generated accurately can reflect the behavior of user's historical operation, and then when analog subscriber true-time operation more close to the true operation of user.
As shown in Figure 5, in one embodiment, the method for this analog subscriber true-time operation also comprises the another kind of step set up corresponding to the attribute-bit of user ID and the corresponding relation of property value, specifically comprises the steps:
Step 502, gathers default key operation class items and corresponding content of operation item that described user ID triggers.
Particularly, collection here refers to and gathers in advance.Here user ID is by the user ID of the side of simulation, and user ID triggers and refers to that real user is triggered after being logged in by this user ID.Gathering and preset key operation class items and corresponding content of operation item, can be when the operation of mating with default key operation class items being detected, obtains the particular content of this operation as the content of operation item corresponding to this default key operation class items.The species number of content of operation item is determined.
In one embodiment, step 502 comprises: be captured in the user interaction scene of preset times or the default key operation class items that within the scope of the fixed time, described user ID triggers and corresponding content of operation item.In one embodiment, default key operation class items and corresponding content of operation item that in the user interaction scene of the nearest preset times of distance current time, user ID triggers can be gathered.
Step 504, determines the attribute-bit corresponding to default key operation class items of described triggering and corresponding property value corresponding to content of operation item.
Be different from the step that the above-mentioned foundation based on Fig. 4 corresponds to the attribute-bit of user ID and the corresponding relation of property value, here after collecting default key operation class items and corresponding content of operation item, direct basis is given the attribute-bit of default key operation class items in advance and is given the property value of content of operation item, determine the attribute-bit corresponding to default key operation class items of collection and corresponding property value corresponding to content of operation item, can memory cost be saved like this.
Step 506, statistics corresponds to the respective frequency of occurrences of various property values or the occurrence number of the described attribute-bit determined.
A user interaction scene or repeatedly in user interaction scene, have multiple situation corresponding to same default key operation class items, corresponding multiple content of operation item.Correspondingly, same attribute-bit can corresponding multiple property value, here directly statistics corresponding to the respective frequency of occurrences of various property values of attribute-bit same in the attribute-bit determined or occurrence number.Property value can use numeric representation, especially with the numeric representation increased progressively, such as can be used as the various property values of same attribute-bit with 0,1,2.Directly carrying out statistics to property value can save computational resource.
Step 508, sets up the corresponding relation of the frequency of occurrences of the described attribute-bit determined and statistics or the maximum a kind of property value of occurrence number corresponding to described user ID.
The frequency of occurrences or the occurrence number of statistics are more, and the optimal selection of content of operation item represented by this property value user is described, retain the frequency of occurrences or the maximum a kind of property value of occurrence number here.The key-value array set up corresponding to this user ID can be adopted to store corresponding relation between the frequency of occurrences of attribute-bit and the reservation determined or the maximum a kind of property value of occurrence number.
In one embodiment, server can delete the corresponding relation of attribute-bit and the property value set up corresponding to user ID according to the instruction of the reconstruction corresponding relation received, re-execute step 502 ~ step 508 to re-establish the corresponding relation of attribute-bit and property value.The instruction of this reconstruction corresponding relation can trigger by by the user simulated, or can clocked flip.
In the present embodiment, provide the scheme set up and correspond to the attribute-bit of user ID and the corresponding relation of property value, generate especially by collection user key operation, make the corresponding relation generated accurately can reflect the behavior of user's historical operation, and then when analog subscriber true-time operation more close to the true operation of user.And the present embodiment requires lower to storage resources and computational resource.
In one embodiment, simulated operation request is from the mobile terminal logged in the user ID of requesting party, and the method for this analog subscriber true-time operation also comprises: receive the true-time operation instruction that described mobile terminal is sent.And as shown in Figure 6, step 308 specifically comprises the following steps:
Step 602, generates real time modelling operational order according to the described default key operation class items that parses and content of operation item.
Requesting party initiates simulated operation request by mobile terminal to server, server performs above-mentioned steps 302 ~ 306, and receive the true-time operation instruction that requesting party is sent by mobile terminal, this true-time operation instruction is the operational order for realizing user's real-time interactive, such as controls the object etc. that a certain game object moves, attacks and attacks.Server can mobile terminal receive is sent before or after step 602 true-time operation instruction.
Step 604, according to described real time modelling operational order and described true-time operation command calculations user interaction result.
Real time modelling operational order is used for trigger action in the action of requesting party, and correspondingly above-mentioned true-time operation instruction is used for trigger action in by the action of simulation side.Such as real time modelling operational order is the infantry controlling the preferential query-attack side of one's own side cavalryman, correspondingly above-mentioned true-time operation instruction is then preferentially attacked to be attacked cities car by simulation side for being controlled one's own side infantry, by various game parameters such as the vital values of calculating operation both sides, empirical value and statisticss as user interaction result.
Step 606, returns to described mobile terminal by described user interaction result.
Particularly, server the most at last user interaction result returns to the mobile terminal of requesting party, provides game result.
In the present embodiment, requesting party is intended to and is carried out user interaction by simulation side, realized artificial intelligence by the historical operation behavior of simulation side replace being carried out user interaction by simulation side and requesting party by restoring, the mobile terminal of such requesting party only needs to be connected with server to communicate, compared to the real-time interactive of online both sides, greatly reduce taking Internet resources, be particularly useful for the mobile terminal according to data traffic charge.
The square ratio juris of above-mentioned analog subscriber true-time operation is described by an embody rule scene below.In this application scenarios, user interaction scene is game scene of fighting, the corresponding relation key-value array representation of attribute-bit and property value, and attribute-bit is expressed as the key value in key-value array, correspondingly property value is expressed as the value value in key-value array.
With reference to figure 7, first set all default key operation item that user triggers, in such as Fig. 7 in corresponding instance reference 1, presetting key operation item is such as the preferential object of attack of cavalryman, the preferential object of attack of infantry and the preferential object of attack of arrow tower etc.; And corresponding instance, with reference in 2, establishes key operation item to be such as that role 1 preferentially uses technical ability, role 2 preferentially to use technical ability and role 3 preferential use technical ability etc. in the figure 7.For each default key operation item gives an attribute-bit respectively, it is A, B, C that such as different default key operation items gives attribute-bit respectively ...Correspond to the different operating content item presetting key operation item and give different property values respectively, it is 1,2,3 that such as different content of operation items gives property value respectively ...All attribute-bits and the corresponding key-value storage of array of property value are entered database, in order to calling.
With reference to figure 8, if first user opens record operating function, or acquiescence open record operating function, gather first user and be identified at all default key operation class items and corresponding content of operation item that trigger in single game scene of fighting, and determine that the attribute-bit corresponding to default key operation class items triggered is key value, and corresponding property value corresponding to content of operation item is value value, corresponding to the key-value array that first user identification record is all.Each value value under each key is carried out respectively to the statistics of the frequency of occurrences or occurrence number, the frequency of occurrences or the highest value value of occurrence number is selected to retain, corresponding for the key-value of all retentions corresponding to first user mark storage of array is entered database, in order to calling.First user can initiatively carry out corresponding first user mark and trigger and again record operation, deletes the key-value array stored that corresponds to first user mark and restart to gather first user to be identified at all default key operation class items and corresponding content of operation item that trigger in single game scene of fighting.
And then, second user ID opens PVP game mode and the corresponding first user mark of battle object, or open and invite first user mark jointly to enter PVE game mode as good friend, the key-value array simulation first user called corresponding to first user mark carries out real time operation, second user ID triggers true-time operation instruction and performs simultaneously, game fight result is calculated after game fight terminates, this game fight result is user interaction result, gives the second user by this game fight result feedback.
As shown in Figure 9, in one embodiment, a kind of device 900 of analog subscriber true-time operation is provided, for realizing the method for above-mentioned analog subscriber true-time operation.This device 900 comprises simulated operation request receiving module 901, corresponding relation acquisition module 902, parsing module 903 and real time modelling operational order processing module 904.
Simulated operation request receiving module 901, for receiving the simulated operation request carried by the user ID of simulation side.
Referred to a side of the object as simulated operation by simulation side, relatively requesting party then refers to the side sending this simulated operation request.Simulated operation request be request simulation its entrained by by the request of the true-time operation of the user ID of simulation side, can be sent by the mobile terminal logged in the user ID of requesting party, or can by with the mobile terminal logged in by the user ID of simulation side send; Simulated operation request receiving module 901 is for receiving this simulated operation request.Mobile terminal can when unlatching be to be the PVP game mode fighting object by simulation side, or open with PVE (the Player VS Environment that is cooperation object by simulation side, player fights environment) game mode time, send simulated operation request.
In one embodiment, simulated operation request receiving module 901 receives the user interaction request carrying the user ID of Requested Party that the mobile terminal that logs in the user ID of requesting party sends, and judges the whether corresponding presence of the user ID of Requested Party according to this user interaction request; If then set up the user interaction communication port of requesting party and Requested Party, then user interaction request is notified corresponding relation acquisition module 902 as simulated operation request if not.
Further, simulated operation request receiving module 901 can also be used for when the user ID judging Requested Party not corresponding presence time, judge that further whether the user ID of Requested Party corresponding and represent the zone bit opened and simulate true-time operation; If then user interaction request is notified corresponding relation acquisition module 902 as simulated operation request, then return the notice of Requested Party off-line if not to mobile terminal.
Corresponding relation acquisition module 902, for the corresponding relation for the attribute-bit and property value that represent historical operation behavior that user ID according to described simulated operation acquisition request has.
The corresponding relation of attribute-bit and property value can store by key-value array, and wherein key is for representing attribute-bit, and value then for representing property value, so very saves storage space.The corresponding relation of attribute-bit and property value is used for representing the historical operation behavior corresponding to the user ID of simulation side.Corresponding relation acquisition module 902 can be used for relying on user ID to call key-value array to obtain the corresponding relation of the exclusive attribute-bit of user ID and property value.
Parsing module 903, for parsing the default key operation class items corresponding to described attribute-bit and the content of operation item corresponding to corresponding described property value according to the corresponding relation of described acquisition.
In the corresponding relation of attribute-bit and property value, attribute-bit and default key operation class items one_to_one corresponding, for representing the classification of default key operation; Corresponding property value then with content of operation item one_to_one corresponding, for representing the concrete operations content item of such other default key operation.
Preset key operation class items and refer to the preassigned operation species that effectively can represent the behavior of user's historical operation, such as under game interaction scene, the object that certain game role is preferentially attacked, or the game skill that certain game role preferentially uses, or the use order of certain consumable resource in game, or the construction sequence of building in game etc.Certainly presetting key operation also can be the operation that effectively can represent the behavior of user's historical operation in non-game interaction scene, the expression of face during certain sound bite such as detected during video calling.
Real time modelling operational order processing module 904, generates real time modelling operational order for the default key operation class items that parses described in basis and content of operation item and performs.
Particularly, default key operation class items can represent a complete default key operation in conjunction with its corresponding content of operation item.Real time modelling operational order processing module 904 can be used for generating for realizing the real time modelling operational order of this default key operation and performing, and with the historical operation behavior by reproducing corresponding to the user ID of simulation side, realizes modelling customer behavior.
The device 900 of above-mentioned analog subscriber true-time operation, after receiving simulated operation request, obtain the corresponding relation for the attribute-bit and property value that represent historical operation behavior that has by simulation side, generated by the real time modelling operational order of simulation side by this corresponding relation and perform.Above-mentioned like this corresponding relation represent by the historical operation behavior of the side of simulation, the true-time operation instruction that should be triggered by simulation side can be simulated exactly according to the real time modelling operational order that this corresponding relation generates, and present diverse operation logic because of the difference by simulation side, artificial intelligence degree is higher, can substitute real user better and carry out true-time operation.
As shown in Figure 10, in one embodiment, the device 900 of this analog subscriber true-time operation also comprises: the first acquisition module 905, first statistical module 906, acquisition module 907 and the first relation set up module 908.
First acquisition module 905, for gathering the default key operation class items and corresponding content of operation item that described user ID triggers.
Particularly, collection here refers to and gathers in advance.Here user ID is by the user ID of the side of simulation, and user ID triggers and refers to that real user is triggered after being logged in by this user ID.When first acquisition module 905 is used in the operation detecting and mate with default key operation class items, obtain the particular content of this operation as the content of operation item corresponding to this default key operation class items.The species number of content of operation item is determined.
In one embodiment, described first acquisition module 905 also for be captured in preset times user interaction scene in or default key operation class items that within the scope of the fixed time, described user ID triggers and corresponding content of operation item.In one embodiment, the first acquisition module 905 also for gather the nearest preset times of distance current time user interaction scene in the default key operation class items that triggers of user ID and corresponding content of operation item.
First statistical module 906, for adding up the respective frequency of occurrences of various content of operation items corresponding to the default key operation class items of described collection or occurrence number.
Particularly, a user interaction scene or repeatedly in user interaction scene, multiple situation is had corresponding to same default key operation class items, corresponding multiple content of operation item, the respective frequency of occurrences of each content of operation item that the first statistical module 906 corresponds to same default key operation class items for first statistics or occurrence number.
Acquisition module 907, for obtain described collection default key operation class items corresponding to attribute-bit and property value corresponding to the frequency of occurrences of described statistics or the maximum a kind of content of operation item of occurrence number.
The frequency of occurrences or the occurrence number of statistics are more, the optimal selection of this content of operation item user is described, acquisition module 907, for retaining the frequency of occurrences or the maximum a kind of content of operation item of occurrence number, obtains corresponding attribute-bit and property value according to the attribute-bit giving default key operation class items in advance and the property value of giving content of operation item.
First relation sets up module 908, sets up the corresponding relation of the attribute-bit of described acquisition and the property value of described acquisition for corresponding to described user ID.
Particularly, the first relation is set up module 908 and be can be used for adopting and correspond to this user ID and the key-value array set up to the corresponding relation of the property value of the attribute-bit and described acquisition that store acquisition.
In the present embodiment, provide the scheme set up and correspond to the attribute-bit of user ID and the corresponding relation of property value, generate especially by collection user key operation, make the corresponding relation generated accurately can reflect the behavior of user's historical operation, and then when analog subscriber true-time operation more close to the true operation of user.
As shown in figure 11, the device 900 of this analog subscriber true-time operation in one embodiment also comprises: the second acquisition module 909, determination module 910, second statistical module 911 and the second relation set up module 912.
Second acquisition module 909, for gathering the default key operation class items and corresponding content of operation item that described user ID triggers.
Particularly, collection here refers to and gathers in advance.Here user ID is by the user ID of the side of simulation, and user ID triggers and refers to that real user is triggered after being logged in by this user ID.When second acquisition module 909 is used in the operation detecting and mate with default key operation class items, obtain the particular content of this operation as the content of operation item corresponding to this default key operation class items.The species number of content of operation item is determined.
In one embodiment, the second acquisition module 909 can be used for being captured in the user interaction scene of preset times or the default key operation class items that within the scope of the fixed time, described user ID triggers and corresponding content of operation item.In one embodiment, the second acquisition module 909 can be used for gathering the default key operation class items and corresponding content of operation item that in the user interaction scene of the nearest preset times of distance current time, user ID triggers.
Determination module 910, for determine described triggering default key operation class items corresponding to attribute-bit and property value corresponding to corresponding content of operation item.
After the second acquisition module 909 collects default key operation class items and corresponding content of operation item, determination module 910 can be used for directly according to giving the attribute-bit presetting key operation class items and the property value giving content of operation item in advance, determine the attribute-bit corresponding to default key operation class items of collection and corresponding property value corresponding to content of operation item, can memory cost be saved like this.
Second statistical module 911, for adding up the respective frequency of occurrences of various property values corresponding to the described attribute-bit determined or occurrence number.
A user interaction scene or repeatedly in user interaction scene, have multiple situation corresponding to same default key operation class items, corresponding multiple content of operation item.Correspondingly, same attribute-bit can corresponding multiple property value, and the second statistical module 911 can be used for direct statistics corresponding to the respective frequency of occurrences of various property values of attribute-bit same in the attribute-bit determined or occurrence number.Property value can use numeric representation, especially can with the numeric representation increased progressively.Directly carrying out statistics to property value can save computational resource.
Second relation sets up module 912, sets up the corresponding relation of the frequency of occurrences of the described attribute-bit determined and statistics or the maximum a kind of property value of occurrence number for corresponding to described user ID.
The frequency of occurrences or the occurrence number of statistics are more, and the optimal selection of content of operation item represented by this property value user is described, the second relation is set up module 912 and be can be used for retaining the frequency of occurrences or the maximum a kind of property value of occurrence number.Second relation is set up module 912 and be can be used for adopting and correspond to this user ID and the key-value array set up and store corresponding relation between the frequency of occurrences of attribute-bit and the reservation determined or the maximum a kind of property value of occurrence number.
In the present embodiment, provide the scheme set up and correspond to the attribute-bit of user ID and the corresponding relation of property value, generate especially by collection user key operation, make the corresponding relation generated accurately can reflect the behavior of user's historical operation, and then when analog subscriber true-time operation more close to the true operation of user.And the present embodiment requires lower to storage resources and computational resource.
As shown in figure 12, in one embodiment, described simulated operation request is from the mobile terminal logged in the user ID of requesting party, and the device 900 of this analog subscriber true-time operation also comprises true-time operation command reception module 913, for receiving the true-time operation instruction that described mobile terminal is sent.Described real time modelling operational order processing module 904 comprises: real time modelling operational order generation module 904a, user interaction result computing module 904b and user interaction result return module 904c.
Real time modelling operational order generation module 904a, generates real time modelling operational order for the default key operation class items that parses described in basis and content of operation item.
Requesting party initiates simulated operation request by mobile terminal to server, simulated operation request receiving module 901 is for receiving the simulated operation request carried by the user ID of simulation side, the corresponding relation for the attribute-bit and property value that represent historical operation behavior that corresponding relation acquisition module 902 has for user ID according to described simulated operation acquisition request, and parsing module 903 is for parsing the default key operation class items corresponding to described attribute-bit and the content of operation item corresponding to corresponding described property value according to the corresponding relation of described acquisition.The true-time operation instruction that true-time operation command reception module 913 is sent by mobile terminal for receiving requesting party, this true-time operation instruction is the operational order for realizing user's real-time interactive, such as controls the object etc. that a certain game object moves, attacks and attacks.
User interaction result computing module 904b, for according to described real time modelling operational order and described true-time operation command calculations user interaction result.
Real time modelling operational order is used for trigger action in the action of requesting party, and correspondingly above-mentioned true-time operation instruction is used for trigger action in by the action of simulation side.Such as real time modelling operational order is the infantry controlling the preferential query-attack side of one's own side cavalryman, correspondingly above-mentioned true-time operation instruction is then preferentially attacked to be attacked cities car by simulation side for being controlled one's own side infantry, by various game parameters such as the vital values of calculating operation both sides, empirical value and statisticss as user interaction result.
User interaction result returns module 904c, for described user interaction result is returned to described mobile terminal.
In the present embodiment, requesting party is intended to and is carried out user interaction by simulation side, realized artificial intelligence by the historical operation behavior of simulation side replace being carried out user interaction by simulation side and requesting party by restoring, the mobile terminal of such requesting party only needs to be connected with server to communicate, compared to the real-time interactive of online both sides, greatly reduce taking Internet resources, be particularly useful for the mobile terminal according to data traffic charge.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (10)

1. a method for analog subscriber true-time operation, described method comprises:
Receiving carries by the simulated operation request of the user ID of simulation side;
The corresponding relation for the attribute-bit and property value that represent historical operation behavior that user ID has according to described simulated operation acquisition request;
The default key operation class items corresponding to described attribute-bit and the content of operation item corresponding to corresponding described property value is parsed according to the corresponding relation of described acquisition;
Generate real time modelling operational order according to the described default key operation class items that parses and content of operation item and perform.
2. method according to claim 1, is characterized in that, described method also comprises:
Gather default key operation class items and corresponding content of operation item that described user ID triggers;
Statistics corresponds to the respective frequency of occurrences of various content of operation items or the occurrence number of the default key operation class items of described collection;
Obtain the property value corresponding to a kind of content of operation item that the attribute-bit corresponding to default key operation class items of described collection and the frequency of occurrences of described statistics or occurrence number are maximum;
The corresponding relation of the attribute-bit of described acquisition and the property value of described acquisition is set up corresponding to described user ID.
3. method according to claim 1, is characterized in that, described method also comprises:
Gather default key operation class items and corresponding content of operation item that described user ID triggers;
Determine the attribute-bit corresponding to default key operation class items of described triggering and corresponding property value corresponding to content of operation item;
Statistics corresponds to the respective frequency of occurrences of various property values or the occurrence number of the described attribute-bit determined;
The corresponding relation of the frequency of occurrences of the described attribute-bit determined and statistics or the maximum a kind of property value of occurrence number is set up corresponding to described user ID.
4. according to the method in claim 2 or 3, it is characterized in that, the default key operation class items that the described user ID of described collection triggers and corresponding content of operation item, comprising:
Be captured in the user interaction scene of preset times or the default key operation class items that within the scope of the fixed time, described user ID triggers and corresponding content of operation item.
5. method according to claim 1, is characterized in that, described simulated operation request is from the mobile terminal logged in the user ID of requesting party, and described method also comprises:
Receive the true-time operation instruction that described mobile terminal is sent;
The default key operation class items parsed described in described basis and content of operation item generate real time modelling operational order and perform, and comprising:
Real time modelling operational order is generated according to the described default key operation class items that parses and content of operation item;
According to described real time modelling operational order and described true-time operation command calculations user interaction result;
Described user interaction result is returned to described mobile terminal.
6. a device for analog subscriber true-time operation, is characterized in that, described device comprises:
Simulated operation request receiving module, for receiving the simulated operation request carried by the user ID of simulation side;
Corresponding relation acquisition module, for the corresponding relation for the attribute-bit and property value that represent historical operation behavior that user ID according to described simulated operation acquisition request has;
Parsing module, for parsing the default key operation class items corresponding to described attribute-bit and the content of operation item corresponding to corresponding described property value according to the corresponding relation of described acquisition;
Real time modelling operational order processing module, generates real time modelling operational order for the default key operation class items that parses described in basis and content of operation item and performs.
7. device according to claim 6, is characterized in that, described device also comprises:
First acquisition module, for gathering the default key operation class items and corresponding content of operation item that described user ID triggers;
First statistical module, for adding up the respective frequency of occurrences of various content of operation items corresponding to the default key operation class items of described collection or occurrence number;
Acquisition module, for obtain described collection default key operation class items corresponding to attribute-bit and property value corresponding to the frequency of occurrences of described statistics or the maximum a kind of content of operation item of occurrence number;
First relation sets up module, sets up the corresponding relation of the attribute-bit of described acquisition and the property value of described acquisition for corresponding to described user ID.
8. device according to claim 6, is characterized in that, described device also comprises:
Second acquisition module, for gathering the default key operation class items and corresponding content of operation item that described user ID triggers;
Determination module, for determine described triggering default key operation class items corresponding to attribute-bit and property value corresponding to corresponding content of operation item;
Second statistical module, for adding up the respective frequency of occurrences of various property values corresponding to the described attribute-bit determined or occurrence number;
Second relation sets up module, sets up the corresponding relation of the frequency of occurrences of the described attribute-bit determined and statistics or the maximum a kind of property value of occurrence number for corresponding to described user ID.
9. the device according to claim 7 or 8, it is characterized in that, described first acquisition module or described second acquisition module also for be captured in preset times user interaction scene in or default key operation class items that within the scope of the fixed time, described user ID triggers and corresponding content of operation item.
10. device according to claim 6, is characterized in that, described simulated operation request is from the mobile terminal logged in the user ID of requesting party, and described device also comprises:
True-time operation command reception module, for receiving the true-time operation instruction that described mobile terminal is sent;
Described real time modelling operational order processing module comprises:
Real time modelling operational order generation module, generates real time modelling operational order for the default key operation class items that parses described in basis and content of operation item;
User interaction result computing module, for according to described real time modelling operational order and described true-time operation command calculations user interaction result;
User interaction result returns module, for described user interaction result is returned to described mobile terminal.
CN201410687604.8A 2014-11-25 2014-11-25 The method and apparatus of analog subscriber real-time operation Active CN104965695B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410687604.8A CN104965695B (en) 2014-11-25 2014-11-25 The method and apparatus of analog subscriber real-time operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410687604.8A CN104965695B (en) 2014-11-25 2014-11-25 The method and apparatus of analog subscriber real-time operation

Publications (2)

Publication Number Publication Date
CN104965695A true CN104965695A (en) 2015-10-07
CN104965695B CN104965695B (en) 2018-01-23

Family

ID=54219730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410687604.8A Active CN104965695B (en) 2014-11-25 2014-11-25 The method and apparatus of analog subscriber real-time operation

Country Status (1)

Country Link
CN (1) CN104965695B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106390456A (en) * 2016-09-30 2017-02-15 腾讯科技(深圳)有限公司 Generating method and generating device for role behaviors in game
CN106607910A (en) * 2015-10-22 2017-05-03 中国科学院深圳先进技术研究院 Robot real-time simulation method
CN107544827A (en) * 2017-08-23 2018-01-05 金蝶软件(中国)有限公司 The method and relevant apparatus of a kind of funcall
CN108057249A (en) * 2017-11-29 2018-05-22 腾讯科技(成都)有限公司 A kind of business data processing method and device
CN109999503A (en) * 2019-04-17 2019-07-12 北京奇艺世纪科技有限公司 A kind of game interaction method and apparatus
WO2019149092A1 (en) * 2018-02-01 2019-08-08 网易(杭州)网络有限公司 Information processing method and apparatus, and storage medium and electronic device
CN111870937A (en) * 2020-07-13 2020-11-03 腾讯科技(深圳)有限公司 Data processing method, simulation server and timeliness application
CN113377632A (en) * 2021-05-25 2021-09-10 北京猿力教育科技有限公司 User behavior backtracking method and device
CN116501220A (en) * 2023-06-08 2023-07-28 北京鹅厂科技有限公司 Method and device for applying artificial intelligence
WO2024103865A1 (en) * 2022-11-18 2024-05-23 中兴通讯股份有限公司 Base station data processing method and apparatus, electronic device, and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977662A (en) * 2008-03-26 2011-02-16 英特尔公司 Combining speculative physics modeling with goal-based artificial intelligence
CN102114329A (en) * 2009-12-31 2011-07-06 高夫准株式会社 Virtual golf simulation apparatus and method
CN104144731A (en) * 2012-03-07 2014-11-12 科乐美数码娱乐株式会社 Game system, game device, game control method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977662A (en) * 2008-03-26 2011-02-16 英特尔公司 Combining speculative physics modeling with goal-based artificial intelligence
CN102114329A (en) * 2009-12-31 2011-07-06 高夫准株式会社 Virtual golf simulation apparatus and method
CN104144731A (en) * 2012-03-07 2014-11-12 科乐美数码娱乐株式会社 Game system, game device, game control method, and program

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106607910A (en) * 2015-10-22 2017-05-03 中国科学院深圳先进技术研究院 Robot real-time simulation method
CN106607910B (en) * 2015-10-22 2019-03-22 中国科学院深圳先进技术研究院 A kind of robot imitates method in real time
CN106390456A (en) * 2016-09-30 2017-02-15 腾讯科技(深圳)有限公司 Generating method and generating device for role behaviors in game
CN106390456B (en) * 2016-09-30 2018-09-18 腾讯科技(深圳)有限公司 The generation method and device of role-act in game
US10780348B2 (en) 2016-09-30 2020-09-22 Tencent Technology (Shenzhen) Company Limited Method and device for generating character behaviors in game and storage medium
CN107544827A (en) * 2017-08-23 2018-01-05 金蝶软件(中国)有限公司 The method and relevant apparatus of a kind of funcall
CN108057249A (en) * 2017-11-29 2018-05-22 腾讯科技(成都)有限公司 A kind of business data processing method and device
WO2019105377A1 (en) * 2017-11-29 2019-06-06 腾讯科技(深圳)有限公司 Service processing method and apparatus, and storage medium
WO2019149092A1 (en) * 2018-02-01 2019-08-08 网易(杭州)网络有限公司 Information processing method and apparatus, and storage medium and electronic device
US11439908B2 (en) 2018-02-01 2022-09-13 Netease (Hangzhou) Network Co., Ltd. Information processing method and apparatus including quick build implemented in an attack mode
US11883743B2 (en) 2018-02-01 2024-01-30 Netease (Hangzhou) Network Co., Ltd. Information processing method and apparatus, storage medium, and electronic device
CN109999503A (en) * 2019-04-17 2019-07-12 北京奇艺世纪科技有限公司 A kind of game interaction method and apparatus
CN111870937A (en) * 2020-07-13 2020-11-03 腾讯科技(深圳)有限公司 Data processing method, simulation server and timeliness application
CN111870937B (en) * 2020-07-13 2021-10-22 腾讯科技(深圳)有限公司 Data processing method, simulation server and timeliness application
CN113377632A (en) * 2021-05-25 2021-09-10 北京猿力教育科技有限公司 User behavior backtracking method and device
WO2024103865A1 (en) * 2022-11-18 2024-05-23 中兴通讯股份有限公司 Base station data processing method and apparatus, electronic device, and storage medium
CN116501220A (en) * 2023-06-08 2023-07-28 北京鹅厂科技有限公司 Method and device for applying artificial intelligence

Also Published As

Publication number Publication date
CN104965695B (en) 2018-01-23

Similar Documents

Publication Publication Date Title
CN104965695A (en) Method and apparatus for simulating user real-time operation
CN110213115B (en) Security control method of event-driven network control system under multi-network attack
JP6587330B2 (en) Random forest model training method, electronic apparatus, and storage medium
CN106390456B (en) The generation method and device of role-act in game
CN108888958B (en) Virtual object control method, device, equipment and storage medium in virtual scene
CN112054996B (en) Attack data acquisition method and device for honeypot system
CN105577670B (en) A kind of warning system hitting library attack
CN109600336A (en) Store equipment, identifying code application method and device
CN105844146B (en) Method and device for protecting driver and electronic equipment
CN112370793B (en) Risk control method and device for user account
CN109039843B (en) Intelligent kitchen equipment control method and device based on event chain linkage strategy
CN115134174B (en) Adaptive threat mitigation method and system under SDN based on improved Actor-Critic algorithm
CN102647409B (en) Behavior status switching mode identification method of application program for Android-based smart phone
CN115580430A (en) Attack tree-pot deployment defense method and device based on deep reinforcement learning
CN112671622A (en) Safety monitoring method and device based on intelligent mobile equipment and intelligent mobile equipment
CN110119621B (en) Attack defense method, system and defense device for abnormal system call
CN115906999A (en) Management platform of large-scale reinforcement learning training task based on Kubernetes cluster
CN110796591A (en) GPU card using method and related equipment
CN115189910A (en) Network digital twin-based deliberate attack survivability evaluation method
CN117061147A (en) Industrial control honey pot and application method thereof
CN109150981A (en) Block chain network network-building method, device, equipment and computer readable storage medium
CN109977998B (en) Information processing method and apparatus, storage medium, and electronic apparatus
RU2704538C1 (en) Network architecture of an anthropoid network and a method of realizing
CN112835662A (en) Virtual machine operation and maintenance method, system, equipment and computer medium under desktop cloud scene
CN112948804B (en) Program control method, device and computer readable storage medium

Legal Events

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