Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The intelligent terminal provided by the embodiment of the invention comprises mobile terminals such as an intelligent bracelet, an intelligent watch, an intelligent mobile phone and the like. The intelligent terminal provided in the embodiment of the present invention may include: a Radio Frequency (RF) unit, a WiFi module, an audio output unit, an a/V (audio/video) input unit, a sensor, a display unit, a user input unit, an interface unit, a memory, a processor, and a power supply.
In the following description, an intelligent terminal will be taken as an example, please refer to fig. 1, which is a schematic diagram of a hardware structure of an intelligent terminal for implementing various embodiments of the present invention, where theintelligent terminal 100 may include: RF (Radio Frequency)unit 101,WiFi module 102,audio output unit 103, a/V (audio/video)input unit 104,sensor 105,display unit 106,user input unit 107,interface unit 108,memory 109,processor 110, andpower supply 111. Those skilled in the art will appreciate that the intelligent terminal architecture shown in fig. 1 does not constitute a limitation of the intelligent terminal, and that the intelligent terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The following specifically describes each component of the intelligent terminal with reference to fig. 1:
therf unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, therf unit 101 may transmit uplink information to a base station, in addition, the downlink information sent by the base station may be received and then sent to theprocessor 110 of the intelligent terminal for processing, the downlink information sent by the base station to theradio frequency unit 101 may be generated according to the uplink information sent by theradio frequency unit 101, or may be actively pushed to theradio frequency unit 101 after detecting that the information of the intelligent terminal is updated, for example, after detecting that the geographical location of the intelligent terminal is changed, the base station may send a message notification of the geographical location change to theradio frequency unit 101 of the intelligent terminal, and after receiving the message notification, the message notification may be sent to theprocessor 110 of the intelligent terminal for processing, and theprocessor 110 of the intelligent terminal may control the message notification to be displayed on thedisplay panel 1061 of the intelligent terminal; typically,radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, theradio frequency unit 101 may also communicate with a network and other devices through wireless communication, which may specifically include: the server is in communication with a server in a network system through wireless communication, for example, the intelligent terminal may download a file resource from the server through wireless communication, such as an application program from the server, and after the intelligent terminal finishes downloading a certain application program, if the file resource corresponding to the application program in the server is updated, the server may push a resource update message notification to the intelligent terminal through wireless communication to remind a user of updating the application program. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
In one embodiment, thesmart terminal 100 may access an existing communication network by inserting a SIM card.
In another embodiment, thesmart terminal 100 may implement access to an existing communication network by setting an esim card (Embedded-SIM), and the adoption of the esim card may save an internal space of the smart terminal and reduce the thickness.
It is to be understood that although fig. 1 shows therf unit 101, it is to be understood that therf unit 101 is not a necessary component of the smart terminal, and may be omitted as needed within a scope that does not change the essence of the invention. Theintelligent terminal 100 may implement communication connection with other devices or a communication network through thewifi module 102 alone, which is not limited in the embodiments of the present invention.
WiFi belongs to short-distance wireless transmission technology, and the intelligent terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through theWiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows theWiFi module 102, it is understood that it does not belong to the essential constitution of the smart terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
Theaudio output unit 103 may convert audio data received by theradio frequency unit 101 or theWiFi module 102 or stored in thememory 109 into an audio signal and output as sound when thesmart terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, theaudio output unit 103 may also provide audio output related to a specific function performed by the smart terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). Theaudio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and amicrophone 1042, theGraphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on thedisplay unit 106. The image frames processed by thegraphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via theradio frequency unit 101 or theWiFi module 102. Themicrophone 1042 may receive sounds (audio data) via themicrophone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via theradio frequency unit 101 in case of a phone call mode. Themicrophone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
In one embodiment, theintelligent terminal 100 includes one or more cameras, and by turning on the cameras, capturing of images can be realized, functions such as photographing and recording are realized, and the positions of the cameras can be set as required.
Thesmart terminal 100 also includes at least onesensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of thedisplay panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off thedisplay panel 1061 and/or backlight when thesmart terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), and the like.
In one embodiment, thesmart terminal 100 further includes a proximity sensor, and by using the proximity sensor, the smart terminal can implement non-contact operation and provide more operation modes.
In one embodiment, thesmart terminal 100 further includes a heart rate sensor, which is capable of detecting the heart rate by being close to the user when worn.
In one embodiment, thesmart terminal 100 may further include a fingerprint sensor, and by reading a fingerprint, functions such as security verification can be implemented.
Thedisplay unit 106 is used to display information input by a user or information provided to the user. TheDisplay unit 106 may include aDisplay panel 1061, and theDisplay panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
In one embodiment, thedisplay panel 1061 is a flexible display screen, and when the intelligent terminal using the flexible display screen is worn, the screen can be bent, so that the intelligent terminal is more attached. Optionally, the flexible display screen may adopt an OLED screen body and a graphene screen body, in other embodiments, the flexible display screen may also be made of other display materials, and this embodiment is not limited thereto.
In one embodiment, thedisplay panel 1061 of the smart terminal may have a rectangular shape, so as to be convenient to surround when worn. In other embodiments, other approaches may be taken.
Theuser input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the intelligent terminal. Specifically, theuser input unit 107 may include atouch panel 1071 andother input devices 1072. Thetouch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near thetouch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. Thetouch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to theprocessor 110, and can receive and execute commands sent by theprocessor 110. In addition, thetouch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to thetouch panel 1071, theuser input unit 107 may includeother input devices 1072. In particular,other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
In one embodiment, the side of thesmart terminal 100 may be provided with one or more buttons. The button can realize various modes such as short-time pressing, long-time pressing, rotation and the like, thereby realizing various operation effects. The number of the buttons can be multiple, and different buttons can be combined for use to realize multiple operation functions.
Further, thetouch panel 1071 may cover thedisplay panel 1061, and when thetouch panel 1071 detects a touch operation thereon or nearby, thetouch panel 1071 transmits the touch operation to theprocessor 110 to determine the type of the touch event, and then theprocessor 110 provides a corresponding visual output on thedisplay panel 1061 according to the type of the touch event. Although thetouch panel 1071 and thedisplay panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the smart terminal, in some embodiments, thetouch panel 1071 and thedisplay panel 1061 may be integrated to implement the input and output functions of the smart terminal, and is not limited herein. For example, when receiving a message notification of an application program through therf unit 101, theprocessor 110 may control the message notification to be displayed in a predetermined area of thedisplay panel 1061, where the predetermined area corresponds to a certain area of thetouch panel 1071, and perform a touch operation on the certain area of thetouch panel 1071 to control the message notification displayed in the corresponding area on thedisplay panel 1061.
Theinterface unit 108 serves as an interface through which at least one external device is connected to thesmart terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. Theinterface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within thesmart terminal 100 or may be used to transmit data between thesmart terminal 100 and the external device.
In one embodiment, theinterface unit 108 of thesmart terminal 100 is configured as a contact, and is connected to other corresponding devices through the contact to implement functions such as charging and connection. The contact can also be waterproof.
Thememory 109 may be used to store software programs as well as various data. Thememory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, thememory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
Theprocessor 110 is a control center of the intelligent terminal, connects various parts of the entire intelligent terminal using various interfaces and lines, and performs various functions of the intelligent terminal and processes data by operating or executing software programs and/or modules stored in thememory 109 and calling data stored in thememory 109, thereby performing overall monitoring of the intelligent terminal.Processor 110 may include one or more processing units; preferably, theprocessor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into theprocessor 110.
Theintelligent terminal 100 may further include a power supply 111 (such as a battery) for supplying power to each component, and preferably, thepower supply 111 may be logically connected to theprocessor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
Although not shown in fig. 1, thesmart terminal 100 may further include a bluetooth module or the like, which is not described herein. Theintelligent terminal 100 can be connected with other terminal devices through bluetooth, so as to realize communication and information interaction.
Please refer to fig. 2 to fig. 5, which are schematic structural diagrams of an intelligent terminal according to an embodiment of the present invention. The intelligent terminal in the embodiment of the invention comprises a flexible screen. When the intelligent terminal is unfolded, the flexible screen is in a strip shape; when the intelligent terminal is in a wearing state, the flexible screen is bent to be annular. Fig. 2 and 3 show the structural schematic diagram of the smart terminal screen when the smart terminal screen is unfolded, and fig. 4 shows the structural schematic diagram of the smart terminal screen when the smart terminal screen is bent.
Based on the above embodiments, it can be seen that, if the device is a watch, a bracelet, or a wearable device, the screen of the device may not cover the watchband region of the device, and may also cover the watchband region of the device. Here, the present application proposes an optional implementation manner, in which the device may be a watch, a bracelet, or a wearable device, and the device includes a screen and a connection portion. The screen can be a flexible screen, and the connecting part can be a watchband. Optionally, the screen of the device or the display area of the screen may partially or completely cover the wristband of the device. As shown in fig. 5, fig. 5 is a hardware schematic diagram of an implementation manner of an intelligent terminal provided in an embodiment of the present application, where a screen of the device extends to two sides, and a part of the screen is covered on a watchband of the device. In other embodiments, the screen of the device may also be entirely covered on the watchband of the device, and this is not limited in this application.
First embodiment
In order to avoid that the current intelligent terminal can continuously perform positioning in the whole process of using the voice assistant, which results in increasing the power consumption of the intelligent terminal and reducing the endurance time of the intelligent terminal, the embodiment provides a power saving control method of the intelligent terminal, and fig. 6 is a basic flow chart of the power saving control method of the intelligent terminal provided by the embodiment, where the power saving control method of the intelligent terminal includes:
s601: and the intelligent terminal starts the voice assistant function.
S602: and voice collection is carried out, and the collected voice is identified to obtain target information to be matched.
For the part of recognizing the voice by the intelligent terminal, audio is recorded on the intelligent terminal and is transmitted to the cloud end through compression. Noise reduction algorithms are typically employed to record audio so that the cloud "brain" can more easily understand the user's commands. The audio is then converted to text commands using a "speech to text" platform. The analog signal is sampled at a specified frequency, the analog sound wave is converted into digital data, and the digital data is analyzed to determine the occurrence position of the phoneme. Once the phonemes are identified, an algorithm is used to determine the corresponding text.
S603: and matching the target information with the sample information in a preset sample library.
It can be understood that the preset sample library can be obtained by performing big data statistics on the intelligent terminal, and the voice assistant can directly obtain the sample library at the cloud end. Aiming at the possible personalized differences of users and the possible differences of requirements of different users, the user can set a sample library in a voice assistant in advance and can add a training mode in the voice assistant.
The sample library comprises at least one of a first sample library and a second sample library, wherein the first sample library comprises first sample information needing to obtain the positioning information, and the second sample library comprises second sample information needing not to obtain the positioning information.
S604: judging whether the positioning information needs to be acquired or not according to the matching result, if so, turning to S605; otherwise, go to S606.
When the sample library comprises a first sample library, determining that positioning information needs to be acquired when the target information is successfully matched with first sample information in the first sample library;
when the sample base comprises a second sample base, when the target information is successfully matched with second sample information in the second sample base, determining that the positioning information does not need to be acquired.
It is understood that the target information may be aligned to the sample library in a forward direction and in a reverse direction. Therefore, the sample library only contains samples needing to obtain the positioning information, or only contains samples needing not to obtain the positioning information, or contains two libraries for matching, so that the comparison result can be more accurate.
Further, before positioning and acquiring the positioning information, the method further comprises:
and inquiring whether the user carries out positioning and acquires positioning information.
It can be understood that there may be a case where the positioning information is obtained when the target information is successfully matched with the first sample information in the first sample library, but for the user, there should be a choice of the user, and the terminal may be rejected when the user does not want to obtain the positioning information, so that the user has a freer choice and a better user experience effect.
For the case that the matching with the sample information of the two libraries is unsuccessful, the target information needs to be further judged, so that the sample library can be more accurate. In the matching process, errors may occur, or the sample library needs to be updated when the requirements of the user change.
Optionally, the sample library is updated when at least one of the following occurs:
when the sample library comprises a first sample library and a second sample library, and the target information is not successfully matched with the first sample information in the first sample library and the second sample information in the second sample library, if a positioning instruction issued aiming at the target information is received, the target information is newly added to the first sample library to be used as the first sample information; otherwise, newly adding the target information into a second sample library as second sample information;
it can be understood that, when the target information is not successfully matched with the sample information of the first sample library or the second sample library, which indicates that the target information is not in the sample library, but the positioning information needs to be acquired, the target information can be added to the first sample library, so that the sample library which needs to acquire the positioning information is more complete, and the target information can be accurately matched with the sample information of the sample library when the target information is acquired again later.
When the sample library comprises a second sample library, and the target information is successfully matched with the sample information in the second sample library and the acquisition of the positioning information is not executed, if an alarm instruction for acquiring the positioning information is not executed for the target information, deleting the second sample information matched with the target information in the second sample library;
it is understood that the target information may be mistakenly stored in the second sample library, or in the practical application of the user, the positioning information needs to be acquired, so that the sample information of the sample library needs to be modified.
When the sample library comprises a first sample library and the target information is successfully matched with the sample information in the first sample library to execute the acquisition of the positioning information, if an error-reporting prompt for executing the acquisition of the positioning information aiming at the target information is received, deleting the first sample information matched with the target information in the first sample library.
S605: the positioning information is acquired.
And acquiring the positioning information when the target information is successfully matched with the first sample information in the first sample library.
Preferably, the first sample library comprises at least two sample sub-libraries, and different sample sub-libraries correspond to different positioning information acquisition strategies;
and when the target information is successfully matched with the sample information in a certain sample sub-library, acquiring the positioning information by adopting a positioning information acquisition strategy corresponding to the sample sub-library.
The first sample library includes a first sample sub-library and a second sample sub-library.
The first positioning information acquisition strategy corresponding to the first sample sub-library comprises the steps of acquiring real-time positioning information in a first real-time positioning mode;
the second positioning information acquisition strategy corresponding to the second sample sub-library comprises the step of acquiring historical positioning information in a preset time period.
In this embodiment, all sample libraries that need to acquire positioning information are actually large, but in practical application, according to different actual requirements, the requirements for the accuracy of the positioning information that needs to be acquired are different, some only need to acquire rough positioning information, or only need to acquire information in a certain time period, so that different situations can be refined, different positioning information acquisition strategies can be formulated for target information with different requirements, the purpose of saving power is achieved, and the requirements for positioning are not affected. For example, when our target information is weather, a weather forecast at a certain time and a certain place is obtained, and in practical application, within a certain time range, the variation range of a place is limited, so that there is almost no variation in obtaining the corresponding weather forecast. Also, for example, finding a foreign travel recommendation, only a rough location is required. For similar target information, only historical positioning information needs to be acquired, and time setting can be set according to actual needs of users, for example, current historical positioning information within ten minutes can be acquired, and positioning is not needed again. However, for another kind of target information, such as navigation, it is necessary to acquire real-time positioning information and to acquire highly accurate positioning information.
The second positioning information acquisition strategy also comprises the step of acquiring the positioning information in a second real-time positioning mode when the historical positioning information acquisition fails.
It can be understood that, in practical applications, there may be a case where the historical positioning information is failed to be obtained, and the positioning information cannot be obtained without performing real-time positioning, so that the current positioning information needs to be obtained in a real-time positioning manner at this time.
The first real-time positioning mode comprises at least one of the following modes:
positioning through a GPS;
the method comprises the steps of comprehensively positioning through at least two positioning modes of GPS positioning, WiFi positioning, base station positioning, Bluetooth positioning and NFC positioning.
It can be understood that, in the first positioning information obtaining strategy, the obtained first real-time positioning mode is the positioning mode that needs to be accurately obtained. The GPS system has a total of 24 satellites, covering almost every corner of the earth. The GPS satellite arrangement is regular, and it can ensure that at any time, there are 4 satellites on your head. When you turn on the GPS positioning function of the mobile phone, the mobile phone receives the signals of the four satellites, and then calculates the current position of you according to the signals. Therefore, the GPS positioning precision is very high, and the civil precision is less than 10 meters. The base station positioning is that the mobile phone can search three strongest base station signals nearby, and because the positions of the base stations are fixed, the current position of the mobile phone can be judged by only looking at the overlapped area of the three base station signals and then performing simple trigonometric operation according to the signal strength. WiFi positioning is that after the mobile phone is powered on and WiFi is turned on (without connection), the mobile phone searches for nearby WiFi signals and uploads the WiFi signals to a server, so that a very huge WiFi hotspot database is formed. The GPS positioning is a positioning method, and although power consumption is relatively high, positioning is very accurate, so the first real-time positioning method can perform positioning by using GPS. But GPS is greatly affected by weather and location. When bad weather occurs, or the vehicle is under viaduct/shade, or in the side corner of a tall building, underground garage or open-air lower garage (or simply when the sky is not visible), the positioning of the GPS is greatly affected, and even the positioning service cannot be performed. Therefore, two positioning modes can be selected from all the positioning modes to carry out comprehensive positioning, and a better positioning effect can be achieved.
The second real-time positioning mode comprises the step of acquiring real-time position information through at least one of WiFi positioning, base station positioning, Bluetooth positioning and NFC positioning.
It can be understood that the second real-time positioning method only needs to obtain rough positioning, so that GPS positioning is not needed, and in order to achieve the purpose of saving power, only one positioning method needs to be used to obtain real-time position information.
S606: no positioning is performed.
The embodiment provides a power saving control method of an intelligent terminal, the intelligent terminal and a storage medium, when the intelligent terminal uses a voice assistant, voice is collected and recognized, target information to be matched is obtained, the target information is matched with a preset sample library, and positioning information is obtained when the positioning information needs to be obtained according to a matching result.
Second embodiment
For convenience of understanding, in the present embodiment, based on the above embodiment, an application scenario in which the sample library only includes the first sample library, and the first sample library includes the first sample sub-library and the second sample sub-library is taken as an example for explanation.
Fig. 7 is a detailed flowchart of a power saving control method of an intelligent terminal provided in this embodiment, where the power saving control method of the intelligent terminal includes:
s701: and the intelligent terminal starts the voice assistant function.
S702: and voice collection is carried out, and the collected voice is identified to obtain target information to be matched.
S703: and matching the target information with the sample information in a preset sample library.
S704: judging whether the matching with the first sample information of the first sample library is successful, if not, turning to S705; if yes, go to S706.
In all sample information, the number of sample information required to acquire positioning information is less than that of sample information not required to acquire positioning information, so that the sample library in the embodiment only includes the first sample library, that is, the target information only needs to be matched with the sample stored in the sample library and required to acquire positioning information, and the matching operation steps and time are reduced.
Further, before obtaining the positioning information by positioning, the method further comprises:
and inquiring whether the user carries out positioning and acquires positioning information.
Whether the positioning information needs to be acquired can be determined according to the current actual needs of the user.
Further, the sample library is updated when at least one of the following occurs:
when the sample library comprises a first sample library and the target information is successfully matched with the sample information in the first sample library to execute the acquisition of the positioning information, if an error-reporting prompt for executing the acquisition of the positioning information aiming at the target information is received, deleting the first sample information matched with the target information in the first sample library.
S705: and is not positioned.
S706: judging whether the matching with the sample information of the first sample sub-library is successful; if yes, go to S707; if not, go to S708.
In practical application, the requirements for obtaining the accuracy of the positioning information are different, so that the first sample library in this embodiment includes the first sample sub-library and the second sample sub-library, and after the target information is successfully matched with the first sample library, whether the target information belongs to the first sample sub-library is further determined.
S707: and positioning by using the first positioning information acquisition strategy.
The first positioning information acquisition strategy corresponding to the first sample sub-library comprises the step of acquiring positioning information in a first real-time positioning mode.
The first real-time positioning mode comprises at least one of the following modes:
positioning through a GPS;
the method comprises the steps of comprehensively positioning through at least two positioning modes of GPS positioning, WiFi positioning, base station positioning, Bluetooth positioning and NFC positioning.
For example, the first real-time positioning mode is integrated positioning through GPS and base station positioning. In current applications of the GPSONE technology, measurement data is collected from both GPS satellites and the cellular/PCS network, and then an accurate three-dimensional position fix is generated by combining these data. The GPSONE technology transfers the most burdensome tasks such as satellite scanning and positioning operations from the terminal side to the positioning server on the network side. The GPSONE system can combine two information sources of GPS satellite signals and wireless network signals, positioning can be completed only by one satellite and one cell site, and positioning accuracy, sensitivity and cold start speed of the terminal are improved.
S708: and positioning by using the second positioning information acquisition strategy.
In the case where the target information does not belong to the first sample sub-library, the target information belongs to the second sample sub-library.
The second positioning information acquisition strategy corresponding to the second sample sub-library comprises the step of acquiring historical positioning information in a preset time period.
The second real-time positioning mode comprises the step of acquiring real-time position information through at least one of WiFi positioning, base station positioning, Bluetooth positioning and NFC positioning.
The embodiment provides a power saving control method of an intelligent terminal, the intelligent terminal and a storage medium, when the intelligent terminal uses a voice assistant, voice is collected and recognized, target information to be matched is obtained, the target information is matched with a preset sample library, wherein the sample library only contains samples needing to obtain positioning information, when the positioning information is determined to be obtained according to a matching result, whether the target information belongs to a first sample sub-library or a second sample sub-library is judged, positioning is carried out according to a positioning information obtaining strategy corresponding to the sub-libraries, and the positioning information is obtained, so that the problems that the positioning can be continuously carried out and the power consumption of the intelligent terminal is increased in the whole process of using the voice assistant by the intelligent terminal at present are solved, the power consumption of the intelligent terminal is reduced by adopting a sample library which is relatively simple, therefore, the power saving control method of the intelligent terminal provided by the invention can be used for positioning and acquiring the positioning information only when the voice request needs to acquire the positioning information, and the samples in the sample library are simple, so that the method is simple to realize, the endurance time of the intelligent terminal can be prolonged, and the service life of the intelligent terminal can be prolonged.
Third real-time example
For convenience of understanding, the present embodiment is described, based on the above embodiments, by taking an application scenario in which the sample library includes the first sample library and the second sample library, and the first sample library includes the first sample sub-library and the second sample sub-library as an example.
Fig. 8 is a detailed flowchart of a power saving control method of an intelligent terminal provided in this embodiment, where the power saving control method of the intelligent terminal includes:
s801: and the intelligent terminal starts the voice assistant function.
S802: and voice collection is carried out, and the collected voice is identified to obtain target information to be matched.
S803: and matching the target information with the sample information of a preset sample library.
The sample library preset in this facility example includes a first sample library and a second sample library.
S804: judging whether the positioning information needs to be acquired or not according to the matching result, if not, turning to S805; if yes, go to S806.
When the target information is successfully matched with the first sample information of the first sample library, positioning information needs to be acquired;
when the target information is successfully matched with the second sample information of the second sample library, the positioning information does not need to be acquired.
The target information is respectively matched with the sample information needing to obtain the positioning information and the sample information not needing to obtain the positioning information, namely, the forward and reverse matching is included, so that the matching effect is better, and whether the target information needs to obtain the positioning information or not can be more accurately determined.
Further, before positioning and obtaining the positioning information, the method further comprises:
and inquiring whether the user carries out positioning and acquires positioning information.
Whether the positioning information needs to be acquired can be determined according to the current actual needs of the user.
Further, the sample library is updated when at least one of the following occurs:
when the sample library comprises a first sample library and a second sample library, and the target information is not successfully matched with the first sample information in the first sample library and the second sample information in the second sample library, if a positioning instruction issued aiming at the target information is received, the target information is newly added to the first sample library to be used as the first sample information; otherwise, newly adding the target information into a second sample library as second sample information;
when the sample library comprises a second sample library, and the target information is successfully matched with the sample information in the second sample library and the acquisition of the positioning information is not executed, if an alarm instruction for acquiring the positioning information is not executed for the target information, deleting the second sample information matched with the target information in the second sample library;
when the sample library comprises a first sample library and the target information is successfully matched with the sample information in the first sample library to execute the acquisition of the positioning information, if an error-reporting prompt for executing the acquisition of the positioning information aiming at the target information is received, deleting the first sample information matched with the target information in the first sample library.
S805: and is not positioned.
S806: judging whether the matching with the sample information of the first sample sub-library is successful; if yes, go to S807; if not, go to S808.
The first sample library at least comprises two sample sub-libraries, and different sub-libraries correspond to different positioning information acquisition strategies;
and when the target message is successfully matched in the first sample library, acquiring a sub-library to which the target message belongs, acquiring a target positioning information acquisition strategy corresponding to the sub-library, and acquiring positioning information according to the target positioning information acquisition strategy.
The two sample sub-libraries comprise a first sample sub-library and a second sample sub-library;
the first positioning information acquisition strategy corresponding to the first sample sub-library comprises the steps of acquiring positioning information in a first real-time positioning mode;
the second positioning information acquisition strategy corresponding to the second sample sub-library comprises the step of acquiring historical positioning information in a preset time period.
In this embodiment, all sample libraries that need to acquire positioning information are actually large, but in practical application, according to different actual requirements, the requirements for the accuracy of the positioning information that needs to be acquired are different, some only need to acquire rough positioning information, or only need to acquire information in a certain time period, so that different situations can be refined, different positioning information acquisition strategies can be formulated for target information with different requirements, the purpose of saving power is achieved, and the requirements for positioning are not affected. For example, when our target information is weather, a weather forecast at a certain time and a certain place is obtained, and in practical application, within a certain time range, the variation range of a place is limited, so that there is almost no variation in obtaining the corresponding weather forecast. Also, for example, finding a foreign travel recommendation, only a rough location is required. For similar target information, only historical positioning information needs to be acquired, and time setting can be set according to actual needs of users, for example, current historical positioning information within ten minutes can be acquired, and positioning is not needed again. However, for another kind of target information, such as navigation, it is necessary to acquire real-time positioning information and to acquire highly accurate positioning information.
If the matching with the sample information of the first sample sub-library is successful, the sample information belongs to the first sample sub-library, and if the matching with the sample information of the first sample sub-library is unsuccessful, the sample information belongs to the second sample sub-library.
S807: and positioning by using the first positioning information acquisition strategy.
The first positioning information acquisition strategy corresponding to the first sample sub-library comprises the step of acquiring positioning information in a first real-time positioning mode.
The first real-time positioning mode comprises at least one of the following modes:
positioning through a GPS;
the method comprises the steps of comprehensively positioning through at least two positioning modes of GPS positioning, WiFi positioning, base station positioning, Bluetooth positioning and NFC positioning.
For example, the first real-time positioning mode is a mode of performing comprehensive positioning through WiFi positioning and base station positioning, and the accuracy of intelligent terminal positioning can be improved.
S808: and positioning by using the second positioning information acquisition strategy.
In the case where the target information does not belong to the first sample sub-library, the target information belongs to the second sample sub-library.
The second positioning information acquisition strategy corresponding to the second sample sub-library comprises the step of acquiring historical positioning information in a preset time period.
The second real-time positioning mode comprises the step of acquiring real-time position information through at least one of WiFi positioning, base station positioning, Bluetooth positioning and NFC positioning.
The embodiment provides a power saving control method of an intelligent terminal, the intelligent terminal and a storage medium, when the intelligent terminal uses a voice assistant, voice is collected and recognized, target information to be matched is obtained, the target information is matched with a preset sample library, wherein the sample library comprises a sample needing to obtain positioning information and a sample needing no positioning information, bidirectional matching is carried out, whether the positioning information needs to be obtained or not is judged according to a matching result, if yes, whether the target information belongs to a first sample sub-library or a second sample sub-library is judged, positioning is carried out according to a positioning information obtaining strategy corresponding to the sub-libraries, and the positioning information is obtained, so that the problems that the positioning can be continuously carried out in the whole process of using the voice assistant by the intelligent terminal at present, the power consumption of the intelligent terminal is increased by frequent positioning are solved, and a relatively complete sample library is adopted, therefore, the power saving control method of the intelligent terminal provided by the invention can be used for positioning and acquiring the positioning information only when the voice request needs to acquire the positioning information, and can accurately judge whether the target information needs to acquire the positioning information, so that the endurance time of the intelligent terminal can be prolonged, and the service life of the intelligent terminal can be prolonged.
Fourth embodiment
The present embodiment further provides an intelligent terminal, as shown in fig. 9, which includes aprocessor 91, amemory 92, and acommunication bus 93, where:
thecommunication bus 93 is used for realizing connection communication between theprocessor 91 and thememory 92;
theprocessor 91 is configured to execute a power saving control program of the smart terminal stored in thememory 92 to implement the steps of the power saving control method of the smart terminal as illustrated in the above embodiments.
The present embodiment provides a computer-readable storage medium, where one or more programs are stored, and the one or more programs may be executed by one or more processors to implement the steps of the power saving control method of the intelligent terminal according to the first embodiment, the second embodiment and/or the third embodiment, which are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.