CN105912232B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN105912232B
CN105912232B CN201610203186.XA CN201610203186A CN105912232B CN 105912232 B CN105912232 B CN 105912232B CN 201610203186 A CN201610203186 A CN 201610203186A CN 105912232 B CN105912232 B CN 105912232B
Authority
CN
China
Prior art keywords
state
virtual object
virtual
controlling
trigger signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610203186.XA
Other languages
Chinese (zh)
Other versions
CN105912232A (en
Inventor
许奔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610203186.XA priority Critical patent/CN105912232B/en
Publication of CN105912232A publication Critical patent/CN105912232A/en
Application granted granted Critical
Publication of CN105912232B publication Critical patent/CN105912232B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

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

Abstract

The invention discloses an information processing method which is used for solving the technical problem that the control force of electronic equipment on a virtual object is poor. The method comprises the following steps: obtaining a virtual scene output by electronic equipment, wherein the virtual scene comprises at least one virtual object; determining a first virtual object in the at least one virtual object, wherein the first virtual object is any one of the at least one virtual object, and the current state of the first virtual object is a first state; receiving and acquiring a first trigger signal; judging whether the first trigger signal meets a preset condition or not; and when the first trigger information number meets the preset condition, controlling the current state of the first virtual object to be a second state different from the first state. The invention also discloses corresponding electronic equipment.

Description

Information processing method and electronic equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an information processing method and an electronic device.
Background
At present, with the progress of science and technology and the gradual development of virtual reality technology, a user can construct a virtual scene through the virtual reality technology, and the user can also construct a virtual object in the constructed virtual scene, for example, the user can construct a virtual stage and construct a virtual dancer in the virtual stage to perform. However, in the prior art, the user cannot directly edit the virtual objects, for example, if the user wants to change a certain virtual object in the virtual scene, a new virtual object needs to be created again, which is very inconvenient to use. Or, for example, there are more virtual objects in the virtual scene and the system runs at a slower speed. Therefore, the control force of the electronic equipment on the virtual object in the prior art is poor.
Disclosure of Invention
The application provides an information processing method which is used for solving the technical problem that the control force of electronic equipment on a virtual object is poor.
In a first aspect, an information processing method is provided, including:
obtaining a virtual scene output by electronic equipment, wherein the virtual scene comprises at least one virtual object;
determining a first virtual object in the at least one virtual object, wherein the first virtual object is any one of the at least one virtual object, and the current state of the first virtual object is a first state;
receiving and acquiring a first trigger signal;
judging whether the first trigger signal meets a preset condition or not;
and when the first trigger information number meets the preset condition, controlling the current state of the first virtual object to be a second state different from the first state.
Optionally, the receiving obtains a first trigger signal, and includes:
receiving and acquiring a trigger operation; generating a first trigger signal in response to the trigger operation; or
Detecting current operating parameters of the electronic equipment; and generating a trigger signal when the current operation parameter is a preset operation parameter.
Optionally, the determining whether the first trigger signal satisfies a preset condition includes:
and judging whether the first trigger signal is a trigger signal only aiming at the first virtual object or a trigger signal aiming at the virtual scene.
Optionally, when the first trigger signal is a trigger signal only for the first virtual object, the controlling the current state of the first virtual object to be a second state different from the first state includes:
and controlling the current state of the first virtual object to be a second state different from the first state, and simultaneously controlling the current closing state of other virtual objects except the first virtual object in the at least one virtual object to be kept unchanged.
Optionally, when the first state is at a first position in the virtual scene, the controlling the current state of the first virtual object to be a second state different from the first state includes:
controlling a current state of the first virtual object to be at a second position in the virtual scene different from the first position; or
When the first state is a static state, the controlling the current state of the first virtual object to be a second state different from the first state includes: controlling the current state of the first virtual object to be a rotating state; or
When the first state is a non-editing state, the controlling the current state of the first virtual object to be a second state different from the first state includes: controlling the current state of the first virtual object to be an editing state; or
When the first state is a display state, the controlling the current state of the first virtual object to be a second state different from the first state includes: controlling the current state of the first virtual object to be a hidden state, wherein the first virtual object is in an invisible state on the display unit in the hidden state; or
When the first state is a non-locked state, the controlling the current state of the first virtual object to be a second state different from the first state includes: and controlling the current state of the first virtual object to be a locking state.
Optionally, when the first trigger signal is a trigger signal for the virtual scene and when the current state of the virtual scene is in a non-locked state, the controlling the current state of the first virtual object to be in a second state different from the first state includes:
controlling the current state of the virtual scene to be a locked state, and further adjusting the current state of the first virtual object from the unlocked state to the locked state; or
When the first trigger signal is a trigger signal for the virtual scene and when the current state of the virtual scene is in a display state, the controlling the current state of the first virtual object to be in a second state different from the first state includes:
and controlling the current state of the virtual scene to be a hidden state, and further adjusting the current state of the first virtual object from the display state to the hidden state.
In a second aspect, an electronic device is provided, comprising:
the sensor is used for receiving and acquiring a first trigger signal; and
a processor to:
obtaining a virtual scene output by the electronic equipment, wherein the virtual scene comprises at least one virtual object;
determining a first virtual object from the at least one virtual object, wherein the first virtual object is any one of the at least one virtual object, and the current state of the first virtual object is a first state;
judging whether the first trigger signal received by the sensor meets a preset condition or not;
and if the first trigger information number meets the preset condition, controlling the current state of the first virtual object to be a second state different from the first state.
Alternatively to this, the first and second parts may,
the sensor is used for: receiving and acquiring a trigger operation, or detecting the current operation parameters of the electronic equipment;
the processor is configured to: generating a first trigger signal in response to the trigger operation; or when the current operation parameter is a preset operation parameter, generating a trigger signal.
Optionally, the processor is configured to:
and when the first trigger signal is a trigger signal only aiming at the first virtual object, judging whether the first trigger signal is a trigger signal only aiming at the first virtual object or a trigger signal aiming at the virtual scene.
Optionally, the processor is configured to:
and controlling the current state of the first virtual object to be a second state different from the first state, and simultaneously controlling the current closing state of other virtual objects except the first virtual object in the at least one virtual object to be kept unchanged.
Optionally, the processor is configured to:
when the first state is at a first position in the virtual scene, controlling the current state of the first virtual object to be at a second position different from the first position in the virtual scene; or
When the first state is a static state, the controlling the current state of the first virtual object to be a second state different from the first state includes: controlling the current state of the first virtual object to be a rotating state; or
When the first state is a non-editing state, controlling the current state of the first virtual object to be an editing state; or
When the first state is a display state, controlling the current state of the first virtual object to be a hidden state, and when the first state is the hidden state, controlling the first virtual object to be in an invisible state on the display unit; or
And when the first state is a non-locking state, controlling the current state of the first virtual object to be a locking state.
Optionally, the processor is configured to:
when the first trigger signal is a trigger signal for the virtual scene and the current state of the virtual scene is in a non-locking state, controlling the current state of the virtual scene to be in a locking state, and further adjusting the current state of the first virtual object from the non-locking state to the locking state; or
When the first trigger signal is a trigger signal for the virtual scene and the current state of the virtual scene is in a display state, controlling the current state of the virtual scene to be a hidden state, and further adjusting the current state of the first virtual object from the display state to the hidden state.
In a third aspect, another electronic device is provided, including:
the system comprises an obtaining module, a processing module and a display module, wherein the obtaining module is used for obtaining a virtual scene output by electronic equipment, and the virtual scene comprises at least one virtual object;
a determining module, configured to determine a first virtual object in the at least one virtual object, where the first virtual object is any one of the at least one virtual object, and a current state of the first virtual object is a first state;
the receiving module is used for receiving and acquiring a first trigger signal;
the judging module is used for judging whether the first trigger signal meets a preset condition or not;
and the control module is used for controlling the current state of the first virtual object to be a second state different from the first state when the first trigger information number meets the preset condition.
One or more technical solutions in the present application at least have one or more of the following technical effects and advantages:
in this application, the electronic device may adjust the state of the first virtual object, that is, adjust the first state of the first virtual object to the second state, through the first trigger signal, in this way, the electronic device may control the first virtual object through different first trigger signals, for example, control the first virtual object to be hidden, edit the first virtual object, and so on, thereby effectively improving the control force of the electronic device on the virtual object. Furthermore, the electronic device can hide redundant virtual objects through the first trigger signal, so that the operation burden of the electronic device is reduced, and the operation efficiency is improved. Furthermore, the user can control the first virtual object by sending different first trigger signals, so that the use experience of the user is greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of an information processing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an electronic device in an embodiment of the invention;
fig. 3 is a schematic structural diagram of an electronic device in an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. The embodiments and features of the embodiments of the present invention may be arbitrarily combined with each other without conflict. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
Optionally, in the embodiment of the present invention, the electronic Device may include different electronic devices such as a Personal Computer (PC), a tablet Device (PAD), a mobile phone, and the like, which is not limited in the embodiment of the present invention.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in this document generally indicates that the preceding and following related objects are in an "or" relationship unless otherwise specified.
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Referring to fig. 1, an embodiment of the invention provides an information processing method, and a main flow of the method is described as follows.
S101: the method comprises the steps of obtaining a virtual scene output by the electronic equipment, wherein the virtual scene comprises at least one virtual object.
Optionally, the virtual scene may be generated by a virtual reality technology, and the virtual scene may be generated according to some scene information input by the user. For example, a user inputs an instruction to the electronic device to create a certain virtual scene, and the electronic device may generate the virtual scene according to the instruction. The virtual scene is mainly presented to the user through a display unit of the electronic device, for example, the electronic device may generate a virtual chessboard, and the user may see that the virtual chessboard is placed in front of the user through the display unit, but actually there is no real chessboard in front of the electronic device. Any element in the virtual scene may be referred to as a virtual object, for example, if the virtual scene is a virtual chessboard, the virtual object may be a chess piece in the chessboard, etc.
S102: and determining a first virtual object in the at least one virtual object, wherein the first virtual object is any one of the at least one virtual object, and the current state of the first virtual object is the first state.
Optionally, the determining manner may be that the user clicks any one of the plurality of virtual objects, or the user determines through an instruction, for example, a voice instruction.
Optionally, the first state is used to represent a state of the first virtual object, for example, the first state may be a certain position of the first virtual object in the virtual scene, or the first state may be whether the first virtual object is in a display state, or the first state may also be brightness of the first virtual object, and the like.
S103: and receiving and obtaining a first trigger signal.
Optionally, receiving and obtaining the first trigger signal may include receiving and obtaining a trigger operation; generating a first trigger signal in response to a trigger operation; or detecting a current operating parameter of the electronic device; and generating a trigger signal when the current operation parameter is a preset operation parameter.
For example, the first trigger signal is an operation gesture of a user, or the first trigger signal may be determined according to a current operation parameter of the electronic device, for example, an operation duration of the electronic device, or a duration of a virtual scene displayed by the electronic device, and the like.
S104: whether the first trigger signal meets a preset condition is judged.
Optionally, the determining whether the first trigger signal satisfies a preset condition may include: and judging whether the first trigger signal is a trigger signal only aiming at the first virtual object or a trigger signal aiming at the virtual scene.
For example, the preset condition is a preset physical key, and assuming that two keys, that is, a key 1 and a key 2, are set on the electronic device, if the user touches the key 1, the electronic device may determine that the user operates on the current virtual object (that is, the first virtual object), and if the user touches the key 2, the electronic device may determine that the user operates on the current entire virtual scene.
For example, the preset condition is a preset gesture, when the user performs a first gesture (e.g., clockwise circle of the finger), the electronic device may determine that the user performs an operation on the first virtual object, and if the user performs a second gesture (e.g., counterclockwise circle of the finger), the electronic device may determine that the user performs an operation on the entire current virtual scene.
Optionally, the preset condition may be set by a person skilled in the art when the electronic device leaves a factory, or the preset condition may be set by a user, which is, of course, only an example and is not limited to the embodiment of the present invention, and the embodiment of the present invention does not limit the setting manner of the preset condition.
S105: and when the first trigger information number meets a preset condition, controlling the current state of the first virtual object to be a second state different from the first state.
Optionally, since the first trigger signal may be specific to the first virtual object and the entire virtual scene, when the first trigger signal is different, a manner of controlling the current state of the first virtual object to be a second state different from the first state is also different, and several examples are listed below.
In the first triggering mode, when the first triggering signal is a triggering signal only for the first virtual object, the current state of the first virtual object is controlled to be a second state different from the first state, and meanwhile, the closing state of other virtual objects except the first virtual object in at least one virtual object is controlled to be kept unchanged.
For example, if the first trigger signal is to adjust the brightness of the first virtual object, the electronic device may adjust the brightness of the first virtual object according to the first trigger signal, and the brightness of the virtual objects other than the first virtual object in the virtual scene remains unchanged. For example, if the virtual scene is a virtual chessboard, and the first virtual object is a chess piece a, the chess piece a is in a high-brightness state according to the first trigger signal, and the brightness of other chess pieces is kept unchanged. Of course, the above are merely examples, and the first trigger signal may also be another control signal for controlling the first virtual object, which is not limited in the embodiment of the present invention.
Optionally, in order to more clearly describe the process of adjusting the first virtual object from the first state to the second state in the present application, several specific control manners are listed below.
In a first control mode, when the first state is at a first position in the virtual scene, the current state of the first virtual object is controlled to be at a second position different from the first position in the virtual scene.
Optionally, continuing to take the virtual scene as the virtual chessboard and the first virtual object as the chess piece a as an example, when the first trigger signal includes an instruction to change the position of the chess piece a, for example, in the first state, the chess piece a is at the position 1 of the virtual chessboard, and the electronic device responds to the first trigger signal (for example, the first trigger signal at this time may be a signal that the user moves the chess piece a) to move the chess piece a to the position 2 of the virtual chessboard.
Or, the second control mode controls the current state of the first virtual object to be a rotating state when the first state is a stationary state.
For example, the virtual scene is a scene in which a plurality of virtual characters dance, the first virtual object may be any one of the plurality of virtual characters, for example, the first virtual object is a virtual girl, in the first state, the girl may be stationary, and the first trigger signal may be generated when the electronic device plays a certain music, or the first trigger signal may be generated when the user touches the first virtual object, and the electronic device controls the first virtual object to enter a rotating state in response to the first trigger signal, that is, the virtual girl may rotate according to the played music as if the girl dances elegantly, so as to improve the user experience.
Or, the third control mode is to control the current state of the first virtual object to be the editing state when the first state is the non-editing state.
Alternatively, the editing state may include editing of the property of the first virtual object, for example, if the first virtual object is a sphere (for example, the first virtual object is a football), when the first virtual object is in the non-editing state, the position of the first virtual object may be moved, but the property such as the size, the shape, or the color of the first virtual object may not be changed, and when the first virtual object is in the editing state (i.e., the second state), the user may change the size of the football or the color of the football according to the needs of the user. Therefore, the user can adjust the first virtual object which cannot be edited into an editable state through the first trigger signal, and then the user can adjust the first virtual object according to actual needs, so that the use experience of the user is improved.
Or, in the fourth control mode, when the first state is the display state, the current state of the first virtual object is controlled to be the hidden state, and when the first state is the hidden state, the first virtual object is in the invisible state on the display unit.
For example, when the first virtual object is in a display state (i.e., a first state), that is, the user can see the first virtual object through the display unit of the electronic device, the electronic device may adjust the first virtual object to an invisible state (i.e., a second state) according to the first trigger signal, that is, the user cannot see the first virtual object in the virtual scene. Therefore, the user can hide redundant first virtual objects according to needs, so that the number of the virtual objects in the whole virtual scene is small, and the operation burden of the electronic equipment is reduced. Meanwhile, the user can hide the relatively private first virtual object, so that the safety of the first virtual object is improved, and the use experience is further improved.
Or, in the fifth control mode, when the first state is the non-locked state, the current state of the first virtual object is controlled to be the locked state.
Optionally, the locked state refers to a state in which the user cannot move or edit the first virtual object, for example, the user may set a password lock for the first virtual object, when the user needs to edit the first virtual object, the user needs to input a specific unlocking password first, and after confirming that the unlocking password is correct, the user can only edit the first virtual object. Therefore, the user can lock the first virtual object which the user wants to lock, and the first virtual object cannot be edited even if other users can see the first virtual object through the display unit of the electronic equipment, so that the safety of the first virtual object is improved.
Of course, the above examples are all control methods and control procedures when the first trigger signal is only for the first virtual object, and in addition, the second trigger method is also included, that is, when the first trigger signal is a trigger signal for a virtual scene and the current state of the virtual scene is in an unlocked state, the current state of the virtual scene is controlled to be in a locked state, and the current state of the first virtual object is adjusted from the unlocked state to the locked state.
Optionally, when the first trigger signal is for the entire virtual scene, for example, when all virtual objects of the virtual scene are in the first state (i.e., the non-locked state), the electronic device may lock the entire virtual scene according to the first trigger signal, so that all virtual objects included in the virtual scene are in the locked state. For example, a password lock is set for the virtual scene, and the virtual object in the virtual scene can only be edited after the password is successfully verified, so that when the user a establishes a virtual scene, the virtual scene of the user a cannot be edited as long as the user B does not break the password of the user a, and the safety of the virtual scene and the virtual object in the virtual scene is greatly improved.
Or when the first trigger signal is a trigger signal for the virtual scene and the current state of the virtual scene is in the display state, controlling the current state of the virtual scene to be in the hidden state, and further adjusting the current state of the first virtual object from the display state to the hidden state.
For example, the whole virtual scene is displayed in the display unit of the electronic device, that is, all virtual objects in the virtual scene are in a display state, and when the electronic device responds to the first trigger signal, the electronic device may hide the whole virtual scene, that is, at this time, a user cannot see any virtual object in the virtual scene through the display unit, so that the virtual object in the virtual scene can be effectively protected from being edited by other users. Further, the efficiency of setting the virtual scene can be improved, for example, if the following situation is assumed, when a plurality of users set a virtual scene together, the users can work in a shared manner, that is, the user a sets the scene a, the user B sets the scene B, and after the user a sets the scene a, the scene a is hidden, so that the user B only sees the scene B which needs to be set, the virtual object of the scene a is not displayed, and thus, the user B is not affected by the virtual object in the scene a when setting the scene B, and the working efficiency is high. In addition, after the virtual object in the scene a is hidden, the display unit of the electronic device only needs to display the scene B, so that the number of the virtual objects required to be displayed by the electronic device is small, the operation burden of the electronic device is reduced, and the power consumption of the electronic device is reduced.
Referring to fig. 2, based on the same inventive concept, an embodiment of the present invention further provides an electronic device, which specifically includes:
a sensor 201 for receiving and obtaining a first trigger signal; and
a processor 202 configured to:
obtaining a virtual scene output by electronic equipment, wherein the virtual scene comprises at least one virtual object;
determining a first virtual object from the at least one virtual object, wherein the first virtual object is any one of the at least one virtual object, and the current state of the first virtual object is a first state;
judging whether the first trigger signal meets a preset condition or not;
and if the first trigger information number meets the preset condition, controlling the current state of the first virtual object to be a second state different from the first state.
Optionally, the sensor 201 is configured to:
receiving and acquiring a trigger operation; generating a first trigger signal in response to a trigger operation; or
Detecting current operating parameters of the electronic equipment; and generating a trigger signal when the current operation parameter is a preset operation parameter.
Optionally, the processor 202 is configured to:
and when the first trigger signal is only the trigger signal aiming at the first virtual object, judging whether the first trigger signal is only the trigger signal aiming at the first virtual object or the trigger signal aiming at the virtual scene.
Optionally, the processor 202 is configured to:
and controlling the current state of the first virtual object to be a second state different from the first state, and simultaneously controlling the current off state of other virtual objects except the first virtual object in at least one virtual object to be kept unchanged.
Optionally, the processor 202 is configured to:
when the first state is at a first position in the virtual scene, controlling the current state of the first virtual object to be at a second position different from the first position in the virtual scene; or
When the first state is a static state, controlling the current state of the first virtual object to be a rotating state; or
When the first state is a non-editing state, controlling the current state of the first virtual object to be an editing state; or
When the first state is a display state, controlling the current state of the first virtual object to be a hidden state, and when the first state is the hidden state, controlling the first virtual object to be in an invisible state on the display unit; or
And when the first state is the non-locking state, controlling the current state of the first virtual object to be the locking state.
Optionally, the processor 202 is configured to:
when the first trigger signal is a trigger signal for a virtual scene and the current state of the virtual scene is in a non-locking state, controlling the current state of the virtual scene to be in a locking state, and further adjusting the current state of the first virtual object from the non-locking state to the locking state; or
When the first trigger signal is a trigger signal for the virtual scene and the current state of the virtual scene is in the display state, controlling the current state of the virtual scene to be in the hidden state, and further adjusting the current state of the first virtual object from the display state to the hidden state.
Referring to fig. 3, based on the same inventive concept, an embodiment of the present invention provides another electronic device, which specifically includes:
an obtaining module 301, configured to obtain a virtual scene output by an electronic device, where the virtual scene includes at least one virtual object;
a determining module 302, configured to determine a first virtual object in the at least one virtual object, where the first virtual object is any one of the at least one virtual object, and a current state of the first virtual object is a first state;
a receiving module 303, configured to receive and obtain a first trigger signal;
the determining module 304 is configured to determine whether the first trigger signal satisfies a preset condition;
the control module 305 is configured to control the current state of the first virtual object to be a second state different from the first state when the first trigger information number satisfies a preset condition.
Optionally, the receiving module 303 is configured to:
receiving and acquiring a trigger operation; generating a first trigger signal in response to a trigger operation; or
Detecting current operating parameters of the electronic equipment; and generating a trigger signal when the current operation parameter is a preset operation parameter.
Optionally, the determining module 304 is configured to:
and judging whether the first trigger signal is a trigger signal only aiming at the first virtual object or a trigger signal aiming at the virtual scene.
Optionally, the control module 305 is configured to:
when the first trigger signal is only a trigger signal aiming at the first virtual object, the current state of the first virtual object is controlled to be a second state different from the first state, and meanwhile, the off state of other virtual objects except the first virtual object in at least one virtual object is controlled to be kept unchanged.
Optionally, the control module 305 is configured to:
when the first state is at a first position in the virtual scene, controlling the current state of the first virtual object to be at a second position different from the first position in the virtual scene; or
When the first state is a static state, controlling the current state of the first virtual object to be a rotating state; or
When the first state is a non-editing state, controlling the current state of the first virtual object to be an editing state; or
When the first state is a display state, controlling the current state of the first virtual object to be a hidden state, and when the first state is the hidden state, controlling the first virtual object to be in an invisible state on the display unit; or
And when the first state is the non-locking state, controlling the current state of the first virtual object to be the locking state.
Optionally, the control module 305 is configured to:
when the first trigger signal is a trigger signal for a virtual scene and the current state of the virtual scene is in a non-locking state, controlling the current state of the virtual scene to be in a locking state, and further adjusting the current state of the first virtual object from the non-locking state to the locking state; or
When the first trigger signal is a trigger signal for the virtual scene and the current state of the virtual scene is in the display state, controlling the current state of the virtual scene to be in the hidden state, and further adjusting the current state of the first virtual object from the display state to the hidden state.
In the embodiment of the present invention, the electronic devices shown in fig. 2 to fig. 3 correspond to the information processing method shown in fig. 1, and the implementation manners may be mutually referred to, so that repeated content parts are not repeated in the electronic devices.
One or more technical solutions in the embodiments of the present invention at least have one or more of the following technical effects and advantages:
in the embodiment of the present invention, the electronic device may adjust the state of the first virtual object, that is, adjust the first state of the first virtual object to the second state, by using the first trigger signal, so that the electronic device may control the first virtual object by using different first trigger signals, for example, control the first virtual object to be hidden, edit the first virtual object, and so on, thereby effectively improving the control force of the electronic device on the virtual object. Furthermore, the electronic device can hide redundant virtual objects through the first trigger signal, so that the operation burden of the electronic device is reduced, and the operation efficiency is improved. Furthermore, the user can control the first virtual object by sending different first trigger signals, so that the use experience of the user is greatly improved.
It will be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional units according to needs, that is, the internal structure of the device is divided into different functional units to perform all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Specifically, the computer program instructions corresponding to an information processing method in the embodiment of the present invention may be stored on a storage medium such as an optical disc, a hard disc, a usb disk, or the like, and when the computer program instructions corresponding to an information processing method in the storage medium are read or executed by an electronic device, the method includes the steps of:
obtaining a virtual scene output by electronic equipment, wherein the virtual scene comprises at least one virtual object;
determining a first virtual object in the at least one virtual object, wherein the first virtual object is any one of the at least one virtual object, and the current state of the first virtual object is a first state;
receiving and acquiring a first trigger signal;
judging whether the first trigger signal meets a preset condition or not;
and when the first trigger information number meets the preset condition, controlling the current state of the first virtual object to be a second state different from the first state.
Optionally, the step of storing in the storage medium: the receiving obtains a first trigger signal, and the corresponding computer instruction comprises the following steps in the executed process:
receiving and acquiring a trigger operation; generating a first trigger signal in response to the trigger operation; or
Detecting current operating parameters of the electronic equipment; and generating a trigger signal when the current operation parameter is a preset operation parameter.
Optionally, the step of storing in the storage medium: the method for judging whether the first trigger signal meets a preset condition or not comprises the following steps of:
and judging whether the first trigger signal is a trigger signal only aiming at the first virtual object or a trigger signal aiming at the virtual scene.
Optionally, when the first trigger signal is a trigger signal only for the first virtual object, the and step stored in the storage medium: the method comprises the following steps that the current state of the first virtual object is controlled to be a second state different from the first state, and the corresponding computer instruction comprises the following steps in the executed process:
and controlling the current state of the first virtual object to be a second state different from the first state, and simultaneously controlling the current closing state of other virtual objects except the first virtual object in the at least one virtual object to be kept unchanged.
Optionally, the step of storing in the storage medium: the method comprises the following steps that the current state of the first virtual object is controlled to be a second state different from the first state, and the corresponding computer instruction comprises the following steps in the executed process:
when the first state is at a first position in the virtual scene, controlling the current state of the first virtual object to be at a second position different from the first position in the virtual scene; or
When the first state is a static state, controlling the current state of the first virtual object to be a rotating state; or
When the first state is a non-editing state, controlling the current state of the first virtual object to be an editing state; or
When the first state is a display state, controlling the current state of the first virtual object to be a hidden state, and when the first state is the hidden state, controlling the first virtual object to be in an invisible state on the display unit; or
And when the first state is a non-locking state, controlling the current state of the first virtual object to be a locking state.
Optionally, the step of storing in the storage medium: the method comprises the following steps that the current state of the first virtual object is controlled to be a second state different from the first state, and the corresponding computer instruction comprises the following steps in the executed process:
when the first trigger signal is a trigger signal for the virtual scene and the current state of the virtual scene is in a non-locking state, controlling the current state of the virtual scene to be in a locking state, and further adjusting the current state of the first virtual object from the non-locking state to the locking state; or
When the first trigger signal is a trigger signal for the virtual scene and the current state of the virtual scene is in a display state, controlling the current state of the virtual scene to be a hidden state, and further adjusting the current state of the first virtual object from the display state to the hidden state.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (9)

1. An information processing method comprising:
obtaining a virtual scene output by electronic equipment, wherein the virtual scene comprises at least one virtual object, and the virtual scene comprises scene information generated by virtual reality technology or according to some scene information input by a user;
determining a first virtual object in the at least one virtual object, wherein the first virtual object is any one of the at least one virtual object, and the current state of the first virtual object is a first state;
receiving and acquiring a first trigger signal;
judging whether the first trigger signal meets a preset condition or not;
when the first trigger information number meets the preset condition, controlling the current state of the first virtual object to be a second state different from the first state,
wherein, the judging whether the first trigger signal meets a preset condition comprises: determining whether the first trigger signal is a trigger signal for only the first virtual object or a trigger signal for the virtual scene,
when the first trigger information number meets the preset condition, controlling the current state of the first virtual object to be a second state different from the first state comprises:
and when the first trigger information number is a trigger signal aiming at the virtual scene, controlling the current state of the virtual scene to be adjusted from a non-locking state to a locking state, or controlling the current state of the virtual scene to be adjusted from a display state to a hidden state.
2. The method of claim 1, wherein the receiving obtains a first trigger signal, comprising:
receiving and acquiring a trigger operation; generating a first trigger signal in response to the trigger operation; or
Detecting current operating parameters of the electronic equipment; and generating a trigger signal when the current operation parameter is a preset operation parameter.
3. The method of claim 1, wherein, when the first trigger signal is a trigger signal for only the first virtual object, the controlling the current state of the first virtual object to be a second state different from the first state comprises:
and controlling the current state of the first virtual object to be a second state different from the first state, and simultaneously controlling the current closing state of other virtual objects except the first virtual object in the at least one virtual object to be kept unchanged.
4. The method of claim 3, wherein when the first state is at a first position in the virtual scene, the controlling the current state of the first virtual object to be a second state different from the first state comprises: controlling a current state of the first virtual object to be at a second position in the virtual scene different from the first position; or
When the first state is a static state, the controlling the current state of the first virtual object to be a second state different from the first state includes: controlling the current state of the first virtual object to be a rotating state; or
When the first state is a non-editing state, the controlling the current state of the first virtual object to be a second state different from the first state includes: controlling the current state of the first virtual object to be an editing state; or
When the first state is a display state, the controlling the current state of the first virtual object to be a second state different from the first state includes: controlling the current state of the first virtual object to be a hidden state, wherein the first virtual object is in an invisible state on the display unit in the hidden state; or
When the first state is a non-locked state, the controlling the current state of the first virtual object to be a second state different from the first state includes: and controlling the current state of the first virtual object to be a locking state.
5. An electronic device, comprising:
the sensor is used for receiving and acquiring a first trigger signal; and
a processor to:
obtaining a virtual scene output by the electronic equipment, wherein the virtual scene comprises at least one virtual object, and the virtual scene comprises scene information generated by a virtual reality technology or according to certain scene information input by a user;
determining a first virtual object from the at least one virtual object, wherein the first virtual object is any one of the at least one virtual object, and the current state of the first virtual object is a first state;
judging whether the first trigger signal received by the sensor meets a preset condition or not;
if the first trigger information number meets the preset condition, controlling the current state of the first virtual object to be a second state different from the first state,
wherein, the judging whether the first trigger signal received by the sensor meets a preset condition comprises: determining whether the first trigger signal is a trigger signal for only the first virtual object or a trigger signal for the virtual scene,
if the first trigger information number meets the preset condition, controlling the current state of the first virtual object to be a second state different from the first state comprises:
and when the first trigger information number is a trigger signal aiming at the virtual scene, controlling the current state of the virtual scene to be adjusted from a non-locking state to a locking state, or controlling the current state of the virtual scene to be adjusted from a display state to a hidden state.
6. The electronic device of claim 5,
the sensor is used for: receiving and acquiring a trigger operation, or detecting the current operation parameters of the electronic equipment;
the processor is configured to: generating a first trigger signal in response to the trigger operation; or when the current operation parameter is a preset operation parameter, generating a trigger signal.
7. The electronic device of claim 5, wherein the processor is to:
and controlling the current state of the first virtual object to be a second state different from the first state, and simultaneously controlling the current closing state of other virtual objects except the first virtual object in the at least one virtual object to be kept unchanged.
8. The electronic device of claim 7, wherein the processor is to:
when the first state is at a first position in the virtual scene, controlling the current state of the first virtual object to be at a second position different from the first position in the virtual scene; or
When the first state is a static state, controlling the current state of the first virtual object to be a rotating state; or
When the first state is a non-editing state, controlling the current state of the first virtual object to be an editing state; or
When the first state is a display state, controlling the current state of the first virtual object to be a hidden state, and when the first state is the hidden state, controlling the first virtual object to be in an invisible state on the display unit; or
And when the first state is a non-locking state, controlling the current state of the first virtual object to be a locking state.
9. An electronic device, comprising:
the system comprises an obtaining module, a processing module and a display module, wherein the obtaining module is used for obtaining a virtual scene output by electronic equipment, the virtual scene comprises at least one virtual object, and the virtual scene comprises scene information generated by a virtual reality technology or according to certain scene information input by a user;
a determining module, configured to determine a first virtual object in the at least one virtual object, where the first virtual object is any one of the at least one virtual object, and a current state of the first virtual object is a first state;
the receiving module is used for receiving and acquiring a first trigger signal;
the judging module is used for judging whether the first trigger signal meets a preset condition or not;
a control module, configured to control a current state of the first virtual object to be a second state different from the first state when the first trigger information number satisfies the preset condition,
wherein, the judging whether the first trigger signal meets a preset condition comprises: determining whether the first trigger signal is a trigger signal for only the first virtual object or a trigger signal for the virtual scene,
when the first trigger information number meets the preset condition, controlling the current state of the first virtual object to be a second state different from the first state comprises:
and when the first trigger information number is a trigger signal aiming at the virtual scene, controlling the current state of the virtual scene to be adjusted from a non-locking state to a locking state, or controlling the current state of the virtual scene to be adjusted from a display state to a hidden state.
CN201610203186.XA 2016-03-31 2016-03-31 Information processing method and electronic equipment Active CN105912232B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610203186.XA CN105912232B (en) 2016-03-31 2016-03-31 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610203186.XA CN105912232B (en) 2016-03-31 2016-03-31 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105912232A CN105912232A (en) 2016-08-31
CN105912232B true CN105912232B (en) 2020-09-25

Family

ID=56744538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610203186.XA Active CN105912232B (en) 2016-03-31 2016-03-31 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105912232B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933594A (en) * 2017-03-20 2017-07-07 联想(北京)有限公司 Information processing method and electronic equipment
CN107122107B (en) * 2017-04-26 2021-03-23 网易(杭州)网络有限公司 Visual angle adjusting method, device, medium and electronic equipment in virtual scene
CN107463252B (en) * 2017-07-14 2020-08-21 深圳国泰安教育技术有限公司 Virtual model operation method and device of MR head display, storage medium and MR head display
CN108635858B (en) * 2018-05-18 2019-10-01 腾讯科技(深圳)有限公司 Interface display method, device, electronic device and computer readable storage medium
CN108635857B (en) 2018-05-18 2022-04-22 腾讯科技(深圳)有限公司 Interface display method and device, electronic device and computer readable storage medium
CN112364314A (en) * 2020-11-02 2021-02-12 深圳市大富网络技术有限公司 Mode switching protection control method, system, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102883066A (en) * 2012-09-29 2013-01-16 惠州Tcl移动通信有限公司 Method for realizing file operation based on gesture recognition and cellphone
CN103157281A (en) * 2013-04-03 2013-06-19 广州博冠信息科技有限公司 Display method and display equipment of two-dimension game scene
CN103530040A (en) * 2013-10-22 2014-01-22 腾讯科技(深圳)有限公司 Method, device and electronic equipment for moving target element
EP2821884A1 (en) * 2013-07-01 2015-01-07 Airbus Operations GmbH Cabin management system having a three-dimensional operating panel
CN104487916A (en) * 2012-07-26 2015-04-01 高通股份有限公司 Interactions of tangible and augmented reality objects

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090282335A1 (en) * 2008-05-06 2009-11-12 Petter Alexandersson Electronic device with 3d positional audio function and method
CN102880408B (en) * 2012-08-10 2015-02-11 北京奇虎科技有限公司 Scene unlocking method for terminal equipment and terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104487916A (en) * 2012-07-26 2015-04-01 高通股份有限公司 Interactions of tangible and augmented reality objects
CN102883066A (en) * 2012-09-29 2013-01-16 惠州Tcl移动通信有限公司 Method for realizing file operation based on gesture recognition and cellphone
CN103157281A (en) * 2013-04-03 2013-06-19 广州博冠信息科技有限公司 Display method and display equipment of two-dimension game scene
EP2821884A1 (en) * 2013-07-01 2015-01-07 Airbus Operations GmbH Cabin management system having a three-dimensional operating panel
CN103530040A (en) * 2013-10-22 2014-01-22 腾讯科技(深圳)有限公司 Method, device and electronic equipment for moving target element

Also Published As

Publication number Publication date
CN105912232A (en) 2016-08-31

Similar Documents

Publication Publication Date Title
CN105912232B (en) Information processing method and electronic equipment
JP6529659B2 (en) Information processing method, terminal and computer storage medium
JP6618219B2 (en) Information processing method, terminal, and computer storage medium
EP3285156B1 (en) Information processing method and terminal, and computer storage medium
WO2017054464A1 (en) Information processing method, terminal and computer storage medium
WO2017054465A1 (en) Information processing method, terminal and computer storage medium
EP3278850A1 (en) Information processing method and terminal, and computer storage medium
JP2022527502A (en) Virtual object control methods and devices, mobile terminals and computer programs
KR101497762B1 (en) Unlocking method, and terminal and recording medium for the same method
US20170192646A1 (en) Method and electronic device for hiding application icons and mobile phone
EP3584710B1 (en) Method and apparatus for controlling display of mobile terminal, and storage medium
CN112891943B (en) Lens processing method and device and readable storage medium
CN106959754A (en) Control the method and mobile terminal of mobile terminal
CN109684839A (en) Self-definition model tamper resistant method, device, terminal device and storage medium
CN107103224B (en) Unlocking method and mobile terminal
CN111309214A (en) Video interface setting method and device, electronic equipment and storage medium
CN112363658B (en) Interaction method and device for video call
CN104423938A (en) Information processing method and electronic device
CN104793851A (en) Method for controlling floating action button of terminal screen
WO2013074398A1 (en) Input mapping regions
CN105159591B (en) The unlocking method and intelligent terminal of intelligent terminal
CN106940620A (en) Control the method and mobile terminal of mobile terminal
CN108304113B (en) Interface interaction configuration method and terminal
WO2023072060A1 (en) Wallpaper interaction method and apparatus, and electronic device
CN114629682B (en) Industrial control network target range allocation method, device, terminal and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant