Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discussion for a new capability for RegionDeviceCount #16

Open
bigludo7 opened this issue May 14, 2024 · 5 comments
Open

Discussion for a new capability for RegionDeviceCount #16

bigludo7 opened this issue May 14, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@bigludo7
Copy link
Collaborator

Problem description
Thinking about our API and UC I'm wondering if we shouldn't think about adding a new capability to send notification when the volume of devices go up or below a threshold.

We will offer a deviceCount-subscription endpoint (or other better name) to allow developer to subscribe for these events (number of devices above threshold, number of devices below a threshold), providing this threshold value and providing a sink url where notification must be send.

When situation occurs we trigger this event.

I saw UCs where depending on the volume of connected devices you want to propose/trigger to user some offers to get always a good connectivity.

What do you think?

Possible evolution
Add a second yaml to manage deviceCount-subscription

Alternative solution

Additional context
Do we need to go through the API backlog WG?

@bigludo7 bigludo7 added the enhancement New feature or request label May 14, 2024
@chinaunicomyangfan
Copy link
Collaborator

chinaunicomyangfan commented May 15, 2024

@bigludo7 I think this is a great proposal. Adding subscription functionality can meet more scenario requirements. Some of the scenarios I can think of now, such as hosting large-scale conferences or events, organizers can use this API to monitor the number of devices in the activity area. When the number of devices approaches or falls below the set threshold, notifications can be sent to event organizers so that they can adjust the activity process or provide personnel guidance in a timely manner.

Do we need to go through the API backlog WG?

In my understanding, changing yaml should not require notifying WG, right?
@ShutingQing What do you think?

@ShutingQing
Copy link
Collaborator

@bigludo7 👍 I think this is a really great proposal that i can see potential value. Developers will have this need to be notified in which area, users are increase or decrease in a fast speed.

If we add such a function, should we make it an independent API? RegionDeviceCount is applied for those who request for a specific area. A new API with device num changes can applied for those who subscribe the service.

@bigludo7
Copy link
Collaborator Author

Thanks @ShutingQing and @chinaunicomyangfan for your positive feedback.

We need a separate yaml following CAMARA subscription ruling (here) so I guess we need to trigger a request to the API backlog WG.

Our plan could be:

  • Let's tackle first the API name change with the backlog team (@chinaunicomyangfan manages this)
  • once done we can trigger this new feature to the backlog team (I can make a PR in backlog for this and getting your support)
  • we propose to work on this API in our project

@gregory1g
Copy link
Collaborator

suggestion for a UC. A targeted advertisement on in some area (video screens). Less people - show cheaper ads, more people show more expensive ads. Filters are useful in this scenario as well.

@ShutingQing
Copy link
Collaborator

Agree with Gregory.

Another use case I come across is, for Uber/Lyft/Gaode Map/Bolt taxi APPs, they can call the API, combined with GPS, to provide more accurate prediction of people. For some users, they allow the authentification of GPS only when "allow GSP when using the APP only", under such scenario, they can have one more input for predicting potential users, and so as to arrange the drivers.

As well for some food delivery APPs, they can call the API and provide an option for restaurants a reference, where to choose the restaurant location.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants