CN114995649A - Role calling method, device, equipment and medium - Google Patents

Role calling method, device, equipment and medium Download PDF

Info

Publication number
CN114995649A
CN114995649A CN202210669572.3A CN202210669572A CN114995649A CN 114995649 A CN114995649 A CN 114995649A CN 202210669572 A CN202210669572 A CN 202210669572A CN 114995649 A CN114995649 A CN 114995649A
Authority
CN
China
Prior art keywords
role
terminal
summoning
target position
area
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
CN202210669572.3A
Other languages
Chinese (zh)
Other versions
CN114995649B (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.)
Beijing Xintang Sichuang Educational Technology Co Ltd
Original Assignee
Beijing Xintang Sichuang Educational 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 Beijing Xintang Sichuang Educational Technology Co Ltd filed Critical Beijing Xintang Sichuang Educational Technology Co Ltd
Priority to CN202210669572.3A priority Critical patent/CN114995649B/en
Publication of CN114995649A publication Critical patent/CN114995649A/en
Application granted granted Critical
Publication of CN114995649B publication Critical patent/CN114995649B/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/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B9/00Simulators for teaching or training purposes
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present disclosure provides a role summoning method, apparatus, device and medium, relating to the technical field of three-dimensional teaching, wherein the method is applied to a first terminal, and comprises: the method comprises the steps that a first terminal obtains position information of a first role in a virtual teaching scene, and a summoning area is generated based on the position information; and the summoning area comprises a target position corresponding to the second terminal, and a summoning instruction comprising the target position is sent to the second terminal, so that the second terminal updates the position information of the second role based on the target position. According to the mode, the calling area corresponding to the first role is generated, and the second roles at the second terminal are gathered in the calling area, so that the second roles can be called by the first role anytime and anywhere, the classroom interactivity is increased, and the class effect and experience under the three-dimensional virtual teaching scene are improved.

Description

Role calling method, device, equipment and medium
Technical Field
The invention relates to the technical field of 3D (3-Dimension) teaching, in particular to a method, a device, equipment and a medium for calling a role.
Background
At present, with the continuous development of internet and equipment technology, network lecture has become a common lecture mode.
In the related art, in a 3D virtual teaching scene, students freely explore in the scene to study, and when teachers explain a certain knowledge point, students cannot be gathered around.
Disclosure of Invention
To solve the above technical problem or at least partially solve the above technical problem, the present disclosure provides a character summoning method, apparatus, device, and medium.
According to an aspect of the embodiments of the present disclosure, a role summoning method is provided, which is applied to a first terminal, and includes:
acquiring position information of a first role in a virtual teaching scene;
generating a summons area based on the location information; the summoning area comprises a target position corresponding to the second terminal;
and sending a summoning instruction comprising a target position to the second terminal so as to enable the second terminal to update the position information of the second role based on the target position.
According to another aspect of the embodiments of the present disclosure, a role summoning method is provided, which is applied to a second terminal, and includes:
receiving a summoning instruction sent by a first terminal; the summoning instruction comprises a target position, and the first terminal determines the target position based on the position information of a first role in the virtual teaching scene;
and acquiring the current position of a second role, and updating the current position to the target position.
According to another aspect of the embodiments of the present disclosure, there is provided a role summoning apparatus, applied to a first terminal, including:
the first obtaining module is used for obtaining the position information of a first role in the virtual teaching scene;
a generating module for generating a summons area based on the location information; the summoning area comprises a target position corresponding to the second terminal;
and the sending module is used for sending a summoning instruction comprising a target position to the second terminal so that the second terminal updates the position information of the second role based on the target position.
According to another aspect of the embodiments of the present disclosure, there is provided a role summoning apparatus applied to a second terminal, including:
the first receiving module is used for receiving a summoning instruction sent by a first terminal; the summoning instruction comprises a target position, and the first terminal determines the target position based on the position information of a first role in the virtual teaching scene;
and the acquisition updating module is used for acquiring the current position of the second role and updating the current position to the target position.
According to another aspect of the embodiments of the present disclosure, there is provided an electronic device including: a processor; a memory for storing the processor-executable instructions; the processor is used for reading the executable instructions from the memory and executing the instructions to realize the role summoning method provided by the embodiment of the disclosure.
According to another aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium storing a computer program for executing the character summoning method provided by the embodiments of the present disclosure.
According to another aspect of the embodiments of the present disclosure, there is provided a computer program product comprising a computer program, wherein the computer program, when executed by a processor, implements the role-calling method provided by the embodiments of the present disclosure.
According to the technical scheme provided by the embodiment of the disclosure, the first terminal acquires the position information of the first role in the virtual teaching scene, and generates the summoning area based on the position information; and the summoning area comprises a target position corresponding to the second terminal, and a summoning instruction comprising the target position is sent to the second terminal, so that the second terminal updates the position information of the second role based on the target position. According to the mode, the calling area corresponding to the first role is generated, and the second roles at the second terminal are gathered in the calling area, so that the first role can be called the second role anytime and anywhere, a real classroom is simulated, classroom interactivity is increased, and the class effect and experience under the three-dimensional virtual teaching scene are improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is an application scenario diagram of a role summoning method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a role summoning method according to an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart diagram illustrating another role-calling method according to an embodiment of the present disclosure;
FIG. 4 is a schematic flow chart diagram illustrating a further role summoning method provided by an embodiment of the present disclosure;
fig. 5 is a schematic flow chart illustrating a further role summoning method according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a role summoning apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of another role summoning apparatus provided in the embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
The role summoning method provided by the present disclosure can be applied to the application environment shown in fig. 1. Fig. 1 is an application scenario diagram of a role summoning method provided by an embodiment of the present disclosure, where the application environment includes a first terminal 101 and a second terminal 102.
The method comprises the steps that a first terminal 101 obtains position information of a first role in a virtual teaching scene, and generates a summoning area based on the position information; the summoning area includes a target position corresponding to the second terminal 103, and sends a summoning instruction including the target position to the second terminal 102, so that the second terminal 102 updates the position information of the second role based on the target position. The first terminal 101 refers to a teacher terminal, and the second terminals 102 may be one or more terminals and refer to student terminals.
The first terminal 101 and the second terminal 102 may be, but are not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
It should be noted that fig. 1 further includes a server 103, the first terminal 101 and the second terminal 102 may communicate directly, or may communicate through the server 103, and the server 103 may be implemented by an independent server or a server cluster composed of a plurality of servers.
In consideration of the related art, for a three-dimensional virtual teaching scene, a teacher end generally needs to explain knowledge of a student end, and when a teacher explains a certain knowledge point, students cannot be gathered around. In order to solve the above problems, the embodiments of the present disclosure provide a role summoning method, apparatus, electronic device and storage medium, where position information of a first role in a virtual teaching scene is obtained through a first terminal, and a summoning area is generated based on the position information; and the summoning area comprises a target position corresponding to the second terminal, and a summoning instruction comprising the target position is sent to the second terminal, so that the second terminal updates the position information of the second role based on the target position. According to the mode, the calling area corresponding to the first role is generated, and the second roles of the second terminal are gathered in the calling area, so that the second roles can be called by the first role anytime anywhere, the classroom interactivity is increased, the class effect and experience under the three-dimensional virtual teaching scene are improved, and the embodiment of the disclosure is described in detail as follows.
First, an embodiment of the present disclosure provides a role-recalling method, and fig. 2 is a schematic flowchart of the role-recalling method provided by the embodiment of the present disclosure, where the method may be executed by a role-recalling device, where the device may be implemented by software and/or hardware, and may generally be integrated in an electronic device. As shown in fig. 2, the method mainly includes the following steps S202 to S206:
step 202, obtaining position information of a first role in the virtual teaching scene.
The virtual teaching scene refers to a three-dimensional virtual teaching scene, teachers and students enter the virtual teaching scene through terminals, and each terminal has a corresponding role to represent identities of the teachers or the students, so that real courses are simulated in the three-dimensional virtual teaching scene through virtual roles. Wherein, the first role refers to a virtual role controlled by the first terminal, and in the embodiment of the present disclosure, refers to a virtual teacher role.
The position information of the first character refers to position coordinates of the first character in the virtual teaching scene, and the position information of the first character can be updated along with the movement of the first character.
In some embodiments, a position information set corresponding to the virtual teaching scene is obtained, and matching is performed based on the current position of the first role and the position information set to obtain position information of the first role; in other embodiments, the current position of the first character is obtained, and the current position is calculated based on a preset origin position of coordinates to obtain the position information of the first character.
Step 204, generating a calling area based on the position information; and the summoning area comprises a target position corresponding to the second terminal.
In the embodiment of the disclosure, the calling areas in different sizes and shapes are selected and generated according to the application scenes. The summons area refers to an area within a preset distance range relative to the position information of the first role, and comprises one or more target positions; the target position refers to a target position coordinate where the second terminal is located corresponding to the second role when the second terminal is called.
In some embodiments, an initial region is obtained based on the position information and a preset region range, an access time identifier corresponding to the second terminal is obtained, and a target position is determined based on the access time identifier and the initial region to obtain a summoning region; in other embodiments, an initial region is obtained based on the location information and a preset region range, and a plurality of target locations are randomly determined in the initial region to obtain a summons region.
Step 206, sending a summons instruction including the target position to the second terminal, so that the second terminal updates the position information of the second role based on the target position.
Specifically, after the summoning area including the target position is generated, a summoning instruction including the target position is sent to the second terminal, so that the second terminal updates the position information of the second character based on the target position, that is, the current position of the second terminal is updated to the target position, and therefore the second character is gathered around the first character.
In summary, in the role summoning method disclosed by the present disclosure, the position information of the first role in the virtual teaching scene is acquired through the first terminal, and the summoning area is generated based on the position information; and the summoning area comprises a target position corresponding to the second terminal, and a summoning instruction comprising the target position is sent to the second terminal, so that the second terminal updates the position information of the second role based on the target position. According to the mode, the calling area corresponding to the first role is generated, and the second roles at the second terminal are gathered in the calling area, so that the second roles can be called by the first role anytime and anywhere, the classroom interactivity is increased, and the class effect and experience under the three-dimensional virtual teaching scene are improved.
Fig. 3 is a schematic flow chart of another role summoning method provided in the embodiment of the present disclosure, and the embodiment further optimizes the role summoning method based on the above embodiment. As shown in fig. 3, the method includes:
step 302, obtaining position information of a first role in a virtual teaching scene.
It should be noted that step 302 is the same as step 201, and is not described in detail here, specifically referring to the detailed description of step 201.
And 304, obtaining an initial area based on the position information and a preset area range, obtaining an access time identifier corresponding to the second terminal, and determining a target position based on the access time identifier and the initial area to obtain a summons area.
Different area ranges, such as a sector area range and a square area range centered on the position information, may be set based on different application scenarios.
Specifically, after the position information of the first role is acquired, an initial region can be obtained according to the position information and a preset region range, the initial region refers to a region within a certain distance range of the position information of the first role, and it can be understood that in practical application, a plurality of second roles exist, and if the initial region is directly used as a summoning region, two second roles may be updated to the same position, so that the lesson experience is influenced.
In the embodiment of the present disclosure, determining a target location based on an access time identifier and an initial area to obtain a summons area includes: the method comprises the steps of dividing the position of an initial region to obtain a plurality of candidate positions, setting position marks of each candidate position, sequencing all access time marks according to the numerical value, determining target position marks from the plurality of position marks in sequence according to the sequencing result, obtaining the candidate position corresponding to the target position mark as a target position, and obtaining a summoning region.
For example, a first terminal is connected with two second terminals, that is, a virtual teacher character and two virtual student characters are provided in a teaching virtual scene, after an initial area a is determined based on position information of the virtual teacher character, the initial area is subjected to position division, for example, 5 candidate positions are obtained, each candidate position identifier, for example, a1, a2, A3, a4 and a5, for example, access time identifiers corresponding to the two terminals are T1 and T2, sorting is performed according to the numerical values of the access time identifiers, the sorting result is that T1 is smaller than T2, a target position identifier corresponding to T1 is first determined to be a1, so that a candidate position corresponding to the target position identifier a1 is used as a target position 1, and a target position identifier corresponding to T2 is determined to be a2, so that a candidate position corresponding to the target position identifier a2 is used as a target position 2, and a summoning area is obtained.
Step 306, sending a summoning instruction including the target position to the second terminal, so that the second terminal updates the position information of the second role based on the target position.
It should be noted that step 306 is the same as step 206, and will not be described in detail here, specifically referring to the detailed description of step 206.
Step 308, obtaining the location update information of the first role, and generating a new summoning area based on the location update information.
In the embodiment of the present disclosure, the location update information of the first character refers to location information after the first character is updated, and a new summons area is generated based on the location update information, and may be sent to the second terminal for processing.
It should be noted that the manner of generating the new summons area based on the location update information is the same as that of generating the summons area based on the location information, and specific reference is made to the detailed description of generating the summons area based on the location information, and details thereof are not described here.
It should be noted that, after step 208, step 206 may be continuously executed to move the second character along with the first character, so as to further meet the user requirement and improve the course effect and experience.
To sum up, in the role-summoning method of the embodiment of the present disclosure, by obtaining position information of a first role in a virtual teaching scene, obtaining an initial region based on the position information and a preset region range, obtaining an access time identifier corresponding to a second terminal, determining a target position based on the access time identifier and the initial region, obtaining a summoning region, and sending a summoning instruction including the target position to the second terminal, so that the second terminal updates the position information of the second role based on the target position, obtains position update information of the first role, and generates the summoning region based on the position update information. According to the mode, the access time of the second terminal is given to the target position corresponding to the second role, the calling accuracy is further improved, the second role can be called by the first role anytime and anywhere, the classroom interactivity is increased, the second role can move along with the movement of the first role, the calling effect is guaranteed, and the class-taking effect and experience under the three-dimensional virtual teaching scene are improved.
In order to more fully describe the role summoning method of the embodiments of the present disclosure, a detailed description is made below on the second terminal side.
Specifically, fig. 4 is a schematic flowchart of another role summoning method provided by an embodiment of the present disclosure, where the method may be executed by a role summoning apparatus, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 4, the method mainly includes the following steps S402 to S404:
step 402, receiving a summoning instruction sent by a first terminal; the summoning instruction comprises a target position, and the first terminal determines the target position based on the position information of the first role in the virtual teaching scene.
Step 404, obtain the current position of the second role, and update the current position to the target position.
The second terminal can receive the summoning instruction broadcast by the first terminal, analyze the summoning instruction to obtain a target position, and update the current position of the second role to the target position.
To sum up, in the role summoning method according to the embodiment of the present disclosure, a summoning instruction sent by a first terminal is received; the calling instruction comprises a target position, the first terminal determines the target position based on the position information of the first role in the virtual teaching scene, acquires the current position of the second role, and updates the current position to the target position. According to the mode, the calling area corresponding to the first role is generated, and the second roles at the second terminal are gathered in the calling area, so that the second roles can be called by the first role anytime and anywhere, the classroom interactivity is increased, and the class effect and experience under the three-dimensional virtual teaching scene are improved.
Fig. 5 is a schematic flowchart of another role summoning method provided by the embodiment of the present disclosure, and the embodiment further optimizes the role summoning method based on the above embodiment. As shown in fig. 5, the method includes:
step 502, receiving a summoning instruction sent by a first terminal; the summoning instruction comprises a target position, and the first terminal determines the target position based on the position information of the first role in the virtual teaching scene.
Step 504, obtain the current position of the second role, and update the current position to the target position.
It should be noted that the steps 502-504 are the same as the steps 402-404, and detailed description thereof is omitted here, specifically referring to the detailed description of the steps 402-404.
Step 506, a location update message including the target location is broadcast, so that the first terminal and the other second terminals update the location information of the second role based on the location update message.
Specifically, after the second terminal updates the current location of the second role to the target location in the device, all users are required to be visually located in the target location for the second role, and therefore, the second terminal needs to broadcast a location update message including the target location, so that the first terminal and other second terminals update the location information of the second role based on the location update message, and the use experience is further improved.
And step 508, controlling the position control corresponding to the second role to be in a locking state.
In the embodiment of the present disclosure, the position control refers to a control that controls a position of the second role to move, and when the second role is in a summoned state, the position control corresponding to the second role is controlled to be in a locked state, that is, the triggering of the position control cannot control the position of the second role to move, so as to further ensure the summoning effect.
And 510, receiving an offline identifier corresponding to the first terminal, and controlling the position control corresponding to the second role to be in an unlocked state after preset timing time based on the offline identifier.
In the embodiment of the disclosure, when the first terminal is not connected within a certain time after being disconnected, the second role automatically restores to the free state, the position control is not locked any more and is in an unlocked state, and the diversity requirement under the virtual teaching scene is further met.
To sum up, in the role summoning method according to the embodiment of the present disclosure, a summoning instruction sent by a first terminal is received; the calling instruction comprises a target position, the first terminal determines the target position based on position information of a first role in a virtual teaching scene, acquires the current position of a second role, updates the current position to the target position, broadcasts a position updating message comprising the target position, so that the first terminal and other second terminals update the position information of the second role based on the position updating message, controls a position control corresponding to the second role to be in a locking state, receives an offline identification corresponding to the first terminal, and controls the position control corresponding to the second role to be in an unlocking state based on the offline identification after preset timing time. Above-mentioned mode is through generating the area of calling together, with the second role gathering in the area of calling together, realize simulating real classroom, increase classroom interactivity, the efficient is experienced on class to solve mr anytime and anywhere and call together student's technical problem, and after opening and calling together, the second role is in class locking direction and follows first role, and the second role resumes oneself and controls when first role falls off the line, improves the effect of going to class and experience under the three-dimensional virtual teaching scene.
Corresponding to the aforementioned role summoning method, an embodiment of the present disclosure provides a role summoning apparatus, and fig. 6 is a schematic structural diagram of a role summoning apparatus provided by an embodiment of the present disclosure, which may be implemented by software and/or hardware, and may be generally integrated in an electronic device, as shown in fig. 6, the role summoning apparatus 600 includes the following modules:
a first obtaining module 602, configured to obtain location information of a first role in a virtual teaching scene;
a generating module 604 for generating a summons area based on the location information; the summoning area comprises a target position corresponding to the second terminal;
a sending module 606, configured to send a summoning instruction including a target location to the second terminal, so that the second terminal updates the location information of the second role based on the target location.
According to the device provided by the embodiment of the disclosure, the position information of a first role in a virtual teaching scene is acquired through a first terminal, and a summoning area is generated based on the position information; and the summoning area comprises a target position corresponding to the second terminal, and a summoning instruction comprising the target position is sent to the second terminal, so that the second terminal updates the position information of the second role based on the target position. According to the mode, the calling area corresponding to the first role is generated, and the second roles at the second terminal are gathered in the calling area, so that the second roles can be called by the first role anytime and anywhere, the classroom interactivity is increased, and the class effect and experience under the three-dimensional virtual teaching scene are improved.
In some embodiments, the generating module 604 includes:
the first acquisition unit is used for acquiring an initial region based on the position information and a preset region range;
a second obtaining unit, configured to obtain an access time identifier corresponding to the second terminal;
a determining unit, configured to determine the target location based on the access time identifier and the initial area, so as to obtain the summons area.
In some embodiments, the determining unit is configured to:
carrying out position division on the initial region to obtain a plurality of candidate positions;
setting a position identifier of each candidate position;
and sequencing all the access time identifiers according to the numerical value, sequentially determining a target position identifier from a plurality of position identifiers according to a sequencing result, and acquiring a candidate position corresponding to the target position identifier as the target position to obtain the summoning area.
In some embodiments, the apparatus further comprises:
the second acquisition module is used for acquiring the position updating information of the first role;
generating a new summons area based on the location update information.
Corresponding to the aforementioned role summoning method, an embodiment of the present disclosure provides a role summoning apparatus, and fig. 7 is a schematic structural diagram of a role summoning apparatus provided by an embodiment of the present disclosure, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device, as shown in fig. 7, a role summoning apparatus 700 includes the following modules:
a first receiving module 702, configured to receive a summoning instruction sent by a first terminal; the summoning instruction comprises a target position, and the first terminal determines the target position based on the position information of a first role in the virtual teaching scene;
an obtaining and updating module 704, configured to obtain a current location of the second role, and update the current location to the target location.
According to the device provided by the embodiment of the disclosure, the summoning instruction sent by the first terminal is received; the calling instruction comprises a target position, the first terminal determines the target position based on the position information of the first role in the virtual teaching scene, acquires the current position of the second role, and updates the current position to the target position. According to the mode, the calling area corresponding to the first role is generated, and the second roles at the second terminal are gathered in the calling area, so that the second roles can be called by the first role anytime and anywhere, the classroom interactivity is increased, and the class effect and experience under the three-dimensional virtual teaching scene are improved.
In some embodiments, the apparatus further comprises:
a broadcasting module, configured to broadcast a location update message including the target location, so that the first terminal and the other second terminals update the location information of the second role based on the location update message.
In some embodiments, the apparatus further comprises:
and the control module is used for controlling the position control corresponding to the second role to be in a locking state.
In some embodiments, the apparatus further comprises:
the second receiving module is used for receiving the offline identification corresponding to the first terminal;
and the processing module is used for controlling the position control corresponding to the second role to be in an unlocking state after preset timing time based on the offline identification.
The role summoning device provided by the embodiment of the disclosure can execute the role summoning method provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatus embodiments may refer to corresponding processes in the method embodiments, and are not described herein again.
An exemplary embodiment of the present disclosure also provides an electronic device including: at least one processor; and a memory communicatively coupled to the at least one processor. The memory stores a computer program executable by the at least one processor, the computer program, when executed by the at least one processor, is for causing the electronic device to perform a role-summoning method in accordance with an embodiment of the present disclosure.
The disclosed exemplary embodiments also provide a non-transitory computer readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is operative to cause the computer to perform a role summoning method according to the disclosed embodiments.
The exemplary embodiments of the present disclosure also provide a computer program product comprising a computer program, wherein the computer program, when executed by a processor of a computer, is adapted to cause the computer to perform a role summoning method according to the embodiments of the present disclosure.
Referring to fig. 8, a block diagram of a structure of an electronic device 800, which may be a server or a terminal of the present disclosure, which is an example of a hardware device that may be applied to aspects of the present disclosure, will now be described. Electronic device is intended to represent various forms of digital electronic computer devices, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 8, the electronic device 800 includes a computing unit 801 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)802 or a computer program loaded from a storage unit 808 into a Random Access Memory (RAM) 803. In the RAM803, various programs and data required for the operation of the device 800 can also be stored. The calculation unit 801, the ROM802, and the RAM803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
A number of components in the electronic device 800 are connected to the I/O interface 805, including: an input unit 806, an output unit 807, a storage unit 808, and a communication unit 809. The input unit 806 may be any type of device capable of inputting information to the electronic device 800, and the input unit 806 may receive input numeric or character information and generate key signal inputs related to user settings and/or function controls of the electronic device. Output unit 807 can be any type of device capable of presenting information and can include, but is not limited to, a display, speakers, a video/audio output terminal, a vibrator, and/or a printer. The storage unit 808 may include, but is not limited to, a magnetic disk, an optical disk. The communication unit 809 allows the electronic device 800 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers and/or chipsets, such as bluetooth (TM) devices, WiFi devices, WiMax devices, cellular communication devices, and/or the like.
Computing unit 801 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and the like. The calculation unit 801 executes the respective methods and processes described above. For example, in some embodiments, the method 202-206 may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 808. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 800 via the ROM802 and/or the communication unit 809. In some embodiments, computing unit 801 may be configured to perform the role-summoning method by any other suitable means (e.g., by way of firmware).
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program code, when executed by the processor or controller, causes the functions/acts specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
As used in this disclosure, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include a terminal and a server. A terminal and server are generally remote from each other and typically interact through a communication network. The relationship of terminal and server arises by virtue of computer programs running on the respective computers and having a terminal-server relationship to each other.

