Function control method and device of virtual control equipment, equipment and medium

By determining the priority level of business status in virtual reality space and the associated device functions, the virtual control device manages its functions under different business statuses, solving the problem of mutually exclusive equipment functions and ensuring the accuracy of functional services.

CN119002683APending Publication Date: 2024-11-22BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310575278.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-19
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

Virtual control devices have mutually exclusive equipment functions under different business states, making them difficult to effectively manage, affecting the accuracy of functional services.

Method used

By determining the priority level of the current service status in the virtual reality space, correlating the device functions and candidate switch status information, determining the target switch status information based on the service priority level and candidate switch status information, and controlling the virtual control device to provide functional services.

Benefits of technology

It realizes the functional management of virtual control devices in different business states, ensures the accuracy of functional services, and avoids functional mutual exclusion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119002683A_ABST
    Figure CN119002683A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a function control method and device of virtual control equipment, equipment and a medium. The method comprises the steps of determining a service priority level of each service state in at least one service state which is currently started in a virtual reality space; determining at least one equipment function associated with the preset virtual control equipment in each business state, and determining candidate switch state information of each equipment function in the corresponding business state; determining target on-off state information of all the equipment functions corresponding to at least one business state according to the business priority level corresponding to the equipment function and the corresponding candidate on-off state information; and controlling the virtual control device to provide a device function service according to the target switch state information. In the embodiment of the invention, the equipment function management of the virtual control equipment in different business states is realized, mutual exclusion of business functions in different business states is avoided, and the accuracy of the function service provided by the virtual control equipment is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of virtual reality technology, and in particular to a function control method, device, equipment and medium for a virtual control device. Background Art

[0002] Virtual reality (VR) technology, also known as virtual environment, spiritual environment or artificial environment, refers to the technology of using computers to generate a virtual world that can directly exert visual, auditory and tactile sensations on participants and allow them to observe and operate interactively.

[0003] In the related art, virtual control devices such as handles are usually used to interact with virtual reality space. Different virtual control devices usually require different device functions in different business states, and device functions may be mutually exclusive in different business states. For example, business state 1 requires turning off device function a, while business state 2 requires turning on device function a. Therefore, there is an urgent need for a method to manage the device functions of virtual control devices in different business states. Summary of the invention

[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a function control method, apparatus, device and medium for a virtual control device, which realizes device function management of the virtual control device under different business states and ensures the accuracy of the functional services provided by the virtual control device.

[0005] An embodiment of the present disclosure provides a function control method for a virtual control device, the method comprising: determining a service priority level for each of at least one service state currently enabled in a virtual reality space; determining at least one device function associated with each of the service states and a preset virtual control device, and determining candidate switch state information for each of the device functions in the corresponding service state; determining target switch state information for all of the device functions corresponding to the at least one service state based on the service priority levels and corresponding candidate switch state information corresponding to the device functions; and controlling the virtual control device to provide device function services based on the target switch state information.

[0006] The disclosed embodiment also provides a function control device for a virtual control device, the device comprising: a first determination module, used to determine the service priority level of each business state in at least one business state currently enabled in a virtual reality space; a second determination module, used to determine at least one device function associated with each of the business states with a preset virtual control device, and determine candidate switch state information of each of the device functions in the corresponding business state; a third determination module, used to determine target switch state information of all the device functions corresponding to the at least one business state according to the service priority level corresponding to the device function and the corresponding candidate switch state information; and a control module, used to control the virtual control device to provide device function services according to the target switch state information.

[0007] An embodiment of the present disclosure also provides an electronic device, which includes: a processor; a memory for storing executable instructions of the processor; the processor is used to read the executable instructions from the memory and execute the instructions to implement the function control method of the virtual control device provided in the embodiment of the present disclosure.

[0008] The embodiment of the present disclosure further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the function control method of the virtual control device provided by the embodiment of the present disclosure.

[0009] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:

[0010] The functional control scheme of the virtual control device provided in the embodiment of the present disclosure determines the service priority level of each business state in at least one business state currently enabled in the virtual reality space, determines at least one device function associated with each business state and the preset virtual control device, and determines the candidate switch state information of each device function in the corresponding business state, and then, according to the service priority level corresponding to the device function and the corresponding candidate switch state information, determines the target switch state information of all device functions corresponding to at least one business state, and controls the virtual control device to provide device function services according to the target switch state information. In the embodiment of the present disclosure, the device function management of the virtual control device in different business states is realized, and the accuracy of the functional services provided by the virtual control device is guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0012] Figure 1 is a structural schematic diagram of a virtual reality device according to an embodiment of the present disclosure;

