Control method and related device

By uniformly processing the request information of the smart voice server and forwarding operation instructions, the problem of high development and maintenance costs of intelligent voice platform equipment is solved, simple control and efficient access of massive equipment are achieved, and development and maintenance costs are reduced.

CN114724557BActive Publication Date: 2024-12-17SHENZHEN KAADAS INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210249656.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-14
Publication Date
2024-12-17
Estimated Expiration
2042-03-14

AI Technical Summary

Technical Problem

Program developers of smart voice platforms are inefficient in device development and application content access and high maintenance costs, which are affected by frequent changes in third-party smart voice server documents and APIs.

Method used

Through the application server, the request information of the intelligent voice server is uniformly obtained, the operation instructions are identified and forwarded, and the message queue is used to send instructions to the target device, providing a unified access mode, simplifying the device docking steps and reducing development and maintenance costs.

Benefits of technology

It realizes unified control of massive equipment, reduces the development and maintenance costs of intelligent voice services, improves access efficiency, and simplifies the equipment docking process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114724557B_ABST
    Figure CN114724557B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a control method and related devices, which are applied to an application server of a voice control system, wherein the voice control system includes the application server, an intelligent voice server, a first electronic device, and a second electronic device, wherein the method includes: obtaining a first request message from the intelligent voice server, wherein the first request message is used to indicate an operation instruction corresponding to the voice message of the first electronic device; identifying the first request message to obtain tag information, wherein the tag information is used to indicate the source of the request message; generating a second request message according to the first request message and the tag information; determining the operation instruction according to the second request message; and sending the operation instruction to the second electronic device through a message queue. This can reduce the development cost and maintenance cost of intelligent voice services and improve the access efficiency to actual applications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of data processing, and specifically relates to a control method and related devices. Background Art

[0002] In recent years, the rapid development of artificial intelligence has led to the rapid rise of intelligent voice, and the rapid upgrading of technology has enabled the rapid implementation of intelligent voice technology results. At present, the global intelligent voice market size maintains a steady expansion trend. Products with voice interaction and smart home control functions such as smart speakers, mobile phone voice assistants, and computer voice assistants have begun to enter the market, and their popularity has been rising steadily, and shipments have also ushered in rapid growth. However, with the rapid upgrading and iteration of Internet technology, program developers of intelligent voice platforms have become extremely troublesome in device development and application content access, with low efficiency and high maintenance costs. Summary of the invention

[0003] The embodiment of the present application provides a control method and related devices, so as to enable the intelligent voice server to uniformly provide services to users through the application server, and realize the Internet of Things (IOT) business for massive devices.

[0004] In a first aspect, an embodiment of the present application provides a control method, which is applied to an application server of a voice control system, wherein the voice control system includes the application server, an intelligent voice server, a first electronic device, and a second electronic device, wherein the method includes:

[0005] Acquire first request information from the intelligent voice server, where the first request information is used to indicate an operation instruction corresponding to the voice information of the first electronic device;

[0006] Identify the first request information to obtain label information, where the label information is used to indicate a source of the request information;

[0007] generating second request information according to the first request information and the tag information;

[0008] determining the operation instruction according to the second request information;

[0009] The operation instruction is sent to the second electronic device through a message queue.

[0010] In the second aspect, an embodiment of the present application provides a control device, which is applied to an application server of a voice control system. The voice control system includes the application server, an intelligent voice server, a first electronic device and a second electronic device. The device includes: an acquisition unit, which is used to acquire first request information from the intelligent voice server, and the first request information is used to indicate an operation instruction corresponding to the voice information of the first electronic device; an identification unit, which is used to identify the first request information and obtain label information, and the label information is used to indicate the source of the request information; a generation unit, which is used to generate second request information according to the first request information and the label information; a determination unit, which is used to determine the operation instruction according to the second request information; and a sending unit, which is used to send the operation instruction to the second electronic device through a message queue.

[0011] In a third aspect, an embodiment of the present application provides an application server, comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the first aspect of the embodiment of the present application.

[0012] In a fourth aspect, an embodiment of the present application provides a computer storage medium, characterized in that it stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute some or all of the steps described in the first aspect of this embodiment.

[0013] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the first aspect of the embodiment of the present application. The computer program product may be a software installation package.

