profile

Profile of Benoit B. Mandelbrot by Monte Davis

a free-lance writer living in New York Omni Magazine, February 1984

“You're wasting your time,” this mathematician was told by his peers, until his monstrous, bizarre fractals, with their strange dimensions, began taking over the world. As one scientist says: “We hope to explain the universe in a single formula you can wear on your T-shirt.” But the task of describing the stuff of matter is not easy. For example, who can explain the rising and falling of the Nile, or the shapes of clouds and craters?

Benoit Mandelbrot can. Amid charges of heresy, the IBM mathematician and philosopher proposed a theory of fractals to explain phenomena that would not fit into the abstract purity of Euclidean geometry. This theory changed the way scientists view reality. Introduction by Monte Davis

As a staff mathematician at IBM in 1958, Benoit B. Mandelbrot was asked to address an intractable problem of random irregularities intrinsic in signal transmission. His colleagues had an explanation for it. It's guys working with screwdrivers somewhere in the network. ”

“I don't want to hear about theories now,” Mandelbrot responded. “There are always guys with screwdrivers; we'll never know their schedules. Besides, how could men with screwdrivers generate that kind of systematic structure?”

Mandelbrot realized that noise was, in fact, deeply embedded in nature and impossible to drive out. Thus, he doomed many burgeoning attempts to predict, suppress, or eliminate it. The noise issue was an early example of the strange logic of fractals - the unruly collection of irregular geometric phenomena that only Mandelbrot seemed to comprehend at the time. However, he won his case, and was instrumental in halting a multimillion-dollar research project that would have gotten IBM nowhere. “Whether or not IBM understood the problem,” he now says, “they couldn't change it, and the technology they were trying to build around it couldn't possibly work.”

Noise, with all of its weird manifestations, contributed to Mandelbrot's mighty inspiration - the genesis of fractal geometry. From problem solving in electronics and economics, from long-ignored corners of geometry and probability theory, and from a passionate conviction that there is order in the most irregular phenomena, Mandelbrot created a new world of thought. Twenty-five years ago, fractals - not yet named by him - were his private obsession. Today, they are standard tools in some branches of science, exciting new approaches in many more. A s the “father of fractals,” Mandelbrot has established fractals' scale and direction and proved their relevance to the real world when others had dismissed them as uselessly abstract or - worse - as pathological monstrosities.

Born in Warsaw in 1924, Mandelbrot moved with his family to France in 1936. His early mathematical education was irregular, much of it based on outdated classics of the nineteenth and early twentieth century. Even at a young age, his methods were as unusual as his preparation. In the rigorous entrance examination of &Ea.cole Polytechnique in Paris, he repeatedly solved problems by geometric approaches instead of the prescribed analysis.

At Caltech, where he studied aeronautics, Mandelbrot encountered the daunting complexity of turbulence, the wildly tangled fluid motions that, above a critical speed, replace streamlined flow. Today, fractals are central to two of the three main approaches to turbulence, permitting precise descriptions of shapes that seemed

utterly chaotic a few years ago.

Why was it necessary to conceive and develop a new geometry of nature? Until recently, all the curves and surfaces presented to school children and used by scientists in their theories of nature were smooth. Such shapes can bend, but they must bend gently. If such a smooth curve is sufficiently magnified, it looks more and more like a straight line. For example, the spherical surface of the earth looks almost flat on some scales, and the illusion of flatness is good enough to cause some controversy even today. In other words, the traditional smooth curves all look alike from some perspectives. And the features that make them

differ are apparent only on certain scales of measurement.

This is too bad if you want to understand nature, because many of her faces possess structures on a very wide range of scales. Consider the bark of a tree. On the usual

human scale, it looks rough. If it is magnified,

it still looks rough. The larger scale crinkles are themselves crinkled on a smaller scale, and there is a whole hierarchy of subcrinkles and

sub-subcrinkles, right down to something close

to the molecular level.

Or consider a stretch of coastline. What appears on a map to be a smooth, curving bay does not look smooth close up. Even at high magnification a coastline's shape is crinkly and irregular. Mountain landscapes, the craters on the moon, the fine structure of Saturn's rings, the folded surface of the lung: all possess structure on a great many scales. It follows that the traditional smooth curves and surfaces of science proved inadequate as models of these features of nature.

A different geometry of nature was needed, but none was available.

At about the turn of the century, a few mathematicians had come to study such “infinitely crinkled” cur ves. For example, the “snowflake” curve due to Helge von Koch consists in a triangle with smaller triangles stuck on its sides, and yet smaller triangles stuck to these new sides until every small piece of the curve is infinitely “prickly.” What motivate d these mathematicians? By no means had they set out to study the bark of trees, the coastlines of islands, or the lining of the lung. They thought they were fleeing from nature, and that the sole function of their contraptions was to prove the creative power of the most abstract mathematics. As a result, these curves were called pathological, both by their creators and by everyone else.

It is only since 1975 or so that it has been widely recognized that, on the contrary, suitable curves of these types should be considered natural and can be used as models of natural processes. This recognition is largely due to the work of Mandelbrot, who coined the term fractal to describe such curves, created new fractals, and energetically pursued them at a time when it was not fashionable to do so. A fractal curve can be viewed as an intermediary between a traditional curve and a traditional surface. A curve is one dimensional; a surface is two dimensional. The fractal dimension of a fractal curve in the plane is a number that lies between 1 and 2 - a typical coastline can be 1.213 dimensional. Whoever heard of a seacoast having a fractional dimension? But it has. Fractals arise in many problems: the distribution of galaxies, the patterns of errors in transmission through telephone lines, the behavior of liquid crystals, and the scattering of radar beams by mountains. The massive,

single-minded achievement of Mandelbrot is to have exhibited an entire new regime of mathematical modeling applicable to a wide range of natural phenomena.

Since 1974, Mandelbrot has been an IBM Fellow, an official recognition of his influence on ideas that at one time seemed wild tangents. He does not have the proverbial corner office, though. In the smoothly curving glass of the Thomas J. Watson Research Center at Yorktown Heights, New York, there aren't any. That doesn't matter to Mandelbrot, because he knows he's at the center of a rapidly branching web of science and mathematics. Branching web is an inadequate description for a structure only a fractal - or Mandelbrot himself, in his gleefully kaleidoscopic style - could describe. So writer Monte Davis asked him to look over the shape of his career for Omni, and to describe the importance of being tessellated. Omni: Your first fractal simulations were of graphs. Why was it important that they look so realistic? BBM: When scientists need to convince others, they use words and formulas. So do I, but I also use pictures. This used to be sternly discouraged.

In fact, I first became aware of the power of the eye very late, around 1968, when I was working

on the “Joseph effect.” This is the name I gave, in jest, to the persistent fluctuations in the levels of the Nile, like the “seven fat years and seven lean years” described in th e Bible. The foremost Nilologist of all time, an Englishman named Harold Edwin Hurst, had spent the bulk of his career in Cairo analyzing the records of the Nile's high- and low-water levels and had made important, but highly mystifying observations about the river. A friend described these observations to me and challenged me to do something about them. On the foundation of Hurst's data, I developed a statistical model that includes the basic feature of

the Nile and of other rivers. I later went on a kind of pilgrimage to meet Hurst, nearly one hundred years old at that time.

The main feature of the Joseph effect is that the Nile's successive yearly discharges are extraordinarily persistent, but people had long since stopped trying to predict a river's level next year. A statistical approach was needed, but none of the textbook models of hydrology and statistics remotely fit Hurst's observations. My model did fit the basic fact but at the cost of breaking certain accepted mathematical assumptions. The substitutes I offered looked abstract, were hard to understand, and thus, hard to accept.

So I teamed up with a hydrologist to develop my model and make it more acceptable. One thing we did was to plot the actual fluctuations, using not only the original data of Hurst, but also a collection of deliberate forgeries - records of nonexistent rivers constructed to obey my model. Everyone who tried to sort out our collection of graphs had to agree that my model was extraordinarily effective in mimicking nature's erratic fluctuations. At long last, the model I'd constructed was taken seriously because it looked like reality.

Omni: Did that mean you found there were longer droughts or more discharges than expected, for example?

BBM: Compared with earlier models, mine implied much longer droughts or floods.

Zigzagging fluctuations make dams fail to perform their assigned task, because too often they are either full or empty. In Egypt, the lengths of droughts are not limited to short time-spans (like the reign of a pharaoh or the term of office of his chief minister), but often extend to the total length of a dynasty - millennium-length fluctuations. Records of the Nile's discharges include no flags marking the beginning or the end of a drought. Each record seems to look like “completely random” noise superimposed on a background that is also noisy. The background seems cyclic, but you can't extrapolate from its cycles for predictive purposes. They are not periodic. This is why dams for long-term water storage are so hard to design.

