CN109783144B - Method and device for processing variable in interactive realization of virtual environment and storage medium - Google Patents
Method and device for processing variable in interactive realization of virtual environment and storage medium Download PDFInfo
- Publication number
- CN109783144B CN109783144B CN201711116727.6A CN201711116727A CN109783144B CN 109783144 B CN109783144 B CN 109783144B CN 201711116727 A CN201711116727 A CN 201711116727A CN 109783144 B CN109783144 B CN 109783144B
- Authority
- CN
- China
- Prior art keywords
- variable information
- virtual environment
- variable
- elements
- physical hardware
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 177
- 238000012545 processing Methods 0.000 title claims abstract description 44
- 230000002452 interceptive effect Effects 0.000 title claims abstract description 22
- 230000008569 process Effects 0.000 claims abstract description 140
- 230000009471 action Effects 0.000 claims abstract description 102
- 230000003993 interaction Effects 0.000 claims abstract description 82
- 230000001960 triggered effect Effects 0.000 claims abstract description 36
- 230000004048 modification Effects 0.000 claims description 31
- 238000012986 modification Methods 0.000 claims description 31
- 238000013507 mapping Methods 0.000 claims description 3
- 230000008447 perception Effects 0.000 claims description 3
- 238000004590 computer program Methods 0.000 claims description 2
- 238000000605 extraction Methods 0.000 claims description 2
- 230000000977 initiatory effect Effects 0.000 claims 1
- 230000007246 mechanism Effects 0.000 abstract description 6
- 238000004891 communication Methods 0.000 description 41
- 238000010586 diagram Methods 0.000 description 18
- 230000001360 synchronised effect Effects 0.000 description 10
- 230000008859 change Effects 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 6
- 230000004044 response Effects 0.000 description 6
- 230000005236 sound signal Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000003672 processing method Methods 0.000 description 3
- 238000004883 computer application Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 206010034719 Personality change Diseases 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000004888 barrier function Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 208000013407 communication difficulty Diseases 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000033001 locomotion Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method and a device for processing variables in interactive realization of a virtual environment and a computer-readable storage medium. The method comprises the following steps: triggering to carry out variable configuration on elements deployed in the virtual environment, and obtaining variable information of element configuration; positioning the process to which the element belongs, and writing variable information into a memory space mapped by the process; sharing the variable information written into the memory space to other processes; through the shared variable information, other elements deployed in the virtual environment can sense the corresponding interaction triggered by the corresponding element through the shared variable information. The variable information sharing mechanism is introduced into the configuration of the variable related to the element custom configuration, so that the sharing of the custom configured variable in other elements can be realized, the custom configured element can be mutually sensed with other variables, corresponding interaction is triggered, the executed action of the custom configured element is not preset any more, and free interaction between the elements can be realized.
Description
Technical Field
The present invention relates to the field of computer application technologies, and in particular, to a method and an apparatus for processing variables in virtual environment interaction implementation, and a computer-readable storage medium.
Background
With the continuous development of computer applications, in the implemented application program, besides providing various functions for users, a virtual environment can be implemented for users, so that users can control roles in the virtual environment. For example, the virtual environment may be a game of play entered by the user, and the manipulated character is a virtual character in the game of play.
The interaction of the virtual environment is realized by interaction among various elements, namely when one element is triggered to interact, other elements can sense the interaction. The elements referred to are, on the one hand, the characters rendered for display in the virtual environment and, on the other hand, also contain the physical hardware associated with the characters in the virtual environment.
With the existence of more and more physical hardware capable of being controlled by programs, for example, various electronic components such as sensors, the control of the virtual environment is no longer limited between simple roles, and can be extended to the associated physical hardware by the roles.
This will make the virtual environment manipulated to interact, including the interaction between characters, between characters and physical hardware, and the interaction between characters and other characters caused by the interaction between characters and physical hardware.
However, since the program control in the physical hardware and the implementation of the virtual environment are usually performed through the development and programming that are independent of each other, the interaction that can be performed between the character and the physical hardware, particularly, the actions that can be performed by the physical hardware are preset and cannot be freely implemented, thereby further limiting the implementation of the interaction of the virtual environment.
This is due to the limitations of development and programming performed independently by the physical hardware, and the communication problems that exist as a result, the virtual environment does not fully implement the custom configuration of the existing elements, and the free interaction between the elements.
Disclosure of Invention
In order to solve the technical problems that the virtual environment in the related art cannot completely realize the custom configuration of the existing elements and the free interaction between the elements, the invention provides a method and a device for processing variables in the interactive realization of the virtual environment and a computer-readable storage medium.
A method for processing variables in interactive implementation of a virtual environment, the method comprising:
triggering to carry out variable configuration on elements deployed in a virtual environment, and obtaining variable information of the element configuration;
positioning the process to which the element belongs, and writing the variable information into the memory space mapped by the process;
sharing the variable information written into the memory space to other processes;
through the shared variable information, other elements deployed in the virtual environment can sense the corresponding interaction triggered by the corresponding element through the shared variable information.
An apparatus for processing variables in interactive implementation of a virtual environment, comprising:
the variable configuration module is used for triggering the variable configuration of elements deployed in the virtual environment to obtain the variable information of the element configuration;
the writing module is used for positioning the process to which the element belongs and writing the variable information into the memory space mapped by the process;
the sharing module is used for sharing the variable information written into the memory space to other processes;
and the interaction perception module is used for enabling other elements deployed in the virtual environment to perceive the triggered corresponding interaction of the corresponding elements through the shared variable information.
An apparatus for processing variables in interactive implementation of a virtual environment, comprising:
a processor; and
a memory having stored thereon computer readable instructions which, when executed by the processor, implement a method of processing variables in a virtual environment interaction implementation as previously described.
A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements a method of processing a variable in a virtual environment interaction implementation as previously described.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects:
in the process of deploying the elements in the virtual environment, the deployed elements are triggered to perform variable configuration to obtain variable information, a process to which the elements belong is positioned, the variable information is written into a memory space mapped by the process, the variable information written into the memory space is shared to other processes again, so that other elements deployed in the virtual environment can sense the triggered related interaction of the corresponding elements by sharing the variable information through the shared variable information, a sharing mechanism of the variable information is introduced aiming at the elements deployed in the virtual environment, the elements can be sensed mutually, and further the sharing of the custom-configured variables in other elements can be realized by introducing the variable information sharing mechanism of the variable configuration related to the custom configuration of the elements in the virtual environment, so that the custom-configured elements can be sensed with other variables, and triggering corresponding interaction, finishing the action that the element for self-defining is not preset, and carrying out free interaction between elements.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 illustrates a schematic diagram of an implementation environment in accordance with the present invention, according to an exemplary embodiment;
FIG. 2 is a block diagram illustrating an apparatus in accordance with an exemplary embodiment;
FIG. 3 is a flow diagram illustrating a method for processing variables in a virtual environment interaction implementation in accordance with an illustrative embodiment;
FIG. 4 is a flowchart illustrating details of step 310 according to a corresponding embodiment of FIG. 3;
FIG. 5 is a flowchart illustrating details of step 311 according to a corresponding embodiment shown in FIG. 4;
FIG. 6 is a flowchart illustrating a method of processing variables in a virtual environment interaction implementation in accordance with another illustrative embodiment;
FIG. 7 is a diagram illustrating relationships between application deployed variables implementing a virtual environment in accordance with an illustrative embodiment;
FIG. 8 is an interface display diagram illustrating control actions performed by a deployed role configuration to physical hardware in a virtual environment built by an application in accordance with an illustrative embodiment;
FIG. 9 is a diagram illustrating the sharing of communication global variables between process A and process B in accordance with an illustrative embodiment;
FIG. 10 is a block diagram illustrating an apparatus for processing variables in a virtual environment interaction implementation in accordance with an illustrative embodiment;
FIG. 11 is a block diagram illustrating details of a variable configuration module according to the corresponding embodiment of FIG. 10;
FIG. 12 is a block diagram illustrating an apparatus for processing variables in a virtual environment interaction implementation in accordance with another illustrative embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
FIG. 1 is a schematic diagram illustrating an implementation environment in accordance with the present invention, according to an exemplary embodiment. The implementation environment of the present invention includes a control end 110 and physical hardware 130.
The control terminal 110 is used for implementing a virtual environment and control logic associated with the virtual environment. The control terminal 110 may be at least one of a computer terminal, a smart phone, a tablet computer, and other terminal devices. In the virtual environment implemented by the control end 110, the deployed elements may include a character rendered and displayed in the virtual environment and the physical hardware 130 associated with the character.
In other words, the physical hardware 130 also exists as an element in a virtual environment.
The physical hardware 130 is physical hardware existing in the physical world separately from the control terminal 110, and may be, for example, various electronic components such as a sensor, or a cart equipped with various sensors and enclosed by a shaped housing, or any hardware device equipped with a communication connection interface (e.g., a WiFi communication connection interface).
The physical hardware 130 is used as the actual physical hardware in the physical world, and is accessed into the virtual environment constructed by the control terminal 110 through the associated role, on one hand, the physical hardware 130 senses and responds through interaction triggered by the role in the virtual environment, such as control over the role; on the other hand, interaction can also be triggered to physical hardware, thus making the character in the virtual environment perceive and respond.
That is, in this implementation environment, bidirectional interaction between characters and physical hardware can be realized, even if the characters are triggered to interact due to interaction with the physical hardware, so that the virtual environment, or other characters, can sense and respond.
It should be noted here that the control terminal 110 is only present, and the physical hardware 130 may be one or more than two, and may be of a single kind or multiple kinds.
FIG. 2 is a block diagram illustrating an apparatus according to an example embodiment. For example, the apparatus 200 may be a smartphone in the implementation environment described above.
Referring to fig. 2, the apparatus 200 may include one or more of the following components: a processing component 202, a memory 204, a power component 206, a multimedia component 208, an audio component 210, a sensor component 214, and a communication component 216.
The processing component 202 generally controls overall operation of the device 200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations, among others. The processing components 202 may include one or more processors 218 to execute instructions to perform all or a portion of the steps of the methods described below. Further, the processing component 202 can include one or more modules that facilitate interaction between the processing component 202 and other components. For example, the processing component 202 can include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.
The memory 204 is configured to store various types of data to support operations at the apparatus 200. Examples of such data include instructions for any application or method operating on the apparatus 200. The Memory 204 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. Also stored in memory 204 are one or more modules configured to be executed by the one or more processors 218 to perform all or a portion of the steps of any of the methods of fig. 3, 4, 5, and 6, described below.
The power supply component 206 provides power to the various components of the device 200. The power components 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 200.
The multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a touch panel. If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. The screen may further include an Organic Light Emitting Display (OLED for short).
The audio component 210 is configured to output and/or input audio signals. For example, the audio component 210 includes a Microphone (MIC) configured to receive external audio signals when the device 200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 204 or transmitted via the communication component 216. In some embodiments, audio component 210 also includes a speaker for outputting audio signals.
The sensor component 214 includes one or more sensors for providing various aspects of status assessment for the device 200. For example, the sensor assembly 214 may detect an open/closed state of the device 200, the relative positioning of the components, the sensor assembly 214 may also detect a change in position of the device 200 or a component of the device 200, and a change in temperature of the device 200. In some embodiments, the sensor assembly 214 may also include a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 216 is configured to facilitate wired or wireless communication between the apparatus 200 and other devices. The device 200 may access a WIreless network based on a communication standard, such as WiFi (WIreless-Fidelity). In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the Communication component 216 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, bluetooth technology, and other technologies.
In an exemplary embodiment, the apparatus 200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital signal processors, digital signal processing devices, programmable logic devices, field programmable gate arrays, controllers, microcontrollers, microprocessors or other electronic components for performing the methods described below.
FIG. 3 is a flow diagram illustrating a method for processing variables in a virtual environment interaction implementation in accordance with an illustrative embodiment. The method for processing variables in the interactive implementation of the virtual environment is applicable to the control end 110 indicated by the implementation environment shown in fig. 1, where the control end 110 is, in an exemplary embodiment, the apparatus shown in fig. 2. As shown in fig. 3, the method for processing variables in the interactive implementation of the virtual environment at least includes the following steps.
In step 310, triggering to perform variable configuration on the elements deployed in the virtual environment, and obtaining variable information for element configuration.
It should be explicitly stated that the referred elements are objects capable of triggering interaction in the virtual environment interaction implementation, and since there are various types of objects capable of triggering interaction in the virtual environment interaction implementation besides a number of the objects, the referred elements may be one or more than two, and may be of a single type or multiple types.
In one specific implementation of the exemplary embodiment, the deployed elements include at least a character rendered for display in the virtual environment and physical hardware associated with the character, but of course, other characters may be included, and the other characters may be characters associated with other physical hardware or characters existing separately, which is not limited herein.
Further, an element deployed by a virtual environment refers to an element loaded into a virtual environment interaction implementation, for example, a role loaded into the virtual environment, and for example, physical hardware accessed into the virtual environment interaction through the associated role. Since the element just completes the deployment of itself in the virtual environment, the configuration of the corresponding control logic has not been performed yet.
The variable configuration is performed for the elements deployed in the virtual environment, and the obtained variable information includes variable names and assignments, which may be default values or other values.
The variable information is a variable existing in the control logic configured for the element, and therefore, the variable configuration process performed is present in the configuration process of the control logic.
The deployment of elements for virtual environment interaction and the deployment of control logic for program control of the elements are both performed by the user, i.e. the user is implemented by graphical programming. In one exemplary embodiment, a toolbar exists in an application that implements a virtual environment, and all action blocks that are available for configuration of a currently deployed element exist in the toolbar and can be displayed in the toolbar in a sorted manner for selection by a user.
And the action blocks have the uniquely mapped code information, and along with the continuous increase of the action blocks which are selected and spliced together by the user for the deployed elements, the logic states among the code information are obtained according to the splicing relation among the action blocks besides the code information which is respectively mapped by the action blocks, so that the control logic corresponding to the deployed elements can be obtained.
In addition to defining the actions to be performed, the control logic declares and assigns values to the variables involved, and thus obtains variable information accordingly.
In step 330, the process to which the element belongs is located, and the variable information is written into the memory space mapped by the process.
As mentioned above, the element may be a character rendered and displayed in the virtual environment, or may be physical hardware. In the implementation of virtual environment interaction, whether role or physical hardware, certain actions are involved, and the actions that are executed are necessarily the actions defined by the configured control logic.
The execution of the action is controlled by the process to which the element belongs, and therefore, the variable information obtained by configuration is necessarily written into the memory space mapped by the process so as to be read when the control logic is executed.
That is, after obtaining the configured variable information for the currently deployed element, the process that belongs to executes write operation in the own memory space to write the variable information.
It should be further explained that, for a role, the process to which the physical hardware belongs is a virtual environment host process, and the process to which the physical hardware belongs is a process created in the physical hardware, that is, a hardware process.
It should be understood that, for each process, the memory space mapped by the process, variables involved in the control of the execution degree of the process, assignments of the variables, and the like, i.e., variable information, are stored in the memory space mapped by the process.
The configuration of the variables includes the declaration of the variables and the modification of the variables, and of course, for the modification of the variables, on the one hand, the modification of the original variables may be performed, and on the other hand, the implementation of the newly added variables may also be performed.
With the loading of the role in the virtual environment and the access of the physical hardware associated with the role, no corresponding variable information exists for the role and the physical hardware, which needs to be performed, and the configured variable information is created to the memory space mapped by the process.
In an exemplary embodiment, the storage address of the variable information in the memory space may be allocated by a hash assignment, and after the allocation of the storage address is completed, the variable information is written to the storage address, so as to complete the writing of the variable information in the memory space.
Further, hash assignment is performed on the variable name carried by the variable information, so as to index to the corresponding storage address in the memory space according to the variable name, and after the corresponding storage address is found, the write operation can be performed, and the variable information is written in.
In step 350, the variable information written into the memory space is shared to other processes.
Wherein, among all processes which interact to realize virtual environment interaction together, other processes are other processes except the currently deployed element attribution process. The synchronization of the respectively owned variable information is performed between the processes so that the variable information can be shared by the processes.
Sharing, namely synchronously storing the variable information in the memory space mapped by each process, and synchronously updating the variable information subsequently. After a variable information is configured, the variable information is shared to other processes along with the execution of the write operation and the synchronous storage, and synchronous updating is executed after the variable information is changed, so that other processes can sense the change.
In step 370, with the shared variable information, other elements deployed in the virtual environment are made to sense the corresponding interaction triggered by the corresponding element through the shared variable information.
In the implementation of the virtual environment interaction, as the element is triggered to interact, some variable information corresponding to the element changes accordingly, so that the variable information shared by other processes is synchronously updated due to the introduction of the variable information sharing mechanism.
For other processes, the interaction of the element corresponding to the variable information is sensed through the synchronous update of the variable information in the memory space mapped by the process, and at the moment, the sensed interaction is responded according to the configured control logic.
In a specific implementation of an exemplary embodiment, the element that triggered the interaction is a character that exists in the virtual environment and that character has associated physical hardware. The physical hardware belongs to a process, namely a hardware process, in a memory space mapped by the hardware process, variable information shared by the associated roles is synchronously updated, the interaction triggered by the associated roles is sensed through the synchronous updating, and at the moment, the physical hardware is controlled to respond through the execution of the corresponding control logic.
In another exemplary embodiment implementation, the element that triggers the interaction is physical hardware that is associated with a role in the virtual environment. With the interaction that the physical hardware is triggered, for example, a sensor arranged on the physical hardware senses an external change, and for example, a certain control button is triggered, the corresponding variable information configured on the physical hardware is changed. At this time, for the associated role, in the memory space mapped by the home process, the variable information shared by the associated role is synchronously updated, and the role senses the interaction triggered by the physical hardware along with the synchronous update, and then responds through the execution of the control logic of the role.
Therefore, custom control is realized for elements deployed in virtual environment interaction, interaction between roles and physical hardware can be freely realized under the action of a variable information sharing mechanism, so that custom configuration of the elements is completely realized, and the physical hardware existing as the elements can also be subjected to custom configuration.
Therefore, physical hardware and roles as elements are located in the same world, so that interaction between the physical hardware and the roles is naturally realized under the configuration of a user, inconvenience such as communication difficulty between the roles and the physical hardware is overcome, natural communication between the physical hardware and the roles can be realized, and the interaction between various elements such as the roles and the physical hardware is realized by low-threshold customization.
For the programming of the control of the role and the physical hardware, the communication barrier between the role and the physical hardware does not need to be considered any more, so the programming of the control logic can be completed in an intuitive mode, the programming threshold is lowered as far as possible, and users who are not professionally developed can complete the programming even by children of proper age.
Therefore, the global variable is realized, because the global variable is realized in a cross-process mode, the global variable is also a communication global variable, and from the view of a variable scope, the cross-process mode and the cross-physical entity mode are realized, the complexity of realizing connection, state maintenance, asynchronous scheduling and the like can be reduced to the maximum extent, the logic of a user is also transparent on different physical entities and application programs, and for the user, the interaction of roles and physical hardware is realized through control logic in the same environment.
Fig. 4 is a flowchart illustrating details of step 310 according to a corresponding embodiment of fig. 3. This step 310, as shown in FIG. 4, includes at least the following steps.
In step 311, the element corresponds to an action block available for configuration, and triggers dragging of the specified action block, and obtains a control logic formed by the specified action block.
For a currently deployed element, a specified action block is obtained along with the trigger of the drag operation in the configurable action block, and the number of the specified action blocks is one or more than two. When one action block is appointed, the mapped code information forms a control logic; when the designated action block is more than two, it should be understood that the designated action blocks are spliced together, so that the control logic can be formed by the code information mapped by the designated action block and the splicing relation.
It should be understood that the control logic is formed to indicate the action performed by the currently deployed element. In other words, the currently deployed elements are controlled to execute the specified actions through the execution of the formed control logic, so that the interaction is realized.
In step 313, variable information configured for the element is extracted by the control logic.
It should be understood that the control logic is formed by gathering code information, inevitably declares variables to create and assign variables, and also performs corresponding reading operation and modification operation to provide necessary parameters for the execution of the control logic, so that the variable information configured by the user on the currently deployed elements can be extracted and obtained by the control logic.
Fig. 5 is a flowchart illustrating details of step 311 according to a corresponding embodiment of fig. 4. The elements include the character rendered for display in the virtual environment and the character's associated physical hardware, step 311, shown in FIG. 5, includes at least the following steps.
In step 3111, in the action blocks that the role corresponds to and is available for configuration, the designated action blocks corresponding to the role and the physical hardware are determined according to the action block configuration in which the role executes the action and the physical hardware executes the action.
It should be further explained that the association between the character and the physical hardware includes that the character in the virtual environment is triggered and interacted due to the application of external changes such as user operation, etc., and generates a self-action change, thereby driving the physical hardware to respond and execute a certain action; but also includes that the physical hardware is triggered to interact to execute self action, and the role is influenced to execute certain action.
For example, when a sensor mounted in the physical hardware senses an external change, such as a change in temperature, light, etc., related information is transmitted to the main control module provided in the sensor, and the main control module feeds back the information to the associated character in the virtual environment, so that the associated character responds to the sensed external change.
For another example, the physical hardware is a combination of a motor and various components, and after a user operation is applied to an associated character in the virtual environment, the physical hardware can perform various mechanical motions under the driving of the motor of the physical hardware under the control action of the character on the physical hardware.
The physical hardware is accessed to the virtual environment based on the relevance between the physical hardware and the role, so that the mutual control of the role in the physical hardware and the role in the virtual environment can be realized through the communication between the physical hardware and the virtual environment, specifically, the communication between the hardware process and the virtual environment main process.
In step 3113, control logics corresponding to the role and the physical hardware are obtained from the mapping relationship between the designated action block and the code information and the splicing relationship between the designated action blocks, respectively.
The action blocks are substantially in the form of graphs corresponding to one or more pieces of code information controlled by programs related to the roles, so that the control logic corresponding to the roles is obtained according to the mapping relation between the specified action blocks and the code information and the splicing relation between the specified action blocks.
The role and the physical hardware have an association relationship, that is, the role and the physical hardware are interactive, so that the control logic corresponding to the role executes the realized action and also includes the control action on the physical hardware, and therefore, the control logic corresponding to the physical hardware can be obtained based on the control logic corresponding to the role.
In a specific implementation of an exemplary embodiment, deployment of a role associated with physical hardware in a virtual environment is implemented through execution of an extended load in the virtual environment, relative to a virtual role that is not associated with physical hardware.
The physical hardware is physical hardware capable of being controlled by a program, for example, a combination of various components such as a sensor, a display screen, and a motor, and the physical hardware can realize action execution through the program control. The virtual environment is constructed by a program running on the terminal equipment, and the user can trigger interaction of characters through the control of various characters in the virtual environment. The physical hardware exists outside the virtual environment, essentially in the form of a character.
The extended loading of the role associated with the physical hardware in the virtual environment is realized through role definition in advance. Specifically, the display style of the character in the virtual environment and the action that can be executed are defined to obtain a configuration file, the configuration file comprises a resource file required by the character to load the virtual environment and information related to action blocks available for configuration, and the resource file is used for defining the display style of the character in the virtual environment. The action block related information available for configuration will be used to indicate the action blocks that the defined role can lay in the toolbar.
Specifically, the configuration file corresponding to the character is used to define and describe the display style of the character and the action that can be performed. For example, a character associated with physical hardware whose configuration file defines, in addition to defining and describing the character's display style in the virtual environment and performing various implementable actions in the virtual environment, control actions for the physical hardware, and response actions to external changes applied to the physical hardware.
The role related to the physical hardware can be loaded into the virtual environment through the configuration file generated by definition, and the role is rendered and displayed in the virtual environment to obtain the graphic display of the role in the virtual environment.
At this time, for the physical hardware associated with the role, the process to which the physical hardware is controlled to create itself, that is, the hardware process, and the created hardware process is connected with the virtual environment main process to which the role belongs.
As the action block is configured on the role, a corresponding thread is then created for the action block, the thread belongs to the virtual environment main process, and the execution of the corresponding control logic is realized by controlling the role through the created thread.
It should be noted that the virtual environment construction display initially creates a virtual environment host process for this purpose, through which the execution of program control associated with the virtual environment is implemented. In one exemplary embodiment, in the execution of program control associated with a virtual environment, control of a generated task, for example, an action triggered by a role, can be realized in the form of creating a thread, that is, adopting a multi-thread mode under a main process of the virtual environment.
Along with the loading of the role associated with the physical hardware in the virtual environment, a corresponding thread is created for the action triggered by the role in the main process of the virtual environment; for the connected physical hardware, the creation process, namely the hardware process, of the physical hardware is controlled, and the connection between the hardware process and the virtual environment host process is established, so that the physical hardware is accessed to the virtual environment.
The physical hardware is accessed in the virtual environment, so that the communication between the physical hardware and the associated role in the virtual environment is carried out through the hardware process and the virtual environment main process, and then the physical hardware and the associated role are directly connected to the associated role through the corresponding thread on the basis, and the linkage between the physical hardware and the associated role is optimized while the actions triggered by various roles in the virtual environment are ensured to be executed concurrently through a multi-thread mode.
For example, a role is triggered to interact to perform a control action of the physical hardware, and since the control action is predefined by the role, there is a corresponding thread. At this time, the variable information corresponding to the control action is generated or modified only under the action of the corresponding thread, the thread transmits the variable information to the virtual environment main process, and then the variable information is transmitted to the physical hardware through the connection between the virtual environment main process and the hardware process, so that the dynamically changed variable information is synchronized to the physical hardware, the physical hardware is driven to execute the specified action under the action of the synchronized variable information, and the execution of the control action of the role associated with the physical hardware is finished.
Through the implementation process, the interaction between the role and the physical hardware can be directly and smoothly carried out, and a foundation is laid for mutual control and mutual linkage between the role and the physical hardware while the user has the physical hardware to freely realize the loading of the associated role in the virtual environment.
Therefore, for the action execution of the role and the action execution of the physical hardware, the corresponding control logic can be realized through the configuration of the action block, the graphical programming is realized for the user, the user can intuitively complete the programming according to the expectation of the user in the graphical programming process, the realization difficulty is very low, and the instant control effect can be provided for the user, namely once the splicing of the action block is completed, the role can be directly controlled, and even the physical hardware can be controlled.
In an exemplary embodiment, step 350 in the embodiment corresponding to fig. 3 includes: and according to the variable information written into the memory space, the process to which the element belongs initiates broadcasting, and the broadcasted data packet carries the variable information.
After the variable information is written, the written variable information can be synchronized. The synchronization of the written variable information is realized by broadcasting among the processes. That is to say, after the variable information is written, the broadcasting between the processes can be performed, so that other processes can synchronize to the variable information, and further, the sharing of the variable information between all the processes is realized, and the efficiency of realizing the communication and control between the processes is facilitated.
FIG. 6 is a flowchart illustrating a method for processing variables in a virtual environment interaction implementation, according to another illustrative embodiment. After step 350, as shown in fig. 6, the method for processing variables in the interactive implementation of the virtual environment further includes the following steps.
In step 410, a modification operation of the variable information is triggered in the memory space mapped by the process, and the variable information is created in the memory space through the execution of the modification operation, or a value in the variable information is modified.
The modification operation referred to herein is applied to the variable information corresponding to the element controlled by the process in the memory space, but is not applied to the variable information shared by the processes. This modification operation is caused by the process-controlled element being triggered to interact. The modification operation includes modification of assignment in the variable information, addition and deletion of the variable, and the modification operation is an operation of changing the originally existing variable information.
It should be understood that the element triggered to interact, the corresponding stored variable information, will be triggered to modify operation, and modify the variable information stored in itself into new variable information corresponding to the interaction, which is the response of the element itself to the triggered interaction. In an exemplary embodiment, the action to be performed by the element triggered to interact with the variable information corresponding to the element is changed, and when the element is in a role associated with physical hardware, the performed action also comprises a control action on the physical hardware.
For example, a touch operation is triggered on a character in the virtual environment, at this time, the corresponding attribute state information is correspondingly triggered to modify the operation, so that the variable information corresponding to the character changes, and along with the change, the character is also dynamically displayed in the virtual environment in response to the touch operation, and the changed variable information is synchronized to the physical hardware.
In an exemplary embodiment, for triggering the modification operation, a storage address, that is, an address where the variable information triggering the modification operation is written, may also be located according to the acted variable name, and the modification operation will be performed on the written variable information at the storage address.
In step 430, inter-process broadcasting is performed according to the variable information obtained by performing the modification operation to share the variable information to other processes.
The method comprises the steps of receiving variable information, sending a broadcast message to other processes, and receiving a response message from the other processes, wherein the broadcast message is sent to the other processes by the other processes, and the response message is sent to the other processes by the other processes.
Through the exemplary embodiment, due to the introduction of the inter-process variable information synchronization mechanism, all elements can be in the same operating environment, that is, for the existing role and physical hardware which are associated with each other, programming of program control in the physical hardware and the role can be realized together, programming based on the role and the physical hardware is not needed, and realization of communication between the role and the physical hardware is not needed to be solved, and at a user level, a user can realize interaction between the role and the physical hardware at will.
By the exemplary embodiment described above, even the user of a low age, such as a child, can be programmed to perform the inter-operation with the character in the virtual environment and the interaction with the physical hardware, and the actions of the desired character and the physical hardware can be performed by performing the fast configuration by itself, for example, when the physical hardware is turned on, the associated character in the virtual environment outputs the designated voice, and when the physical hardware is turned off, the associated character in the virtual environment enters the sleep state.
For another example, when the state of the virtual environment changes, for example, the user operates a character associated with the physical hardware to successfully break through the game, the physical hardware flashes and plays music.
As another example, if the physical hardware senses a decrease in external temperature, its associated role in the virtual environment will control the event of snow, etc.
The physical hardware may also accept speech so that its associated character in the virtual environment converts the speech to text.
The above can be quickly realized by freely configuring the roles and the physical hardware in the virtual environment by the user, and most of learning cost is not needed.
The following describes a process of processing variables in the above virtual environment interaction implementation by taking a physical hardware as an example and combining a specific scenario. In this specific scenario, taking the variable processing that the physical hardware must be transmitted to the associated role, that is, the physical hardware is required to be transmitted to the terminal device where the virtual environment is located, as an example, this variable is a communication global variable, and the processing of the communication global variable will be implemented through the embodiment of the present invention in the virtual environment interaction implementation.
It should be noted first that there are three variables, namely local variables, global variables and communication global variables, for the application implementing the virtual environment. FIG. 7 is a diagram illustrating relationships between application deployed variables implementing a virtual environment in accordance with an illustrative embodiment.
As shown in fig. 7, the application program implementing the virtual environment has three variables in its operation, and has different variable scopes. The local variables are variables acting in the function body, the global variables are variables which can be used in the whole program process, and the communication global variables are variables which can cross processes and physical devices, and are used for realizing the mutual control between the roles and the physical hardware in the virtual environment.
It can thus be seen that the communication global variables present in the application are specific examples of variables to which the foregoing exemplary embodiments of the present invention refer.
FIG. 8 is an interface display diagram illustrating control actions performed by a deployed role configuration to physical hardware in a virtual environment built by an application in accordance with an illustrative embodiment. The virtual environment constructed by the application program has a role associated with the physical hardware, and the control of the physical hardware is realized through the role.
Specifically, referring to FIG. 8 in conjunction, the role is stitched through the action blocks, and the control logic for timing the run time when the tact switch A is pressed, i.e., action block stitching area 510, has been configured for the physical hardware.
In the implementation of this control logic, communication between the roles and the physical hardware is necessarily performed. Thus, the variables configured by the control logic are the communication global variables referred to above.
In the creation area 510 of the visual programming, the creation of a communication global variable is performed for this purpose, and this communication global variable includes at least the runtime. Specifically, the specified action block is dragged to the creation area 510 of the visual programming, and is spliced together according to the mapped code information, so that the creation of the communication global variable of the runtime can be completed.
To this end, for a role, a host process, referred to as process a herein, is transferred to a hardware process corresponding to physical hardware, referred to as process B herein, through a home virtual environment.
The processes independently cache data, so that different memory spaces are respectively mapped, and the data to be cached is configured to the storage address in the memory space in a hash assignment manner.
Therefore, each process creates a hash (hash) table, and the created communication global variable stores the hash corresponding to the variable name in the hash table, and further indexes to the corresponding storage address, so that the communication global variable executes write operation on the storage address.
Here, three major phases will be involved, variable declaration, variable reading, and variable modification. Firstly, for variable statement, the process of establishing variables on the indexed storage address of the hash table and giving default values is adopted; secondly, for reading the variable, indexing the slave hash table to a storage address according to the variable name to execute the reading process; and finally, modifying the variables, namely establishing the variables, assigning the variables and modifying the assignments, specifically, synchronously modifying the variables synchronously existing in each process, searching the variables in the hash table, if the variables do not exist, establishing and assigning the variables, and if the variables exist, modifying the assignments.
FIG. 9 is a diagram illustrating the sharing of communication global variables between process A and process B in accordance with an illustrative embodiment. Of course, it should be further emphasized that, for the virtual environment interaction implemented by the application program, the existing processes are not limited to the process a and the process B, and are only described as the process a and the process B.
Referring to FIG. 9 in conjunction, the memory space exists in the form of a cache table. The initialization of the cache table will be performed at the beginning of its execution, whether it is process a or process B.
After initialization is completed, various communication global variables are created, the variables are declared respectively, the variables are placed into a cache table and given default values, and the variables are synchronized to another process.
The variable reading and modification process can be performed subsequently, as shown in the subsequent timing sequence. When the variable reading is needed, the needed variable can be obtained from the cache table, and when the variable needs to be modified, the synchronization between the two processes is carried out.
Therefore, the interaction between the role and the physical hardware has no difficulty of communication, and particularly for a novice, a user can easily realize communication and response among different processes and different physical entities through the action of a communication global variable, so that the programming threshold is reduced in the most intuitive mode.
Through the implementation process, communication can be conveniently established between a network and a physical entity in a plurality of environments, understanding and implementation cost is reduced, in a graphical programming interface provided for a user, control logic configured by the user can be simultaneously executed on software and hardware, for interaction of a plurality of physical entities and roles expected by the user, in a common programming concept, complex processes such as connection, state maintenance, asynchronous calling and the like need to be realized, learning and understanding cost of the user is increased, and a method of a cross-physical domain global variable is used, so that logic of the user is made transparent on different physical hardware and software.
Because the communication global variables are consistent not only in different program controls but also in the cross-physical entity, the connection synchronization process can be automatically maintained, the code implementation in the programming is simplified, the linkage between the role and the physical hardware is enhanced, and for a user, the functions of a state panel, a remote control end, a console and the like of the physical hardware can be simply and quickly realized through a virtual environment.
The following is an embodiment of the apparatus of the present invention, which may be used to execute an embodiment of a processing method for a variable in the above-described interactive implementation of a virtual environment of the present invention. For details that are not disclosed in the embodiments of the apparatus of the present invention, refer to the embodiments of the method for processing variables in the interactive implementation of the virtual environment of the present invention.
FIG. 10 is a block diagram illustrating an apparatus for processing variables in a virtual environment interaction implementation in accordance with an illustrative embodiment. As shown in fig. 10, the apparatus for processing variables in the interactive implementation of the virtual environment at least includes: a variable configuration module 610, a write module 630, a share module 650, and an interaction awareness module 670.
The variable configuration module 610 is configured to trigger variable configuration of elements deployed in the virtual environment, and obtain variable information of element configuration.
A writing module 630, configured to locate a process to which the element belongs, and write the variable information into a memory space mapped by the process.
The sharing module 650 is configured to share the variable information written in the memory space to other processes.
And the interaction sensing module 670 is configured to enable other elements deployed in the virtual environment to sense, through the shared variable information, a corresponding interaction triggered by the corresponding element.
Fig. 11 is a block diagram illustrating details of a variable configuration module according to the corresponding embodiment of fig. 10. The variable configuration module 610, as shown in fig. 11, at least includes: an action block configuration unit 611 and a variable extraction unit 613.
The action block configuration unit 611 is configured to trigger dragging of the specified action block in the action blocks whose elements correspond to the elements that can be configured, and acquire a control logic formed by the specified action block.
A variable extracting unit 613, configured to extract variable information configured to the element by the control logic.
FIG. 12 is a block diagram illustrating an apparatus for processing variables in a virtual environment interaction implementation in accordance with another illustrative embodiment. As shown in fig. 12, the apparatus for processing variables in the interactive implementation of the virtual environment further includes: a modify operation execution module 710 and a modify broadcast module 730.
And a modification operation execution module 710, configured to trigger a modification operation on the variable information in the memory space mapped by the process, create the variable information in the memory space through execution of the modification operation, or modify a value in the variable information.
And a modification broadcasting module 730, configured to perform inter-process broadcasting according to the variable information obtained by performing the modification operation, so as to share the variable information with other processes.
Optionally, the present invention further provides a processing apparatus for processing a variable in a virtual environment interactive implementation, where the processing apparatus for processing a variable in a virtual environment interactive implementation may execute all or part of the steps of the processing method for a variable in a virtual environment interactive implementation shown in any one of fig. 3, fig. 4, fig. 5, and fig. 6 in the foregoing implementation environment. The device comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform:
triggering to carry out variable configuration on elements deployed in a virtual environment, and obtaining variable information of the element configuration;
positioning the process to which the element belongs, and writing the variable information into the memory space mapped by the process;
sharing the variable information written into the memory space to other processes;
through the shared variable information, other elements deployed in the virtual environment can sense the corresponding interaction triggered by the corresponding element through the shared variable information.
The specific manner in which the processor of the apparatus in this embodiment performs operations has been described in detail in the embodiment of the processing method of variables in the interactive implementation of the virtual environment, and will not be described in detail here.
In an exemplary embodiment, a storage medium is also provided that is a computer-readable storage medium, such as may be transitory and non-transitory computer-readable storage media, including instructions. The storage medium includes, for example, the memory 204 of instructions executable by the processor 218 of the device 200 to perform the methods described above.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (9)
1. A method for processing variables in interactive implementation of a virtual environment is characterized by comprising the following steps:
triggering to perform variable configuration on elements deployed in a virtual environment, and obtaining variable information configured on the elements, wherein the variable information is extracted from control logic of the deployed elements for executing specified actions;
positioning the process to which the element belongs, and writing the variable information into the memory space mapped by the process;
according to the variable information written into the memory space, the process to which the element belongs initiates broadcasting, the variable information is synchronously stored in the memory space mapped by each process so as to share the variable information to other processes, and the broadcasted data packet carries the variable information;
through the shared variable information, other elements deployed in the virtual environment can sense the corresponding interaction triggered by the corresponding element through the shared variable information, and respond through the execution of the control logic of the elements.
2. The method of claim 1, wherein the triggering variable configuration of an element deployed in a virtual environment, and obtaining variable information for the element configuration comprises:
the element corresponds to an action block which can be configured to trigger dragging of a specified action block, and a control logic formed by the specified action block is obtained;
and extracting variable information configured to the elements by the control logic.
3. The method of claim 2, wherein the elements include a character rendered for display in the virtual environment and physical hardware associated with the character;
the element is corresponding to an action block which can be configured, and is triggered to drag a specified action block, and control logic formed by the specified action block is obtained, and the control logic comprises the following steps:
in the action blocks which are corresponding to the roles and can be configured, determining the designated action blocks which are respectively corresponding to the roles and the physical hardware according to the action block configuration of the interaction between the roles and the physical hardware for the actions executed by the roles and the actions executed by the physical hardware;
and respectively obtaining the control logic corresponding to the roles and the physical hardware according to the mapping relation between the designated action blocks and the code information and the splicing relation between the designated action blocks.
4. The method of claim 1, wherein after sharing the variable information written to memory space to other processes, the method comprises:
triggering the modification operation of the variable information in the memory space mapped by the process, and creating the variable information in the memory space or modifying the value in the variable information through the execution of the modification operation;
and broadcasting among the processes according to the variable information obtained by executing the modification operation so as to share the variable information to other processes.
5. An apparatus for processing variables in interactive implementation of a virtual environment, comprising:
the variable configuration module is used for triggering the variable configuration of the elements deployed in the virtual environment to obtain the variable information configured for the elements, and the variable information is extracted from the control logic of the deployed elements for executing the specified action;
the writing module is used for positioning the process to which the element belongs and writing the variable information into the memory space mapped by the process;
the sharing module is used for initiating broadcasting according to the variable information written into the memory space and the process to which the element belongs, and synchronously storing the variable information in the memory space mapped by each process so as to share the variable information to other processes, wherein the broadcasted data packet carries the variable information;
and the interaction perception module is used for enabling other elements deployed in the virtual environment to perceive the triggered corresponding interaction of the corresponding elements through the shared variable information and responding through the execution of the control logic of the interaction perception module.
6. The apparatus of claim 5, wherein the variable configuration module comprises:
the action block configuration unit is used for triggering and dragging the appointed action block in the action blocks which correspond to the elements and can be configured, and acquiring the control logic formed by the appointed action block;
and the variable extraction unit is used for extracting the variable information configured to the elements by the control logic.
7. The apparatus of claim 5, further comprising:
the modification operation execution module is used for triggering modification operation of variable information in the memory space mapped by the process, and creating the variable information in the memory space or modifying the value in the variable information through the execution of the modification operation;
and the modification broadcasting module is used for broadcasting among the processes according to the variable information obtained by executing the modification operation so as to share the variable information to other processes.
8. An apparatus for processing variables in interactive implementation of a virtual environment, comprising:
a processor; and
a memory having stored thereon computer-readable instructions that, when executed by the processor, implement a method of processing a variable in a virtual environment interaction implementation according to any one of claims 1 to 4.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements a method of processing a variable in a virtual environment interaction implementation according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711116727.6A CN109783144B (en) | 2017-11-13 | 2017-11-13 | Method and device for processing variable in interactive realization of virtual environment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711116727.6A CN109783144B (en) | 2017-11-13 | 2017-11-13 | Method and device for processing variable in interactive realization of virtual environment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109783144A CN109783144A (en) | 2019-05-21 |
CN109783144B true CN109783144B (en) | 2022-03-25 |
Family
ID=66493813
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711116727.6A Active CN109783144B (en) | 2017-11-13 | 2017-11-13 | Method and device for processing variable in interactive realization of virtual environment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109783144B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112925572B (en) * | 2021-03-01 | 2023-05-23 | 联想(北京)有限公司 | Control method and device and electronic equipment |
CN114995877B (en) * | 2022-08-03 | 2022-10-28 | 平安银行股份有限公司 | Variable configuration method and device |
CN116974222B (en) * | 2023-06-25 | 2024-08-06 | 上海同星智能科技有限公司 | Automatic reading and writing method for automobile calibration signal and automobile calibration system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102576253A (en) * | 2009-07-31 | 2012-07-11 | 雷蛇装置(亚太)私人有限公司 | System and method for unified-context mapping of physical input device controls to application program actions |
CN102971723A (en) * | 2011-06-28 | 2013-03-13 | 华为技术有限公司 | Distributed multi-process communication method and device |
CN104881330A (en) * | 2015-05-22 | 2015-09-02 | 大唐移动通信设备有限公司 | Multi-process data sharing method and device |
CN106681479A (en) * | 2015-11-05 | 2017-05-17 | 丰唐物联技术(深圳)有限公司 | User interaction method and system based on virtual reality |
CN107315481A (en) * | 2017-07-17 | 2017-11-03 | 西交利物浦大学 | The control method and control system of interbehavior under a kind of virtual environment |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060195411A1 (en) * | 2005-02-28 | 2006-08-31 | Microsoft Corporation | End user data activation |
CN101163133B (en) * | 2006-10-10 | 2011-06-29 | 天津中科蓝鲸信息技术有限公司 | Communication system and method of implementing resource sharing under multi-machine virtual environment |
WO2009079407A2 (en) * | 2007-12-14 | 2009-06-25 | Jagtag Corp | Apparatuses, methods, and systems for a code-mediated content delivery platform |
CN101721811A (en) * | 2008-10-30 | 2010-06-09 | 财团法人工业技术研究院 | Game input device and game system applying same |
CN103136343A (en) * | 2013-02-05 | 2013-06-05 | 中国科学院上海微系统与信息技术研究所 | Shared resource real-time interaction method |
CN104699508B (en) * | 2015-03-25 | 2017-08-22 | 南京大学 | Rapid deployment and renewal virtual environment system and its method in cloud computing platform |
CN106648084A (en) * | 2016-12-09 | 2017-05-10 | 深圳市天易联科技有限公司 | Data processing method and device in virtual reality equipment |
CN106648939A (en) * | 2016-12-30 | 2017-05-10 | 上海寰视网络科技有限公司 | Method and equipment for inter-process resource sharing |
-
2017
- 2017-11-13 CN CN201711116727.6A patent/CN109783144B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102576253A (en) * | 2009-07-31 | 2012-07-11 | 雷蛇装置(亚太)私人有限公司 | System and method for unified-context mapping of physical input device controls to application program actions |
CN102971723A (en) * | 2011-06-28 | 2013-03-13 | 华为技术有限公司 | Distributed multi-process communication method and device |
CN104881330A (en) * | 2015-05-22 | 2015-09-02 | 大唐移动通信设备有限公司 | Multi-process data sharing method and device |
CN106681479A (en) * | 2015-11-05 | 2017-05-17 | 丰唐物联技术(深圳)有限公司 | User interaction method and system based on virtual reality |
CN107315481A (en) * | 2017-07-17 | 2017-11-03 | 西交利物浦大学 | The control method and control system of interbehavior under a kind of virtual environment |
Also Published As
Publication number | Publication date |
---|---|
CN109783144A (en) | 2019-05-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10853979B2 (en) | Electronic device and method for displaying screen thereof | |
KR102497195B1 (en) | A mehtod for processing contents, an electronic device and a storage medium therefor | |
KR102276853B1 (en) | Memory Allocating Method and Electronic device supporting the same | |
US20160234075A1 (en) | System and methods for settings cards | |
CN113473204A (en) | Information display method and device, electronic equipment and storage medium | |
US20160105540A1 (en) | Apparatus and method for displaying user interface | |
CN113542503B (en) | Method, electronic device and system for creating application shortcut | |
CN116302227A (en) | Method for combining multiple applications and simultaneously starting multiple applications and electronic equipment | |
CN109783144B (en) | Method and device for processing variable in interactive realization of virtual environment and storage medium | |
EP3016319B1 (en) | Method and apparatus for dynamically displaying device list | |
KR20160020166A (en) | Electronic apparatus and screen diplaying method thereof | |
KR20160062414A (en) | Electronic device and method for controlling object in electronic device | |
CN111225108A (en) | Communication terminal and card display method of negative screen interface | |
WO2015184736A1 (en) | Method and terminal for transforming background picture of touchscreen device | |
KR20160003400A (en) | user terminal apparatus and control method thereof | |
CN107247550A (en) | One kind application switching method and device, computer installation, readable storage medium storing program for executing | |
CN110971974B (en) | Configuration parameter creating method, device, terminal and storage medium | |
CN108279835B (en) | Window display control method and device | |
WO2018010326A1 (en) | Screen display method and device | |
EP3035313B1 (en) | Method and apparatus for remote control | |
CN108829473B (en) | Event response method, device and storage medium | |
CN113010157A (en) | Code generation method and device | |
CN112965773A (en) | Method, apparatus, device and storage medium for information display | |
KR20160076347A (en) | Device for Providing Accessary Information Based UI and Method Thereof | |
CN108132736A (en) | Display control method and device in window |
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 | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: Processing methods, devices, and storage media for variables in virtual environment interaction implementation Effective date of registration: 20231213 Granted publication date: 20220325 Pledgee: Bank of Beijing Limited by Share Ltd. Shenzhen branch Pledgor: MAKEBLOCK Co.,Ltd. Registration number: Y2023980071594 |