Windows local and sensor

Использование датчиков в Windows 7

Поддержка Windows 7 закончилась 14 января 2020 г.

Чтобы продолжить получать обновления системы безопасности от Майкрософт, мы рекомендуем перейти на Windows 10.

Что такое датчик?

Датчики — это аппаратные компоненты, которые могут предоставлять компьютеру информацию о расположении компьютера, его окружающем расположении и не только. Полученные с помощью датчиков данные могут сохраняться и использоваться программами при выполнении повседневных задач для большего удобства работы с компьютером. Существует два типа датчиков:

Датчики, подключаемые к компьютеру посредством проводного или беспроводного соединения.

В число примеров датчиков входят датчики местоположения, например GPS-приемник, который может определить текущее расположение компьютера. На основе полученных данных в специальной программе могут выводиться сведения, например о ближайших ресторанах или маршрутах проезда к нужному пункту назначения. Датчик освещения предназначен для определения уровня освещенности окружающей среды, на основе чего автоматически корректируется яркость экрана.

Использование датчиков расположения и других датчиков

С помощью датчиков можно настраивать программы, данные и службы на компьютере на основании сведений о его текущем расположении, условиях окружающей среды и других данных. Например, с помощью датчика расположения и компьютера можно найти ближайший ресторан, определить направления движения к нему, передать данные о направлениях другу и использовать их на карте для планирования маршрута движения.

Программы могут получать доступ к данным с датчика после его установки и включения на компьютере. Эти данные могут использоваться программами при выполнении повседневных задач для большего удобства работы с компьютером. Чтобы запретить программам и учетным записям использовать данные, полученные с помощью датчика, отключите его.

Так как некоторые программы могут отправлять персональные данные по сетевым подключениям, вы можете включить или отключить датчик только при входе в Windows с учетной записью администратора.

При необходимости можно ограничить доступ к личным данным определенных пользователей на компьютере.

Как применение датчиков влияет на конфиденциальность?

По умолчанию, если датчик включен, все программы и пользователи на вашем компьютере могут получить доступ к сведениям с этого датчика. В ОС Windows при попытке доступа программ к данным о расположении компьютера выводится временное уведомление в виде значка «Датчик расположения и другие датчики» в области уведомлений. Windows отображает этот значок при первом доступе программы или службы к расположению вашего компьютера с датчика.

Некоторые программы могут использовать персональные данные (например, ваше местонахождение) от датчиков без разрешения. С помощью учетных записей можно ограничить доступ программ к данным, полученным с использованием датчиков.

Предоставление доступа к данным, полученным с использованием датчиков

Может потребоваться ограничить доступ к программам и службам (которые запускаются в фоновом режиме для всех учетных записей пользователей) из-за доступа к данным датчиков. По умолчанию при первом включении датчика все программы и службы могут получить информацию от датчика для всех учетных записей пользователей. Можно ограничить доступ программ к данным, полученным с использованием датчиков, с помощью учетных записей. Можно также ограничить доступ к информации датчиков для служб, но это будет применено ко всем учетным записям пользователей.

Откройте «Расположение» и «Другие датчики», нажав «Начните», а затем на панели управления. В поле поиска введите датчики, а затем щелкните «Место» и «Другие датчики».

Примечание: Чтобы изменить пользовательские параметры датчиков, должен быть установлен как минимум один датчик.

В левой области выберите пункт Изменить параметры пользователя.

В списке Датчик выберите датчик, для которого требуется изменить параметры пользователя.

В разделе Доступ установите или снимите флажки рядом с именами пользователей, которым требуется предоставить или запретить доступ к данным датчика соответственно. Нажмите кнопку ОК. Если вам будет предложено ввести пароль администратора или подтверждение, введите пароль или подскакийте его.

Читайте также:  Geckodriver executable needs to be in path linux

Включение и отключение датчиков

Программы могут использовать данные с датчика после включения. Можно включать или отключать датчики, установленные на компьютере, в разделе панели управления «Датчик расположения и другие датчики». При отключении датчик не выключается физически. Некоторые программы могут по-прежнему использовать данные, получаемые с помощью отключенного датчика.

После включения датчика по умолчанию все пользователи и программы на компьютере смогут получать с него доступ к информации. Когда программа или служба впервые получают доступ к расположению вашего компьютера с датчика, Windows временно отображает значок «Расположение и другие датчики» в области уведомлений.

Включение и отключение датчика

Откройте «Расположение» и «Другие датчики», нажав «Начните», а затем на панели управления. В поле поиска введите датчики, а затем щелкните «Место» и «Другие датчики».