Omni: There was no long-term average that all the Nile data converged upon?

BBM: No. The records look like a hierarchy of random noise on random noise. We showed our collection of graphs to a small group of hydrologists. We mixed up unlabeled graphs of all kinds: actual records of the Nile and other rivers, graphs drawn either from my model, from modifications of my model, graphs drawn from the models that hydrologists had tried previously. We challenged a particularly famous hydrologist to distinguish the real data from the fake ones. He immediately dismissed the graphs made from the old models, saying, “Rivers just do not act like that.” But he failed to distinguish the real graphs from those drawn by my models, even after we read the labels on the back and told him which were the real ones.

That was a revelation Before that, I could not persuade practical people to consider the “crazy” mathematical idea behind my model. But after the expert acknowledged that my model showed

river-like behavior, I realized that the power of the eye to discriminate shapes was much greater than anticipated. This was extraordinarily pleasurable, because my way of thinking is almost completely visual. I can hardly count, but recognize geometric forms by their shape, not by mathematical formulas.

Omni: Didn't this research lead into economics, where experts like to break down stock or commodities data into a trend, a few cycles and noise?

BBM: To the contrary, that's another chapter of my checkered career. Before the Nile I had worked out a model of financial prices, stock-market and commodities such as cotton. Later on, impressed by the power of persuasion of my hydrological fakes, some people at Bell Labs performed a similar double-blind test on my stock-market fakes. They used my formula to generate some artificial price charts. Then they generated further charts after they had deformed my model by deliberately changing an important number. Finally, someone showed the resulting mixed batch to an eminent stockbroker, and challenged him to prove he knew his business and could identify the real thing among the imitations. He had no hesitancy in picking the charts drawn by my model. He rejected all the others as being either “too smooth or too unsmooth.” “ The real thing is in between,” he said. “Its special nature is very subtle, but I can

recognize real charts when I see them.”

I had identified the particular feature of reality that makes stock-market charts look the way they look. My model could fake charts of either high or low volatility. The stockbroker had a clear visual impression of what charts should look like, because stockbrokers spend their lives looking at these things. Anyone who could fool him had to be doing something right.

Omni: How did you move to modeling physical shapes?

BBM: Soon after my work on the Nile and on cotton, I wrote a paper on the geometric shape of coastlines. I challenged myself to account for some obscure observations of a visionary English scientist, Lewis Fry Richardson. A real coastline is, of course, never circular; most are very wiggly. But not every wiggly curve looks like a coastline. What is the special property that makes some wiggly curves look like coastlines and others not? Richardson had pointed out that if you try to measure a coastline length with increasing precision, you must take into account increasingly small bays and promontories. As a result, the measured length is bound to increase. Again, I was successful in identifying the proper mathematical trick that allows a curve not to have a true absolute length, only relative lengths that depend on the method of measurement! Another trick allowed the degree of wiggliness of a curve to be measured objectively, just the way that temperature measures the degree of heat, by one number. This number later came to be called fractal dimension.

Under the title, “How Long is the Coast of Britain?“ my paper came out in Science. It was okay but did not satisfy me. It was too abstract, too much in the style of meter readings. I wanted to obtain a gut feeling for the shape of coastlines and decided to find ways of performing forgeries. I thought up a suitable equation, and in 1973 persuaded colleagues to rig up a very clumsy plotter to produce artificial coastlines. They were much harder to draw than graphs of the Nile. Someone had to sit up all night with the plotters. But when the first coastline finally came out, we were all amazed. It looked just like New Zealand! Here was an elongated island, there a squarish one, and, off to one side, two specks resembling Bounty Island. The next time, we got different islands.

Smaller parameters in the same equation made the shapes become smoother and rounder. First they formed blobs like Taiwan, and eventually they became so regular that everyone would say, “No real island can be that round.” Increased parameters made the coastlines become increasingly irregular. It soon broke up into complicated archipelagoes, like the Aegean, then like science-fiction Aegean with more tiny islets. But in the right range of the parameters, we got shapes typical of real islands and continents. Seeing them had an electrifying effect on everyone. The parameter in this equation is also called the fractal dimension, and at last, people understood what I meant by this term. The idea had been around for a while but had remained abstract, hence elusive. Now, after seeing the coastline pictures, everyone agreed with me

that fractals were part of the stuff of nature. Omni: What was the role of computer graphics in your investigation of fractals?

BBM: The theory of fractals had started in my mind before I knew it was to become a theory, and well before I thought of computer graphics. However, without graphics, the theory would have moved very slowly or not at all. But it happened in 1974 that my friends located a computer graphics device that we could train to draw artificial mountains. Again, the device was very cumbersome, but when the shapes came out, what a revelation! The pictures were poor: black and white and drawn on coarse grids. Shadowing was not feasible. Even so, there was an overwhelming feeling that what we had drawn was right. Even though the pictures looked like

old-fashioned worn photographs, they looked like mountains. Having seen them, no one no one could say that I was barking up the wrong tree. Their eyes convinced them. Since then, of course, the equipment improved and the pictures by IBM's Richard Voss are stunning. It seems that we win all the computer graphics contests.

Before, people would run a mile from my papers, but they could not run from my pictures. In the beginning, I used the graphics purely for this reason - to illustrate my ideas and to force people

to accept them. But I soon realized that this method enabled me to go further and integrate into a single theory a collection of things that otherwise would have seemed unrelated. Now, very complex geometric shapes could be compared with one another and with reality. The equations behind the shapes were abstract, but the shapes themselves looked alive. Omni: What is the difference between the meter-reading kind of science and the fractal kind?

BBM:By “meter-reading,” you must refer to the reduction of shapes to numbers and to measurements. This is a universal trick in science and a very successful one in physics. This trick, however, has been enormously impoverishing. Scientists simplify. They are not interested in the smell or color of gas in a vessel, only its temperatu re and pressure.” In physics and a few other mature and successful branches of science, this approach has been extraordinarily successful. But the phenomena left aside, to which I attached myself, first by accident, and then with enthusiasm - are those for which that abstraction has not worked well. If water resources had been as simple to understand as gas, water management would have been well in hand well before 1965. Science had ignored a large residuum of phenomena in which many factors are mixed together and can't easily be separated. These involve some of the most interesting and natural questions. Instead of the temperature of a gas or collisions between atoms, children wonder about the shapes of trees, clouds, and lightning. These questions are among the hardest which is why Physics just left them aside. But I tackled them. The delight is that fractal geometry has answered many such questions in a single swoop over many years. It involves extracting something interesting about coastlines, clouds, and lunar craters.

Omni: But do these ideas explain shapes, or do they just let you create similar shapes? If your model of the Nile does not include rainfall, silt, or drainage basins, are you not just doing what scientists call curve-fitting - tinkering with the equation until the line runs through the data points?

BBM: You are needling me. You know very well that the term curve-fitting has many bad connotations. I too have nothing good to say about those who would curve-fit each phenomenon separately, only to be left with a grab bag of unrelated and conflicting equations. On the other hand, there is a view, which is very extreme, that the whole of science is not a search for understanding, but for one big equation that has relatively few parameters, and can be curve-fitted to account in one swoop for many seemingly unrelated phenomena. I am not defending this as being a completely satisfactory description of science, but there is some truth to the notion that science is a search for a small number of central ideas that describe how various parts of nature fit together. Fractal geometry faithfully follows this approach. It centers on several very powerful principles that tell us how the world is put together. When you look at the traditional approach, you see that physicists have been careful to seek out problems they could solve by reducing them to accepted principles. But many other scientists allow themselves to undertake heroic, if not hopeless tasks. Before they can say what a

cloud's shape is, meteorologists want to know

how varying the humidity affects the shape of clouds. In fact, they often cease to think of a cloud as a shape, only as one or a few numbers extracted from observations. Physics should have taught us all that in the search for an explanation

it is awfully convenient to start with a description.

Omni: What about turbulence, which is notorious for being difficult to measure?

BBM: Turbulence was perhaps the greatest thorn

in the flesh of certain areas of nineteenth-century physics. Fluid mechanics found it very irritating that turbulent motions should be so incomprehensible, whereas the other motions were easily understood. And it went on being

ill-understood. However, by using a certain kind

of scaling and fractal argument from other contexts, I put forward a bold conjecture about

the nature of turbulence. Originally it was quite abstract, but it gradually became the most concrete thing imaginable.

Omni: What was your idea?

BBM: The wind does not blow regularly but comes in bursts, each one divisible into finer

bursts. In due time, this led me to think that turbulent activity might be like the wind: not spread all over space, but concentrated upon

a fractal shape of a complicated but

well-specified kind. The reason people had