[0013] Figure 2 A schematic diagram of an application scenario of a virtual control device according to an embodiment of the present disclosure;

[0014] Figure 3 A flowchart of a function control method of a virtual control device provided by an embodiment of the present disclosure;

[0015] Figure 4 A schematic diagram of a function control scenario of a virtual control device provided in an embodiment of the present disclosure;

[0016] Figure 5 A schematic diagram of a functional control framework of another virtual control device provided in an embodiment of the present disclosure;

[0017] Figure 6 A schematic diagram of another functional control scenario of a virtual control device provided in an embodiment of the present disclosure;

[0018] Figure 7 A schematic diagram of the structure of a function control device of a virtual control device provided by an embodiment of the present disclosure;

[0019] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0020] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0021] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0022] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0023] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0024] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0025] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0026] In order to solve the above problems, the embodiment of the present disclosure provides a function control method of a virtual control device. Before introducing the method, some technical concepts or noun concepts involved in this article are first explained:

[0027] Virtual reality devices, terminals for realizing virtual reality effects, can usually be provided in the form of glasses, helmet-mounted displays (Head Mount Display, HMD), and contact lenses to realize visual perception and other forms of perception. Of course, the form of virtual reality devices is not limited to this, and can be further miniaturized or enlarged as needed.

[0028] The virtual reality devices described in the embodiments of the present disclosure may include but are not limited to the following types:

[0029] Computer-based virtual reality (PCVR) devices use the PC to perform relevant calculations and data output for virtual reality functions. External computer-based virtual reality devices use the data output by the PC to achieve virtual reality effects.

[0030] Mobile virtual reality devices support the setting of mobile terminals (such as smart phones) in various ways (such as head-mounted displays with dedicated card slots). Through wired or wireless connection with the mobile terminal, the mobile terminal performs relevant calculations of virtual reality functions and outputs data to the mobile virtual reality device, such as watching virtual reality videos through the mobile terminal's APP.

[0031] The all-in-one virtual reality device has a processor for performing relevant calculations of virtual functions, and thus has independent virtual reality input and output functions. It does not need to be connected to a PC or mobile terminal and has a high degree of freedom in use.

[0032] Virtual reality objects are objects that interact in virtual scenes, are controlled by users or robot programs (for example, robot programs based on artificial intelligence), and can be still, move, and perform various behaviors in virtual scenes.

[0033] like Figure 1 As shown, the HMD is relatively light, ergonomically comfortable, and provides high-resolution content with low latency. A posture detection sensor (such as a nine-axis sensor) is provided in the virtual reality device to detect the posture changes of the virtual reality device in real time. If the user wears the virtual reality device, when the posture of the user's head changes, the real-time posture of the head will be transmitted to the processor to calculate the user's gaze point in the virtual environment, and the image in the user's gaze range (i.e., virtual field of view) in the three-dimensional model of the virtual environment is calculated based on the gaze point, and displayed on the display screen, so that people can have an immersive experience as if they were watching in the real environment.

[0034] In this embodiment, when the user wears the HMD device and opens a predetermined application, such as a live video application, the HMD device will run a corresponding virtual scene, which can be a simulated environment of the real world, a semi-simulated and semi-fictional virtual scene, or a purely fictional virtual scene. The virtual scene can be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene. The embodiment of the present disclosure does not limit the dimension of the virtual scene. For example, the virtual scene may include characters, sky, land, ocean, etc., and the land may include environmental elements such as deserts and cities. The user can control the virtual object to move in the virtual scene, and can also interactively control the controls, models, display content, characters, etc. in the virtual scene through virtual control devices such as handle devices.

[0035] Among them, Figure 2 As shown, the user operates the virtual control device in the real world to operate the virtual objects in the virtual reality space. For example, when the virtual scene is a video playback business scene, a ray model of the virtual control device can be displayed on the home page of the video playback. The ray model is used to intuitively indicate the virtual object or operation direction selected by the current virtual control device.

[0036] The method is introduced below in conjunction with specific embodiments.

[0037] Figure 3 The present invention provides a flowchart of a method for controlling the function of a virtual control device, which can be executed by a function control device of a virtual control device, wherein the device can be implemented by software and / or hardware, and can generally be integrated into an electronic device corresponding to virtual reality technology. Figure 3 As shown, the method includes:

[0038] Step 301: Determine the service priority level of each service state in at least one service state currently enabled in the virtual reality space.

[0039] It can be understood that at least one or more business states can be delineated in the same business scenario, and the interactive operations under different business states are realized through virtual control devices, wherein the business scenario is the interactive scene entered in the current virtual reality space, such as a concert scene, a video playback scene, etc., and the business state is a business scenario interactive state of the interactive operations that can be executed in the corresponding scene. For example, for a concert scene, the corresponding business state may be the barrage sending business state, the concert shooting business state, etc.; for example, for a video playback scene, the corresponding business state may be the video playback initial business state, the video selection business state, the video playback business state, etc.

[0040] The device functions that may be required under different business conditions are different and may even be mutually exclusive. The device functions may be pre-defined interactive functions that a virtual control device can provide. For example, for virtual control device 1, the device functions that it can provide may include displaying a default model of the virtual control device, displaying a custom model of the virtual control device, displaying a ray model of the virtual control device, displaying an arrow model of the virtual control device, etc.

