CN114826899B - Debugging method and device for equipment control service, storage medium and electronic device - Google Patents

Debugging method and device for equipment control service, storage medium and electronic device Download PDF

Info

Publication number
CN114826899B
CN114826899B CN202210259154.7A CN202210259154A CN114826899B CN 114826899 B CN114826899 B CN 114826899B CN 202210259154 A CN202210259154 A CN 202210259154A CN 114826899 B CN114826899 B CN 114826899B
Authority
CN
China
Prior art keywords
service
code
target
parameter
initial
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
CN202210259154.7A
Other languages
Chinese (zh)
Other versions
CN114826899A (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.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202210259154.7A priority Critical patent/CN114826899B/en
Publication of CN114826899A publication Critical patent/CN114826899A/en
Application granted granted Critical
Publication of CN114826899B publication Critical patent/CN114826899B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/08Speech classification or search
    • G10L15/18Speech classification or search using natural language modelling
    • G10L15/1822Parsing for meaning understanding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application discloses a debugging method and device for equipment control service, a storage medium and an electronic device, and relates to the technical field of smart families, wherein the debugging method for the equipment control service comprises the following steps: acquiring an initial service code of equipment control service; controlling the operation of the initial service code through the target operation parameters; and debugging the initial service code in the running process of the initial service code to obtain a target service code, wherein the target service code is used for deploying equipment control service. By adopting the technical scheme, the problems of low debugging efficiency and the like of equipment control service in the related technology are solved.

Description

Debugging method and device for equipment control service, storage medium and electronic device
Technical Field
The present invention relates to the field of smart home, and in particular, to a method and apparatus for debugging a device control service, a storage medium, and an electronic apparatus.
Background
With the continuous development of the internet of things (Internet of Things, IOT), there is an increasing demand for intelligent control of various electronic devices, and generally, the control of the intelligent devices may be divided into a plurality of mutually matched services according to functions and deployed on a cloud platform (such as K8s, kubernetes) service. An important service in the control process of the intelligent device is a device control service, and its function is generally to convert the user's intention identified by the previous service into a corresponding device instruction, and transmit the device instruction to the next service for subsequent processing. The developer can adjust the service codes or repair the problems in the use process of each service.
For equipment control service, the current adjustment or repair mode generally requires a developer to download an operation log of the service from the cloud platform, adjust or repair the developed service code by reading and analyzing the log, upload the obtained new service code to a code warehouse, and deploy the code to the cloud platform service by the code warehouse. If the developer wants to know whether the code is modified correctly, the newly generated running log is downloaded and analyzed again, if the code is not modified correctly, the code is modified again, uploaded, and the code is continuously adjusted and repaired by the deployment process, so that the whole process is complex and takes long time. And the manual operation of the developer is more dependent, and the manpower resource is wasted.
Aiming at the problems of low debugging efficiency and the like of equipment control service in the related art, no effective solution is proposed yet.
Disclosure of Invention
The embodiment of the application provides a debugging method and device for equipment control service, a storage medium and an electronic device, which are used for at least solving the problems of low debugging efficiency and the like of the equipment control service in the related technology.
According to an embodiment of the present application, there is provided a method for debugging a device control service, including: acquiring an initial service code of equipment control service;
Controlling the initial service code to run through the target running parameters;
and debugging the initial service code in the running process of the initial service code to obtain a target service code, wherein the target service code is used for deploying the equipment control service.
In an exemplary embodiment, said controlling said initial service code operation by a target operation parameter comprises:
starting the initial service code;
monitoring a service interaction type code in the initial service code in the running process of the initial service code, wherein the service interaction type code is used for executing interaction operation between the equipment control service and a dependent service, and the dependent service is a service with a dependency relationship with the equipment control service;
and under the condition that the initial service code is monitored to run to the target code of the service interaction type, controlling the target code to call parameters corresponding to the target code from the target running parameters.
In an exemplary embodiment, the controlling the object code to call a parameter corresponding to the object code from the object running parameters includes:
Controlling the target code to call a target user intention parameter from the target operation parameters under the condition that the dependent service of the target code is a user intention analysis service;
and controlling the target code to call target equipment parameters from the target operation parameters under the condition that the dependent service of the target code is equipment analysis service to be controlled.
In an exemplary embodiment, before said controlling of said initial service code operation by target operation parameters, said method further comprises:
acquiring a parameter transmission request, wherein the parameter transmission request is used for requesting to control the operation of the equipment control service by using the target operation parameter;
and responding to the parameter transmission request, and storing the target operation parameters into a cache space, wherein the cache space is used for providing the operation parameters for the equipment control service in the operation process of the equipment control service.
In an exemplary embodiment, the acquiring the parameter transmission request includes:
displaying an initial parameter editing interface, wherein the initial parameter editing interface is used for editing user intention parameters and equipment parameters;
According to the detected parameter editing operation executed on the initial parameter editing interface, editing the user intention parameter and the equipment parameter to obtain a target parameter editing interface;
and under the condition that the confirmation operation executed on the target parameter editing interface is detected, constructing the parameter transmission request according to the target intention parameter and the target equipment parameter displayed on the target parameter editing interface, wherein the target operation parameter comprises the target intention parameter and the target equipment parameter.
In an exemplary embodiment, the acquiring the initial service code of the device control service includes:
setting up a service environment of the equipment control service on a target terminal, wherein the service environment is used for providing operation conditions for the equipment control service;
and transmitting the received initial service code into the service environment.
In an exemplary embodiment, the debugging the initial service code includes:
detecting the operation result of the initial service code row by row;
and debugging the initial service codes line by line according to the running result.
According to another embodiment of the embodiments of the present application, there is also provided a device control service debugging apparatus, including: the first acquisition module is used for acquiring an initial service code of the equipment control service;
The control module is used for controlling the operation of the initial service code through the target operation parameters;
the debugging module is used for debugging the initial service code in the running process of the initial service code to obtain a target service code, wherein the target service code is used for deploying the equipment control service.
According to still another aspect of the embodiments of the present application, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to execute the above-described debugging method of the device control service when running.
According to still another aspect of the embodiments of the present application, there is further provided an electronic apparatus including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the above-mentioned debugging method of the device control service through the computer program.
In the embodiment of the application, an initial service code of equipment control service is obtained; controlling the operation of the initial service code through the target operation parameters; in the running process of the initial service code, debugging the initial service code to obtain a target service code, wherein the target service code is used for deploying equipment control service, namely, providing running conditions for the code of the equipment control service through target running parameters, which is equivalent to decoupling the equipment control service from other services depending on the equipment control service, the equipment control service can finish running locally by using the target running parameters without depending on the other services to provide data, namely, the code of the equipment control service is not required to be deployed on a cloud platform, the service code is regulated through reading and analyzing an operation log, and the code deployment is repeatedly carried out, so that the purposes of simplifying the debugging flow of the running code of the cloud equipment control service are achieved through the reading of the log and the regulation of the code. By adopting the technical scheme, the problems of low debugging efficiency and the like of the equipment control service in the related technology are solved, and the technical effect of improving the debugging efficiency of the equipment control service is realized.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic diagram of a hardware environment of a method for debugging a device control service according to an embodiment of the present application;
FIG. 2 is a flow chart of a method of debugging a device control service according to an embodiment of the present application;
FIG. 3 is a call relationship diagram of a device control service according to an embodiment of the present application;
FIG. 4 is an interface diagram I of a parameter editing interface according to an embodiment of the present application;
FIG. 5 is a second interface diagram of a parameter editing interface according to an embodiment of the present application;
FIG. 6 is an interface diagram III of a parameter editing interface according to an embodiment of the present application;
FIG. 7 is an interface diagram IV of a parameter editing interface according to an embodiment of the present application;
FIG. 8 is a flow diagram of a method of debugging a device control service according to an embodiment of the present application;
fig. 9 is a block diagram of a configuration of a debugging apparatus of a device control service according to an embodiment of the present application;
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to one aspect of the embodiment of the application, a debugging method of a device control service is provided. The debugging method of the equipment control service is widely applied to full-house intelligent digital control application scenes such as intelligent Home (Smart Home), intelligent Home equipment ecology, intelligent Home (Intelligence House) ecology and the like. Alternatively, in the present embodiment, the above-described debugging method of the device control service may be applied to a hardware environment constituted by the terminal device 102 and the server 104 as shown in fig. 1. As shown in fig. 1, the server 104 is connected to the terminal device 102 through a network, and may be used to provide services (such as application services and the like) for a terminal or a client installed on the terminal, a database may be set on the server or independent of the server, for providing data storage services for the server 104, and cloud computing and/or edge computing services may be configured on the server or independent of the server, for providing data computing services for the server 104.
The network may include, but is not limited to, at least one of: wired network, wireless network. The wired network may include, but is not limited to, at least one of: a wide area network, a metropolitan area network, a local area network, and the wireless network may include, but is not limited to, at least one of: WIFI (Wireless Fidelity ), bluetooth. The terminal device 102 may not be limited to a PC, a mobile phone, a tablet computer, an intelligent air conditioner, an intelligent smoke machine, an intelligent refrigerator, an intelligent oven, an intelligent cooking range, an intelligent washing machine, an intelligent water heater, an intelligent washing device, an intelligent dish washer, an intelligent projection device, an intelligent television, an intelligent clothes hanger, an intelligent curtain, an intelligent video, an intelligent socket, an intelligent sound box, an intelligent fresh air device, an intelligent kitchen and toilet device, an intelligent bathroom device, an intelligent sweeping robot, an intelligent window cleaning robot, an intelligent mopping robot, an intelligent air purifying device, an intelligent steam box, an intelligent microwave oven, an intelligent kitchen appliance, an intelligent purifier, an intelligent water dispenser, an intelligent door lock, and the like.
In this embodiment, a method for debugging a device control service is provided, and fig. 2 is a flowchart of a method for debugging a device control service according to an embodiment of the present application, where the flowchart includes the following steps:
step S202, obtaining an initial service code of equipment control service;
step S204, controlling the operation of the initial service codes through the target operation parameters;
step S206, debugging the initial service code to obtain a target service code in the process of running the initial service code, where the target service code is used to deploy the device control service.
Through the steps, the conditions for providing operation for the codes of the equipment control service through the target operation parameters are equivalent to decoupling between the equipment control service and other services depending on the equipment control service, the equipment control service can finish operation locally by using the target operation parameters without providing data depending on other services, the codes of the equipment control service are not required to be deployed on a cloud platform to adjust service codes through reading and analyzing operation logs, the deployment of the codes is repeated, and the purposes of simplifying the debugging flow of the operation codes of the cloud equipment control service are achieved through the reading of the logs and the adjustment of the codes. By adopting the technical scheme, the problems of low debugging efficiency and the like of the equipment control service in the related technology are solved, and the technical effect of improving the debugging efficiency of the equipment control service is realized.
Alternatively, in this embodiment, the above-described debugging method of the device control service may be, but is not limited to, executed on software, a system, a device, and a platform local to the developer. Such as: a developer local computer, code editing software, a code development platform, and the like.
In the technical solution provided in step S202, the initial service code may be, but is not limited to, a service code of a device control service that is already deployed on the cloud platform but needs to be adjusted or modified, a service code of a device control service that is not already deployed on the cloud platform, or the like. The manner in which the initial service code is obtained may be a manner downloaded from the cloud platform if the initial service code is already deployed on the cloud platform, or may be, but is not limited to, a manner that includes a call from a location where the service code is stored on the storage device, such as directly from a folder that edits the code of the device control service, if the initial service code is not already deployed on the cloud platform.
In one exemplary embodiment, the initial service code of the device control service may be acquired, but is not limited to, by: setting up a service environment of the equipment control service on a target terminal, wherein the service environment is used for providing operation conditions for the equipment control service; and transmitting the received initial service code into the service environment.
Alternatively, in the present embodiment, the target terminal may include, but is not limited to, a mobile terminal, a computer terminal, and the like, for example, a computer in which a developer develops the device control service. The service environment is used for providing operation conditions for the device control service, the device control service can operate in the service environment, the service environment built on the target terminal provides the operation environment for the device control service, the target operation parameters decouple the device control service from other services on which the device control service depends and provide independent operation conditions for the device control service, so that the device control service can perform local test on the target terminal, and the built service environment can include, but is not limited to, a system, software and the like capable of supporting the operation of the device control service.
Alternatively, in this embodiment, the receiving manner of the initial service code may include, but is not limited to: transmission of files, indication of storage path, etc. Such as: a selection box, a path input box, etc. of the initial service code to be tested may be displayed on the interface of the test application.
Optionally, in this embodiment, after the service environment is built on the target terminal, the received initial service code is transferred into the service environment, so as to implement the operation of the initial service code, and debug the initial service code in the operation process.
Optionally, in this embodiment, the service environment of the device control service may be set up on the target terminal, so that the device control service may be run on the target terminal, and the initial service code is transferred into the service environment, that is, the initial service code is run in the service environment, so that the device control service does not need to be deployed on the cloud platform, that is, the service code does not need to be uploaded into a code warehouse, and the code warehouse deploys the code to the cloud platform service, thereby reducing the interaction process with the cloud platform in the debugging process, and improving the debugging efficiency.
In the solution provided in the above step S204, the above target operation parameter may be, but not limited to, used for controlling the initial service code operation, and the target operation parameter may be, but not limited to, information and data provided by other services used by the device control service in implementing the function thereof, for example, user intention, information of the device to be controlled, and the like. Information and data supporting the operation of the initial service code are provided for the initial service code through the target operation parameters.
Alternatively, in this embodiment, since the above-described device control service generally functions to convert the user's intention identified by the previous service into a corresponding device instruction, and to transmit the device instruction to the next service for subsequent processing. In this embodiment, the target operation parameter replaces the service that needs to be relied on in the operation process of the device control service, simulates the other service that the device control service depends on, and can focus testing and debugging on the device control service, so that debugging of the device control service is not affected even if the other relied on service has a problem, interference of external factors is eliminated, and testing accuracy is improved.
In one exemplary embodiment, initial service code operation may be controlled by, but is not limited to, target operation parameters: starting the initial service code; monitoring a service interaction type code in the initial service code in the running process of the initial service code, wherein the service interaction type code is used for executing interaction operation between the equipment control service and a dependent service, and the dependent service is a service with a dependency relationship with the equipment control service; and under the condition that the initial service code is monitored to run to the target code of the service interaction type, controlling the target code to call parameters corresponding to the target code from the target running parameters.
Optionally, in this embodiment, during the running process of the initial service code, a code of a service interaction type in the initial service code is monitored, where the code of the service interaction type is used to perform an interaction operation between the device control service and the dependent service, that is, the initial service code interacts with the dependent service through the code to obtain parameters such as information and data used in running, and the code is monitored to determine an interaction opportunity between the device control service and the dependent service so as to control the interaction opportunity between the device control service and the dependent service.
Alternatively, in the present embodiment, the above-mentioned dependent services may be, but are not limited to, a service for triggering a device control service in a control process including an intelligent device, a service for providing an operation parameter for the device control service, and the like. The dependent services described above may include, but are not limited to: natural language processing (Natural Language Processing, NLP) services, device status query services, device list query services, internet of things cloud platform services, and the like.
Alternatively, in this embodiment, when it is monitored that the initial service code is running to the target code of the service interaction type, that is, when the device control service starts to call its dependent service acquisition parameters, the target code may be controlled to call parameters from the target running parameters. The method for calling the parameters from the target operation parameters by the control target code can be, but is not limited to, configuring a switch between the device control service and the dependent service, so that the device control service can acquire the parameters in a different mode from the debugging mode in the real environment, and calling the parameters from the target operation parameters when the device control service is debugging can be, but is not limited to, mock-off the dependent service in a mock mode. The device control service is also directly de-dependent on the service acquisition parameters when it is running in the real environment.
Optionally, in this embodiment, during the running process of the initial service code, the code is monitored, when the running target code is monitored, that is, when the running parameter provided by the dependent service needs to be called, the control target code calls the corresponding parameter in the target running parameter, and does not need to interact with the dependent service to obtain the corresponding parameter, so that the interaction process and time can be saved, the device control service can be independently run, and not only is the debugging efficiency improved, but also the debugging quality is improved.
In one exemplary embodiment, parameters corresponding to the object code may be invoked from the target operating parameters by, but not limited to, controlling the object code: controlling the target code to call a target user intention parameter from the target operation parameters under the condition that the dependent service of the target code is a user intention analysis service; and controlling the target code to call target equipment parameters from the target operation parameters under the condition that the dependent service of the target code is equipment analysis service to be controlled.
Alternatively, in the present embodiment, the user intention parsing service may include, but is not limited to, a service providing user intention, such as a Natural Language Processing (NLP) service, or a combination service of a voice service and an NLP service, and the like. The function of the device to be controlled parsing service may, but is not limited to, a service that provides function information of the device to be controlled, such as a function model definition of the device to be controlled, and transmits the function information to a device control service, etc., and the device to be controlled parsing service may, but is not limited to, a device list service, a device status service, an internet of things cloud platform service, etc.
For example, taking a device control service for debugging a voice control intelligent device as an example, fig. 3 is a call relation diagram of the device control service according to an embodiment of the present application, as shown in fig. 3, in a general process for debugging the voice control intelligent device, when a user speaks a corpus of a device to be controlled (i.e., the device to be controlled), the voice service parses an audio file (i.e., the corpus) into text, the NLP service converts the text into a specific user intention, then the device control service invokes a device state query service, a device list query service, an internet of things cloud platform service, and other service networks to obtain a function model definition according to matching the user intention into a specific intention instruction, and after the user intention is converted into the specific instruction, the instruction is sent to an internet of things (IOT) service, and the IOT service sends the instruction to the device to be controlled through a gateway. The above-mentioned processes are executed under the condition of formal environment and acceptance environment (i.e. the above-mentioned real environment), the debugging performed under the above-mentioned two environments is integrated debugging, and the debugging process provided by this embodiment may be a unit debugging mode, such as a process in a dashed line frame, and the target operation parameters are transmitted to the device control service through a local debugging entry (i.e. HTTP interface), so that the device control service is directly operated under the target operation parameters, and the NLP service is not required to transmit user intention, so that the device control service is debugged in a mock mode.
In one exemplary embodiment, prior to step S204 described above, the target operating parameters may be, but are not limited to, obtained by: acquiring a parameter transmission request, wherein the parameter transmission request is used for requesting to control the operation of the equipment control service by using the target operation parameter; and responding to the parameter transmission request, and storing the target operation parameters into a cache space, wherein the cache space is used for providing the operation parameters for the equipment control service in the operation process of the equipment control service.
Alternatively, in this embodiment, the parameter transmission request may be, but not limited to, using an HTTP request, may be, but not limited to, initiating, by a plug-in for generating an HTTP request, such as a postMan or other third party tool, etc., where the parameter transmission request may be, but not limited to, triggered by a developer through the postMan or other third party tool, and may be, but not limited to, indicating that the device control service is running using the target running parameter, where the request may be, but not limited to, also carrying the target running parameter.
Optionally, in this embodiment, after the parameter transmission request is acquired, the target operation parameter carried in the parameter transmission request is stored in the cache space in response to the parameter transmission request, and then when the device control service needs the target operation parameter, the target operation parameter may be directly acquired from the cache space. In the running process of the equipment control service, the cached data is directly used, the service acquisition is not needed to be relied on, the acquisition efficiency can be improved, and the acquisition success rate can also be improved.
In one exemplary embodiment, the parameter transmission request may be, but is not limited to, obtained by: displaying an initial parameter editing interface, wherein the initial parameter editing interface is used for editing user intention parameters and equipment parameters; according to the detected parameter editing operation executed on the initial parameter editing interface, editing the user intention parameter and the equipment parameter to obtain a target parameter editing interface; and under the condition that the confirmation operation executed on the target parameter editing interface is detected, constructing the parameter transmission request according to the target intention parameter and the target equipment parameter displayed on the target parameter editing interface, wherein the target operation parameter comprises the target intention parameter and the target equipment parameter.
Alternatively, in the present embodiment, the above-described initial parameter editing interface is used to edit the user intention parameters and the device parameters, that is, the developer or the debugger can edit the target operation parameters on the parameter editing interface. The parameter editing interface may include, but is not limited to, an interface for editing a code, for example, an interface for triggering a parameter code in the HTTP request POST mode, or the like, or an interface for running parameter selection, or the like.
Taking the parameter editing interface as an interface for editing codes as an example, fig. 4 is a schematic interface diagram of the parameter editing interface according to an embodiment of the present application, as shown in fig. 4, an editing code in a POST manner is edited in a body. "nlpParams (NLP parameters)", that is, user intention parameters, the corresponding parameters may be user intents provided for NLP services, and the user intents that a developer may set include: "domain", "action", "property", "mode", etc., the user intends to be the control of the humidity to turn on the air conditioner, etc. "deviceInfoList", i.e. a device parameter, the corresponding parameter may be provided by a dependent service, the developer may set up to include: "product code", "wifyType", "deviceId", etc., the corresponding device parameter may be the code "AB929M003" corresponding to the air conditioner, etc. After editing the service parameter codes, the code editing of the parameters can be completed by clicking confirmation.
Taking a parameter editing interface as an interface for selecting operation parameters as an example, such an interface can reduce the error rate of modifying the operation parameters, fig. 5 is a schematic interface diagram of the parameter editing interface according to an embodiment of the present application, as shown in fig. 5, on the initial parameter editing interface, there are user intention parameters and device parameters for debugging personnel to select, where the user intention parameters include a category, an action, a mode, and the like, the category is a product type of a device to be controlled, the product type may be an intelligent product of an air conditioner, a refrigerator, a television, and the like, the action may be an action of turning on, turning off, switching, and the like, and there may also be a specific action corresponding to the selected product type, for example, the selected product type is a television, the corresponding specific action may also have actions of changing a channel, adjusting a volume, and the like, and the alternative mode may be determined by the selected category and the device parameters include a product code, a product model, and the like, may be specific to a specific model in the selected product type, so that the product type includes multiple models of the product type may be debugged.
Alternatively, in the present embodiment, the above-described execution of the parameter editing operation may include, but is not limited to, a person who has authority to edit parameters at the parameter editing interface, such as a developer, a debugger, and the like. The above-described parameter editing operations may include, but are not limited to, selection operations, input operations, and the like. Taking the parameter editing interface as an interface for selecting operation parameters, the parameter editing operation is selecting editing, and the equipment to be controlled for editing is an air conditioner as an example. Fig. 6 is a schematic diagram of an interface three of a parameter editing interface according to an embodiment of the present application, as shown in fig. 6, where the selected category is an air conditioner, and the air conditioner is expected to be turned on, then, according to the selected air conditioner and the turned-on actions, alternative modes may include, but are not limited to, modes of cooling, heating, dehumidifying, and the like.
Alternatively, in this embodiment, the above-mentioned request for transmitting the build parameter may be triggered by, but not limited to, performing a confirmation operation on the parameter editing interface, which may include, but is not limited to, clicking a confirmation button, a save button, a send button, etc. on the parameter editing interface. And under the condition that the construction parameter transmission request is triggered, constructing the parameter transmission request by using the target intention parameter and the target equipment parameter selected on the target parameter editing interface. Fig. 7 is a schematic interface diagram of a parameter editing interface according to an embodiment of the present application, as shown in fig. 7, where the target parameter editing interface is that user intention parameters and device parameters are displayed on the interface, and a parameter transmission request is constructed by clicking a confirm button on the interface, where target operation parameters carried in the parameter transmission request include: the user intends to start the dehumidification mode of the air conditioner, and the corresponding equipment parameter of the air conditioner is the air conditioner with the product code of AB929XXX and the product model of 2008610800820 XX.
Optionally, in this embodiment, any user intention parameter and device parameter may be edited, any function of the debugging device may be debugged for any type of device to be controlled, and debugging of any type of device and debugging of any function may be implemented, and in this debugging process, hardware is not required, and operations such as permission checking and debugging by binding the device to be controlled are not required.
In the technical scheme provided in step S206, the initial service code is debugged during the running process of the initial service code, that is, the initial service code is modified according to the running result of the initial service code, so as to finally obtain the target service code.
Alternatively, in the present embodiment, the manner of debugging the initial service code may include, but is not limited to, debugging by line, debugging by function, and the like.
In one exemplary embodiment, the initial service code may be debugged, but is not limited to, by: detecting the operation result of the initial service code row by row; and debugging the initial service codes line by line according to the running result.
Alternatively, in this embodiment, the above-mentioned debugging of the initial service code may be, but not limited to, debugging by Debug, detecting the running result row by row, and then debugging row by row according to the running result. The Debug may be provided by, but is not limited to, a Tomcat server.
In order to better understand the process of the method for debugging the device control service, the following describes the flow of the implementation method for debugging the device control service in combination with the alternative embodiment, but is not limited to the technical solution of the embodiment of the present application.
In this embodiment, a method for debugging a device control service is provided, and fig. 8 is a schematic flow chart of a method for debugging a device control service according to an embodiment of the present application, as shown in fig. 8, specifically including the following steps:
step one: acquiring a code, namely acquiring a code of a device control service (namely the initial service code);
step two: setting parameters (namely upper target operation parameters), and editing user intention parameters and equipment parameters by a debugger or a developer on an initial parameter editing interface;
and step three, running codes, namely starting the device control service, performing row-by-row debug code operation, and when the device control service needs to use other services (namely the dependent services) to provide parameters, using the set parameters, namely not depending on the other services, namely performing debugging in a unit debugging mode. In this way, even if other dependent services are not available or abnormal, the debugging device control service is not affected;
Step four: the developer modifies the code, and the developer performs a row-by-row debug test on the code, so that under the condition of abnormal operation, the developer can easily find out which row of code has a problem, that is, can easily locate the problem, find out the problem, and then can directly modify the code. Or even if the operation is normal, if some running performances can be better, the debugging process can also discover the performance through the debug test process, and then modify the code affecting the performance so as to achieve the purpose of debugging;
step five: and (3) carrying out code generation, namely after debugging personnel or developers modify the codes, obtaining codes with good operation effects, namely the target service codes, uploading the obtained target service codes to a code warehouse, and then deploying the codes to cloud services, namely deploying the debugged equipment control services to the cloud services.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of the embodiments of the present application.
Fig. 9 is a block diagram of a configuration of a debugging apparatus of a device control service according to an embodiment of the present application; as shown in fig. 9, includes:
a first obtaining module 902, configured to obtain an initial service code of a device control service;
a control module 904 configured to control the initial service code to run according to a target running parameter;
and the debugging module 906 is configured to debug the initial service code during the running process of the initial service code, so as to obtain a target service code, where the target service code is used for deploying the device control service.
Through the embodiment, the conditions for providing operation for the codes of the equipment control service through the target operation parameters are equivalent to decoupling between the equipment control service and other services depending on the equipment control service, the equipment control service can finish operation locally by using the target operation parameters without providing data depending on other services, the codes of the equipment control service are not required to be deployed on a cloud platform to adjust service codes through reading and analyzing operation logs, deployment of the codes is repeatedly performed, and the purposes of simplifying the debugging flow of the operation codes of the cloud equipment control service are achieved through reading the logs and adjusting the codes. By adopting the technical scheme, the problems of low debugging efficiency and the like of the equipment control service in the related technology are solved, and the technical effect of improving the debugging efficiency of the equipment control service is realized.
In one exemplary embodiment, the control module includes:
a starting unit, configured to start the initial service code;
the monitoring unit is used for monitoring the codes of the service interaction types in the initial service codes in the running process of the initial service codes, wherein the codes of the service interaction types are used for executing the interaction operation between the equipment control service and the dependent service, and the dependent service is the service with the dependency relationship with the equipment control service;
and the control unit is used for controlling the target code to call parameters corresponding to the target code from the target operation parameters under the condition that the initial service code is monitored to be operated to the target code of the service interaction type.
In an exemplary embodiment, the control unit is configured to:
controlling the target code to call a target user intention parameter from the target operation parameters under the condition that the dependent service of the target code is a user intention analysis service;
and controlling the target code to call target equipment parameters from the target operation parameters under the condition that the dependent service of the target code is equipment analysis service to be controlled.
In an exemplary embodiment, the apparatus further comprises:
a second obtaining module, configured to obtain a parameter transmission request before the initial service code is controlled to run by a target operation parameter, where the parameter transmission request is used to request to control the operation of the device control service using the target operation parameter;
and the response module is used for responding to the parameter transmission request and storing the target operation parameters into a cache space, wherein the cache space is used for providing the operation parameters for the equipment control service in the operation process of the equipment control service.
In an exemplary embodiment, the second acquisition module includes:
the display unit is used for displaying an initial parameter editing interface, wherein the initial parameter editing interface is used for editing user intention parameters and equipment parameters;
the editing unit is used for executing parameter editing operation on the initial parameter editing interface according to the detected parameter editing operation, editing the user intention parameter and the equipment parameter to obtain a target parameter editing interface;
and the construction unit is used for constructing the parameter transmission request according to the target intention parameter and the target equipment parameter displayed on the target parameter editing interface under the condition that the confirmation operation performed on the target parameter editing interface is detected, wherein the target operation parameter comprises the target intention parameter and the target equipment parameter.
In an exemplary embodiment, the first acquisition module includes:
the building unit is used for building a service environment of the equipment control service on the target terminal, wherein the service environment is used for providing operation conditions for the equipment control service;
and the input unit is used for inputting the received initial service code into the service environment.
In one exemplary embodiment, the debug module includes:
the detection unit is used for detecting the running result of the initial service code row by row;
and the debugging unit is used for debugging the initial service codes line by line according to the running result.
Embodiments of the present application also provide a storage medium including a stored program, wherein the program performs the method of any one of the above when run.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store program code for performing the steps of:
s1, acquiring an initial service code of equipment control service;
s2, controlling the initial service code to run through the target running parameters;
and S3, debugging the initial service code in the running process of the initial service code to obtain a target service code, wherein the target service code is used for deploying the equipment control service.
Embodiments of the present application also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, acquiring an initial service code of equipment control service;
s2, controlling the initial service code to run through the target running parameters;
and S3, debugging the initial service code in the running process of the initial service code to obtain a target service code, wherein the target service code is used for deploying the equipment control service.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the application described above may be implemented in a general purpose computing device, they may be centralized on a single computing device, or distributed across a network of computing devices, or they may alternatively be implemented in program code executable by computing devices, such that they may be stored in a memory device for execution by the computing devices and, in some cases, the steps shown or described may be performed in a different order than what is shown or described, or they may be implemented as individual integrated circuit modules, or as individual integrated circuit modules. Thus, the present application is not limited to any specific combination of hardware and software.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application and are intended to be comprehended within the scope of the present application.

Claims (9)

1. A method for debugging a device control service, comprising:
acquiring an initial service code of equipment control service;
controlling the operation of the initial service code through a target operation parameter, wherein the target operation parameter is used for simulating a dependent service of the equipment control service to provide parameters required by the equipment control service in the process of operating the initial service code to realize the equipment control service, and the dependent service is a service with a dependent relation with the equipment control service;
debugging the initial service code in the process of running the initial service code to obtain a target service code, wherein the target service code is used for deploying the equipment control service;
wherein the controlling the initial service code to operate by the target operation parameter includes: starting the initial service code; and monitoring a code of a service interaction type in the initial service code in the running process of the initial service code, wherein the code of the service interaction type is used for executing the interaction operation between the equipment control service and the dependent service, and controlling the target code to call parameters corresponding to the target code from the target running parameters under the condition that the initial service code is monitored to run to the target code of the service interaction type.
2. The method of claim 1, wherein said controlling the object code to invoke parameters corresponding to the object code from the object operating parameters comprises:
controlling the target code to call a target user intention parameter from the target operation parameters under the condition that the dependent service of the target code is a user intention analysis service;
and controlling the target code to call target equipment parameters from the target operation parameters under the condition that the dependent service of the target code is equipment analysis service to be controlled.
3. The method of any of claims 1-2, wherein prior to said controlling the initial service code operation by a target operation parameter, the method further comprises:
acquiring a parameter transmission request, wherein the parameter transmission request is used for requesting to control the operation of the equipment control service by using the target operation parameter;
and responding to the parameter transmission request, and storing the target operation parameters into a cache space, wherein the cache space is used for providing the operation parameters for the equipment control service in the operation process of the equipment control service.
4. A method according to claim 3, wherein the acquisition parameter transmission request comprises:
displaying an initial parameter editing interface, wherein the initial parameter editing interface is used for editing user intention parameters and equipment parameters;
according to the detected parameter editing operation executed on the initial parameter editing interface, editing the user intention parameter and the equipment parameter to obtain a target parameter editing interface;
and under the condition that the confirmation operation executed on the target parameter editing interface is detected, constructing the parameter transmission request according to the target intention parameter and the target equipment parameter displayed on the target parameter editing interface, wherein the target operation parameter comprises the target intention parameter and the target equipment parameter.
5. The method according to any one of claims 1-4, wherein the obtaining an initial service code of a device control service comprises:
setting up a service environment of the equipment control service on a target terminal, wherein the service environment is used for providing operation conditions for the equipment control service;
and transmitting the received initial service code into the service environment.
6. The method of any of claims 1-5, wherein the debugging the initial service code comprises:
detecting the operation result of the initial service code row by row;
and debugging the initial service codes line by line according to the running result.
7. A debugging apparatus for a device control service, comprising:
the first acquisition module is used for acquiring an initial service code of the equipment control service;
the control module is used for controlling the operation of the initial service code through a target operation parameter, wherein the target operation parameter is used for simulating a dependent service of the equipment control service to provide parameters required for realizing the equipment control service in the process of operating the initial service code to realize the equipment control service, and the dependent service is a service with a dependent relation with the equipment control service;
the debugging module is used for debugging the initial service code in the running process of the initial service code to obtain a target service code, wherein the target service code is used for deploying the equipment control service;
wherein, the control module includes: a starting unit, configured to start the initial service code; the monitoring unit is used for monitoring the codes of the service interaction types in the initial service codes in the running process of the initial service codes, wherein the codes of the service interaction types are used for executing the interaction operation between the equipment control service and the dependent service; and the control unit is used for controlling the target code to call parameters corresponding to the target code from the target operation parameters under the condition that the initial service code is monitored to be operated to the target code of the service interaction type.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program when run performs the method of any one of claims 1 to 6.
9. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of claims 1 to 6 by means of the computer program.
CN202210259154.7A 2022-03-16 2022-03-16 Debugging method and device for equipment control service, storage medium and electronic device Active CN114826899B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210259154.7A CN114826899B (en) 2022-03-16 2022-03-16 Debugging method and device for equipment control service, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210259154.7A CN114826899B (en) 2022-03-16 2022-03-16 Debugging method and device for equipment control service, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN114826899A CN114826899A (en) 2022-07-29
CN114826899B true CN114826899B (en) 2024-01-23

Family

ID=82528162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210259154.7A Active CN114826899B (en) 2022-03-16 2022-03-16 Debugging method and device for equipment control service, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN114826899B (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130033652A (en) * 2011-09-27 2013-04-04 이메디정보기술(주) Method and apparatus for developing, distributing and executing object-wise dynamic compileless programs
CN107391528A (en) * 2016-03-30 2017-11-24 阿里巴巴集团控股有限公司 Front end assemblies Dependency Specification searching method and equipment
CN110286897A (en) * 2019-05-22 2019-09-27 深圳壹账通智能科技有限公司 API Visual Dynamic configuration method, device, equipment and storage medium
CN111290762A (en) * 2020-01-19 2020-06-16 深圳云天励飞技术有限公司 Deployment method and device of deep learning network and terminal equipment
CN112181439A (en) * 2020-09-24 2021-01-05 中国建设银行股份有限公司 Micro-service deployment method and device, electronic equipment and readable storage medium
CN112199086A (en) * 2020-09-18 2021-01-08 北京达佳互联信息技术有限公司 Automatic programming control system, method, device, electronic device and storage medium
CN112328301A (en) * 2020-10-28 2021-02-05 北京百度网讯科技有限公司 Method and device for maintaining consistency of operating environments, storage medium and electronic equipment
CN112463634A (en) * 2020-12-11 2021-03-09 中国人民银行清算总中心 Software testing method and device under micro-service architecture
CN112559344A (en) * 2020-12-10 2021-03-26 平安养老保险股份有限公司 Remote mock testing method and system
CN112732572A (en) * 2021-01-06 2021-04-30 微民保险代理有限公司 Service testing method, device and system, storage medium and electronic device
CN112948271A (en) * 2021-04-09 2021-06-11 腾讯科技(深圳)有限公司 Code testing method, device, equipment and storage medium
CN113238929A (en) * 2021-04-25 2021-08-10 平安普惠企业管理有限公司 Code testing method and device based on Mock data, electronic equipment and storage medium
CN113760696A (en) * 2020-07-01 2021-12-07 北京沃东天骏信息技术有限公司 Program problem positioning method and device, electronic equipment and storage medium
CN113986255A (en) * 2021-10-29 2022-01-28 中国电信股份有限公司 Method and device for deploying service and computer-readable storage medium
CN113986741A (en) * 2021-10-29 2022-01-28 树根互联股份有限公司 Component debugging method and device and computer equipment
CN114090434A (en) * 2021-11-12 2022-02-25 北京字节跳动网络技术有限公司 Code debugging method and device, computer equipment and storage medium
CN114090074A (en) * 2021-10-26 2022-02-25 青岛海尔科技有限公司 Method and device for configuring operating environment, storage medium and electronic device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559438B (en) * 2015-09-24 2019-12-31 阿里巴巴集团控股有限公司 Program uploading method and device based on target network platform
US10481997B2 (en) * 2016-11-27 2019-11-19 Amazon Technologies, Inc. Distributed code tracing system
US10417118B2 (en) * 2017-11-14 2019-09-17 International Business Machines Corporation Development-time awareness of a production dependency injection environment

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130033652A (en) * 2011-09-27 2013-04-04 이메디정보기술(주) Method and apparatus for developing, distributing and executing object-wise dynamic compileless programs
CN107391528A (en) * 2016-03-30 2017-11-24 阿里巴巴集团控股有限公司 Front end assemblies Dependency Specification searching method and equipment
CN110286897A (en) * 2019-05-22 2019-09-27 深圳壹账通智能科技有限公司 API Visual Dynamic configuration method, device, equipment and storage medium
CN111290762A (en) * 2020-01-19 2020-06-16 深圳云天励飞技术有限公司 Deployment method and device of deep learning network and terminal equipment
CN113760696A (en) * 2020-07-01 2021-12-07 北京沃东天骏信息技术有限公司 Program problem positioning method and device, electronic equipment and storage medium
CN112199086A (en) * 2020-09-18 2021-01-08 北京达佳互联信息技术有限公司 Automatic programming control system, method, device, electronic device and storage medium
CN112181439A (en) * 2020-09-24 2021-01-05 中国建设银行股份有限公司 Micro-service deployment method and device, electronic equipment and readable storage medium
CN112328301A (en) * 2020-10-28 2021-02-05 北京百度网讯科技有限公司 Method and device for maintaining consistency of operating environments, storage medium and electronic equipment
CN112559344A (en) * 2020-12-10 2021-03-26 平安养老保险股份有限公司 Remote mock testing method and system
CN112463634A (en) * 2020-12-11 2021-03-09 中国人民银行清算总中心 Software testing method and device under micro-service architecture
CN112732572A (en) * 2021-01-06 2021-04-30 微民保险代理有限公司 Service testing method, device and system, storage medium and electronic device
CN112948271A (en) * 2021-04-09 2021-06-11 腾讯科技(深圳)有限公司 Code testing method, device, equipment and storage medium
CN113238929A (en) * 2021-04-25 2021-08-10 平安普惠企业管理有限公司 Code testing method and device based on Mock data, electronic equipment and storage medium
CN114090074A (en) * 2021-10-26 2022-02-25 青岛海尔科技有限公司 Method and device for configuring operating environment, storage medium and electronic device
CN113986255A (en) * 2021-10-29 2022-01-28 中国电信股份有限公司 Method and device for deploying service and computer-readable storage medium
CN113986741A (en) * 2021-10-29 2022-01-28 树根互联股份有限公司 Component debugging method and device and computer equipment
CN114090434A (en) * 2021-11-12 2022-02-25 北京字节跳动网络技术有限公司 Code debugging method and device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
B公司基于IT系统的电力设备调试工程服务质量管理研究;赵波;北京邮电大学;10-67 *

Also Published As

Publication number Publication date
CN114826899A (en) 2022-07-29

Similar Documents

Publication Publication Date Title
CN105357245B (en) A kind of smart home system and its design method based on cloud service and ZigBee technology
CN114826899B (en) Debugging method and device for equipment control service, storage medium and electronic device
CN116107975A (en) Control method and device of equipment, storage medium and electronic device
CN114911535B (en) Application program component configuration method, storage medium and electronic device
CN116361155A (en) Method and device for testing software development kit, storage medium and electronic device
CN115309062A (en) Device control method, device, storage medium, and electronic apparatus
CN115001885B (en) Equipment control method and device, storage medium and electronic device
CN115277412B (en) Edge gateway upgrading method and device, storage medium and electronic device
CN115297103B (en) Method and device for acquiring logic constraint file, storage medium and electronic device
CN115174383B (en) Equipment updating method, storage medium and electronic device
CN116541012A (en) Basic parameter modification method and device, storage medium and electronic device
CN116360584A (en) Virtual target product generation method and device, storage medium and electronic device
CN117573522A (en) Method and device for determining starting duration, storage medium and electronic device
CN114999494A (en) Voice interaction function testing method and device, storage medium and electronic device
CN116225456A (en) Program deployment method, device, storage medium and terminal
CN116301767A (en) Interface file generation method and device, storage medium and electronic device
CN117373443A (en) Voice interaction flow configuration method, system, storage medium and electronic device
CN117376042A (en) Functional platform configuration method and device of intelligent equipment and electronic device
CN117908856A (en) Work order construction method and device, storage medium and electronic device
CN117573320A (en) Task node execution method and device, storage medium and electronic device
CN116628367A (en) Method and device for accessing applet links, storage medium and control device
CN116560974A (en) Interface testing method of Internet of things equipment, storage medium and electronic device
CN115002014A (en) Method and device for determining test result, storage medium and electronic device
CN116521673A (en) Database operation method and device, storage medium and electronic device
CN117687903A (en) Method and device for generating test case, storage medium and electronic device

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