CN114879885B - Virtual object grouping control method, device, equipment and storage medium - Google Patents

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

Info

Publication number
CN114879885B
CN114879885B CN202210401971.1A CN202210401971A CN114879885B CN 114879885 B CN114879885 B CN 114879885B CN 202210401971 A CN202210401971 A CN 202210401971A CN 114879885 B CN114879885 B CN 114879885B
Authority
CN
China
Prior art keywords
grouping
group
determining
information
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210401971.1A
Other languages
Chinese (zh)
Other versions
CN114879885A (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.)
Shanghai Xinglan Information Technology Co ltd
Original Assignee
Shanghai Xinglan Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Xinglan Information Technology Co ltd filed Critical Shanghai Xinglan Information Technology Co ltd
Priority to CN202210401971.1A priority Critical patent/CN114879885B/en
Publication of CN114879885A publication Critical patent/CN114879885A/en
Application granted granted Critical
Publication of CN114879885B publication Critical patent/CN114879885B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention belongs to the technical field of virtual interaction, and discloses a virtual object grouping control method, device, equipment and storage medium. The method comprises the following steps: receiving a grouping instruction input by a user, and determining a target operation group according to the grouping instruction; receiving an operation instruction input by a user, and determining partition operation information corresponding to the target operation group according to the operation instruction; determining operation association parameters of the target operation group according to the partition operation information; when the operation association parameter is in a preset threshold range, dividing the virtual object in each target operation group into the same merging group, and responding to the operation instruction through the virtual object in the merging group. By the method, the virtual objects of the same or similar groups can be automatically combined, the operation times of a user on a plurality of groups are reduced, and the control and the operation of the user are more convenient.

Description

