CN114879885A - 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
CN114879885A
CN114879885A CN202210401971.1A CN202210401971A CN114879885A CN 114879885 A CN114879885 A CN 114879885A CN 202210401971 A CN202210401971 A CN 202210401971A CN 114879885 A CN114879885 A CN 114879885A
Authority
CN
China
Prior art keywords
information
group
determining
grouping
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.)
Granted
Application number
CN202210401971.1A
Other languages
Chinese (zh)
Other versions
CN114879885B (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

Images

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, a virtual object grouping control device, virtual object grouping control equipment and a 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 associated parameters of the target operation group according to the partition operation information; when the operation association parameters are within a preset threshold range, dividing the virtual objects in each target operation group into the same combined group, and responding to the operation instruction through the virtual objects in the combined group. By the method, the same or similar grouped virtual objects can be automatically combined and operated, the operation times of a user on a plurality of groups are reduced, and the control and 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 computers can be implemented on mobile terminals, the most representative of which is to perform operations such as control and editing on virtual objects on the mobile terminals, and due to the limitation of the interaction mode of the mobile terminals, users often can only perform operations on virtual objects on the mobile terminals by sliding a screen or simple virtual keys with fingers, which also causes great inconvenience when the users select the virtual objects for operation.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a virtual object grouping control method, a virtual object grouping control device, virtual object grouping control equipment and a virtual object grouping control storage medium, and aims to solve the technical problem that in the prior art, grouping operation of a user for selecting a virtual object is inconvenient.
In order to achieve the above object, the present invention provides a virtual object grouping control method, including 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 associated parameters of the target operation group according to the partition operation information;
when the operation related parameters are within a preset threshold range, dividing the virtual objects in each target operation group into the same combined group, and responding to the operation instruction through the virtual objects in the combined group.
Optionally, the receiving a grouping instruction input by a user, and determining a target operation group according to the grouping instruction includes:
when a grouping instruction sent by a user is received, extracting a first grouping instruction and a second grouping instruction from the grouping instruction;
determining a first operation group corresponding to the first group command according to the first group command;
determining a second operation group corresponding to the second grouping instruction according to the second grouping instruction;
the first operation packet and the second operation packet are taken as target operation packets.
Optionally, the determining, according to the partition operation information, an operation association parameter of the target operation packet includes:
determining first packet operation information and second packet operation information which correspond to a first operation packet and a second operation packet in the target operation packet respectively according to the packet operation information;
determining first object category information and first operation content information corresponding to the first operation group according to the first group operation information;
determining second object category information and second operation content information corresponding to the second operation group according to the second group operation information;
acquiring grouping region information of the first operation group and the second operation group;
and determining the operation associated 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, according to the grouping region information, the first object category information, the first operation content information, the second object category information, and the second operation content information, an operation association parameter of the target operation group 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 a 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;
and determining the operation associated parameters of the target operation grouping 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 the first operation grouping and second grouping coordinate information corresponding to the second operation grouping according to the partition area information;
determining a first reference virtual object which is closest to the second operation group in the first operation group and a second reference virtual object which is 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 an 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 types of virtual objects in the first operation group according to the first object type information;
determining second type quantity information of various types of virtual objects in the second operation group according to the second object type information;
and determining the object similarity parameters according to the first type quantity information and the second type quantity information.
Optionally, the determining a 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 a content similarity parameter according to the first operation target and the second operation target.
In order to achieve the above object, the present invention also provides a virtual object grouping control apparatus 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 computing module is used for determining the operation associated 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 associated parameters are within the preset threshold range, and responding the operation instructions through the virtual objects in the merging group.
Further, to achieve the above object, the present invention also proposes a virtual object group control device including: a memory, a processor and a virtual object grouping control program stored on the memory and executable on the processor, the virtual object grouping control program configured to implement the steps of the virtual object grouping control method as described above.
Furthermore, in order to achieve the above object, the present invention also proposes a storage medium having stored thereon a virtual object grouping control program which, when executed by a processor, implements the steps of the virtual object grouping control method as described above.
The invention receives a grouping instruction input by a user, and determines 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 associated parameters of the target operation group according to the partition operation information; when the operation related parameters are within a preset threshold range, dividing the virtual objects in each target operation group into the same combined group, and responding to the operation instruction through the virtual objects in the combined group. By the method, the operation association parameters of each target operation group are automatically calculated after the group command of the user is received, then the virtual objects in each target operation group are automatically divided into the same combined group when the operation association parameters are within the preset threshold range, and then the operation command is responded through the combined group, so that the virtual objects in the same or similar groups can be automatically combined and operated, the operation times of the user on a plurality of groups are reduced, and the control and the operation of the user are more convenient.
Drawings
Fig. 1 is a schematic structural diagram of a virtual object grouping control device of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a virtual object grouping control method according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a virtual object grouping control method according to a second embodiment of the present invention;
fig. 4 is a block diagram showing the configuration of the virtual object grouping control apparatus according to the first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a virtual object grouping control device of a hardware operating 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 (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also 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 Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the virtual object grouping control apparatus, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a virtual object group control program.
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 device of the present invention may be provided in a virtual object group control device that calls a virtual object group control program stored in the memory 1005 through the processor 1001 and executes a virtual object group control method provided by an 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 flowchart illustrating 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: 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 subject of the embodiment is a mobile terminal, which may be a smart phone, a tablet computer, or other devices capable of implementing the function, and the embodiment is not limited thereto.
It should be understood that, at present, the operation of the virtual object on the mobile terminal by the user is often only performed by sliding the screen or simple virtual keys with a finger, which also causes inconvenience when the user selects the virtual object to perform the operation, and the user needs to perform multiple operations to select and make an instruction when operating on multiple groups. And the embodiment can automatically determine whether every two groups can be combined according to the instruction of the user, so that the virtual objects of the groups with similar or identical operations are combined into one group, and the operation of the user is simplified.
In a specific implementation, the grouping instruction is input by a user through a mobile terminal, and a plurality of virtual objects are edited into one group, so that all the virtual objects in the group are operated by operating one group. The grouping instruction of the user may be to select all virtual objects in the framed area by sliding the screen, or to adjust the framed area by using the virtual key, which is not limited in this embodiment.
It should be noted that the target operation packet refers to an alternative packet that needs to be analyzed and calculated whether merging is needed.
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, extracting 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; the first operation packet and the second operation packet are taken as target operation packets.
It should be understood that the first grouping instruction and the second grouping instruction refer to two sequentially completed groups when a user issues a grouping instruction, that is, the grouping instruction includes a first grouping instruction and a second grouping instruction which are issued sequentially, so that a first operation group including a plurality of virtual objects is organized according to the first grouping instruction, and a second operation group including a plurality of virtual objects is organized according to the second grouping instruction. The number of 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 group and the second operation group are respectively determined according to the grouping instruction, so that the target operation group is determined, the grouping judgment is more accurate, and the grouping can be more conveniently and quickly combined.
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 a specific implementation, the operation instruction refers to an instruction issued by a user through a mobile terminal to operate on a target operation group.
The partition operation information refers to information related to the specific operation content and operation type of each target operation group in the operation instruction.
Step S30: and determining the operation associated parameters of the target operation group according to the partition operation information.
It should be understood that, determining the operation association parameters of the target operation groups according to the partition operation information refers to determining association coefficients of operations and instructions of the users for the respective target operation groups according to the partition operation information, so that whether the virtual objects in the target operation groups need to be divided into the same merged group can be accurately determined.
Step S40: when the operation related parameters are within a preset threshold range, dividing the virtual objects in each target operation group into the same combined group, and responding to the operation instruction through the virtual objects in the combined group.
In specific implementation, the preset threshold range refers to any value range preset by a user, when the operation association coefficient is within the preset threshold range, the virtual objects in each target operation group are automatically compiled into a unified group, namely a merged group, and then an operation instruction is operated in response to congestion, so that the virtual objects in the merged group are uniformly controlled to execute the operation input by the user in the operation instruction. Therefore, the user can conveniently perform grouping operation on each target operation in the next step, the operation is more convenient, and the use experience of the user is improved.
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 associated parameters of the target operation group according to the partition operation information; when the operation association parameters are within a preset threshold range, dividing the virtual objects in each target operation group into the same combined group, and responding to the operation instruction through the virtual objects in the combined group. By the method, the operation associated parameters of the target operation groups are automatically calculated after the grouping instruction of the user is received, then the virtual objects in the target operation groups are automatically divided into the same combined group when the operation associated parameters are within the preset threshold range, and then the operation instruction is responded by the combined group, so that the virtual objects in the same or similar groups can be automatically combined and operated, the operation times of the user on a plurality of groups are reduced, and the control and the operation of the user are more convenient.
Referring to fig. 3, fig. 3 is a flowchart illustrating a virtual object grouping control method according to a second embodiment of the present invention.
Based on the first embodiment, the virtual object grouping control method of this embodiment includes, in step S30:
step S301: and determining first packet operation information and second packet operation information which correspond to a first operation packet and a second operation packet in the target operation packet respectively according to the packet operation information.
It should be noted that the first operation group and the second operation group refer to two groups of virtual objects determined by the user in the grouping instruction.
It should be understood that the first packet operation information and the second packet operation information refer to division and extraction of the packet operation information, and the first packet operation information for the first operation packet and the second packet operation information for the second operation packet are extracted, respectively.
Step S302: and determining first object category information and first operation content information corresponding to the first operation group according to the first group operation information.
In a specific implementation, the first object category information and the first operation content information respectively correspond to a category of the virtual object in the first operation group and operation detailed information of the virtual object in the first operation group in the operation instruction by the user. The categories of the virtual object may include, but are not limited to: user characters, non-player characters, background objects and the like, wherein the user characters can be further divided into character types such as human types and animal types. The operation details of the virtual object may include, but are not limited to: character movement, character action, or character deactivation, etc.
Step S303: and determining second object category information and second operation content information corresponding to the second operation group according to the second group operation information.
The second object category information and the second operation content information correspond to the category of the virtual object in the second operation group and the detailed operation information of the virtual object in the second operation group in the operation instruction by the user, respectively. The categories of the virtual object may include, but are not limited to: user characters, non-player characters, background objects and the like, wherein the user characters can be further divided into character types such as human types and animal types. The operation details of the virtual object may include, but are not limited to: character movement, character action, or character deactivation, etc.
Step S304: packet area information of the first operation packet and the second operation packet is acquired.
It should be understood that obtaining the grouping area information of the first operation grouping and the second operation grouping refers to obtaining the relevant information of the occupied areas of the first operation grouping and the second operation grouping in the virtual scene, such as: 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 the operation associated 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, the determining the operation related parameter of the target operation group according to the group 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 an object similarity parameter according to the first object category information and the second object category information, then determining a minimum distance parameter according to the group area information, finally determining a content similarity parameter according to the first operation content information and the second operation content information, and finally determining the operation related parameter of the target operation group according to the minimum distance parameter, the object similarity parameter and the content similarity parameter.
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 a 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; and determining the operation associated parameters of the target operation grouping 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 means: and determining the distance between two virtual objects closest to each other 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 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 means: and determining the similarity degree of the components of each virtual object category in the first operation group and the second operation group according to the first object category information and the second object category information, and then obtaining the object similarity parameters.
In a specific implementation, 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 refers to: and determining the 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 related 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 related parameter by combining the minimum distance parameter, the object similarity parameter, and the content similarity parameter, where the calculation formula of the operation related parameter is: q is S · a · B, where Q is an operation-related parameter, a is an object similarity parameter, and B is a content similarity parameter.
By the method, the operation associated parameters are accurately calculated, so that the judgment of judging whether the target operation group needs to be combined is more accurate and quantitative.
Further, for accurately calculating the 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 the first operation grouping and second grouping coordinate information corresponding to the second operation grouping according to the partition area information; determining a first reference virtual object which is closest to the second operation group in the first operation group and a second reference virtual object which is 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 grouping coordinate information corresponds to coordinate information of the virtual object of the edge in the first manipulation grouping in the virtual scene, and the second grouping coordinate information corresponds to coordinate information of the virtual object of the edge in the second manipulation grouping in the virtual scene.
In a specific implementation, determining, according to the first group coordinate information and the second group coordinate information, a first reference virtual object in the first operation group that is closest to the second operation group, and a second reference virtual object in the second operation group that is closest to the first operation group, refers to: according to the coordinate information of the first grouping, taking a virtual object which is 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 in the second operation grouping, which is closest to the edge of the first operation grouping, as a second reference virtual object.
In addition, determining the reference distance from the first reference virtual object and the second reference virtual object means 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 in terms of coordinates of the reference distance is divided into units, and the value of the reference distance is used as a minimum distance parameter.
By the method, the minimum distance parameter can be accurately calculated, and further the calculation of the operation associated parameter is more accurate.
Further, in order to accurately calculate the object similarity parameter, the step of 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 types of virtual objects in the first operation group according to the first object type information; determining second type quantity information of various types of virtual objects in the second operation group according to the second object type information; and determining the object similarity parameters according to the first type quantity information and the second type quantity information.
The first type number information indicates the type of the virtual object included in the first operation group and the number of the virtual objects of each type. The second type number information refers to the kinds of virtual objects contained in the second operation group, and the number of virtual objects of the respective kinds.
It should be understood that determining the object similarity parameter according to 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 of the first operation group and the second operation group in each virtual object category, and then calculating the average difference value to obtain the object similarity parameter.
In this way, the object similarity parameter is determined according to the first type quantity information and the second type quantity information, so that the operation associated parameter 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 a content similarity parameter 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 assigned by the user to 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 assigned by the user to 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 in the first operation group under the first operation type, that is, a state of the virtual objects in the first operation group after performing an operation, for example: when the first operation type is move, the first operation target is a destination of the 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 the operation is performed, for example: when the second operation type is move, the second operation target is a destination of the 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 the content similarity parameter 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 calculation of content similarity parameters is achieved.
The present embodiment determines first packet operation information and second packet operation information respectively corresponding to a first operation packet and a second operation packet in the target operation packet according to the packet operation information; determining first object category information and first operation content information corresponding to the first operation group according to the first group operation information; determining second object category information and second operation content information corresponding to the second operation group according to the second group operation information; acquiring grouping region information of the first operation group and the second operation group; and determining the operation associated 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 group and the second operation group are determined according to the partition operation information, so that the operation association coefficient is accurately calculated, and whether the first operation group and the second operation group need to be combined or not is judged. The calculation is more comprehensive and accurate.
Furthermore, an embodiment of the present invention further provides a storage medium, where a virtual object grouping control program is stored, and the virtual object grouping control program, when executed by a processor, implements the steps of the virtual object grouping control method as described above.
Since the storage medium adopts all technical solutions of all the embodiments described above, at least all the beneficial effects brought by the technical solutions of the embodiments described above are achieved, and are not described in detail herein.
Referring to fig. 4, fig. 4 is a block diagram showing a configuration of a virtual object grouping control apparatus according to a first embodiment of the present invention.
As shown in fig. 4, a virtual object grouping control apparatus according to an embodiment of the present invention includes:
and the grouping module 10 is used for receiving a grouping instruction input by a user and determining 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 group according to the operation instruction.
And the calculating module 30 is configured to determine an operation association parameter of the target operation group 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-related parameter is within the preset threshold range, and respond to the operation instruction through the virtual objects in the merging group.
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 associated parameters of the target operation group according to the partition operation information; when the operation related parameters are within a preset threshold range, dividing the virtual objects in each target operation group into the same combined group, and responding to the operation instruction through the virtual objects in the combined group. By the method, the operation associated parameters of the target operation groups are automatically calculated after the grouping instruction of the user is received, then the virtual objects in the target operation groups are automatically divided into the same combined group when the operation associated parameters are within the preset threshold range, and then the operation instruction is responded by the combined group, so that the virtual objects in the same or similar groups can be automatically combined and operated, the operation times of the user on a plurality of groups are reduced, and the control and the operation of the user are more convenient.
In an embodiment, the grouping module 10 is further configured to, when a grouping instruction issued by a user is received, extract a first grouping instruction and a second grouping instruction from the grouping instruction; determining a first operation group corresponding to the first group command according to the first group command; determining a second operation group corresponding to the second grouping instruction according to the second grouping instruction; the first operation packet and the second operation packet are taken as target operation packets.
In an embodiment, the computing module 30 is further configured to determine, according to the group operation information, first group operation information and second group operation information corresponding to a first operation group and a second operation group in the target operation group, respectively; determining first object category information and first operation content information corresponding to the first operation group according to the first group operation information; determining second object category information and second operation content information corresponding to the second operation group according to the second group operation information; acquiring grouping region information of the first operation group and the second operation group; and determining the operation associated 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 calculation 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 a 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; and determining the operation associated parameters of the target operation grouping according to the minimum distance parameter, the object similarity parameter and the content similarity parameter.
In an embodiment, the calculation module 30 is further configured to determine, according to the partition area information, first packet coordinate information corresponding to the first operation packet and second packet coordinate information corresponding to the second operation packet; determining a first reference virtual object which is closest to the second operation group in the first operation group and a second reference virtual object which is 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 calculation module 30 is further configured to determine, according to the first object category information, first type quantity information of each type of virtual object in the first operation group; determining second type quantity information of various types of virtual objects in the second operation group according to the second object type information; and determining the object similarity parameters according to the first type quantity information and the second type quantity information.
In an embodiment, the calculation module 30 is further configured to determine, according to the first operation content information, a first operation type of the first operation group and a first operation target corresponding to the first operation type; 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 a content similarity parameter according to the first operation target and the second operation target.
Since the present apparatus employs all technical solutions of all the above embodiments, at least all the beneficial effects brought by the technical solutions of the above embodiments are achieved, and are not described in detail herein.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited thereto.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, the 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 again.
Further, it is to 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 an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A virtual object grouping control method, characterized by comprising:
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 associated parameters of the target operation group according to the partition operation information;
when the operation related parameters are within a preset threshold range, dividing the virtual objects in each target operation group into the same combined group, and responding to the operation instruction through the virtual objects in the combined group.
2. The method of claim 1, wherein the receiving a grouping instruction input by a user, determining a target operational grouping according to the grouping instruction, comprises:
when a grouping instruction sent by a user is received, extracting 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;
the first operation packet and the second operation packet are taken as target operation packets.
3. The method of claim 1, wherein the determining operation association parameters for the target operation packet based on the partition operation information comprises:
determining first packet operation information and second packet operation information which correspond to a first operation packet and a second operation packet in the target operation packet respectively according to the packet operation information;
determining first object category information and first operation content information corresponding to the first operation group according to the first group operation information;
determining second object category information and second operation content information corresponding to the second operation group according to the second group operation information;
acquiring grouping region information of the first operation group and the second operation group;
and determining the operation associated 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.
4. The method of claim 3, wherein the determining operation association parameters for the target operation group based on the grouping region information, the first object class information, the first operation content information, the second object class information, and the second operation content information comprises:
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 a 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;
and determining the operation associated parameters of the target operation grouping according to the minimum distance parameter, the object similarity parameter and the content similarity parameter.
5. The method of claim 4, wherein said determining a minimum distance parameter between the first operational grouping and the second operational grouping based on the partition region information comprises:
determining first grouping coordinate information corresponding to the first operation grouping and second grouping coordinate information corresponding to the second operation grouping according to the partition area information;
determining a first reference virtual object which is closest to the second operation group in the first operation group and a second reference virtual object which is 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.
6. The method of claim 4, wherein the determining object similarity parameters between the first and second operational groups based on the first and second object class information comprises:
determining first type quantity information of various types of virtual objects in the first operation group according to the first object type information;
determining second type quantity information of various types of virtual objects in the second operation group according to the second object type information;
and determining the object similarity parameters according to the first type quantity information and the second type quantity information.
7. The method of claim 4, wherein determining the content similarity parameter between the first operational grouping and the second operational grouping based on the first operational content information and the 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 a content similarity parameter according to the first operation target and the second operation target.
8. A virtual object grouping control apparatus, 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 computing module is used for determining the operation associated 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 associated parameters are within the preset threshold range, and responding the operation instructions through the virtual objects in the merging group.
9. A virtual object group control apparatus, characterized in that the apparatus comprises: a memory, a processor, and a virtual object grouping control program stored on the memory and executable on the processor, the virtual object grouping control program configured to implement the virtual object grouping control method of any one of claims 1 to 7.
10. A storage medium having stored thereon a virtual object grouping control program which, when executed by a processor, implements the virtual object grouping control method according to any one of claims 1 to 7.
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 true CN114879885A (en) 2022-08-09
CN114879885B 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 (9)

* 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
US20180001189A1 (en) * 2015-06-16 2018-01-04 Tencent Technology (Shenzhen) Company Limited Method for locking target in game scenario and terminal
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
US20200241647A1 (en) * 2017-06-06 2020-07-30 Maxell, Ltd. Mixed reality display system and mixed reality display terminal
US20200334886A1 (en) * 2019-04-22 2020-10-22 Disney Enterprises, Inc. Animation streaming for media interaction
CN113941152A (en) * 2021-11-23 2022-01-18 网易(杭州)网络有限公司 Virtual object control method and device, electronic equipment and storage medium

Patent Citations (10)

* 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
US20180001189A1 (en) * 2015-06-16 2018-01-04 Tencent Technology (Shenzhen) Company Limited Method for locking target in game scenario and terminal
US20200241647A1 (en) * 2017-06-06 2020-07-30 Maxell, Ltd. Mixed reality display system and mixed reality display terminal
CN108710514A (en) * 2018-05-21 2018-10-26 腾讯科技(深圳)有限公司 Object jump control method and device, storage medium and electronic device
US20200334886A1 (en) * 2019-04-22 2020-10-22 Disney Enterprises, Inc. Animation streaming for media interaction
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
梁野等: "基于网格分组移动对象的索引方法", 北京理工大学学报, no. 08 *
谢丽霞等: "虚拟分组撤销策略的云存储访问控制模型", 计算机科学, no. 05 *

Also Published As

Publication number Publication date
CN114879885B (en) 2024-03-22

Similar Documents

Publication Publication Date Title
CN110489312B (en) Data association method and device for triggering data acquisition by control
CN107807847B (en) Application process management method and terminal equipment
US10810698B2 (en) Information processing method and client
CN110427256A (en) Job scheduling optimization method, equipment, storage medium and device priority-based
CN110413161B (en) Component configuration method and device and electronic equipment
US20080143673A1 (en) Method and Apparatus For Moving Cursor Using Numerical Keys
CN114879885B (en) Virtual object grouping control method, device, equipment and storage medium
CN107239194A (en) Interface display method and device
CN112948257B (en) Method, device, equipment and storage medium for generating kernel fuzzy test case
CN114712853A (en) Game map loading and displaying method, device, equipment and storage medium
CN111489295B (en) Image processing method, electronic device, and storage medium
CN114997126A (en) Electronic form display method and device, electronic equipment and storage medium
CN114090002A (en) Front-end interface construction method and device, electronic equipment and storage medium
CN113064518A (en) Control method, device and equipment based on pressure sensor and storage medium
CN109254712B (en) Information processing method and electronic equipment
CN108363525B (en) Method and device for responding to user gesture operation in webpage and terminal equipment
CN111796736A (en) Application sharing method and device and electronic equipment
CN113209637A (en) Game team forming method and device, electronic equipment and storage medium
EP3312719B1 (en) Method and device for identifying java window control
CN116701794A (en) Webpage design manuscript display method, device, equipment and storage medium
CN113778488B (en) Page updating method and device, computer equipment and storage medium
CN112882791B (en) Method, equipment and storage medium for optimizing performance of virtual machine
CN114579033B (en) Gesture switching method, device and equipment for android platform and storage medium
US11788130B2 (en) Computing device, storage medium, and method for managing sequencing progress
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