Claims (11)

1. A role summoning method is applied to a first terminal and comprises the following steps:
acquiring position information of a first role in a virtual teaching scene;
generating a summons area based on the location information; the summoning area comprises a target position corresponding to the second terminal;
and sending a summoning instruction comprising a target position to the second terminal so as to enable the second terminal to update the position information of the second role based on the target position.
2. The character summoning method of claim 1, wherein the generating a summoning area based on the location information comprises:
obtaining an initial region based on the position information and a preset region range;
acquiring an access time identifier corresponding to the second terminal;
and determining the target position based on the access time identification and the initial area to obtain the summoning area.
3. The method of claim 2, wherein the determining the target location based on the access time identifier and the initial area to obtain the summoned area comprises:
carrying out position division on the initial region to obtain a plurality of candidate positions;
setting a position identifier of each candidate position;
and sequencing all the access time identifiers according to the numerical value, sequentially determining a target position identifier from a plurality of position identifiers according to a sequencing result, and acquiring a candidate position corresponding to the target position identifier as the target position to obtain the summoning area.
4. The method for summoning roles according to any one of claims 1-3, further comprising:
acquiring position updating information of the first role;
generating a new summons area based on the location update information.
5. A role summoning method is applied to a second terminal and comprises the following steps:
receiving a summoning instruction sent by a first terminal; the summoning instruction comprises a target position, and the first terminal determines the target position based on position information of a first role in a virtual teaching scene;
and acquiring the current position of the second role, and updating the current position to the target position.
6. The method of claim 5, further comprising:
broadcasting a location update message including the target location to cause the first terminal and the other second terminals to update location information of the second role based on the location update message.
7. The method of claim 5, further comprising:
controlling a position control corresponding to the second role to be in a locking state;
wherein the method further comprises:
receiving an offline identification corresponding to the first terminal;
and controlling the position control corresponding to the second role to be in an unlocking state after preset timing time based on the offline identification.
8. A role summoning device applied to a first terminal includes:
the first obtaining module is used for obtaining the position information of a first role in the virtual teaching scene;
a generating module for generating a summons area based on the location information; the summoning area comprises a target position corresponding to the second terminal;
and the sending module is used for sending a summoning instruction comprising a target position to the second terminal so as to enable the second terminal to update the position information of the second role based on the target position.
9. A role summoning device applied to a second terminal includes:
the first receiving module is used for receiving a summoning instruction sent by a first terminal; the summoning instruction comprises a target position, and the first terminal determines the target position based on the position information of a first role in the virtual teaching scene;
and the acquisition updating module is used for acquiring the current position of the second role and updating the current position into the target position.
10. An electronic device, comprising:
a processor; and
a memory for storing a program, wherein the program is stored in the memory,
wherein the program comprises instructions which, when executed by the processor, cause the processor to perform the role-call method of any of claims 1-7.
11. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the character summoning method according to any one of claims 1-7.
CN202210669572.3A 2022-06-14 2022-06-14 Role calling method, device, equipment and medium Active CN114995649B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210669572.3A CN114995649B (en) 2022-06-14 2022-06-14 Role calling method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210669572.3A CN114995649B (en) 2022-06-14 2022-06-14 Role calling method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN114995649A true CN114995649A (en) 2022-09-02
CN114995649B CN114995649B (en) 2023-12-29

Family

ID=83035227

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210669572.3A Active CN114995649B (en) 2022-06-14 2022-06-14 Role calling method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN114995649B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105207895A (en) * 2015-09-23 2015-12-30 深圳中创未来科技有限公司 Social contact processing method and device and social contact server
CN107135387A (en) * 2017-05-05 2017-09-05 厦门汇利伟业科技有限公司 Online Customer Reception method and its system based on VR technologies
CN107341980A (en) * 2017-08-15 2017-11-10 长春众智锐博科技有限公司 Based on VR(Virtual reality)The wisdom tutoring system of technology
CN110339570A (en) * 2019-07-17 2019-10-18 网易(杭州)网络有限公司 Exchange method, device, storage medium and the electronic device of information
CN110908509A (en) * 2019-11-05 2020-03-24 Oppo广东移动通信有限公司 Multi-augmented reality device cooperation method and device, electronic device and storage medium
CN112530219A (en) * 2020-12-14 2021-03-19 北京高途云集教育科技有限公司 Teaching information display method and device, computer equipment and storage medium
CN112774201A (en) * 2021-01-22 2021-05-11 北京字跳网络技术有限公司 Virtual character masking method and device, computer equipment and storage medium
CN113181650A (en) * 2021-05-31 2021-07-30 腾讯科技(深圳)有限公司 Control method, device, equipment and storage medium for calling object in virtual scene
CN113289327A (en) * 2021-06-18 2021-08-24 Oppo广东移动通信有限公司 Display control method and device of mobile terminal, storage medium and electronic equipment
CN113535865A (en) * 2020-04-21 2021-10-22 中国移动通信集团四川有限公司 Map grid dividing method and electronic equipment
CN113570227A (en) * 2021-07-20 2021-10-29 北京信立方科技发展股份有限公司 Online education quality evaluation method, system, terminal and storage medium
CN113593351A (en) * 2021-09-27 2021-11-02 华中师范大学 Three-dimensional comprehensive teaching field system and working method thereof
CN114237540A (en) * 2021-12-20 2022-03-25 安徽教育出版社 Intelligent classroom online teaching interaction method and device, storage medium and terminal
CN114257776A (en) * 2021-12-27 2022-03-29 上海清鹤科技股份有限公司 Classroom interaction system
CN114344906A (en) * 2022-01-11 2022-04-15 腾讯科技(深圳)有限公司 Method, device, equipment and storage medium for controlling partner object in virtual scene

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105207895A (en) * 2015-09-23 2015-12-30 深圳中创未来科技有限公司 Social contact processing method and device and social contact server
CN107135387A (en) * 2017-05-05 2017-09-05 厦门汇利伟业科技有限公司 Online Customer Reception method and its system based on VR technologies
CN107341980A (en) * 2017-08-15 2017-11-10 长春众智锐博科技有限公司 Based on VR(Virtual reality)The wisdom tutoring system of technology
CN110339570A (en) * 2019-07-17 2019-10-18 网易(杭州)网络有限公司 Exchange method, device, storage medium and the electronic device of information
CN110908509A (en) * 2019-11-05 2020-03-24 Oppo广东移动通信有限公司 Multi-augmented reality device cooperation method and device, electronic device and storage medium
CN113535865A (en) * 2020-04-21 2021-10-22 中国移动通信集团四川有限公司 Map grid dividing method and electronic equipment
CN112530219A (en) * 2020-12-14 2021-03-19 北京高途云集教育科技有限公司 Teaching information display method and device, computer equipment and storage medium
CN112774201A (en) * 2021-01-22 2021-05-11 北京字跳网络技术有限公司 Virtual character masking method and device, computer equipment and storage medium
CN113181650A (en) * 2021-05-31 2021-07-30 腾讯科技(深圳)有限公司 Control method, device, equipment and storage medium for calling object in virtual scene
CN113289327A (en) * 2021-06-18 2021-08-24 Oppo广东移动通信有限公司 Display control method and device of mobile terminal, storage medium and electronic equipment
CN113570227A (en) * 2021-07-20 2021-10-29 北京信立方科技发展股份有限公司 Online education quality evaluation method, system, terminal and storage medium
CN113593351A (en) * 2021-09-27 2021-11-02 华中师范大学 Three-dimensional comprehensive teaching field system and working method thereof
CN114237540A (en) * 2021-12-20 2022-03-25 安徽教育出版社 Intelligent classroom online teaching interaction method and device, storage medium and terminal
CN114257776A (en) * 2021-12-27 2022-03-29 上海清鹤科技股份有限公司 Classroom interaction system
CN114344906A (en) * 2022-01-11 2022-04-15 腾讯科技(深圳)有限公司 Method, device, equipment and storage medium for controlling partner object in virtual scene

