CN117472725A - Cross-end matching method, device and equipment for control and storage medium - Google Patents

Cross-end matching method, device and equipment for control and storage medium Download PDF

Info

Publication number
CN117472725A
CN117472725A CN202210864921.7A CN202210864921A CN117472725A CN 117472725 A CN117472725 A CN 117472725A CN 202210864921 A CN202210864921 A CN 202210864921A CN 117472725 A CN117472725 A CN 117472725A
Authority
CN
China
Prior art keywords
control
matched
attribute
matching
source control
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.)
Pending
Application number
CN202210864921.7A
Other languages
Chinese (zh)
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 Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network 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 Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202210864921.7A priority Critical patent/CN117472725A/en
Publication of CN117472725A publication Critical patent/CN117472725A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Abstract

The disclosure provides a cross-terminal matching method, device and equipment for a control and a storage medium. According to the cross-end matching method for the control, page static attributes of the source control are collected from a user interface of a source terminal, page static attributes of the control to be matched are collected from a user interface of the terminal to be matched, and operating systems of the source terminal and the terminal to be matched are different; determining a target attribute of the source control from the page static attribute of the source control, and determining a target attribute of the control to be matched from the page static attribute of the control to be matched, wherein the target attribute is a general attribute in different operating systems; and matching the source control with the control to be matched according to the target attribute of the source control and the target attribute of the control to be matched. By the method, cross-end matching among the controls of different terminals is achieved.

Description

