Dynamically adjusting a user interface panel
阅读说明:本技术 动态调整用户界面的面板 (Dynamically adjusting a user interface panel ) 是由 D.J.墨菲 W.H.C.库 D.西利 L.B.基利 A.L.加德纳三世 于 2018-08-03 设计创作,主要内容包括:用于提供通知的上下文信息的方法、系统和装置,包括编码在计算机存储介质上的计算机程序。识别用于一个或多个计算设备的用户界面的面板之间的逻辑关系。获得界面模式的集合,所述界面模式对应于面板之间的不同逻辑关系并且描述用于布置具有相应逻辑关系的面板的不同空间关系。确定用于用户界面的面板之间的逻辑关系中的至少一个逻辑关系与对应于特定界面模式的逻辑关系相匹配。从界面模式的集合当中选择特定界面模式,以指定用户界面的面板的布置。提供具有根据所选择的特定界面模式而布置在用户界面中的面板的用户界面。(Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for providing contextual information for notifications. Logical relationships between panels of a user interface for one or more computing devices are identified. A set of interface patterns is obtained that correspond to different logical relationships between the panels and that describe different spatial relationships for arranging the panels with the respective logical relationships. Determining that at least one of the logical relationships between the panels for the user interface matches a logical relationship corresponding to the particular interface mode. A particular interface mode is selected from among a set of interface modes to specify an arrangement of panels of a user interface. A user interface is provided having panels arranged in the user interface according to the particular interface mode selected.)
1. A method performed by one or more computing devices, the method comprising:
identifying, by the one or more computing devices, a logical relationship between panels of a user interface for the one or more computing devices;
obtaining, by one or more computing devices, a set of interface patterns that correspond to different logical relationships between panels and that describe different spatial relationships for arranging panels having respective logical relationships;
determining, by the one or more computing devices, that at least one of the logical relationships between the panels for the user interface matches a logical relationship corresponding to the particular interface mode;
in response to determining that at least one of the logical relationships between the panels for the user interface matches a logical relationship corresponding to a particular interface mode, selecting, by the one or more computing devices, the particular interface mode from among the set of interface modes to specify an arrangement of the panels for the user interface; and
providing, by one or more computing devices, a user interface having panels arranged in the user interface according to the particular interface mode selected.
2. The method of claim 1, wherein the logical relationship corresponding to the particular interface mode comprises a relationship indicating creation of the first panel from the second panel.
3. The method of claim 1, wherein the panel for the user interface comprises:
a context menu of applications;
a different window of the application; or
Different windows for different applications.
4. The method of claim 1, wherein determining that at least one of the logical relationships between the panels for the user interface matches a logical relationship corresponding to a particular interface mode comprises:
determining a first relationship similarity score for the particular interface mode based on the logical relationship corresponding to the particular interface mode and the logical relationship between the panels for the user interface;
determining a second relationship similarity score for the second interface mode based on the logical relationship corresponding to the second interface mode and the logical relationship between the panels for the user interface; and
determining that the first relationship similarity score indicates a level of similarity between the logical relationship corresponding to the particular interface mode and the logical relationship between the panels for the user interface that is higher than a level of similarity between the logical relationship corresponding to the second interface mode and the logical relationship between the panels for the user interface indicated by the second relationship similarity score; and
wherein determining that at least one of the logical relationships between the panels for the user interface matches a logical relationship corresponding to the particular interface mode is based on determining that the first relationship similarity score indicates a higher level of similarity than the second relationship similarity score indicates.
5. The method of claim 1, wherein identifying logical relationships between panels for a user interface comprises one or more of:
identifying the first panel as a child panel of the second panel;
identifying that the first panel is a sibling panel of the second panel;
identifying that the first panel is subordinate to the second panel;
identifying that the first panel is embedded within the second panel;
identifying a first panel in series with a second panel; or
The first panel is identified to control the second panel.
6. The method of claim 1, wherein identifying logical relationships between panels for a user interface comprises:
a node graph is generated in which each node represents a panel and edges between the nodes represent logical relationships between the panels.
7. The method of claim 6, wherein each edge in the node graph represents a type of logical relationship that exists between panels represented by the edge-connected nodes.
8. The method of claim 7, wherein a particular interface mode describes a second node graph, wherein each node represents a panel and edges between nodes represent logical relationships between panels, wherein a particular edge of the second node graph represents at least one logical relationship described by a particular interface mode,
wherein determining that a logical relationship between panels in the identified set of panels matches at least one logical relationship between panels described by the particular interface mode comprises:
it is determined that the node map includes edges representing logical relationship types that match the logical relationship types represented by the specific edges of the second node map.
9. The method of claim 6, comprising:
identifying an additional panel for the user interface; and
in response to identifying an additional panel for the user interface, an additional node corresponding to the additional panel is added to the node graph and at least one additional edge is added from the additional node to another node of the node graph, wherein the additional edge represents a logical relationship between the additional node and the another node of the node graph.
10. The method of claim 6, comprising:
generating a list of panels with focus, wherein when a panel gets focus, it is added to the head of the list, and the dismissal of the panel causes the panel to be removed from the list,
wherein selecting a particular interface mode from among the set of interface modes to specify the arrangement of panels of the user interface is also based at least on the list of panels having focus.
11. The method of claim 1, wherein identifying logical relationships between panels for a user interface comprises:
determining which of the panels for the user interface currently has focus on the user interface,
wherein the logical relationship corresponding to the particular interface mode describes that the particular panel has focus, an
Wherein determining that the logical relationship between the panels for the user interface matches the logical relationship corresponding to the particular interface mode comprises: it is determined that the panel currently having focus on the user interface matches the panel described by the particular interface mode as having focus.
12. The method of claim 1, wherein providing a user interface having panels arranged in the user interface according to the particular interface mode selected comprises:
identifying a location and a size of a panel described by a particular interface mode; and
the panels in the set of panels are mapped to the positions and sizes of the panels described by the particular interface mode.
13. The method of claim 1, comprising:
determining characteristics of a device on which the interface is to be displayed,
wherein obtaining the set of interface modes comprises:
an initial set of interface modes are obtained each describing a device requirement,
determining whether a characteristic of the device satisfies a device requirement described by each interface mode in the initial set of interface modes, an
The set of interface modes is generated to include only interface modes in the initial set of interface modes that describe device requirements satisfied by the characteristics of the device.
14. A system, comprising:
a data processing device; and
a non-transitory computer readable storage medium in data communication with a data processing apparatus and storing instructions executable by the data processing apparatus and that, when so executed, cause the data processing apparatus to perform operations comprising:
identifying, by the one or more computing devices, a logical relationship between panels of a user interface for the one or more computing devices;
obtaining, by one or more computing devices, a set of interface patterns that correspond to different logical relationships between panels and that describe different spatial relationships for arranging panels having respective logical relationships;
determining, by the one or more computing devices, that at least one of the logical relationships between the panels for the user interface matches a logical relationship corresponding to the particular interface mode;
in response to determining that at least one of the logical relationships between the panels for the user interface matches a logical relationship corresponding to a particular interface mode, selecting, by the one or more computing devices, the particular interface mode from among the set of interface modes to specify an arrangement of the panels for the user interface; and
providing, by one or more computing devices, a user interface having panels arranged in the user interface according to the particular interface mode selected.
15. The system of claim 14, wherein the logical relationship corresponding to the particular interface mode comprises a relationship indicating creation of the first panel from the second panel.
16. The system of claim 14, wherein the panel for the user interface comprises:
a context menu of applications;
a different window of the application; or
Different windows for different applications.
17. The system of claim 14, wherein determining that at least one of the logical relationships between the panels for the user interface matches a logical relationship corresponding to a particular interface mode comprises:
determining a first relationship similarity score for the particular interface mode based on the logical relationship corresponding to the particular interface mode and the logical relationship between the panels for the user interface;
determining a second relationship similarity score for the second interface mode based on the logical relationship corresponding to the second interface mode and the logical relationship between the panels for the user interface; and
determining that the first relationship similarity score indicates a level of similarity between the logical relationship corresponding to the particular interface mode and the logical relationship between the panels for the user interface that is higher than a level of similarity between the logical relationship corresponding to the second interface mode and the logical relationship between the panels for the user interface indicated by the second relationship similarity score; and
wherein determining that at least one of the logical relationships between the panels for the user interface matches a logical relationship corresponding to the particular interface mode is based on determining that the first relationship similarity score indicates a higher level of similarity than the second relationship similarity score indicates.
18. The system of claim 14, wherein identifying logical relationships between panels for a user interface comprises one or more of:
identifying the first panel as a child panel of the second panel;
identifying that the first panel is a sibling panel of the second panel;
identifying that the first panel is subordinate to the second panel;
identifying that the first panel is embedded within the second panel;
identifying a first panel in series with a second panel; or
The first panel is identified to control the second panel.
19. The system of claim 14, wherein identifying logical relationships between panels for a user interface comprises:
a node graph is generated in which each node represents a panel and edges between the nodes represent logical relationships between the panels.
20. A computer-readable storage device encoded with a computer program, the program comprising instructions that when executed by one or more computers cause the one or more computers to perform operations comprising:
identifying, by the one or more computing devices, a logical relationship between panels of a user interface for the one or more computing devices;
obtaining, by one or more computing devices, a set of interface patterns that correspond to different logical relationships between panels and that describe different spatial relationships for arranging panels having respective logical relationships;
determining, by the one or more computing devices, that at least one of the logical relationships between the panels for the user interface matches a logical relationship corresponding to the particular interface mode;
in response to determining that at least one of the logical relationships between the panels for the user interface matches a logical relationship corresponding to a particular interface mode, selecting, by the one or more computing devices, the particular interface mode from among the set of interface modes to specify an arrangement of the panels for the user interface; and
providing, by one or more computing devices, a user interface having panels arranged in the user interface according to the particular interface mode selected.
Technical Field
This specification describes technologies relating to generation of user interfaces.
Background
A graphical user interface is displayed on the device to enable a user to interact with the device. For example, the graphical user interface may include a menu with options from which the user may select.
Disclosure of Invention
The graphical user interface may display information to the user in the form of one or more panels (panels). For example, the graphical user interface may include a single panel, two side-by-side panels, one panel on top of a second panel, or some other arrangement of panels. The panels may be a graphical arrangement of information grouped together for presentation to a user. For example, a panel may be a window of a browser's website, a window of an email application, a context menu, an image, or some other graphical arrangement of information.
The panels may be displayed in a predetermined manner as specified by the application. For example, it may be hard coded into an email application: the email application is shown in a first panel and when the user clicks on a particular context menu, that particular context menu should be displayed in a second panel that overlays a portion of the first panel. However, displaying the panel in a hard-coded, predetermined manner specified by the application may result in a graphical user interface that is unable to accommodate the system context in which the user interface is invoked, potentially rendering the user interface unsuitable for use. For example, the device may have displayed a third panel alongside the first panel, such that the second panel overlays the first panel when shown. Depending on the hard-coded instructions used to display the second panel, the second panel may, for example, be too small for a user to interact with, may incorrectly obscure a portion of the first or third panel, or may be obscured by a portion of the first or third panel.
To overcome these problems, the system may generate a graphical user interface that includes one or more panels arranged according to spatial relationships described by a particular interface schema. The interface mode may be selected from among a plurality of interface modes based on a respective logical relationship described by the interface mode and at least one logical relationship of one or more panels to be displayed. The logical relationship between panels may indicate one or more of a dependency, hierarchy, or similarity between panels. The spatial relationship between the panels may indicate one or more of the size, shape, or position of the panels relative to each other.
For example, the system may determine that three panels for display have a particular logical relationship with each other that matches the logical relationship described by the first schema, where the first schema also describes the spatial relationship in which the panels are to be displayed with the first panel occupying the left side of the screen and the second and third panels evenly sharing the right side of the screen. In another example, the system may determine that three panels have a particular logical relationship with each other that matches the logical relationship described by the second schema, where the second schema also describes the spatial relationship in which the panels are to be displayed in which all three panels are shown side-by-side. In yet another example, the system may determine that three panels have a particular logical relationship between each other that matches the logical relationship described by the third schema, where the third schema also describes the spatial relationship in which the panels are to be displayed showing the first panel and the banner for switching from the first panel to the second panel and the third panel.
Thus, the system may enable the operating system to dynamically rearrange panels for the same or different applications as the panels are opened and closed. The interface mode may be such that the rearrangement of panels is based on logical relationships between panels, rather than on hard-coded instructions that specify that a particular panel must always be shown in a particular manner. Thus, the system enables the operating system to dynamically respond to a particular operating context of the user interface as a whole by generating a new user interface when a different panel is invoked by an application.
One innovative aspect of the subject matter described in this specification is embodied in methods that include the actions of: identifying, by the one or more computing devices, a logical relationship between panels of a user interface for the one or more computing devices; obtaining, by one or more computing devices, a set of interface patterns that correspond to different logical relationships between panels and that each describe different spatial relationships for arranging panels having respective logical relationships; determining, by the one or more computing devices, that at least one of the logical relationships between the panels for the user interface matches a logical relationship corresponding to the particular interface mode; in response to determining that at least one of the logical relationships between the panels for the user interface matches a logical relationship corresponding to a particular interface mode, selecting, by the one or more computing devices, the particular interface mode from among the set of interface modes to specify an arrangement of the panels of the user interface; and providing, by the one or more computing devices, a user interface having panels arranged in the user interface according to the particular interface mode selected.
Other embodiments of this aspect include corresponding computer systems, apparatus, and computer programs recorded on one or more computer storage devices, each configured to perform the actions of these methods. A system of one or more computers may be configured to perform particular operations or actions by installing software, firmware, hardware, or a combination thereof on the system that in operation cause the system to perform the actions. One or more computer programs may be configured to perform particular operations or actions by including instructions that, when executed by a data processing apparatus, cause the apparatus to perform the actions.
The foregoing and other embodiments may each optionally, individually or in combination include one or more of the following features. For example, in some aspects, the logical relationship corresponding to a particular interface mode may include a relationship indicating that a first panel was created from a second panel. In some aspects, a panel for a user interface may include a context menu for an application, different windows for an application, or different windows for different applications.
In some implementations, determining that at least one of the logical relationships between the panels for the user interface matches a logical relationship corresponding to a particular interface mode can include: determining a first relationship similarity score for a particular interface mode based on a logical relationship corresponding to the particular interface mode and a logical relationship between panels for the user interface, determining a second relationship similarity score for a second interface mode based on the logical relationship corresponding to the second interface mode and a logical relationship between panels for the user interface, and determining that the first relationship similarity score indicates a level of similarity between the logical relationship corresponding to the particular interface mode and the logical relationship between panels for the user interface that is higher than a level of similarity between the logical relationship corresponding to the second interface mode and the logical relationship between panels for the user interface indicated by the second relationship similarity score, and wherein determining that at least one of the logical relationships between panels for the user interface matches the logical relationship corresponding to the particular interface mode is based on determining that the first relationship similarity score indicates a similarity between the first interface mode and the second interface mode The score indicates a higher level of similarity than the level of similarity indicated by the second similarity score.
In some aspects, identifying logical relationships between panels for a user interface may include one or more of: identifying that the first panel is a child of the second panel, identifying that the first panel is a sibling of the second panel, identifying that the first panel is subordinate to the second panel, identifying that the first panel is embedded within the second panel, identifying that the first panel is in series with the second panel, or identifying that the first panel controls the second panel. In some aspects, identifying logical relationships between panels for a user interface may include: a graph of nodes is generated, where each node represents a panel and edges between nodes represent logical relationships between panels. In some embodiments, each edge in a node graph may represent a type of logical relationship that exists between panels represented by nodes connected by the edge. In some aspects, the particular interface mode may describe a second node graph, wherein each node represents a panel and edges between the nodes represent logical relationships between the panels, wherein a particular edge of the second node graph represents at least one logical relationship described by the particular interface mode, the determining that the logical relationship between the panels in the identified set of panels matches the at least one logical relationship between the panels described by the particular interface mode comprising: it is determined that the node map includes edges representing logical relationship types that match logical relationship types represented by specific edges of the second node map.
In some aspects, the actions may include identifying an additional panel for the user interface, and in response to identifying the additional panel for the user interface, adding an additional node corresponding to the additional panel to the node graph and adding at least one additional edge from the additional node to another node of the node graph, wherein the additional edge represents a logical relationship between the additional node and the another node of the node graph. In some implementations, the action can include generating a list of panels having focus, wherein when a panel obtains focus, it is added to a head of the list and cancellation of the panel causes the panel to be removed from the list, wherein selecting a particular interface mode from among the set of interface modes to specify the arrangement of the panel of the user interface is also based at least on the list of panels having focus.
In some aspects, identifying logical relationships between panels for a user interface may include: determining which of the panels for the user interface currently has focus on the user interface, wherein the logical relationship corresponding to the particular interface mode describes that the particular panel has focus, and determining that the logical relationship between the panels for the user interface matches the logical relationship corresponding to the particular interface mode comprises: it is determined that the panel currently having focus on the user interface matches the panel described by the particular interface mode as having focus.
In some implementations, providing a user interface having panels arranged in the user interface according to the particular interface mode selected can include: the position and size of the panel described by the particular interface mode is identified and the panels in the set of panels are mapped to the position and size of the panel described by the particular interface mode.
In some aspects, the actions may include: determining characteristics of a device on which an interface is to be displayed, wherein obtaining the set of interface modes includes obtaining an initial set of interface modes that each describe a device requirement, determining whether the characteristics of the device meet the device requirements described by each of the initial set of interface modes, and generating the set of interface modes to include only the interface modes in the initial set of interface modes that describe the device requirements met by the characteristics of the device.
The details of one or more embodiments of the subject matter described in this specification are set forth in the accompanying drawings and the description below. Other features, aspects, and advantages of the subject matter will become apparent from the description, the drawings, and the claims.
Drawings
FIG. 1 is a block diagram of an example environment for generating an interface.
FIG. 2 is a block diagram of an example representation of data for generating an interface.
Fig. 3 is a flowchart showing an example of a process of providing data of an interface.
FIG. 4 is a schematic diagram of a computer system.
Like reference numbers and designations in the various drawings indicate like elements.
Detailed Description
FIG. 1 is a block diagram of an
The
As shown in FIG. 1, the relationship information describes that "Panel C" is a child of "Panel B", and that "Panel B" is a child of "Panel A". Panel a is shown as a calendar interface where a user can select one date, panel B is shown as a time interface where a user can select a time period for the selected date, and panel C is shown as an event interface where a user can enter details of the selected time period for the selected date. In some implementations, the
The
The
The
Each interface schema of the plurality of interface schemas may describe a corresponding logical relationship between the panels and a spatial relationship describing how the panels that match the logical relationship are displayed. For example, a first interface mode "mode A" may describe displaying two panels having a parent-child relationship on a screen having a landscape format, where the parent panel is in the left half and the child panel is in the right half. The second interface mode "mode B" may describe displaying two panels having a parent-child relationship on a screen having a portrait format, where a child panel occupying one half of the screen is above a parent panel occupying the other half of the screen. The third interface mode, "mode C," may describe displaying three panels with a parent-child-nested child relationship on a screen having a landscape format, where the parent panel is in the upper left quadrant, the child panel is in the lower left quadrant, and the nested child panel is in the right half.
In some embodiments, the interface mode may additionally or alternatively describe an aspect as a behavior. For example, the interface mode may describe that the scroll position between particular panels of the interface mode should be synchronized, or that a particular animation should be shown in response to a particular user interaction when the interface mode is used.
The
The
In some implementations, the interface mode can additionally describe which panels have focus in the
In some implementations, the interface mode can describe a requirement. For example, an interface mode may describe two sibling panels shown side by side, but each panel has a resolution of at most at least 600 × 600. Thus, if the
Although fig. 1 shows the
In some implementations, the
FIG. 2 is a block diagram of an
When the system determines to display a sub-panel, the
When the system determines to display nested sub-panels,
As shown in FIG. 2, with the appearance of a new panel for the user interface, new nodes may be added to the node graph along with corresponding edges. Similarly, when a panel is cancelled or no longer needed for the user interface, existing nodes and corresponding edges can be removed from the node graph. For example, when a panel corresponding to a third node labeled "C" is killed, the dashed edges and nodes shown in
In some implementations, a list of panels with focus can be generated and stored separately from the node map. The list of panels may represent the panel with focus, where when the panel gets focus, it is added as the head of the list, and the dismissal of the panel causes the panel to be removed from the list. This list may be used as a signal for ordering the panels. For example, the list is used to select an interface mode, or to determine which panels to display once the interface mode is selected.
FIG. 3 is a flow chart illustrating an example of a
Logical relationships between panels for a user interface may be identified (310). For example,
In some implementations, identifying logical relationships between panels includes generating a node graph in which each node represents a panel and edges between nodes represent logical relationships between panels. For example, the
In some implementations, a node map can be generated when the
A set of interface patterns is obtained that correspond to different logical relationships between the panels and that describe different spatial relationships for arranging the panels (320). For example, the
At least one of the logical relationships between the panels for the user interface is determined to match a logical relationship corresponding to a particular interface mode (330). For example, the
In some implementations, determining that at least one of the logical relationships between the panels for the user interface matches a logical relationship corresponding to a particular interface mode includes: determining a first relationship similarity score for a particular interface mode based on a logical relationship corresponding to the particular interface mode and a logical relationship between panels for the user interface, determining a second relationship similarity score for a second interface mode based on the logical relationship corresponding to the second interface mode and a logical relationship between panels for the user interface, and determining that the first relationship similarity score indicates a level of similarity between the logical relationship corresponding to the particular interface mode and the logical relationship between panels for the user interface that is higher than a level of similarity between the logical relationship corresponding to the second interface mode and the logical relationship between panels for the user interface indicated by the second relationship similarity score, wherein determining that at least one of the logical relationships between panels for the user interface matches the logical relationship corresponding to the particular interface mode is based on determining that the first relationship similarity score indicates a level of similarity between panels for the user interface The level of similarity is shown to be higher than the level of similarity indicated by the second similarity score. For example, the
In some embodiments, the particular interface mode describes a second node graph, wherein each node represents a panel and edges between the nodes represent logical relationships between the panels, wherein a particular edge of the second node graph represents at least one logical relationship described by the particular interface mode, the determining that the logical relationship between the panels in the identified set of panels matches the at least one logical relationship between the panels described by the particular interface mode comprises: it is determined that the node map includes edges representing logical relationship types that match the logical relationship types represented by the specific edges of the second node map.
An interface mode may be selected from among the set of interface modes based at least on relationships between panels in the set of panels (340). For example, based on the obtained relationship information that describes three panels for display as being in a coplanar relationship, the
In some implementations, identifying the logical relationship between panels for the user interface includes: determining which of the panels for the user interface currently has focus on the user interface, wherein the logical relationship corresponding to the particular interface mode describes an arrangement of panels in which the particular panel has focus, and wherein determining that the logical relationship between the panels for the user interface matches the logical relationship corresponding to the particular interface mode comprises: it is determined that the panel currently having focus on the user interface matches the panel described by the particular interface mode as having focus.
A user interface (350) may be provided having panels arranged according to the particular interface mode selected. For example,
In some implementations, the
In some implementations, the
Embodiments of the subject matter and the operations described in this specification can be implemented in digital electronic circuitry, or in computer software, firmware, or hardware, including the structures disclosed in this specification and their structural equivalents, or in combinations of one or more of them. Embodiments of the subject matter described in this specification can be implemented as one or more computer programs, i.e., one or more modules of computer program instructions, encoded on a computer storage medium for execution by, or to control the operation of, data processing apparatus. Alternatively or additionally, the program instructions may be encoded on an artificially generated propagated signal, e.g., a machine-generated electrical, optical, or electromagnetic signal, that is generated to encode information for transmission to suitable receiver apparatus for execution by the data processing apparatus. The computer storage media may be or be embodied in a computer-readable storage device, a computer-readable storage substrate, a random or serial access memory array or device, or a combination of one or more of them. Further, although the computer storage medium is not a propagated signal, the computer storage medium can be a source or destination of computer program instructions encoded in an artificially generated propagated signal. The computer storage medium may also be or be included in one or more separate physical components or media (e.g., multiple CDs, disks, or other storage devices).
The operations described in this specification may be implemented as operations performed by data processing apparatus on data stored on one or more computer-readable storage devices or received from other sources.
The term "data processing apparatus" encompasses all types of apparatus, devices, and machines for processing data, including by way of example a programmable processor, a computer, a system on a chip, or a plurality or combination of the foregoing. An apparatus may comprise, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit). The apparatus can include, in addition to hardware, code that creates a runtime environment for the computer program in question, e.g., code that constitutes processor firmware, a protocol stack, a database management system, an operating system, a cross-platform runtime environment, a virtual machine, or a combination of one or more of them. The apparatus and operating environment may implement a variety of different computing model infrastructures, such as web services, distributed computing and grid computing infrastructures.
A computer program (also known as a program, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, declarative or procedural languages, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, object, or other unit suitable for use in a computing environment. A computer program may, but need not, correspond to a file in a file system. A program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub programs, or portions of code). A computer program can be deployed to be executed on one computer or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a communication network.
The processes and logic flows described in this specification can be performed by one or more programmable processors executing one or more computer programs to perform actions by operating on input data and generating output. The processes and logic flows can also be performed by, and apparatus can also be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit).
Processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer. Generally, a processor will receive instructions and data from a read-only memory or a random access memory or both. The essential elements of a computer are a processor for performing actions in accordance with the instructions and one or more memory devices for storing instructions and data. Generally, a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto-optical disks, or optical disks. However, a computer does not require such a device. Furthermore, a computer may be embedded in another device, e.g., a mobile telephone, a Personal Digital Assistant (PDA), a mobile audio or video player, a game player, a Global Positioning System (GPS) receiver, or a portable memory device (e.g., a Universal Serial Bus (USB) flash drive), to name a few. Devices suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, including by way of example semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices; magnetic disks, such as internal hard disks or removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.
To provide for interaction with a user, embodiments of the subject matter described in this specification can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other types of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback, such as visual feedback, auditory feedback, or tactile feedback; and input from the user may be received in any form, including acoustic, speech, or tactile input. Further, the computer may interact with the user by sending and receiving documents to and from the device used by the user; for example, by sending a web page to a web browser on the user device of the user in response to a request received from the web browser.
Embodiments of the subject matter described in this specification can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the subject matter described in this specification), or any combination of one or more such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN") and a wide area network ("WAN"), an internetwork (e.g., the internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network).
The computing system may include a user and a server. A user and server are generally remote from each other and typically interact through a communication network. The relationship of user and server arises by virtue of computer programs running on the respective computers and having a user-server relationship to each other. In some embodiments, the server sends data (e.g., an HTML web page) to the user device (e.g., for displaying data to and receiving user input from a user interacting with the user device). Data generated at the user device (e.g., a result of the user interaction) may be received at the server from the user device.
An example of one such type of computer is shown in FIG. 4, which shows a schematic diagram of a general-
The
The input/output device 440 provides input/output operations for the
While this specification contains many specific implementation details, these should not be construed as limitations on the scope of what may be claimed, but rather as descriptions of features specific to particular embodiments. Certain features that are described in this specification in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination. Furthermore, although features may be described above as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a subcombination or variation of a subcombination.
Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In some cases, multitasking and parallel processing may be advantageous. Moreover, the separation of various system components in the embodiments described above should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.
Thus, particular embodiments of the subject matter have been described. Other embodiments are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve desirable results. Moreover, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may be advantageous.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:分布式处理过程数据