Data processing method, device, storage medium and program product for industry applications

By receiving and processing the device identification of the control device in B-end industry applications, obtaining application instance information and authorization information, combined with multi-cloud host multi-application instance deployment and registration services, it solves the problem of B-end user authorization and equipment between multiple application instances. Management challenges, improving user experience and data security.

CN118474155BActive Publication Date: 2024-09-24HANGZHOU LIFESMART TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410927009.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-09-24
Estimated Expiration
2044-07-11

AI Technical Summary

Technical Problem

The deployment and configuration of B-side industry applications are difficult to meet the needs of enterprise users. In particular, there are difficulties in authorization and device management between multiple application instances, which affects user experience and data security.

Method used

By receiving the device identification of the control device at the user end, the corresponding application instance information and authorization information are obtained, and the processing and feedback of the intelligent control instructions are realized. The multi-cloud host multi-application instance deployment method is adopted, and the registration service is combined with the registration service for pre-configuration to ensure that different intelligent Customized management and data security of control devices and application instances.

Benefits of technology

It improves the security and flexibility of the interaction between application instances and user-side data, significantly improves user experience and data security of application instances, and at the same time enables secure authorization and flexible management of public intelligent control devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118474155B
    Figure CN118474155B
Patent Text Reader

Abstract

The present invention relates to the field of computer software application technology, and provides a data processing method, device, storage medium and program product for industry applications, which are applied to the user end of the industry application, and the user end is configured with multiple control devices, any of which is used to control at least one intelligent device, and receives the intelligent control instructions of the control device carrying the device identification of the control device through the user end of the industry application; and obtains control configuration information including instance information of the application instance corresponding to the control device, authorization information of the application instance to the control device, etc. according to the device identification, so as to access the application instance based on the instance information, and receive feedback information of the application instance to the intelligent control instructions. In this way, while ensuring the basic functions of the application instance, the security authorization and other operations of the public intelligent control device are realized, which effectively improves the security of the data interaction between the application instance and the user end, and provides great flexibility for the intelligent control device to access the application instance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer software application technology, and in particular to a data processing method, device, storage medium and program product for industry applications. Background Art

[0002] Industry applications are a type of SaaS (Software as a Service) software that is provided to users as a service. Industry application software services are provided to users through a dedicated online access address. Usually, industry application software is deployed by deploying multiple application instances on a host, where the industry application assigned to a user is a dedicated application instance among the multiple application instances.

[0003] For some industry applications, there are different types of product users on the B-end (Internet products for corporate customers) and product users on the C-end (Internet products for individual users). For example, smart voice speakers are a special type of industry application. There is a big difference between smart voice speakers for hotels on the B-end and smart voice speakers for families on the C-end when binding. For smart voice speakers for families on the C-end, you can log in with your smart home personal account on the speaker App side and authorize the binding. After binding, you can use the smart voice speaker to control the smart devices bound to the personal account. For smart voice speakers for hotels on the B-end, the smart voice devices in the hotel rooms in this scenario need to be pre-configured, and the guests' personal accounts cannot be used. Therefore, how to reasonably deploy and configure B-end industry applications to ensure that customers of B-end users can conveniently use industry applications is a technical problem that needs to be solved urgently. Summary of the invention

[0004] In view of this, the present invention provides a data processing method, device, storage medium and program product for industry applications to solve the technical problem of how to reasonably deploy and configure B-side industry applications to ensure that customers of B-side users can conveniently use industry applications, which is called a technical problem to be solved urgently.

[0005] In a first aspect, the present invention provides a data processing method for an industry application, which is applied to a user end of the industry application, wherein the user end is configured with a plurality of control devices, and any control device is used to control at least one intelligent device, and the method comprises:

[0006] Receive an intelligent control instruction of a control device, the intelligent control instruction carries a device identification of the control device;

[0007] According to the device identifier, control configuration information of the control device is obtained, where the control configuration information includes instance information of the application instance corresponding to the control device, the device area identifier of the control device, and authorization information of the application instance to the control device;

[0008] Access the application instance based on the instance information, and send a command processing request for the intelligent control command, where the command processing request carries the device region identifier and authorization information;

[0009] Receive feedback information sent by the application instance in response to the intelligent control instruction.

[0010] The data processing method for industry applications of the present invention receives the intelligent control instructions of the control device carrying the device identification of the control device through the user end of the industry application; and obtains the control configuration information including the instance information of the application instance corresponding to the control device, the authorization information of the application instance to the control device, etc. according to the device identification, so as to access the application instance based on the instance information, and receive the feedback information of the application instance to the intelligent control instructions. Therefore, on the basis of ensuring the basic functions of the application instance, the security authorization and other operations of the public intelligent control device are realized, which effectively improves the security of the data interaction between the application instance and the user end, and at the same time, provides great flexibility for the intelligent control device to access the application instance.

[0011] In an optional implementation, the control configuration information is pre-configured using the following operations:

[0012] The host end of the industry application sends a registration configuration request to the registration server end of the industry application, and the registration configuration request carries the device identifier of the control device and the device area identifier of the control device;

[0013] The registration server sends registration feedback information to the host;

[0014] The registration service is deployed to configure the authorization information of the application instance to control the device.

[0015] The data processing method for industry applications of the present invention pre-configures the control configuration information of the intelligent control device through a registration service, thereby realizing customized management of different application instances of different intelligent control devices without the user's awareness, effectively improving the security of the application instance data while significantly improving the user experience.

[0016] In an optional implementation, the instance information includes a cloud host service identifier for deploying the application instance and an instance identifier of the application instance on the cloud host;

[0017] Access application instances based on instance information, including:

[0018] Determine the access address of the application instance according to the service identifier and the instance identifier;

[0019] Access the application instance through the access address.

[0020] In an optional implementation, the intelligent control instruction is a device synchronization request, and the device synchronization request is used to represent a request to obtain a device list of intelligent devices controlled by the control device;

[0021] The feedback information is a list of devices.

[0022] The data processing method of the industry application of the present invention allows the control device to synchronize devices through the user end of the industry application and obtain the device list of the smart devices controlled by the control device lock, thereby effectively improving the convenience of using the control device and significantly improving the user experience.

[0023] In an optional implementation, the intelligent control instruction is a device control request, and the device control request is used to represent a control instruction requesting control of an intelligent device controlled by the control device;

[0024] The feedback information is the control result of the smart device in response to the control instruction.

[0025] The data processing method of the industry application of the present invention controls the device to send a device control request to the user end of the industry application, and the user end can verify the control configuration information of the control device through the registration service of the industry application and the host end of the industry service, and then feedback the control result in response to the device control request, which effectively ensures the data security of the industry application.

[0026] In a second aspect, a data processing method for an industry application is provided, which is applied to a registration server of the industry application, wherein a user end of the industry application is configured with a plurality of control devices, and any control device is used to control at least one smart device, and the method comprises:

[0027] Receive a device identifier sent by a user terminal, where the device identifier is carried by an intelligent control instruction for controlling a device received by the user terminal;

[0028] Sending control configuration information of the control device corresponding to the device identifier to the user end, so that the user end can access the application instance based on the instance information, send an instruction processing request for the intelligent control instruction, and receive feedback information sent by the application instance in response to the intelligent control instruction;

[0029] The control configuration information includes instance information of the application instance corresponding to the control device, the device area identifier of the control device, and authorization information of the application instance to the control device;

[0030] The command processing request carries the device region identifier and authorization information.

[0031] In a third aspect, a data processing device for industry applications is provided, which is applied to a user end of the industry application, and the user end is configured with multiple control devices, and any control device is used to control at least one intelligent device, and the device includes:

[0032] A control instruction receiving module, used to receive an intelligent control instruction of a control device, the intelligent control instruction carries a device identification of the control device;

[0033] A configuration acquisition module, used to acquire control configuration information of the control device according to the device identification, the control configuration information including instance information of the application instance corresponding to the control device, the device area identification of the control device, and authorization information of the application instance to the control device;

[0034] A control request module is used to access the application instance based on the instance information and send a command processing request for the intelligent control command, where the command processing request carries the device area identifier and authorization information;

[0035] The feedback receiving module is used to receive feedback information sent by the application instance in response to the intelligent control instruction.

[0036] In a fourth aspect, the present invention provides a data processing device for industry applications, which is applied to a registration server of the industry application, wherein a user end of the industry application is configured with a plurality of control devices, any of which is used to control at least one smart device, and the device comprises:

[0037] An identification receiving module, used to receive a device identification sent by a user terminal, where the device identification is carried by an intelligent control instruction for controlling a device received by the user terminal;

[0038] A feedback sending module, used to send control configuration information of the control device corresponding to the device identifier to the user end, so that the user end can access the application instance based on the instance information, send an instruction processing request for the intelligent control instruction, and receive feedback information sent by the application instance in response to the intelligent control instruction;

[0039] The control configuration information includes instance information of the application instance corresponding to the control device, the device area identifier of the control device, and authorization information of the application instance to the control device;

[0040] The command processing request carries the device region identifier and authorization information.

[0041] In a fifth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the data processing method for industry applications of the above-mentioned first aspect or any corresponding embodiment thereof.

[0042] In a sixth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the data processing method for industry applications of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0044] Figure 1 is a flow chart of a data processing method for industry applications according to an embodiment of the present invention;

[0045] Figure 2 is a schematic diagram of the implementation process of the registration service according to a specific application example of the data processing method for industry applications according to an embodiment of the present invention;

[0046] Figure 3 A schematic diagram of the calling process of the voice customer control service, the registration service and the industry application host end in the data processing method of the industry application in the embodiment of the present invention is provided;

[0047] Figure 4 A schematic diagram of the processing flow of a voice speaker to synchronize device instructions of a smart device in a specific application example of an embodiment of the present invention is shown;

[0048] Figure 5 It is a schematic diagram of the processing flow of a voice speaker to a device control instruction of a smart device in a specific application example of an embodiment of the present invention;

[0049] Figure 6 is a flow chart of a data processing method for another industry application according to an embodiment of the present invention;

[0050] Figure 7 is a structural block diagram of a data processing device for industry applications according to an embodiment of the present invention;

[0051] Figure 8 is a structural block diagram of a data processing device for another industry application according to an embodiment of the present invention;

[0052] Fig. 9 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0054] For places such as office buildings and hotels that are equipped with a large number of public devices and have a large flow of personnel, the control of smart devices by control devices when using industry applications may need to be flexibly configured according to the location of the control devices and smart devices, and it is not possible for users to log in with their personal private accounts and use industry applications to control smart devices. For example: the hotel's smart voice speakers can control the air conditioners, TVs, lights, etc. in the guest rooms. The smart devices controlled by the smart voice speakers need to be configured according to the location of the smart voice speakers.

[0055] In the embodiment of the present invention, other devices may also be used to control the smart device, for example, a centralized control device having both page display and voice control functions. Therefore, it should be noted that in order to better describe the technical solution of the present invention, the smart voice speakers that control smart devices such as air conditioners, televisions, and lights are collectively referred to as control devices. The technical solution of the present invention is described in detail in combination with the specific application scenario of the control of smart devices by smart voice speakers in a hotel environment. In practical applications, the technical solution of the present invention can also be applied to other applicable application scenarios such as office buildings.

[0056] For hotel scenarios, a management platform is needed to centrally manage and control guest rooms and equipment under them, and hotel industry applications are combined with smart voice speakers for use. In an embodiment of the present invention, the industry application platform adopts a multi-cloud host and multi-application instance deployment method, and based on the hotel voice guest control skill service, a unique set area identifier is assigned to the guest rooms in each area of ​​the hotel to control the smart devices in the guest rooms. Therefore, the hotel voice guest control skill service of the industry application instance and its binding relationship with the guest room realize the intelligent management and control of the smart devices in the guest room by the smart voice speaker, but does not involve traditional information configuration such as personal accounts, effectively improving the user experience.

[0057] Here, in order to better describe the solution, the application scenario of the present application is first exemplified.

[0058] Specifically, in an embodiment of the present invention, control devices such as smart voice speakers are used to control smart devices. The customer control skill service is connected to the control device in communication, and can receive control instructions of the control device. The control instructions can carry the device identification of the control device. The device identification can be set according to the actual situation. For example, it can be a device code pre-configured for the control device, a factory number of the control device itself obtained by identifying the control device itself, etc. The customer control skill service is the user end of the industry application. The user can access the application instance of the industry application by entering the access address provided by the industry application through the customer control skill service. The application instance of the industry application is deployed on the cloud server. The cloud server that deploys the application instance is equivalent to the host end of the industry application.

[0059] The cloud server can be used as a cloud host with a unique domain name. Multiple independently running industry application application instances can be deployed on the cloud host. These application instances customize one-to-one external access addresses through the cloud host's management service. In this way, each application instance has a dedicated external access address. The management service for multiple instances of industry applications on the cloud host can be recorded as Agent (agent service). The Agent proxy service running on the cloud host can provide services to the console in application scenarios such as hotels. The console can manage cloud host services and application instances. After completing the deployment of the application instance, the host side can generate the external proxy service access address of multiple application instances deployed on the host service. For example: the exclusive web access address of user A's application instance is agentWebUrl. Through the agent proxy service, it is possible to access multiple application instances on the host using a unified access main entrance, and configure a specified access address for each application instance.

[0060] Specifically, the agentWebUrl of the Agent service is the address provided by the Agent service running on the host service, which is generally the domain name address of the host service. The agentWebUrl is the domain name address accessed by multiple application instances running on the host service. For a certain application instance, the host service will automatically generate an application identifier (id) of the application instance after creating the application instance. Furthermore, the Agent service can record the mapping relationship between the id and the application instance, and automatically update the service access configuration to support accessing the access address corresponding to the id through a browser, and correctly access the application instance corresponding to the id. For example: update the config configuration of the nginx service. For example, when the id value of the application instance is "entbaidu", the user can use the domain name address of the host service with the id value of "entbaidu" to access the application instance of the industry application opened for the user. The application instance is a software service.

[0061] In addition, the embodiment of the present invention also deploys a registration service on the cloud server, and the registration service is connected to the customer control skill service and the registration service is connected to the host end of the industry application. The data attributes defined by the registration service and related to the application instance may include:

[0062] cuid: String, control device identification, which is unique and can be the control device's own code;

[0063] ent_type: String, the type of industry application. For example, the type of cloud-deployed industry application is "clound";

[0064] agent_id: String, cloud host service identifier of industry applications, which can support multiple cloud host deployment modes;

[0065] ent_id: String, the application instance ID of the industry application deployed by the cloud host;

[0066] group_id: String, the region ID or room number ID of the application instance of the industry application. It can be set to identify by region, by room number, or by a combination of region and room number according to the actual situation;

[0067] auth_info: String, the authorization information of the application instance of the industry application, which is used to authorize the control device to call the platform interface to operate resources;

[0068] state: Integer, the state of the authorization code, where the authorization code is used to represent the authorization information of the application instance to control the device;

[0069] policy: String, policy information, used to represent information such as the permission configuration rules for controlling devices;

[0070] memo: String, note description information, used to annotate the description of the application instance or control device for easy viewing;

[0071] ex: String, additional configuration information, which can be defined according to requirements;

[0072] created_ts: Long, created timestamp;

[0073] modify_ts: Long, modification timestamp.

[0074] "Long", "Integer" and "String" in the data attributes of the above data represent data types, where Long represents a 64-bit, signed integer represented in two's complement, and Integer represents.

[0075] For the host-side deployment application instance, the control device identification and corresponding control area identification information sent by the user side can be registered and configured in advance. For details, see the specific implementation process of the data processing method for industry applications below.

[0076] According to an embodiment of the present invention, an embodiment of a data processing method for industry applications is provided, which is applied to the user end of industry applications. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0077] In this embodiment, a data processing method for industry applications is provided, which is applied to a user end of the industry application. The user end is configured with multiple control devices, and any control device is used to control at least one smart device. Figure 1 is a flow chart of a data processing method for industry applications according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0078] Step S101: receiving an intelligent control instruction of a control device, where the intelligent control instruction carries a device identification of the control device.

[0079] In an optional embodiment of the present invention, the intelligent control instruction may be a device synchronization request or a device control request. The device synchronization request is used to represent a request to obtain a device list of intelligent devices controlled by the control device, and the device control request is used to represent a control instruction requesting to control the intelligent devices controlled by the control device.

[0080] For example, for hotel application scenarios, you can apply to deploy an application instance of a certain industry application. After the application instance is deployed, the hotel can access the application instance through the user end to complete operations such as binding control devices and smart devices. In the actual application process, the user end can be presented to users in the form of industry application platforms or guest control skill services. As a result, the hotel's smart devices and control devices can be added to the industry application platform for centralized management. On the industry application platform, the allocation of guest room areas and smart devices under the guest rooms can be pre-built, and the control devices such as the guest room speakers can be bound to the guest room area where they are located on the industry application platform. Multiple smart devices such as air conditioners, lights, water heaters, and TVs can be configured in the guest room area.

[0081] After the control device is successfully bound to the smart device, the smart control command can be sent to the user end through the control device. For example, a device synchronization request representing a "synchronized device" can be input through a smart voice speaker, so that through corresponding subsequent operations, a device list of smart devices controlled by the control device that is pre-bound to the control device can be obtained.

[0082] In an optional embodiment, the intelligent control instruction is a device control request, and the device control request is used to represent a control instruction requesting to control an intelligent device controlled by a control device.

[0083] For example, the control device is a smart voice speaker configured in a hotel guest room, and the smart device is the guest room where the smart voice speaker is located. Device control instructions such as "turn on the bedside lamp", "turn on the air conditioner" or "adjust the water temperature of the water heater to 42 degrees" can be input through the smart speaker to control the smart device.

[0084] Step S102, according to the device identification, obtain control configuration information of the control device, the control configuration information includes instance information of the application instance corresponding to the control device, the device area identification of the control device and authorization information of the application instance to the control device.

[0085] In an optional embodiment, the device identifier may be the number of the control device, for example, the smart voice speaker number cuid mentioned in the data attributes of the registration service above.

[0086] In an optional embodiment, the user terminal may send a control configuration acquisition request carrying a device identifier to the registration server, thereby acquiring the control configuration information of the control device from the registration server. The control configuration information may include instance information of the application instance corresponding to the control device, the device region identifier of the control device, and authorization information of the application instance to the control device.

[0087] In an optional implementation, the control configuration information may be pre-configured using the following operations:

[0088] Step a1: the host end of the industry application sends a registration configuration request to the registration server end of the industry application. The registration configuration request carries a device identifier of the control device and a device area identifier of the control device.

[0089] The registration service is the registration service described above, and is deployed to configure the authorization information of the application instance to control the device.

[0090] In an optional embodiment of the present invention, the host side may include multiple local hosts or cloud hosts, and the host side may deploy multiple application instances of industry applications. The host side may send a registration configuration request to the registration server of the industry application, and the registration configuration request may carry the device identifier and device area identifier of the control device. Specifically, the device identifier may be the cuid of the above-mentioned intelligent voice speaker, etc. The device area identifier may be defined according to actual needs, such as the room number of a hotel room, etc. In addition, the registration configuration request may also carry a registration configuration request timestamp for authorization of a certain control device, such as a creation timestamp or a modification timestamp. Similarly, other configuration information, remark description information, policy information for authorization of the control device, etc. may also be carried according to actual needs, such as a time period permission configuration policy that prohibits the control device from operating the smart devices in the corresponding area during a set time period, etc.

[0091] In an optional embodiment of the present invention, the registration service may provide the following interface:

[0092] RegisterEntCuid: registers the control device configuration information of the application instance of the industry application;

[0093] UnregisterEntCuid: Unregister the control device configuration information of the application instance of the industry application;

[0094] QueryEntCuid: Query the control device configuration information of the application instance of the industry application.

[0095] The host can register, unregister and query the application instance of the industry application through the above interface provided by the registration service. The registration, unregistration and query information here mainly includes the authorization information of the application instance to the control device.

[0096] For example, when adding a smart voice speaker to the guest room area of ​​an industry application on an application instance of an industry application, the host side of the application instance of the industry application deploys a RegisterEntCuid (registration configuration request) to the registration service. The main parameters included in RegisterEntCuid are {cuid, agent_id, ent_id, group_id, auth_info}. The meaning of the parameters included in RegisterEntCuid can refer to the data attributes of the above registration service. In this way, the cloud host, the application instance of the industry application deployed on the cloud host, the guest room area identifier of the smart device controlled by the control device, and the access authorization information of the smart voice speaker to the smart device can be registered and associated.

[0097] Step a2: The registration server sends registration feedback information to the host.

[0098] The host can send a registration configuration request for registering an application instance of an industry application to the registration service through the above interface provided by the registration service. The registration service can then send registration feedback information to the host, such as registration success, registration failure, etc.

[0099] Similarly, the host side can send a configuration request to the registration service through the above-mentioned interface provided by the registration service, which is used to represent the deregistration or query of the application instance of the industry application. The registration service can send configuration feedback information to the host side in response to the configuration request, such as: deregistration success, deregistration failure, the control device configured for the application instance of the industry application queried by the host side, and the corresponding authorization information, etc.

[0100] The data processing method for industry applications of the present invention pre-configures the control configuration information of the intelligent control device through a registration service, thereby realizing customized management of different application instances of different intelligent control devices without the user's awareness, effectively improving the security of the application instance data while significantly improving the user experience.

[0101] Step S103: Access the application instance based on the instance information, and send a command processing request for the intelligent control command, where the command processing request carries the device area identifier and authorization information.

[0102] In an optional implementation, the instance information includes the cloud host service identifier of the application instance and the instance identifier of the application instance on the cloud host. Further, the access address of the application instance can be determined based on the service identifier and the instance identifier, and the application instance can be accessed through the access address, thereby achieving access to the application instance based on the instance information.

[0103] Specifically, after the user end obtains the control configuration information from the registration service, it can access the application instance deployed on the host end according to the instance information of the application instance corresponding to the control device included in the obtained control configuration information. For example: sending a command processing request for an intelligent control command, the command processing request carries the device area identifier of the control device and the authorization information of the application instance for the control device. Among them, the device area identifier and authorization information can be directly obtained from the registration service.

[0104] For example, the control configuration information obtained from the registration service may include parameters such as {cuid, agent_id, ent_id, group_id, auth_info}. The specific meaning of each parameter can refer to the description of the registration service above. Analyze and obtain agent_id and ent_id from the obtained control configuration information. Through agent_id, the access address agentWebUrl of the cloud host of the host service that deploys the industry application can be analyzed, and ent_id is the number of the application instance of the industry application. Therefore, the specific access address url of the application instance of the industry application in the control configuration information can be obtained through agent_id and ent_id. For example: based on the cloud access address agentWebUrl of the industry application, combined with the instance identifier ent_id of the application instance as "entbaidu", the access address of the application instance can be determined. Through this access address, the application instance can be accurately accessed.

[0105] Step S104: receiving feedback information sent by the application instance in response to the intelligent control instruction.

[0106] In an optional implementation, the intelligent control instruction is a device synchronization request, and the device synchronization request is used to represent a request to obtain a device list of intelligent devices controlled by the control device, and the feedback information is the device list.

[0107] The data processing method of the industry application of the present invention allows the control device to synchronize devices through the user end of the industry application and obtain the device list of the smart devices controlled by the control device lock, thereby effectively improving the convenience of using the control device and significantly improving the user experience.

[0108] In an optional implementation, the intelligent control instruction is a device control request, which is used to represent a control instruction requesting control of an intelligent device controlled by the control device, and the feedback information is a control result of the intelligent device in response to the control instruction.

[0109] The data processing method of the industry application of the present invention controls the device to send a device control request to the user end of the industry application, and the user end can verify the control configuration information of the control device through the registration service of the industry application and the host end of the industry service, and then feedback the control result in response to the device control request, which effectively ensures the data security of the industry application.

[0110] The data processing method for industry applications of the present invention receives the intelligent control instructions of the control device carrying the device identification of the control device through the user end of the industry application; and obtains the control configuration information including the instance information of the application instance corresponding to the control device, the authorization information of the application instance to the control device, etc. according to the device identification, so as to access the application instance based on the instance information, and receive the feedback information of the application instance to the intelligent control instructions. Thus, on the basis of ensuring the basic functions of the application instance, the security authorization and other operations of the public intelligent control device are realized, which effectively improves the security of the data interaction between the application instance and the user end, and at the same time, provides great flexibility for the intelligent control device to access the application instance. For example, in the hotel application environment, the application instance of the industry application, in addition to the conventional equipment management and control, can also control the scene of the hotel's guest room equipment through intelligent voice speakers. The multi-instance intelligent hotel industry application we released supports the voice control function of the intelligent voice speaker. It allows users to save costs through multiple instances and experience the intelligent voice room control function.

[0111] In this embodiment, a specific application example of a data processing method for industry applications is provided. In this specific application example, the data processing method for industry applications can be implemented based on a user end, a registration server end, and a host end. The user end is configured with multiple control devices, and any control device is used to control at least one smart device.

[0112] For example, the user end is a hotel guest control skill service, the registration service is deployed on the cloud server, and the host can also be deployed on the cloud server. The control device can be a smart speaker service in the hotel scene, and the smart device can be the hotel's air conditioner, TV, water heater, etc. The smart device can communicate with the control device.