Cross-end matching method, device and equipment for control and storage medium
Technical Field
The disclosure relates to the field of information technology, and in particular relates to a cross-terminal matching method, device and equipment for a control and a storage medium.
Background
The automatic testing of a User Interface (UI) is a technology for automatically testing a UI control part of an application program, and whether an actual test result is consistent with an expected test result can be detected by executing an automatic test case so as to judge whether the control function of the UI is normal.
In the related art, since the underlying systems of different terminals are greatly different and the application programs of different terminals are usually developed by different developers, the same application program has great difference on the code layer surfaces of different terminals. Therefore, in the related art, when different terminals test UIs of the same application program, a set of UI test cases needs to be independently written, so that controls of different terminals cannot be subjected to cross-terminal matching when automatic testing is performed.
Disclosure of Invention
The disclosure provides a cross-terminal matching method, device, equipment and storage medium for a control, which are used for solving the technical problem that the control of different terminals cannot perform cross-terminal matching.
In a first aspect, an embodiment of the present disclosure provides a cross-end matching method for a control, including:
collecting page static attributes of a source control from a user interface of a source terminal and collecting page static attributes of a control to be matched from a user interface of a terminal to be matched, wherein the source terminal and an operating system of the terminal to be matched are different;
determining a target attribute of the source control from page static attributes of the source control, and determining a target attribute of the control to be matched from page static attributes of the control to be matched, wherein the target attribute is a general attribute in different operating systems;
And matching the source control piece and the control to be matched according to the target attribute of the source control piece and the target attribute of the control to be matched.
In a second aspect, an embodiment of the present disclosure provides a cross-end matching apparatus for a control, including:
the acquisition module is used for acquiring page static attributes of the source control from a user interface of the source terminal and acquiring page static attributes of the control to be matched from a user interface of the terminal to be matched, wherein the operating systems of the source terminal and the terminal to be matched are different;
the determining module is used for determining target attributes of the source control from page static attributes of the source control and determining target attributes of the control to be matched from page static attributes of the control to be matched, wherein the target attributes are general attributes in different operating systems;
and the matching module is used for matching the source control and the control to be matched according to the target attribute of the source control and the target attribute of the control to be matched.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including:
a processor; and
a memory for storing a computer program;
wherein the processor is configured to implement the cross-end matching method of the control as described in the first aspect and the various possible designs of the first aspect above by executing the computer program.
In a fourth aspect, embodiments of the present disclosure provide a computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, implement a method of cross-end matching of controls as described in the first aspect and in the various possible designs of the first aspect.
In a fifth aspect, embodiments of the present disclosure provide a computer program product comprising a computer program which, when executed by a processor, implements a cross-end matching method for a control as described in the first aspect and in the various possible designs of the first aspect.
According to the cross-end matching method, device and equipment for the control and the storage medium, firstly, page static attributes of the source control are collected from a user interface of a source terminal, page static attributes of the control to be matched are collected from a user interface of the terminal to be matched, and the source terminal and the operating system of the terminal to be matched are different. And then determining the target attribute of the source control from the page static attribute of the source control, determining the target attribute of the control to be matched from the page static attribute of the control to be matched, wherein the target attribute is a general attribute in different operating systems, and finally matching the source control and the control to be matched according to the target attribute of the source control and the target attribute of the control to be matched. By the mode, cross-end matching among control pieces of different terminals is achieved.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the solutions in the prior art, a brief description will be given below of the drawings that are needed in the embodiments or the description of the prior art, it being obvious that the drawings in the following description are some embodiments of the present disclosure, and that other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
Fig. 1 is an application scenario schematic diagram of a cross-end matching method of a control provided in an embodiment of the present application;
fig. 2 is a flow chart of a cross-end matching method of a control according to an embodiment of the disclosure;
fig. 3 is a flow chart of another cross-end matching method of a control according to an embodiment of the disclosure;
fig. 4 is a flow chart of a cross-end matching method of a control according to an embodiment of the disclosure;
fig. 5 is a structural block diagram of a cross-end matching device of a control provided in an embodiment of the disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an example embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that references to "one" or "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" should be construed, unless the context clearly indicates otherwise.
The automatic testing of a User Interface (UI) is a technology for automatically testing a UI control part of an application program, and whether an actual test result is consistent with an expected test result can be detected by executing an automatic test case so as to judge whether the control function of the UI is normal.
In the related art, since the underlying systems of different terminals are greatly different and the application programs of different terminals are generally developed by different developers, the same application program has great difference in the code layers of different terminals. Therefore, in the related art, when different terminals test UIs of the same application program, a set of UI test cases needs to be independently written, so that controls of different terminals cannot be subjected to cross-terminal matching when automatic testing is performed.
In order to solve the problems, the embodiments of the present application provide a cross-terminal matching method, device, equipment and storage medium for a control, which determine general target attributes in different terminals from page static attributes collected from a user interface, so as to match a source control and a control to be matched according to the target attributes, thereby realizing cross-terminal matching between the controls of different terminals when UI test is performed, and simplifying the flow of UI test.
The following describes an application scenario of a cross-terminal matching method of a control related to the application.
Fig. 1 is an application scenario schematic diagram of a cross-end matching method of a control provided in an embodiment of the present application. As shown in fig. 1, a source terminal 101 and a terminal to be matched 102 are respectively connected with a test terminal 103, and when the source terminal 101 and the terminal to be matched 102 perform UI automatic test of the same application, the test terminal 103 may respectively obtain page static properties from the source terminal 101 and the terminal to be matched 102. Then, the test terminal 103 extracts the general target attribute from the static attribute of the page, and matches the controls in the source terminal 101 and the terminal 102 to be matched according to the target attribute.
The source terminal 101 and the terminal to be matched 102 may be a tablet computer (pad), a computer with a wireless transmitting and receiving function, a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in self driving (self driving), a wireless terminal in remote operation (remote medical surgery), a wireless terminal in smart grid (smart grid), a wireless terminal in smart home (smart home), and the like. In the embodiment of the present application, the device for implementing the function of the terminal may be the terminal, or may be a device capable of supporting the terminal to implement the function, for example, a chip system, and the device may be installed in the terminal. In the embodiment of the application, the chip system may be formed by a chip, and may also include a chip and other discrete devices.
It should be understood that the application scenario of the technical solution of the present application may be the scenario in fig. 1, but is not limited thereto, and may also be applied to other scenarios where UI automatic testing is required.
It may be understood that the cross-end matching method of the control may be implemented by the cross-end matching device of the control provided by the embodiment of the present application, where the cross-end matching device of the control may be part or all of a certain device, for example, a test device or a processor of the test device.
The technical solutions of the embodiments of the present disclosure are described in detail below with specific embodiments. The following embodiments may be combined with each other, and some embodiments may not be repeated for the same or similar concepts or processes.
Referring to fig. 2, fig. 2 is a flow chart of a cross-end matching method of a control according to an embodiment of the disclosure. The execution main body of the embodiment is a test terminal, the test terminal is respectively connected with the source terminal and the terminal to be matched, and the embodiment relates to a process of how to match controls across ends in UI automatic test. The cross-end matching method of the control comprises the following steps:
s201, collecting page static attributes of a source control from a user interface of a source terminal and collecting page static attributes of a control to be matched from a user interface of a terminal to be matched.
In the method, when UI automatic test of an application program is conducted, a test terminal can acquire page static properties of a source control from a user interface of a source terminal needing control matching through a test framework, and acquire page static properties of a control to be matched from a user interface of a terminal to be matched.
It should be noted that, in the embodiment of the present application, the source terminal and the operating system of the terminal to be matched are different, for example, the source terminal may be an Android operating system, and the terminal to be matched may be an IOS system.
It should be appreciated that embodiments of the present disclosure are not limited to page static properties, and in some embodiments, page static properties may include a page Layout Tree (Layout Tree) that contains all control information and location information on a user interface.
For example, if the control of the source terminal is Src and the control of the terminal to be matched is Dst, correspondingly, src Layout Tree and Dst Layout Tree can be obtained by collecting static page attributes.
S202, determining a target attribute of the source control from page static attributes of the source control, and determining a target attribute of the control to be matched from page static attributes of the control to be matched, wherein the target attribute can be a general attribute in different operating systems.
In the step, after the test terminal acquires the page static attribute of the source control and the page static attribute of the control to be matched, the test terminal can respectively determine the target attribute of the source control and the target attribute of the control to be matched.
It should be appreciated that embodiments of the present disclosure are not limited to target properties, and in some embodiments, target properties may be provided with Key properties (keys atrrbides) that are capable of some cross-platform or generalization, i.e., properties that are common among different operating systems.
By way of example, the types of target attributes may include a variable name attribute type, a description attribute type, a literal attribute type, a relative location attribute type, and a size attribute type. Wherein the target attribute of the variable name attribute type is usually defined by a developer, is different in different terminals, is unique in a page and is often missing. The target attribute of the text attribute type has a probability value or not.
S203, matching the source control and the control to be matched according to the target attribute of the source control and the target attribute of the control to be matched.
In this step, after the test terminal determines the target attribute of the source control and the target attribute of the control to be matched, a fuzzy matching mode may be adopted, according to the target attribute of the source control and the target attribute of the control to be matched, the source control in the source terminal and the control to be matched in the terminal to be matched are compared one by one, and according to the comparison result, the source control and the control to be matched are matched.
It should be understood that the embodiments of the present disclosure do not limit how to match a source control and a control to be matched based on a target attribute, and in some embodiments, a test terminal may determine a similar attribute between the source control and the control to be matched according to a type of the target attribute, and then match the source control and the control to be matched according to the similar attribute between the source control and the control to be matched.
It should be understood that the embodiments of the present application also do not limit how the similarity between the source control and the control to be matched is determined, and in some embodiments, the similarity between the target properties of the source control and the target properties of the control to be matched of the same type may be calculated separately. And if the similarity exceeds a first threshold, determining that the target attribute of the source control is the similar attribute of the target attribute of the control to be matched.
In some embodiments, if the type of the target attribute is a text attribute type, the test terminal may segment the target attribute of the source control and the target attribute of the control to be matched respectively, and calculate the similarity between the segmented target attribute of the source control and the segmented target attribute of the control to be matched.
For example, for the object attribute with the value Text, a slicing (token) may be performed first, and the formula (1) is adopted to calculate the similarity between the object attributes of the sliced control to be matched.
X is the value of the target attribute of the segmented source control, and Y is the value of the target attribute of the segmented control to be matched.
In some embodiments, if the type of the target attribute is a relative position attribute type, the test terminal may first convert the absolute pixel position represented by the target attribute of the source control and the target attribute of the control to be matched into a relative position in the target interval, and then use the absolute value between the relative position of the target attribute of the source control in the target interval and the relative position of the target attribute of the control to be matched in the target interval as the similarity.
The target zone may be specifically set according to the actual situation, for example, a zone set to (0, 1).
By way of example, the absolute pixel positions (e.g., x and y) of the target properties of the source control and the target control in the screen can be normalized to the relative position between (0, 1) by equation (2). And then calculating the absolute value between the relative position of the target attribute of the source control in the target interval and the relative position of the target attribute of the control to be matched in the target interval as the similarity through a formula (3).
Diff x =|x 1 -x 2 |……(3)
Wherein x is 1 Absolute pixel position, x, characterized by target properties of source terminal 2 Absolute pixel position characterized by the target attribute of the terminal to be matched.
It should be noted that, if the type of the target attribute is a size type, the similarity may be calculated with reference to the type of the relative position attribute, which is not limited in the embodiment of the present disclosure.
It should be understood that the embodiments of the present disclosure are not limited to the first threshold, and in some embodiments, different first thresholds may be set for different types of target attributes.
The following describes how to match a source control and a control to be matched based on the determined similarity attributes between the source control and the control to be matched.
In some embodiments, the test terminal may first determine a type of match between the source control and the control to be matched according to the number of similar attributes between the source control and the control to be matched. And then, the test terminal matches the source control with the control to be matched according to the matching type between the source control and the control to be matched.
The matching type between the source control and the control to be matched comprises the following steps: a first match type, a second match type, and a third match type. The control to be matched in the first matching type has similar attributes, the number of the similar attributes is the largest, and the difference value between the number of the similar attributes and the number of the similar attributes of any control to be matched in the second matching type is larger than a second threshold value; the control to be matched in the second matching type has at least one similar attribute and does not belong to the first matching type; the control to be matched in the third matching type does not have similar attributes.
The number of the second thresholds is not limited in the embodiment of the present disclosure, and may be specifically set according to actual situations.
By way of example, the first type of match described above may be understood as a strong match. That is, there is at least one similar target attribute in the source control and the control to be matched, and the number of similar target attributes is the largest in all the controls to be matched. Meanwhile, the number of other target attributes similar to the source control and the control to be matched is far smaller than that of the control to be matched.
The second type of matching described above may be understood as near matching. That is, the control to be matched is not a strong match to the source control, but there is at least one similar target attribute.
The third type of match described above may be understood as a weak match. That is, the control to be matched does not have at least one similar target attribute with the source control.
In some embodiments, if there is a first matching type of control to be matched, the test terminal may match the first matching type of control to be matched with the source control. If the first matching type to-be-matched control is not available and the second matching type to-be-matched control is available, the test terminal can take the second matching type to-be-matched control as a standby matching control of the source control.
It should be noted that when the first matching type to-be-matched control does not exist, the method can further adopt high-energy-consumption search to select the to-be-matched control with the highest matching degree from the standby matching controls to match with the source control.
In some embodiments, after the matching of the source control and the control to be matched is completed, the test terminal may determine the test case corresponding to the source control according to the target attribute of the source control and the mapping relationship between the target attribute and the test case. And then, the test terminal can use the test case corresponding to the source control to test the source control and the control to be matched successfully with the source control.
Wherein the test case comprises test input information, test execution information and test expected result of the control
It should be understood that the mapping relationship between the target attribute and the test case may be preset. For example, the target attribute may be an identity (Identity Document, ID) attribute, and accordingly, a mapping relationship may be established based on the ID attribute of the control and the test case. After the matching of the controls is completed, the corresponding test cases can be searched through the ID attribute of the source control. If the source terminal and the control to be matched are successfully matched, the source terminal and the test terminal are the same control on terminals of different operating systems, and the same test case can be used for testing.
According to the cross-terminal matching method for the control, firstly, page static attributes of the source control are collected from a user interface of a source terminal, page static attributes of the control to be matched are collected from a user interface of the terminal to be matched, and the source terminal and the operating system of the terminal to be matched are different. And then determining the target attribute of the source control from the page static attribute of the source control, determining the target attribute of the control to be matched from the page static attribute of the control to be matched, wherein the target attribute is a general attribute in different operating systems, and finally matching the source control and the control to be matched according to the target attribute of the source control and the target attribute of the control to be matched. By the method, cross-end matching among the controls of different terminals is achieved.
On the basis of the above embodiment, how to match the source control and the control to be matched based on the target attribute is described below. Fig. 3 is a flow chart of another cross-end matching method of a control according to an embodiment of the present disclosure, where, as shown in fig. 3, the cross-end matching method of the control includes:
s301, collecting page static attributes of a source control from a user interface of a source terminal and collecting page static attributes of a control to be matched from a user interface of a terminal to be matched, wherein the operation systems of the source terminal and the terminal to be matched are different.
S302, determining a target attribute of the source control from page static attributes of the source control, and determining a target attribute of the control to be matched from page static attributes of the control to be matched, wherein the target attribute is a general attribute in different operating systems.
S303, determining similar attributes between the source control and the control to be matched according to the type of the target attribute.
S304, matching the source control and the control to be matched according to the similar attribute between the source control and the control to be matched.
The technical terms, effects, features, and alternative embodiments of S301-S304 may be understood with reference to S201-S203 shown in fig. 2, and will not be described again here for repeated matters.
On the basis of the above embodiment, a description will be given below of how to calculate the similarity between the target properties of the source control and the control to be matched. Fig. 4 is a flow chart of a cross-end matching method of a control according to another embodiment of the present disclosure, where, as shown in fig. 4, the cross-end matching method of the control includes:
s401, collecting page static attributes of a source control from a user interface of a source terminal and collecting page static attributes of a control to be matched from a user interface of a terminal to be matched, wherein the operation systems of the source terminal and the terminal to be matched are different.
S402, determining a target attribute of the source control from page static attributes of the source control, and determining a target attribute of the control to be matched from page static attributes of the control to be matched, wherein the target attribute is a general attribute in different operating systems.
S403, respectively calculating the similarity between the target attribute of the source control of the same type and the target attribute of the control to be matched.
And S404, if the similarity exceeds a first threshold, determining that the target attribute of the source control is the similar attribute of the target attribute of the control to be matched.
S405, determining the matching type between the source control and the control to be matched according to the number of similar attributes between the source control and the control to be matched.
S406, matching the source control and the control to be matched according to the matching type between the source control and the control to be matched.
The technical terms, effects, features, and alternative embodiments of S401-S406 may be understood with reference to S201-S203 shown in fig. 2, and will not be described again here for repeated contents.
According to the cross-terminal matching method for the control, firstly, page static attributes of the source control are collected from a user interface of a source terminal, page static attributes of the control to be matched are collected from a user interface of the terminal to be matched, and the source terminal and the operating system of the terminal to be matched are different. And then determining the target attribute of the source control from the page static attribute of the source control, determining the target attribute of the control to be matched from the page static attribute of the control to be matched, wherein the target attribute is a general attribute in different operating systems, and finally matching the source control and the control to be matched according to the target attribute of the source control and the target attribute of the control to be matched. By the method, cross-end matching among the controls of different terminals is achieved.
Corresponding to the cross-end matching method of the control in the above embodiment, fig. 5 is a structural block diagram of a cross-end matching device of the control provided in the embodiment of the disclosure. For ease of illustration, only portions relevant to embodiments of the present disclosure are shown. Referring to fig. 5, the cross-end matching apparatus 500 of the control includes: an acquisition module 501, a determination module 502 and a matching module 503.
The acquisition module 501 is configured to acquire a static page attribute of a source control from a user interface of a source terminal and acquire a static page attribute of a control to be matched from a user interface of a terminal to be matched, where the operating systems of the source terminal and the terminal to be matched are different;
the determining module 502 is configured to determine a target attribute of the source control from page static attributes of the source control and determine a target attribute of the control to be matched from page static attributes of the control to be matched, where the target attribute is a general attribute in different operating systems;
and the matching module 503 is configured to match the source control and the control to be matched according to the target attribute of the source control and the target attribute of the control to be matched.
According to one or more embodiments of the present disclosure, the matching module 503 is specifically configured to determine, according to the type of the target attribute, a similarity attribute between the source control and the control to be matched; and matching the source control and the control to be matched according to the similar attribute between the source control and the control to be matched.
According to one or more embodiments of the present disclosure, the matching module 503 is specifically configured to calculate a similarity between a target attribute of a source control of the same type and a target attribute of a control to be matched, respectively; and if the similarity exceeds a first threshold, determining that the target attribute of the source control is the similar attribute of the target attribute of the control to be matched.
In accordance with one or more embodiments of the present disclosure, the types of target attributes include a variable name attribute type, a description attribute type, a literal attribute type, a relative location attribute type, and a size attribute type.
According to one or more embodiments of the present disclosure, the matching module 503 is specifically configured to segment, if the type of the target attribute is a text attribute type, the target attribute of the source control and the target attribute of the control to be matched respectively; and calculating the similarity between the target attribute of the segmented source control and the target attribute of the segmented control to be matched.
According to one or more embodiments of the present disclosure, the matching module 503 is specifically configured to convert, if the type of the target attribute is a relative position attribute type, an absolute pixel position represented by the target attribute of the source control and the target attribute of the control to be matched into a relative position in the target interval; and taking the absolute value between the relative position of the target attribute of the source control in the target interval and the relative position of the target attribute of the control to be matched in the target interval as the similarity.
According to one or more embodiments of the present disclosure, the matching module 503 is specifically configured to determine a matching type between the source control and the control to be matched according to the number of similar attributes between the source control and the control to be matched; and matching the source control and the control to be matched according to the matching type between the source control and the control to be matched.
According to one or more embodiments of the present disclosure, a matching type between a source control and a control to be matched includes: a first matching type, a second matching type, and a third matching type;
the control to be matched in the first matching type has similar attributes, the number of the similar attributes is the largest, and the difference value between the number of the similar attributes and the number of the similar attributes of any control to be matched in the second matching type is larger than a second threshold value; the control to be matched in the second matching type has at least one similarity attribute and does not belong to the first matching type; the control to be matched in the third matching type does not have similar attributes.
According to one or more embodiments of the present disclosure, the matching module 503 is further configured to match the first matching type of control to be matched with the source control if the first matching type of control to be matched exists; and if the first matching type to-be-matched control does not exist and the second matching type to-be-matched control exists, taking the second matching type to-be-matched control as a standby matching control of the source control.
According to one or more embodiments of the present disclosure, the matching module 503 is further configured to determine, according to a target attribute of the source control and a mapping relationship between the target attribute and the test case, the test case corresponding to the source control, where the test case includes test input information, test execution information, and a test expected result of the control; and testing the source control and the control to be matched successfully with the source control by using the test case corresponding to the source control.
It should be noted that, the cross-end matching device of the control provided in the embodiment shown in fig. 5 may be used to execute the method provided in any of the foregoing embodiments, and the specific implementation manner and technical effect are similar, and are not repeated herein.
Fig. 6 is a schematic structural diagram of an electronic device according to an example embodiment of the present disclosure. As shown in fig. 6, a schematic diagram of an electronic device 600 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal having an image acquisition function such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle-mounted terminal (e.g., a vehicle-mounted navigation terminal), a wearable electronic device, etc., and a fixed terminal having an image acquisition device externally connected thereto such as a digital TV, a desktop computer, a smart home device, etc. The electronic device shown in fig. 6 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 6, the electronic device 600 may include a processor (e.g., a central processing unit, a graphics processor, etc.) 601 that may perform various suitable actions and processes according to programs stored in a Read Only Memory (ROM) 602 or programs loaded from a memory 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the electronic device 600 are also stored. The processor 601, the ROM 602, and the RAM603 are connected to each other through a bus 604. An input/output (I/O) interface 605 is also connected to bus 604. The memory is used for storing a program for executing the method of each method embodiment; the processor is configured to execute programs stored in the memory to implement the functions of the embodiments of the present disclosure above and/or other desired functions.
In general, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, magnetic tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 shows an electronic device 600 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the methods shown in the flowcharts of the embodiments of the present disclosure. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 609, or installed from the storage device 608, or installed from the ROM 602. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processor 601.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: 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 present disclosure, 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. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the electronic device; or may exist alone without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: collecting page static attributes of a source control from a user interface of a source terminal and collecting page static attributes of a control to be matched from a user interface of a terminal to be matched; determining a target attribute of the source control from page static attributes of the source control, and determining a target attribute of the control to be matched from page static attributes of the control to be matched, wherein the target attribute is a general attribute in different terminals; and matching the source control with the control to be matched according to the target attribute of the source control and the target attribute of the control to be matched.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ 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 kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules involved in the embodiments described in the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The name of the module does not in any way constitute a limitation of the unit itself.
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a computer-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a computer-readable storage medium may include an electrical connection based on 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 a first aspect, according to one or more embodiments of the present disclosure, there is provided a cross-end matching method of a control, including:
collecting page static attributes of a source control from a user interface of a source terminal and collecting page static attributes of a control to be matched from a user interface of a terminal to be matched, wherein the source terminal and an operating system of the terminal to be matched are different;
determining a target attribute of the source control from page static attributes of the source control, and determining a target attribute of the control to be matched from page static attributes of the control to be matched, wherein the target attribute is a general attribute in different operating systems;
and matching the source control piece and the control to be matched according to the target attribute of the source control piece and the target attribute of the control to be matched.
According to one or more embodiments of the present disclosure, the matching the source control and the control to be matched according to the target attribute of the source control and the target attribute of the control to be matched includes:
determining similar attributes between the source control and the control to be matched according to the type of the target attribute;
and matching the source control and the control to be matched according to the similar attribute between the source control and the control to be matched.
According to one or more embodiments of the present disclosure, the determining, according to the type of the target attribute, a similar attribute between the source control and the control to be matched includes:
respectively calculating the similarity between the target attribute of the source control of the same type and the target attribute of the control to be matched;
and if the similarity exceeds a first threshold, determining that the target attribute of the source control is the similar attribute of the target attribute of the control to be matched.
According to one or more embodiments of the present disclosure, the types of the target attributes include a variable name attribute type, a description attribute type, a text attribute type, a relative position attribute type, and a size attribute type.
According to one or more embodiments of the present disclosure, the calculating the similarity between the target attribute of the source control and the target attribute of the control to be matched, includes:
if the type of the target attribute is a text attribute type, respectively segmenting the target attribute of the source control and the target attribute of the control to be matched;
and calculating the similarity between the target attribute of the segmented source control and the target attribute of the segmented control to be matched.
According to one or more embodiments of the present disclosure, the calculating the similarity between the target attribute of the source control and the target attribute of the control to be matched, respectively, further includes:
if the type of the target attribute is a relative position attribute type, converting the absolute pixel position represented by the target attribute of the source control and the target attribute of the control to be matched into a relative position in a target interval;
and taking the absolute value between the relative position of the target attribute of the source control in the target interval and the relative position of the target attribute of the control to be matched in the target interval as the similarity.
According to one or more embodiments of the present disclosure, the matching the source control and the control to be matched according to the similarity attribute between the source control and the control to be matched includes:
determining the matching type between the source control and the control to be matched according to the number of similar attributes between the source control and the control to be matched;
and matching the source control and the control to be matched according to the matching type between the source control and the control to be matched.
According to one or more embodiments of the present disclosure, the matching type between the source control and the control to be matched includes: a first matching type, a second matching type, and a third matching type;
the control to be matched in the first matching type has the similar attributes, the number of the similar attributes is the largest, and the difference value between the number of the similar attributes and the number of the similar attributes of any control to be matched in the second matching type is larger than a second threshold value; the control to be matched in the second matching type has at least one similar attribute and does not belong to the first matching type; and the similar attribute does not exist in the control to be matched in the third matching type.
According to one or more embodiments of the present disclosure, the matching the source control and the control to be matched according to the matching type between the source control and the control to be matched includes:
if the first matching type to-be-matched control exists, matching the first matching type to-be-matched control with the source control;
and if the first matching type to-be-matched control does not exist and the second matching type to-be-matched control exists, taking the second matching type to-be-matched control as the standby matching control of the source control.
According to one or more embodiments of the present disclosure, after the matching of the source control and the control to be matched according to the target attribute of the source control and the target attribute of the control to be matched, the method further includes:
determining a test case corresponding to the source control according to the target attribute of the source control and the mapping relation between the target attribute and the test case, wherein the test case comprises test input information, test execution information and test expected results of the control;
and testing the source control and the control to be matched successfully with the source control by using the test case corresponding to the source control.
In a second aspect, according to one or more embodiments of the present disclosure, there is provided a cross-end matching device for a control, including:
the acquisition module is used for acquiring page static attributes of the source control from a user interface of the source terminal and acquiring page static attributes of the control to be matched from a user interface of the terminal to be matched, wherein the operating systems of the source terminal and the terminal to be matched are different;
the determining module is used for determining target attributes of the source control from page static attributes of the source control and determining target attributes of the control to be matched from page static attributes of the control to be matched, wherein the target attributes are general attributes in different operating systems;
And the matching module is used for matching the source control and the control to be matched according to the target attribute of the source control and the target attribute of the control to be matched.
According to one or more embodiments of the present disclosure, the matching module is specifically configured to determine, according to the type of the target attribute, a similarity attribute between the source control and the control to be matched; and matching the source control and the control to be matched according to the similar attribute between the source control and the control to be matched.
According to one or more embodiments of the present disclosure, the matching module is specifically configured to calculate a similarity between a target attribute of a source control of the same type and a target attribute of a control to be matched, respectively; and if the similarity exceeds a first threshold, determining that the target attribute of the source control is the similar attribute of the target attribute of the control to be matched.
According to one or more embodiments of the present disclosure, the types of the target attributes include a variable name attribute type, a description attribute type, a text attribute type, a relative position attribute type, and a size attribute type.
According to one or more embodiments of the present disclosure, the matching module is specifically configured to segment, if the type of the target attribute is a text attribute type, the target attribute of the source control and the target attribute of the control to be matched respectively; and calculating the similarity between the target attribute of the segmented source control and the target attribute of the segmented control to be matched.
According to one or more embodiments of the present disclosure, the matching module is specifically configured to convert, if the type of the target attribute is a relative position attribute type, an absolute pixel position represented by the target attribute of the source control and the target attribute of the control to be matched into a relative position in a target interval; and taking the absolute value between the relative position of the target attribute of the source control in the target interval and the relative position of the target attribute of the control to be matched in the target interval as the similarity.
According to one or more embodiments of the present disclosure, the matching module is specifically configured to determine a matching type between the source control and the control to be matched according to a number of similar attributes between the source control and the control to be matched; and matching the source control and the control to be matched according to the matching type between the source control and the control to be matched.
According to one or more embodiments of the present disclosure, the matching type between the source control and the control to be matched includes: a first matching type, a second matching type, and a third matching type;
the control to be matched in the first matching type has the similar attributes, the number of the similar attributes is the largest, and the difference value between the number of the similar attributes and the number of the similar attributes of any control to be matched in the second matching type is larger than a second threshold value; the control to be matched in the second matching type has at least one similar attribute and does not belong to the first matching type; and the similar attribute does not exist in the control to be matched in the third matching type.
According to one or more embodiments of the present disclosure, the matching module matches the first matching type of control to be matched with the source control if the first matching type of control to be matched exists; and if the first matching type to-be-matched control does not exist and the second matching type to-be-matched control exists, taking the second matching type to-be-matched control as the standby matching control of the source control.
According to one or more embodiments of the present disclosure, the matching module is further configured to determine a test case corresponding to the source control according to a target attribute of the source control and a mapping relationship between the target attribute and the test case, where the test case includes test input information, test execution information, and a test expected result of the control; and testing the source control and the control to be matched successfully with the source control by using the test case corresponding to the source control.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including:
a processor; and
a memory for storing a computer program;
wherein the processor is configured to implement the cross-end matching method of the control as described in the first aspect and the various possible designs of the first aspect above by executing the computer program.
In a fourth aspect, embodiments of the present disclosure provide a computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, implement a method of cross-end matching of controls as described in the first aspect and in the various possible designs of the first aspect.
In a fifth aspect, embodiments of the present disclosure provide a computer program product comprising a computer program which, when executed by a processor, implements a cross-end matching method for a control as described in the first aspect and in the various possible designs of the first aspect.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as the above-described features, are interchanged with the features disclosed in the present disclosure (but not limited to) having similar functions.
Moreover, although operations are depicted 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. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described 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.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (14)