not thought of that possibility is that they

didn't know that fractals existed. Let me take that back; some people knew vaguely, but were convinced that these were abstract shapes no one could encounter in the hard world outside.

Omni: Would fractals be useful in studying pollution, where traditional methods give an average pollution level, or assign a probable level of concentration in an area?

BBM: For something distributed by turbulence in wind or water, the average is totally meaningless. Suppose that pollution is very low on the average but concentrated in a very patchy fashion. If it hits you, it may well hurt or kill you. The common measures of dispersion around the average tend to view those patches as special cases that confuse the measurements. One censors the data. Instead, fractal geometry provides a natural measure of lumpiness. Measures of the fractal dimension are repeatable, whereas ad hoc measures of lumpiness tend to vary badly from sample to sample. If you know the lumpiness of pollution, you can begin to assess effects of policy. Uniform dilution is the solution to pollution. Omni: Still, a fractal model seems abstract. Do

scientists resist it?

BBM: Many did and still do. In long series of cotton prices, my fractal model was able to match the important upward and downward jumps in the historical record. Economists, however, kept telling me that to follow just one price series was not ambitious enough. They were seeking ways to influence prices, to profit by predicting them, and to explain them through theories of demand and consumption. It was an uphill fight to convince them that my model did not compete with the giant econometric models running to hundreds of series. The giant models tried to do everything at the same time and hoped for results a bit better than those achieved by tossing a coin. Omni: Was the resistance caused by just plain stubbornness? BBM: No. I never felt the victim of pigheadedness or stupidity. The critics recognized that my methods implied a departure, and it is right that departures should be sternly criticized. One economist proclaimed that if I were correct, “it would indeed create a very difficult situation in economic statistics.”

Omni: But was it an article of faith that

someday explanatory mechanistic theory

would expand enough to encompass complicated, irregular phenomena?

BBM: Yes, but in many cases it has not expanded.

I love theory. But what do you do while a theory is slow in developing? I was proposing a qualitatively different kind of science in which the description of the phenomenon is an important question in itself. My persistence has been rewarded. As soon as a good description became available, many fields started moving on to excellent theories, sometimes due to my hand, more often to the hand of specialists I had drafted into my camp. Omni: Your model for the distribution of galaxies is changing our ideas about the universe. Using fractal geometry, astrophysicists have shown that the larger the volume of space, the smaller the density of matter in it, and that stars cluster into galaxies, clusters of galaxies form megagalaxies, ad infinitum. How did you get started on this model?

BBM: Again, it began with a challenge brought to me by a friend. I developed an early model of the galaxies to account for some bizarre observations about the nonuniformity of the universe. For a time, there were no suitable mathematical tool to represent the clustering of galaxies, and the more one knew about space, the harder it became to formulate such a model. My equations, which take just a few lines to write, provide amazingly realistic models of the sky. They are becoming widely accepted.

Omni: They look right to the eye?

BBM: The eye is attuned to texture, but there is no ready-made theory of texture. In all these cases, the eye was much more effective than meter readings, which were trying to tell us that two things were identical, when in fact they were different.

Something very similar happened with concert-hall

acoustics. There was the famous debacle of the Philharmonic Hall, the original design of Avery Fisher Hall at Lincoln Center, in New York City. That design matched a certain measurement of the time of resonance to the value found in the best older halls. But everyone's ears said that, in fact, the acoustics of Philharmonic Hall were dreadful. A measurement that was supposed to provide a good summary of a concert hall's acoustic properties had turned out to focus on something that differs from what the ears care about. Our senses and brains have a feeling for shape that's extraordinarily finely honed by evolution and experience.

Omni: As an outsider coming into so many specialized fields, was it hard to find a sympathetic response?

BBM: Yes. It's astonishing how much science is reduced to a sport. The value of a scientific work is judged by the amount of competition in a chosen “event.” You're not a real athlete until you've won the hundred-yard dash, not the one hundred and forty-three. I did not. The reason I chose problems in which competition was nonexistent was not that I'm afraid of competition. I picked mountains and coastlines because I found the topics exciting. Lacking specialists in the study of these problems left a whole field to myself. Having no competition was an asset. Now everybody is watching over my shoulder, and I get referees who go into great detail because they're competent to do so. Omni: Do you approve of the referee system for reviewing technical papers?

BBM: No one loves to referee, or to be refereed, but in most established fields the referee system works. Anyhow, it is better than allowing one

all-powerful editor or foundation executive to decide on a whim whether to accept or reject a paper or a proposal. But for years I had an impossible time with every established form of peer review. To state the problem bluntly, since I was all by myself, I had no peers. I had the personality to be able to work alone but did not enjoy having to argue with referees who did not even pretend to be my peers. They had to be broad-minded to agree to read my papers in the first place but did not really care, and their decisions were not to be trusted.

Omni: I have heard you use the term technical mathematician. What do you mean? BBM: A professional mathematician can be compared to a professional chess player. To be a real chess player, you must have studied quite deeply all the great games of the last century or more. You aren't in the big league if you make mistakes that somebody made a hundred years ago and everybody else knows how to avoid. As a child I was a chess champion. I retired at age eleven, because I went from a place where everybody played chess and there was a championship for kids, to a place where nobody played chess. In retrospect, I was lucky, because I played intuitive chess. I had a feeling for spatial relationships of pieces and so on. I had stamina. I was a fighter. But I hadn't read everthing about all those old games.

To do well in mathematics, in addition to having talent and skills, you must be able to instantly recall the way various technical problems have been solved. People who do this supremely well become known as great technicians. I am not at

all a technician. It is not a skill one can maintain on a part-time basis. However, I know many admirable problem solvers, and I often seek them out to offer them my half-baked ideas on difficult problems.

Omni: Would you describe yourself, then, as an applied mathematician?

BBM: No. I have never indulged in the activity that ordinarily goes under this name. The caricature of the applied mathematician is that of a consultant who takes mathematical techniques he has not developed and applies them on request to problems he has not posed.

So what should I be called? Some people do call me an experimental philosopher, because I am a philosopher at heart. There is no question about this but in one sense, I'm a

“mathematician-without-hyphen,” neither a “puremathematician” nor

“applied-mathematician,” nor a

“ma thematical-physicist.” And I am one of the few people plying this trade today. For Who's Who, I put down MATHEMATICIAN AND SCIENTIST or even MATHEMATICIAN, SCIENTIST, SCHOLAR, AND ARTIST, which upsets editors, who prefer one word. I was once a visiting professor of physiology at a medical school (unpaid, I hasten to add, and I saw no patients). After my host and I had worked

together, he wanted to make a gesture of acknowledgement. He said, “It is obvious that your life's ambition is to retire as a professor of divinity after having been a professor of aesthetics; so to help you on your way, I'll make you a professor of physiology.”

Omni: Where does aesthetics come in? BBM: Quite unexpectedly. Once fractal shapes were drawn correctly, they were viewed by many as being beautiful. Some of them were old, even a hundred years old. Yet they were never looked at carefully before, perhaps because they had been introduced as monstrous, counterintuitive, bizarre, and impossible. Faced with these shapes, mathematicians and scientists covered their eyes. They were prepared to visit the freak show on rare occasion, but not to live on a daily basis with monsters. The old pictures were very few, astonishingly inaccurate, poorly executed, and haphazardly chosen. When computer graphics made it possible for me to draw them correctly, a striking harmony was suddenly revealed. Omni: Harmony in what sense?

BBM: Many years before I formulated fractal geometry, I had heard the famous mathematician and physicist Hermann Weyl lecture at Princeton. These lectures eventually gave rise to his marvelous book Symmetry. Weyl emphasized that the ancient

pre-Classical Greeks held an idea of symmetry far richer than today's narrow notion of mirror images. For them, symmetry expressed a kind

of harmony between the parts and the whole. Many of our monstrous maids whose married name is fractal are self-similar; that is, they are structures in which each part is the same as the whole, only smaller. Hence, the old Greek notion calls them symmetrical to the most extreme degree. This may be why it happens so often that fractal pictures are perceived as being extremely strange, yet wholly familiar. They are much stranger than deliberate special effects in science fiction, because science fiction is in most cases remarkably humanoid.

Having done time with self-similar fractals, I moved on to fractal dragons, in which the parts are obtained from the whole by a certain mathematical deformation. These dragons are generally perceived as even more beautiful - still very strange, yet somehow familiar.

Omni: Can fractal art be minimalist?

BBM: Yes, to an unusual degree. Given a piece of the “conventional” minimal art, try to describe it precisely enough to allow anyone to reproduce it exactly. To do so would require an extremely long description in words. The equation that generates a fractal dragon, on the other hand, is one line long, and if you give it to someone with the right intellectual and computing equipment, he will be able to reproduce it exactly. So this art is the most minimal of all. It is astonishing that something that is logically so minimal can contain such a wealth of characteristics. The interesting thing isn't that flamboyant, baroque behavior can be generalized from complicated formulas, but that attractive shapes are “easily” obtained from very simple formulas.

