Methods and systems for providing and utilizing sensor data
The method and system effectively utilize mobile sensing data to enhance user experience and device performance by generating input recommendations, addressing the inadequacies of conventional techniques in mobile device sensor data utilization.
Patent Information
- Application Number
- PCT/US2023/020358
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-28
- Publication Date
- 2024-10-31
AI Technical Summary
Conventional methods for mobile devices are inadequate in effectively utilizing and providing sensor data, limiting their ability to enhance user experience, improve security, and optimize system performance.
A method and system that obtain and manage mobile sensing data through a context manager, using sensors like accelerometers and GPS, to generate input recommendations for applications, enhancing user interaction and device functionality.
Improves user experience by providing accurate and relevant information, enhances security, and optimizes device performance by utilizing sensor data for location-based services, orientation adjustments, and power management.
Smart Images

Figure US2023020358_31102024_PF_FP_ABST
Abstract
Description
METHODS AND SYSTEMS FOR PROVIDING AND UTILIZING SENSOR DATABACKGROUND OF THE INVENTION
[0001] The present invention is directed to mobile systems and applications.
[0002] Over the past decade, smartphones and other mobile devices have become ubiquitous. As users carry mobile devices with them in their daily lives, more and more mobile devices now include various sensors. Mobile sensors are small devices that are built into smartphones and other mobile devices including vehicles that allow them to collect and interpret data from the physical world. However, providing sensor data is only a start. It is also important for mobile devices — through their operating systems and applications — to make good use of sensor data. Over the past, various conventional techniques have been developed, but they are inadequate.
[0003] Therefore, new and improved methods and systems for providing and utilizing mobile sensor data are desired.BRIEF SUMMARY OF THE INVENTION
[0004] The present invention is directed to mobile systems and applications. In a specific embodiment, the present invention provides a method that includes obtaining mobile sensing data matching a set of user contexts associated with multiple mobile states and conditions. The method also includes detecting sensing data by a mobile sensing service, managing the sensing data through a user profile accessible by a context manager, and providing the sensing data by the context manager to generate input recommendations for input modules of the applications running on the mobile system. There are other embodiments as well.
[0005] A system of one or more computers can be configured to perform particular operations or actions by virtue of having software, firmware, hardware, or a combination of them installed on the system that in operation causes or cause the system to perform the actions. One or more computer programs can be configured to perform particular operations or actions by virtue of including instructions that, when executed by data processing apparatus, cause the apparatus to perform the actions. One general aspect of the present disclosure includes a method for generating input method recommendation using sensing information. The method includes defining a set of user contexts by a context manager and storing the user contexts as a part of a user profile. The method also includes obtaining sensing data from one or more sensors at a first time. The method also includes providing a set of predefined templates associated with the user contexts and the sensing data. Additionally, the method includes starting a first applicationat a second time and displaying the first application on a graphical user interface. The method further includes receiving a text input through an input module in the first application, the text input being displayed on an input region of the graphical user interface. The method further includes determining a first context based on the text input and the first application. Furthermore, the method includes generating a first recommendation using the predefined templates and the first context. Moreover, the method includes displaying the first recommendation on the input region of graphical user interface. Other embodiments of this aspect include corresponding computer systems, apparatus, and computer programs recorded on one or more computer storage devices, each configured to perform the actions of the methods.
[0006] Implementations may include one or more of the following features. The method where one or more sensors includes accelerometer. The method where the input region includes a touch keyboard and an input suggestion area, the first recommendation being displayed in the input suggestion area. The method may include transmitting the user profile to a remote storage. The method where obtaining sensing data includes obtaining a user activity, collecting a location information, and collecting an accelerator information. The method may include matching various data types of the sensing data to the user contexts, the set of predetermined templates being associated with conditions predefined for the user contexts and the sensing data at the conditions. The method may include: receiving a recommendation request by starting the input module of the first application without typing a text input; accessing the user profile to determine whether one of the user contexts at the second time is valid to allow the context manager to access the sensing data; determining one of the conditions associated with said one user context; and identifying one of the predetermined templates associated with said one condition for generating the first recommendation. The method may include predefining multiple keywords corresponding to various data types of the sensing data by the context manager based on the user contexts. The method further includes: receiving a recommendation request based on the text input through the input module of the first application; comparing the text input based on similarity to the multiple keywords to determine a keyword with the highest similarity; and generating the first recommendation using the sensing data that corresponds to the keyword. The method where obtaining sensing data from one or more sensors comprising using a sensor data service registered to an operating system. The method also includes generating an automatic completion suggestion on the input region of the graphical user interface using the first recommendation. Implementations of the described techniques may include hardware, a method or process, or computer software on a computer-accessible medium.
[0007] Another general aspect of the present disclosure includes a mobile computing apparatus. The apparatus includes a housing; a display configured on a front side of thehousing, the displaying comprising a touchscreen; a storage configured to store an operating system and plurality of applications; a memory; a plurality of sensors; and a processor connected to the storage and the memory. The processor is configured to: executing instructions associated with the operating system for defining a set of user contexts by a context manager; executing instructions associated with a first application and generating a first set of context information associated with the first application; executing instructions associated with a second application; executing the instructions associated with the operating system for providing an user input interface on the touchscreen, the user input interface being used for the second application; executing the instructions associated with the operating system for providing a first recommendation based at least on the first set of context information; and executing instructions associated with the operating system for displaying the first recommendation on the user input interface. Other embodiments of this aspect include corresponding computer systems, apparatus, and computer programs recorded on one or more computer storage devices, each configured to perform the actions of the methods.
[0008] Implementations may include one or more of the following features. The apparatus where the processor is further configured to generate a second recommendation using the plurality of sensors, the second recommendation being displayed on the user input interface. The apparatus where the plurality of sensors includes one or more selected from an accelerometer, a gyroscope, a magnetometer, a GPS, a light sensor, a touch screen, a microphone, and a camera. The apparatus may be a cell phone, a tablet computer, or a wearable device, or a vehicle. Implementations of the described techniques may include hardware, a method or process, or computer software on a computer-accessible medium.
[0009] Yet another general aspect of the present disclosure includes a method for generating input recommendation using mobile sensing information. The method includes defining a set of user contexts by a context manager, the set of user contexts being associated with multiple mobile states. The method also includes collecting sensing data matching the multiple mobile states by a sensing data service based on one or more sensors. The method also includes defining multiple templates for the multiple mobile states at different conditions. Additionally, the method includes storing multiple keywords corresponding to the sensing data matching the multiple mobile states. The method also includes setting accessibility of the sensing data for each of the multiple mobile states by the context manager, the accessibility being determined via a user profile. The method further includes monitoring applications by the context manager. The method includes starting an application, which includes an input module to initiate a recommendation request to the context manager. Furthermore, the method includes detecting sensing data matching the mobile state at a current time. Moreover, the method includesreturning an input recommendation to the input module. Other embodiments of this aspect include corresponding computer systems, apparatus, and computer programs recorded on one or more computer storage devices, each configured to perform the actions of the methods.
[0010] Implementations may include one or more of the following features. The method may include: receiving the recommendation request without a hint from the input module; determining the mobile state at the current time is valid so that the sensing data matching the mobile state is accessible by the context manager; determining a condition associated with the mobile state; detecting sensing data matching the mobile state at the current time; and generating the input recommendation using a template for the mobile state at the condition and the sensing data. The method also may include: receiving the recommendation request with a hint in an input text through the input module; analyzing similarity between the hint and the multiple keywords stored in the context manager; determining a keyword with the highest similarity; detecting sensing data corresponding to the keyword at the current time; and generating the input recommendation using the sensing data. Implementations of the described techniques may include hardware, a method or process, or computer software on a computer- accessible medium.
[0011] It is to be appreciated that embodiments of the present invention provide many advantages over conventional techniques. Among other things, mobile sensing data, such as GPS location, accelerometer or magnetometer readings, and microphone input, can be used to improve the user experience on mobile devices by providing more accurate and relevant information to users. For example, a sensor that detects the user's location can provide locationbased services such as directions or recommendations for local businesses. For example, using GPS location data, a mobile application can provide location-based services, such as recommending nearby restaurants or providing turn-by-tum navigation instructions. Accelerometer readings can be used to detect the device's orientation and adjust the screen accordingly, making the experience more comfortable for the user. Microphone input can be used for voice commands and dictation, allowing for hands-free navigation of the device. Additionally, mobile sensing can be used to enhance security by detecting unusual activity or patterns that might indicate a security threat. For example, a sensor that detects the user's heartbeat can be used to verify the user's identity or detect fraudulent activity. In various implementations, data security is maintained, as the context manager (which may be implemented as a part of the operating system) can manage the access of mobile sensing data by different applications. Further, mobile sensing data sharing according to the present disclosure can help improve the efficiency of mobile devices by providing data that can be used to optimize system performance or extend battery life. For example, a sensor that detects the user'smovement can be used to adjust the device's power usage based on the user's activity level. Mobile sensors can provide additional functionality to mobile devices by enabling them to interact with the physical world in new ways. For example, a sensor that detects the user's gestures can be used to control the device without touching it, or a sensor that detects ambient light can be used to adjust the device's display brightness.
[0012] Embodiments of the present invention can be implemented in conjunction with existing systems and processes. For example, mobile sensing data sharing for applications according to the present invention can be used in a wide variety of systems, including cell phones, wearable devices, tablet computers, and vehicles with all kinds of sensors.Additionally, various techniques according to the present invention can be adopted into existing systems via software installation and updates. There are other benefits as well.
[0013] The present invention achieves these benefits and others in the context of known technology. However, a further understanding of the nature and advantages of the present invention may be realized by reference to the latter portions of the specification and attached drawings.BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure l is a simplified block diagram of a mobile device according to embodiments of the present invention.
[0015] Figure 2 is a simplified block diagram of a system structure for using mobile sensing information for content recommendation according to embodiments of the present invention.
[0016] Figure 3 is an operation diagram of an exemplary mobile sensing information-sharing system according to embodiments of the present invention.
[0017] Figure 4 is another operation diagram of the mobile sensing service according to embodiments of the present invention.
[0018] Figure 5 shows (A) an operation of the user context manager for providing mobile sensing recommendation without hint and (B) a flow of steps for generating the recommendation according to embodiments of the present invention.
[0019] Figure 6 shows a flow of steps for generating recommendation using mobile sensing data with a hint according to embodiments of the present invention.DETAILED DESCRIPTION OF THE INVENTION
[0020] The present invention is directed to mobile systems and applications. In a specific embodiment, the present invention provides a method that includes obtaining mobile sensing data matching a set of user contexts associated with multiple mobile states and conditions. Themethod also includes detecting sensing data by a mobile sensing service, managing the sensing data through a user profile accessible by a context manager, and providing the sensing data by the context manager to generate input recommendation for input modules of the applications running on the mobile system. There are other embodiments as well.
[0021] Mobile sensing is to use the sensors of a mobile device (e.g., smartphone, tablet computer, wearable device, vehicle) to acquire data from the environment including various user context information. The sensors utilized for the mobile sensing service have been developed with a variety of kinds like accelerometers (ACC), gyroscope, magnetometers, GPS, light sensor, touch screen, microphone, cameras, etc. The acquired sensing data may include different types like associated with various user activities, locations, physical states (like walking, running, cycling, on the bus, subway etc.), or other environmental information around the user who operates the mobile device or vehicle. Based on the sensing data and other system information (e.g., maps, calendar, messages, email), mobile sensing can also infer user activities like daily commute, travel, meeting, etc. Those are the data generated from mobile sensing as well.
[0022] The following description is presented to enable one of ordinary skill in the art to make and use the invention and to incorporate it in the context of particular applications. Various modifications, as well as a variety of uses in different applications will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to a wide range of embodiments. Thus, the present invention is not intended to be limited to the embodiments presented, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
[0023] In the following detailed description, numerous specific details are set forth in order to provide a more thorough understanding of the present invention. However, it will be apparent to one skilled in the art that the present invention may be practiced without necessarily being limited to these specific details. In other instances, well-known structures and devices are shown in block diagram form, rather than in detail, in order to avoid obscuring the present invention. The apparatus may be a cell phone, a tablet computer, or a vehicle.
[0024] The reader’s attention is directed to all papers and documents which are filed concurrently with this specification and which are open to public inspection with this specification, and the contents of all such papers and documents are incorporated herein by reference. All the features disclosed in this specification, (including any accompanying claims, abstract, and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise. Thus, unless expressly stated otherwise, each feature disclosed is one example only of a generic series of equivalent or similar features.
[0025] Furthermore, any element in a claim that does not explicitly state “means for” performing a specified function, or “step for” performing a specific function, is not to be interpreted as a “means” or “step” clause as specified in 35 U.S.C. Section 112, Paragraph 6. In particular, the use of “step of’ or “act of’ in the Claims herein is not intended to invoke the provisions of 35 U.S.C. 112, Paragraph 6.
[0026] Please note, if used, the labels left, right, front, back, top, bottom, forward, reverse, clockwise and counter clockwise have been used for convenience purposes only and are not intended to imply any particular fixed direction. Instead, they are used to reflect relative locations and / or directions between various portions of an object.
[0027] Figure l is a simplified block diagram of a mobile device according to embodiments of the present invention. This diagram is merely an example, which should not unduly limit the scope of the claims. One of ordinary skills in the art would recognize many variations, alternatives, and modifications. As shown, a device 100, such as a smartphone or tablet, consists of several major components that work together to enable the device to function. The mobile device includes processor 100. As an example, processor 100 comprises a central processing unit (CPU) that is designed to be used in a mobile device, such as a smartphone, tablet, or laptop. Processors 100 may also include a graphics processing unit (GPU) and a neural processing unit (NPU). The CPU is responsible for executing most instructions that the computer receives, the GPU is responsible for rendering graphics, and the NPU is specialized for artificial intelligence and machine learning tasks. Some examples of mobile processors that include a GPU and NPU are the Qualcomm Snapdragon 865 and the Apple A14 Bionic. The mobile device also includes screen 102. For example, screen 102 comprises a display apparatus for the mobile device 100 to display information, such as text, images, and video. The screen also allows users to interact with the device, install various applications and run the applications supported by processor 100. Optionally, screen 102 is a touchscreen that the interaction with the mobile device can be achieved by touching the screen. In various implementations, mobile device 100 may include multiple displays (e.g., front and back displays, etc.).
[0028] Additionally, mobile device 100 also includes input 103 which provides various input methods such as text input, voice input, picture input, or any data in digital form. Input 103 may be implemented with screen 102 (e.g., a touchscreen) to display the input method on the screen. Voice or image recognition may be used as inputs as well. Input 103 is also linked with processor 101 to allow the inputs, no matter in text, voice, picture, video, or any data digital forms, to be processed, stored, and used by the mobile device. Input 103 may be integrated into operating system software or firmware stored in the mobile device and configured via various interfaces in the software structure including input methods to interact with multipleapplications actively run in the mobile device. Optionally, input 103 may be configured with a user interface to determine the accessibility of certain state information of some active applications (apps) running on the mobile device. Mobile device 100 also includes storage 106, also known as ROM (read-only memory) or internal storage, which is used to store data permanently, such as apps, photos, and videos. The apps include some system-built-in apps and apps from third parties. In various implementations, the operating system and applications may be stored at different storage locations, wherein the operating system has full access to various hardware components such as sensor 104, while apps can only access sensor 104 through the operating system.
[0029] Mobile device 100 also includes memory 107. Memory, often known as RAM (random access memory), is used to store data temporarily as the mobile device is being used. This data is deleted when the mobile device is powered off. Optionally, the operating system of mobile device 100 may include a context manager component with query / return functions run in the background to interact with multiple active applications to obtain updated state information of the applications. For example, the context manager is implemented as one of the components of the operating system. The context manager component may link with memory 107 for storing the updated state information of each active application. The context manager component may link with processor 101 or by itself to analyze the updated state information of the active apps to generate some simplified messages which may be sharable and useful to other apps. The sharing function can be implemented through an interface between the context manager and an input method of each app. Particularly, the input method is the software to help user to enter text content into the app. The sharing information may include mobile sensing data collected by the mobile device 100.
[0030] Further, mobile device 100 includes communication interface 108 providing various connectivity options, such as Wi-Fi, Bluetooth, and cellular data, which allow them to connect to the internet and other devices. Mobile device 100 may include sensor 104, which may have a variety of types, such as gyroscope, accelerometer, magnetometer, light sensor, camera, and compass, which are used to detect movement and orientation or other state information of the device or active apps on the device. The acquired sensing data may include different types associated with various user activities, locations, physical states (like walking, running, cycling, on the bus, subway etc.), or other environmental information around the user who operates the mobile device or vehicle. Based on the sensing data and other system information (e.g., maps, calendar, messages, email), mobile sensing can also infer user activities like daily commute, travel, meeting, etc. Mobile device 100 may also include other components such as one or more cameras and audio output 105.
[0031] Mobile devices, such as smartphones, tablets, and wearable devices like smartwatches and smart glasses, are designed to be easily carried and used in a variety of different locations. These devices often have wireless connectivity to the internet and other devices, and are used for a wide range of purposes, including making phone calls, sending text messages and emails, browsing the internet, and running a variety of apps. Additionally, mobile devices may include a vehicle itself, such as all kinds of electric vehicles, boats, and airplanes.
[0032] In many practical scenarios, multiple apps are actively running on a mobile device, and a user of these apps may want to share information between them in a simplified and convenient way. For example, if a user is on the way to an airport by taxi, they may wish to access location and transportation information from a ride-hailing app and easily share it via an SMS app. Alternatively, if a user is listening to a new song using a smartphone’s media player, they may want to access the song’s information and share it to a social app without the need to type or copy / paste it. In both cases, a cross-application information-sharing solution is needed for easily accessing and sharing the relevant information.
[0033] In a specific embodiment, based on Figure 1, a mobile computing apparatus is provided. The apparatus includes a housing with a display configured on the front side, the display comprising a touchscreen. Additionally, the apparatus includes a storage configured to store an operating system, a plurality of applications, and a memory. Furthermore, the apparatus includes a plurality of sensors, as well as a processor connected to the storage and memory. The processor is configured to execute instructions associated with the operating system for defining a set of user contexts by a context manager, executing instructions associated with a first application and generating a first set of context information associated with the first application, executing instructions associated with a second application, providing a user input interface on the touchscreen for the second application, providing a first recommendation based at least on the first set of context information, and displaying the first recommendation on the user input interface.
[0034] Implementations of the mobile computing apparatus may include one or more of the following features. The apparatus where the processor is further configured to generate a second recommendation using the plurality of sensors, the second recommendation being displayed on the user input interface. The apparatus where the plurality of sensors includes one or more selected from an accelerometer, a gyroscope, a magnetometer, a GPS, a light sensor, a touch screen, a microphone, and a camera. The apparatus may be a cell phone, a tablet computer, a wearable device, or a vehicle. Implementations of the described techniques may include hardware, a method or process, or computer software on a computer-accessible medium.
[0035] Figure 2 is a simplified block diagram of a system structure for using mobile sensing information for content recommendation according to embodiments of the present invention. This diagram is merely an example, which should not unduly limit the scope of the claims. One of ordinary skills in the art would recognize many variations, alternatives, and modifications. As shown, software system 200 for using mobile sensing information for content recommendation is provided in a mobile device under a software environment associated with an operating system interfaced with both third-party apps and system-built-in apps. For example, software system 200 may be implemented using mobile system 100 illustrated in Figure 1, where the operating system and applications are stored in nonvolatile memory and executed by the processor. User context manager 210 is a component in the software system 200 for managing content recommendations using mobile sensing information. It registers to the operating system of the mobile device to manage, in the background, kinds of context information associated with multiple applications actively running in the mobile device. Context manager 210 interacts with apps 240, mobile sensing service providers 250, and system settings 260 through interfaces (e.g., application programming interfaces, or APIs) 211, 213, and 214 to perform the content recommendation function using mobile sensing information.
[0036] Apps 240 represents apps, which can be both first-party and third-party apps, running on the mobile device (e.g., SMS app, WeChat, Whatsapp, etc). Apps 240 would ask a user to input information through input method 220, which is a software component that helps the user to enter text content into an application. Input method 220 may provide prediction ahead of user-typed text to ease the user’s work. In an embodiment of the present invention, input method 220 utilizes a ReqRecommend component 212 through an application programming interface 211 to send a request to context manager 210 to seek a recommendation for its text input based on the user context information including some sensing data matching the corresponding mobile states associated with a mobile device rooted for the software system 200. The sensing data may be provided by mobile sensing service 250. Context manager 210 returns one or more recommendations generated based on the context information including the sensing data which is obtained through StateReporter 215.
[0037] Mobile sensing service 250 is a component in the software system 200 for collecting sensing data from one or more sensors continuously and providing the sensing data to the context manager 210 via an application programming interface 213. Mobile sensing service 250 also is registered to the operating system as a built-in system service provider. For example, mobile sensing service 250 is connected (controlled by the operating system) to one or more sensors installed in the mobile device to collect all kinds of sensing data dynamically. The sensing data may be saved and updated in a storage or system memory of the mobiledevice. Optionally, mobile sensing service 250 may be enabled by end users to engage with a sensor at a particular time to collect a particular type of sensing data based on the instruction from context manager 210 via interface 213. The context manager 210 sends the instruction to the mobile sensing service 250 based on information carried in reqRecommend component 212 sent from the input method 220. As an example, notification through interface 213 may be used: when there is a mobile state change, mobile sensing service 250 would notify context manager 210. As another example, querying / returning through interface 213 may be used where context manager 210 may query the mobile sensing service 250 whether a state associated with a type of sensing data is valid. Mobile sensing service 250 would return the corresponding type of sensing data matching the user context information to context manager 210.
[0038] Referring to Figure 2, context manager 210, through its registration with the operating system, interacts with system settings 260 through recommendation control 216.Recommendation control 216 is a component of system settings 260, which provides switches for end users to control which service providers’ content including data types of sensing data collected or to be collected from one or more sensors can be provided to context manager 210 and used in input method 220. End users can turn on / off accessibility of a specific type of mobile sensing data via a user interface (e.g., via privacy or other settings) in system settings 260. In other words, end users have the power to determine the accessibility of the sensing data provided by the mobile sensing service 250 to be shared to apps 240 through input method 220.
[0039] Figure 3 is an operation diagram of an exemplary mobile sensing information-sharing system according to embodiments of the present invention. This diagram is merely an example, which should not unduly limit the scope of the claims. One of ordinary skills in the art would recognize many variations, alternatives, and modifications. Figure 3 shows an example of operating the mobile sensing information-sharing system on a mobile device. A user of the mobile device may be on a subway. The user launches a SMS application at step 301 with the intention to send a short message in an input module (i.e., Input Method) of the SMS app. The input module includes an input region having a touch keyboard and an input suggestion area. For example, the user just initiates the input module and types a text “I am taking” on the input module at step 302. At this time, the user may be in any one of the user contexts associated with multiple mobile states like running, walking, cycling, on the subway, etc. The input module, upon its initiation, sends a recommendation request at step 303 to the user context manager. The user contexts are predefined and saved in the user context manager.
[0040] When the SMS app is used by the user, it is associated with the input module. If the user switches to a different app, for example, the WeChat app, the input module would beassigned to or associated with the WeChat app. For example, a “reqRecommend” interface between the input module and user context manager can be defined as follows: String[] reqRecommend(String hint )The input module would invoke a request for recommendations as a string array from the user context manager. The interface function may provide multiple recommendations from the user context manager to the input module. The multiple recommendations are generated by the user context manager, which in turn seeks updated user context information from the mobile sensing service which uses one or more sensors to keep sensing an updated user activity and the corresponding type of sensing data.
[0041] The user context manager, which is registered to the operating system of the mobile device, at a current time, i.e., step 304, sends a query of “check user activity” through a query / retum interface to the mobile sensing service. The mobile sensing service is also registered to the operating system of the mobile device. The query would enable the mobile sensing service to keep sensing user activities at the current time (step 305) and collect the corresponding type of sensing data. Assuming the user is on a subway, the mobile sensing service can detect the user activity in a state of “Transport Subway” and send the current user context, i.e, state information or the type of sensing data at step 306 back to the user context manager. The user context manager can use this type of sensing data to compose a recommendation in terms of a text “subway” back to the input module at step 307.
[0042] The input module, after receiving the recommendation from the user context manager, it shows the recommendation by displaying the text “subway” in the input suggestion area of the input module at step 308. The SMS app executes an operation to select recommended text directly by the user at step 309, making typing easier. Optionally, the input module can generate an automatic completion suggestion on the input region of the graphical user interface using the recommendation. Further, the user can use SMS app for further performing text editing to form a whole short text message and sending the text message at step 310.
[0043] In some embodiments, data security of any type of mobile sensing data is imposed by the end user through a recommendation control component built into system settings. Figure 4 is another operation diagram of the mobile sensing service according to embodiments of the present invention. This diagram is merely an example, which should not unduly limit the scope of the claims. One of ordinary skill in the art would recognize many variations, alternatives, and modifications. Figure 4 shows an example of operating a mobile sensing informationsharing system with a user context manager running in the background for setting security for each predefined type of sensing data. As in the example, the user context manager is a software component registered to the operating system in a mobile device. The mobile sensing service isanother software component registered to the operating system to use one or more sensors in the mobile device to collect sensing data like user activities, location, accelerator information, and other mobile state information. The user context manager is configured to predefine all data types of mobile sensing data, which is associated with a set of user contexts. The predefined data types may include multiple keywords for each data type and be saved in the context manager. The user contexts are stored as part of the corresponding user profile managed in system settings. The recommendation control is a software component inserted in system settings to be associated with end users via user profiles. Optionally, the user profile may be transmitted to a remote storage. The user context manager also is designed to enable the mobile sensing service to detect a specific type of sensing data at a particular time associated with a specific user context information based on a user-authorized setting via the recommendation control. Also, the user context manager is designed to provide one or more recommendations by converting the corresponding type of sensing data to a text format for the input method of various applications running on the same mobile device.
[0044] As shown in FIG. 4, the user context manager is started at step 401, maybe invoked upon receiving a recommendation request from an application running on the mobile device through an input method. The user context manager, to generate a return for the recommendation request, may need to check through all predefined data types of sensing data that may match the user contexts corresponding to a current mobile state (which is recognizable by the mobile sensing service anytime). For each type of predefined mobile sensing data, the user context manager sends a query “Enabled” at step 411 to recommendation control for checking whether the state corresponding to the data type is valid, i.e., turned on by the end user. Only the sensing data of any type that is enabled by the end user can be shared by the user context manager to the application that made the recommendation request. In an example, the recommendation control returns the query with “Yes”, then the user context manager enables, at step 413, the mobile sensing service to execute corresponding mobile sensing detection based on the enabled data type of mobile sensing data. The mobile sensing service will return the corresponding mobile sensing data back to the user context manager. For example, if data types associated with “GO TO HOME”, “TRANSPORTATION” are enabled, the mobile sensing service will be enabled to detect those types of data accordingly. If the recommendation control returns the query with “No”, the user context manager will send a query to check another data type through all predefined data types.
[0045] In some embodiments, the end user, through user profile update in recommendation control built into the system settings, changes the setting for any predefined data types associated with one or more user contexts at step 402. The recommendation control will notifythe user context manager about the corresponding ON / OFF setting changes at step 403. An ON state of one data type of sensing data will allow the corresponding sensing data provided by the mobile sensing service to be accessible by the user context manager for sharing with other apps. The user context manager, if it is triggered to seek updated mobile sensing data, will send orders to change (either enable or disable) corresponding mobile sensing detection at step 404. The mobile sensing service returns with the updated mobile sensing data back to the user context manager at step 405.
[0046] In some embodiments, the input method of an application will invoke it to get the recommended content as a string array. This function may return multiple recommendations from the user context manager. In an implementation, the request for a recommendation for the user context manager is invoked by initiating the input method without any text typed by the user. For example, when hint = null, it means to request a recommendation without any hint. In this case, a set of templates, pre-generated for various mobile states (of the mobile device user) based on predefined rules at multiple conditions and saved in the user context manager, can be used as the returned recommendation when the user has not typed anything (for example, the input method is just being launched). The user context manager has a predefined mobile sensing data type corresponding to the mobile states, which are recognized by the mobile sensing service. For example, Table 1 below shows the exemplary templates for some mobile states.Table 1 : An example of templates defined by the user context manager based on defined rules at various conditions for each of the mobile states recognized by the mobile sensing serviceFor each state, the user context manager will have predefined rules, and each rule has a condition and its corresponding templates. When the condition becomes true, the templates will be used to compose recommendations. The rules can be implemented in different ways. For example, it can be implemented using hard coded in the user context manager by programming languages, or using rule engine (e.g., Apache Jena) to implement the rules. When areqRecommend() is invoked by the input method to the user context manager without a hint, the user context manager will go through every state and check (by sending a query to the recommendation control built in the system settings) whether the state is valid. If the state is valid, i.e., enabled by the user, examStateRules() will be invoked in the user context manager to examine each rule predefined for this state. The user context manager will determine whether a condition is true. Then a corresponding (predefined) template at the condition of the valid state will be selected to compose recommendations.
[0047] In another implementation, the request for information invoked by the input method carries a hint implied within text input typed by the user. For example, when hint != null, it means that the input method sends a request for recommendation with a hint. The hint can be generated by the input method based on what the user has already typed. For example, when the user types “my destination address is” the string “my destination address is” can be sent out as a hint. If there is a hint, the user context manager compares the hint with multiple keywords which are predefined for each type of sensing data that the mobile sensing service can provide. The data types of sensing data are associated with various use contexts defined by the user context manager. For example, Table 2 below shows some predefined keywords corresponding to some mobile sensing data (type).Table 2: An example of keywords predefined for each type of sensing data based on corresponding user contexts.The user context manager compares the similarity of the hint with the keywords and determines a keyword with the highest similarity. Then, the mobile sensing service is enabled to detect (or retrieve) corresponding mobile sensing data to provide it to the user context manager. The user context manager converts the mobile sensing data to one of the possible recommendations returned to the input method. There are different comparison algorithms applicable to our solution. For example, using Natural Language Understanding “NLU” algorithm to compare the similarity between a text hint with the keywords.
[0048] Figure 5 shows (A) an operation of the user context manager for providing mobile sensing recommendation without hint and (B) a flow of steps for generating therecommendation according to embodiments of the present invention. This diagram is merely an example, which should not unduly limit the scope of the claims. One of ordinary skills in the art would recognize many variations, alternatives, and modifications. As shown in part (A) of Figure 5, an operation of the user context manager for providing mobile sensing recommendations without hint is illustrated. At step 501, the input method initiates a request for recommendation without a hint. The user context manager is invoked by reqRecommend() without hint to start shows a process 502 for each mobile state to check whether the state recognized by the mobile sensing service is valid (i.e., a true value is given by the user to allow the type sensing data detected by the mobile sensing service to be accessible by the user context manager). Process 502 is followed by a return notification 503 from the mobile sensing service about the state being true or false. The user context manager then performs a process 504 to exam rules under the states. Each rule is predefined with a set of templates generated for a particular type of sensing data detected for the state at several conditions. Process 504 is to determine a condition for the rule being true so that a corresponding template can be selected. Finally, the user context manager can return the selected template as a recommendation back to the input method.
[0049] As an alternative way to illustrate the operation of the user context manager for providing mobile sensing recommendation without hint, a flow of steps shows a method 500 in part (B) of Figure 5. The user context manager is a software component running in the background of the operating system on a mobile device. Method 500 starts, at step 510, the operation by the user context manager for examining each mobile state upon receiving a reqRecommend() without hint from an input method of an application. Each mobile state corresponds to a user context defined in the user context manager and is associated with a data type of mobile sensing data detected by the mobile sensing service. Method 500 includes step 520 for checking for each state, by the user context manager, whether there is a rule predefined for the state currently examined. Optionally, method 500 includes matching various data types of sensing data to the user contexts associated with the mobile states of the mobile device. If a “No” is outputted from step 520, method 500 goes to step 560 directly to repeat the operation for another state.
[0050] If a “Yes” is outputted from step 520, method 500 includes step 530 for further checking, by the user context manager, whether any rule’s condition is true. In this step, every condition for a rule will be examined. For example, for a rule for the state at“GO TO WORK” there is at least a normal on-time condition as a default condition and a late condition for informing a late appearance of the user. If a “No” is outputted from step 530, method 500 includes step 540 for getting next rule to exam in step 520 again. If there is no nextrule available, i.e., every rule has been examined in previous cycles, then step 540 is to stop the process. If a “Yes” is outputted from step 530, method 500 includes step 550 for composing recommendations based on templates at the condition (that has been determined to be true) and adding the recommendations to the return list for the input method. Each template is predetermined for a corresponding condition under the rule. For example, for the rule for the state of “G0 T0 W0RK”, if the default condition is true, the corresponding template is predefined as “I am going to work”. In an embodiment, a set of predetermined templates is associated with different conditions predefined for the user contexts and the sensing data at the conditions. Then method 500 includes step 560 to repeat the operation for providing mobile sensing recommendations for another state.
[0051] Figure 6 shows a flow of steps for generating recommendation using mobile sensing data with a hint according to embodiments of the present invention. This diagram is merely an example, which should not unduly limit the scope of the claims. One of ordinary skill in the art would recognize many variations, alternatives, and modifications. FIG. 6 shows method 600 for generating recommendation using mobile sensing data with a hint given as a text input typed by a user of an application running on a mobile device. Method 600 starts at step 610 through a user context manager software component registered to the operating system running the mobile device. The user context manager runs in the background of the operating system. Step 610 is triggered by a reqRecommend() with a hint initiated by an application through its input module (i.e., input method). The hint is carried in a text input typed by the user in an input region of the input module. The reqRecommend() is a request for recommendation sent to the user context manager. The user context manager has predefined a set of user contexts and saved the user context as part of a user profile. The user contexts are associated with various user activities, locations, or other mobile state information recognizable by a mobile sensing service. The user context manager also predefines multiple keywords corresponding to various data types of the sensing data based on the user contexts. The mobile sensing service is also a software component registered to the operating system and configured to use one or more sensors to detect all types of sensing data matching with the set of user contexts at any time. For each type of mobile sensing data, the user context manager predefines some keywords associated with the user contexts.
[0052] Method 600, upon receiving a request for recommendation with a hint, includes step 620 for checking whether there are keywords saved in the user context manager for each mobile state. Each mobile state corresponds to a user context defined in the user context manager and is associated with a data type of mobile sensing data detected by the mobile sensing service. If a“No” is outputted from step 620, method 600 goes directly to step 660 to repeat the operation with another mobile state.
[0053] If a “Yes” is outputted from step 620, method 600 includes step 630 for analyzing similarity between the hint and the multiple keywords stored in the context manager. If no keyword is found with high similarity in current group, method 600 includes step 640 to get the next group of keywords by repeating step 620. If no next group of keywords is found, i.e., every group of keywords has been examined in previous cycles, then step 640 is to stop the process. If a keyword with the highest similarity to the hint is determined, method 600 includes step 650 for invoking the mobile sensing service to detect the type of sensing data corresponding to the keyword. If the sensing data is detected or retrieved and if the type of sensing data is valid or authorized by the user to allow access by the user context manager. The sensing data will be provided to the user context manager. The user context manager then generates a recommendation by converting the sensing data to text and adding the text to a return list for the input module. Step 650 will be followed by getting to the next group of keywords to compare with the hint at step 640. Finally, as no more keywords to compare, method 600 stops.
[0054] While the above is a full description of the specific embodiments, various modifications, alternative constructions and equivalents may be used. Therefore, the above description and illustrations should not be taken as limiting the scope of the present invention which is defined by the appended claims.
Claims
WHAT IS CLAIMED IS:
1. A method for generating input method recommendation using sensing information, the method comprising: defining a set of user contexts by a context manager; storing the user contexts as a part of a user profile; obtaining sensing data from one or more sensors at a first time; providing a set of predefined templates associated with the user contexts and the sensing data; starting a first application at a second time; displaying the first application on a graphical user interface; receiving a text input through an input module in the first application, the text input being displayed on an input region of the graphical user interface; determining a first context based on the text input and the first application; generating a first recommendation using the predefined templates and the first context; and displaying the first recommendation on the input region of graphical user interface.
2. The method of claim 1 wherein the one or more sensors comprise an accelerometer.
3. The method of claim 1 wherein the input region comprises a touch keyboard and an input suggestion area, the first recommendation being displayed in the input suggestion area.
4. The method of claim 1 further comprising transmitting the user profile to a remote storage.
5. The method of claim 1 wherein obtaining sensing data comprises obtaining a user activity.
6. The method of claim 1 wherein obtaining sensing data comprises collecting a location information.
7. The method of claim 1 wherein obtaining sensing data comprises collecting an accelerator information.
8. The method of claim 1 further comprising matching various data types of the sensing data to the user contexts, the set of predetermined templates being associated with conditions predefined for the user contexts and the sensing data at the conditions.
9. The method of claim 8 further comprising:receiving a recommendation request by starting the input module of the first application without typing a text input; accessing the user profile to determine whether one of the user contexts at the second time is valid to allow the context manager to access the sensing data; determining one of the conditions associated with said one user context; and identifying one of the predetermined templates associated with said one condition for generating the first recommendation.
10. The method of claim 1 further comprising predefining multiple keywords corresponding to various data types of the sensing data by the context manager based on the user contexts.
11. The method of claim 10 further comprising: receiving a recommendation request based on the text input through the input module of the first application; comparing the text input based on similarity to the multiple keywords to determine a keyword with the highest similarity; and generating the first recommendation using the sensing data that corresponds to the keyword.
12. The method of claim 1 wherein obtaining sensing data from one or more sensors comprising using a sensor data service registered to an operating system.
13. The method of claim 1 further comprising generating an automatic completion suggestion on the input region of the graphical user interface using the first recommendation.
14. A mobile computing apparatus comprising: a housing; a display configured on a front side of the housing, the displaying comprising a touchscreen; a storage configured to store an operating system and a plurality of applications; a memory; a plurality of sensors; and a processor connected to the storage and the memory, wherein the processor is configured to: executing instructions associated with the operating system for defining a set of user contexts by a context manager; executing instructions associated with a first application and generating a first set of context information associated with the first application;executing instructions associated with a second application; executing the instructions associated with the operating system for providing an user input interface on the touchscreen, the user input interface being used for the second application; executing the instructions associated with the operating system for providing a first recommendation based at least on the first set of context information; and executing instructions associated with the operating system for displaying the first recommendation on the user input interface.
15. The apparatus of claim 14 wherein the processor is further configured to generate a second recommendation using the plurality of sensors, the second recommendation being displayed on the user input interface.
16. The apparatus of claim 14 wherein the plurality of sensors comprises one or more selected from an accelerometer, a gyroscope, a magnetometer, a GPS, a light sensor, a touch screen, a microphone, and a camera.
17. The apparatus of claim 14 comprises a cell phone, or a tablet computer, or a wearable device, or a vehicle.
18. A method for generating input recommendation using mobile sensing information, the method comprising: defining a set of user contexts by a context manager, the set of user contexts being associated with multiple mobile states; collecting sensing data matching the multiple mobile states by a sensing data service based on one or more sensors; defining multiple templates for the multiple mobile states at different conditions; storing multiple keywords corresponding to the sensing data matching the multiple mobile states; setting accessibility of the sensing data for each of the multiple mobile states by the context manager, the accessibility being determined via a user profile; monitoring applications by the context manager; starting an application, the application including an input module to initiate a recommendation request to the context manager; detecting sensing data matching the mobile state at a current time; and returning an input recommendation to the input module.
19. The method of claim 18 further comprising: receiving the recommendation request without a hint from the input module;determining the mobile state at the current time is valid so that the sensing data matching the mobile state is accessible by the context manager; determining a condition associated with the mobile state; detecting sensing data matching the mobile state at the current time; and generating the input recommendation using a template for the mobile state at the condition and the sensing data.
20. The method of claim 18 further comprising: receiving the recommendation request with a hint in an input text through the input module; analyzing similarity between the hint and the multiple keywords stored in the context manager; determining a keyword with the highest similarity; detecting sensing data corresponding to the keyword; and generating the input recommendation using the sensing data.
Citation Information
Patent Citations
Methods and Systems for Managing Permissions to Access Mobile Device Resources
US20160191534A1
Contextual discovery
US20180040020A1
Physical activity inference from environmental metrics
US20180357662A1
Automated data transfer from mobile application silos to authorized third-party applications
US20190108358A1
Methods and vehicles for capturing emotion of a human driver and customizing vehicle response
US20200152197A1
