Slashdot Mirror


Microsoft Patents OS Shutdown

An anonymous reader writes "You would think that shutting down software could be fairly simple from an end user's view. If I ask you to shut it down, would you mind shutting it actually down, please? Well, it's a bit more complicated than that, because you need to ask the user if they really want to shut down and if unsaved documents should be saved. And that warrants a patent that also covers Mac OS X. Next time you shut down Windows, remember how complicated it is for Windows to shut down. Perhaps that is the reason why this procedure can take minutes in some cases."

52 of 404 comments (clear)

  1. A BSOD Shutdown Too? by NeverVotedBush · · Score: 4, Funny

    One has to wonder if they are also trying to patent the inadvertent "BSOD" shutdowns. They seem much more complex. ;-)

    1. Re:A BSOD Shutdown Too? by cigawoot · · Score: 2, Funny

      Sad Mac is a failure on startup, and the Bomb was just scary. My mother saw the system error bomb once and thought the computer was going to explode.

  2. Next thing... by ZeRu · · Score: 2, Insightful

    I can see someone patenting "Are you sure?" prompt.
    Actually, when I think of it, alot of dumber patents have been accepted.

    --
    If you post as an AC, don't expect me to spend a mod point on you.
    1. Re:Next thing... by characterZer0 · · Score: 2, Insightful

      I am going to patent sucking at grammar. I will make a lot more money than you.

      --
      Go green: turn off your refrigerator.
  3. Re:Hmm by jandrese · · Score: 5, Insightful

    Or the process where you get halfway through the shutdown, and then it stops for no apparent reason and you have to go and order the shutdown again to get it to finish shutting down.

    --

    I read the internet for the articles.
  4. The patent by Infonaut · · Score: 4, Informative

    Here's the USPTO link. The abstract:

    A user interface and scheme is provided for facilitating shutting down an operating system. Aspects include the operating system receiving a command to initiate shut down, and automatically terminating graphical user interface (GUI) applications that delay shut down which do not have top level windows. Also, aspects provide a user, through a graphical user interface, the ability to automatically terminate all running applications in response to determining that a running GUI application has a top level window.

    --
    Read the EFF's Fair Use FAQ
  5. Re:Why can't I mod the story submission itself? by $RANDOMLUSER · · Score: 4, Funny

    Shutting down Windows, evacuating ones bowels.

    Potayto potahto.

    --
    No folly is more costly than the folly of intolerant idealism. - Winston Churchill
  6. Re:Yet OSX shuts down much faster... by MrHanky · · Score: 5, Funny

    Yes, but an Apple fanboy takes a lot longer to shut up.

  7. Only 1998? by tomhudson · · Score: 4, Insightful

    I guess I should patent MY shutdown technique - goes back way before then. Make sure nothing important is going on (like a write operation), and just cut the power.

    It still works great on modern OSes with a journaling file system - and the best part is that your whole desktop, including open apps and files, is restored next time you log in, and you only lose 2-5 seconds on reboot (which is less than the time you lose doing a clean shutdown), and you don't have to answer 3-4 dialogs asking if you want to save your session, etc.

    Do that every time, and over the course of the year, you've saved 30 seconds x 250 days, oe 125 minutes - that's 2 HOURS of electricity. Be green - pull the plug :-)

    Seriously, most of the time I shut down properly, but if I hear thunder close by, I just cut the power unless it's a laptop. Lightning doesn't have to be close enough to hear to induce surges in power lines, so I figure if I can hear it, it's already too close. I haven't lost any data doing this, but I *have* had to replace one cpu because of a power surge (and that was in the bad old days when you had to hand-solder them to the board).

    Pull the plug. A *real* OS can handle it.

    1. Re:Only 1998? by Pojut · · Score: 2, Interesting

      but if I hear thunder close by, I just cut the power unless it's a laptop. Lightning doesn't have to be close enough to hear to induce surges in power lines, so I figure if I can hear it, it's already too close

      ^^^this. We have four surge protectors in our "fun space"...two for computers, two for our entertainment center (tv, consoles, etc). All four of them are plugged into wall sockets that are quickly and easily accessable for this very purpose (we get some pretty intense lightning here in Maryland during the Spring and Summer months.) We actually organized the layout of our "fun space" with this specifically in mind.

    2. Re:Only 1998? by Pojut · · Score: 2, Funny
    3. Re:Only 1998? by stonewallred · · Score: 4, Informative

      Are you counting on the surge protectors to protect your stuff? Or just using them for brief line fluctuations? A consumer grade surge protector is useless for lightning induced power surges.

    4. Re:Only 1998? by djdanlib · · Score: 2, Informative

      You *could* just get a decent surge protector so you could take the time to shut down your apps, ya know. They even make 'em with switches, so you can still have insta-kill and even leave it off while you're not home. Sags happen rather more often without lightning's involvement, and they can silently kill power supplies. Ever turn on the microwave or hear your refrigerator's compressor kick in, then see the lights flicker or dim? Your power supply strained under that. So... good idea, but there is a better way. I have a nice UPS that does power conditioning, keeps the supply constant when input drops or surges, and even lets me disconnect from the wall outlet entirely and have a few minutes to finish up what I'm doing.

      Nothing wrong with leaving the power disconnected when you're not using the system - I support that idea. Little trickles of current add up over time.

      By the way, what config are you using that your open apps and files are restored upon your next login after you yank the power cord? I've only seen Linux do that with "restore last session" sort of things, but even then it only saved the session when you logged out properly, so yanking the power cord would only restore the last stored session, not the last active setup.

    5. Re:Only 1998? by SEWilco · · Score: 2, Interesting

      You might want to add a whole-house surge protector to your breaker panel. That's slower to react than the consumer protectors, but can take a larger surge. The smaller and faster protectors will protect until the big boy kicks in, and then the big one is protecting the weaker ones. Your stuff is more likely to survive closer hits that way.

    6. Re:Only 1998? by jgrahn · · Score: 2, Interesting

      Do that every time, and over the course of the year, you've saved 30 seconds x 250 days, oe 125 minutes - that's 2 HOURS of electricity. Be green - pull the plug :-)

      Subtract from that the work other machines have to do keeping your dead TCP connections up, retransmitting, and eventually timing out and resetting them. Cutting the power to a networked computer is impolite.

    7. Re:Only 1998? by Pojut · · Score: 2, Interesting

      We use the surge protectors to help guard against daily fluctuations in the power grid, but that's it. If we're home and we hear thunder or see a single lightning strike, everything gets turned off and the surge protectors get unplugged immediately. The layout of our entertainment room allows this to be done extremely quickly.

      Here's a picture of our main entertainment area. There is a plug right under the desk (which you can easily see), and the plug for the surge protector that the TV and modern consoles are plugged into sits at about the same height as the TV (it's a really weird placement for an electrical socket, but for our purposes it's perfect.) My wife's work area (which has her computer, as well as a CRT TV and all our older consoles) is set up in a very similar way.

      If the weather folks call for thunderstorms to arrive while we're at work, I'll generally unplug it all before I leave in the morning.

    8. Re:Only 1998? by stonewallred · · Score: 2, Informative

      I doubt you have had a close by lightning strike on your lines and your protector did anything. I see lightning strikes on a pretty regular basis on HVAC/R equipment, and anything that melts holes through 1/8 inch or better steel is not going to be stopped by a quick trip switch that makes a fraction of an inch air gap.Low UID or not, a lightning strike on a phone line, even with a surge protector is going to tear up everything connected. Same basic premise with the panel box protectors. If the lightning hits the line before the transformer they stand a slight chance, but if the lightning hits your service drop (from transformer to panel) you are SOL for anything electronic that is in the circuit. You'd figure on a tech site like /., folks would have a little idea of the amount of volts and amps a lightning bolt carries. I'd rather have an over-sized ground with an isolated neutral in my panel than a surge protector on it.

  8. Re:Yet OSX shuts down much faster... by cupantae · · Score: 2, Informative

    Oh fuck it. That was a troll by my roommate on my computer while I was AFK. Goodbye, karma :-(

    --
    --
  9. Re:Remember this? by TheGratefulNet · · Score: 2, Funny

    that's been my sigfile for at least 10 years now (on slash), unchanged. I guess today's my day, huh?

    (left it intact for this post, as well)

    --

    --
    "It is now safe to switch off your computer."
  10. Re:Shutdown patents by Anonymous Coward · · Score: 3, Funny

    When can I, um, patent shutting down the USPTO?

    No, no, you have it wrong. Please patent keeping the Patent Authorities operational and then refuse to licencense that to anybody.

  11. More Information and Clarification by Grond · · Score: 5, Informative

    I can't figure out which patent or application the article is referring to. This patent issued to Microsoft last year and covers OS shutdown methods, so I think it's the right one. The first claim is this:

    One or more computer readable storage media storing computer-executable instructions which, when executed on a computer system, perform a method comprising:
            receiving information from an application regarding a task that the application is configured to perform;
            receiving a command to initiate operating system shut down while the application is running;
            determining that the operating system shut down should be delayed due to a status of the application; and
            displaying the information received from the application on a graphical user interface during a period in which the operating system shut down is being delayed, the graphical user interface showing that the application is running.

    Basically it covers delaying shutdown while an application wraps something up and informing the user that this is happening via a GUI. The more detailed claims cover the circumstances under which this might occur (e.g., a negative response from the application, no response from the application, etc).

    This patent does not cover what Windows XP or OS X do in this circumstance. In fact, the behaviors of XP and OS X are explicitly mentioned in the specification, and the patent is meant to cover an improved method for handling the situation.

    1. Re:More Information and Clarification by oji-sama · · Score: 2, Informative

      That sounds like the overlay Windows 7 displays when things get delayed. It would be an improvement from the old system, but since you can't actually access the prompts (for example from Firefox), it is really annoying. Hereby I release for free: You should be able to give the focus to the software with a prompt by clicking its name.

      (No, I don't really think I'm first to have thought of it.)

      --
      It is what it is.
    2. Re:More Information and Clarification by CXI · · Score: 3, Informative

      The patent snippet you provide describes exactly the way that Windows 7 shutdown operates. You get a GUI listing all the programs currently still busy that are blocking shutdown with the option to force the shutdown anyway. Usually if you just wait things will finish their process and the shutdown proceeds. It's actually very poorly done as the pop-up of this window implies that something isn't working correctly. "These programs are preventing shutdown" makes them sound like they are hung. The wording and design could certainly have been improved to point out that things were *still in the process of closing* and not stuck.

  12. unsaved documents by F�an�ro · · Score: 2, Insightful

    "because you need to ask the user if they really want to shut down and if unsaved documents should be saved"

    This is one of the most annoying things about computers. If I want to shut it down, shut it down!
    It is to late for questions, I probably already left after I issued the shutdown command.

    Any question about unsaved documents can be asked the next time I start the program, just save them in a temporary location in the meantime.

    Standby and hibernate have somewhat mitigated this problem, but for multi-user systems there is still no practical solution.

  13. BillG hated the concept! by derinax · · Score: 3, Interesting

    I worked at Microsoft for the Windows 95 launch, where I provided Tier-1 support for BOOP (Bill and the Office of the President, i.e. CEO tradeshow tech support). I do recall that Bill specifically called out the 'shutdown' function on Windows 95 as an error. He didn't like it, he hated the idea of waiting for the OS to shutdown, and wanted simply to be able to push the power button to immediately turn the system off, like a DOS PC.

    He may or may not have understood the concept of in-memory caches and unsaved user work, but it didn't much matter to him.

    1. Re:BillG hated the concept! by Tablizer · · Score: 2, Funny

      Bill has a point; it shouldn't take long to save 640k of RAM data.

    2. Re:BillG hated the concept! by barzok · · Score: 5, Insightful

      He may or may not have understood the concept of in-memory caches and unsaved user work, but it didn't much matter to him.

      I know it's easy & popular to rag on BillG, but toward the end of his tenure at MS, he did occasionally come out as an advocate for users & pushed for simplicity & fixing broken things in their ecosystem. Take this example from when he attempted to install Windows Movie Maker in January 2003.

      But back to the shutdown thing.

      As a naive user, why should I have to ask my computer for permission to shut down? When I tell my TV to power off, it just does it. When I turn the ignition in my car off, the whole thing stops. Same with my VCR, my cell phone, you get the idea.

      As a non-naive user, why is it that when I tell my XP laptop to Hibernate, 5% of the time it just flips out, every application crashes, and I can't do anything, including just shutting the damn thing down until I've cleared all the "this program has crashed, how would you like to debug?" messages and then wait for the UI to become responsive finally to the point where I can tell it to shut down. And then takes 5+ minutes to actually shut down. When I close the lid on my MacBook, OS X puts it to sleep. When I open the lid, it wakes up. Every time. Why can't Windows do this? I can't just go to Standby because it drains the battery too much, so I have to Hibernate.

    3. Re:BillG hated the concept! by Seq · · Score: 4, Funny

      Bill Gates had fight through Tier 1 support like the rest of us? Maybe I've been too hard on the guy.

      --
      -- Seq
    4. Re:BillG hated the concept! by derinax · · Score: 2, Funny

      Hehe. Tier-1, not Level-1. Maybe I should stop using that term in my resume, perhaps that explains quite a lot.

  14. Re:Hmm by The+MAZZTer · · Score: 2, Informative

    IIRC "No apparent reason" usually means "an application aborted the shutdown". It's a legitimate feature but apps can of course do it silently (AFAIK it's designed to happen if the user had unsaved work and they click "Cancel" in response to a Save/Don't Save/Cancel dialog.

  15. shoot the lawyers by Anonymous Coward · · Score: 2, Funny

    Is all the fault of lawyers?

    99.9% of lawyers gave all of them a bad name.

  16. It takes time and money to code anything. by Richard+Steiner · · Score: 2, Insightful

    Even a new version of "Hello World."

    That, by itself, doesn't make the effort patentable. It also has to be non-obvious to other practitioners of the art, namely other programmers in the operating systems domain.

    --
    Mainframe/UNIX Bit Twiddler and long time Windows/Linux Hobbyist.
    The Theorem Theorem: If If, Then Then.
  17. Always be saving. Dont ask. by borgboy · · Score: 2, Interesting

    Asking about saving is the wrong question. Saving shouldn't be a question. A document's current state should be persisted at the drop of a hat and that means undo info as well.

    A small faction at MS gets this.

    Android, as a platform and as recommended dev practice, gets this. Many great IPhone apps get this.

    An app should expect to be terminated rudely and abruptly at any time. You'll impress the hell out of your users if you follow this rule.

    --
    meh.
  18. Re:Shutdown patents by LifesABeach · · Score: 2, Funny

    I always kind of wondered where Dr. Bunsen and Beaker went to work after the Muffet Show was canceled, not any longer...

  19. Re:I don't understand by gorzek · · Score: 2, Funny

    In Soviet Russia, "patent patenting" joke kills YOU!

  20. Re:Hmm by srussia · · Score: 3, Funny

    It's yet another case of Windows taking a "don't tell the user anything, it might scare them" approach.

    Are you sure?

    --
    Set your phasers on "funky"!
  21. Q: Why can't you patent stupidity? by xednieht · · Score: 4, Funny

    A: The USPTO looked in the mirror and found prior art!

    --

    Hope is the currency of fools
  22. Re:Remember this? by Anonymous Coward · · Score: 4, Funny

    Except for a couple things:

    A) You assume someone gives a shit about your sig, and more importantly,
    B) You got the term wrong. The correct term is "It is now safe to turn off your computer".

    You have had the wrong term in your sig for 10 years. If that isn't an Epic Fucking Fail I don't know what is.

  23. Re:Yet OSX shuts down much faster... by Tablizer · · Score: 2, Funny

    What is ironic is that Microsoft patents this, but my Mac running OS X 10.6 shuts down and off in literally 2 or 3 seconds, whereas Windows 7 on the same machine (and without virtualization) takes 15-20 seconds to shut down and off.

    If I want Windows to shut down quickly, I simply launch MS-Outlook.
       

  24. Re:Abstract always BS, "claims" matter by Anonymous Coward · · Score: 2, Informative

    which are usually conveniently buried in the middle

    The claims are not buried in some kind of conspiratorial scheme. There's just so much stuff you can stick up top for convenient cursory browsing of freely available documents.

    Just click the link and scroll down, lazy.

  25. Re:Hmm by T+Murphy · · Score: 3, Funny

    Even better was the time I told my laptop to shut down because I was low on battery. I came back 5 minutes later to find it hadn't shut down because a Windows dialog had popped up saying I should shut down because I was low on battery (true story).

  26. Re:I don't understand by MrData · · Score: 3, Insightful
    >
    > That's because the slashdot summary and the article are sensationalized. They aren't patenting "shutting down."
    >

    Um ... yes they are ! Why do I say this you ask ? Well let's examine patent #7,788,474:
    • It's title is "Operating system shut down"
    • The first sentence in the patent's abstract states: "A user interface and scheme is provided for facilitating shutting down an operating system."

    What the hell else should I think they are trying to patent ?

  27. Re:Abstract always BS, "claims" matter by mea37 · · Score: 2, Insightful

    Yes, where ever might we fnid the claims?

    They are surely most elusive, and I cannot imagine where I would start if I wanted to read through them in detail, along with all of the context needed to understand them.

    I mean, sure, GP provided the link to the patent, which by definition is the document containing the claims; I could start by clicking on the link and reading the claims. But it's so much less time consuming to just ask what the claims are and hope nobody calls my bluff.

  28. Re:I don't understand by MrData · · Score: 2, Informative

    There is TONS of prior art on this. Every single OS does some variant of this, after all that is the job of an OS in the first place. I can't understand how this got past the examiners !

  29. Re:Hmm by jpvlsmv · · Score: 4, Funny

    "sudo dd if=/dev/urandom of=/dev/kmem bs=8192"

    is a lot more fun than just /sbin/halt

    --Joe

  30. Re:Abstract always BS, "claims" matter by Dachannien · · Score: 2, Informative

    You're missing the point. The point is that posting a copy of the abstract is not only pointless, but actually detracts from the conversation, because the abstract has absolutely nothing to do with why a patented invention is not anticipated by or obvious in view of the prior art.

    So, here's claim 1:

    A computer readable storage medium storing computer-executable instructions for performing a method for shutting down an operating system, the method comprising the steps of:

    receiving a command to initiate operating system shut down;

    sending a shut down request to a graphical user interface application without a top level window;

    receiving no response to the shut down request with a predetermined period of time;

    determining that the graphical user interface application without the top level window is not hung;

    automatically terminating the graphical user interface application without the top level window;

    determining whether any graphical user interface applications with a top level window delay shut down;

    prompting a user for a user command to selectively shut down the graphical user interface applications with the top level window that delay shut down after determining that the graphical user interface applications with the top level window delay shut down; and

    then after the determining step, automatically terminating all running applications responsive to the user command received from the user that has been prompted.

  31. Re:Abstract always BS, "claims" matter by Daniel+Dvorkin · · Score: 2, Interesting

    Which leads me to think that the simplest, most politically acceptable, and most immediately useful type of patent reform would be this: change the law to state that if one claim in a patent is held to be invalid, the entire patent is invalid. This would prevent absurdly broad "claim 1" items like the one you cite, and force patent filers to concentrate on specific aspects of the implementation instead of trying to seize ownership of general ideas. I know the game they're playing -- make absurdly overbroad claims early in the patent, and hope that if they're challenged, the court will accept only slightly less absurd later claims as a "compromise" -- but there's no reason We the People should allow this kind of crap.

    --
    The correlation between ignorance of statistics and using "correlation is not causation" as an argument is close to 1.
  32. Re:Hmm by sorak · · Score: 3, Funny

    Shutting down windows is like a bad breakup. It's a long and drawn-out process, that you wish you could just walk away from, but there's always some unnecessary complication that leaves you wondering why you settled for this in the first place and if you will have the willpower to avoid coming back tomorrow.

  33. Re:Yet OSX shuts down much faster... by clarkn0va · · Score: 3, Funny

    Not so fast! I have a patent on that.

    --
    I am literally 3000 tokens away from the chaotic crossbow --Stephen
  34. As usual, it's a not overly complicated trade-off by jonaskoelker · · Score: 3, Informative

    As a naive user, why should I have to ask my computer for permission to shut down?

    Because if you agree to let yourself be inconvenienced slightly around the edges, we (the systems designers) can make the big part in the middle much more convenient.

    Ever encountered thrashing (excessive swap file reads/writes)? If you want to be able to turn the system off on moment's notice, you're asking for all data to be written to disk at all times. That is, instead of having RAM between CPU and disk, the CPU should just write straight to disk. That is, it should write to disk all the time.

    You're asking for thrashing to be the way computers operate by default. You don't want that. We are in fact so certain you don't want it that we are arrogant enough to make the edge-inconvenient way the default without asking you.

    Or rather, given what most people do with their computers, that's the best way for them to work. If you're really insistent, you're welcome to run on a diskless workstation or off a Linux LiveCD, or mount all your file systems read only.

    Let's see, your TV doesn't store much data and can afford to sync every time anything changes; neither does your car. Your VCR, I would assume, can sync rather rapidly. Also, you don't install new applications on any of those, and you don't complain when your VCR player can't play the new "DVD" format. I don't know about your cell phone, but my 5 year old dumbphone has a cute shutdown animation to cover up the fact that it's a computer with all its inherent complexity. And my N900 which runs Linux; well, go figure...

    In short: computer behave differently because they have to meet different demands. If you want something other than what computers give you, well, all the more power to you I guess. It might be expensive to build if it's only you who wants it, though.

  35. Re:Hmm by toddestan · · Score: 2, Insightful

    Or my favorite, when you can still get to Task Manager, so you go into the Processes tab and start randomly killing stuff. Eventually you'll kill the right thing, because all of sudden Task Manager will close and the computer will then continue shutting down.

  36. Yes it did do those things in 1998 by dbIII · · Score: 2, Informative

    My current desktop environment is FROM 1998 - Enlightenment 0.16 with the Ganymede theme. Since then Enlightenment 0.16 has only really had bug fixes. I still keep it because it is fast and does those handy things like having iconified apps shown as thumbnails of the actual running window - something that is now in Windows7.