[0113] In this embodiment of the present invention, the control configuration information of the control device is first configured through the interaction between the host service and the registration service.

[0114] Figure 2 This is a schematic diagram of the implementation process of the registration service in a specific application example of the data processing method for industry applications according to an embodiment of the present invention. For details, refer to Figure 2 , the host side is configured with two host services, host service A and host service B. Application instances A1, A2 and A3 are deployed on host service A, and application instances B1, B2 and B3 are deployed on host service B. In actual application, the number of host services and the number of application instances on each host service can be configured according to actual needs.

[0115] The registration service can be pre-configured on the cloud server.

[0116] The host service can add control devices to the application instance of the industry application during the process of adding the application instance of the industry application or after the application instance is deployed. Specifically, any application instance configured on the host service A and the host service B can send RegisterEntCuid (registration configuration request) to the registration service. RegisterEntCuid can include the following main parameters: {cuid, agent_id, ent_id, group_id, auth_info}.

[0117] In this way, the cloud host, industry application instance, guest room area ID, and skill access authorization information are registered and associated.

[0118] Reference again Figure 2 , also taking the application examples configured by the two host services A and B as an example, the data processing method for the industry application of the embodiment of the present invention is described. Here, the application example is a hotel industry application, the control device is an intelligent voice speaker, and the intelligent device may include the air conditioner, water heater, TV, etc. in the guest room. Figure 2 As shown, the implementation process of the registration service in the specific application example of the data processing method for industry applications of the embodiment of the present invention includes the following steps:

[0119] Step 201, the application instance on the host side registers a configuration request to the registration service and binds the guest room audio system.

[0120] The registration configuration request can include auth information, specifically, the auth information is an AppKey access token pair. The application instance of the industry application provides Http API to access the data in the control platform. The access authentication of Http API supports the AppKey token for authorized access. The token method of AppKey is the token pair information of {appkey, apptoken}. The platform provides operations to create access token pairs, and for operational security, the token has permission attributes. The access token used by the speaker needs to have query and control permissions for resources, but does not require other permissions such as deletion. Therefore, we create an auth access token configured for the speaker cuid in the platform instance, and assign query and control permissions to resources.

[0121] When the platform instance binds the speaker number cuid to the guest room area, the token pair auth_info that has been created in the platform instance and provided to the intelligent voice speaker function can be bound to the {guest room area id, speaker number cuid} information, thus forming the main configuration information: {cuid, group_id, auth_info}.

[0122] When the smart voice speaker interacts with the logical resources (devices) of the platform instance, the application instance can automatically complete a series of access and control processing to complete the voice customer control service.

[0123] Step 202: The registration service returns a registration success message to the host.

[0124] After receiving the registration configuration request, the registration service will pre-configure the control configuration information of the control device according to the information carried in the registration configuration request.

[0125] Therefore, through the use of registration services, the interactive relationship between customer control skill services and multi-host multi-application instances is decoupled, improving the flexibility and variability of industry services.

[0126] Figure 3 A schematic diagram of the calling process of the voice customer control service, the registration service and the industry application host side in the data processing method of the industry application of the embodiment of the present invention is provided.

[0127] like Figure 3 As shown, the calling process of the voice client control service, the registration service and the industry application host in the data processing method of the industry application in the embodiment of the present invention may include the following steps:

[0128] Step 301, sending a control request.

[0129] The control request here may include "synchronization device request" and "control device request".

[0130] Specifically, when adding a voice speaker to the guest room area running the industry application on the application instance of the industry application, the application instance of the industry application sends a RegisterEntCuid registration configuration request to the registration service. The main parameters may include {cuid, agent_id, ent_id, group_id, auth_info}. In this way, the cloud host, industry application instance, guest room area id, and skill access authorization information are registered and associated.

[0131] Step 302, send the speaker number cuid to obtain the configuration.

[0132] Specifically, when voice synchronization or control of guest room equipment is performed, the voice speaker carries the speaker cuid and control information to send a request to the voice guest control skill service.

[0133] Step 303, return to the audio cuid configuration.

[0134] Specifically, the control configuration information corresponding to the speaker number cuid is returned. When the voice customer control skill service receives the speaker request, it sends the speaker cuid to the registration service to query the configuration information through QueryEntCuid. The voice customer control skill service obtains the configuration information corresponding to the cuid, which mainly includes {cuid, agent_id, ent_id, group_id, auth_info}.

[0135] Step 304, the voice guest control skill service sends a guest room control device request with auth to the host service.

[0136] The host service is shown here as host service A.

[0137] Here, auth represents the control configuration information obtained from the registration service, that is, the authorization of the voice speaker.

[0138] The voice customer control skill service obtains the configuration information {cuid, agent_id, ent_id, group_id, auth_info}, analyzes it, and obtains the agentWebUrl (the access address of the cloud host) of the host service through the agent_id. The ent_id is the ID of the industry application instance. The specific access address url of the industry application instance in the configuration information can be obtained through the agent_id and ent_id.

[0139] Step 305, return the control device response.

[0140] Specifically, the host service returns the response information of the control device. The voice guest control skill service sends a request to the specific access address url of the industry application instance with the auth and group_id information in the obtained configuration information to obtain the device information set under the guest room in the group_id area.

[0141] Step 306, return the request response.

[0142] The voice customer control service skill forwards the response information of the control device to the voice speaker.

[0143] The voice guest control skill service will obtain the equipment information of the guest rooms in the corresponding area of ​​the industry application instance according to the specifications of the smart speaker manufacturer, and then send a response message to the voice speaker.

[0144] Figure 4 The present invention shows a schematic diagram of the processing flow of a voice speaker to synchronize device instructions of a smart device in a specific application example of an embodiment of the present invention.

[0145] like Figure 4 The processing flow of the voice speaker to the synchronization device instruction of the smart device in the specific application example of the embodiment of the invention shown may include:

[0146] Step S401, the voice speaker receives the voice command "synchronize device".

[0147] Step S402: The voice customer control skill receives a Sync instruction representing "synchronizing devices".

[0148] Step S403: The voice customer control skill sends a request to the registration service to query the speaker cuid configuration.

[0149] Step S404: Analyze and obtain the URL address of the industry application instance according to the speaker cuid configuration.

[0150] Step S405: Request the application instance of the industry application to obtain a device list of the guest room area where the speaker is located.

[0151] Step S406: The voice customer control skill returns the device list to the speaker according to the manufacturer's skill specification.

[0152] Here, the audio system does not adjust the control logic, and the intelligence can be controlled according to the original control logic of the audio system.

[0153] Figure 5 The present invention shows a schematic diagram of the processing flow of a voice speaker for a device control instruction of a smart device in a specific application example of an embodiment of the present invention.

[0154] Figure 5The processing flow of the device control instruction of the voice speaker to the smart device in the specific application example of the embodiment of the present invention may include:

[0155] Step S501, the voice speaker receives a voice command, for example, "control the device, turn on the bedroom light", etc.

[0156] Step S502: The voice customer control skill receives a "Control" (device control) command sent by the voice speaker.

[0157] Step S503: The voice customer control skill sends a request to the registration service to query the speaker cuid configuration.

[0158] Step S504, analyzing and obtaining the URL address of the industry application instance according to the speaker cuid configuration.

[0159] Step S505: Send a request to the industry application instance service to turn on the bedroom light.

[0160] Step S506: The voice customer control skill returns the control result to the speaker according to the manufacturer's skill specification.

[0161] It should be noted that in the embodiments of the present invention, intelligent voice speakers, voice speakers, speakers, and intelligent speakers are all used to express the intelligent voice speaker control device. Customer control service skills, voice customer control service skills, etc. are all customer control services configured on the user side for managing and authorizing control devices.

[0162] In this embodiment, another data processing method for industry applications is provided, which is applied to a registration server of an industry application. A user end of the industry application is configured with multiple control devices, and any control device is used to control at least one smart device. Figure 6 is a flow chart of a data processing method for industry applications according to an embodiment of the present invention. Figure 6 As shown, the process includes the following steps:

[0163] Step S601: receiving a device identification sent by a user terminal, where the device identification is carried by an intelligent control instruction for controlling a device received by the user terminal.

[0164] Step S602, sending control configuration information of the control device corresponding to the device identifier to the user end, so that the user end can access the application instance based on the instance information, send an instruction processing request for the intelligent control instruction, and receive feedback information sent by the application instance in response to the intelligent control instruction.

[0165] The control configuration information includes instance information of the application instance corresponding to the control device, the device region identifier of the control device, and authorization information of the application instance to the control device, and the instruction processing request carries the device region identifier and the authorization information.

[0166] In this embodiment, a data processing device for industry application is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0167] This embodiment provides a data processing device for industry applications, which is applied to a user end of the industry application. The user end is configured with multiple control devices, and any control device is used to control at least one smart device, such as Figure 7 As shown, the device comprises:

[0168] A control instruction receiving module 701 is used to receive an intelligent control instruction of a control device, where the intelligent control instruction carries a device identification of the control device;

[0169] The configuration acquisition module 702 is used to acquire control configuration information of the control device according to the device identifier, where the control configuration information includes instance information of the application instance corresponding to the control device, the device area identifier of the control device, and authorization information of the application instance to the control device;

[0170] A control request module 703 is used to access the application instance based on the instance information and send an instruction processing request for the intelligent control instruction, where the instruction processing request carries a device region identifier and authorization information;

[0171] The feedback receiving module 704 is used to receive feedback information sent by the application instance in response to the intelligent control instruction.

[0172] This embodiment provides a data processing device for industry applications, which is applied to a registration server of industry applications. A user end of the industry application is configured with multiple control devices, and any control device is used to control at least one smart device, such as Figure 8 As shown, the device comprises:

[0173] The identification receiving module 801 is used to receive the device identification sent by the user end, where the device identification is carried by the intelligent control instruction of the control device received by the user end;

[0174] A feedback sending module 802, configured to send control configuration information of a control device corresponding to a device identifier to a user terminal, so that the user terminal can access an application instance based on the instance information, send an instruction processing request for an intelligent control instruction, and receive feedback information sent by the application instance in response to the intelligent control instruction;

[0175] The control configuration information includes instance information of the application instance corresponding to the control device, the device area identifier of the control device, and authorization information of the application instance to the control device;

[0176] The command processing request carries the device region identifier and authorization information.

[0177] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0178] The data processing of industry applications in this embodiment is presented in the form of functional units, where the units refer to ASIC (Application Specific Integrated Circuit) circuits, processors and memories that execute one or more software or fixed programs, and / or other devices that can provide the above functions.

[0179] The embodiment of the present invention also provides a computer device having the above Figure 7 or Figure 8 A data processing device for industry applications shown.

[0180] See also Fig. 9 , Fig. 9 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Fig. 9 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Fig. 9 A processor 10 is taken as an example.

[0181] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0182] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0183] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0184] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0185] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.

[0186] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0187] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0188] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A data processing method for industry applications, characterized in that: A user end applied to the industry application, the user end is configured with multiple control devices, any of the control devices is used to control at least one smart device, and the method includes: Receive an intelligent control instruction of a control device, wherein the intelligent control instruction carries a device identification of the control device; According to the device identifier, control configuration information of the control device is acquired, where the control configuration information includes instance information of an application instance corresponding to the control device, a device area identifier of the control device, and authorization information of the application instance to the control device; Accessing the application instance based on the instance information, sending an instruction processing request for the intelligent control instruction, wherein the instruction processing request carries the device area identifier and the authorization information; receiving feedback information sent by the application instance in response to the intelligent control instruction; The instance information includes a service identifier of a cloud host on which the application instance is deployed and an instance identifier of the application instance on the cloud host.

2. The method according to claim 1, characterized in that: The control configuration information is pre-configured using the following operations: The host end of the industry application sends a registration configuration request to the registration server end of the industry application, where the registration configuration request carries the device identification of the control device and the device area identification of the control device; The registration server sends registration feedback information to the host; The registration service is deployed to configure authorization information of the application instance to the control device.

3. The method according to claim 1, characterized in that The accessing the application instance based on the instance information includes: Determining an access address of the application instance according to the service identifier and the instance identifier; The application instance is accessed through the access address.

4. The method according to any one of claims 1 to 3, characterized in that The intelligent control instruction is a device synchronization request, and the device synchronization request is used to represent a request to obtain a device list of intelligent devices controlled by the control device; The feedback information is the device list.

5. The method according to any one of claims 1 to 3, characterized in that: The intelligent control instruction is a device control request, and the device control request is used to represent a control instruction requesting to control the intelligent device controlled by the control device; The feedback information is a control result of the smart device in response to the control instruction.

6. A data processing method for industry applications, characterized in that: A registration server is applied to the industry application, and a user end of the industry application is configured with multiple control devices, any of which is used to control at least one smart device. The method includes: receiving a device identification sent by the user terminal, where the device identification is carried by an intelligent control instruction for controlling a device received by the user terminal; Sending control configuration information of the control device corresponding to the device identifier to the user terminal, so that the user terminal can access the application instance based on the instance information, send an instruction processing request for the intelligent control instruction, and receive feedback information sent by the application instance in response to the intelligent control instruction; The control configuration information includes instance information of an application instance corresponding to the control device, a device area identifier of the control device, and authorization information of the application instance to the control device; The instruction processing request carries the device region identifier and the authorization information; The instance information includes a service identifier of a cloud host on which the application instance is deployed and an instance identifier of the application instance on the cloud host.

7. A data processing device for industrial applications, characterized in that: A user end applied to the industry application, the user end is configured with multiple control devices, any of the control devices is used to control at least one smart device, and the device includes: A control instruction receiving module, used to receive an intelligent control instruction of a control device, wherein the intelligent control instruction carries a device identification of the control device; A configuration acquisition module, configured to acquire control configuration information of the control device according to the device identifier, wherein the control configuration information includes instance information of an application instance corresponding to the control device, a device area identifier of the control device, and authorization information of the application instance to the control device; A control request module, configured to access the application instance based on the instance information, and send an instruction processing request for the intelligent control instruction, wherein the instruction processing request carries the device area identifier and the authorization information; A feedback receiving module, used to receive feedback information sent by the application instance in response to the intelligent control instruction; The instance information includes a service identifier of a cloud host on which the application instance is deployed and an instance identifier of the application instance on the cloud host.

8. A data processing device for industrial applications, characterized in that: A registration server is applied to the industry application, and a user end of the industry application is configured with a plurality of control devices, any of which is used to control at least one smart device. The apparatus comprises: An identification receiving module, used to receive a device identification sent by the user terminal, where the device identification is carried by an intelligent control instruction for controlling a device received by the user terminal; A feedback sending module, used to send control configuration information of the control device corresponding to the device identifier to the user terminal, so that the user terminal can access the application instance based on the instance information, send an instruction processing request for the intelligent control instruction, and receive feedback information sent by the application instance in response to the intelligent control instruction; The control configuration information includes instance information of an application instance corresponding to the control device, a device area identifier of the control device, and authorization information of the application instance to the control device; The instruction processing request carries the device region identifier and the authorization information; The instance information includes a service identifier of a cloud host on which the application instance is deployed and an instance identifier of the application instance on the cloud host.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the data processing method for industry applications according to any one of claims 1 to 6.

10. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the data processing method for industry applications according to any one of claims 1 to 6.