Virtual object grouping control method, device, equipment and storage medium
Technical Field
The present invention relates to the field of virtual interaction technologies, and in particular, to a method, an apparatus, a device, and a storage medium for controlling grouping of virtual objects.
Background
With the continuous development and progress of mobile terminals, many functions implemented on a computer may be implemented on a mobile terminal, where the most typical method is to control and edit a virtual object on the mobile terminal, and due to the limitation of the interaction mode of the mobile terminal, the user often can only operate the virtual object on the mobile terminal by sliding a screen with a finger or simply by using a virtual key, which also results in great inconvenience when the user selects the virtual object to operate.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention mainly aims to provide a virtual object grouping control method, device, equipment and storage medium, which aim to solve the technical problem that in the prior art, a user selects a virtual object to perform grouping operation inconveniently.
In order to achieve the above object, the present invention provides a virtual object grouping control method, which includes the steps of:
receiving a grouping instruction input by a user, and determining a target operation group according to the grouping instruction;
receiving an operation instruction input by a user, and determining partition operation information corresponding to the target operation group according to the operation instruction;
Determining operation association parameters of the target operation group according to the partition operation information;
when the operation association parameter is in a preset threshold range, dividing the virtual object in each target operation group into the same merging group, and responding to the operation instruction through the virtual object in the merging group.
Optionally, the receiving a grouping instruction input by a user, determining a target operation group according to the grouping instruction, including:
when a grouping instruction sent by a user is received, a first grouping instruction and a second grouping instruction are extracted from the grouping instruction;
determining a first operation group corresponding to the first grouping instruction according to the first grouping instruction;
determining a second operation group corresponding to the second grouping instruction according to the second grouping instruction;
and taking the first operation packet and the second operation packet as target operation packets.
Optionally, the determining the operation association parameter of the target operation group according to the partition operation information includes:
determining first grouping operation information and second grouping operation information corresponding to a first operation grouping and a second operation grouping in the target operation grouping according to the grouping operation information;
Determining first object category information and first operation content information corresponding to the first operation group according to the first grouping operation information;
determining second object category information and second operation content information corresponding to the second operation group according to the second grouping operation information;
acquiring grouping area information of the first operation grouping and the second operation grouping;
and determining operation association parameters of the target operation group according to the grouping area information, the first object category information, the first operation content information, the second object category information and the second operation content information.
Optionally, the determining the operation association parameter of the target operation group according to the grouping area information, the first object category information, the first operation content information, the second object category information and the second operation content information includes:
determining a minimum distance parameter between the first operation group and the second operation group according to the partition area information;
determining object similarity parameters between the first operation group and the second operation group according to the first object category information and the second object category information;
determining content similarity parameters between the first operation group and the second operation group according to the first operation content information and the second operation content information;
And determining operation association parameters of the target operation group according to the minimum distance parameter, the object similarity parameter and the content similarity parameter.
Optionally, the determining a minimum distance parameter between the first operation group and the second operation group according to the partition area information includes:
determining first grouping coordinate information corresponding to a first operation grouping and second grouping coordinate information corresponding to a second operation grouping according to the partition area information;
determining a first reference virtual object closest to a second operation group in the first operation group and a second reference virtual object closest to the first operation group in the second operation group according to the first group coordinate information and the second group coordinate information;
determining a reference distance according to the first reference virtual object and the second reference virtual object;
and determining a minimum distance parameter according to the reference distance.
Optionally, the determining the object similarity parameter between the first operation group and the second operation group according to the first object category information and the second object category information includes:
determining first type quantity information of various virtual objects in the first operation group according to the first object type information;
Determining second type quantity information of various virtual objects in the second operation group according to the second object type information;
and determining object similarity parameters according to the first type quantity information and the second type quantity information.
Optionally, the determining, according to the first operation content information and the second operation content information, a content similarity parameter between the first operation packet and the second operation packet includes:
determining a first operation type of the first operation group and a first operation target corresponding to the first operation type according to the first operation content information;
determining a second operation type of the second operation group and a second operation target corresponding to the second operation type according to the second operation content information;
and when the first operation type and the second operation type are the same, determining content similarity parameters according to the first operation target and the second operation target.
In addition, to achieve the above object, the present invention also proposes a virtual object group control device including:
the grouping module is used for receiving a grouping instruction input by a user and determining a target operation group according to the grouping instruction;
The acquisition module is used for receiving an operation instruction input by a user, and determining partition operation information corresponding to the target operation group according to the operation instruction;
the calculation module is used for determining operation association parameters of the target operation group according to the partition operation information;
and the merging module is used for dividing the virtual objects in each target operation group into the same merging group when the operation association parameter is in a preset threshold range, and responding to the operation instruction through the virtual objects in the merging group.
In addition, to achieve the above object, the present invention also proposes a virtual object group control apparatus including: a memory, a processor, and a virtual object group control program stored on the memory and executable on the processor, the virtual object group control program configured to implement the steps of the virtual object group control method as described above.
In addition, in order to achieve the above object, the present invention also proposes a storage medium having stored thereon a virtual object group control program which, when executed by a processor, implements the steps of the virtual object group control method as described above.
The method comprises the steps of receiving a grouping instruction input by a user, and determining a target operation group according to the grouping instruction; receiving an operation instruction input by a user, and determining partition operation information corresponding to the target operation group according to the operation instruction; determining operation association parameters of the target operation group according to the partition operation information; when the operation association parameter is in a preset threshold range, dividing the virtual object in each target operation group into the same merging group, and responding to the operation instruction through the virtual object in the merging group. By the method, after the grouping instruction of the user is received, operation association parameters of each target operation group are automatically calculated, virtual objects in each target operation group are automatically divided into the same grouping when the operation association parameters are within a preset threshold range, and then the grouping response operation instruction is combined, so that virtual objects of the same or similar grouping can be automatically combined, the operation times of the user on a plurality of groups are reduced, and the control and operation of the user are more convenient.
Drawings
FIG. 1 is a schematic diagram of a virtual object group control device of a hardware runtime environment according to an embodiment of the present invention;
FIG. 2 is a flowchart of a first embodiment of a virtual object group control method according to the present invention;
FIG. 3 is a flowchart illustrating a virtual object group control method according to a second embodiment of the present invention;
fig. 4 is a block diagram of a first embodiment of a virtual object packet control device according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a virtual object group control device of a hardware running environment according to an embodiment of the present invention.
As shown in fig. 1, the virtual object group control apparatus may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a high-speed random access Memory (Random Access Memory, RAM) Memory or a stable nonvolatile Memory (NVM), such as a disk Memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Those skilled in the art will appreciate that the structure shown in fig. 1 does not constitute a limitation of the virtual object grouping control apparatus, and may include more or fewer components than illustrated, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a virtual object group control program may be included in the memory 1005 as one type of storage medium.
In the virtual object packet control device shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the virtual object group control apparatus of the present invention may be provided in a virtual object group control apparatus which calls a virtual object group control program stored in the memory 1005 through the processor 1001 and executes the virtual object group control method provided by the embodiment of the present invention.
An embodiment of the present invention provides a virtual object grouping control method, and referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a virtual object grouping control method according to the present invention.
In this embodiment, the virtual object grouping control method includes the following steps:
step S10: and receiving a grouping instruction input by a user, and determining a target operation group according to the grouping instruction.
It should be noted that, the execution body of the embodiment is a mobile terminal, which may be a smart phone, a tablet computer, or other devices capable of implementing this function, and the embodiment is not limited thereto.
It should be understood that, at present, the user often can only operate the virtual object on the mobile terminal by sliding a screen with a finger or simply performing virtual key, which also causes great inconvenience when the user selects the virtual object to operate, and the user needs to operate to select and make instructions multiple times when operating on multiple groups. The embodiment can automatically determine whether each two groups can be combined according to the instruction of the user, so that virtual objects of groups with similar or same operations are combined into one group, and the operation of the user is simplified.
In a specific implementation, the grouping instruction is that a user edits a plurality of virtual objects into one group through a mobile terminal, so that the operation on all the virtual objects in the group is realized through the operation on one group. The grouping instruction of the user may be to select all virtual objects in the framed area by the sliding screen, or adjust the range of the framed area by the virtual key, which is not limited in this embodiment.
It should be noted that the target operation group refers to an alternative group that needs to be analyzed and calculated whether merging is required.
Further, in order to be able to accurately determine the target operation group, step S10 includes: when a grouping instruction sent by a user is received, a first grouping instruction and a second grouping instruction are extracted from the grouping instruction; determining a first operation group corresponding to the first grouping instruction according to the first grouping instruction; determining a second operation group corresponding to the second grouping instruction according to the second grouping instruction; and taking the first operation packet and the second operation packet as target operation packets.
It should be understood that the first grouping instruction and the second grouping instruction refer to two sequentially completed groupings when the user issues the grouping instruction, that is, the grouping instruction includes the first grouping instruction and the second grouping instruction that are sequentially issued, so that a first operation grouping including a plurality of virtual objects is encoded according to the first grouping instruction, and a second operation grouping including a plurality of virtual objects is encoded according to the second grouping instruction. The number of the virtual objects in the first operation group and the second operation group may be any number, which is not limited in this embodiment.
By the method, the first operation grouping and the second operation grouping are respectively determined according to the grouping instruction, so that the target operation grouping is determined, the grouping judgment is more accurate, and the grouping combination can be more convenient and quicker.
Step S20: and receiving an operation instruction input by a user, and determining partition operation information corresponding to the target operation group according to the operation instruction.
In specific implementation, the operation instruction refers to an instruction sent by the user through the mobile terminal to operate the target operation group.
The partition operation information refers to information about specific operation contents and operation types of the user for each target operation group in the operation instruction.
Step S30: and determining operation association parameters of the target operation group according to the partition operation information.
It should be understood that determining the operation association parameter of the target operation group according to the partition operation information refers to determining the association coefficient of the operation and the instruction of the user for each target operation group according to the partition operation information, so as to accurately determine whether the virtual objects in the target operation group need to be divided into the same merging group.
Step S40: when the operation association parameter is in a preset threshold range, dividing the virtual object in each target operation group into the same merging group, and responding to the operation instruction through the virtual object in the merging group.
In specific implementation, the preset threshold range refers to an arbitrary value range preset by a user, when the operation association coefficient is within the preset threshold range, virtual objects in each target operation group are automatically organized into a unified group, namely a combined group, then an operation instruction is responded to congestion, and the virtual objects in the combined group are uniformly controlled to execute the operation input by the user in the operation instruction. Therefore, the next operation of grouping each target operation by the user can be facilitated, the operation is more convenient, and the use experience of the user is improved.
The embodiment determines a target operation group according to a grouping instruction by receiving the grouping instruction input by a user; receiving an operation instruction input by a user, and determining partition operation information corresponding to the target operation group according to the operation instruction; determining operation association parameters of the target operation group according to the partition operation information; when the operation association parameter is in a preset threshold range, dividing the virtual object in each target operation group into the same merging group, and responding to the operation instruction through the virtual object in the merging group. By the method, after the grouping instruction of the user is received, operation association parameters of each target operation group are automatically calculated, virtual objects in each target operation group are automatically divided into the same grouping when the operation association parameters are within a preset threshold range, and then the grouping response operation instruction is combined, so that virtual objects of the same or similar grouping can be automatically combined, the operation times of the user on a plurality of groups are reduced, and the control and operation of the user are more convenient.
Referring to fig. 3, fig. 3 is a flowchart of a virtual object grouping control method according to a second embodiment of the present invention.
Based on the above-mentioned first embodiment, the virtual object grouping control method of the present embodiment includes, at step S30:
step S301: and determining first grouping operation information and second grouping operation information respectively corresponding to the first operation grouping and the second operation grouping in the target operation grouping according to the grouping operation information.
The first operation group and the second operation group refer to virtual objects of two groups determined by a user in a group instruction.
It should be understood that the first packet operation information and the second packet operation information refer to dividing and extracting the packet operation information, and extracting the first packet operation information for the first operation packet and the second packet operation information for the second operation packet, respectively.
Step S302: and determining first object category information and first operation content information corresponding to the first operation group according to the first grouping operation information.
In a specific implementation, the first object class information and the first operation content information respectively correspond to a class of the virtual object in the first operation group and operation detailed information of the user on the virtual object in the first operation group in the operation instruction. Wherein the categories of virtual objects may include, but are not limited to: user characters, non-player characters, background items, etc., and user characters may be subdivided into human-type, animal-type, etc. color categories. Operational details for the virtual object may include, but are not limited to: character movement, character action, or character inactivity, etc.
Step S303: and determining second object category information and second operation content information corresponding to the second operation group according to the second grouping operation information.
The second object type information and the second operation content information correspond to a type of the virtual object in the second operation group and operation detailed information of the user on the virtual object in the second operation group in the operation instruction, respectively. Wherein the categories of virtual objects may include, but are not limited to: user characters, non-player characters, background items, etc., and user characters may be subdivided into human-type, animal-type, etc. color categories. Operational details for the virtual object may include, but are not limited to: character movement, character action, or character inactivity, etc.
Step S304: and acquiring packet area information of the first operation packet and the second operation packet.
It should be understood that acquiring the packet area information of the first operation packet and the second operation packet refers to acquiring related information of the occupied areas of the first operation packet and the second operation packet in the virtual scene, for example: the position coordinates of the virtual object of the edge in the first operation group and the second operation group, the position of the occupied area in the screen, and the like.
Step S305: and determining operation association parameters of the target operation group according to the grouping area information, the first object category information, the first operation content information, the second object category information and the second operation content information.
In a specific implementation, determining the operation related parameters of the target operation group according to the grouping area information, the first object category information, the first operation content information, the second object category information and the second operation content information refers to determining object similar parameters according to the first object category information and the second object category information, determining minimum distance parameters according to the grouping area information, determining content similar parameters according to the first operation content information and the second operation content information, and determining the operation related parameters of the target operation group according to the minimum distance parameters, the object similar parameters and the content similar parameters.
Further, in order to accurately obtain the operation related parameters, step S305 includes: determining a minimum distance parameter between the first operation group and the second operation group according to the partition area information; determining object similarity parameters between the first operation group and the second operation group according to the first object category information and the second object category information; determining content similarity parameters between the first operation group and the second operation group according to the first operation content information and the second operation content information; and determining operation association parameters of the target operation group according to the minimum distance parameter, the object similarity parameter and the content similarity parameter.
It should be noted that, determining the minimum distance parameter between the first operation group and the second operation group according to the partition area information refers to: and determining the distance between two nearest virtual objects in the first operation group and the second operation group according to the partition area information to determine a minimum distance parameter.
It should be understood that determining object similarity parameters between the first and second operation groups based on the first and second object class information refers to: and determining the similarity degree of the component parts of each virtual object class in the first operation group and the second operation group according to the first object class information and the second object class information, and then obtaining object similarity parameters.
In a specific implementation, determining the content similarity parameter between the first operation packet and the second operation packet according to the first operation content information and the second operation content information refers to: and determining content similarity parameters according to the operation type and the operation target of the first operation content information and the operation type and the operation target of the second operation content information.
It should be noted that, determining the operation association parameter of the target operation group according to the minimum distance parameter, the object similarity parameter and the content similarity parameter refers to calculating the operation association parameter by combining the minimum distance parameter, the object similarity parameter and the content similarity parameter, where a calculation formula of the operation association parameter is as follows: q=s·a·b, where Q is an operation-related parameter, a is an object-like parameter, and B is a content-like parameter.
By the method, accurate calculation of operation association parameters is realized, so that whether the target operation grouping needs to be combined or not is judged more accurately and quantitatively.
Further, for accurately calculating a minimum distance parameter, the step of determining the minimum distance parameter between the first operation group and the second operation group according to the partition area information includes: determining first grouping coordinate information corresponding to a first operation grouping and second grouping coordinate information corresponding to a second operation grouping according to the partition area information; determining a first reference virtual object closest to a second operation group in the first operation group and a second reference virtual object closest to the first operation group in the second operation group according to the first group coordinate information and the second group coordinate information; determining a reference distance according to the first reference virtual object and the second reference virtual object; and determining a minimum distance parameter according to the reference distance.
It should be understood that the first group coordinate information corresponds to the coordinate information of the virtual object of the edge in the first operation group in the virtual scene, and the second group coordinate information corresponds to the coordinate information of the virtual object of the edge in the second operation group in the virtual scene.
In a specific implementation, determining a first reference virtual object closest to a second operation group in the first operation group according to the first group coordinate information and the second group coordinate information, and determining a second reference virtual object closest to the first operation group in the second operation group refers to: according to the first grouping coordinate information, taking a virtual object closest to the edge of the second operation grouping in the first operation grouping as a first reference virtual object; and then, according to the second grouping coordinate information, taking the virtual object closest to the edge of the first operation grouping in the second operation grouping as a second reference virtual object.
The determining the reference distance from the first reference virtual object and the second reference virtual object refers to calculating a distance between the first reference virtual object and the second reference virtual object as the reference distance.
It should be understood that determining the minimum distance parameter from the reference distance refers to: the distance of the reference distance according to the coordinates is removed by a unit, and the numerical value of the reference distance is taken as a minimum distance parameter.
By the method, the minimum distance parameter can be accurately calculated, so that the calculation of the operation association parameter is more accurate.
Further, for accurately calculating the object similarity parameters, the step of determining the object similarity parameters between the first operation group and the second operation group according to the first object category information and the second object category information includes: determining first type quantity information of various virtual objects in the first operation group according to the first object type information; determining second type quantity information of various virtual objects in the second operation group according to the second object type information; and determining object similarity parameters according to the first type quantity information and the second type quantity information.
The first type number information refers to the types of virtual objects included in the first operation group and the number of virtual objects of each type. The second type number information refers to the kind of virtual object contained in the second operation group and the number of virtual objects of each kind.
It should be understood that determining object similarity parameters from the first type quantity information and the second type quantity information refers to: and calculating the difference value of the number of the virtual objects in the first operation group and the second operation group in each virtual object class, and then calculating the average difference value to obtain the object similarity parameters.
In this way, it is achieved that the object similarity parameters are determined from the first type quantity information and the second type quantity information, so that the operation association parameters can be accurately calculated.
Further, in order to accurately obtain the content similarity parameter, the step of determining the content similarity parameter between the first operation group and the second operation group according to the first operation content information and the second operation content information includes: determining a first operation type of the first operation group and a first operation target corresponding to the first operation type according to the first operation content information; determining a second operation type of the second operation group and a second operation target corresponding to the second operation type according to the second operation content information; and when the first operation type and the second operation type are the same, determining content similarity parameters according to the first operation target and the second operation target.
In a specific implementation, the first operation type refers to a specific operation type in the first operation content information that is issued by the user on the first operation group, and the operation type may include, but is not limited to: movement, action, interaction, etc. The second operation type refers to a specific operation type in the second operation content information issued by the user on the second operation group, and the operation type may include, but is not limited to: movement, action, interaction, etc.
It should be noted that, the first operation target refers to an achievement target for controlling the virtual objects of the first operation group under the first operation type, that is, a state of the virtual objects of the first operation group after performing the operation, for example: when the first operation type is movement, the first operation target is a destination of movement of the virtual object of the first operation group. The second operation target refers to an achievement target for controlling the virtual objects of the second operation group under the second operation type, that is, a state of the virtual objects of the second operation group after performing the operation, for example: when the second operation type is movement, the second operation target is a destination of movement of the virtual object of the second operation group.
It should be understood that when the first operation type and the second operation type are the same, determining the content similarity parameter according to the first operation target and the second operation target means: and when the first operation type and the second operation type are the same, determining content similarity parameters according to the first operation target and the second operation target. Specifically, when the first operation target and the second operation target are the same, the content similarity parameter is 1, and is not 0 at the same time. And, when the first operation type and the second operation type are different, the content similarity parameter is also 0.
In this way, accurate computation of content similarity parameters is achieved.
The embodiment determines first grouping operation information and second grouping operation information respectively corresponding to a first operation grouping and a second operation grouping in the target operation grouping according to the grouping operation information; determining first object category information and first operation content information corresponding to the first operation group according to the first grouping operation information; determining second object category information and second operation content information corresponding to the second operation group according to the second grouping operation information; acquiring grouping area information of the first operation grouping and the second operation grouping; and determining operation association parameters of the target operation group according to the grouping area information, the first object category information, the first operation content information, the second object category information and the second operation content information. By the method, the object types and the operation contents of the first operation grouping and the second operation grouping are determined according to the partition operation information, so that operation association coefficients are accurately calculated, and whether the first operation grouping and the second operation grouping need to be combined or not is judged. So that the calculation is more comprehensive and accurate.
In addition, the embodiment of the invention also provides a storage medium, wherein the storage medium stores a virtual object grouping control program, and the virtual object grouping control program realizes the steps of the virtual object grouping control method when being executed by a processor.
The storage medium adopts all the technical solutions of all the embodiments, so that the storage medium has at least all the beneficial effects brought by the technical solutions of the embodiments, and is not described in detail herein.
Referring to fig. 4, fig. 4 is a block diagram showing the configuration of a first embodiment of the virtual object group control apparatus of the present invention.
As shown in fig. 4, the virtual object grouping control device provided by the embodiment of the invention includes:
the grouping module 10 is configured to receive a grouping instruction input by a user, and determine a target operation group according to the grouping instruction.
The obtaining module 20 is configured to receive an operation instruction input by a user, and determine partition operation information corresponding to the target operation packet according to the operation instruction.
A calculation module 30, configured to determine an operation association parameter of the target operation packet according to the partition operation information.
And the merging module 40 is configured to divide the virtual objects in each target operation group into the same merging group when the operation association parameter is within a preset threshold range, and respond to the operation instruction through the virtual objects in the merging group.
The embodiment determines a target operation group according to a grouping instruction by receiving the grouping instruction input by a user; receiving an operation instruction input by a user, and determining partition operation information corresponding to the target operation group according to the operation instruction; determining operation association parameters of the target operation group according to the partition operation information; when the operation association parameter is in a preset threshold range, dividing the virtual object in each target operation group into the same merging group, and responding to the operation instruction through the virtual object in the merging group. By the method, after the grouping instruction of the user is received, operation association parameters of each target operation group are automatically calculated, virtual objects in each target operation group are automatically divided into the same grouping when the operation association parameters are within a preset threshold range, and then the grouping response operation instruction is combined, so that virtual objects of the same or similar grouping can be automatically combined, the operation times of the user on a plurality of groups are reduced, and the control and operation of the user are more convenient.
In an embodiment, the grouping module 10 is further configured to, when receiving a grouping instruction sent by a user, extract a first grouping instruction and a second grouping instruction from the grouping instruction; determining a first operation group corresponding to the first grouping instruction according to the first grouping instruction; determining a second operation group corresponding to the second grouping instruction according to the second grouping instruction; and taking the first operation packet and the second operation packet as target operation packets.
In an embodiment, the computing module 30 is further configured to determine, according to the packet operation information, first packet operation information and second packet operation information corresponding to a first operation packet and a second operation packet in the target operation packet, respectively; determining first object category information and first operation content information corresponding to the first operation group according to the first grouping operation information; determining second object category information and second operation content information corresponding to the second operation group according to the second grouping operation information; acquiring grouping area information of the first operation grouping and the second operation grouping; and determining operation association parameters of the target operation group according to the grouping area information, the first object category information, the first operation content information, the second object category information and the second operation content information.
In an embodiment, the calculating module 30 is further configured to determine a minimum distance parameter between the first operation group and the second operation group according to the partition area information; determining object similarity parameters between the first operation group and the second operation group according to the first object category information and the second object category information; determining content similarity parameters between the first operation group and the second operation group according to the first operation content information and the second operation content information; and determining operation association parameters of the target operation group according to the minimum distance parameter, the object similarity parameter and the content similarity parameter.
In an embodiment, the calculating module 30 is further configured to determine, according to the partition area information, first group coordinate information corresponding to a first operation group and second group coordinate information corresponding to a second operation group; determining a first reference virtual object closest to a second operation group in the first operation group and a second reference virtual object closest to the first operation group in the second operation group according to the first group coordinate information and the second group coordinate information; determining a reference distance according to the first reference virtual object and the second reference virtual object; and determining a minimum distance parameter according to the reference distance.
In an embodiment, the computing module 30 is further configured to determine, according to the first object class information, first type quantity information of various virtual objects in the first operation group; determining second type quantity information of various virtual objects in the second operation group according to the second object type information; and determining object similarity parameters according to the first type quantity information and the second type quantity information.
In an embodiment, the computing module 30 is further configured to determine a first operation type of the first operation group and a first operation target corresponding to the first operation type according to the first operation content information; determining a second operation type of the second operation group and a second operation target corresponding to the second operation type according to the second operation content information; and when the first operation type and the second operation type are the same, determining content similarity parameters according to the first operation target and the second operation target.
The device adopts all the technical schemes of all the embodiments, so that the device has at least all the beneficial effects brought by the technical schemes of the embodiments, and the description is omitted here.
It should be understood that the foregoing is illustrative only and is not limiting, and that in specific applications, those skilled in the art may set the invention as desired, and the invention is not limited thereto.
It should be noted that the above-described working procedure is merely illustrative, and does not limit the scope of the present invention, and in practical application, a person skilled in the art may select part or all of them according to actual needs to achieve the purpose of the embodiment, which is not limited herein.
In addition, technical details that are not described in detail in this embodiment may refer to the virtual object grouping control method provided in any embodiment of the present invention, and are not described herein.
Furthermore, it should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. Read Only Memory)/RAM, magnetic disk, optical disk) and including several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (8)