[0041] For example, in a concert scenario, in the bullet screen sending service state, the required device function is to display the default model of the virtual control device (for example, Figure 4 The handle model shown in the left figure), does not display the custom model of the virtual control device, and the device functions required in the concert shooting business state are not to display the default model of the virtual control device, display the custom model of the virtual control device (for example, Figure 4 Therefore, in order to realize the management of the device functions of the virtual device under different business states, in one embodiment of the present disclosure, the business priority level of each business state in at least one business state currently opened in the virtual reality space is determined to facilitate the subsequent management of the device functions according to the business priority level.

[0042] It should be noted that in different application scenarios, the methods for determining service priority levels are different, as shown below:

[0043] In some possible embodiments, it is considered that the most recently opened service state is generally the service state that the user has priority to use. For example, in the video playback state, there is an entry order restriction between different service states. First, the video playback service state is entered, then the video selection service state is entered, and then the video playback service state is entered, and then the video playback service state is entered, etc., and the most recently entered service state is obviously the service state that the user is currently using. Therefore, the service priority level is determined according to the opening order of the service states. The opening order information is inversely proportional to the service priority level. The later the opening order is, the higher the service priority level is.

[0044] In some possible embodiments, the service priority level of the corresponding service status in each service scenario is pre-marked. In this embodiment, the service status identifier of each service status is obtained, wherein the service status identifier can be any information that uniquely identifies the service status in the corresponding service scenario, including but not limited to one or more of text, subtitles, numbers, codes, etc.

[0045] In this embodiment, the correspondence between the service state identifier and the corresponding service priority level is stored in a preset database, and the preset database is queried according to the service state identifier to obtain the service priority level of each service state in at least one service state.

[0046] Step 302: Determine at least one device function associated with each service state and a preset virtual control device, and determine candidate switch state information of each device function in the corresponding service state.

[0047] In one embodiment of the present disclosure, at least one device function associated with each business state and a preset virtual control device is determined. For example, a preset database can be queried to obtain at least one device function corresponding to each business state. For example, the corresponding interaction function under each business state can be obtained to determine the device function that matches the interaction function. The method for determining whether the interaction function matches the device function can be determined based on a pre-trained deep model or through other possible implementation methods, which are not listed here one by one.

[0048] At least one device function associated with each service state sets corresponding candidate switch state information in the corresponding service state, wherein the candidate switch state information includes on state information, off state information, and the like.

[0049] Step 303: Determine target switch state information of all device functions corresponding to at least one service state according to the service priority levels corresponding to the device functions and the corresponding candidate switch state information.

[0050] In one embodiment of the present disclosure, after determining the candidate switch business status information, the target switch state information of all device functions corresponding to at least one business state can be determined based on the business priority level corresponding to the device function and the corresponding candidate switch state information. Similarly, the target switch business state information includes on state information, off state information, etc. Since the target switch state information is determined in combination with the business priority level and the candidate switch state information, the target switch state information can meet the current functional requirements for the virtual control device.

[0051] Among them, the method of determining the target switch state information of all device functions corresponding to at least one service state is different in different application scenarios according to the service priority level corresponding to the device function and the corresponding candidate switch state information, and the examples are as follows:

[0052] In some possible embodiments, the highest business priority of each device function among all device functions corresponding to at least one business state is determined according to the business priority, and the candidate switch state information under the highest business priority of each device function is determined as the corresponding target switch state information. That is, in this embodiment, the highest business priority of each device function is taken as the basis, and the candidate switch state information corresponding to the highest business priority is used as the target switch state information.

[0053] For example, Figure 5 As shown, the business states enabled in the current business scenario in the virtual reality space include business state 1, business state 2 and business state 10, wherein the business priority level corresponding to business state 1 is 1, and the corresponding device functions include device function 1 (the candidate switch state is the on state), device function 2 (the candidate switch state is the off state), and device function 3 (the candidate switch state is the on state); the business priority level corresponding to business state 2 is 2, and the corresponding device functions include device function 1 (the candidate switch state is the off state), device function 3 (the candidate switch state is the off state), and device function 4 (the candidate switch state is the off state); the business priority level corresponding to business state 10 is 10, and the corresponding device functions include device function 1 (the candidate switch state is the on state), device function 4 (the candidate switch state is the on state), and device function 5 (the candidate switch state is the off state).

[0054] Therefore, the device functions corresponding to business state 1, business state 2 and business state 10 are device function 1, device function 2, device function 3, device function 4 and device function 5, and the corresponding highest business priority levels are 10, 1, 2, 10, 10 respectively, and the corresponding candidate switch states are open state, closed state, closed state, open state and closed state respectively. Therefore, the target switch states corresponding to device function 1, device function 2, device function 3, device function 4 and device function 5 are open state, closed state, closed state, open state and closed state respectively.

[0055] In some possible embodiments, it is determined that there are overlapping device functions that overlap between different business states that are currently turned on under all device functions, and there are non-overlapping device functions that do not overlap, and the candidate switch state information of the non-overlapping device functions is directly used as the target state information, and the candidate state information corresponding to the highest business priority among the overlapping device functions is determined as the target state information of the overlapping device functions.

[0056] Step 304: Control the virtual control device to provide device function services according to the target switch state information.

[0057] In one embodiment of the present disclosure, after determining the target switch status information, the virtual control device is controlled to provide device function services according to the target switch status information, wherein the function services are related to specific device functions. In this embodiment, on the one hand, the device function whose target switch status information is controlled to be in the on state is turned on to provide relevant function services, thereby ensuring the normal provision of function services in multiple business states. On the other hand, the device function whose target switch status information is controlled to be in the off state is turned off to avoid function mutual exclusion with other turned-on device functions.

[0058] For example, continue to refer to Figure 5 , you can control device functions 1 and 4 to be turned on to provide functional services related to device functions 1 and 4, and control device functions 2, 3 and 5 to be turned off to avoid mutual exclusion with the business functions of device functions 1 and 4.

[0059] In some possible embodiments, controlling the virtual control device to provide device function services according to target switch status information includes: among all device functions corresponding to at least one business status, determining a first device function whose target switch status information is on status information, and controlling the virtual control device to provide device function services corresponding to the first device function, wherein a logic controller can be set in advance for each device function, and the logic controller corresponding to the first device function is controlled to be in an on state to enable the corresponding first device function service. Similarly, it is possible to determine a second device function whose target switch status information is off status information, determine a preset logic controller for the second device function, and control the preset logic controller to be in an off state.

[0060] Among them, in some possible embodiments, when controlling the virtual control device to provide a device function service corresponding to the first device function, a function model and rendering parameters corresponding to the first virtual device are determined, wherein the function model includes but is not limited to a virtual model of the virtual control device (for example, the above-mentioned handle model, camera model, etc.), an operation guidance model of the virtual device (such as the above-mentioned ray model and arrow model), and the rendering parameters include but are not limited to the rendering color, rendering style, rendering position, etc. of the function model. In this embodiment, the corresponding function model is rendered in the virtual reality space according to the rendering parameters, so as to intuitively guide the user to perform corresponding interactive processing.

[0061] For example, Figure 6 As shown, if the virtual control device is a handle, the currently enabled business status includes the default business status (business priority is 1) and the interface opening business status (business priority is 2), wherein the device function corresponding to the default business status is the ray function (the candidate switch state information is the closed state) and the default handle model function (the candidate switch state information is the opened state), and the device function corresponding to the interface opening business status is the ray function (the candidate switch state information is the opened state), the custom handle model function (the candidate switch state information is the closed state), and the default handle model function (the candidate switch state information is the opened state). Finally, the target state information corresponding to the ray function of the handle is the opened state, the target state information corresponding to the default handle model function is the opened state, and the target state information corresponding to the custom handle model function is the closed state.

[0062] It should be emphasized that in each business state mentioned in the embodiments of the present disclosure, at least one device function associated with the preset virtual control device usually includes the device functions required in the corresponding business state, and device functions that may be mutually exclusive with the required device functions. If at least one device function associated with the preset virtual control device only includes the device functions required in the corresponding business state, it is also necessary to determine, among the device functions of other enabled business states, whether there is a mutually exclusive target device function with the device function corresponding to the highest enabled business priority, and determine that the target switch state information of the target device function is in the off state.

[0063] In summary, the function control method of the virtual control device of the embodiment of the present disclosure determines the service priority level of each business state in at least one business state currently enabled in the virtual reality space, determines at least one device function associated with each business state and the preset virtual control device, and determines the candidate switch state information of each device function in the corresponding business state, and then, according to the service priority level corresponding to the device function and the corresponding candidate switch state information, determines the target switch state information of all device functions corresponding to at least one business state, and controls the virtual control device to provide device function services according to the target switch state information. In the embodiment of the present disclosure, the device function management of the virtual control device in different business states is realized, and the accuracy of the function services provided by the virtual control device is guaranteed.

[0064] In order to implement the above embodiment, the present disclosure also proposes a function control device of a virtual control device.

[0065] Figure 7 This is a schematic diagram of the structure of a function control device for a virtual control device provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated in an electronic device to perform function control of the virtual control device. Figure 7 As shown, the device includes: a first determination module 710, a second determination module 720, a third determination module 730 and a control module 740, wherein:

[0066] A first determination module 710 is used to determine the service priority level of each service state in at least one service state currently enabled in the virtual reality space;

[0067] A second determination module 720, configured to determine at least one device function associated with each service state and a preset virtual control device, and determine candidate switch state information of each device function in the corresponding service state;

[0068] The third determination module 730 is used to determine the target switch state information of all device functions corresponding to at least one service state according to the service priority level corresponding to the device function and the corresponding candidate switch state information;

[0069] The control module 740 is used to control the virtual control device to provide device function services according to the target switch state information.

[0070] The function control device of the virtual control device provided in the embodiment of the present disclosure can execute the function control method of the virtual control device provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method. The implementation principle is similar and will not be repeated here.

[0071] In order to implement the above embodiments, the present disclosure further proposes a computer program product, including a computer program / instruction, which implements the function control method of the virtual control device in the above embodiments when executed by a processor.

[0072] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure.

[0073] The following specific reference Figure 8 , which shows a schematic diagram of the structure of an electronic device 800 suitable for implementing the embodiment of the present disclosure. The electronic device 800 in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0074] like Figure 8 As shown, the electronic device 800 may include a processor (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a memory 808 to a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processor 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0075] Typically, the following devices may be connected to the I / O interface 805: an input device 806 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a memory 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 8 The electronic device 800 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0076] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 809, or installed from the memory 808, or installed from the ROM 802. When the computer program is executed by the processor 801, the above-mentioned functions defined in the function control method of the virtual control device of the embodiment of the present disclosure are executed.