1. The cross-end matching method for the control is characterized by comprising the following steps of:
collecting page static attributes of a source control from a user interface of a source terminal and collecting page static attributes of a control to be matched from a user interface of a terminal to be matched, wherein the source terminal and an operating system of the terminal to be matched are different;
Determining a target attribute of the source control from page static attributes of the source control, and determining a target attribute of the control to be matched from page static attributes of the control to be matched, wherein the target attribute is a general attribute in different operating systems;
and matching the source control with the control to be matched according to the target attribute of the source control and the target attribute of the control to be matched.
2. The method of claim 1, wherein the matching the source control and the control to be matched according to the target attribute of the source control and the target attribute of the control to be matched comprises:
according to the type of the target attribute, determining the similar attribute between the source control and the control to be matched;
and matching the source control and the control to be matched according to the similar attribute between the source control and the control to be matched.
3. The method of claim 2, wherein the determining similar attributes between the source control and the control to be matched according to the type of the target attribute comprises:
respectively calculating the similarity between the target attribute of the source control of the same type and the target attribute of the control to be matched;
And if the similarity exceeds a first threshold, determining that the target attribute of the source control is the similar attribute of the target attribute of the control to be matched.
4. The method of claim 3, wherein the types of target attributes include a variable name attribute type, a description attribute type, a literal attribute type, a relative location attribute type, and a size attribute type.
5. The method of claim 4, wherein the calculating the similarity between the target property of the source control and the target property of the control to be matched, respectively, comprises:
if the type of the target attribute is a text attribute type, respectively segmenting the target attribute of the source control and the target attribute of the control to be matched;
and calculating the similarity between the target attribute of the segmented source control and the target attribute of the segmented control to be matched.
6. The method of claim 4, wherein the calculating the similarity between the target property of the source control and the target property of the control to be matched, respectively, further comprises:
if the type of the target attribute is a relative position attribute type, converting the absolute pixel position represented by the target attribute of the source control and the target attribute of the control to be matched into a relative position in a target interval;
And taking the absolute value between the relative position of the target attribute of the source control in the target interval and the relative position of the target attribute of the control to be matched in the target interval as the similarity.
7. The method of claim 2, wherein the matching the source control and the control to be matched according to the similarity attribute between the source control and the control to be matched comprises:
determining the matching type between the source control and the control to be matched according to the number of similar attributes between the source control and the control to be matched;
and matching the source control and the control to be matched according to the matching type between the source control and the control to be matched.
8. The method of claim 7, wherein the type of match between the source control and the control to be matched comprises: a first matching type, a second matching type, and a third matching type;
the control to be matched in the first matching type has the similar attributes, the number of the similar attributes is the largest, and the difference value between the number of the similar attributes and the number of the similar attributes of any control to be matched in the second matching type is larger than a second threshold value; at least one similar attribute exists in the control to be matched in the second matching type and does not belong to the first matching type; and the similar attribute does not exist in the control to be matched in the third matching type.
9. The method of claim 8, wherein the matching the source control and the control to be matched according to the type of matching between the source control and the control to be matched comprises:
if the first matching type to-be-matched control exists, matching the first matching type to-be-matched control with the source control;
and if the first matching type to-be-matched control does not exist and the second matching type to-be-matched control exists, taking the second matching type to-be-matched control as the standby matching control of the source control.
10. The method of claim 1, wherein after the matching of the source control and the control to be matched according to the target property of the source control and the target property of the control to be matched, the method further comprises:
determining a test case corresponding to the source control according to the target attribute of the source control and the mapping relation between the target attribute and the test case, wherein the test case comprises test input information, test execution information and test expected results of the control;
and testing the source control and the control to be matched successfully with the source control by using the test case corresponding to the source control.
11. A cross-end matching device for a control, comprising:
the acquisition module is used for acquiring page static attributes of the source control from a user interface of the source terminal and acquiring page static attributes of the control to be matched from a user interface of the terminal to be matched, wherein the operating systems of the source terminal and the terminal to be matched are different;
the determining module is used for determining the target attribute of the source control from the page static attribute of the source control and determining the target attribute of the control to be matched from the page static attribute of the control to be matched, wherein the target attribute is a general attribute in different operating systems;
and the matching module is used for matching the source control and the control to be matched according to the target attribute of the source control and the target attribute of the control to be matched.
12. An electronic device, comprising:
a processor; and
a memory for storing a computer program;
wherein the processor is configured to implement the cross-end matching method of the control of any one of claims 1 to 10 by executing the computer program.
13. A computer program product comprising a computer program which, when executed by a processor, implements a cross-end matching method of a control as claimed in any one of claims 1 to 10.
14. A computer readable storage medium having stored therein computer executable instructions which, when executed by a processor, implement a method of cross-end matching of controls as claimed in any one of claims 1 to 10.
CN202210864921.7A 2022-07-21 2022-07-21 Cross-end matching method, device and equipment for control and storage medium Pending CN117472725A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210864921.7A CN117472725A (en) 2022-07-21 2022-07-21 Cross-end matching method, device and equipment for control and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210864921.7A CN117472725A (en) 2022-07-21 2022-07-21 Cross-end matching method, device and equipment for control and storage medium

Publications (1)

Publication Number Publication Date
CN117472725A true CN117472725A (en) 2024-01-30

Family

ID=89635241

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210864921.7A Pending CN117472725A (en) 2022-07-21 2022-07-21 Cross-end matching method, device and equipment for control and storage medium

Country Status (1)

Country Link
CN (1) CN117472725A (en)

Similar Documents

Publication Publication Date Title
CN111767371A (en) Intelligent question and answer method, device, equipment and medium
CN111291244B (en) House source information display method, device, terminal and storage medium
CN111784712B (en) Image processing method, device, equipment and computer readable medium
CN110222775A (en) Image processing method, device, electronic equipment and computer readable storage medium
CN111461968B (en) Picture processing method, device, electronic equipment and computer readable medium
CN112418249A (en) Mask image generation method and device, electronic equipment and computer readable medium
CN112416303B (en) Software development kit hot repair method and device and electronic equipment
CN111461965B (en) Picture processing method and device, electronic equipment and computer readable medium
CN110852242A (en) Watermark identification method, device, equipment and storage medium based on multi-scale network
CN113807056B (en) Document name sequence error correction method, device and equipment
CN111680754B (en) Image classification method, device, electronic equipment and computer readable storage medium
CN111461964B (en) Picture processing method, device, electronic equipment and computer readable medium
CN113391860B (en) Service request processing method and device, electronic equipment and computer storage medium
CN111290812B (en) Display method, device, terminal and storage medium of application control
CN111461969B (en) Method, device, electronic equipment and computer readable medium for processing picture
CN117472725A (en) Cross-end matching method, device and equipment for control and storage medium
CN111835917A (en) Method, device and equipment for showing activity range and computer readable medium
CN111797263A (en) Image label generation method, device, equipment and computer readable medium
CN111489286B (en) Picture processing method, device, equipment and medium
CN111797932B (en) Image classification method, apparatus, device and computer readable medium
CN111814807B (en) Method, apparatus, electronic device, and computer-readable medium for processing image
CN111026983B (en) Method, device, medium and electronic equipment for realizing hyperlink
CN114359673B (en) Small sample smoke detection method, device and equipment based on metric learning
CN112346630B (en) State determination method, device, equipment and computer readable medium
CN116974684B (en) Map page layout method, map page layout device, electronic equipment and computer readable medium

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