1. A virtual object group control method, characterized in that the virtual object group control method comprises:
receiving a grouping instruction input by a user, and determining a target operation group according to the grouping instruction;
receiving an operation instruction input by a user, and determining partition operation information corresponding to the target operation group according to the operation instruction;
determining first grouping operation information and second grouping operation information corresponding to a first operation grouping and a second operation grouping in the target operation grouping according to the grouping operation information;
determining first object category information and first operation content information corresponding to the first operation group according to the first grouping operation information;
determining second object category information and second operation content information corresponding to the second operation group according to the second grouping operation information;
acquiring grouping area information of the first operation grouping and the second operation grouping;
determining a minimum distance parameter between the first operation group and the second operation group according to the partition area information;
determining object similarity parameters between the first operation group and the second operation group according to the first object category information and the second object category information;
Determining content similarity parameters between the first operation group and the second operation group according to the first operation content information and the second operation content information;
determining operation association parameters of the target operation group according to the minimum distance parameter, the object similarity parameter and the content similarity parameter;
when the operation association parameter is in a preset threshold range, dividing the virtual object in each target operation group into the same merging group, and responding to the operation instruction through the virtual object in the merging group.
2. The method of claim 1, wherein the receiving a grouping instruction input by a user, determining a target operation group according to the grouping instruction, comprises:
when a grouping instruction sent by a user is received, a first grouping instruction and a second grouping instruction are extracted from the grouping instruction;
determining a first operation group corresponding to the first grouping instruction according to the first grouping instruction;
determining a second operation group corresponding to the second grouping instruction according to the second grouping instruction;
and taking the first operation packet and the second operation packet as target operation packets.
3. The method of claim 1, wherein the determining a minimum distance parameter between the first operation group and the second operation group according to the partition area information comprises:
determining first grouping coordinate information corresponding to a first operation grouping and second grouping coordinate information corresponding to a second operation grouping according to the partition area information;
determining a first reference virtual object closest to a second operation group in the first operation group and a second reference virtual object closest to the first operation group in the second operation group according to the first group coordinate information and the second group coordinate information;
determining a reference distance according to the first reference virtual object and the second reference virtual object;
and determining a minimum distance parameter according to the reference distance.
4. The method of claim 1, wherein the determining object similarity parameters between the first and second groupings of operations based on the first and second object category information comprises:
determining first type quantity information of various virtual objects in the first operation group according to the first object type information;
Determining second type quantity information of various virtual objects in the second operation group according to the second object type information;
and determining object similarity parameters according to the first type quantity information and the second type quantity information.
5. The method of claim 1, wherein the determining content similarity parameters between the first and second operational groupings based on the first and second operational content information comprises:
determining a first operation type of the first operation group and a first operation target corresponding to the first operation type according to the first operation content information;
determining a second operation type of the second operation group and a second operation target corresponding to the second operation type according to the second operation content information;
and when the first operation type and the second operation type are the same, determining content similarity parameters according to the first operation target and the second operation target.
6. A virtual object group control device, characterized by comprising:
the grouping module is used for receiving a grouping instruction input by a user and determining a target operation group according to the grouping instruction;
The acquisition module is used for receiving an operation instruction input by a user, and determining partition operation information corresponding to the target operation group according to the operation instruction;
the calculation module is used for determining first grouping operation information and second grouping operation information respectively corresponding to a first operation grouping and a second operation grouping in the target operation grouping according to the grouping operation information; determining first object category information and first operation content information corresponding to the first operation group according to the first grouping operation information; determining second object category information and second operation content information corresponding to the second operation group according to the second grouping operation information; acquiring grouping area information of the first operation grouping and the second operation grouping; determining a minimum distance parameter between the first operation group and the second operation group according to the partition area information; determining object similarity parameters between the first operation group and the second operation group according to the first object category information and the second object category information; determining content similarity parameters between the first operation group and the second operation group according to the first operation content information and the second operation content information; determining operation association parameters of the target operation group according to the minimum distance parameter, the object similarity parameter and the content similarity parameter;
And the merging module is used for dividing the virtual objects in each target operation group into the same merging group when the operation association parameter is in a preset threshold range, and responding to the operation instruction through the virtual objects in the merging group.
7. A virtual object grouping control apparatus, characterized in that the apparatus comprises: a memory, a processor, and a virtual object group control program stored on the memory and executable on the processor, the virtual object group control program configured to implement the virtual object group control method of any one of claims 1 to 5.
8. A storage medium having stored thereon a virtual object group control program which, when executed by a processor, implements the virtual object group control method of any one of claims 1 to 5.
CN202210401971.1A 2022-04-18 2022-04-18 Virtual object grouping control method, device, equipment and storage medium Active CN114879885B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210401971.1A CN114879885B (en) 2022-04-18 2022-04-18 Virtual object grouping control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210401971.1A CN114879885B (en) 2022-04-18 2022-04-18 Virtual object grouping control method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114879885A CN114879885A (en) 2022-08-09
CN114879885B true CN114879885B (en) 2024-03-22

