Interface generation method, apparatus, and system
AssigneeHuawei Technologies Co., Ltd.
InventorsYixin Chen, Li Chen, Jin Qin, Yu Pan
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to an interface generation method. In one example method, an interface generation apparatus obtains a service requirement of a user. The interface generation apparatus determines, based on the service requirement of the user, interface elements for implementing the service requirement and an association relationship between the interface elements for implementing the service requirement. The interface generation apparatus generates a user interface based on the interface elements for implementing the service requirement and the association relationship between the interface elements for implementing the service requirement.
Claims14
An interface generation method, comprising:
- obtaining, by an interface generation apparatus, a service requirement of a user based on a service description entered by the user through a terminal device;
- determining, by the interface generation apparatus and based on the service requirement of the user and a service requirement-UI control correspondence, UI controls for implementing the service requirement, wherein the service requirement-UI control correspondence and a UI control-service logic correspondence are generated through training using a machine learning process;
- determining, by the interface generation apparatus and based on the UI controls for implementing the service requirement and the UI control-service logic correspondence, service logics for implementing the service requirement;
- and
- generating, by the interface generation apparatus, a user interface based on the UI controls for implementing the service requirement and the service logics for implementing the service requirement;
- wherein before determining, by the interface generation apparatus, the UI controls for implementing the service requirement and the service logics for implementing the service requirement, the method further comprises:
- determining, by a correspondence generation apparatus, sample data, wherein the sample data comprises a plurality of service requirements, a plurality of interface elements, relationship data between each of the plurality of service requirements and at least one of the plurality of interface elements, and relationship data between the plurality of interface elements, wherein the plurality of interface elements comprises the UI controls and the service logics, and wherein determining the sample data comprises at least one of:
- parsing and analyzing Hypertext Markup Language (HTML) statements of user interfaces of a plurality of web pages to determine the sample data;
- or
- determining the sample data based on an operation log of a service staff member;
- and
- generating, based on the sample data, the service requirement-UI control correspondence and the UI control-service logic correspondence.
An interface generation apparatus, comprising:
- a memory configured to store an instruction;
- a receiver coupled to the memory;
- and
- at least one processor coupled to the memory and the receiver, the instruction causing the at least one processor to:
- obtain a service requirement of a user based on a service description entered by the user through a terminal device;
- determine, based on the service requirement of the user and a service requirement-UI control correspondence, UI controls for implementing the service requirement, wherein the service requirement-UI control correspondence and a UI control-service logic correspondence are generated through training using a machine learning process;
- determine, based on the UI controls for implementing the service requirement and the UI control-service logic correspondence, service logics for implementing the service requirement;
- and
- generate a user interface based on the UI controls for implementing the service requirement and the service logics for implementing the service requirement;
- wherein before determining, by the interface generation apparatus, the UI controls for implementing the service requirement and the service logics for implementing the service requirement, a correspondence generation apparatus determines sample data and generates, based on the sample data, the service requirement-UI control correspondence and the UI control-service logic correspondence, wherein the sample data comprises a plurality of service requirements, a plurality of interface elements, relationship data between each of the plurality of service requirements and at least one of the plurality of interface elements, and relationship data between the plurality of interface elements, wherein the plurality of interface elements comprises the UI controls and the service logics, and wherein determining the sample data comprises at least one of:
- parsing and analyzing Hypertext Markup Language (HTML) statements of user interfaces of a plurality of web pages to determine the sample data;
- or
- determining the sample data based on an operation loci of a service staff member.
An interface generation system, comprising:
- an interface generation apparatus, the interface generation apparatus configured to:
- obtain a service requirement of a user based on a service description entered by the user through a terminal device;
- determine, based on the service requirement of the user and a service requirement-UI control correspondence, UI controls for implementing the service requirement;
- determine, based on the UI controls for implementing the service requirement and a UI control-service logic correspondence, service logics for implementing the service requirement;
- and
- generate a user interface based on the UI controls for implementing the service requirement and the service logics for implementing the service requirement;
- and
- a correspondence generation apparatus, the correspondence generation apparatus configured to:
- determine sample data, wherein the sample data comprises a plurality of service requirements, a plurality of interface elements, relationship data between each of the plurality of service requirements and at least one of the plurality of interface elements, and relationship data between the plurality of interface elements, wherein the plurality of interface elements comprises the UI controls and the service logics, and wherein determining the sample data comprises at least one of:
- parsing and analyzing Hypertext Markup Language (HTML) statements of user interfaces of a plurality of web pages to determine the sample data;
- or
- determining the sample data based on an operation loci of a service staff member;
- and
- generate, based on the sample data, a service requirement-UI control correspondence and the UI control-service logic correspondence through training using a machine learning process.
Dependencies are inferred from the claim text.