[0077] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0078] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0079] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0080] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:

[0081] Determine the service priority of each of at least one service state currently enabled in the virtual reality space, determine at least one device function associated with each service state and a preset virtual control device, and determine candidate switch state information of each device function in the corresponding service state, and then, according to the service priority corresponding to the device function and the corresponding candidate switch state information, determine the target switch state information of all device functions corresponding to at least one service state, and control the virtual control device to provide device function services according to the target switch state information. In the embodiment of the present disclosure, the device function management of the virtual control device in different service states is realized, and the accuracy of the function services provided by the virtual control device is ensured.

[0082] The electronic device may be written in one or more programming languages ​​or a combination thereof to write computer program code for performing the operations of the present disclosure, including but not limited to object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0083] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0084] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.

[0085] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0086] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A 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, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0087] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0088] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0089] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A function control method of a virtual control device, characterized in that: The following steps are involved: Determine a service priority level of each service state in at least one service state currently enabled in the virtual reality space; Determine at least one device function associated with each of the service states and a preset virtual control device, and determine candidate switch state information of each of the device functions in the corresponding service state; Determine target switch state information of all the device functions corresponding to the at least one service state according to the service priority level corresponding to the device function and the corresponding candidate switch state information; The virtual control device is controlled to provide device function services according to the target switch state information.

2. The method according to claim 1, characterized in that The determining of the service priority level of each service state in at least one service state currently enabled in the virtual reality space includes: Determine the activation sequence information of each of the business states in the corresponding business scenario; The service priority level is determined according to the activation sequence information, wherein the activation sequence information is in inverse proportion to the service priority level.

3. The method according to claim 1, characterized in that The determining of the service priority level of each service state in at least one service state currently enabled in the virtual reality space includes: Obtaining a service status identifier for each of the service statuses; A preset database is queried according to the service status identifier to obtain the service priority level of each service status in the at least one service status.

4. The method according to claim 1, characterized in that The determining, according to the service priority level corresponding to the device function and the corresponding candidate switch state information, the target switch state information of all the device functions corresponding to the at least one service state includes: Determine, according to the service priority level, the highest service priority level of each device function among all the device functions corresponding to the at least one service state; Determine the candidate switch state information at the highest service priority level of each of the device functions as the corresponding target switch state information.

5. The method according to claim 1, characterized in that The controlling the virtual control device to provide a device function service according to the target switch state information includes: Among all the device functions corresponding to the at least one service state, determining that the target switch state information is the first device function whose state information is turned on; The virtual control device is controlled to provide a device function service corresponding to the first device function.

6. The method according to claim 5, characterized in that The controlling the virtual control device to provide a device function service corresponding to the first device function includes: Determining a function model and rendering parameters corresponding to the first virtual device; The functional model is rendered in the virtual reality space according to the rendering parameters.

7. The method according to claim 5, characterized in that Also includes: Determine that the target switch state information is a second device function of closed state information; Determine a preset logic controller of the second device function, and control the preset logic controller to be in a closed state.

8. A function control device for a virtual control device, characterized in that: include: A first determination module is used to determine the service priority level of each service state in at least one service state currently enabled in the virtual reality space; A second determination module, used to determine at least one device function associated with each of the service states and a preset virtual control device, and determine candidate switch state information of each of the device functions in the corresponding service state; A third determination module, configured to determine target switch state information of all the device functions corresponding to the at least one service state according to the service priority level corresponding to the device function and the corresponding candidate switch state information; A control module is used to control the virtual control device to provide device function services according to the target switch state information.

9. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the executable instructions to implement the function control method of the virtual control device described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is used to execute the function control method of the virtual control device described in any one of claims 1 to 7.