Family

ID=82670014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210401971.1A Active CN114879885B (en) 2022-04-18 2022-04-18 Virtual object grouping control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114879885B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015011600A (en) * 2013-07-01 2015-01-19 アズビル株式会社 Engineering device and associated control device specification method
CN108710514A (en) * 2018-05-21 2018-10-26 腾讯科技(深圳)有限公司 Object jump control method and device, storage medium and electronic device
CN110210905A (en) * 2019-05-31 2019-09-06 拉扎斯网络科技(上海)有限公司 Characteristic similarity calculation method, device, electronic equipment and computer storage medium
CN110215684A (en) * 2019-04-26 2019-09-10 网易(杭州)网络有限公司 Game object control method and device
CN111352505A (en) * 2020-01-13 2020-06-30 维沃移动通信有限公司 Operation control method, head-mounted device, and medium
CN113941152A (en) * 2021-11-23 2022-01-18 网易(杭州)网络有限公司 Virtual object control method and device, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107967116B (en) * 2015-06-16 2019-07-19 深圳市腾讯计算机系统有限公司 The method and apparatus, computer equipment of lock onto target in scene of game
EP3650984B1 (en) * 2017-06-06 2022-10-26 Maxell, Ltd. Mixed reality display system
US10937220B2 (en) * 2019-04-22 2021-03-02 Disney Enterprises, Inc. Animation streaming for media interaction

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015011600A (en) * 2013-07-01 2015-01-19 アズビル株式会社 Engineering device and associated control device specification method
CN108710514A (en) * 2018-05-21 2018-10-26 腾讯科技(深圳)有限公司 Object jump control method and device, storage medium and electronic device
CN110215684A (en) * 2019-04-26 2019-09-10 网易(杭州)网络有限公司 Game object control method and device
WO2020215978A1 (en) * 2019-04-26 2020-10-29 网易(杭州)网络有限公司 Game object control method and device
CN110210905A (en) * 2019-05-31 2019-09-06 拉扎斯网络科技(上海)有限公司 Characteristic similarity calculation method, device, electronic equipment and computer storage medium
CN111352505A (en) * 2020-01-13 2020-06-30 维沃移动通信有限公司 Operation control method, head-mounted device, and medium
CN113941152A (en) * 2021-11-23 2022-01-18 网易(杭州)网络有限公司 Virtual object control method and device, electronic equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于网格分组移动对象的索引方法;梁野等;北京理工大学学报(第08期);全文 *
虚拟分组撤销策略的云存储访问控制模型;谢丽霞等;计算机科学(第05期);全文 *