Also Published As

Publication number Publication date
CN114995649B (en) 2023-12-29

Similar Documents

Publication Publication Date Title
CN109741755B (en) Voice awakening word threshold management device and method for managing voice awakening word threshold
US10284705B2 (en) Method and apparatus for controlling smart device, and computer storage medium
CN109848985B (en) Robot graphic programming method and device and intelligent terminal
CN112040468B (en) Method, computing device, and computer storage medium for vehicle interaction
CN110246499B (en) Voice control method and device for household equipment
CN104796391A (en) Check-in verification method, check-in verification client, server, system and device
CN105262601A (en) Group member information processing method and system
CN113268303A (en) Interface element configuration method and device, storage medium and electronic equipment
CN112698895A (en) Display method, device, equipment and medium of electronic equipment
CN111142824A (en) Interaction control method, storage medium and electronic device
US20200210038A1 (en) Robot eye lamp control method and apparatus and terminal device using the same
CN114660956A (en) Intelligent driving simulation test system, method, electronic device and storage medium
CN114237540A (en) Intelligent classroom online teaching interaction method and device, storage medium and terminal
CN114995649B (en) Role calling method, device, equipment and medium
CN115586882A (en) Multi-device screen projection processing method and device and electronic device
CN115408968A (en) Construction method and system based on SVG virtual circuit
CN114530073A (en) Training method and device based on virtual reality
CN109782925B (en) Processing method and device and electronic equipment
CN108345418B (en) Interactive object display method and device in online teaching
CN113973060A (en) Internet of things simulation method, device and system and storage medium
CN112000786A (en) Dialogue robot problem processing method, device and equipment combining RPA and AI
CN114528893A (en) Machine learning model training method, electronic device and storage medium
CN110648119A (en) Training method and device, storage medium and electronic equipment
CN112712798B (en) Privatization data acquisition method and device
CN112053458B (en) Card punching record generation method and related device

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