Compared with other work shown in exhibits of computer art, I find that our fractal mountains are not only the best art intrinsicallyy, but also the most novel, because we deliberately put in the least possible amount of willful intervention. We do not improve upon our simple formulas by imposing our mediocre skills as landscape painters, and the art presently achieved in this fashion is much purer. On the other hand, I'm sure that once artists become familiar with the new fractal medium, some are going to do great things with it. Pure geometry can look beautiful by accepted standards of beauty. Omni: Most people would think of scientific art as stark and austere, rather than flamboyant and baroque.

BBM: When people say that modern buildings are soulless and not on a human scale, what do they mean? I've never heard anyone say that the Paris Opeara is not on a human scale, yet it's an enormous building. Why doesn't it elicit that feeling? Because the architect Charles Garnier incorporated features of every scale. Wherever you stand - at the end of the Avenue de l'Opeara or right smack in front of the building - there is something you can see that is at your scale. It has symmetry in the old Greek sense: harmony between the parts and the whole. But buildings designed by Mies van der Rohe are aggressively nonsymmetrical, even if they are reduced to a

one-room box. I started making these remarks around 1970; they were viewed as bold, but today they have become tame. Today, we are surrounded by Bauhaus renegades, who leave

no long line unbroken and no large blank surface anywhere.

In old masters' paintings or in Beaux-arts architecture in its heyday, I see a deliberate and successful imitation of nature's elements of scale. Fractal designs recall the beaux arts style, and even baroque. But they avoid the rococo manner of filling every available space with decoration, a kind of aesthetic overkill. The surface of an old master's landscape is filled mostly by the sky, never filled with detail. The surface of an old master's portrait is mostly given to drapes or perhaps a robe. This balance between what is filled in and what is left blank provokes a feeling of plenitude. Fractal geometry has shown that a similar feeling can be evoked by shapes drawn according to a simple formula. This is a genuine aesthetic discovery. Similarly, Scandinavian furniture uses the rosewood grain as part of the design. The same furniture made with a bland wood looks dreary. It doesn't have the detail to balance it.

Omni: Can you make a fractal

equivalent of the “Auditory Penrose Staircase,” the illusion of a steadily

descending tone, by zooming in on a

fractal as it branches?

BBM: I find M. C. Escher's drawing of the “Penrose Staircase” monotonous, the same

thing going around and around endlessly. But zooming in endlessly on a fractal landscape is something else. You think you're going to crash, but you don't. You get more detail. Omni: Why is it that fractal mathematics can be applied to living forms to create artificial trees and animals?

BBM: The complexity of many fractal shapes suggest snails, jellyfish, or other forms of life. This cannot be accidental. It raises a basic question of biology: How much genetic coding is needed to obtain the diversity and richness of shape we observe in living beings? If you compare all the tiny and irrelevant differences in two species of lobster, you ask yourself why nature would have evolved such an exuberance of form without obvious use? I mentioned that fractal shapes of great complexity can be obtained merely by repeating a simple geometric transformation, and small changes in the parameters of that transformation provoke global changes. This suggests that a small amount of genetic information can give rise to complex shapes, and that small genetic changes can lead to a substantial change in shape.

Omni: Why do you claim that parts of the human body are fractal?

BBM: Consider the mammalian lung, which is an extremely complicated structure of tubes, air sacs, and blood vessels. It would take an enormous amount of information to specify its development in detail. But the significant instructions are very short. During the development of the fetus, a simple budding process is repeated over and over, twenty-three times. The packing of soft tissue within a confined volume creates the final structure. If the diameters of the bronchi were decreasing any faster as one moves away from the nose, the lung would be loosely packed - a bad design. If the diameters of the bronchi were decreasing more slowly, the growing buds would be too closely packed and would interfere with one another.

Omni: Did you suspect from the beginning that all these applications of fractals would form a unified whole?

BBM: It was a very gradual development, with many intermediate stages. Early on, what you call a unified whole did not cover much territory, but I have always been on the lookout for structures of broad general validity. Nevertheless, the actual search for these structures involved a gamble - a gamble on which I staked everything. Friends kept warning me against involving myself in so many disparate fields, but I felt that getting into a large enough number of different fields would end by making my life easier. I was fortunate to win the support of Ralph Gomory, who remained my boss for many years.

The logic of what I was doing did not really become apparent until 1973. I had been invited

to summarize my work in a lecture at the

Coll&eg.ge de France. As I prepared the lecture,

I began to see a very effective way to order my material. After I spoke, there was an hour-long

question-and-answer session, in which

people in a dozen different disciplines asked questions. I had an answer in every case.

This led to an unpublished article, which grew into my 1975 book.

That book needed a title. Clearly, it could not be called Applications of the So-called Mathematical Monsters to a Miscellany of Practical Phenomena. That is when I coined the word fractal, the title becoming Les objets fractals: forme, hasard et dimension.

There is a Latin saying: “To have a name is to be.” Now the word is in several dictionaries, and people flatter me by misspelling it, indicating that it has become a part of their thinking, not a new word they must be careful about. I've gone from wasting time on something nobody could see the point of, to belaboring the obvious!

My Ph.D. thesis was completed in 1952. The first decade was one of groping. The next ten years were spent in formulating a broad enterprise

with no distinction between the social and physical sciences. Later years have been a

period of consolidation.

Omni: Do you no longer consider yourself to be on the eccentric fringe?

BBM: The element of solitude is gone. The element of noncompetition is gone. The element of amazement is gone, although the pleasure remains. What will the next years bring? I don't know; I've only scratched the surface of everything. Ultimately, it's a matter of how much unity can be created by this one idea. The true test is the test of time.

‘I identified the particular feature of reality that makes the stockmarket charts look the way they do. By changing a number, my model could fake charts of high or low volatility.’

‘If average pollution is very low but concentrated in a patchy fashion and it hits you, it kills you. However, if something has a fairly high toxicity but a low lumpiness, it may be bearable.’

‘It's astonishing how much science is reduced to a sport. The value of a scientist's work is judged by the amount of competition he's encountering, the number of people in his event.

android_蓝牙profile的连接操作