[0014] It can be seen that in the embodiment of the present application, the application server first obtains the first request information from the intelligent voice server, the first request information is used to indicate the operation instruction corresponding to the voice information of the first electronic device, and then identifies the first request information to obtain the tag information, the tag information is used to indicate the source of the request information, and then generates the second request information according to the first request information and the tag information, and then determines the operation instruction according to the second request information, and finally sends the operation instruction to the second electronic device through the message queue. In this way, when the user uses the IOT service, the intelligent voice server can identify the user's operation instruction and forward it to the application server, and finally the control of the massive devices is implemented by the application server. The application server provides a unified access mode for all intelligent voice servers, and the docking steps are simplified through flattened devices, and the IOT service is implemented by the application server, which reduces the development cost and maintenance cost of intelligent voice services and improves the access efficiency of actual applications. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0016] Figure 1a is an architectural diagram of a voice control system provided in an embodiment of the present application;

[0017] Figure 1b It is a structural diagram of an application server provided in an embodiment of the present application;

[0018] Figure 2a It is a flow chart of a control method provided in an embodiment of the present application;

[0019] Figure 2b This is a schematic diagram of an authorization process provided by an embodiment of the present application;

[0020] Figure 2c This is a flowchart of an IOT service implementation provided by an embodiment of the present application;

[0021] Figure 3 It is a block diagram of the functional units of a control device provided in an embodiment of the present application;

[0022] Figure 4 It is a block diagram of the functional units of another control device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0024] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0025] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0026] At present, due to the rapid upgrade and iteration of Internet technology, the documents and APIs of third-party intelligent voice servers often change, which makes it extremely troublesome for program developers to develop devices and access application content, with low efficiency and high maintenance costs.

[0027] In view of the above problems, an embodiment of the present application provides a display method and related devices, and the embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0028] See also Figure 1a , Figure 1aIt is an architecture diagram of a voice control system provided by an embodiment of the present application. As shown in the figure, the voice control system 10 includes an application server 101, an intelligent voice server 102, a first electronic device 103 and a second electronic device 104. Among them, the first electronic device 103 is a user device, that is, the user can send a voice message to the intelligent voice server 102 through the first electronic device 103. After the intelligent voice server 102 obtains the voice message, it processes the voice message, obtains the user's current control instruction, and sends a request message to the application server 101. After obtaining the request message, the application server 101 will process the request message and then control the second electronic device 104, which is the controlled electronic device.

[0029] The structure of the application server 101 can refer to Figure 1b A structural diagram of an application server is provided. The above-mentioned application server 101 includes a processor 120, a memory 130, a communication interface 140 and one or more programs 131, wherein the one or more programs 131 are stored in the above-mentioned memory 130 and are configured to be executed by the above-mentioned application processor 120, and the one or more programs 131 include instructions for executing any step in the following method embodiment. In a specific implementation, the processor 120 is used to execute any step executed by the application server in the following method embodiment, and when performing data transmission such as sending, the communication interface 140 can be selectively called to complete the corresponding operation.

[0030] See also Figure 2a , Figure 2a It is a flow chart of a control method provided by an embodiment of the present application. As shown in the figure, the control method is applied to an application server of a voice control system, the voice control system includes the application server, an intelligent voice server, a first electronic device and a second electronic device, and the method includes the following steps.

[0031] S201, obtaining first request information from the intelligent voice server, where the first request information is used to indicate an operation instruction corresponding to the voice information of the first electronic device.

[0032] Among them, the intelligent voice server in the voice control system may include multiple intelligent voice servers, and the user can select one of the multiple intelligent voice servers as a target intelligent voice server through the first electronic device, and then send a voice message to the target intelligent voice server through the first electronic device, and the voice message is an operation instruction for the second electronic device. After obtaining the voice message, the intelligent voice server can perform voice recognition and semantic analysis on the voice message to determine the user's operation intention. After determining the user's operation intention, the intelligent voice server generates a first request message, and the first request message includes the user's operation intention information and source information. The source information is used to indicate which intelligent voice server the first request message is sent from.

[0033] S202, identifying the first request information to obtain tag information, where the tag information is used to indicate a source of the request information;

[0034] S203: Generate second request information according to the first request information and the tag information.

[0035] Among them, the intelligent voice server can send a first request message to the application programming interface (API) gateway of the application server through the Hyper Text Transfer Protocol over Secure Socket Layer (HTTPS) protocol or the Remote Procedure Call (RPC) protocol. The API gateway will first authenticate the first request message and determine whether the first request can reach the downstream service based on the authentication result. The authentication method can be to determine whether the first request message includes an access token. If the access token is not included, it is determined that the first request message cannot reach the downstream server. If the access token is included, the access rights and token validity corresponding to the access token are determined. If the rights and validity of the access token meet the preset conditions, it is determined that the first request message can reach the downstream service. In addition, the API gateway will generate a tag information based on the source information in the first request message, and generate a second request message based on this. The tag information can be a name tag, which can facilitate subsequent link tracking.

[0036] S204: Determine the operation instruction according to the second request information.

[0037] Among them, when the API gateway generates the second request information, it will send the second request information to the business server in the application server. The business server can determine the corresponding execution strategy of the user intention included in the second request information based on the tag information included in the second request information, and determine the operation instruction based on the execution strategy and the user intention information. That is, the business server can first encapsulate and design the behavior patterns of different intelligent servers, so that the specific execution strategy corresponding to each request information can be determined based on the tag information.

[0038] S205: Send the operation instruction to the second electronic device through a message queue.

[0039] Among them, the business server can communicate with the IOT server in the application server through the RPC protocol, so that the IOT server obtains the operation instruction. After receiving the operation hill of the business server, the IOT business server sends the instruction to the corresponding second electronic device through the message queue telemetry transmission (Message Queuing Telemetry Transport, MQTT) protocol, so that the user can control the second electronic device through voice. And the IOT server can be an IOT server cluster, each one or more IOT servers correspond to an Internet of Things business, and each IOT server corresponds to multiple second electronic devices.

[0040] It can be seen that in this example, the application server first obtains the first request information from the intelligent voice server, the first request information is used to indicate the operation instruction corresponding to the voice information of the first electronic device, and then identifies the first request information to obtain the tag information, the tag information is used to indicate the source of the request information, and then generates the second request information according to the first request information and the tag information, and then determines the operation instruction according to the second request information, and finally sends the operation instruction to the second electronic device through the message queue. In this way, when the user uses the IOT service, the intelligent voice server can identify the user's operation instruction and forward it to the application server, and finally the control of the massive devices is implemented by the application server. The application server provides a unified access mode for all intelligent voice servers, and the docking steps are simplified through flattened devices, and the IOT service is implemented by the application server, which reduces the development cost and maintenance cost of intelligent voice services and improves the access efficiency of actual applications.

[0041] In a possible instance, the voice control system also includes an authorization server. Before obtaining the first request information from the intelligent voice server, the method also includes: obtaining authorization request information from the authorization server, the authorization request information is used to indicate the authorization request of the intelligent voice server; sending authorization request information to the authorization server, the authorization request information is used to indicate an authorization identifier, the authorization identifier is used to indicate an access token of the authorization server according to the identity number and key of the intelligent voice server, the identity number and the key are used to indicate that the intelligent voice server has been registered with the authorization server, and the access token is used to indicate that the authorization is successful.

[0042] If the intelligent voice server wants to control the second electronic device through the application server, the application server needs to authorize the intelligent voice server first. The authorization process is performed by the authorization server in the voice control system. Before authorization, the intelligent voice server needs to be registered with the authorization server. After the registration is completed, the authorization server will issue two identity identification codes to the intelligent voice server, including an identity number and a key. The specific authorization process is as follows: Figure 2b As shown, Figure 2b It is a schematic diagram of an authorization process provided by an embodiment of the present application. When the developer of the intelligent voice server determines to obtain authorization for the application service, the authorization request information is sent to the authorization server, and the authorization server sends the authorization request information to the application server. After the user logs in to the account of the intelligent voice server on the application server, it is determined that the intelligent voice server is authorized. At this time, the authorization server generates an authorization identifier and sends it to the intelligent voice server. The authorization identifier can be an authorization code or a client credential, etc. The intelligent voice server will carry the authorization identifier, identity number and key to request an access token from the authorization server. After determining that the relevant parameters of the intelligent voice server are legal, the authorization server sends an access token to the intelligent voice server. At this point, the application server completes the authorization of the intelligent voice server. In particular, when the intelligent voice server wants to access the application server, it needs to carry an access token, and the access token can be effective. Before the intelligent voice server accesses the application server, it needs to send the authorization identifier, identity number and key to the authorization service, and the authorization server sends an access token. After the access token expires, the intelligent voice server needs to reapply the next time it visits.

[0043] It can be seen that in this example, the authorization between the application server and the intelligent voice server is realized through the authorization service. The docking steps are simple and can ensure data security and transmission efficiency.

[0044] In a possible instance, the first electronic devices include M, and the method further includes: determining version information of a target version corresponding to the application server, the target version being the version to be updated; publishing version information of the target version to N first electronic devices among the M first electronic devices; obtaining feedback information from the N first electronic devices; and publishing version information of the target version to other first electronic devices among the M first electronic devices except the N first electronic devices based on the feedback information.

[0045] Among them, the application server can subsequently access more intelligent voice servers. Therefore, when the application server is developed, it needs to be re-published to users. The feedback information may include user evaluation information, and the evaluation information is analyzed to determine the favorable and unfavorable review rates of users corresponding to the updated first electronic device. When the favorable review rate is greater than the first preset value, the remaining first electronic devices are released. If the favorable review rate is less than the first preset value after the preset period, the unfavorable review rate at this time is determined. If the unfavorable review rate is less than the second preset value, the target version is released to the remaining first electronic devices. The preset period may include a period of one week or three days. In a specific implementation, the target version can also be updated according to the user's feedback information. After the target version is updated, the updated version information can be re-published to the N first electronic devices in priority, or the N first electronic devices can be re-determined for priority release.

[0046] It can be seen that in this example, by first releasing the new version to some users and then determining the version release time for subsequent users based on user feedback, problems can be quickly discovered and adjusted, which not only ensures the stability of the overall system but also reduces the impact of version release.

[0047] In a possible instance, publishing the version information of the target version to N first electronic devices among the M first electronic devices includes: determining a target first electronic device that has a business association with the application server among the M first electronic devices; deleting the target first electronic device from the M first electronic devices to obtain K first electronic devices; determining a usage frequency of each first electronic device among the K first electronic devices; determining N first electronic devices from the K first electronic devices based on the usage frequency; and publishing the version information of the target version to the N first electronic devices.

[0048] Among them, business association includes that the user is currently using the application server or it is determined that the user has the intention to use it in the current time period based on the user's usage habits. The current time period may refer to the evening or daytime, or the morning, noon and afternoon time periods. In order to avoid causing trouble to users during the release, the target version is not released to users who are currently using or have the intention to use the application server function. In a specific implementation, determining the usage frequency of each first electronic device may include: obtaining the user's usage habits, determining the number of times the user controls the second electronic device through the first electronic device every day based on the usage habits; and obtaining the number of days the user controls the second electronic device through the first electronic device within a preset period; determining the first usage frequency based on the number of days, and then determining the second usage frequency based on the first usage frequency and the number of times, and determining the second usage frequency as the usage frequency of the first electronic device.

[0049] It can be seen that in this example, by determining the first electronic device that needs to publish version information of the target version according to the usage frequency, the newly published version information can obtain more feedback information, which is convenient for subsequent modification.

[0050] In a possible instance, determining N first electronic devices from the K first electronic devices according to the usage frequency includes: dividing the K first electronic devices according to the usage frequency to obtain multiple sets, each set in the multiple sets corresponds to a usage frequency band; sorting the multiple sets according to the usage frequency band, wherein a higher usage frequency band has a higher sorting; determining an extraction ratio of each set according to the sorting, wherein a higher sorting has a greater extraction ratio; and extracting the first electronic device from each set according to the extraction ratio to obtain N first electronic devices.

[0051] Among them, the usage frequency in the same interval can be divided into the same frequency band according to the high or low usage frequency, and the number of first electronic devices included in each set can be different. When determining the extraction ratio, the total number of first electronic devices to be extracted can be used as a benchmark to determine the extraction ratio of each set. For example, there are three sets in total, the extraction ratio of the highest-ranked set is 50% of the total extraction number N, the extraction ratio of the middle-ranked set is 30% of the total extraction number N, and the extraction ratio of the lowest-ranked set is 20% of the total extraction number N. When determining the extraction ratio, the first extraction ratio can also be determined based on the ratio of the number of first electronic devices in each set to the number of first electronic devices in all sets, and then the weight coefficient is determined based on the ranking of multiple sets and the value of N, and the final extraction ratio is determined based on the weight coefficient and the first extraction ratio, wherein the higher the ranking of the set, the greater the weight coefficient. For example, there are three sets in total, the first set includes a first electronic devices, the second set includes b first electronic devices, and the third set includes c first electronic devices. According to the sorting, the weight of the first set is x, the weight of the second set is y, and the weight of the third set is z, then N(a+b+c)=ax+by+cz.

[0052] It can be seen that in this example, the number of first electronic devices to be extracted from each set is determined according to the ranking of each set, which can increase the user coverage when the updated version is first released and ensure that sufficient feedback information is obtained.

[0053] In a possible instance, the method further includes: obtaining status information of the second electronic device from the message queue in real time; processing the status information to obtain reporting information, wherein the reporting information is used to indicate a status change of the second electronic device; and sending the reporting information to the first electronic device.

[0054] The second electronic device is an IoT device. When the state of the IoT device changes, such as unbinding, restoring factory settings, etc. Figure 2c As shown, the second electronic device can publish messages to the MQTT Broker through the MQTT protocol, and the MQTT Broker sends the device status changes to the message queue middleware (RabbitMQ) in an asynchronous way. The application server can act as a message consumer of the message queue, disassemble, analyze, and encapsulate the messages obtained in real time, and then obtain the reporting information indicating the status change of the second electronic device, and then report the information to the third-party event gateway in real time to achieve real-time updates. The third party can be an intelligent voice server or other Internet service provider. Among them, Figure 2cIt also provides a process in which the control instructions are issued by the user's voice, then sent to the application server via the intelligent voice server, and finally the IoT server cluster in the application server controls the IoT device. Figure 2c It also demonstrates a method of controlling IoT devices based on voice. For example, if a user inputs the operation command "unlock the front door" through the intelligent voice server, the intelligent voice server will perform voice recognition and semantic analysis and forward the specific intention recognized to the cloud, which can be the authorization server. The cloud determines whether it has been authorized. If authorized, the user's specific request will be forwarded to the IOT server cluster through the API gateway, and the corresponding device will perform the corresponding operation. If the authorization server detects that the request is illegal or unauthorized, the user needs to be informed to authorize.

[0055] It can be seen that in this example, real-time monitoring of device status can enable real-time update of massive device status and client data, thereby improving data consistency.

[0056] In a possible instance, the intelligent voice servers include multiple, the first electronic devices include multiple, each first electronic device corresponds to at least one intelligent voice server, and the method further includes: determining a usage rate of each of the multiple intelligent voice servers based on the tag information; obtaining usage of the first electronic device corresponding to each intelligent voice server; determining a user conversion rate of each intelligent voice server based on the usage; and generating an analysis report for each intelligent voice server based on the usage rate and the user conversion rate.

[0057] Among them, the usage rate can be the number of times each intelligent voice server accesses the application server every day. For example, if 80% of the visits in one day come from intelligent voice server A, it can be said that the services provided by intelligent voice server A occupy a dominant position in the market. The usage of the first electronic device can be the trend of which intelligent voice server the first electronic device uses over a period of time and the intelligent voice server currently selected for use. The user conversion rate is the stability of the user's use of the intelligent voice server. For example, it is determined that within a month, the user uses the intelligent voice service 40 times in total, 25 of which are intelligent voice server A and 15 times are intelligent voice server B. However, the number of times the user uses intelligent voice server A in the last 10 days is much greater than the number of times the user uses intelligent voice server B. If there are more than a preset number of users who all use this type of usage, it can be determined that the conversion rate of intelligent voice server A is decreasing. In a specific implementation, all intelligent voice servers associated with the application service can also be displayed and managed through management interfaces such as dashboards. The administrator of the application server can view the analysis report through the management interface.

[0058] It can be seen that in this example, analyzing each intelligent voice server based on the usage rate and user conversion rate can improve the unified management of the associated intelligent voice servers.

[0059] For the above embodiments, please refer to Figure 3 , Figure 3 It is a functional unit composition block diagram of a control device provided in an embodiment of the present application. The control device 30 is applied to an application server of a voice control system, and the voice control system includes the application server, an intelligent voice server, a first electronic device, and a second electronic device. The device 30 includes: an acquisition unit 301, used to acquire a first request message from the intelligent voice server, the first request message is used to indicate an operation instruction corresponding to the voice message of the first electronic device; an identification unit 302, used to identify the first request message and obtain tag information, the tag information is used to indicate the source of the request information; a generation unit 303, used to generate a second request message according to the first request message and the tag information; a determination unit 304, used to determine the operation instruction according to the second request message; a sending unit 305, used to send the operation instruction to the second electronic device through a message queue.

[0060] In a possible example, the voice control system further includes an authorization server. Before obtaining the first request information from the intelligent voice server, the device 30 is further used to: obtain authorization request information from the authorization server, the authorization request information is used to indicate the authorization request of the intelligent voice server; send authorization information to the authorization server, the authorization information is used to indicate an authorization identifier, the authorization identifier is used to indicate an access token of the authorization server according to the identity number and key of the intelligent voice server, the identity number and the key are used to indicate that the intelligent voice server has been registered with the authorization server, and the access token is used to indicate that the authorization is successful.

[0061] In a possible instance, the first electronic devices include M, and the device 30 is further used to: determine version information of a target version corresponding to the application server, where the target version is the version to be updated; publish the version information of the target version to N first electronic devices among the M first electronic devices; obtain feedback information from the N first electronic devices; and publish the version information of the target version to other first electronic devices among the M first electronic devices except the N first electronic devices based on the feedback information.

[0062] In a possible instance, in terms of publishing the version information of the target version to N first electronic devices among the M first electronic devices, the device 30 is further used to: determine a target first electronic device that has a business association with the application server among the M first electronic devices; delete the target first electronic device from the M first electronic devices to obtain K first electronic devices; determine the usage frequency of each first electronic device among the K first electronic devices; determine N first electronic devices from the K first electronic devices based on the usage frequency; and publish the version information of the target version to the N first electronic devices.

[0063] In a possible example, in terms of determining N first electronic devices from the K first electronic devices according to the usage frequency, the device 30 is further used to: divide the K first electronic devices according to the usage frequency to obtain multiple sets, each set in the multiple sets corresponds to a usage frequency band; sort the multiple sets according to the usage frequency band, and the higher the usage frequency band, the higher the ranking; determine an extraction ratio of each set according to the ranking, and the higher the ranking, the greater the extraction ratio; extract the first electronic device from each set according to the extraction ratio to obtain N first electronic devices.

[0064] In a possible instance, the device 30 is also used to: obtain status information of the second electronic device from the message queue in real time; process the status information to obtain reporting information, wherein the reporting information is used to indicate a status change of the second electronic device; and send the reporting information to the first electronic device.

[0065] In a possible instance, the intelligent voice servers include multiple, the first electronic devices include multiple, each first electronic device corresponds to at least one intelligent voice server, and the device 30 is also used to: determine the usage rate of each of the multiple intelligent voice servers according to the tag information; obtain the usage of the first electronic device corresponding to each intelligent voice server; determine the user conversion rate of each intelligent voice server according to the usage; and generate an analysis report for each intelligent voice server according to the usage rate and the user conversion rate.

[0066] In the case of integrated units, such as Figure 4 As shown, Figure 4 It is a block diagram of the functional units of another control device provided in an embodiment of the present application. Figure 4In the embodiment, the display control device 400 includes: a processing module 412 and a communication module 411. The processing module 412 is used to control and manage the actions of the control device, for example, to execute the steps of the acquisition unit 301, the identification unit 302, the generation unit 303, the determination unit 304 and the sending unit 305, and / or to execute other processes of the technology described herein. The communication module 411 is used to control the interaction between the device and other devices. Figure 4 As shown, the control device 400 may further include a storage module 413, and the storage module 413 is used to store program codes and data of the control device.

[0067] Among them, the processing module 412 can be a processor or a controller, for example, a central processing unit (CPU), a general processor, a digital signal processor (DSP), an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It can implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 411 can be a transceiver, an RF circuit or a communication interface, and the like. The storage module 413 can be a memory.

[0068] All relevant contents of each scenario involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here. Figure 2a The control method shown.

[0069] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0070] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps of any method described in the above method embodiments, and the above computer includes an electronic device.

[0071] The embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, the computer program is operable to cause a computer to execute some or all of the steps of any method described in the method embodiment. The computer program product may be a software installation package, and the computer includes an electronic device.

[0072] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0073] In the several embodiments provided in the present application, it should be understood that the disclosed methods, devices and systems can be implemented in other ways. For example, the device embodiments described above are merely schematic; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0074] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0075] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0076] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform some steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a volatile memory or a non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM) and direct RAM bus RAM (DR RAM). Various media that can store program code are available.

[0077] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions without departing from the spirit and scope of the present invention, and can make various changes and modifications, including the combination of the above-mentioned different functions and implementation steps, including software and hardware implementation methods, all of which are within the scope of protection of the present invention.

Claims