Установите или снимите флажок рядом с датчиком, который требуется включить или отключить соответственно, и нажмите кнопку Применить. Если вам будет предложено ввести пароль администратора или подтверждение, введите пароль или подскакийте его.

Установка и удаление датчиков

См. документацию, входящую в комплект поставки датчика, или посетите веб-сайт изготовителя датчика. После установки датчика нужно включить его. Это позволит программам получать доступ к информации с датчика.

Удаление датчика

Откройте «Расположение» и «Другие датчики», нажав «Начните», а затем на панели управления. В поле поиска введите датчик и затем выберите пункт Датчик расположения и другие датчики.

Выберите удаляемый датчик.

В меню «Дополнительныепараметры» щелкните «Удалить этот датчик»и нажмите кнопку «ОК». Если вам будет предложено ввести пароль администратора или подтверждение, введите его или подскакийте.

Using a sensor in Windows 7

Support for Windows 7 ended on January 14, 2020

We recommend you move to a Windows 10 PC to continue to receive security updates from Microsoft.

What is a sensor?

Sensors are hardware components that can provide your computer with information about your computer’s location, surroundings, and more. Programs on your computer can access information from sensors, and then store or use it to help you with everyday tasks or to improve your computer experience. There are two types of sensors:

Sensors that are built in to your computer

Sensors that are connected to your computer by a wired or wireless connection

Some examples of sensors include a location sensor, such as a GPS receiver, that can detect your computer’s current location. A program could then use that location to provide you with information about nearby restaurants or driving directions to your next destination. A light sensor installed on your computer could detect the light in your surroundings, and then adjust the screen brightness to match it.

Using location and other sensors

By using sensors, programs on your computer can customize information and services for you based on your computer’s current location, surroundings, and more. For example, with a location sensor and your computer, you may be able to find a nearby restaurant, get directions to that restaurant, send the directions to a friend, and then follow the directions on a map as you travel to your destination.

Programs can access information from a sensor once it’s installed and enabled on your computer. Programs can then store or use that information to help you with everyday tasks or to improve your computer experience. To help prevent all programs and user accounts from accessing information from a sensor, you can disable the sensor.

Because some programs may send personal information over network connections, you can enable or disable a sensor only when you are logged on to Windows with an administrator account.

You may want to limit access to personal information about certain users on your computer.

How does a sensor affect my privacy?

By default, when a sensor is enabled, all programs and users on your computer can access the information from that sensor. Windows notifies you when programs access information about your location by temporarily displaying the Location and Other Sensors icon in the notification area. Windows displays this icon the first time a program or a service accesses your computer’s location from a sensor.

Some programs could potentially use personal information (such as your location) from sensors without permission. You can limit programs from accessing information from sensors by user account.

Change who can access information from a sensor

You might want to limit programs or services (which run in the background for all user accounts) from accessing information from sensors. By default, when you first enable a sensor, all programs and services can access information from the sensor for all user accounts. You can choose to limit programs from accessing information from sensors by user account. You can also choose to limit services from accessing information from sensors, but this will apply to all user accounts.

Читайте также:  Температура процессора windows 10 core temp

Open Location and Other Sensors by clicking the Start button , and then clicking Control Panel. In the search box, type sensors, and then click Location and Other Sensors.

Note: You must have at least one sensor installed before you can change user settings for sensors.

In the left pane, click Change user settings.

Under Sensor, from the list, click the sensor that you want to change user settings for.

Under Access, select the check box next to each user name to provide access, or clear the check box next to each user name to remove access, and then click OK. If you’re prompted for an administrator password or confirmation, type the password or provide confirmation.

Enable or disable a sensor

Programs can use information from a sensor after it’s enabled. You can enable or disable sensors that are installed on your computer in Location and Other Sensors in Control Panel. Disabling a sensor doesn’t turn it off. Some programs may still access information from a sensor when it’s disabled.

Once a sensor is enabled, by default, all users and programs on your computer can access information from it. The first time a program or a service accesses your computer’s location from a sensor, Windows will temporarily display the Location and Other Sensors icon in the notification area.

To enable or disable a sensor

Open Location and Other Sensors by clicking the Start button , and then clicking Control Panel. In the search box, type sensors, and then click Location and Other Sensors.

Select the check box next to the sensor that you want to enable, or clear the check box to disable the sensor, and then click Apply. If you’re prompted for an administrator password or confirmation, type the password or provide confirmation.

Install or uninstall a sensor

Check the information that came with your sensor or go to the sensor manufacturer’s website. After you’ve installed a sensor, you must enable it. This allows programs to access information from the sensor.