該篇介紹如何在自己的app中去實現藍牙各種profile的連接,包括a2dp,handfree/headset, hid的連接。 由於google官方將藍牙連接的主要api全部隱藏起來了,所以我們無法直接利用其api去實現藍牙的連接,所以我們需要利用反射區實現藍牙的連接。 想要使用反射,首先你需要利用反射機制是什麽,這裡請讀者自行查找反射機制的原理。Headset/Handfree的连接: BluetoothAdapter mBtAdapter; BluetoothHeadset mBluetoothHeadset; mBtAdapter.getProfileProxy(this, mProfileListener, BluetoothProfile.HEADSET); private BluetoothProfile.ServiceListener mProfileListener = new BluetoothProfile.ServiceListener() { @Override public void onServiceConnected(int profile, BluetoothProfile proxy) { // TODO Auto-generated method stub if (profile == BluetoothProfile.HEADSET) { mBluetoothHeadset = (BluetoothHeadset) proxy; } } @Override public void onServiceDisconnected(int profile) { // TODO Auto-generated method stub if (profile == BluetoothProfile.HEADSET) { mBluetoothHeadset = null; } } } //獲取藍牙設備,btAddr為藍牙地址 BluetoothDevice device = mBtAdapter.getRemoteDevice(btAddr); 然後利用反射進行藍牙headset的連接 Class cHeadset = Class.forName("android.bluetooth.BluetoothHeadset");

mac OS X使用技巧(1)查看Finder中的.bash_profile等系统隐藏文件

2014-9-20 0:00:00作为一个程序员,经常要配置变量,可能要更改hosts文件,或者 你闲着没事儿寻找homebrew给你安装的东西在什么地方。Mac OS 的内核是Unix,Linux/Unix系统出于系统安全和用户安全的考虑, 会把一些与系统相关的文件隐藏,我们在Mac OS中进去能看到只 有文档、下载、图片等等几个大的文件夹。 下面我就来介绍几种方法,关于如何找到这些被隐藏了的文件 和在Finder外层不显示的文件: 注:一共五种,前两种关于找到文件,后面三种关于显示隐藏 文件,越往后越吊。如果显示隐藏文件的方法三、四你用了之后没 有效果,请看终极版撒手锏——方法五。 第一种方法: 打开Finder之后,菜单里面有个GO,中文界面可能是前往,太久 没用中文了,记不清。 go的倒数第二项是Go to Folder。可以直接根据用户输入的路 径去查看文件 快捷键shift + command + G

请看下面的图片(自觉忽略阿卡丽。看Finder)

我们来实验一下: 进入/usr/local 并回车

这种方法只能打开进入一个没有显示出来的文件夹,却无法操作隐藏文件 第二种方法: 如果你要找的东西来library里面,但是你总是找不到library在什么地方,那怎么办呢?这种情况比较好办。 还是找到Go那个菜单选项,点击开之后不要选择,按住Option,你会发现中间会出现library选项,单击即可以直接去到library文件夹。在library文件夹下选择第三种模式的文件显示模式,

这样可以看到上层的许多文件。效果如下图:

蓝牙Profile的概念和常见种类

蓝牙Profile的概念和常见种类 蓝牙Profile Bluetooth的一个很重要特性,就是所有的Bluetooth产品都无须实现全部的Bluetooth规范。为了更容易的保持Bluetooth设备之间的兼容,Bluetooth 规范中定义了Profile。Profile定义了设备如何实现一种连接或者应用,你可以把Profile理解为连接层或者应用层协。 在所有的Profile中,有四种是基本的Profile,这些Profile会被其它的Profile使用,它们包括GAP/SDAP/SPP/GOEP Profile。 1.1 GAP GAP Profile: Generic Access Profile,该Profile保证不同的Bluetooth 产品可以互相发现对方并建立连接。 一般访问应用规范(GAP)定义了蓝牙设备如何发现和建立与其他设备的安全(或不安全)连接。它处理一些一般模式的业务(如询问、命名和搜索)和一些安全性问题(如担保),同时还处理一些有关连接的业务(如链路建立、信道和连接建立)。GAP规定的是一些一般性的运行任务。因此,它具有强制性,并作为所有其它蓝牙应用规范的基础。 1.2 SDAP SDAP Profile: Service Discovery Application Profile,通过该Profile,一个Bluetooth设备可以找到其它Bluetooth设备提供的服务,以及查询相关的信息。 1.3 SPP 全称Serial Port Profile,定义了如何在两台BT设备之间建立虚拟串口并进行连接。

例如,在两台电脑或者Labtop之间就可以建立这种连接,如下图所示: 1.4 GOEP GOEP Profile: Generic Object Exchange Profile,通用对象交换。这个Profile的名字有些费解,它定义的是数据的传输,包括同步,文件传输,或者推送其它的数据。可以理解为与内容无关的传输层协议,可以被任何应用用来传输自己定义的数据对象。 1.5 A2DP

蓝牙耳机编程流程-HANDESET Programmers Guide

HANDESET Programmers Guide 1. Introduction Headset profile is used to enable wireless connectivity among Bluetooth enabled Headsets, PCs and the cellular phones. 2. Concepts 2.1 USAGE (用法) Two use cases are presented here for understanding the AG and HS roles. Note that these cases are not comprehensive. Incoming call 1 Incoming call arrives at a cellular phone connected to a mobile network. 2 The cellular phone acting as an AG indicates this call arrival to a Headset. This is typically perceived as a ring on the HS. 3 The user accepts the incoming call, by pressing a button on the HS.

4 The AG on receiving this acceptance routes the audio data from the network to HS. Outgoing call 1 An user dials a number using a cellular phone (AG). 2 Upon successful connection, the user by pressing a button on the HS initiates a transfer of the audio data from the cell phone to the HS. Note: 1 Headset's typically have a user interface by which intentions such as call accept, call transfer are indicated to the AG. 2 The word button used above is a simile for any such user interface 3 IMPORTANT: Although the word call is frequently used in this document, it shall be read as 'Audio connection'. This is because the AG may treat the HS as the input or output audio port for purposes other than call processing (such as tunes, beeps, alarms, etc..). 2.2 控制路径和数据路径 1, A Control path typically transmits commands and responses relating to a profile and the Data path is typically used to transmit voice data 2A Control path should be established prior to the establishment of the Data path. 3 The existence of a Data path is optional 4. In the context of the Headset profile commands and responses relating to call acceptance, audio data transfer, volume control etc.. are exchanged between the AG and HS over the Control path and the Data path is used to transfer audio (voice) data between the AG and the HS 2.3 MODULE

数据库概要文件profile

ORACLE概要文件 Oracle系统为了合理分配和使用系统的资源提出了概要文件的概念。所谓概要文件,就是一份描述如何使用系统的资源(主要是CPU资源)的配置文件。将概要文件赋予某个数据库用户,在用户连接并访问数据库服务器时,系统就按照概要文件给他分配资源。 在有的书中将其翻译为配置文件,其作用包括。 1、管理数据库系统资源。 利用Profile来分配资源限额,必须把初始化参数resource_limit设置为true ALTER SYSTEM SET resource_limit=TRUE SCOPE=BOTH; 2、管理数据库口令及验证方式。 默认给用户分配的是DEFAULT概要文件,将该文件赋予了每个创建的用户。但该文件对资源没有任何限制,因此管理员常常需要根据自己数 据库系统的环境自行建立概要文件,下面介绍如何创建及管理概要文件。 示例: CREATE PROFILE pro_test LIMIT CPU_PER_SESSION 1000 --cpu每秒会话数 任意一个会话所消耗的CPU时间量(时间量为1/100秒) CPU_PER_CALL 1000 --cpu每秒调用数 任意一个会话中的任意一个单独数据库调用所消耗的CPU时间量(时间量为 1/100秒) CONNECT_TIME 30 --允许连接时间 任意一个会话连接时间限定在指定的分钟数内 IDLE_TIME DEFAULT --允许空闲时间 SESSIONS_PER_USER 10 --用户最大并行会话数(指定用户的会话数量) LOGICAL_READS_PER_SESSION 1000 --读取数/会话(单位:块) LOGICAL_READS_PER_CALL 1000 --读取数/调用(单位:块) PRIVATE_SGA 16K --专用sga COMPOSITE_LIMIT 1000000 --组合限制(单位:单元) FAILED_LOGIN_ATTEMPTS 10 --登录几次后 PASSWORD_LOCK_TIME 10 --锁定时间(单位:天) PASSWORD_GRACE_TIME 120 --多少天后锁定 PASSWORD_LIFE_TIME 60 --口令有效期(单位:天) PASSWORD_REUSE_MAX UNLIMITED --保留口令历史记录:保留次数(单位:次) PASSWORD_REUSE_TIME 120 --保留口令历史记录:保留时间(单位:天) PASSWORD_VERIFY_FUNCTION DEFAULT --启用口令复杂 ......

蓝牙驱动和Profile

蓝牙驱动和Profile net/hci_core.c HCI在主机端的驱动主要是为上层提供一个统一的接口,让上层协议不依赖于具体硬件的实现。HCI在硬件中的固件与HCI在主机端的驱动通信方式有多种,比如像 UART、USB和PC Card等等。hci_core.c相当于一个框架,用于把各种具体通信方式胶合起来,并提供一些公共函数的实现。 hci_cmd_task是负责发送CMD的任务,它从hdev- >cmd_q队列中取CMD,然后调用hci_send_frame把 CMD发送出去,hci_send_frame又会调用实际的HCI驱动的send函数发送数据。 hci_rx_task是负责接收数据的任务,它从hdev->rx_q队列中取数据,然后根据数据的类型调用上层函数处理。数据包有三种类型: 1.HCI_EVENT_PKT:用于处理一些通信事件,比如连接建立,连接断开,认证和加密等事件,这些事件控制协议状态的改变。 2.HCI_ACLDATA_PKT:异步非连接的数据包,通过 hci_acldata_packet提交给上层的L2CAP协议处理 (hci_proto[HCI_PROTO_L2CAP])。

3.HCI_SCODATA_PKT:同步面向连接的数据包,通过 hci_scodata_packet提供给上层的SCO协议处理 (hci_proto[HCI_PROTO_SCO])。 hci_tx_task是负责发送数据的任务,发送所有connection 中的ACL和SCO数据,以及hdev->raw_q中的数据包。 HCI为上层提供的接口主要有: 1.hci_send_sco:发送SCO数据包,把要发送的数据包放入connection的发送队列中,然后调度发送任务去发送。 2.hci_send_acl:发送ACL数据包,把要发送的数据包放入connection的发送队列中,然后调度发送任务去发送。 3.hci_send_cmd:发送命令数据,把要发送的数据包放入hdev->cmd_q队列中,然后调度命令发送任务去发送。 4.hci_register_proto/hci_unregister_proto:注册/注销上层协议,HCI会把接收到的数据转发给这些上层协议。 5.hci_register_dev/hci_unregister_dev:注册/注销设备,HCI 会把要发送的数据通过这些设备发送出去。 6.其它一些公共函数。 net/hci_conn.c 提供了一些连接管理,论证和加密的函数。 net/hci_event.c 事件处理函数,负责状态机的维护,这些事件通常会使连

Oracle 使用PROFILE管理密码

Oracle 使用PROFILE管理密码 当操作人员要连接到Oracle数据库时,需要提供用户和密码。对于黑客或某些人而言,他们可能通过猜想或反复试验来破解密码。为了加强密码的安全性,可以使用PROFILE文件管理密码。PROFILE文件提供了一些密码管理选项,它们提供了强大的密码管理功能,从而确保密码的安全。为了实现密码限制,必须首先建立PROFILE文件。建立PROFILE 文件是使用CREATE PROFILE语句完成的,一般情况下,该语句是由DBA执行的,如果要以其他用户身份建立PROFILE文件,则要求该用户必须具有CREATE PROFILE系统权限。 使用PROFILE文件可以实现如下四种密码管理:账户锁定、密码的过期时间、密码历史和密码的复杂度。 1.账户锁定 账户的锁定策略是指用户在连续输入多少次错误密码后,Oracle会自动锁定用户的账户,并且可以规定账户的锁定时间。Oracle为锁定账户提供了以下两个参数: ●FAILED_LOGIN_A TTEMPTS 该参数限制用户在登录到Oracle数据库时允许失 败的次数。一旦某用户尝试登录数据库达到该值,则系统会将该用户账户锁定。 ●PASSWORD_LOCK_TIME 用于指定账户被锁定的天数。 例如,下面创建的PROFILE文件设置连续连接失败次数为3,超过该次数后,账户锁定时间为10天,并使用ALTER USER语句将PROFILE文件分配给用户DEVELOPER。 SQL> create profile lock_account limit 2 failed_login_attempts 3 3 password_lock_time 10; 配置文件已创建 SQL> alter user developer profile lock_account; 用户已更改。 当建立LOCK_ACCOUNT文件后,并将该PROFILE分配给用户DEVELOPER用户后,如果以账户DEVELOPER身份连接到数据库,并且连续连接失败3次后,Oracle将自动锁定该用户账户。此时,即使为用户账户DEVELOPER提供正确的密码,也无法连接到数据库。 在建立LOCK_ACCOUNT文件时,由于指定PASSWORD_LOCK_TIME的参数为10,所以账户锁定天数达到10天后,Oracle会自动解锁账户。如果建立PROFILE文件时没有提供该参数,将自动使用默认值UNLIMITED。在这种情况下,需要DBA手动解锁用户账户。 2.密码的过期时间 密码的过期时间是指强制用户定期修改自己的密码,当密码过期后,Oracle会随时提醒用户修改密码。密码宽限期是指用户账户密码到期之后的宽限使用时间。默认情况下,建立用户并为其提供密码之后,密码会一直生效。为了防止其他人员破解用户账户的密码,可以强制普通用户定期改变密码。为了加强用户定期改变密码,Oracle提供了如下参数: ●PASSWORD_LIFE_TIME 该参数用于设置用户密码的有效时间,单位为天数。超 过这一段时间,用户必须重新设置口令。 ●PASSWORD_GRACE_TIME 设置口令失效的“宽限时间”。如果口令达到 PASSWORD_LOGIN_TIME设置的失效时间,设置宽限时间后,用户仍然可以使

最全最详细的蓝牙版本介绍包含蓝牙4.0和4.1

对与连接,举例来说,只要在手机选项中选择连接特定装置,在确定之后,手机会自动列出当前环境中可使用的设备,并且自动进行连结;而短距离的配对方面:也具备了在两个支持蓝牙的手机之间互相进行配对与通讯传输的NFC(Near Field CoMMunication)机制;更佳的省电效果:蓝牙2.1版加入了Sniff Subrating的功能,透过设定在2个装置之间互相确认讯号的发送间隔来达到节省功耗的目的。蓝牙2.1将装置之间相互确认的讯号发送时间间隔从旧版的0.1秒延长到0.5秒左右,如此可以让蓝牙芯片的工作负载大幅降低,也可让蓝牙可以有更多的时间可以彻底休眠。根据官方的报告,采用此技术之后,蓝牙装置在开启蓝牙联机之后的待机时间可以有效延长5倍以上。 5、3.0+HS版本: 2009年4月21日,蓝牙技术联盟(BluetoothSIG)正式颁布了新一代标准规范"BluetoothCoreSpecificationVersion3.0HighSpeed"(蓝牙核心规范3.0版高速),蓝牙3.0的核心是"GenericAlternateMAC/PHY"(AMP),这是一种全新的交替射频技术,允许蓝牙协议栈针对任一任务动态地选择正确射频。最初被期望用于新规范的技术包括802.11以及UMB,但是新规范中取消了UMB的应用。作为新版规范,蓝牙3.0的传输速度自然会更高,而秘密就在802.11无线协议上。通过集成"802.11PAL"(协议适应层),蓝牙3.0的数据传输率提高到了大约24Mbps(即可在需要的时候调用802.11WI-FI用于实现高速数据传输)。,是蓝牙2.0的八倍,可以轻松用于录像机至高清电视、PC至PMP、UMPC至打印机之间的资料传输。功耗方面,通过蓝牙3.0高速传送大量数据自然会消耗更多能量,但由于引入了增强电源控制(EPC)机制,再辅以802.11,实际空闲功耗会明显降低,蓝牙设备的待机耗电问题有望得到初步解决。此外,新的规范还具备通用测试方法(GTM)和单向广播无连接数据(UCD)两项技术,并且包括了一组HCI指令以获取密钥长度。据称,配备了蓝牙2.1模块的PC理论上可以通过升级固件让蓝牙2.1设备也支持蓝牙3.0。联盟成员已经开始为设备制造商研发蓝牙3.0解决方案。 6.蓝牙4.0 6.1 简介: 蓝牙4.0为蓝牙3.0的升级标准 蓝牙4.0最重要的特性是省电,极低的运行和待机功耗可以使一粒纽扣电池连续工作数年之久。此外,低成本和跨厂商互操作性,3毫秒低延迟、AES-128加密等诸多特色,

中国电信物联网开放平台_设备能力描述文件profile开发指南

profile开发指南 (V1) 中国电信股份有限公司物联网分公司 二〇一九年二月 编制单位:

修订记录:

目录 1 前言 (1) 2 概念 (2) 3 设备Profile写作 (3) 4 设备Profile提供形式 (6) 5 设备Profile文件字段含义说明 (7) 6 附录 (17)

1 前言 概述 开发者使用中国电信物联网开放平台集成设备时需要准备此设备的能力描述文件,本 文档针对此文件提供了具体的写作过程和步骤。 本文档能指导开发者快速写作设备能力描述Profile文件。 读者对象 本文档主要适用于智能家居设备厂商的开发人员,他们必须熟悉所要集成的智能家居 产品的功能、掌握相关的物联网协议和接口知识、具备一定的物联网知识背景。 符号约定 在本文中可能出现下列标志,它们所代表的含义如下。

2 概念 设备的Profile文件是用来描述一款设备是什么、能做什么以及如何控制该设备的文件。该文件会被上传到中国电信物联网开放平台。

3 设备Profile写作 设备的Profile文件为json格式的文件。 参考上面的说明,描述一款设备的能力信息,需要描述这款设备的识别属性和提供的 服务(功能)列表,其中: 设备型号识别属性:设备类型、厂商、型号、协议类型。 服务列表:提供具体的功能服务说明列表。 命名规范 对设备类型(deviceType)、服务类型(serviceType)、服务标识(serviceId)采用单词 首字母大写的命名法:如:MultiSensor、Switch; 参数使用第一个单次首字母小写,其余单词的首字母大写的命名法:如"paraName" : "color","dataType" : "int"; 命令使用所有字母大写,单词间用下划线连接的格式:如DISCOVERY, CHANGE_COLOR; 设备能力描述json文件固定命名devicetype-capability.json; 服务能力描述json文件固定命名servicetype-capability.json; 开发者需要注意,厂商标识、型号唯一标识一个设备类型,故这两者不能与其他类型 设备同时重复。仅支持英文。 在一些profile样例中您可能遇到命名为devicetype-display.json或servicetype-display.json的文 件,这些文件是用于智慧家庭领域的一些场景中的,如果中国电信人员与您交流方案的时候没有 涉及到,您的profile中可以不包含这些文件。 设计规范 要注重名称的通用性,简洁性;对于服务能力描述,还要考虑其功能性; 如:对于多传感器设备,就可以命名为Multi(多)Sensor(传感器);对于某设备具有 显示电量的服务,就可以命名为Battery。 设备Profile 将一款新设备接入到中国电信物联网开放平台,首先需要编写这款设备的profile。 1.设备模板

蓝牙-BT规格书

HSP: headset 耳机功能,提供移动终端与耳机之间通信所需的基本功能,如:配对连接,接听来电,挂断电话。 HFP: handsfree 供免提设备拨打和接听呼叫, 是HSP的扩展,常用于车载免提,让蓝牙设备可以控制电话,如接听、挂断、拒接、语音拨号等, A2DP(立体声) 蓝牙音频传输模型协定, 是专门为使用蓝牙传送立体声音乐而制定的: A2DP能够让两个同样支持蓝牙音效传输的装置互相连接能输出如CD音质(16 bits,44.1 kHz)般的音乐, 假如有一方没有支持A2DP的话,这时音效就只能输出Handsfree Profile(8 bits,8kHz), 就算耳机是采用双耳筒的设计,也只能有一般电话的单声道音质,与真正的立体声相去甚远。 验证方法:蓝牙立体声耳机推出进行Skype通话,听音乐,通话等, 终端有Media Player或类似的音乐播放器功能 AVRCP(音乐播放控制) 音频/视频远程控制配置文件,设计用于提供控制TV、Hi-Fi设备等的标准接口。 此配置文件用于许可单个远程控制设备(或其它设备)控制所有用户可以接入的A/V设备。它可以与A2DP或VDP配合使用,VRCP定义了如何控制流媒体的特征。包括暂停、停止 、启动重放、音量控制及其它类型的远程控制操作。 SPP 串行端口配置,定义了如何设置虚拟串行端口及如何连接两个蓝牙设备 将两台设备作为虚拟串行端口,然后通过蓝牙技术连接两台设备定义了两个角色,设备 A 和设备 B。 设备 A——即主动建立至另一设备的连接的设备(发起方)。 设备 B——即等待另一设备主动建立连接的设备(接收方) BIP 为基本图像规范,典型的应用如使用手机控制数码相机的快门操作,在设备之间传送图像,可分为: 1、Image Push 该应用允许蓝牙主单元向从单元发送一幅或多幅图像,进而从单元可将接受到的图像显示或打印出来。 2、Image Pull允许蓝牙主单元查阅存储于从单元的图像,并在从单元用户允许的情况下,下载查阅的图像。 3、Advanced Image Printing 顾名思义,该项应用适合从单元是打印机的情况,它可使主单元设置打印工作,并产生更多的输出内容,

linux,下profile模板

竭诚为您提供优质文档/双击可除linux,下profile模板 篇一:linux基础经典笔记总结 linux用户环境 内核(kernel)--控制硬件的运行 计算机启动载入基本内存及管理基本的输入输出并管理进程初始化与进程之间的调度 .sheel--中间环节,通信桥梁 系统的命令解释器,操作系统与用户的通信(如windows 中的cmd).终端模拟器(terminalemulator) 用户shell运行的平台,可以交互操作系统信息得到信息反馈 .xwindow系统 c/s模型 .窗口管理器(windowmanager) 改变窗口大小 .桌面环境(desktopenvironment) 本地登录(字符与图形界面的登录) .Redhatlinuxrelease9.0(shrike)

.kernel2.4.20-8onani686 .login:root(用户名) .password:____(密码) .[root@stationxxroot]# .[当前用户名@主机名当前目录] .提示符因用户而异,普通用户$ root超级用户,拥有最高权限 .home目录是用户登入系统后即所在的默认目录 加目录,用户登录所在目录,一般用户目录在home中【用户颜色深蓝色】.#useradd[用户名] .#password[用户名]---激活创建用户 .example: .[root@stationxxroot]#useraddstudent .[root@stationxxroot]#passwdstudent .changingpasswordforuserstudent .newpassword:输入密码 .Retypenewpassword:重复新密码 .passwd:allauthentiacationtokensupdatedsuccessfully --------发出警告坏密码,普通用户创建不成功,root 用户创建可以.[root@stationxxroot]# .指令名【选项】【参数】--选项和参数不是必须的,可

AIX 读取 profile 的机制

简介 AIX 读取 profile 的机制 在我们的工作中,经常会重复的敲击和记忆一样的命令,特别是那些冗长的路径。如果我们了解了 AIX 读取 profile 的机制,我们就可以提前设置我们的工作环境,给我们的日常工作带来极大的便利,提高我们的工作效率。 首先,我们要了解 shell 在登录的过程中是如何读取环境变量的。这样,我们可以在读取环境变量之前,设置我们想要的工作环境,让我们在工作中的效率更高。不需要每时每刻都要去记忆敲击一大堆带有冗长路径的命令。好吧,就让我们开始吧。 在 AIX 系统启动以后,如果我们登录系统并且登录用户的默认 shell 是 Korn Shell 的话,shell 会读取以前设置的初始化文件来设置登录用户的环境。用户环境的定义是通过设置环境变量来实现的。当登录操作系统时,shell 先执行 /etc/environment,后执行 /etc/profile 的。/etc/environment 是设置整个系统的环境,而 /etc/profile 是设置所有用户的环境,/etc/environment 与登录用户无关,/etc/profile 与用户相关。 登录时,这两个文件运行完毕后 , 系统会接着检查在登录用户的 home 目录下是否有 .profile 文件,如果“.profile” 文件存在 , 就执行它。“.profile”文件还会指出是否还有一个环境文件。如果有环境文件 (.env 或者 .kshrc) 存在 , 系统会运行这个文件 , 并设置登录用户的环境。 注意:“/etc/environment”,“/etc/profile”,“.profile”是在登录时执行一次。“.env”文件是我们每次打开一个新的终端的时候都会执行的。 介绍 profile 的组成 接下来,我们来了解一下 profile 相关文件的具体信息。 /etc/profile 用户在登录时 ,AIX 定制用户环境时使用的第一个文件就是 /etc/profile。这个文件保存着全系统范围内的缺省变量,比如 Export 变量 , 文件创建的掩码 , 终端类型等。 Root 用户为所有用户配置“.profile”文件 , 只有 Root 可以更改这个文件。 /etc/environment 在登录时 AIX 使用的第二个文件是 /etc/environment。/etc/environment 文件包含所有进程的基本环境变量。 下面是构成基本环境的变量 :

蓝牙通信技术及应用

1.选题背景及意义: (2) 2.蓝牙通信技术及蓝牙系统介绍: (2) 2.1蓝牙技术简介: (2) 2.2蓝牙协议(HCI)介绍: (3) 2.3蓝牙系统结构简介: (5) 2.4 MT1020A基带控制器和PH2401无线收发器介绍: (5) 2.4.1 MT1020A基带控制器的结构与原理 (5) 2.4.2 PH2401无线收发器与嵌入式控制内核功能介绍: (7) 3.蓝牙适配器介绍: (8) 4.蓝牙技术指标和系统参数 (8) 5.蓝牙通信安全的技术实施 (9) 5.1DH方案 (9) 5.2RSA方案 (9) 6.蓝牙技术的应用 (10) 7.蓝牙技术的展望 (11) 结束语: (12) 参考文献 (13)

越来越多数字电子产品借着新科技提升本身的性能和实力。以目前发展的趋势来看,未来消费性电子产品将有两个重要的发展指标,一是使用蓝牙技术这类开放技术,以无线,局域网络,可携带式设备成为网络体的延伸。另一项则是内存规格的统一,加密以及轻量化应用。 无论您喜不喜欢,“蓝牙计划”这个名词几乎已到了无孔不入的境界,不论是商业财经台还是一般大众电视台,都不只一次以上报导这个计划的进展与新闻,话虽如此,但却很少人了解此计划的原意与来龙去脉,只知道有这样一个计划正如火如荼地进行,且声势浩大、似乎充满无限希望。可预见的,未来与蓝牙计划相关的新闻只会更多,因为计划正一步步实现中。 蓝牙(Bluetooth) 简单讲就是一种电信、计算机的无线传输技术。单从字面上很难了解蓝牙是个怎么样的技术,他不像“GSM”一样可以望文生义。简单的说蓝牙是一种无线网络与消费性电子产品之通讯技术,透过无线传输和基频模块构成,其快速响应和跳频系统的特性使无线传输更佳稳定。可以应用在各种电子产品如:笔记型计算机、行动电话、数字相机和其它相类似电子产品等。 正文 1.选题背景及意义: 随着微电子技术、通信技术和计算机技术的发展,计算机发展已经进入移动时代。以掌上电脑(PDA)为代表的移动式计算系统已日益普及。特别是工业高度发展的今天,对工业现场的通信与数据实时处理要求越来越高。在环境恶劣与布线不便的工业场所,设备间无线通讯与PDA辅助处理成了工业现场的最佳选择。蓝牙是一种低成本、高可靠性的无线传输技术,蓝牙通信是实现PDA与工业接入点通信的首要环节。蓝牙技术是用微波无线通信技术取代数据电缆来完成点对点或点对多点短距离通信的一种新型无线通信技术。而蓝牙芯片则是蓝牙技术的基础和关键。 2.蓝牙通信技术及蓝牙系统介绍: 2.1蓝牙技术简介: 蓝牙是一种支持设备短距离通信(一般10m内)的无线电技术。能在包括移动电话、PDA、无线耳机、笔记本电脑、相关外设等众多设备之间进行无线信息

蓝牙4.0 BLE 模块

RX8105-A06蓝牙4.0 (BLE)模块概述 RX8105-A06是一款低成本小尺寸Bluetooth 4.0 BLE模块, 模块基于台湾笙科电子2014年最新发布的蓝牙4.0芯片设计,模 块采用单芯片设计具有低成本,小体积,低功耗等特点,目前已 经开始批量应用到医疗领域(电子血压计,血糖仪,心率计等), 芯片已获得BQB认证的蓝牙低功耗认证,兼容市面所有 Bluetooth 4.0 BLE应用。我司为笙科代理商可提供低价格高效 率的供货及客户定制服务。 特性: l超低价格SOC单芯片方案 l工作频率2.4G ISM频段 l工作电压2.0V ~ 3.6V l工作电流TX:18.5(0dBm),RX:18mA,Sleep:3uA l可编程输出功率最大可支持+6dBm距离更远 l灵敏度:-96dBm(500Kbps),-90dBm(2Mbps) l可支持速率:4K ~ 2Mbps l模块支持UART I2C SPI 三种接口 l调制方式:GFSK, FSK l支持蓝牙4.0 Bluetooth Low Energy 协议 l支持WOT WOR 发射接收模式 l支持蓝牙4.0 Bluetooth Smart l支持蓝牙4.0 GA TT/GAP profile l内置天线小尺寸:15.5mm*15mm l可提供特殊定制 应用: l电子医疗血压计,血糖仪,心率计等 l运动健身电子产品 l防丢器,寻物器方案 l智能家电遥控,安防门锁等 l数码产品遥控器,键盘,穿戴式产品 l符合BLE蓝牙4.0通讯的数据传输典型应用

引脚定义: J: Pin No. Symbol Function Description 1 RESETN RESETN 2 VPP High voltage pin used for OTP ROM program. 3 P3_1 UART_TX 4 P3_0 UART_RX 5 P1_5 TTAG_TTCLK J2: 性能指标: Pin No. Symbol Function Description 1 GND Ground 2 REGI RF Module supply voltage supply input 3 P0_0 SPI_SCLK/IN0 4 P0_1 SPI_MOSI/CS0 5 P0_2 2 SPI_MISO/RS0 6 P0_3 SPI_SSEL/RT0 7 P0_4 GPIO/ICE mode 8 P0_5 I2C_SCL 9 P0_6 I2C_SDA 10 P0_7 INT2/GIO1 11 P0_4 TTAG_TTDIO

Fluent中Profile文件的编写

1.瞬态Profile 标准的Profile 文件格式如下 ((profile-name transient n periodic) (field_name_1 a1 a2 a3 …… an) (field_name_2 b1 b2 b3 …… bn) … (field_name_r r1 r2 r3 ……rn)) Profile-name 为Profile 名称,少于64个字符,field-name 必须包含一个time 变量,并且时间变量必须以升序排列。transient 为关键字,瞬态profile 文件必须包含此关键字。n 为每一个变量的数量。periodic ?标志该profile 文件是否为时间序列,1表示时间为周期文件,0表示非周期文件。 例1: ((move transient 3 1) (time 0 1 2) (v_x 3 5 3) ) 该profile 文件所对应的X 速度(v_x )随时间变化的曲线如下图所示 7 6 Time v _x 在profile 文件中经常使用的变量名称包括time (时间)、u 或v_x (x 方向速度)、v 或v_y (y 方向速度)、w 或v_z (z 方向速度)、omega_x (x 方向角速度)、omega_y (y 方向角速度)、omega_z (z 方向角速度)、temperature (温度)等。Profile 文件中的数据单位均为国际单位制。

例2:下图所示的Profile文件如下 (moveVelocity transient 5 0) (time 0 0.25 0.5 0.75 1) (v_x 0 0.1 0.2 0.3 0.4) ) 其中,moveVelocity为Profile文件名,transient表示瞬态,5为表示所取速度及时间变化点数,这里取5个点;time后所取点的时刻值;x后为所取点的x 坐标;v_x为所取点的x向速度;所取的5个点组成速度与时间的线性关系。 虽然稳态profile文件可以再一定程度上定义网格运动,然而其存在着一些缺陷。最主要的一些缺陷存在于以下一些方面: (1)Profile无法精确的定义连续的运动。其使用离散的点进行插值。如果获得较为精确的运动定义,势必要定义很多点。 (2)一些情况下无法使用Profile。比如稳态动网格。 Point,line,radial类型的Profile用以下格式 ((profile1-name point|line|radial n) (field-name a1 a2 …… an) (field-name b1 b2 ……bn) … (field-name f1 f2 …… fn)) Line profile:用n个顺序排列的point (xi, yi, vi)来描述的profile,只用于2D问题,point间用0阶插值法插值。 例3:旋转角速度Profile文件的编写 ((left 3 point) (time 0 1 60)

蓝牙版本1.0-4.2的区别

蓝牙1.1:早期版本,传输率约在748~810kpbs8,因是早期设计,容易受到同频率之产品所干扰下影响通讯质量。 蓝牙1.2:同样是只有 748~810kpbs 的传输率,但在加上了抗干扰跳频功能。只支持单声道! 蓝牙2.0:传输率约在 1.8Mpbs~2.1Mpbs,可以有(双工)的工作方式。即一面作语音通讯,同时亦可以传输档案/高质素图片。在能耗上有所降低,可以支持立体声。 蓝牙2.1:和2.0版本同时代产品,相对2.0版本主要是提高了待机时间2倍以上,技术标准没有根本性变化! 蓝牙3.0:相比较2代,升级比较大,使用了新的协议,主要是传输速度有了质的飞越!传输速率可以达到24Mbps,这使视频蓝牙传输成为可能,但是要达到最佳效果,必须连接双方都是3.0及以上才可!但是功耗上没有什么提升。 蓝牙4.0:相比较前一代,主要进步为超低功耗、免配对密码(一般通过NFC直连)、可以多连(一个耳机连2个收手机)超长传输距离(理论100米)! 蓝牙4.1:蓝牙4.1与LTE无线电信号之间如果同时传输数据那么蓝牙4.1可以自动协调两者的传输信息,理论上可以减少其它信号对蓝牙4.1的干扰。提升连接速度并且更加智能化,反应时间比蓝牙4.0更短。提高传输效率。 蓝牙技术联盟于2013年12月正式宣布采用蓝牙核心规格4.1版本。 这一规格是对蓝牙4.2版本的一次软件更新,而非硬件更新。这一更新包括蓝牙核心规格附录(CSA1、2、3和4)并添加了新的功能、提高了消费者的可用性。这些特性包括提升了对LTE和批量数据交换率共存的支持,以及通过允许设备同时支持多重角色帮助开发者实现创新。 蓝牙4.1版本 蓝牙4.1版本 4.1版本的特性如下 移动无线服务共存信号 T rain nudging与通用接口扫描 低占空比定向广播 基于信用实现流控的L2CA P面向连接的专用通道 双模和拓扑 低功耗链路层拓扑 802.11n P AL 宽带语音的音频架构更新 更快的数据广告时间间隔(F a s t Data A dverti s ing Interval) 有限的发现时间 请注意有些特性在4.1版本之前的核心规格附录(CSA)中就已存在。 4.2版本 蓝牙4.2发布于2014年12月2日。它为IO T推出了一些关键性能,是一次硬件更新。 但是一些旧有蓝牙硬件也能够获得蓝牙4.2的一些功能,如通过固件实现隐私保护更新。 主要改进之处如下: 低功耗数据包长度延展 低功耗安全连接 链路层隐私权限 链路层延展的扫描过滤策略 Bluetooth S mart设备可通过网络协议支持配置文件(Internet Protocol S u pp ort Profile ,简称IP S P)实现IP 连接。 IP S P为Bluetooth S mart添加了一个IPv6连接选项,是互联家庭和物联网应用的理想选择。 蓝牙4.2通过提高Bluetooth S mart的封包容量,让数据传输更快速。 业界领先的隐私设置让Bluetooth S mart更智能,不仅功耗降低了,窃听者将难以通过蓝牙

相关文档
最新文档