Also Published As

Publication number Publication date
CN114879885A (en) 2022-08-09

Similar Documents

Publication Publication Date Title
CN107807847B (en) Application process management method and terminal equipment
CN110427256A (en) Job scheduling optimization method, equipment, storage medium and device priority-based
CN110264274B (en) Guest group dividing method, model generating method, device, equipment and storage medium
CN104268229B (en) Resource obtaining method and device based on multi-process browser
CN114091688B (en) Computing resource obtaining method and device, electronic equipment and storage medium
CN113485765B (en) Control strategy configuration method, device, equipment and medium of intelligent equipment of Internet of things
CN114879885B (en) Virtual object grouping control method, device, equipment and storage medium
CN110532863A (en) Gesture operation method, device and computer equipment
CN111698210B (en) Cloud mobile phone handle data processing method and system and storage medium
CN107239194A (en) Interface display method and device
CN115238837A (en) Data processing method and device, electronic equipment and storage medium
CN112631577B (en) Model scheduling method, model scheduler and model safety test platform
CN111796736B (en) Application sharing method and device and electronic equipment
CN115222835A (en) Drawing suggestion generation method, device and equipment
CN112882791B (en) Method, equipment and storage medium for optimizing performance of virtual machine
CN112269511A (en) Page display method and device and electronic equipment
CN108363525B (en) Method and device for responding to user gesture operation in webpage and terminal equipment
EP3312719B1 (en) Method and device for identifying java window control
CN113350789B (en) Virtual character edge processing method, device, equipment and storage medium
CN111626913A (en) Image processing method, device and storage medium
CN112529626B (en) Integral data clearing method, device, equipment and storage medium
CN112529626A (en) Method, device and equipment for clearing integral data and storage medium
CN117472228B (en) Digital panel self-adaptive control method, device, equipment and readable storage medium
CN106775639A (en) Information processing method, information processor and computer equipment
KR100537568B1 (en) Cursor locating method and apparatus using numerical key

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