To uninstall a sensor

Open Location and Other Sensors by clicking the Start button , and then clicking Control Panel. In the search box, type sensor s, and then click Location and Other Sensors.

Click the sensor that you want to uninstall.

Under More options, click Uninstall this sensor, and then click OK. If you’re prompted for an administrator password or confirmation, type the password or provide confirmation.

Introduction to the Sensor and Location Platform in Windows

The Windows operating system provides native support for sensor devices. This support includes location sensors such as GPS devices. As part of this support, the platform provides a standard way for device manufacturers to expose sensor devices to software developers and consumers. At the same time, the platform gives developers a standardized API and device driver interface (DDI) to work with sensors and sensor data. This section summarizes the Windows sensor and location platform, discusses the various parts of the platform, and describes how the pieces work together to provide a comprehensive system for working with sensors.

Sensor Device Overview

Sensors come in many configurations and, from a certain perspective, almost anything that provides data about physical phenomena can be called a sensor. Although we typically think of sensors as hardware devices, logical sensors can also provide information through emulation of sensor functionality in software or firmware. Also, a single hardware device can contain multiple sensors.

The sensor and location platform organizes sensors into categories, which represent broad classes of sensor devices, and types, which represent specific kinds of sensors. For example, a sensor in a video game controller that detects the position and movement of a player’s hand (perhaps for a video bowling game) would be categorized as an Orientation sensor, but its type would be 3-D Accelerometer. In code, Windows represents categories and types by using globally unique identifiers (GUIDs), many of which are predefined. Device manufacturers can create new categories and types by defining and publishing new GUIDs, when it is required.

Читайте также:  Remove windows sign in

Location devices comprise one especially interesting category. By now, most people are familiar with global positioning systems (GPS). In Windows, a GPS is a kind of sensor that is part of the Location category. The Location category could include other sensor types. Some of these sensor types are software based, such as an IP resolver that provides location information based on an Internet address, a cellular phone tower triangulator that determines location based on nearby towers, or a sensor that determines location from the presence of Wi-Fi networks.

About the Platform

The Windows sensor and location platform consists of the following developer and user components:

The DDI. Windows provides a standard way for sensor devices to connect to the computer and to provide data to other subsystems.

The Windows Sensor API provides a set of methods, properties, and events to work with connected sensors and sensor data.

The Windows Location API, which is built on the Windows Sensor API, provides a set of programming objects. These objects include scripting objects, for working with location information.

The Control Panel gives computer users control over location settings.

The following sections describe each of these components.

Device Driver Interface

Sensor manufacturers can create device drivers to connect sensors with Windows. Sensor device drivers are implemented by using the Windows Portable Devices (WPD) driver model, which is based on the Windows User Mode Driver Framework (UMDF).Many device drivers have been written by using these frameworks. Because these technologies are established, experienced device driver programmers will find writing a sensor driver to be a familiar task. The sensor DDI uses specific UMDF and WPD data types and interfaces, and also defines sensor-specific WPD commands and parameters, where it is required.

To help make it easier to write a device driver that exposes a sensor to Windows (and to the sensor and location platform in particular), the operating system includes a driver class extension. A required component for sensor device drivers, this COM object provides a simple set of interfaces that enable programmers to implement a sensor driver without writing lots of boilerplate code. The class extension can also reduce, or even eliminate, the need to manage WPD calls. This documentation contains detailed information about the sensor DDI and class extension object.

Sensor API

The Windows Sensor API enables C++ developers to create sensor-based programs by using a set of COM interfaces. The API defines interfaces to perform common sensor programming tasks that include managing sensors by category, type, or ID, managing sensor events, working with individual sensors and sensor collections, and working with sensor data. The Windows SDK includes header files, documentation, samples, and tools to help guide software developers on how to use sensors in Windows programs.

Location API

Built on the sensor platform, the Location API provides an easy way to retrieve data about geographic location while protecting user privacy. The Location API provides its functionality through a set of COM interfaces that represent objects. These objects can be used by programmers who understand how to use COM through the C++ programming language, or in scripting languages, such as JScript. Scripting support gives easy access to location data for projects that run in the Local Computer zone, such as gadgets. The Windows SDK includes header files, documentation (including scripting reference documentation), samples, and tools to help guide Web and software developers on how to use location information in their programs.

User Control Panel

Windows includes a control panel that allows computer users to enable or disable location settings. Because thesesettings can expose sensitive data, this user interface gives users control over whether programs have access to their location.

Оцените статью