1. A control method, characterized in that: An application server applied to a voice control system, the voice control system comprising the application server, an intelligent voice server, a first electronic device, a second electronic device and an authorization server, the method comprising: Obtaining authorization request information from the authorization server, where the authorization request information is used to indicate the authorization request of the intelligent voice server; Sending authorization information to the authorization server, the authorization information is used to indicate the authorization identifier, the authorization identifier is used to indicate the access token of the authorization server according to the identity identification number and the key of the intelligent voice server, the identity identification number and the key are used to indicate that the intelligent voice server has been registered with the authorization server, and the access token is used to indicate that the authorization is successful; Acquire first request information from the intelligent voice server, where the first request information is used to indicate an operation instruction corresponding to the voice information of the first electronic device; Identify the first request information to obtain label information, where the label information is used to indicate a source of the request information; generating second request information according to the first request information and the tag information; determining the operation instruction according to the second request information; The operation instruction is sent to the second electronic device through a message queue.

2. The method according to claim 1, characterized in that The first electronic device includes M pieces, and the method further includes: Determine version information of a target version corresponding to the application server, the target version being the version to be updated; Publishing version information of the target version to N first electronic devices among the M first electronic devices; Acquiring feedback information from the N first electronic devices; The version information of the target version is published to other first electronic devices among the M first electronic devices except the N first electronic devices according to the feedback information.

3. The method according to claim 2, characterized in that The publishing the version information of the target version to N first electronic devices among the M first electronic devices includes: Determine a target first electronic device that has a business association with the application server among the M first electronic devices; Deleting the target first electronic device from the M first electronic devices to obtain K first electronic devices; Determining a usage frequency of each of the K first electronic devices; Determine N first electronic devices from the K first electronic devices according to the usage frequency; The version information of the target version is published to the N first electronic devices.

4. The method according to claim 3, characterized in that The determining N first electronic devices from the K first electronic devices according to the usage frequency includes: Dividing the K first electronic devices according to the usage frequencies to obtain a plurality of sets, each of the plurality of sets corresponding to a usage frequency band; sorting the multiple sets according to the used frequency band, wherein a higher used frequency band has a higher sorting; Determining an extraction ratio of each set according to the ranking, wherein the higher the ranking, the greater the extraction ratio; The first electronic devices are extracted from each of the sets according to the extraction ratio to obtain N first electronic devices.

5. The method according to claim 1, characterized in that The method further comprises: Acquire the status information of the second electronic device from the message queue in real time; Processing the state information to obtain reporting information, where the reporting information is used to indicate a change in the state of the second electronic device; The reporting information is sent to the first electronic device.

6. The method according to claim 1, characterized in that The intelligent voice server includes a plurality of intelligent voice servers, the first electronic device includes a plurality of intelligent voice servers, each first electronic device corresponds to at least one intelligent voice server, and the method further includes: Determine the usage rate of each intelligent voice server among the multiple intelligent voice servers according to the tag information; Obtaining usage status of the first electronic device corresponding to each intelligent voice server; Determine the user conversion rate of each intelligent voice server according to the usage; Generate an analysis report for each intelligent voice server according to the usage rate and the user conversion rate.

7. A control device, characterized in that: An application server applied to a voice control system, the voice control system comprising the application server, an intelligent voice server, a first electronic device, a second electronic device and an authorization server, the device comprising: An acquisition unit, used to acquire authorization request information from the authorization server, the authorization request information is used to indicate the authorization request of the intelligent voice server; and used to send authorization information to the authorization server, the authorization information is used to indicate an authorization identifier, the authorization identifier is used to indicate an access token of the authorization server according to the identity identification number and key of the intelligent voice server, the identity identification number and the key are used to indicate that the intelligent voice server has been filed with the authorization server, and the access token is used to indicate that the authorization is successful; and used to acquire first request information from the intelligent voice server, the first request information is used to indicate an operation instruction corresponding to the voice information of the first electronic device; an identification unit, configured to identify the first request information and obtain label information, wherein the label information is used to indicate a source of the request information; a generating unit, configured to generate second request information according to the first request information and the tag information; a determining unit, configured to determine the operation instruction according to the second request information; A sending unit is used to send the operation instruction to the second electronic device through a message queue.

8. An application server, characterized in that: The method comprises a processor, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for executing the steps in the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: A computer program for electronic data exchange is stored, wherein the computer program enables a computer to execute the method according to any one of claims 1 to 6.