WO2019101207A1 - Smart terminal control method, smart terminal, and device having storage function - Google Patents

Smart terminal control method, smart terminal, and device having storage function Download PDF

Info

Publication number
WO2019101207A1
WO2019101207A1 PCT/CN2018/117579 CN2018117579W WO2019101207A1 WO 2019101207 A1 WO2019101207 A1 WO 2019101207A1 CN 2018117579 W CN2018117579 W CN 2018117579W WO 2019101207 A1 WO2019101207 A1 WO 2019101207A1
Authority
WO
WIPO (PCT)
Prior art keywords
value
smart terminal
preset
light intensity
data
Prior art date
Application number
PCT/CN2018/117579
Other languages
French (fr)
Chinese (zh)
Inventor
陈文杰
白礼婷
Original Assignee
捷开通讯(深圳)有限公司
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 捷开通讯(深圳)有限公司 filed Critical 捷开通讯(深圳)有限公司
Publication of WO2019101207A1 publication Critical patent/WO2019101207A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/012Walk-in-place systems for allowing a user to walk in a virtual environment while constraining him to a given position in the physical environment

Definitions

  • the present invention relates to the field of intelligent terminals, and in particular, to an intelligent terminal control method, an intelligent terminal, and a device having a storage function.
  • the embodiment of the invention provides an intelligent terminal control method, an intelligent terminal and a device with a storage function, which can solve the problem that the existing intelligent terminal cannot exit the usage mode following the change of the environment.
  • a technical solution adopted by the present invention is to provide an intelligent terminal control method, which includes: an intelligent terminal starts a virtual reality mode, acquires environment sensing data, and the smart terminal uses the environment to sense data.
  • the environment sensing value is calculated to determine whether the environmental sensing value is not less than a preset value. If the environmental sensing value is not less than the preset value, the virtual reality mode of the smart terminal is exited.
  • the environmental sensing data includes at least one of humidity data and light intensity data, the light intensity data including at least one of light data, a screen brightness value, a color distribution value, and a light reflection value.
  • the environmental sensing value includes at least one of a humidity value and a light intensity integrated value
  • the calculating, by the smart terminal, the environment sensing value by using the environment sensing data includes:
  • the humidity value is calculated using the humidity data and/or the light intensity integrated value is calculated using the light intensity data.
  • the preset value includes at least one of a preset humidity value and a preset light intensity integrated value
  • the determining whether the environmental sensing value is not less than a preset value includes:
  • the humidity value is greater than or equal to the preset humidity value, and/or the light intensity integrated value is greater than or equal to the preset light intensity integrated value, it is determined that the environmental sensing value is not less than a preset value.
  • the method after the environment sensing value is not less than the preset value, the method includes:
  • a prompt message is sent to prompt the user to exit the virtual reality mode of the smart terminal.
  • the method before the acquiring the environment sensing data, the method includes:
  • the smart terminal turns on the camera to obtain the reflected value.
  • the method before the acquiring the environment sensing data, the method further includes:
  • the monitoring the status of the sensor to determine whether the sensor has sent the environmental sensing data includes:
  • the sensor If the sensor is in a data transmission state, it is determined that the sensor has transmitted the environmental sensing data.
  • an intelligent terminal comprising: a communication circuit and a processor connected to each other, and the following steps are implemented:
  • the smart terminal starts the virtual reality mode and acquires the environment sensing data
  • the smart terminal calculates the environmental sensing value by using the environmental sensing data
  • the environmental sensing value includes at least one of a humidity value and a light intensity integrated value
  • the calculating, by the smart terminal, the environment sensing value by using the environment sensing data includes:
  • the humidity value is calculated using the humidity data and/or the light intensity integrated value is calculated using the light intensity data.
  • the preset value includes at least one of a preset humidity value and a preset light intensity integrated value
  • the determining whether the environmental sensing value is not less than a preset value includes:
  • the humidity value is greater than or equal to the preset humidity value, and/or the light intensity integrated value is greater than or equal to the preset light intensity integrated value, it is determined that the environmental sensing value is not less than a preset value.
  • the obtaining the environment sensing data includes:
  • the smart terminal turns on the camera to obtain the reflected value.
  • the method before the obtaining the environment sensing data, the method further includes:
  • the method further includes:
  • the logout management service object corresponds to the sensor's listening event and/or turns off the camera.
  • another technical solution adopted by the present invention is to provide an apparatus having a storage function, including: storing program data, and the program data can be executed to implement the following steps:
  • the smart terminal starts the virtual reality mode and acquires the environment sensing data.
  • the smart terminal calculates the environmental sensing value by using the environmental sensing data
  • the environmental sensing value includes at least one of a humidity value and a light intensity integrated value
  • the calculating, by the smart terminal, the environment sensing value by using the environment sensing data includes:
  • the humidity value is calculated using the humidity data and/or the light intensity integrated value is calculated using the light intensity data.
  • the preset value includes at least one of a preset humidity value and a preset light intensity integrated value
  • the determining whether the environmental sensing value is not less than a preset value includes:
  • the humidity value is greater than or equal to the preset humidity value, and/or the light intensity integrated value is greater than or equal to the preset light intensity integrated value, it is determined that the environmental sensing value is not less than a preset value.
  • the obtaining the environment sensing data includes:
  • the smart terminal turns on the camera to obtain the reflected value.
  • the obtaining the environment sensing data further includes:
  • the method further includes:
  • the logout management service object corresponds to the sensor's listening event and/or turns off the camera.
  • the invention activates the virtual reality mode by the smart terminal to obtain the environment sensing data, and the smart terminal uses the environment sensing data to calculate the environmental sensing value, and determines whether the environmental sensing value is not less than a preset value, and if the environmental sensing value is not less than the preset value, Exit the virtual reality mode of the smart terminal.
  • the smart terminal can automatically determine whether the usage mode should be exited, thereby protecting the smart terminal and the user who uses the smart terminal.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for controlling an intelligent terminal according to the present invention
  • FIG. 2 is a schematic flowchart of a second embodiment of a method for controlling an intelligent terminal according to the present invention
  • FIG. 3 is a schematic flowchart of a third embodiment of a method for controlling an intelligent terminal according to the present invention.
  • FIG. 4 is a schematic flowchart of a fourth embodiment of a method for controlling an intelligent terminal according to the present invention.
  • FIG. 5 is a schematic flowchart diagram of a fifth embodiment of a method for controlling an intelligent terminal according to the present invention.
  • FIG. 6 is a schematic flowchart of a sixth embodiment of a method for controlling an intelligent terminal according to the present invention.
  • FIG. 7 is a schematic flowchart diagram of a seventh embodiment of a method for controlling an intelligent terminal according to the present invention.
  • FIG. 8 is a schematic structural diagram of an embodiment of a smart terminal provided by the present invention.
  • FIG. 9 is a schematic structural diagram of an embodiment of a device having a storage function provided by the present invention.
  • FIG. 10 is a schematic structural diagram of an intelligent terminal according to an embodiment of the present invention.
  • the first embodiment of the intelligent terminal control method of the present invention includes:
  • S1 The smart terminal starts the virtual reality mode and acquires the environment sensing data.
  • the environmental sensing data includes at least one of humidity data and light intensity data, the light intensity data including at least one of light data, a screen brightness value, a color distribution value, and a light reflection value.
  • the environment-sensing data may be the environment-sensing data of the environment in which the user is located, or the environment-sensing data of the environment in which the smart terminal is located, and may also be other types of environment-sensing data, which is not specifically limited herein.
  • the humidity data and the light data are acquired by the sensor
  • the screen brightness value and the color distribution value are acquired by the intelligent terminal
  • the reflection value is acquired by the camera.
  • the screen brightness value is the brightness value of the smart terminal display
  • the color distribution value includes the image index related to the color distribution such as the color tone index, color temperature, contrast, and saturation of the smart terminal display
  • the reflection value is the reflected light intensity value.
  • the sensor obtains the environment sensing data before the smart terminal starts the virtual reality mode, and after the smart terminal starts the virtual reality mode, the sensor may register the monitoring event of the corresponding sensor of the service object before the sensor acquires the environment sensing data, and monitor the sensor state in real time. In order to obtain environmental sensing data.
  • the sensor obtains the humidity data and the light data at the same time, or may be performed in sequence.
  • the sensor for obtaining the humidity data and the sensor for obtaining the light data may be turned on only one or both, if only the sensor that obtains the humidity data is turned on, The smart terminal only obtains the humidity data. Similarly, if only the sensor that obtains the light data is turned on, the smart terminal only obtains the light data. When both are turned on, the smart terminal acquires both the humidity data and the light data.
  • other sensors can be turned on to obtain humidity data and light data, which are not specifically limited herein.
  • the user wears a virtual reality head-mounted display device
  • the smart terminal is stuck in the wearable virtual reality head-mounted display device
  • the smart terminal turns on the virtual reality mode
  • the humidity sensor acquires the virtual reality head-mounted display.
  • the humidity data of the device is sent to the smart terminal.
  • the light sensor obtains the light intensity of the virtual reality head mounted display device, and sends the light data to the smart terminal.
  • the intelligent terminal calculates the environmental sensing value by using the environmental sensing data.
  • the environmental sensing value includes at least one of a humidity value and a comprehensive light intensity value
  • the intelligent terminal calculates the environmental sensing value through the environmental sensing data, that is, the intelligent terminal calculates the humidity value through the humidity data, and calculates the integrated light intensity value by using the light intensity data.
  • the calculation method includes, but is not limited to, a multi-data fusion algorithm, an image recognition technology, a pattern matching algorithm, and an image matrix algorithm.
  • the calculation process of the humidity value and the light intensity comprehensive value may be performed simultaneously, or may have a sequence, and is not specifically limited herein. .
  • the smart terminal acquires the humidity value sent by the humidity sensor, and simultaneously obtains the screen brightness value and the color distribution value, first calculates the humidity value by using the humidity data through the pattern matching algorithm, and obtains the humidity value and then uses the same.
  • the image recognition technology recognizes the screen brightness value and the color distribution value to calculate a light intensity integrated value.
  • the preset value includes at least one of a preset humidity value and a preset light intensity integrated value, and the smart terminal compares the environmental sensing value with a preset value, and if the environmental sensing value is greater than or equal to the preset value, the smart terminal determines the ambient humidity. If the smart terminal is too large and/or too strong, the smart terminal exits the virtual reality mode, and can also log out the monitoring event of the corresponding sensor of the management service object and turn off the camera.
  • the preset value is set by the user, or is automatically generated by the smart terminal, and can also be acquired by the cloud.
  • the setting or obtaining of the preset value may be performed before the smart terminal starts the virtual reality mode, or after the smart terminal starts the virtual reality mode.
  • the setting or acquisition of the preset value may be performed before the environmental sensing value is calculated or after the environmental sensing value is calculated.
  • the smart terminal exits the virtual reality mode, the monitoring event of the corresponding sensor of the management service object is cancelled, and the camera can be closed at the same time, or the virtual reality mode can be exited first, then the monitoring event is cancelled and the camera is turned off, or the reflective image is acquired.
  • the smart terminal exits the virtual reality mode, and the monitoring event of the corresponding sensor of the management service object and the sequence of closing the camera are not specifically limited.
  • the smart terminal may only exit the virtual reality mode without canceling the listening event, and the camera is not turned off.
  • the specific operation process may be adjusted according to actual conditions, and is not specifically limited herein.
  • the integrated light intensity value is compared with the preset value obtained from the cloud, and the comparison result is light intensity. If the integrated value is greater than the preset value, the smart terminal determines that the light is too strong, and the environment is not suitable for using the virtual reality mode, prompting the user to exit the virtual reality mode.
  • the invention activates the virtual reality mode by the smart terminal to obtain the environment sensing data, and the smart terminal uses the environment sensing data to calculate the environmental sensing value, and determines whether the environmental sensing value is not less than a preset value, and if the environmental sensing value is not less than the preset value, Exit the virtual reality mode of the smart terminal.
  • the environment sensing data obtained by the intelligent terminal is calculated and the environmental sensing value is calculated, and the environmental sensing value is compared with the preset value, and the intelligent terminal determines whether the usage mode should be exited, thereby protecting the intelligent terminal and the user who uses the smart terminal.
  • step S2 includes:
  • the smart terminal obtains the humidity data, and calculates the humidity value by using the obtained humidity data, or the smart terminal acquires at least one of the light data, the screen brightness value, the color distribution value, and the reflection value, and comprehensively analyzes and calculates the light intensity data.
  • the integrated value of the light intensity is obtained, or the smart terminal acquires the humidity data and the light intensity data, and the smart terminal needs to calculate the comprehensive value of the humidity value and the light intensity at this time.
  • the smart terminal acquires the light data sent by the light sensor, and also obtains the reflected value obtained by the camera, and combines the light data and the reflective value data by using a multi-data fusion algorithm to calculate the integrated light intensity value.
  • the smart terminal acquires the humidity value sent by the humidity sensor, acquires the screen brightness value and the color distribution value, calculates the humidity value by using the humidity data through the pattern matching algorithm, and fuses by using the multi-data fusion algorithm.
  • the integrated value of the light intensity is calculated from the screen brightness value and the color distribution value.
  • step S3 includes:
  • S31 Determine whether the humidity value is greater than or equal to the preset humidity value, and/or determine whether the integrated light intensity value is greater than or equal to the preset light intensity integrated value.
  • the intelligent terminal may select whether the humidity value is greater than or equal to the preset humidity value and determine whether the integrated light intensity value is greater than or equal to one of the preset light intensity comprehensive values, and if the selected humidity value is greater than or equal to the preset humidity value.
  • the intelligent terminal determines that the environmental sensing value is not less than the preset value; the intelligent terminal may also select whether the integrated light intensity value is greater than or equal to the preset light intensity integrated value, then the light is in the light.
  • the strong integrated value is greater than or equal to the preset light intensity integrated value, the intelligent terminal determines that the environmental sensing value is not less than the preset value.
  • the smart terminal determines whether the humidity value is greater than or equal to the preset humidity value, and determines whether the integrated light intensity value is greater than or equal to the preset light intensity integrated value, and when the humidity value is greater than or equal to the preset humidity value and the light intensity integrated value is greater than Or when it is equal to the preset light intensity integrated value, the intelligent terminal determines that the environmental sensing value is not less than the preset value.
  • the preset humidity value and/or the preset light intensity comprehensive value are set by the user, or automatically generated by the smart terminal, and can also be acquired by the cloud, and the preset humidity value is set by the user, and the preset light intensity comprehensive value is determined by the cloud.
  • the acquisition may also be that the preset humidity value and the preset light intensity comprehensive value are automatically generated by the intelligent terminal, and are not specifically limited herein.
  • the user has set a preset integrated light intensity value before the smart terminal has turned on the virtual reality mode, and after the smart terminal acquires the light intensity integrated value, the smart terminal sets the preset light set by the user.
  • the strong integrated value is compared with the integrated value of the light intensity in the virtual reality head-mounted display device worn by the user, and the integrated value of the light intensity in the virtual reality head-mounted display device is determined to be greater than the integrated light intensity integrated value set by the user.
  • the smart terminal determines that the environmental sensing value in the virtual reality head mounted display device is not less than a preset value.
  • the smart terminal acquires the integrated value of the humidity value and the light intensity in the virtual reality head mounted display device worn by the user, and the smart terminal is from the cloud at this time.
  • the value is compared, the intelligent terminal determines that the humidity value is greater than the preset humidity value, but the integrated light intensity value is less than the preset light intensity integrated value.
  • the smart terminal determines that the environmental sensing value in the virtual reality head mounted display device is not less than the preset value. value.
  • the smart terminal can also obtain other environmental sensing data such as temperature to calculate the environmental sensing value, which is determined according to actual needs, and is not specifically limited herein.
  • the fourth embodiment of the intelligent terminal control method of the present invention is based on the first embodiment, and after step S4, the method includes:
  • S40 Send a prompt message to prompt the user to exit the virtual reality mode of the smart terminal.
  • the smart terminal may issue a prompt message to prompt the user that the environment is not suitable for using the virtual reality mode, and should exit the virtual reality mode.
  • the prompt mode may prompt the user for the pop-up window, or prompt the user by voice, and may automatically exit the virtual reality mode after the smart terminal waits for the preset time when the prompt is invalid, and the specific manner is not limited herein, and the prompt mode and the preset time are determined by User settings or smart terminal automatic settings.
  • the user wears a virtual reality head-mounted display device to watch a moving movie and shed tears, and the humidity in the virtual reality head-mounted display device increases, and the smart terminal determines that the environmental humidity may damage the virtual reality head at this time.
  • the wearable display device and the smart terminal so the pop-up window prompts the user to exit the virtual reality mode, and after the smart terminal waits for 10 seconds, the user still does not exit the virtual reality mode, and the smart terminal automatically exits the virtual reality mode.
  • This embodiment can also be combined with the second or third embodiment of the intelligent terminal control method of the present invention or a combination thereof.
  • the fifth embodiment of the intelligent terminal control method of the present invention is based on the first embodiment.
  • the method includes:
  • S10 The smart terminal turns on the camera to obtain the reflection value.
  • the smart terminal can turn on the camera before the smart terminal can open the virtual reality mode, or after the smart terminal turns on the virtual reality mode, the camera can be a front camera or a rear camera, as long as the reflection value can be obtained, the position of the camera is
  • the type is not specifically limited.
  • the user wears a virtual reality head-mounted display device, and the smart terminal turns on the virtual reality mode and then turns on the front camera.
  • the front camera continuously records the user's eye image, and the smart terminal analyzes the eye image. Obtain the intensity of the light reflected in the image of the eye, that is, the reflected value.
  • This embodiment can also be combined with any of the second to fourth embodiments of the intelligent terminal control method of the present invention or a combination thereof that does not conflict.
  • the sixth embodiment of the intelligent terminal control method of the present invention is based on the first embodiment to the fourth embodiment.
  • the method further includes:
  • the registration management service object corresponds to the monitoring event of the sensor, and monitors the status of the sensor to determine whether the sensor has sent the environmental sensing data.
  • the sensor manager is used to manage the sensor.
  • the management service object of the sensor manager includes a sensor that can acquire environmental sensing data in the smart terminal, and/or a sensor that can acquire environmental sensing data in the virtual reality device, and which sensor data is required for the smart terminal to register.
  • the state of the sensor is monitored, and it is determined whether the sensor sends the environmental sensing data to the intelligent terminal.
  • the smart terminal can register only one sensor listening event at a time, or can register multiple sensor listening events at a time, and can also register or repeat the registration multiple times, which is not specifically limited herein.
  • the sensor manager when the sensor manager manages the sensor, it may be a sensor manager that manages only one sensor, or a sensor manager that manages multiple sensors, which may be different types of sensors or the same type of sensor.
  • the type and quantity of the sensor are not specifically limited herein, and a plurality of sensor managers may manage one sensor, and the plurality of sensor managers may be different types of sensor managers or the same sensor manager.
  • the type and number of sensor managers are not specifically limited herein.
  • a sensor manager manages a humidity sensor and a light sensor, and the smart terminal only needs to acquire humidity data, and the management service object of the sensor manager is only a humidity sensor, and the smart terminal registers the humidity sensor. Monitor the event and monitor whether the humidity sensor has sent humidity data to the smart terminal.
  • This embodiment can also be combined with any of the second to fifth embodiments of the intelligent terminal control method of the present invention or a combination thereof.
  • step S30 includes:
  • the intelligent terminal monitors the state of the sensor corresponding to the environment sensing data, and determines whether the sensor is in the data sending state. If the sensor is in the data sending state, the smart terminal determines that the environment sensing data has been sent, and the data sending state may be that the sensor is always in the state.
  • the status of sending environmental sensing data can also be the status at which the sensor sends environmental sensing data.
  • the light sensor continuously sends light data to the smart terminal, and the light sensor is in a data transmission state.
  • the smart terminal may also determine that the light sensor is in the data transmission state.
  • an embodiment of the smart terminal of the present invention includes:
  • Interconnected communication circuit 10 and processor 20 are Interconnected communication circuit 10 and processor 20;
  • the communication circuit 10 is configured to acquire environmental sensing data.
  • the processor 20 is configured to sense the data and process the environment sensing data through the communication circuit 10 and execute the instructions to implement the method provided by any one of the first to seventh embodiments of the intelligent terminal control method of the present invention and any non-conflicting combination.
  • the processor 20 controls the operation of the smart terminal, and the processor 20 may also be referred to as a CPU (Central). Processing Unit, central processing unit).
  • Processor 20 may be an integrated circuit chip with signal processing capabilities.
  • Processor 20 can also be a general purpose processor, digital signal processor (DSP), application specific integrated circuit (ASIC), off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component .
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the intelligent terminal can further include a memory (not shown) for storing instructions and data necessary for the processor 20 to operate.
  • the smart terminal may further include other components such as a display screen and a keyboard according to specific requirements, which are not specifically limited herein.
  • an embodiment of the apparatus 30 having a storage function of the present invention includes:
  • the program data 301 is stored, and the program data 301 can be executed to implement the method provided by any one of the first to seventh embodiments of the intelligent terminal control method of the present invention and any non-conflicting combination.
  • the blank storage unit is selected in the device 30 having the storage function according to the size of the program data 301 to be stored, the storage unit refers to a storage space in which a certain number of bytes can theoretically be stored, and the blank storage unit refers to a blank storage in which no data is stored. unit.
  • the blank storage unit is selected in accordance with the size of the program data 301 to be stored, so that the size of the storage space of the blank storage unit can store the program data 301 to be stored.
  • the device 30 having a storage function may be a portable storage medium such as a USB flash drive or an optical disk, or may be a terminal, a server, or a separate component that can be integrated into a terminal or a server, such as a chip or the like.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), disk or optical disk.
  • ROM Read Only Memory
  • RAM Random Access Memory
  • FIG. 10 is a block diagram showing a specific structure of an intelligent terminal according to an embodiment of the present invention.
  • the smart terminal can be used to implement the smart terminal control method provided in the foregoing embodiment.
  • the smart terminal 1200 can be a smartphone or a tablet.
  • the smart terminal 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more (only one shown) computer-readable storage medium, an input unit 130, and a display unit. 140, sensor 150, audio circuit 160, transmission module 170, including processor 180 having one or more processing cores (only one shown) and power supply 190 and the like.
  • RF Radio Frequency
  • the structure of the smart terminal 1200 shown in FIG. 10 does not constitute a limitation on the smart terminal 1200, and may include more or less components than those illustrated, or combine some components or different components. Arrangement. among them:
  • the RF circuit 110 is configured to receive and transmit electromagnetic waves, and realize mutual conversion between electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices.
  • the RF circuit 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, a memory, and the like.
  • SIM Subscriber Identity Module
  • the RF circuit 110 can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other devices over a wireless network.
  • the wireless network described above may include a cellular telephone network, a wireless local area network, or a metropolitan area network.
  • the above wireless networks may use various communication standards, protocols and technologies, including but not limited to global mobile communication systems (Global System for Mobile Communication, GSM), Enhanced Mobile Communication Technology (Enhanced Data GSM Environment, EDGE), Wideband Code Division Multiple Access (Wideband Code) Division Multiple Access, WCDMA), Code Division Multiple Access (Code Division) Access, CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wireless Fidelity, Wi-Fi) (such as the Institute of Electrical and Electronics Engineers Standard IEEE 802.11a, IEEE 802.11b, IEEE 802.11g and / or IEEE 802.11n), VoIP (Voice) Over Internet Protocol, VoIP), Worldwide Interoperability for Microwave Access (Worldwide Interoperability for Microwave Access, Wi-Max, other protocols for mail, instant messaging, and short messages, as well as any other suitable communication protocol, may even include protocols that are not currently being developed.
  • GSM Global System for Mobile Communication
  • EDGE Enhanced Mobile Communication Technology
  • WCDMA Wideband Code Division Multiple Access
  • CDMA Code Division Multiple
  • the memory 120 can be used to store software programs and modules, such as program instructions/modules corresponding to the intelligent terminal control method in the above embodiment, and the processor 180 executes various functional applications and data by running software programs and modules stored in the memory 120. Processing, that is, the function of implementing intelligent terminal control.
  • Memory 120 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 120 can further include memory remotely located relative to processor 180, which can be connected to smart terminal 1200 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 130 can include touch-sensitive surface 131 as well as other input devices 132.
  • Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 131 can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 180 is provided and can receive commands from the processor 180 and execute them.
  • the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 130 can also include other input devices 132.
  • other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 140 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the smart terminal 1200, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the display unit 140 may include a display panel 141, and optionally, an LCD (Liquid may be used)
  • the display panel 141 is configured in the form of a Crystal Display (LCD) or an OLED (Organic Light-Emitting Diode).
  • touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
  • touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
  • the smart terminal 1200 can also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the smart terminal 1200 moves to the ear. And / or backlight.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the smart terminal 1200 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here No longer.
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the smart terminal 1200.
  • the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, transmitted to the, for example, another smart terminal via the RF circuit 110, or outputted to the memory 120 for further processing.
  • the audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the smart terminal 1200.
  • the smart terminal 1200 can help the user to send and receive emails, browse web pages, and access streaming media through the transmission module 170 (for example, a Wi-Fi module), which provides wireless broadband Internet access for users.
  • the transmission module 170 for example, a Wi-Fi module
  • FIG. 10 shows the transmission module 170, it can be understood that it does not belong to the essential configuration of the smart terminal 1200, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 180 is a control center of the smart terminal 1200 that connects various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120.
  • the various functions and processing data of the smart terminal 1200 are executed to perform overall monitoring of the mobile phone.
  • the processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and For applications, etc., the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
  • the intelligent terminal 1200 also includes a power supply 190 (such as a battery) that supplies power to various components.
  • the power supply can be logically coupled to the processor 180 through a power management system to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the smart terminal 1200 may further include a camera (such as a front camera, a rear camera), a Bluetooth module, and the like, and details are not described herein.
  • the display unit of the smart terminal is a touch screen display
  • the smart terminal further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be one or one
  • the above processor executes one or more programs that include instructions for performing the following operations:
  • the smart terminal starts the virtual reality mode and acquires the environment sensing data
  • the smart terminal calculates the environmental sensing value by using the environmental sensing data
  • the environmental sensing value comprises at least one of a humidity value and a light intensity integrated value
  • the calculating, by the smart terminal, the environment sensing value by using the environment sensing data includes:
  • the humidity value is calculated using the humidity data and/or the light intensity integrated value is calculated using the light intensity data.
  • the preset value includes at least one of a preset humidity value and a preset light intensity integrated value
  • the determining whether the environmental sensing value is not less than a preset value includes:
  • the humidity value is greater than or equal to the preset humidity value, and/or the light intensity integrated value is greater than or equal to the preset light intensity integrated value, it is determined that the environmental sensing value is not less than a preset value.
  • the obtaining the environmental sensing data comprises:
  • the smart terminal turns on the camera to obtain the reflected value.
  • the obtaining the environmental sensing data further includes:
  • the method further includes:
  • the logout management service object corresponds to the sensor's listening event and/or turns off the camera.

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)
  • Telephone Function (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

A smart terminal control method, a smart terminal, and a device having a storage function. The method comprises: a smart terminal starts a virtual reality mode and acquires environment sensing data (S1); the smart terminal calculates an environment sensing value by means of the environment sensing data (S2); determine whether the environment sensing value is not less than a preset value (S3); if the environment sensing value is not less than the preset value, exit the virtual reality mode (S4). By means of the method, a smart terminal can be controlled when the use environment changes, so that the smart terminal and the user will not be affected by the use environment.

Description

智能终端控制方法、智能终端及具有存储功能的装置Intelligent terminal control method, intelligent terminal and device with storage function
本申请要求于2017年11月27日提交中国专利局、申请号为201711221266.9、发明名称为“智能终端控制方法、智能终端及具有存储功能的装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on November 27, 2017, the Chinese Patent Office, the application number is 201711221266.9, and the invention is entitled "Intelligent Terminal Control Method, Intelligent Terminal, and Device with Storage Function". The citations are incorporated herein by reference.
技术领域Technical field
本发明涉及智能终端领域,特别是涉及一种智能终端控制方法、智能终端及具有存储功能的装置。The present invention relates to the field of intelligent terminals, and in particular, to an intelligent terminal control method, an intelligent terminal, and a device having a storage function.
背景技术Background technique
用户在使用智能终端时,常常投入某个场景太久导致过度使用智能终端,给智能终端带来不必要的损耗,以及对用户自身造成伤害。例如,用户在使用虚拟现实头戴式显示设备时,由于近距离观看屏幕,且用户投入观看时间过长时,眼睛容易干涩,继续观看容易对用户视力造成损伤,再如,用户在看感人电影时,容易落泪,泪水使得虚拟现实头戴式显示设备内的湿度会上升,容易损害智能终端或者虚拟现实头戴式显示设备。When a user uses a smart terminal, often investing in a scene for too long leads to excessive use of the smart terminal, causing unnecessary loss to the smart terminal and causing harm to the user. For example, when a user uses a virtual reality head-mounted display device, since the screen is viewed at a close distance, and the user puts the viewing time for too long, the eyes are prone to dryness, and continuing to watch is likely to cause damage to the user's vision. For example, the user is watching a moving movie. At the time, it is easy to shed tears, and the tears cause the humidity in the virtual reality head-mounted display device to rise, which easily damages the smart terminal or the virtual reality head-mounted display device.
技术问题technical problem
本发明实施例提供一种智能终端控制方法、智能终端及具有存储功能的装置,能够解决现有智能终端不能跟随环境的变化而退出使用模式的问题。The embodiment of the invention provides an intelligent terminal control method, an intelligent terminal and a device with a storage function, which can solve the problem that the existing intelligent terminal cannot exit the usage mode following the change of the environment.
技术解决方案Technical solution
第一方面,为解决上述技术问题,本发明采用的一个技术方案是:提供一种智能终端控制方法,其包括:智能终端开启虚拟现实模式,获取环境感应数据,该智能终端利用该环境感应数据计算环境感应值,判断环境感应值是否不小于预设值,若环境感应值不小于预设值,则退出智能终端的虚拟现实模式。In a first aspect, in order to solve the above technical problem, a technical solution adopted by the present invention is to provide an intelligent terminal control method, which includes: an intelligent terminal starts a virtual reality mode, acquires environment sensing data, and the smart terminal uses the environment to sense data. The environment sensing value is calculated to determine whether the environmental sensing value is not less than a preset value. If the environmental sensing value is not less than the preset value, the virtual reality mode of the smart terminal is exited.
在所述智能终端控制方法中,所述环境感应数据包括湿度数据和光强数据中的至少一个,所述光强数据包括光线数据、屏幕亮度值、颜色分布值和反光值中的至少一个。In the smart terminal control method, the environmental sensing data includes at least one of humidity data and light intensity data, the light intensity data including at least one of light data, a screen brightness value, a color distribution value, and a light reflection value.
在所述智能终端控制方法中,所述环境感应值包括湿度值和光强综合值中的至少一个;In the smart terminal control method, the environmental sensing value includes at least one of a humidity value and a light intensity integrated value;
所述智能终端利用所述环境感应数据计算环境感应值包括:The calculating, by the smart terminal, the environment sensing value by using the environment sensing data includes:
利用所述湿度数据计算得到湿度值和/或利用所述光强数据计算得到所述光强综合值。The humidity value is calculated using the humidity data and/or the light intensity integrated value is calculated using the light intensity data.
在所述智能终端控制方法中,所述预设值包括预设湿度值和预设光强综合值中的至少一个;In the smart terminal control method, the preset value includes at least one of a preset humidity value and a preset light intensity integrated value;
所述判断所述环境感应值是否不小于预设值包括:The determining whether the environmental sensing value is not less than a preset value includes:
判断所述湿度值是否大于或者等于预设湿度值,和/或判断所述光强综合值是否大于或者等于预设光强综合值;Determining whether the humidity value is greater than or equal to a preset humidity value, and/or determining whether the light intensity integrated value is greater than or equal to a preset light intensity integrated value;
若所述湿度值大于或者等于预设湿度值,和/或所述光强综合值大于或者等于预设光强综合值,则判定所述环境感应值不小于预设值。If the humidity value is greater than or equal to the preset humidity value, and/or the light intensity integrated value is greater than or equal to the preset light intensity integrated value, it is determined that the environmental sensing value is not less than a preset value.
在所述智能终端控制方法中,所述环境感应值不小于所述预设值之后包括:In the smart terminal control method, after the environment sensing value is not less than the preset value, the method includes:
发出提示信息,以提示用户退出所述智能终端的虚拟现实模式。A prompt message is sent to prompt the user to exit the virtual reality mode of the smart terminal.
在所述智能终端控制方法中,所述获取环境感应数据之前包括:In the smart terminal control method, before the acquiring the environment sensing data, the method includes:
所述智能终端开启摄像头以获取所述反光值。The smart terminal turns on the camera to obtain the reflected value.
在所述智能终端控制方法中,所述获取环境感应数据之前还包括:In the smart terminal control method, before the acquiring the environment sensing data, the method further includes:
获取传感器管理器的管理服务对象;Obtain the management service object of the sensor manager;
注册所述管理服务对象对应传感器的监听事件,监听所述传感器的状态以判断所述传感器是否已发送所述环境感应数据。Registering the monitoring service object corresponding to the monitoring event of the sensor, and monitoring the status of the sensor to determine whether the sensor has sent the environmental sensing data.
在所述智能终端控制方法中,所述监听所述传感器的状态以判断所述传感器是否已发送所述环境感应数据包括:In the smart terminal control method, the monitoring the status of the sensor to determine whether the sensor has sent the environmental sensing data includes:
若所述传感器处于数据发送状态,则判定所述传感器已发送所述环境感应数据。If the sensor is in a data transmission state, it is determined that the sensor has transmitted the environmental sensing data.
第二方面,为解决上述技术问题,本发明采用的另一个技术方案是:提供一种智能终端,其包括:相互连接的通信电路和处理器,用于实现如下步骤:In a second aspect, in order to solve the above technical problem, another technical solution adopted by the present invention is to provide an intelligent terminal, comprising: a communication circuit and a processor connected to each other, and the following steps are implemented:
智能终端开启虚拟现实模式,获取环境感应数据;The smart terminal starts the virtual reality mode and acquires the environment sensing data;
所述智能终端利用所述环境感应数据计算环境感应值;The smart terminal calculates the environmental sensing value by using the environmental sensing data;
判断所述环境感应值是否不小于预设值;Determining whether the environmental sensing value is not less than a preset value;
若所述环境感应值不小于所述预设值,则退出所述智能终端的虚拟现实模式。If the environmental sensing value is not less than the preset value, exiting the virtual reality mode of the smart terminal.
在所述的智能终端中,所述环境感应值包括湿度值和光强综合值中的至少一个;In the smart terminal, the environmental sensing value includes at least one of a humidity value and a light intensity integrated value;
所述智能终端利用所述环境感应数据计算环境感应值包括:The calculating, by the smart terminal, the environment sensing value by using the environment sensing data includes:
利用所述湿度数据计算得到湿度值和/或利用所述光强数据计算得到所述光强综合值。The humidity value is calculated using the humidity data and/or the light intensity integrated value is calculated using the light intensity data.
在所述的智能终端中,所述预设值包括预设湿度值和预设光强综合值中的至少一个;In the smart terminal, the preset value includes at least one of a preset humidity value and a preset light intensity integrated value;
所述判断所述环境感应值是否不小于预设值包括:The determining whether the environmental sensing value is not less than a preset value includes:
判断所述湿度值是否大于或者等于预设湿度值,和/或判断所述光强综合值是否大于或者等于预设光强综合值;Determining whether the humidity value is greater than or equal to a preset humidity value, and/or determining whether the light intensity integrated value is greater than or equal to a preset light intensity integrated value;
若所述湿度值大于或者等于预设湿度值,和/或所述光强综合值大于或者等于预设光强综合值,则判定所述环境感应值不小于预设值。If the humidity value is greater than or equal to the preset humidity value, and/or the light intensity integrated value is greater than or equal to the preset light intensity integrated value, it is determined that the environmental sensing value is not less than a preset value.
在所述的智能终端中,所述获取环境感应数据之前包括:In the smart terminal, the obtaining the environment sensing data includes:
所述智能终端开启摄像头以获取所述反光值。The smart terminal turns on the camera to obtain the reflected value.
在所述的智能终端中,所述获取环境感应数据之前还包括:In the smart terminal, before the obtaining the environment sensing data, the method further includes:
获取传感器管理器的管理服务对象;Obtain the management service object of the sensor manager;
注册所述管理服务对象对应传感器的监听事件,监听所述传感器的状态以判断所述传感器是否已发送所述环境感应数据。Registering the monitoring service object corresponding to the monitoring event of the sensor, and monitoring the status of the sensor to determine whether the sensor has sent the environmental sensing data.
在所述的智能终端中,在所述退出所述智能终端的虚拟现实模式的步骤之后,还包括:In the smart terminal, after the step of exiting the virtual reality mode of the smart terminal, the method further includes:
注销管理服务对象对应传感器的监听事件和/或关闭摄像头。The logout management service object corresponds to the sensor's listening event and/or turns off the camera.
第三方面,为解决上述技术问题,本发明采用的又一个技术方案是:提供一种具有存储功能的装置,其包括:存储有程序数据,程序数据能够被执行以实现如下步骤:In a third aspect, in order to solve the above technical problem, another technical solution adopted by the present invention is to provide an apparatus having a storage function, including: storing program data, and the program data can be executed to implement the following steps:
智能终端开启虚拟现实模式,获取环境感应数据;The smart terminal starts the virtual reality mode and acquires the environment sensing data.
所述智能终端利用所述环境感应数据计算环境感应值;The smart terminal calculates the environmental sensing value by using the environmental sensing data;
判断所述环境感应值是否不小于预设值;Determining whether the environmental sensing value is not less than a preset value;
若所述环境感应值不小于所述预设值,则退出所述智能终端的虚拟现实模式。If the environmental sensing value is not less than the preset value, exiting the virtual reality mode of the smart terminal.
在所述的具有存储功能的装置中,所述环境感应值包括湿度值和光强综合值中的至少一个;In the device having a storage function, the environmental sensing value includes at least one of a humidity value and a light intensity integrated value;
所述智能终端利用所述环境感应数据计算环境感应值包括:The calculating, by the smart terminal, the environment sensing value by using the environment sensing data includes:
利用所述湿度数据计算得到湿度值和/或利用所述光强数据计算得到所述光强综合值。The humidity value is calculated using the humidity data and/or the light intensity integrated value is calculated using the light intensity data.
在所述的具有存储功能的装置中,所述预设值包括预设湿度值和预设光强综合值中的至少一个;In the device having a storage function, the preset value includes at least one of a preset humidity value and a preset light intensity integrated value;
所述判断所述环境感应值是否不小于预设值包括:The determining whether the environmental sensing value is not less than a preset value includes:
判断所述湿度值是否大于或者等于预设湿度值,和/或判断所述光强综合值是否大于或者等于预设光强综合值;Determining whether the humidity value is greater than or equal to a preset humidity value, and/or determining whether the light intensity integrated value is greater than or equal to a preset light intensity integrated value;
若所述湿度值大于或者等于预设湿度值,和/或所述光强综合值大于或者等于预设光强综合值,则判定所述环境感应值不小于预设值。If the humidity value is greater than or equal to the preset humidity value, and/or the light intensity integrated value is greater than or equal to the preset light intensity integrated value, it is determined that the environmental sensing value is not less than a preset value.
在所述的具有存储功能的装置中,所述获取环境感应数据之前包括:In the device with the storage function, the obtaining the environment sensing data includes:
所述智能终端开启摄像头以获取所述反光值。The smart terminal turns on the camera to obtain the reflected value.
在所述的具有存储功能的装置中,所述获取环境感应数据之前还包括:In the device with the storage function, the obtaining the environment sensing data further includes:
获取传感器管理器的管理服务对象;Obtain the management service object of the sensor manager;
注册所述管理服务对象对应传感器的监听事件,监听所述传感器的状态以判断所述传感器是否已发送所述环境感应数据。Registering the monitoring service object corresponding to the monitoring event of the sensor, and monitoring the status of the sensor to determine whether the sensor has sent the environmental sensing data.
在所述的具有存储功能的装置中,在所述退出所述智能终端的虚拟现实模式的步骤之后,还包括:In the device with the storage function, after the step of exiting the virtual reality mode of the smart terminal, the method further includes:
注销管理服务对象对应传感器的监听事件和/或关闭摄像头。The logout management service object corresponds to the sensor's listening event and/or turns off the camera.
有益效果Beneficial effect
本发明通过智能终端开启虚拟现实模式,获取环境感应数据,该智能终端利用该环境感应数据计算环境感应值,判断环境感应值是否不小于预设值,若环境感应值不小于预设值,则退出智能终端的虚拟现实模式。通过获取的环境感应数据,智能终端可以自动判断是否应该退出使用模式,从而能够保护智能终端及使用智能终端的用户。The invention activates the virtual reality mode by the smart terminal to obtain the environment sensing data, and the smart terminal uses the environment sensing data to calculate the environmental sensing value, and determines whether the environmental sensing value is not less than a preset value, and if the environmental sensing value is not less than the preset value, Exit the virtual reality mode of the smart terminal. Through the acquired environmental sensing data, the smart terminal can automatically determine whether the usage mode should be exited, thereby protecting the smart terminal and the user who uses the smart terminal.
附图说明DRAWINGS
图1是本发明提供的智能终端控制方法第一实施例的流程示意图;1 is a schematic flowchart of a first embodiment of a method for controlling an intelligent terminal according to the present invention;
图2是本发明提供的智能终端控制方法第二实施例的流程示意图;2 is a schematic flowchart of a second embodiment of a method for controlling an intelligent terminal according to the present invention;
图3是本发明提供的智能终端控制方法第三实施例的流程示意图;3 is a schematic flowchart of a third embodiment of a method for controlling an intelligent terminal according to the present invention;
图4是本发明提供的智能终端控制方法第四实施例的流程示意图;4 is a schematic flowchart of a fourth embodiment of a method for controlling an intelligent terminal according to the present invention;
图5是本发明提供的智能终端控制方法第五实施例的流程示意图;FIG. 5 is a schematic flowchart diagram of a fifth embodiment of a method for controlling an intelligent terminal according to the present invention; FIG.
图6是本发明提供的智能终端控制方法第六实施例的流程示意图;6 is a schematic flowchart of a sixth embodiment of a method for controlling an intelligent terminal according to the present invention;
图7是本发明提供的智能终端控制方法第七实施例的流程示意图;7 is a schematic flowchart diagram of a seventh embodiment of a method for controlling an intelligent terminal according to the present invention;
图8是本发明提供的智能终端一实施例的结构示意图;8 is a schematic structural diagram of an embodiment of a smart terminal provided by the present invention;
图9是本发明提供的具有存储功能的装置一实施例的结构示意图。FIG. 9 is a schematic structural diagram of an embodiment of a device having a storage function provided by the present invention.
图10是本发明实施例提供的智能终端的具体结构示意图。FIG. 10 is a schematic structural diagram of an intelligent terminal according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
如图1所示,本发明智能终端控制方法第一实施例包括:As shown in FIG. 1, the first embodiment of the intelligent terminal control method of the present invention includes:
S1:智能终端开启虚拟现实模式,获取环境感应数据。S1: The smart terminal starts the virtual reality mode and acquires the environment sensing data.
环境感应数据包括湿度数据和光强数据中的至少一个,光强数据包括光线数据、屏幕亮度值、颜色分布值和反光值中的至少一个。The environmental sensing data includes at least one of humidity data and light intensity data, the light intensity data including at least one of light data, a screen brightness value, a color distribution value, and a light reflection value.
其中,环境感应数据可以是用户所处的环境的环境感应数据,也可以是智能终端所处的环境的环境感应数据,还可以为其他类型的环境感应数据,此处不作具体限定。The environment-sensing data may be the environment-sensing data of the environment in which the user is located, or the environment-sensing data of the environment in which the smart terminal is located, and may also be other types of environment-sensing data, which is not specifically limited herein.
其中,湿度数据和光线数据由传感器获取,屏幕亮度值和颜色分布值由智能终端获取,反光值由摄像头获取。屏幕亮度值为智能终端显示屏的亮度值,颜色分布值包括智能终端显示屏的色阶指数、色温、对比度和饱和度等与颜色分布有关的图像指数,反光值为反射的光线强度值。Among them, the humidity data and the light data are acquired by the sensor, the screen brightness value and the color distribution value are acquired by the intelligent terminal, and the reflection value is acquired by the camera. The screen brightness value is the brightness value of the smart terminal display, and the color distribution value includes the image index related to the color distribution such as the color tone index, color temperature, contrast, and saturation of the smart terminal display, and the reflection value is the reflected light intensity value.
其中,传感器获取环境感应数据可以在智能终端开启虚拟现实模式之前,也可以在智能终端开启虚拟现实模式之后,传感器获取环境感应数据之前可以先注册管理服务对象对应传感器的监听事件,实时监听传感器状态,以便获取环境感应数据。The sensor obtains the environment sensing data before the smart terminal starts the virtual reality mode, and after the smart terminal starts the virtual reality mode, the sensor may register the monitoring event of the corresponding sensor of the service object before the sensor acquires the environment sensing data, and monitor the sensor state in real time. In order to obtain environmental sensing data.
其中,传感器获取湿度数据和光线数据可以同时进行,也可以以先后顺序进行,获取湿度数据的传感器和获取光线数据的传感器可以只开启一个,也可以都开启,若只有获取湿度数据的传感器开启,则智能终端只获取湿度数据,同样地,若只有获取光线数据的传感器开启,则智能终端只获取光线数据,两者都开启时,智能终端既获取湿度数据又获取光线数据。当然,还可以开启其他传感器获取湿度数据和光线数据,此处不做具体限定。The sensor obtains the humidity data and the light data at the same time, or may be performed in sequence. The sensor for obtaining the humidity data and the sensor for obtaining the light data may be turned on only one or both, if only the sensor that obtains the humidity data is turned on, The smart terminal only obtains the humidity data. Similarly, if only the sensor that obtains the light data is turned on, the smart terminal only obtains the light data. When both are turned on, the smart terminal acquires both the humidity data and the light data. Of course, other sensors can be turned on to obtain humidity data and light data, which are not specifically limited herein.
具体地,在一个应用例中,用户穿戴虚拟现实头戴式显示设备,智能终端卡入穿戴虚拟现实头戴式显示设备中,智能终端开启虚拟现实模式,湿度传感器获取到虚拟现实头戴式显示设备的湿度数据,发送该湿度数据给智能终端,同样的,光线传感器获取到虚拟现实头戴式显示设备的光线强度,发送该光线数据给智能终端。Specifically, in one application example, the user wears a virtual reality head-mounted display device, the smart terminal is stuck in the wearable virtual reality head-mounted display device, the smart terminal turns on the virtual reality mode, and the humidity sensor acquires the virtual reality head-mounted display. The humidity data of the device is sent to the smart terminal. Similarly, the light sensor obtains the light intensity of the virtual reality head mounted display device, and sends the light data to the smart terminal.
S2:智能终端利用环境感应数据计算环境感应值。S2: The intelligent terminal calculates the environmental sensing value by using the environmental sensing data.
环境感应值包括湿度值和光强综合值中的至少一个,智能终端通过环境感应数据计算得到环境感应值,即,智能终端通过湿度数据计算得到湿度值,通过光强数据计算得到光强综合值,计算方法包括但不限于多数据融合算法、图像识别技术、模式匹配算法和图像矩阵算法,湿度值和光强综合值的计算过程可以同时进行,也可以有先后顺序,此处不做具体限定。The environmental sensing value includes at least one of a humidity value and a comprehensive light intensity value, and the intelligent terminal calculates the environmental sensing value through the environmental sensing data, that is, the intelligent terminal calculates the humidity value through the humidity data, and calculates the integrated light intensity value by using the light intensity data. The calculation method includes, but is not limited to, a multi-data fusion algorithm, an image recognition technology, a pattern matching algorithm, and an image matrix algorithm. The calculation process of the humidity value and the light intensity comprehensive value may be performed simultaneously, or may have a sequence, and is not specifically limited herein. .
具体地,在一个应用例中,智能终端获取到湿度传感器发送的湿度值,同时获取到屏幕亮度值和颜色分布值,先通过模式匹配算法利用湿度数据计算得到湿度值,得到湿度值后再利用图像识别技术识别屏幕亮度值和颜色分布值计算出光强综合值。Specifically, in an application example, the smart terminal acquires the humidity value sent by the humidity sensor, and simultaneously obtains the screen brightness value and the color distribution value, first calculates the humidity value by using the humidity data through the pattern matching algorithm, and obtains the humidity value and then uses the same. The image recognition technology recognizes the screen brightness value and the color distribution value to calculate a light intensity integrated value.
S3:判断环境感应值是否不小于预设值。S3: Determine whether the environmental sensing value is not less than a preset value.
S4:若环境感应值不小于预设值,则退出智能终端的虚拟现实模式。S4: If the environmental sensing value is not less than the preset value, exit the virtual reality mode of the smart terminal.
预设值包括预设湿度值和预设光强综合值中的至少一个,智能终端将环境感应值与预设值作比较,若环境感应值大于或者等于预设值,则智能终端判定环境湿度过大和/或光线过强,智能终端退出虚拟现实模式,还可以注销管理服务对象对应传感器的监听事件和关闭摄像头。The preset value includes at least one of a preset humidity value and a preset light intensity integrated value, and the smart terminal compares the environmental sensing value with a preset value, and if the environmental sensing value is greater than or equal to the preset value, the smart terminal determines the ambient humidity. If the smart terminal is too large and/or too strong, the smart terminal exits the virtual reality mode, and can also log out the monitoring event of the corresponding sensor of the management service object and turn off the camera.
其中,预设值由用户设置,或者由智能终端自动生成,还可以由云端获取,该预设值的设置或获取可以在智能终端开启虚拟现实模式之前,也可以在智能终端开启虚拟现实模式之后,同样地,该预设值的设置或获取可以在计算出环境感应值之前或者计算出环境感应值之后。The preset value is set by the user, or is automatically generated by the smart terminal, and can also be acquired by the cloud. The setting or obtaining of the preset value may be performed before the smart terminal starts the virtual reality mode, or after the smart terminal starts the virtual reality mode. Similarly, the setting or acquisition of the preset value may be performed before the environmental sensing value is calculated or after the environmental sensing value is calculated.
其中,智能终端退出虚拟现实模式、注销管理服务对象对应传感器的监听事件和关闭摄像头可以同时进行,也可以是先退出虚拟现实模式,再注销该监听事件和关闭摄像头,还可以是在获取了反光值后就关闭摄像头,智能终端退出虚拟现实模式、注销管理服务对象对应传感器的监听事件和关闭摄像头的先后顺序不做具体限定。当然,在其他实施例中,智能终端也可以只是退出虚拟现实模式,而不注销该监听事件,也不关闭摄像头,具体操作过程可以视实际情况调整,此处不做具体限定。The smart terminal exits the virtual reality mode, the monitoring event of the corresponding sensor of the management service object is cancelled, and the camera can be closed at the same time, or the virtual reality mode can be exited first, then the monitoring event is cancelled and the camera is turned off, or the reflective image is acquired. After the value is turned off, the smart terminal exits the virtual reality mode, and the monitoring event of the corresponding sensor of the management service object and the sequence of closing the camera are not specifically limited. Of course, in other embodiments, the smart terminal may only exit the virtual reality mode without canceling the listening event, and the camera is not turned off. The specific operation process may be adjusted according to actual conditions, and is not specifically limited herein.
具体地,在一个应用例中,智能终端计算得到虚拟现实头戴式显示设备内的光强综合值后,将光强综合值与从云端获取的预设值作比较,比较的结果为光强综合值大于预设值,则智能终端判定光线过强,此时环境不适合使用虚拟现实模式,提示用户退出虚拟现实模式。Specifically, in an application example, after the smart terminal calculates the integrated light intensity value in the virtual reality head-mounted display device, the integrated light intensity value is compared with the preset value obtained from the cloud, and the comparison result is light intensity. If the integrated value is greater than the preset value, the smart terminal determines that the light is too strong, and the environment is not suitable for using the virtual reality mode, prompting the user to exit the virtual reality mode.
本发明通过智能终端开启虚拟现实模式,获取环境感应数据,该智能终端利用该环境感应数据计算环境感应值,判断环境感应值是否不小于预设值,若环境感应值不小于预设值,则退出智能终端的虚拟现实模式。通过智能终端获取的环境感应数据并计算出环境感应值,将该环境感应值与预设值对比,智能终端判断是否应该退出使用模式,从而可以保护智能终端及使用智能终端的用户。The invention activates the virtual reality mode by the smart terminal to obtain the environment sensing data, and the smart terminal uses the environment sensing data to calculate the environmental sensing value, and determines whether the environmental sensing value is not less than a preset value, and if the environmental sensing value is not less than the preset value, Exit the virtual reality mode of the smart terminal. The environment sensing data obtained by the intelligent terminal is calculated and the environmental sensing value is calculated, and the environmental sensing value is compared with the preset value, and the intelligent terminal determines whether the usage mode should be exited, thereby protecting the intelligent terminal and the user who uses the smart terminal.
如图2所示,本发明智能终端控制方法第二实施例是在第一实施例的基础上,进一步限定步骤S2包括:As shown in FIG. 2, the second embodiment of the intelligent terminal control method of the present invention is based on the first embodiment, and further defining step S2 includes:
S21:利用湿度数据计算得到湿度值和/或利用光强数据计算得到光强综合值。S21: Calculating the humidity value by using the humidity data and/or calculating the light intensity comprehensive value by using the light intensity data.
智能终端获取到湿度数据,利用获取到的湿度数据计算得到湿度值,或者,智能终端获取到光线数据、屏幕亮度值、颜色分布值和反光值中的至少一个,通过该光强数据综合分析计算得到光强综合值,又或者,智能终端获取到湿度数据和光强数据,此时智能终端需计算湿度值和光强综合值。The smart terminal obtains the humidity data, and calculates the humidity value by using the obtained humidity data, or the smart terminal acquires at least one of the light data, the screen brightness value, the color distribution value, and the reflection value, and comprehensively analyzes and calculates the light intensity data. The integrated value of the light intensity is obtained, or the smart terminal acquires the humidity data and the light intensity data, and the smart terminal needs to calculate the comprehensive value of the humidity value and the light intensity at this time.
具体地,在一个应用例中,智能终端获取到光线传感器发送的光线数据,还获取到摄像头获取的反光值,利用多数据融合算法将光线数据和反光值数据融合,计算出光强综合值。Specifically, in an application example, the smart terminal acquires the light data sent by the light sensor, and also obtains the reflected value obtained by the camera, and combines the light data and the reflective value data by using a multi-data fusion algorithm to calculate the integrated light intensity value.
具体地,在另一个应用例中,智能终端获取到湿度传感器发送的湿度值,同时获取到屏幕亮度值和颜色分布值,通过模式匹配算法利用湿度数据计算得到湿度值,利用多数据融合算法融合屏幕亮度值和颜色分布值计算出光强综合值。Specifically, in another application example, the smart terminal acquires the humidity value sent by the humidity sensor, acquires the screen brightness value and the color distribution value, calculates the humidity value by using the humidity data through the pattern matching algorithm, and fuses by using the multi-data fusion algorithm. The integrated value of the light intensity is calculated from the screen brightness value and the color distribution value.
如图3所示,本发明智能终端控制方法第三实施例是在第二实施例的基础上,进一步限定步骤S3包括:As shown in FIG. 3, the third embodiment of the intelligent terminal control method of the present invention is based on the second embodiment, and further defining step S3 includes:
    S31:判断湿度值是否大于或者等于预设湿度值,和/或判断光强综合值是否大于或者等于预设光强综合值。 S31: Determine whether the humidity value is greater than or equal to the preset humidity value, and/or determine whether the integrated light intensity value is greater than or equal to the preset light intensity integrated value.
    S32:若湿度值大于或者等于预设湿度值,和/或光强综合值大于或者等于预设光强综合值,则判定环境感应值不小于预设值。 S32: If the humidity value is greater than or equal to the preset humidity value, and/or the light intensity integrated value is greater than or equal to the preset light intensity integrated value, it is determined that the environmental sensing value is not less than a preset value.
智能终端可以选取判断湿度值是否大于或者等于预设湿度值和判断光强综合值是否大于或者等于预设光强综合值中的一个进行判断,若选取判断湿度值是否大于或者等于预设湿度值,则在湿度值大于或者等于预设湿度值时,智能终端判定环境感应值不小于预设值;智能终端也可以选取判断光强综合值是否大于或者等于预设光强综合值,则在光强综合值大于或者等于预设光强综合值时,智能终端判定环境感应值不小于预设值。或者,智能终端既判断湿度值是否大于或者等于预设湿度值,又判断光强综合值是否大于或者等于预设光强综合值,当湿度值大于或者等于预设湿度值且光强综合值大于或者等于预设光强综合值时,智能终端判定环境感应值不小于预设值。The intelligent terminal may select whether the humidity value is greater than or equal to the preset humidity value and determine whether the integrated light intensity value is greater than or equal to one of the preset light intensity comprehensive values, and if the selected humidity value is greater than or equal to the preset humidity value. When the humidity value is greater than or equal to the preset humidity value, the intelligent terminal determines that the environmental sensing value is not less than the preset value; the intelligent terminal may also select whether the integrated light intensity value is greater than or equal to the preset light intensity integrated value, then the light is in the light. When the strong integrated value is greater than or equal to the preset light intensity integrated value, the intelligent terminal determines that the environmental sensing value is not less than the preset value. Alternatively, the smart terminal determines whether the humidity value is greater than or equal to the preset humidity value, and determines whether the integrated light intensity value is greater than or equal to the preset light intensity integrated value, and when the humidity value is greater than or equal to the preset humidity value and the light intensity integrated value is greater than Or when it is equal to the preset light intensity integrated value, the intelligent terminal determines that the environmental sensing value is not less than the preset value.
其中,预设湿度值和/或预设光强综合值由用户设置,或者由智能终端自动生成,还可以由云端获取,可以是预设湿度值由用户设置,预设光强综合值由云端获取,还可以是预设湿度值和预设光强综合值都由智能终端自动生成,此处不做具体限定。The preset humidity value and/or the preset light intensity comprehensive value are set by the user, or automatically generated by the smart terminal, and can also be acquired by the cloud, and the preset humidity value is set by the user, and the preset light intensity comprehensive value is determined by the cloud. The acquisition may also be that the preset humidity value and the preset light intensity comprehensive value are automatically generated by the intelligent terminal, and are not specifically limited herein.
具体地,在一个应用例中,用户在智能终端还未开启虚拟现实模式之前已经设置了预设光强综合值,在智能终端获取了光强综合值后,智能终端将用户设置的预设光强综合值与用户穿戴的虚拟现实头戴式显示设备中的光强综合值作比较,判定虚拟现实头戴式显示设备内的光强综合值大于用户设置的预设光强综合值,此时,智能终端判定虚拟现实头戴式显示设备内的环境感应值不小于预设值。Specifically, in an application example, the user has set a preset integrated light intensity value before the smart terminal has turned on the virtual reality mode, and after the smart terminal acquires the light intensity integrated value, the smart terminal sets the preset light set by the user. The strong integrated value is compared with the integrated value of the light intensity in the virtual reality head-mounted display device worn by the user, and the integrated value of the light intensity in the virtual reality head-mounted display device is determined to be greater than the integrated light intensity integrated value set by the user. The smart terminal determines that the environmental sensing value in the virtual reality head mounted display device is not less than a preset value.
具体地,在另一个应用例中,智能终端开启虚拟现实模式一段时间后,智能终端获取了用户穿戴的虚拟现实头戴式显示设备中的湿度值和光强综合值,此时智能终端从云端获取预设湿度值和预设光强综合值,并将从云端获取的预设湿度值和预设光强综合值分别与用户穿戴的虚拟现实头戴式显示设备中的湿度值和光强综合值作比较,智能终端判定湿度值大于预设湿度值,但光强综合值小于预设光强综合值,此时,智能终端判定虚拟现实头戴式显示设备内的环境感应值不小于预设值。Specifically, in another application example, after the smart terminal starts the virtual reality mode for a period of time, the smart terminal acquires the integrated value of the humidity value and the light intensity in the virtual reality head mounted display device worn by the user, and the smart terminal is from the cloud at this time. Obtaining a preset humidity value and a preset light intensity comprehensive value, and integrating the preset humidity value and the preset light intensity comprehensive value obtained from the cloud with the humidity value and the light intensity in the virtual reality head mounted display device worn by the user respectively. The value is compared, the intelligent terminal determines that the humidity value is greater than the preset humidity value, but the integrated light intensity value is less than the preset light intensity integrated value. At this time, the smart terminal determines that the environmental sensing value in the virtual reality head mounted display device is not less than the preset value. value.
当然,在其他实施例中,智能终端还可以获取温度等其他环境感应数据,以计算环境感应值,具体视实际需求而定,此处不做具体限定。Of course, in other embodiments, the smart terminal can also obtain other environmental sensing data such as temperature to calculate the environmental sensing value, which is determined according to actual needs, and is not specifically limited herein.
如图4所示,本发明智能终端控制方法第四实施例是在第一实施例的基础上,步骤S4之后包括:As shown in FIG. 4, the fourth embodiment of the intelligent terminal control method of the present invention is based on the first embodiment, and after step S4, the method includes:
S40:发出提示信息,以提示用户退出智能终端的虚拟现实模式。S40: Send a prompt message to prompt the user to exit the virtual reality mode of the smart terminal.
在智能终端判定环境感应值不小于预设值后,智能终端可以发出提示信息提示用户该环境不适合使用虚拟现实模式,应退出虚拟现实模式。After the smart terminal determines that the environment sensing value is not less than the preset value, the smart terminal may issue a prompt message to prompt the user that the environment is not suitable for using the virtual reality mode, and should exit the virtual reality mode.
其中,提示方式可以为弹出窗口提示用户,也可以语音提示用户,还可以在提示无效时智能终端等待预设时间后自动退出虚拟现实模式,此处不做具体限定,提示方式和预设时间由用户设置或者智能终端自动设置。The prompt mode may prompt the user for the pop-up window, or prompt the user by voice, and may automatically exit the virtual reality mode after the smart terminal waits for the preset time when the prompt is invalid, and the specific manner is not limited herein, and the prompt mode and the preset time are determined by User settings or smart terminal automatic settings.
具体地,在一个应用例中,用户穿戴虚拟现实头戴式显示设备观看感人电影并流泪,虚拟现实头戴式显示设备内湿度增大,智能终端判定此时环境湿度有可能会损害虚拟现实头戴式显示设备和智能终端,因此弹出窗口提示用户退出虚拟现实模式,智能终端等待10秒后,用户仍未退出虚拟现实模式,则智能终端自动退出该虚拟现实模式。Specifically, in an application example, the user wears a virtual reality head-mounted display device to watch a moving movie and shed tears, and the humidity in the virtual reality head-mounted display device increases, and the smart terminal determines that the environmental humidity may damage the virtual reality head at this time. The wearable display device and the smart terminal, so the pop-up window prompts the user to exit the virtual reality mode, and after the smart terminal waits for 10 seconds, the user still does not exit the virtual reality mode, and the smart terminal automatically exits the virtual reality mode.
本实施例还可以与本发明智能终端控制方法第二或第三实施例或者其组合相结合。This embodiment can also be combined with the second or third embodiment of the intelligent terminal control method of the present invention or a combination thereof.
如图5所示,本发明智能终端控制方法第五实施例是在第一实施例的基础上,步骤S1之前包括:As shown in FIG. 5, the fifth embodiment of the intelligent terminal control method of the present invention is based on the first embodiment. Before step S1, the method includes:
S10:智能终端开启摄像头以获取反光值。S10: The smart terminal turns on the camera to obtain the reflection value.
智能终端开启摄像头可以在智能终端开启虚拟现实模式之前,也可以在智能终端开启虚拟现实模式之后,摄像头可以为前置摄像头,也可以为后置摄像头,只要能获取到反光值,摄像头的位置与种类不做具体限定。The smart terminal can turn on the camera before the smart terminal can open the virtual reality mode, or after the smart terminal turns on the virtual reality mode, the camera can be a front camera or a rear camera, as long as the reflection value can be obtained, the position of the camera is The type is not specifically limited.
具体地,在一个应用例中,用户穿戴虚拟现实头戴式显示设备,智能终端开启虚拟现实模式后再开启前置摄像头,该前置摄像头不断录制用户的眼睛影像,智能终端分析该眼睛影像,获取该眼睛影像中反射的光线强度,即反光值。Specifically, in an application example, the user wears a virtual reality head-mounted display device, and the smart terminal turns on the virtual reality mode and then turns on the front camera. The front camera continuously records the user's eye image, and the smart terminal analyzes the eye image. Obtain the intensity of the light reflected in the image of the eye, that is, the reflected value.
本实施例还可以与本发明智能终端控制方法第二至第四任一实施例或者其不冲突的组合相结合。This embodiment can also be combined with any of the second to fourth embodiments of the intelligent terminal control method of the present invention or a combination thereof that does not conflict.
如图6所示,本发明智能终端控制方法第六实施例是在第一实施例至第四实施例的基础上,步骤S1之前还包括:As shown in FIG. 6, the sixth embodiment of the intelligent terminal control method of the present invention is based on the first embodiment to the fourth embodiment. Before step S1, the method further includes:
S20:获取传感器管理器的管理服务对象。S20: Obtain a management service object of the sensor manager.
S30:注册管理服务对象对应传感器的监听事件,监听该传感器的状态以判断该传感器是否已发送环境感应数据。S30: The registration management service object corresponds to the monitoring event of the sensor, and monitors the status of the sensor to determine whether the sensor has sent the environmental sensing data.
传感器管理器用于管理传感器,传感器管理器的管理服务对象包括智能终端中可以获取环境感应数据的传感器,和/或虚拟现实设备中可以获取环境感应数据的传感器,智能终端需要哪个传感器的数据则注册对应传感器的监听事件,监听该传感器的状态,判断该传感器是否将环境感应数据发送至智能终端。The sensor manager is used to manage the sensor. The management service object of the sensor manager includes a sensor that can acquire environmental sensing data in the smart terminal, and/or a sensor that can acquire environmental sensing data in the virtual reality device, and which sensor data is required for the smart terminal to register. Corresponding to the monitoring event of the sensor, the state of the sensor is monitored, and it is determined whether the sensor sends the environmental sensing data to the intelligent terminal.
其中,智能终端可以一次只注册一个传感器的监听事件,也可以一次注册多个传感器的监听事件,还可以多次注册或者重复注册,此处不做具体限定。The smart terminal can register only one sensor listening event at a time, or can register multiple sensor listening events at a time, and can also register or repeat the registration multiple times, which is not specifically limited herein.
其中,传感器管理器管理传感器时,可以是一个传感器管理器只管理一个传感器,也可以是一个传感器管理器管理多个传感器,该多个传感器可以是不同种类的传感器,也可以是同一种传感器,传感器的种类和数量此处不做具体限定,还可以是多个的传感器管理器管理一个传感器,该多个传感器管理器可以是不同种类的传感器管理器,也可以是同一种传感器管理器,同样地,传感器管理器的种类和数量此处也不做具体限定。Wherein, when the sensor manager manages the sensor, it may be a sensor manager that manages only one sensor, or a sensor manager that manages multiple sensors, which may be different types of sensors or the same type of sensor. The type and quantity of the sensor are not specifically limited herein, and a plurality of sensor managers may manage one sensor, and the plurality of sensor managers may be different types of sensor managers or the same sensor manager. The type and number of sensor managers are not specifically limited herein.
具体地,在一个应用例中,一个传感器管理器管理一个湿度传感器和一个光线传感器,智能终端只需要获取湿度数据,则传感器管理器的管理服务对象只为湿度传感器,智能终端注册该湿度传感器的监听事件,监听该湿度传感器是否已发送湿度数据至智能终端。Specifically, in an application example, a sensor manager manages a humidity sensor and a light sensor, and the smart terminal only needs to acquire humidity data, and the management service object of the sensor manager is only a humidity sensor, and the smart terminal registers the humidity sensor. Monitor the event and monitor whether the humidity sensor has sent humidity data to the smart terminal.
本实施例还可以与本发明智能终端控制方法第二至第五任一实施例或者其不冲突的组合相结合。This embodiment can also be combined with any of the second to fifth embodiments of the intelligent terminal control method of the present invention or a combination thereof.
如图7所示,本发明智能终端控制方法第七实施例是在第六实施例的基础上,进一步限定步骤S30包括:As shown in FIG. 7, the seventh embodiment of the intelligent terminal control method of the present invention is based on the sixth embodiment, and further defining step S30 includes:
S301:若传感器处于数据发送状态,则判定该传感器已发送环境感应数据。S301: If the sensor is in a data transmission state, it is determined that the sensor has sent environmental sensing data.
智能终端监听需要获取环境感应数据对应传感器的状态,判断该传感器是否处于数据发送状态,如果该传感器处于该数据发送状态,则智能终端判定环境感应数据已经发送,该数据发送状态可以为传感器一直在发送环境感应数据的状态,也可以为传感器发送环境感应数据完成的状态。The intelligent terminal monitors the state of the sensor corresponding to the environment sensing data, and determines whether the sensor is in the data sending state. If the sensor is in the data sending state, the smart terminal determines that the environment sensing data has been sent, and the data sending state may be that the sensor is always in the state. The status of sending environmental sensing data can also be the status at which the sensor sends environmental sensing data.
具体地,在一个应用例中,光线传感器一直不断地向智能终端发送光线数据,则该光线传感器处于数据发送状态。当然,在其他实施例中,若智能终端已获取光线传感器发送的光线数据,此时智能终端也可以判定该光线传感器处于数据发送状态。Specifically, in an application example, the light sensor continuously sends light data to the smart terminal, and the light sensor is in a data transmission state. Of course, in other embodiments, if the smart terminal has acquired the light data sent by the light sensor, the smart terminal may also determine that the light sensor is in the data transmission state.
如图8所示,本发明智能终端一实施例包括:As shown in FIG. 8, an embodiment of the smart terminal of the present invention includes:
相互连接的通信电路10和处理器20;Interconnected communication circuit 10 and processor 20;
该通信电路10用于获取环境感应数据。The communication circuit 10 is configured to acquire environmental sensing data.
处理器20用于通过通信电路10环境感应数据和处理环境感应数据并执行指令,以实现本发明智能终端控制方法第一至第七实施例中任一个以及任意不冲突的组合所提供的方法。The processor 20 is configured to sense the data and process the environment sensing data through the communication circuit 10 and execute the instructions to implement the method provided by any one of the first to seventh embodiments of the intelligent terminal control method of the present invention and any non-conflicting combination.
处理器20控制智能终端的操作,处理器20还可以称为CPU(Central Processing Unit,中央处理单元)。处理器20可能是一种集成电路芯片,具有信号的处理能力。处理器20还可以是通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 20 controls the operation of the smart terminal, and the processor 20 may also be referred to as a CPU (Central). Processing Unit, central processing unit). Processor 20 may be an integrated circuit chip with signal processing capabilities. Processor 20 can also be a general purpose processor, digital signal processor (DSP), application specific integrated circuit (ASIC), off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component . The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
智能终端可以进一步包括存储器(图中未画出),存储器用于存储处理器20工作所必需的指令及数据。The intelligent terminal can further include a memory (not shown) for storing instructions and data necessary for the processor 20 to operate.
在其他实施例中,该智能终端还可以视具体需求包括显示屏、键盘等其他部件,此处不做具体限定。In other embodiments, the smart terminal may further include other components such as a display screen and a keyboard according to specific requirements, which are not specifically limited herein.
如图9所示,本发明具有存储功能的装置30一实施例包括:As shown in FIG. 9, an embodiment of the apparatus 30 having a storage function of the present invention includes:
存储有程序数据301,程序数据301能够被执行以实现本发明智能终端控制方法第一至第七实施例中任一个以及任意不冲突的组合所提供的方法。根据待存储的程序数据301的大小在具有存储功能的装置30中选择空白存储单元,存储单元是指理论上能够存储一定数量字节的存储空间,空白存储单元是指未存储数据的空白的存储单元。根据待存储的程序数据301的大小选择空白存储单元,以使得空白存储单元的存储空间的大小能够存储待存储的程序数据301。The program data 301 is stored, and the program data 301 can be executed to implement the method provided by any one of the first to seventh embodiments of the intelligent terminal control method of the present invention and any non-conflicting combination. The blank storage unit is selected in the device 30 having the storage function according to the size of the program data 301 to be stored, the storage unit refers to a storage space in which a certain number of bytes can theoretically be stored, and the blank storage unit refers to a blank storage in which no data is stored. unit. The blank storage unit is selected in accordance with the size of the program data 301 to be stored, so that the size of the storage space of the blank storage unit can store the program data 301 to be stored.
其中,具有存储功能的装置30可以是便携式存储介质如U盘、光盘,也可以是终端、服务器或可集成于终端或服务器中的独立部件,例如芯片等。The device 30 having a storage function may be a portable storage medium such as a USB flash drive or an optical disk, or may be a terminal, a server, or a separate component that can be integrated into a terminal or a server, such as a chip or the like.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be performed by a program to instruct related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), disk or optical disk.
图10示出了本发明实施例提供的智能终端的具体结构框图,该智能终端可以用于实施上述实施例中提供的智能终端控制方法。该智能终端1200可以为智能手机或平板电脑。FIG. 10 is a block diagram showing a specific structure of an intelligent terminal according to an embodiment of the present invention. The smart terminal can be used to implement the smart terminal control method provided in the foregoing embodiment. The smart terminal 1200 can be a smartphone or a tablet.
如图10所示,智能终端1200可以包括RF(Radio Frequency,射频)电路110、包括有一个或一个以上(图中仅示出一个)计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、传输模块170、包括有一个或者一个以上(图中仅示出一个)处理核心的处理器180以及电源190等部件。本领域技术人员可以理解,图10中示出的智能终端1200结构并不构成对智能终端1200的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:As shown in FIG. 10, the smart terminal 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more (only one shown) computer-readable storage medium, an input unit 130, and a display unit. 140, sensor 150, audio circuit 160, transmission module 170, including processor 180 having one or more processing cores (only one shown) and power supply 190 and the like. It will be understood by those skilled in the art that the structure of the smart terminal 1200 shown in FIG. 10 does not constitute a limitation on the smart terminal 1200, and may include more or less components than those illustrated, or combine some components or different components. Arrangement. among them:
RF电路110用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。RF电路110可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。RF电路110可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。上述的无线网络可以使用各种通信标准、协议及技术,包括但并不限于全球移动通信系统(Global System for Mobile Communication, GSM)、增强型移动通信技术(Enhanced Data GSM Environment, EDGE),宽带码分多址技术(Wideband Code Division Multiple Access, WCDMA),码分多址技术(Code Division Access, CDMA)、时分多址技术(Time Division Multiple Access, TDMA),无线保真技术(Wireless Fidelity, Wi-Fi)(如美国电气和电子工程师协会标准 IEEE 802.11a, IEEE 802.11b, IEEE802.11g 和/或 IEEE 802.11n)、网络电话(Voice over Internet Protocol, VoIP)、全球微波互联接入(Worldwide Interoperability for Microwave Access, Wi-Max)、其他用于邮件、即时通讯及短消息的协议,以及任何其他合适的通讯协议,甚至可包括那些当前仍未被开发出来的协议。The RF circuit 110 is configured to receive and transmit electromagnetic waves, and realize mutual conversion between electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices. The RF circuit 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, a memory, and the like. The RF circuit 110 can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other devices over a wireless network. The wireless network described above may include a cellular telephone network, a wireless local area network, or a metropolitan area network. The above wireless networks may use various communication standards, protocols and technologies, including but not limited to global mobile communication systems (Global System for Mobile Communication, GSM), Enhanced Mobile Communication Technology (Enhanced Data GSM Environment, EDGE), Wideband Code Division Multiple Access (Wideband Code) Division Multiple Access, WCDMA), Code Division Multiple Access (Code Division) Access, CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wireless Fidelity, Wi-Fi) (such as the Institute of Electrical and Electronics Engineers Standard IEEE 802.11a, IEEE 802.11b, IEEE 802.11g and / or IEEE 802.11n), VoIP (Voice) Over Internet Protocol, VoIP), Worldwide Interoperability for Microwave Access (Worldwide Interoperability for Microwave Access, Wi-Max, other protocols for mail, instant messaging, and short messages, as well as any other suitable communication protocol, may even include protocols that are not currently being developed.
存储器120可用于存储软件程序以及模块,如上述实施例中智能终端控制方法对应的程序指令/模块,处理器180通过运行存储在存储器120内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现智能终端控制的功能。存储器120可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器120可进一步包括相对于处理器180远程设置的存储器,这些远程存储器可以通过网络连接至智能终端1200。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 120 can be used to store software programs and modules, such as program instructions/modules corresponding to the intelligent terminal control method in the above embodiment, and the processor 180 executes various functional applications and data by running software programs and modules stored in the memory 120. Processing, that is, the function of implementing intelligent terminal control. Memory 120 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 120 can further include memory remotely located relative to processor 180, which can be connected to smart terminal 1200 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元130可包括触敏表面131以及其他输入设备132。触敏表面131,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面131。除了触敏表面131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls. In particular, input unit 130 can include touch-sensitive surface 131 as well as other input devices 132. Touch-sensitive surface 131, also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program. Alternatively, the touch-sensitive surface 131 can include two portions of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 180 is provided and can receive commands from the processor 180 and execute them. In addition, the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 can also include other input devices 132. Specifically, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及智能终端1200的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元140可包括显示面板141,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图10中,触敏表面131与显示面板141是作为两个独立的部件来实现输入和输出功能,但是在某些实施例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。The display unit 140 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the smart terminal 1200, which can be composed of graphics, text, icons, video, and any combination thereof. The display unit 140 may include a display panel 141, and optionally, an LCD (Liquid may be used) The display panel 141 is configured in the form of a Crystal Display (LCD) or an OLED (Organic Light-Emitting Diode). Further, the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141. Although in FIG. 10, touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
智能终端1200还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在智能终端1200移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等; 至于智能终端1200还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The smart terminal 1200 can also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the smart terminal 1200 moves to the ear. And / or backlight. As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the smart terminal 1200 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here No longer.
音频电路160、扬声器161,传声器162可提供用户与智能终端1200之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一智能终端,或者将音频数据输出至存储器120以便进一步处理。音频电路160还可能包括耳塞插孔,以提供外设耳机与智能终端1200的通信。The audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the smart terminal 1200. The audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, transmitted to the, for example, another smart terminal via the RF circuit 110, or outputted to the memory 120 for further processing. The audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the smart terminal 1200.
智能终端1200通过传输模块170(例如Wi-Fi模块)可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图10示出了传输模块170,但是可以理解的是,其并不属于智能终端1200的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。The smart terminal 1200 can help the user to send and receive emails, browse web pages, and access streaming media through the transmission module 170 (for example, a Wi-Fi module), which provides wireless broadband Internet access for users. Although FIG. 10 shows the transmission module 170, it can be understood that it does not belong to the essential configuration of the smart terminal 1200, and may be omitted as needed within the scope of not changing the essence of the invention.
处理器180是智能终端1200的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行智能终端1200的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理核心;在一些实施例中,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。The processor 180 is a control center of the smart terminal 1200 that connects various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120. The various functions and processing data of the smart terminal 1200 are executed to perform overall monitoring of the mobile phone. Optionally, the processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and For applications, etc., the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
智能终端1200还包括给各个部件供电的电源190(比如电池),在一些实施例中,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The intelligent terminal 1200 also includes a power supply 190 (such as a battery) that supplies power to various components. In some embodiments, the power supply can be logically coupled to the processor 180 through a power management system to manage charging, discharging, and power consumption through the power management system. Management and other functions. Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
尽管未示出,智能终端1200还可以包括摄像头(如前置摄像头、后置摄像头)、蓝牙模块等,在此不再赘述。具体在本实施例中,智能终端的显示单元是触摸屏显示器,智能终端还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行述一个或者一个以上程序包含用于进行以下操作的指令:Although not shown, the smart terminal 1200 may further include a camera (such as a front camera, a rear camera), a Bluetooth module, and the like, and details are not described herein. Specifically, in this embodiment, the display unit of the smart terminal is a touch screen display, the smart terminal further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be one or one The above processor executes one or more programs that include instructions for performing the following operations:
智能终端开启虚拟现实模式,获取环境感应数据;The smart terminal starts the virtual reality mode and acquires the environment sensing data;
所述智能终端利用所述环境感应数据计算环境感应值;The smart terminal calculates the environmental sensing value by using the environmental sensing data;
判断所述环境感应值是否不小于预设值;Determining whether the environmental sensing value is not less than a preset value;
若所述环境感应值不小于所述预设值,则退出所述智能终端的虚拟现实模式。If the environmental sensing value is not less than the preset value, exiting the virtual reality mode of the smart terminal.
在一些实施例中,所述环境感应值包括湿度值和光强综合值中的至少一个;In some embodiments, the environmental sensing value comprises at least one of a humidity value and a light intensity integrated value;
所述智能终端利用所述环境感应数据计算环境感应值包括:The calculating, by the smart terminal, the environment sensing value by using the environment sensing data includes:
利用所述湿度数据计算得到湿度值和/或利用所述光强数据计算得到所述光强综合值。The humidity value is calculated using the humidity data and/or the light intensity integrated value is calculated using the light intensity data.
在一些实施例中,所述预设值包括预设湿度值和预设光强综合值中的至少一个;In some embodiments, the preset value includes at least one of a preset humidity value and a preset light intensity integrated value;
所述判断所述环境感应值是否不小于预设值包括:The determining whether the environmental sensing value is not less than a preset value includes:
判断所述湿度值是否大于或者等于预设湿度值,和/或判断所述光强综合值是否大于或者等于预设光强综合值;Determining whether the humidity value is greater than or equal to a preset humidity value, and/or determining whether the light intensity integrated value is greater than or equal to a preset light intensity integrated value;
若所述湿度值大于或者等于预设湿度值,和/或所述光强综合值大于或者等于预设光强综合值,则判定所述环境感应值不小于预设值。If the humidity value is greater than or equal to the preset humidity value, and/or the light intensity integrated value is greater than or equal to the preset light intensity integrated value, it is determined that the environmental sensing value is not less than a preset value.
在一些实施例中,所述获取环境感应数据之前包括:In some embodiments, the obtaining the environmental sensing data comprises:
所述智能终端开启摄像头以获取所述反光值。The smart terminal turns on the camera to obtain the reflected value.
在一些实施例中,所述获取环境感应数据之前还包括:In some embodiments, the obtaining the environmental sensing data further includes:
获取传感器管理器的管理服务对象;Obtain the management service object of the sensor manager;
注册所述管理服务对象对应传感器的监听事件,监听所述传感器的状态以判断所述传感器是否已发送所述环境感应数据。Registering the monitoring service object corresponding to the monitoring event of the sensor, and monitoring the status of the sensor to determine whether the sensor has sent the environmental sensing data.
在一些实施例中,在所述退出所述智能终端的虚拟现实模式的步骤之后,还包括:In some embodiments, after the step of exiting the virtual reality mode of the smart terminal, the method further includes:
注销管理服务对象对应传感器的监听事件和/或关闭摄像头。The logout management service object corresponds to the sensor's listening event and/or turns off the camera.
以上所述仅为本发明的实施方式,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only the embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the invention and the drawings are directly or indirectly applied to other related technologies. The fields are all included in the scope of patent protection of the present invention.

Claims (20)

  1. 一种智能终端控制方法,其中,所述方法包括:An intelligent terminal control method, wherein the method includes:
    智能终端开启虚拟现实模式,获取环境感应数据;The smart terminal starts the virtual reality mode and acquires the environment sensing data;
    所述智能终端利用所述环境感应数据计算环境感应值;The smart terminal calculates the environmental sensing value by using the environmental sensing data;
    判断所述环境感应值是否不小于预设值;Determining whether the environmental sensing value is not less than a preset value;
    若所述环境感应值不小于所述预设值,则退出所述智能终端的虚拟现实模式。If the environmental sensing value is not less than the preset value, exiting the virtual reality mode of the smart terminal.
  2. 根据权利要求1所述的方法,其中,所述环境感应数据包括湿度数据和光强数据中的至少一个,所述光强数据包括光线数据、屏幕亮度值、颜色分布值和反光值中的至少一个。The method of claim 1, wherein the environmental sensing data comprises at least one of humidity data and light intensity data, the light intensity data comprising at least at least one of ray data, a screen brightness value, a color distribution value, and a light reflection value. One.
  3. 根据权利要求2所述的方法,其中,所述环境感应值包括湿度值和光强综合值中的至少一个;The method of claim 2, wherein the environmental sensing value comprises at least one of a humidity value and a light intensity integrated value;
    所述智能终端利用所述环境感应数据计算环境感应值包括:The calculating, by the smart terminal, the environment sensing value by using the environment sensing data includes:
    利用所述湿度数据计算得到湿度值和/或利用所述光强数据计算得到所述光强综合值。The humidity value is calculated using the humidity data and/or the light intensity integrated value is calculated using the light intensity data.
  4. 根据权利要求3所述的方法,其中,所述预设值包括预设湿度值和预设光强综合值中的至少一个;The method according to claim 3, wherein the preset value comprises at least one of a preset humidity value and a preset light intensity integrated value;
    所述判断所述环境感应值是否不小于预设值包括:The determining whether the environmental sensing value is not less than a preset value includes:
    判断所述湿度值是否大于或者等于预设湿度值,和/或判断所述光强综合值是否大于或者等于预设光强综合值;Determining whether the humidity value is greater than or equal to a preset humidity value, and/or determining whether the light intensity integrated value is greater than or equal to a preset light intensity integrated value;
    若所述湿度值大于或者等于预设湿度值,和/或所述光强综合值大于或者等于预设光强综合值,则判定所述环境感应值不小于预设值。If the humidity value is greater than or equal to the preset humidity value, and/or the light intensity integrated value is greater than or equal to the preset light intensity integrated value, it is determined that the environmental sensing value is not less than a preset value.
  5. 根据权利要求1所述的方法,其中,所述环境感应值不小于所述预设值之后包括:The method of claim 1, wherein the environment sensing value is not less than the preset value comprises:
    发出提示信息,以提示用户退出所述智能终端的虚拟现实模式。A prompt message is sent to prompt the user to exit the virtual reality mode of the smart terminal.
  6. 根据权利要求2所述的方法,其中,所述获取环境感应数据之前包括:The method of claim 2, wherein the obtaining the environmental sensing data comprises:
    所述智能终端开启摄像头以获取所述反光值。The smart terminal turns on the camera to obtain the reflected value.
  7. 根据权利要求1所述的方法,其中,所述获取环境感应数据之前还包括:The method of claim 1, wherein the obtaining the environmental sensing data further comprises:
    获取传感器管理器的管理服务对象;Obtain the management service object of the sensor manager;
    注册所述管理服务对象对应传感器的监听事件,监听所述传感器的状态以判断所述传感器是否已发送所述环境感应数据。Registering the monitoring service object corresponding to the monitoring event of the sensor, and monitoring the status of the sensor to determine whether the sensor has sent the environmental sensing data.
  8. 根据权利要求7所述的方法,其中,所述监听所述传感器的状态以判断所述传感器是否已发送所述环境感应数据包括:The method of claim 7, wherein the monitoring the status of the sensor to determine whether the sensor has transmitted the environmental sensing data comprises:
    若所述传感器处于数据发送状态,则判定所述传感器已发送所述环境感应数据。If the sensor is in a data transmission state, it is determined that the sensor has transmitted the environmental sensing data.
  9. 一种智能终端,其中,包括:A smart terminal, comprising:
    相互连接的通信电路和处理器;Interconnected communication circuits and processors;
    所述通信电路,用于获取环境感应数据;The communication circuit is configured to acquire environment sensing data;
    所述处理器,通过所述通信电路获取环境感应数据和处理所述环境感应数据并执行指令以实现如下步骤:The processor acquires environment sensing data and processes the environment sensing data through the communication circuit and executes instructions to implement the following steps:
    智能终端开启虚拟现实模式,获取环境感应数据;The smart terminal starts the virtual reality mode and acquires the environment sensing data;
    所述智能终端利用所述环境感应数据计算环境感应值;The smart terminal calculates the environmental sensing value by using the environmental sensing data;
    判断所述环境感应值是否不小于预设值;Determining whether the environmental sensing value is not less than a preset value;
    若所述环境感应值不小于所述预设值,则退出所述智能终端的虚拟现实模式。If the environmental sensing value is not less than the preset value, exiting the virtual reality mode of the smart terminal.
  10. 根据权利要求9所述的智能终端,其中,所述环境感应值包括湿度值和光强综合值中的至少一个;The smart terminal according to claim 9, wherein the environmental sensing value comprises at least one of a humidity value and a light intensity integrated value;
    所述智能终端利用所述环境感应数据计算环境感应值包括:The calculating, by the smart terminal, the environment sensing value by using the environment sensing data includes:
    利用所述湿度数据计算得到湿度值和/或利用所述光强数据计算得到所述光强综合值。The humidity value is calculated using the humidity data and/or the light intensity integrated value is calculated using the light intensity data.
  11. 根据权利要求10所述的智能终端,其中,所述预设值包括预设湿度值和预设光强综合值中的至少一个;The smart terminal according to claim 10, wherein the preset value comprises at least one of a preset humidity value and a preset light intensity integrated value;
    所述判断所述环境感应值是否不小于预设值包括:The determining whether the environmental sensing value is not less than a preset value includes:
    判断所述湿度值是否大于或者等于预设湿度值,和/或判断所述光强综合值是否大于或者等于预设光强综合值;Determining whether the humidity value is greater than or equal to a preset humidity value, and/or determining whether the light intensity integrated value is greater than or equal to a preset light intensity integrated value;
    若所述湿度值大于或者等于预设湿度值,和/或所述光强综合值大于或者等于预设光强综合值,则判定所述环境感应值不小于预设值。If the humidity value is greater than or equal to the preset humidity value, and/or the light intensity integrated value is greater than or equal to the preset light intensity integrated value, it is determined that the environmental sensing value is not less than a preset value.
  12. 根据权利要求9所述的智能终端,其中,所述获取环境感应数据之前包括:The smart terminal according to claim 9, wherein the obtaining the environment sensing data comprises:
    所述智能终端开启摄像头以获取所述反光值。The smart terminal turns on the camera to obtain the reflected value.
  13. 根据权利要求12所述的智能终端,其中,所述获取环境感应数据之前还包括:The smart terminal according to claim 12, wherein the obtaining the environment sensing data further comprises:
    获取传感器管理器的管理服务对象;Obtain the management service object of the sensor manager;
    注册所述管理服务对象对应传感器的监听事件,监听所述传感器的状态以判断所述传感器是否已发送所述环境感应数据。Registering the monitoring service object corresponding to the monitoring event of the sensor, and monitoring the status of the sensor to determine whether the sensor has sent the environmental sensing data.
  14. 根据权利要求13所述的智能终端,其中,在所述退出所述智能终端的虚拟现实模式的步骤之后,还包括:The smart terminal according to claim 13, wherein after the step of exiting the virtual reality mode of the smart terminal, the method further comprises:
    注销管理服务对象对应传感器的监听事件和/或关闭摄像头。The logout management service object corresponds to the sensor's listening event and/or turns off the camera.
  15. 一种具有存储功能的装置,其中,存储有程序数据,所述程序数据能够被执行以实现如下步骤:A device having a storage function in which program data is stored, the program data being executable to implement the following steps:
    智能终端开启虚拟现实模式,获取环境感应数据;The smart terminal starts the virtual reality mode and acquires the environment sensing data;
    所述智能终端利用所述环境感应数据计算环境感应值;The smart terminal calculates the environmental sensing value by using the environmental sensing data;
    判断所述环境感应值是否不小于预设值;Determining whether the environmental sensing value is not less than a preset value;
    若所述环境感应值不小于所述预设值,则退出所述智能终端的虚拟现实模式。If the environmental sensing value is not less than the preset value, exiting the virtual reality mode of the smart terminal.
  16. 根据权利要求15所述的具有存储功能的装置,其中,所述环境感应值包括湿度值和光强综合值中的至少一个;The device having a storage function according to claim 15, wherein the environmental sensing value comprises at least one of a humidity value and a light intensity integrated value;
    所述智能终端利用所述环境感应数据计算环境感应值包括:The calculating, by the smart terminal, the environment sensing value by using the environment sensing data includes:
    利用所述湿度数据计算得到湿度值和/或利用所述光强数据计算得到所述光强综合值。The humidity value is calculated using the humidity data and/or the light intensity integrated value is calculated using the light intensity data.
  17. 根据权利要求16所述的具有存储功能的装置,其中,所述预设值包括预设湿度值和预设光强综合值中的至少一个;The device with a storage function according to claim 16, wherein the preset value comprises at least one of a preset humidity value and a preset light intensity integrated value;
    所述判断所述环境感应值是否不小于预设值包括:The determining whether the environmental sensing value is not less than a preset value includes:
    判断所述湿度值是否大于或者等于预设湿度值,和/或判断所述光强综合值是否大于或者等于预设光强综合值;Determining whether the humidity value is greater than or equal to a preset humidity value, and/or determining whether the light intensity integrated value is greater than or equal to a preset light intensity integrated value;
    若所述湿度值大于或者等于预设湿度值,和/或所述光强综合值大于或者等于预设光强综合值,则判定所述环境感应值不小于预设值。If the humidity value is greater than or equal to the preset humidity value, and/or the light intensity integrated value is greater than or equal to the preset light intensity integrated value, it is determined that the environmental sensing value is not less than a preset value.
  18. 根据权利要求15所述的具有存储功能的装置,其中,所述获取环境感应数据之前包括:The device with a storage function according to claim 15, wherein the obtaining the environment sensing data comprises:
    所述智能终端开启摄像头以获取所述反光值。The smart terminal turns on the camera to obtain the reflected value.
  19. 根据权利要求18所述的具有存储功能的装置,其中,所述获取环境感应数据之前还包括:The device with a storage function according to claim 18, wherein the obtaining the environment sensing data further comprises:
    获取传感器管理器的管理服务对象;Obtain the management service object of the sensor manager;
    注册所述管理服务对象对应传感器的监听事件,监听所述传感器的状态以判断所述传感器是否已发送所述环境感应数据。Registering the monitoring service object corresponding to the monitoring event of the sensor, and monitoring the status of the sensor to determine whether the sensor has sent the environmental sensing data.
  20. 根据权利要求19所述的具有存储功能的装置,其中,在所述退出所述智能终端的虚拟现实模式的步骤之后,还包括:The device with a storage function according to claim 19, wherein after the step of exiting the virtual reality mode of the smart terminal, the method further comprises:
    注销管理服务对象对应传感器的监听事件和/或关闭摄像头。The logout management service object corresponds to the sensor's listening event and/or turns off the camera.
PCT/CN2018/117579 2017-11-27 2018-11-27 Smart terminal control method, smart terminal, and device having storage function WO2019101207A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711221266.9 2017-11-27
CN201711221266.9A CN108062161A (en) 2017-11-27 2017-11-27 Intelligent terminal control method, intelligent terminal and the device with store function

Publications (1)

Publication Number Publication Date
WO2019101207A1 true WO2019101207A1 (en) 2019-05-31

Family

ID=62136013

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/117579 WO2019101207A1 (en) 2017-11-27 2018-11-27 Smart terminal control method, smart terminal, and device having storage function

Country Status (2)

Country Link
CN (1) CN108062161A (en)
WO (1) WO2019101207A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108062161A (en) * 2017-11-27 2018-05-22 捷开通讯(深圳)有限公司 Intelligent terminal control method, intelligent terminal and the device with store function
CN108156669A (en) * 2017-12-04 2018-06-12 捷开通讯(深圳)有限公司 Intelligent terminal communication means, intelligent terminal and the device with store function

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106157930A (en) * 2016-06-30 2016-11-23 腾讯科技(深圳)有限公司 Brightness adjusting method based on wear-type visual device and device
CN106199975A (en) * 2016-09-29 2016-12-07 宇龙计算机通信科技(深圳)有限公司 The method of a kind of data process and wear-type virtual reality device
CN106776232A (en) * 2017-01-11 2017-05-31 广东小天才科技有限公司 The monitoring method and device of a kind of wearable device
CN108062161A (en) * 2017-11-27 2018-05-22 捷开通讯(深圳)有限公司 Intelligent terminal control method, intelligent terminal and the device with store function

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077360B (en) * 2012-12-13 2016-03-23 广东欧珀移动通信有限公司 A kind of method and device protecting mobile terminal
WO2015142071A1 (en) * 2014-03-21 2015-09-24 Samsung Electronics Co., Ltd. Wearable device and method of operating the same
CN104238671B (en) * 2014-09-15 2018-04-17 广东小天才科技有限公司 A kind of method and wearable device for realizing wearable device waterproofing protection
CN104766056A (en) * 2015-03-31 2015-07-08 青岛歌尔声学科技有限公司 Human-computer interaction method, device and virtual headset device
CN104808341A (en) * 2015-04-09 2015-07-29 青岛歌尔声学科技有限公司 Head-wearing virtual reality equipment
CN106681572A (en) * 2015-11-05 2017-05-17 阿里巴巴集团控股有限公司 Touch screen control method and device of intelligent terminal
CN105929938A (en) * 2016-03-31 2016-09-07 联想(北京)有限公司 Information processing method and electronic device
CN105912988B (en) * 2016-03-31 2020-01-10 宇龙计算机通信科技(深圳)有限公司 Environment change reminding method and system and head-mounted VR equipment
CN105844106A (en) * 2016-03-31 2016-08-10 乐视控股(北京)有限公司 Health prompting method and device
CN106648099A (en) * 2016-12-22 2017-05-10 深圳市创想天空科技股份有限公司 Eye protection method and eye protection device based on AR application

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106157930A (en) * 2016-06-30 2016-11-23 腾讯科技(深圳)有限公司 Brightness adjusting method based on wear-type visual device and device
CN106199975A (en) * 2016-09-29 2016-12-07 宇龙计算机通信科技(深圳)有限公司 The method of a kind of data process and wear-type virtual reality device
CN106776232A (en) * 2017-01-11 2017-05-31 广东小天才科技有限公司 The monitoring method and device of a kind of wearable device
CN108062161A (en) * 2017-11-27 2018-05-22 捷开通讯(深圳)有限公司 Intelligent terminal control method, intelligent terminal and the device with store function

Also Published As

Publication number Publication date
CN108062161A (en) 2018-05-22

Similar Documents

Publication Publication Date Title
US11307733B2 (en) Always on display method and electronic device
EP4047940A1 (en) Screencast control method and electronic device
US9906406B2 (en) Alerting method and mobile terminal
WO2018103525A1 (en) Method and device for tracking facial key point, and storage medium
CN109067418B (en) Antenna control method and mobile terminal
CN111083684B (en) Method for controlling electronic equipment and electronic equipment
EP3454255A1 (en) Facial recognition method and related product
WO2019120087A1 (en) Processing method for reducing power consumption and mobile terminal
WO2019129020A1 (en) Automatic focusing method of camera, storage device and mobile terminal
CN110058836B (en) Audio signal output method and terminal equipment
US20230176806A1 (en) Screen Projection Display Method and System, Terminal Device, and Storage Medium
WO2019206077A1 (en) Video call processing method and mobile terminal
CN106101776B (en) Method, smart machine and the speaker of volume adjustment
WO2019047862A1 (en) Fingerprint acquisition method and terminal device and storage medium
CN109257505B (en) Screen control method and mobile terminal
US11989330B2 (en) Permission management method and terminal device
WO2019129092A1 (en) Frame rate-lowered photographing method, mobile terminal and storage medium
WO2021121237A1 (en) Video stream clipping method and electronic device
CN111399792B (en) Content sharing method and electronic equipment
CN109995391B (en) Picture display method, intelligent wearable terminal and computer readable storage medium
CN109859718B (en) Screen brightness adjusting method and terminal equipment
CN110866465A (en) Control method of electronic equipment and electronic equipment
WO2019091301A1 (en) Information processing method for radio frequency device, and mobile terminal
CN108196663B (en) Face recognition method and mobile terminal
WO2019101207A1 (en) Smart terminal control method, smart terminal, and device having storage function

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18880615

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18880615

Country of ref document: EP

Kind code of ref document: A1