CN107341017B - UI design method, device, equipment and storage medium - Google Patents

UI design method, device, equipment and storage medium Download PDF

Info

Publication number
CN107341017B
CN107341017B CN201710525499.1A CN201710525499A CN107341017B CN 107341017 B CN107341017 B CN 107341017B CN 201710525499 A CN201710525499 A CN 201710525499A CN 107341017 B CN107341017 B CN 107341017B
Authority
CN
China
Prior art keywords
design
service
application
foreground
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710525499.1A
Other languages
Chinese (zh)
Other versions
CN107341017A (en
Inventor
赵科
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201710525499.1A priority Critical patent/CN107341017B/en
Publication of CN107341017A publication Critical patent/CN107341017A/en
Application granted granted Critical
Publication of CN107341017B publication Critical patent/CN107341017B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/22Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Abstract

The embodiment of the invention discloses a UI design method, a device, equipment and a storage medium. The UI design method comprises the following steps: a foreground user interface UI design application requests UI design service data from a background UI service application according to UI design service requirements; and the foreground UI design application displays a UI design result according to the UI design service data. The embodiment of the invention provides UI design service requirements through foreground UI design application, provides UI interface design service data through background UI service application, finishes UI interface design through foreground UI design application and background UI service application together, decouples UI design and service logic, and can achieve the purpose of UI design with lower cost.

Description

UI design method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of voice recognition, in particular to a UI design method, a device, equipment and a storage medium.
Background
UI is short for User Interface. Generally refers to the overall design of human-computer interaction, operation logic and attractive interface of software. The good UI design not only enables the software to become individual and tasteful, but also enables the operation of the software to become comfortable, simple and free, and fully embodies the positioning and characteristics of the software.
In the process of developing the application, different channels or different manufacturers have different customization requirements on the UI of the application in order to keep the interface elements of the application consistent with the interface style of the android system as much as possible, and particularly the problem expression in the vehicle-mounted voice application is particularly prominent.
Disclosure of Invention
The embodiment of the invention provides a UI design method, a device, equipment and a storage medium, which can improve the UI design efficiency.
In a first aspect, an embodiment of the present invention provides a UI design method, where the method includes:
a foreground user interface UI design application requests UI design service data from a background UI service application according to UI design service requirements;
and the foreground UI design application displays a UI design result according to the UI design service data.
In a second aspect, an embodiment of the present invention further provides a UI design method, where the method includes:
a background UI service application receives UI design service requirements sent by a foreground UI design application;
and the background UI service application returns UI design service data to the foreground UI design application so as to display a UI design result according to the UI design service data.
In a third aspect, an embodiment of the present invention further provides a UI design apparatus, which is arranged in a foreground UI design application, and includes:
the data request module is used for requesting UI interface design service data to the background UI service application according to the UI design service requirement;
and the UI design module is used for displaying a UI design result according to the UI design service data.
In a fourth aspect, an embodiment of the present invention further provides a UI design apparatus, which is arranged in a foreground UI design application, and includes:
the service requirement receiving module is used for receiving UI design service requirements sent by foreground UI design application;
and the data return module is used for returning UI design service data to the foreground UI design application so as to display a UI design result according to the UI design service data.
In a fifth aspect, an embodiment of the present invention further provides an apparatus, including:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the UI design method according to the first aspect of the present invention.
In a sixth aspect, an embodiment of the present invention further provides an apparatus, including:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the UI design method according to the second aspect of the present invention.
In a seventh aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the UI design method according to the first aspect of the embodiment of the present invention.
In an eighth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the UI design method according to the second aspect of the embodiment of the present invention.
The embodiment of the invention provides UI design service requirements through foreground UI design application, provides UI interface design service data through background UI service application, finishes UI interface design through foreground UI design application and background UI service application together, decouples UI design and service logic, and can achieve the purpose of UI design with lower cost.
Drawings
FIG. 1 is a flowchart of a UI design method according to an embodiment of the invention;
FIG. 2 is a flowchart of a UI design method according to a second embodiment of the invention;
FIG. 3 is a flowchart of a UI design method provided by a third embodiment of the invention;
fig. 4 is a structural diagram of a UI designing apparatus according to a fourth embodiment of the present invention;
fig. 5 is a structural diagram of a UI designing apparatus according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer device according to a sixth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention are described in further detail below with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention.
It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a UI design method provided in an embodiment of the present invention, where this embodiment is applicable to a UI interface design situation, and the method may be executed by a UI design apparatus provided in an embodiment of the present invention, where the apparatus may be implemented in a software and/or hardware manner, and the apparatus may be integrated in a terminal device or an application of the terminal device. The terminal device may be, but is not limited to, a mobile terminal (tablet computer or smart phone), or a fixed terminal device (e.g., desktop computer).
The application can be a plug-in of a certain client embedded in the terminal equipment or a plug-in of an operating system of the terminal equipment, and is matched with a UI design client embedded in the terminal equipment or a UI design application program in the operating system of the terminal equipment for use; the application may also be an independent client capable of providing a UI design in the terminal device, which is not limited in this embodiment.
As shown in fig. 1, the method of this embodiment specifically includes:
s101, the foreground user interface UI design application requests UI design service data from the background UI service application according to UI design service requirements.
The foreground UI design application and the background UI service application are application programs developed by research and development personnel, run in the foreground and are mainly used for interacting with users, receiving UI design service requirements input by users or suppliers, or providing Dialog box dialogs or component activities, such as voice state and semantic result display. Background UI service applications run in the background and are mainly used to provide service data and/or service logic codes, such as live recording, speech recognition, semantic parsing, and the like.
One communication mode that can be selected between the foreground UI design application and the background UI service application is to use the foreground UI design application as a foreground Client process, use the background UI service application as a background service process, use the foreground UI design application and the background UI service application, and perform inter-process communication through an Android Interface Definition Language (AIDL).
For example, when the foreground UI design application is started, the Client is used as a Client terminal to actively connect a service in the background UI service application, so that data can be communicated and transferred between the background service and the Client through the aid id.
Specifically, the foreground UI design application sends UI design service requirements to the background UI service application through aid dl communication, and the background UI service application obtains UI interface design service data according to the UI design service requirements and returns the UI interface design service data to the foreground UI design application through aid dl communication.
And S102, displaying a UI design result by the foreground UI design application according to the UI design service data.
For example, a speech recognition result, a semantic parsing result, or the like is displayed.
In the embodiment, the UI design service requirement is provided through the foreground UI design application, the UI interface design service data is provided through the background UI service application, the UI design is completed through the foreground UI design application and the background UI service application together, the UI design and the service logic are decoupled, and the purpose of UI design can be achieved with low cost.
Example two
Fig. 2 is a flowchart of a UI design method according to a second embodiment of the present invention. The present embodiment is optimized based on the above embodiment, and in the present embodiment, the method further includes the following steps: the foreground UI design application provides a Software Development Kit (SDK) interface and/or a UI interface design code to the supplier equipment; and the foreground UI design application receives the UI design service requirement sent by the supplier equipment through the SDK interface.
Correspondingly, as shown in fig. 2, the method of the embodiment specifically includes:
s201, the foreground UI design application provides Software Development Kit (SDK) interface and/or UI interface design code to the supplier equipment.
Specifically, the SDK interface and the UI interface template application code may be provided to Original Equipment Manufacturers (OEMs) of various channels or a primary manufacturing provider Tier One, which modifies template frame interface elements according to their interface styles and sends UI design service requirements to foreground UI design applications through the SDK interface.
The foreground UI design application requests UI interface design service data from the background UI service application according to UI design service requirements, and after the background UI service application processes service logic and returns different results through AIDL, the foreground UI design application can display according to the results.
S202, receiving UI design service requirements sent by the supplier equipment through the SDK interface by the foreground UI design application.
And S203, the foreground UI design application requests UI interface design service data from the background UI service application according to the UI design service requirements.
And S204, displaying a UI design result by the foreground UI design application according to the UI design service data.
Specifically, the foreground UI design application of this embodiment may provide an SDK interface and UI interface template application codes to Original Equipment Manufacturers (OEMs) of various channels or a primary Manufacturer Tier One, and modify template frame interface elements according to their interface styles, and send UI design service requirements to the foreground UI design application through the SDK interface.
The foreground UI design application requests UI interface design service data from the background UI service application according to UI design service requirements, and after the background UI service application processes service logic and returns different results through AIDL, the foreground UI design application can display according to the results.
In this embodiment, by providing the SDK interface and/or the UI interface design code of the software development kit to the provider device, the provider device can customize the UI design, and receive the UI design service requirement sent by the provider device through the SDK interface, and further request the UI interface design service data from the background UI service application according to the UI design service requirement, so that the purpose of customizing the UI design can be achieved at a low cost.
EXAMPLE III
Fig. 3 is a flowchart of a UI design method provided by a third embodiment of the present invention. The embodiment is applicable to the case of UI interface design, and the method can be executed by the UI design apparatus provided in the embodiment of the present invention, the apparatus can be implemented in a software and/or hardware manner, and the apparatus can be integrated in a terminal device or an application of the terminal device. The terminal device may be, but is not limited to, a mobile terminal (tablet computer or smart phone), or a fixed terminal device (e.g., desktop computer).
The application can be a plug-in of a certain client embedded in the terminal equipment or a plug-in of an operating system of the terminal equipment, and is matched with a UI design client embedded in the terminal equipment or a UI design application program in the operating system of the terminal equipment for use; the application may also be an independent client capable of providing a UI design in the terminal device, which is not limited in this embodiment.
Correspondingly, as shown in fig. 3, the method of the embodiment specifically includes:
s301, the background UI service application receives UI design service requirements sent by the foreground UI design application.
The background UI service application and the foreground UI design application are application programs developed by research personnel. Background UI service applications run in the background and are mainly used to provide service data and/or service logic codes, such as live recording, speech recognition, semantic parsing, and the like. The foreground user interface UI design application runs in the foreground and is mainly used for interacting with a user, receiving UI design business requirements input by the user or a supplier, or providing Dialog box dialogs or component activities, such as voice states, semantic result display and the like.
One communication mode selectable between the background UI service application and the foreground UI design application is to use the background UI service application as a background service process, use the foreground UI design application and the background UI service application, use the foreground UI design application as a foreground Client process, and perform interprocess communication through AIDL.
For example, when the foreground UI design application is started, the Client is used as a Client terminal to actively connect a service in the background UI service application, so that data can be communicated and transferred between the background service and the Client through the aid id.
Specifically, the foreground UI design application sends UI design service requirements to the background UI service application through aid dl communication, and the background UI service application obtains UI interface design service data according to the UI design service requirements and returns the UI interface design service data to the foreground UI design application through aid dl communication.
S302, the background UI service application returns UI design service data to the foreground UI design application so that a UI design result is displayed according to the UI design service data.
Specifically, after receiving the UI design service data, the foreground UI design application displays a UI design result according to the UI design service data. For example, a speech recognition result, a semantic parsing result, or the like is displayed.
In the embodiment, the UI design service requirement is provided through the foreground UI design application, the UI interface design service data is provided through the background UI service application, the UI design is completed through the foreground UI design application and the background UI service application together, the UI design and the service logic are decoupled, and the purpose of UI design can be achieved with low cost.
Example four
Fig. 4 is a structural diagram of a UI designing apparatus according to a fourth embodiment of the present invention. The embodiment can be applied to the case of UI interface design, the apparatus can be implemented in a software and/or hardware manner, and the apparatus can be integrated in a terminal device or an application of the terminal device. The terminal device may be, but is not limited to, a mobile terminal (tablet computer or smart phone), or a fixed terminal device (e.g., desktop computer).
The application can be a plug-in of a certain client embedded in the terminal equipment or a plug-in of an operating system of the terminal equipment, and is matched with a UI design client embedded in the terminal equipment or a UI design application program in the operating system of the terminal equipment for use; the application may also be an independent client capable of providing a UI design in the terminal device, which is not limited in this embodiment.
As shown in fig. 4, the apparatus is arranged in a foreground UI service application, and includes: a data request module 401 and a UI design module 402. Wherein:
the data request module 401 is configured to request UI interface design service data from a background UI service application according to a UI design service requirement;
the UI design module 402 is configured to display a UI interface design result according to the UI interface design service data.
The UI design apparatus of this embodiment is used to execute the UI design method of each of the above embodiments, and the technical principle and the generated technical effect are similar, which are not described herein again.
On the basis of the above embodiments, foreground UI design application is used as a foreground Client process, background UI service application is used as a background service process, foreground UI design application and background UI service application perform inter-process communication through an Android interface definition language.
On the basis of the above embodiments, the apparatus further includes: an interface module 403;
the interface module 403 is used for providing software development kit SDK interface and/or UI interface design code to the vendor device; and receiving UI design service requirements sent by the supplier equipment through the SDK interface.
The UI design device provided in each of the above embodiments may execute the UI design method provided in any embodiment of the present invention, and has functional modules and advantageous effects corresponding to the execution of the UI design method.
EXAMPLE five
Fig. 5 is a structural diagram of a UI designing apparatus according to a fifth embodiment of the present invention. The embodiment can be applied to the case of UI interface design, the apparatus can be implemented in a software and/or hardware manner, and the apparatus can be integrated in a terminal device or an application of the terminal device. The terminal device may be, but is not limited to, a mobile terminal (tablet computer or smart phone), or a fixed terminal device (e.g., desktop computer).
The application can be a plug-in of a certain client embedded in the terminal equipment or a plug-in of an operating system of the terminal equipment, and is matched with a UI design client embedded in the terminal equipment or a UI design application program in the operating system of the terminal equipment for use; the application may also be an independent client capable of providing a UI design in the terminal device, which is not limited in this embodiment.
As shown in fig. 5, the apparatus is disposed in a background UI service application, and includes: a service requirement receiving module 501 and a data returning module 502, wherein:
the service requirement receiving module 501 is configured to receive a UI design service requirement sent by a foreground UI design application;
the data returning module 502 is configured to return UI interface design service data to the foreground UI design application, so that a UI interface design result is displayed according to the UI interface design service data.
The UI design apparatus of this embodiment is used to execute the UI design method of each of the above embodiments, and the technical principle and the generated technical effect are similar, which are not described herein again.
On the basis of the above embodiments, the background UI service application is used as a background service process, the foreground UI design application is used as a foreground Client process, the foreground UI design application and the background UI service application perform inter-process communication through an Android interface definition language.
The UI design device provided in each of the above embodiments may execute the UI design method provided in any embodiment of the present invention, and has functional modules and advantageous effects corresponding to the execution of the UI design method.
EXAMPLE six
Fig. 6 is a schematic structural diagram of an apparatus according to a sixth embodiment of the present invention. Foreground UI service application and background UI service application are installed in the equipment. FIG. 6 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in FIG. 6 is only an example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 6, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, and commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with computer device 12, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, computer device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via network adapter 20. As shown in FIG. 6, the network adapter 20 communicates with the other modules of the computer device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing a UI design method provided by an embodiment of the present invention:
a foreground user interface UI design application requests UI design service data from a background UI service application according to UI design service requirements;
and the foreground UI design application displays a UI design result according to the UI design service data.
Further, the foreground UI design application is used as a foreground Client process, the background UI service application is used as a background service process, and the foreground UI design application and the background UI service application perform interprocess communication through an Android interface definition language AIDL.
Further, the method further comprises:
the foreground UI design application provides software development kit SDK interface and/or UI interface design codes to the supplier equipment;
and the foreground UI design application receives the UI design service requirement sent by the supplier equipment through the SDK interface.
EXAMPLE seven
The seventh embodiment of the invention provides a structural schematic diagram of equipment. Foreground UI service application and background UI service application are installed in the equipment. With specific reference to FIG. 6, FIG. 6 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in FIG. 6 is only an example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 6, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, and commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with computer device 12, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, computer device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via network adapter 20. As shown in FIG. 6, the network adapter 20 communicates with the other modules of the computer device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing a UI design method provided by an embodiment of the present invention:
a background UI service application receives UI design service requirements sent by a foreground UI design application;
and the background UI service application returns UI design service data to the foreground UI design application so as to display a UI design result according to the UI design service data.
Further, the background UI service application is used as a background service process, the foreground UI design application is used as a foreground Client process, and the foreground UI design application and the background UI service application are used for inter-process communication through an Android interface definition language.
Example eight
Embodiment 8 of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the UI design method provided in all the embodiments of the present invention:
a foreground user interface UI design application requests UI design service data from a background UI service application according to UI design service requirements;
and the foreground UI design application displays a UI design result according to the UI design service data.
Further, the foreground UI design application is used as a foreground Client process, the background UI service application is used as a background service process, and the foreground UI design application and the background UI service application perform interprocess communication through an Android interface definition language AIDL.
Further, the method further comprises:
the foreground UI design application provides software development kit SDK interface and/or UI interface design codes to the supplier equipment;
and the foreground UI design application receives the UI design service requirement sent by the supplier equipment through the SDK interface.
Example nine
Embodiment 9 of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the UI design method provided in all the embodiments of the present invention:
a background UI service application receives UI design service requirements sent by a foreground UI design application;
and the background UI service application returns UI design service data to the foreground UI design application so as to display a UI design result according to the UI design service data.
Further, the background UI service application is used as a background service process, the foreground UI design application is used as a foreground Client process, and the foreground UI design application and the background UI service application are used for inter-process communication through an Android interface definition language.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (12)

1. A UI design method, comprising:
a foreground user interface UI design application requests UI design service data from a background UI service application according to UI design service requirements;
the foreground UI design application displays a UI design result according to the UI design service data;
before the foreground UI design application requests UI design service data from the background UI service application according to UI design service requirements, the method further comprises:
the foreground UI design application provides a Software Development Kit (SDK) interface and a UI interface design code to supplier equipment;
the foreground UI design application receives UI design service requirements sent by the supplier equipment through the SDK interface;
wherein the UI design service requirement is obtained by modifying a template frame interface element based on the UI interface design code.
2. The method according to claim 1, wherein the foreground UI design application serves as a foreground Client process, the background UI service application serves as a background service process, and the foreground UI design application and the background UI service application perform interprocess communication through an Android interface definition language AIDL.
3. A UI design method, comprising:
a background UI service application receives UI design service requirements sent by a foreground UI design application;
the background UI service application returns UI design service data to the foreground UI design application so as to display a UI design result according to the UI design service data;
the UI design service requirement is that the foreground UI design application provides a Software Development Kit (SDK) interface and a UI interface design code to supplier equipment, and the software development kit SDK interface and the UI interface design code are sent by the supplier equipment and received through the SDK interface; the UI design service requirement is obtained by modifying the template frame interface element based on the UI interface design code.
4. The method according to claim 3, wherein the background UI service application is used as a background service process, the foreground UI design application is used as a foreground Client process, and the foreground UI design application and the background UI service application perform inter-process communication through an Android interface definition language.
5. A UI design apparatus provided in a foreground user interface UI design application, comprising:
the data request module is used for requesting UI interface design service data to the background UI service application according to the UI design service requirement;
the UI design module is used for displaying a UI design result according to the UI design service data;
the device further comprises:
the interface module is used for providing a Software Development Kit (SDK) interface and a User Interface (UI) interface design code to the supplier equipment; receiving UI design service requirements sent by the supplier equipment through the SDK interface;
wherein the UI design service requirement is obtained by modifying a template frame interface element based on the UI interface design code.
6. The device according to claim 5, wherein the foreground UI design application is used as a foreground Client process, the background UI service application is used as a background service process, and the foreground UI design application and the background UI service application perform inter-process communication through an Android interface definition language.
7. A UI designing apparatus, provided in a background UI service application, comprising:
the service requirement receiving module is used for receiving UI design service requirements sent by foreground UI design application;
the data return module is used for returning UI design service data to the foreground UI design application so as to display a UI design result according to the UI design service data;
the UI design service requirement is that the foreground UI design application provides a Software Development Kit (SDK) interface and a UI interface design code to supplier equipment, and the software development kit SDK interface and the UI interface design code are sent by the supplier equipment and received through the SDK interface; the UI design service requirement is obtained by modifying the template frame interface element based on the UI interface design code.
8. The device according to claim 7, wherein the background UI service application is used as a background service process, the foreground UI design application is used as a foreground Client process, and the foreground UI design application and the background UI service application perform inter-process communication through an Android interface definition language.
9. An apparatus, characterized in that the apparatus comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the UI design method of any of claims 1 or 2.
10. An apparatus, characterized in that the apparatus comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the UI design method as claimed in claim 3 or 4.
11. A computer-readable storage medium on which a computer program is stored, which, when being executed by a processor, implements the UI design method according to any one of claims 1 or 2.
12. A computer-readable storage medium on which a computer program is stored, which, when being executed by a processor, carries out the UI design method as claimed in claim 3 or 4.
CN201710525499.1A 2017-06-30 2017-06-30 UI design method, device, equipment and storage medium Active CN107341017B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710525499.1A CN107341017B (en) 2017-06-30 2017-06-30 UI design method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710525499.1A CN107341017B (en) 2017-06-30 2017-06-30 UI design method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN107341017A CN107341017A (en) 2017-11-10
CN107341017B true CN107341017B (en) 2020-09-15

Family

ID=60219402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710525499.1A Active CN107341017B (en) 2017-06-30 2017-06-30 UI design method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN107341017B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148285B (en) * 2019-06-26 2023-09-26 百度在线网络技术(北京)有限公司 Interface design method and device, electronic equipment and storage medium
CN114827092B (en) * 2022-05-09 2022-11-04 北京迪为双兴通讯技术有限公司 Service processing method of IMS terminal, electronic equipment and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1779782A (en) * 2004-11-26 2006-05-31 佳能株式会社 User interface design apparatus and method
CN101135969A (en) * 2007-09-30 2008-03-05 中兴通讯股份有限公司 User interface design system and method
CN101163297A (en) * 2007-09-18 2008-04-16 中兴通讯股份有限公司 Embedded type interface design device and method
CN102043611A (en) * 2009-10-23 2011-05-04 Tcl集团股份有限公司 System for dynamically generating user interface and implementation method thereof
CN102495735A (en) * 2011-12-14 2012-06-13 方正国际软件有限公司 Web end UI (user interface) component application frame system
CN105094768A (en) * 2014-05-06 2015-11-25 北大方正集团有限公司 Application interface generation method and application interface generation device
CN106201461A (en) * 2016-06-27 2016-12-07 浪潮(北京)电子信息产业有限公司 Generation method, system and the background server at a kind of interface

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7305652B2 (en) * 2004-03-11 2007-12-04 International Business Machines Corporation Standard application development template

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1779782A (en) * 2004-11-26 2006-05-31 佳能株式会社 User interface design apparatus and method
CN101163297A (en) * 2007-09-18 2008-04-16 中兴通讯股份有限公司 Embedded type interface design device and method
CN101135969A (en) * 2007-09-30 2008-03-05 中兴通讯股份有限公司 User interface design system and method
CN102043611A (en) * 2009-10-23 2011-05-04 Tcl集团股份有限公司 System for dynamically generating user interface and implementation method thereof
CN102495735A (en) * 2011-12-14 2012-06-13 方正国际软件有限公司 Web end UI (user interface) component application frame system
CN105094768A (en) * 2014-05-06 2015-11-25 北大方正集团有限公司 Application interface generation method and application interface generation device
CN106201461A (en) * 2016-06-27 2016-12-07 浪潮(北京)电子信息产业有限公司 Generation method, system and the background server at a kind of interface

Also Published As

Publication number Publication date
CN107341017A (en) 2017-11-10

Similar Documents

Publication Publication Date Title
US9934005B2 (en) Dynamically building locale objects or subsections of locale objects based on historical data
US10019298B2 (en) Middleware interface and middleware interface generator
US20210329079A1 (en) Methods, devices and computer-readable storage media for processing a hosted application
US20090199213A1 (en) Automatic Connections Between Application Components
US9384073B2 (en) Cross-extension messaging using a browser as an intermediary
CN110309475B (en) Page display method and device, terminal equipment and storage medium
CN107404418B (en) Internet product testing method, device, equipment and storage medium
CN110049118A (en) Information push method, device, equipment and storage medium
US20180357223A1 (en) Method for providing translation service, and electronic device therefor
CN111240769A (en) Page starting method, device, equipment and storage medium
CN107341017B (en) UI design method, device, equipment and storage medium
KR20140142116A (en) Electronic device and method for providing text transformaation service
US9141353B2 (en) Dynamically building locale objects at run-time
CN114048415A (en) Form generation method and device, electronic equipment and computer readable storage medium
US20200218502A1 (en) Cognitive tag library for custom natural language response rendering
CN111666068B (en) Platform development framework, construction method, equipment and medium
CN111191166B (en) Business page display method and device and electronic equipment
CN111782196A (en) MVP architecture-based development method and device
CN109656728A (en) Page data operating method, device, equipment and medium
CN111046430B (en) Data processing method and device, storage medium and electronic equipment
CN110659097B (en) Language file processing method, device, equipment and storage medium
CN112965699B (en) Front-end page generation method, device, computer system and readable storage medium
WO2023093885A1 (en) Cloud technology-based graphic program online development method and system, and related device
CN112688863B (en) Gateway data processing method and device and electronic equipment
CN115390802A (en) Componentization development method, system, equipment and storage medium of application program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant