CN108737538B - Background data processing method and device - Google Patents

Background data processing method and device Download PDF

Info

Publication number
CN108737538B
CN108737538B CN201810475559.8A CN201810475559A CN108737538B CN 108737538 B CN108737538 B CN 108737538B CN 201810475559 A CN201810475559 A CN 201810475559A CN 108737538 B CN108737538 B CN 108737538B
Authority
CN
China
Prior art keywords
production
request
data
agricultural production
agricultural
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810475559.8A
Other languages
Chinese (zh)
Other versions
CN108737538A (en
Inventor
李晋南
杨天池
张勇
崔涛
常亚南
靳建波
张芬
陈亚星
聂山权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Friendcom Technology Co Ltd
Original Assignee
Shenzhen Friendcom Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Friendcom Technology Co Ltd filed Critical Shenzhen Friendcom Technology Co Ltd
Priority to CN201810475559.8A priority Critical patent/CN108737538B/en
Publication of CN108737538A publication Critical patent/CN108737538A/en
Application granted granted Critical
Publication of CN108737538B publication Critical patent/CN108737538B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/02Agriculture; Fishing; Mining
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems

Abstract

The invention provides a background data processing method and a device, wherein the method comprises the following steps: receiving request data from gateway equipment, and judging whether the request type corresponding to the request data is a language consultation request or a production regulation and control request; if the request type is a production regulation request, acquiring current production operation information of each execution node in the agricultural production execution unit and crop information which is generated by each execution node; according to the stored agricultural production data, the production operation information of each execution node and the crop information, a matched production control strategy is formulated for the agricultural production execution unit; if the request type is a language consultation request, generating a matched feedback voice file according to the agricultural production data and the request data; and sending the production control strategy or the feedback voice file to the gateway equipment. The method can provide language consultation service and production regulation service for the user, and improve the use experience of the user.

Description

Background data processing method and device
Technical Field
The invention relates to the technical field of Internet of things, in particular to a background data processing method and device.
Background
With the continuous development of science and technology, the application range of the internet of things technology is more and more extensive, wherein agriculture is an important application field of the internet of things system. However, background services provided by the existing agricultural Internet of things system due to technical limitations have the problem of single function, and the experience of system users cannot be improved.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention aims to provide a background data processing method and a background data processing device, wherein the background data processing method can enable a background server in an agricultural Internet of things system to provide language consultation service and production regulation and control service for a user, and improve the use experience of the user.
Regarding to a method, an embodiment of the present invention provides a background data processing method, where the method is applied to a background server in an agricultural internet of things system, the agricultural internet of things system further includes a gateway device and an agricultural production execution unit, the gateway device is respectively connected in communication with the background server and the agricultural production execution unit, the background server stores agricultural production data of various crops, and the method includes:
receiving request data sent by the gateway equipment, and judging whether the request type corresponding to the request data is a language consultation request or a production regulation and control request;
if the request type of the request data is a production regulation request, acquiring current production operation information of each execution node in the agricultural production execution unit and crop information which is generated by each execution node;
according to the stored agricultural production data of various crops, the obtained production operation information of each execution node and the crop information, a matched production control strategy is formulated for the agricultural production execution unit;
if the request type of the request data is a language consultation request, generating a corresponding matched feedback voice file according to the stored agricultural production data of various crops and the request data;
and sending the production control strategy or the feedback voice file to the gateway equipment so that the gateway equipment controls the agricultural production execution unit to carry out agricultural production according to the production control strategy, or the gateway equipment plays the feedback voice file.
Optionally, in an embodiment of the present invention, the step of determining whether the request type corresponding to the request data is a language query request or a production regulation request includes:
identifying the file format of the received request data;
if the file format of the request data is an audio file format, judging that the request type corresponding to the request data is a language consultation request;
and if the file format of the request data is the json message format, judging that the request type corresponding to the request data is a production regulation and control request.
Optionally, in an embodiment of the present invention, the step of formulating a matched production control strategy for the agricultural production execution unit according to the stored agricultural production data of various crops, the acquired production operation information of each execution node, and the crop information includes:
searching corresponding matched agricultural production data from the agricultural production data stored in the background server according to the acquired crop information in charge of each execution node;
performing data analysis on the request data to obtain target crop production demand information included in the request data;
and formulating and generating a production control strategy for the agricultural production execution unit, which meets the production demand information of the target crops, based on the searched agricultural production data and the production operation information of each execution node.
Optionally, in an embodiment of the present invention, the step of generating a corresponding matched feedback voice file according to the stored agricultural production data of various crops and the request data includes:
carrying out voice recognition on the request data, and converting the recognized audio content of the request data into a file to be analyzed represented by characters;
semantic analysis is carried out on the file to be analyzed to obtain corresponding character analysis content, and a character feedback file matched with the character analysis content is generated based on agricultural production data of various crops;
and carrying out audio conversion on the text feedback file to obtain a corresponding feedback voice file.
Optionally, in an embodiment of the present invention, the step of generating the text feedback file matched with the text parsing content based on agricultural production data of various crops includes:
searching agricultural production data matched with the keywords in the background server by taking the character analysis content as the keywords;
and logically integrating the searched agricultural production data to generate a corresponding text feedback file.
As for an apparatus, an embodiment of the present invention provides a background data processing apparatus, where the apparatus is applied to a background server in an agricultural internet of things system, the agricultural internet of things system further includes a gateway device and an agricultural production execution unit, the gateway device is respectively connected in communication with the background server and the agricultural production execution unit, the background server stores agricultural production data of various crops, and the apparatus includes:
the request judging module is used for receiving the request data sent by the gateway equipment and judging whether the request type corresponding to the request data is a language consultation request or a production regulation and control request;
the information acquisition module is used for acquiring the current production operation information of each execution node in the agricultural production execution unit and the crop information which is produced by each execution node if the request type of the request data is a production regulation request;
the strategy making module is used for making a matched production control strategy for the agricultural production execution unit according to the stored agricultural production data of various crops, the obtained production operation information of each execution node and the crop information;
the voice feedback module is used for generating a feedback voice file which is correspondingly matched according to the stored agricultural production data of various crops and the request data if the request type of the request data is a language consultation request;
and the data sending module is used for sending the production control strategy or the feedback voice file to the gateway equipment so that the gateway equipment controls the agricultural production execution unit to carry out agricultural production according to the production control strategy or the gateway equipment plays the feedback voice file.
Optionally, in an embodiment of the present invention, a manner that the request determining module determines whether the request type corresponding to the request data is a language query request or a production regulation request includes:
identifying the file format of the received request data;
if the file format of the request data is an audio file format, judging that the request type corresponding to the request data is a language consultation request;
and if the file format of the request data is the json message format, judging that the request type corresponding to the request data is a production regulation and control request.
Optionally, in an embodiment of the present invention, a manner that the policy making module makes a matched production control policy for the agricultural production execution unit according to the stored agricultural production data of various crops, the obtained production operation information of each execution node, and the crop information includes:
searching corresponding matched agricultural production data from the agricultural production data stored in the background server according to the acquired crop information in charge of each execution node;
performing data analysis on the request data to obtain target crop production demand information included in the request data;
and formulating and generating a production control strategy for the agricultural production execution unit, which meets the production demand information of the target crops, based on the searched agricultural production data and the production operation information of each execution node.
Optionally, in an embodiment of the present invention, a manner that the voice feedback module generates the corresponding matched feedback voice file according to the stored agricultural production data of various crops and the request data includes:
carrying out voice recognition on the request data, and converting the recognized audio content of the request data into a file to be analyzed represented by characters;
semantic analysis is carried out on the file to be analyzed to obtain corresponding character analysis content, and a character feedback file matched with the character analysis content is generated based on agricultural production data of various crops;
and carrying out audio conversion on the text feedback file to obtain a corresponding feedback voice file.
Optionally, in an embodiment of the present invention, a manner of generating, by the voice feedback module, a text feedback file matched with the text parsing content based on agricultural production data of various crops includes:
searching agricultural production data matched with the keywords in the background server by taking the character analysis content as the keywords;
and logically integrating the searched agricultural production data to generate a corresponding text feedback file.
Compared with the prior art, the background data processing method and the device provided by the embodiment of the invention have the following beneficial effects: the background data processing method can enable a background server in the agricultural Internet of things system to provide language consultation service and production regulation and control service for users, solve the problem that the background service function of the agricultural Internet of things system in the prior art is single, and improve the use experience of the users. The method is applied to a background server in an agricultural Internet of things system, the agricultural Internet of things system further comprises gateway equipment and an agricultural production execution unit, the gateway equipment is respectively in communication connection with the background server and the agricultural production execution unit, and agricultural production data of various crops are stored in the background server. Firstly, after receiving request data sent by the gateway equipment, the method judges whether the request type corresponding to the request data is a language consultation request or a production regulation and control request based on the request data. Then, when the request type of the request data is judged to be a production regulation request, the method acquires the current production operation information of each execution node in the agricultural production execution unit and the crop information which is generated by each execution node, and formulates a matched production control strategy for the agricultural production execution unit according to the stored agricultural production data of various crops, the acquired production operation information of each execution node and the crop information. And then, when judging that the request type of the request data is a language consultation request, generating a corresponding matched feedback voice file according to the stored agricultural production data of various crops and the request data. Finally, the method enables the gateway device to control the agricultural production execution unit to carry out agricultural production according to the production control strategy or enables the gateway device to play the feedback voice file by sending the production control strategy or the feedback voice file to the gateway device, so that language consultation service and production regulation and control service are provided for users, the problem that background service functions of an agricultural Internet of things system in the prior art are single is solved, and the use experience of the users is improved.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments are briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of the claims of the present invention, and it is obvious for those skilled in the art that other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a block schematic diagram of an agricultural internet of things system provided by an embodiment of the invention.
Fig. 2 is a schematic flowchart of a background data processing method according to an embodiment of the present invention.
Fig. 3 is a flowchart illustrating sub-steps included in step S210 in fig. 2.
Fig. 4 is a flowchart illustrating sub-steps included in step S230 in fig. 2.
Fig. 5 is a flowchart illustrating sub-steps included in step S240 in fig. 2.
Fig. 6 is a block diagram of the background data processing apparatus shown in fig. 1 according to an embodiment of the present invention.
Icon: 10-an agricultural internet of things system; 11-background server; 12-a gateway device; 13-an agricultural production execution unit; 100-background data processing device; 110-request judging module; 120-an information acquisition module; 130-a policy making module; 140-a voice feedback module; 150-data transmission module.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Fig. 1 is a block diagram of an agricultural internet of things system 10 according to an embodiment of the present invention. In the embodiment of the invention, the agricultural internet of things system 10 is used for agricultural production, the agricultural internet of things system 10 comprises a background server 11, a gateway device 12 and an agricultural production execution unit 13, and the background server 11, the gateway device 12 and the agricultural production execution unit 13 are sequentially in communication connection. The background server 11 provides background services to users through a data processing manner, the gateway device 12 is used for directly controlling the operation of the agricultural production execution unit 13, and the agricultural production execution unit 13 is used for directly performing agricultural production to plant crops.
In this embodiment, the agricultural production execution unit 13 includes a plurality of execution nodes, each of which is responsible for producing a crop, and each of which may be built up from a plurality of planting devices (e.g., a drain pump, a mower, a tilter, etc.). The crops in charge of the different execution nodes can be the same type of crops or different types of crops.
In this embodiment, the background server 11 stores agricultural production data of various crops, and the agricultural production data is summary data of planting production knowledge and experience when planting corresponding crops.
Fig. 2 is a schematic flow chart of a background data processing method according to an embodiment of the present invention. In the embodiment of the present invention, the background data processing method is applied to the background server 11 in the agricultural internet of things system 10, the agricultural internet of things system 10 further includes a gateway device 12 and an agricultural production execution unit 13, the gateway device 12 is respectively in communication connection with the background server 11 and the agricultural production execution unit 13, and the background server 11 stores agricultural production data of various crops. The background data processing method is used for processing data at the background server 11 to provide language consultation service and production regulation service for users, so that the problem that the background service function of the agricultural Internet of things system in the prior art is single is solved, and the use experience of the users is improved. The detailed flow and steps of the background data processing method shown in fig. 2 will be described in detail.
Step S210, receiving the request data sent from the gateway device 12, and determining whether the request type corresponding to the request data is a language consultation request or a production regulation request.
In this embodiment, the background data processing method enables the background server 11 to provide a language consultation service and a production regulation service for a user, so that the user can send request data for indicating a service providing request to the background server 11 through the gateway device 12, so that the background server 11 provides a corresponding background service. After receiving the request data sent from the gateway device 12, the background server 11 determines, based on the request data, whether the background service to be provided is a language consulting service or a production regulating service. Optionally, by determining whether the request type corresponding to the request data is a language query request or a production regulation and control request, it is determined whether the background service currently required to be provided by the background server 11 is a language query service or a production regulation and control service, where the language query service corresponds to the language query request, and the production regulation and control service corresponds to the production regulation and control request. The language consulting service is a consulting service which is provided by the background server 11 and is related to agricultural production to a user, and the production regulation and control service is a service which is provided by the background server 11 and is used for controlling the working states of the gateway equipment 12 and the agricultural production execution unit 13 so as to perform agricultural production.
Fig. 3 is a flowchart illustrating the sub-steps included in step S210 in fig. 2. In this embodiment, the step of determining whether the request type corresponding to the request data in step S210 is a language query request or a production regulation request may include substep S211, substep S212, and substep S213.
And a substep S211 of identifying a file format of the received request data.
In this embodiment, the request data corresponding to the language consultation request and the production regulation request are different in file format, the file format of the request data corresponding to the language consultation request is an audio file format, and the file format of the request data corresponding to the production regulation request is a json message format. The background server 11 determines whether the request type corresponding to the request data is a language consultation request by identifying the file format of the received request data.
And a substep S212, if the file format of the request data is an audio file format, determining that the request type corresponding to the request data is a language consultation request.
In the present embodiment, the audio file format may be, but is not limited to, a WAV format, a PCM format, and the like. When the background server 11 recognizes that the file format of the requested data is an audio file format, the background server 11 determines that the request type corresponding to the requested data is yes.
And a substep S213, if the file format of the request data is the json message format, determining that the request type corresponding to the request data is a production regulation request.
In this embodiment, when the background server 11 recognizes that the file format of the request data is the json message format, the background server 11 determines that the request type corresponding to the request data is a production regulation request.
In the embodiment of the present invention, if the background server 11 determines that the request type corresponding to the request data is a production regulation and control request, the background server 11 provides a production regulation and control service corresponding to the production regulation and control request to the user by executing step S220, step S230, and step S250; if the background server 11 determines that the request type corresponding to the request data is a language consultation request, the background server 11 provides the language consultation service corresponding to the language consultation request to the user by executing the steps S240 and S250.
Referring to fig. 2 again, in step S220, if the request type of the request data is a production regulation request, current production operation information of each execution node in the agricultural production execution unit 13 and information of crops for which each execution node is responsible for production are obtained.
In this embodiment, when the backend server 11 determines that the request type corresponding to the request data is a production regulation request, the backend server 11 needs to provide a production regulation service, and at this time, the backend server 11 needs to obtain current production operation information of each execution node in the agricultural production execution unit 13 and crop information that each execution node is responsible for producing, where the production operation information is used to indicate a working operation condition of each planting device in the corresponding execution node, and the crop information is used to indicate a growth condition of crops planted by the corresponding execution node.
In this embodiment, the background server 11 may obtain, from each execution node in the agricultural production execution unit 13, production operation information and crop information corresponding to each execution node through the gateway device 12 communicatively connected to the agricultural production execution unit 13.
Step S230, a matched production control strategy is formulated for the agricultural production execution unit 13 according to the stored agricultural production data of various crops, the acquired production operation information of each execution node, and the crop information.
In this embodiment, after obtaining the production operation information and the crop information corresponding to each execution node, the background server 11 formulates a matched production control strategy for the agricultural production execution unit 13 by combining the agricultural production data of various crops stored in the background server 11, so that the agricultural production execution unit 13 performs agricultural production according to the production control strategy, thereby implementing production regulation and control.
Fig. 4 is a flowchart illustrating the sub-steps included in step S230 in fig. 2. In this embodiment, the step S230 may include a sub-step S231, a sub-step S232, and a sub-step S233.
And a substep S231 of searching the agricultural production data corresponding to the matching from the agricultural production data stored in the background server 11 according to the acquired crop information in charge of each execution node.
In this embodiment, the crop type corresponding to the agricultural production data searched by the background server 11 is matched with the crop information in charge of each execution node.
And a substep S232 of performing data analysis on the request data to obtain target crop production demand information included in the request data.
In this embodiment, when the backend server 11 determines that the request type corresponding to the request data is a production regulation request, the request data sent to the backend server 11 by the user through the gateway device 12 includes target crop production demand information for indicating that crops in charge of each execution node are required to achieve a production effect in a production process. The background server 11 obtains the target crop production demand information included in the request data by performing data analysis on the request data.
And a substep S233, which formulates and generates a production control strategy for the agricultural production execution unit 13, which meets the production demand information of the target crops, based on the searched agricultural production data and the production operation information of each execution node.
In this embodiment, the background server 11 measures and formulates the agricultural production data corresponding to each execution node, the obtained production operation information of each execution node, and the analyzed target crop production demand information corresponding to each execution node, so as to generate a production control strategy for controlling the working condition of the agricultural production execution unit 13, which is matched with the target crop production demand information.
Step S240, if the request type of the requested data is a language consultation request, generating a corresponding matched feedback voice file according to the stored agricultural production data of various crops and the requested data.
In this embodiment, when the background server 11 determines that the request type corresponding to the request data is a language query request, the background server 11 needs to provide a language query service, and at this time, the background server 11 generates a corresponding matched feedback voice file according to the stored agricultural production data of various crops and the request data.
Fig. 5 is a flowchart illustrating the sub-steps included in step S240 in fig. 2. In this embodiment, the step of generating a corresponding and matched feedback voice file according to the stored agricultural production data of various crops and the request data in step S240 may include substeps S241, substeps 242, and substep 243.
And a substep S241 of performing voice recognition on the request data and converting the recognized audio content of the request data into a file to be analyzed represented by characters.
In this embodiment, when the backend server 11 determines that the request type corresponding to the request data is a language consultation request, the request data sent by the user to the backend server 11 through the gateway device 12 includes audio content for representing a user consultation problem. The background server 11 converts the recognized audio content of the request data into a file to be analyzed represented by characters in a voice recognition mode for the request data.
And a substep S242, performing semantic analysis on the file to be analyzed to obtain corresponding character analysis content, and generating a character feedback file matched with the character analysis content based on agricultural production data of various crops.
In this embodiment, the step of the background server 11 obtaining corresponding text analysis content by performing semantic analysis on the file to be analyzed, and then the step of the background server 11 generating a text feedback file matched with the text analysis content based on agricultural production data of various crops includes:
searching agricultural production data matched with the keywords in the background server 11 by taking the character analysis content as the keywords;
and logically integrating the searched agricultural production data to generate a corresponding text feedback file.
And a substep S243, performing audio conversion on the text feedback file to obtain a corresponding feedback voice file.
In this embodiment, the background server 11 obtains a feedback voice file correspondingly matched with the request data by performing audio conversion on the generated text feedback file.
Referring to fig. 2 again, in step S250, the production control policy or the feedback voice file is sent to the gateway device 12.
In this embodiment, if the backend server 11 determines that the request type of the received request data is a production regulation and control request, after generating a production control policy matched with the request data, the backend server 11 sends the production control policy to the gateway device 12, so that the gateway device 12 controls each execution node in the agricultural production execution unit 13 to perform agricultural production according to the production control policy, thereby providing a production regulation and control service to a user. If the background server 11 determines that the request type of the received request data is a language consultation request, the background server 11, after generating a feedback voice file matched with the request data, sends the feedback voice file to the gateway device 12, so that the gateway device 12 plays the feedback voice file, thereby providing a language consultation service for the user.
Fig. 6 is a block diagram of the background data processing apparatus 100 shown in fig. 1 according to an embodiment of the present invention. In the embodiment of the present invention, the background server 11 includes a background data processing device 100, and the background server 11 executes the background data processing method shown in fig. 2 to 5 through the background data processing device 100 to provide the user with the language consultation service and the production regulation service, so as to solve the problem of single background service function in the agricultural internet of things system in the prior art, and improve the user experience. The background data processing apparatus 100 includes a request determining module 110, an information obtaining module 120, a policy making module 130, a voice feedback module 140, and a data sending module 150.
The request determining module 110 is configured to receive request data sent from the gateway device 12, and determine whether a request type corresponding to the request data is a language query request or a production regulation request.
In this embodiment, the manner for the request determining module 110 to determine whether the request type corresponding to the request data is a language query request or a production regulation request includes:
identifying the file format of the received request data;
if the file format of the request data is an audio file format, judging that the request type corresponding to the request data is a language consultation request;
and if the file format of the request data is the json message format, judging that the request type corresponding to the request data is a production regulation and control request.
The request determining module 110 may execute step S210 shown in fig. 2 and sub-step S211, sub-step S212, and sub-step S213 shown in fig. 3, and the specific execution process may refer to the above detailed description of step S210, sub-step S211, sub-step S212, and sub-step S213.
The information obtaining module 120 is configured to obtain current production operation information of each execution node in the agricultural production execution unit 13 and information of crops for which each execution node is responsible for production if the request type of the request data is a production regulation request.
In this embodiment, the information obtaining module 120 may execute step S220 shown in fig. 2, and the specific execution process may refer to the above detailed description of step S220.
The strategy making module 130 is configured to make a matched production control strategy for the agricultural production execution unit 13 according to the stored agricultural production data of various crops, the obtained production operation information of each execution node, and the crop information.
In this embodiment, the manner for the policy making module 130 to make the matched production control policy for the agricultural production execution unit 13 according to the stored agricultural production data of various crops, the obtained production operation information of each execution node, and the crop information includes:
searching corresponding matched agricultural production data from the agricultural production data stored in the background server 11 according to the acquired crop information in charge of each execution node;
performing data analysis on the request data to obtain target crop production demand information included in the request data;
and formulating and generating a production control strategy aiming at the agricultural production execution unit 13, which meets the production demand information of the target crops, based on the searched agricultural production data and the production operation information of each execution node.
The policy making module 130 may execute step S230 shown in fig. 2 and sub-step S231, sub-step S232, and sub-step S233 shown in fig. 4, and the specific execution process may refer to the above detailed description of step S230, sub-step S231, sub-step S232, and sub-step S233.
The voice feedback module 140 is configured to generate a corresponding matched feedback voice file according to the stored agricultural production data of various crops and the request data if the request type of the request data is a language consultation request.
In this embodiment, the manner of generating the corresponding matched feedback voice file by the voice feedback module 140 according to the stored agricultural production data of various crops and the request data includes:
carrying out voice recognition on the request data, and converting the recognized audio content of the request data into a file to be analyzed represented by characters;
semantic analysis is carried out on the file to be analyzed to obtain corresponding character analysis content, and a character feedback file matched with the character analysis content is generated based on agricultural production data of various crops;
and carrying out audio conversion on the text feedback file to obtain a corresponding feedback voice file.
The manner of generating the text feedback file matched with the text analysis content by the voice feedback module 140 based on the agricultural production data of various crops includes:
searching agricultural production data matched with the keywords in the background server 11 by taking the character analysis content as the keywords;
and logically integrating the searched agricultural production data to generate a corresponding text feedback file.
In this embodiment, the voice feedback module 140 may execute step S240 shown in fig. 2 and sub-steps S241, S242, and S243 shown in fig. 5, and the specific execution process may refer to the above detailed description of step S240, S241, S242, and S243.
The data sending module 150 is configured to send the production control policy or the feedback voice file to the gateway device 12, so that the gateway device 12 controls the agricultural production execution unit 13 to perform agricultural production according to the production control policy, or so that the gateway device 12 plays the feedback voice file.
In this embodiment, the data sending module 150 may execute step S250 shown in fig. 2, and the specific execution process may refer to the above detailed description of step S250.
In summary, in the background data processing method and the device provided by the embodiment of the invention, the background server in the agricultural internet of things system can provide the user with the language consultation service and the production regulation and control service, so that the problem of single background service function in the agricultural internet of things system in the prior art is solved, and the use experience of the user is improved. The method is applied to a background server in an agricultural Internet of things system, the agricultural Internet of things system further comprises gateway equipment and an agricultural production execution unit, the gateway equipment is respectively in communication connection with the background server and the agricultural production execution unit, and agricultural production data of various crops are stored in the background server. Firstly, after receiving request data sent by the gateway equipment, the method judges whether the request type corresponding to the request data is a language consultation request or a production regulation and control request based on the request data. Then, when the request type of the request data is judged to be a production regulation request, the method acquires the current production operation information of each execution node in the agricultural production execution unit and the crop information which is generated by each execution node, and formulates a matched production control strategy for the agricultural production execution unit according to the stored agricultural production data of various crops, the acquired production operation information of each execution node and the crop information. And then, when judging that the request type of the request data is a language consultation request, generating a corresponding matched feedback voice file according to the stored agricultural production data of various crops and the request data. Finally, the method enables the gateway device to control the agricultural production execution unit to carry out agricultural production according to the production control strategy or enables the gateway device to play the feedback voice file by sending the production control strategy or the feedback voice file to the gateway device, so that language consultation service and production regulation and control service are provided for users, the problem that background service functions of an agricultural Internet of things system in the prior art are single is solved, and the use experience of the users is improved.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A background data processing method is applied to a background server in an agricultural Internet of things system, the agricultural Internet of things system further comprises a gateway device and an agricultural production execution unit, the gateway device is respectively in communication connection with the background server and the agricultural production execution unit, agricultural production data of various crops are stored in the background server, and the agricultural production data are summary data of planting production knowledge and experience when corresponding crops are planted, the method comprises the following steps:
receiving request data sent by the gateway equipment, and judging whether the request type corresponding to the request data is a language consultation request or a production regulation and control request;
if the request type of the request data is a production regulation request, acquiring current production operation information of each execution node in the agricultural production execution unit and crop information for which each execution node is responsible for production, wherein the production operation information is used for representing the working operation condition of each planting device in the corresponding execution node, and the crop information is used for representing the growth condition of crops planted in the corresponding execution node;
according to the stored agricultural production data of various crops, the obtained production operation information of each execution node and the crop information, a matched production control strategy is formulated for the agricultural production execution unit, wherein the production control strategy meets the production demand information of target crops included in the request data, and the production demand information of the target crops is used for expressing the production effect to be achieved by the crops in charge of each execution node in the production process;
if the request type of the request data is a language consultation request, generating a corresponding matched feedback voice file according to the stored agricultural production data of various crops and the request data;
and sending the production control strategy or the feedback voice file to the gateway equipment so that the gateway equipment controls the agricultural production execution unit to carry out agricultural production according to the production control strategy, or the gateway equipment plays the feedback voice file.
2. The method of claim 1, wherein the step of determining whether the request type corresponding to the request data is a language query request or a production regulatory request comprises:
identifying the file format of the received request data;
if the file format of the request data is an audio file format, judging that the request type corresponding to the request data is a language consultation request;
and if the file format of the request data is the json message format, judging that the request type corresponding to the request data is a production regulation and control request.
3. The method according to claim 1, wherein the step of formulating the matched production control strategy for the agricultural production execution unit according to the stored agricultural production data of various crops, the acquired production operation information of each execution node and the crop information comprises:
searching corresponding matched agricultural production data from the agricultural production data stored in the background server according to the acquired crop information in charge of each execution node;
performing data analysis on the request data to obtain target crop production demand information included in the request data;
and formulating and generating a production control strategy for the agricultural production execution unit, which meets the production demand information of the target crops, based on the searched agricultural production data and the production operation information of each execution node.
4. The method according to any one of claims 1 to 3, wherein the step of generating the corresponding matched feedback voice file according to the stored agricultural production data of various crops and the request data comprises:
carrying out voice recognition on the request data, and converting the recognized audio content of the request data into a file to be analyzed represented by characters;
semantic analysis is carried out on the file to be analyzed to obtain corresponding character analysis content, and a character feedback file matched with the character analysis content is generated based on agricultural production data of various crops;
and carrying out audio conversion on the text feedback file to obtain a corresponding feedback voice file.
5. The method of claim 4, wherein the step of generating a text feedback file matching the text parsed content based on agricultural production data of various crops comprises:
searching agricultural production data matched with the keywords in the background server by taking the character analysis content as the keywords;
and logically integrating the searched agricultural production data to generate a corresponding text feedback file.
6. A background data processing device is applied to a background server in an agricultural Internet of things system, the agricultural Internet of things system further comprises a gateway device and an agricultural production execution unit, the gateway device is respectively in communication connection with the background server and the agricultural production execution unit, agricultural production data of various crops are stored in the background server, and the agricultural production data are summary data of planting production knowledge and experience when corresponding crops are planted, the device comprises:
the request judging module is used for receiving the request data sent by the gateway equipment and judging whether the request type corresponding to the request data is a language consultation request or a production regulation and control request;
the information acquisition module is used for acquiring current production operation information of each execution node in the agricultural production execution unit and crop information for which each execution node is responsible for production if the request type of the request data is a production regulation request, wherein the production operation information is used for representing the working operation condition of each planting device in the corresponding execution node, and the crop information is used for representing the growth condition of crops planted by the corresponding execution node;
the strategy making module is used for making a matched production control strategy for the agricultural production execution unit according to the stored agricultural production data of various crops, the obtained production operation information of each execution node and the crop information, wherein the production control strategy meets the production demand information of target crops included in the request data, and the production demand information of the target crops is used for expressing the production effect to be achieved by the crops in charge of each execution node in the production process;
the voice feedback module is used for generating a feedback voice file which is correspondingly matched according to the stored agricultural production data of various crops and the request data if the request type of the request data is a language consultation request;
and the data sending module is used for sending the production control strategy or the feedback voice file to the gateway equipment so that the gateway equipment controls the agricultural production execution unit to carry out agricultural production according to the production control strategy or the gateway equipment plays the feedback voice file.
7. The apparatus of claim 6, wherein the manner of determining whether the request type corresponding to the request data is a language query request or a production regulation request by the request determining module comprises:
identifying the file format of the received request data;
if the file format of the request data is an audio file format, judging that the request type corresponding to the request data is a language consultation request;
and if the file format of the request data is the json message format, judging that the request type corresponding to the request data is a production regulation and control request.
8. The device according to claim 6, wherein the strategy making module makes a matched production control strategy for the agricultural production execution unit according to the stored agricultural production data of various crops, the obtained production operation information of each execution node and the crop information comprises:
searching corresponding matched agricultural production data from the agricultural production data stored in the background server according to the acquired crop information in charge of each execution node;
performing data analysis on the request data to obtain target crop production demand information included in the request data;
and formulating and generating a production control strategy for the agricultural production execution unit, which meets the production demand information of the target crops, based on the searched agricultural production data and the production operation information of each execution node.
9. The apparatus according to any one of claims 6-8, wherein the manner of generating the corresponding matched feedback voice file by the voice feedback module according to the stored agricultural production data of various crops and the request data comprises:
carrying out voice recognition on the request data, and converting the recognized audio content of the request data into a file to be analyzed represented by characters;
semantic analysis is carried out on the file to be analyzed to obtain corresponding character analysis content, and a character feedback file matched with the character analysis content is generated based on agricultural production data of various crops;
and carrying out audio conversion on the text feedback file to obtain a corresponding feedback voice file.
10. The apparatus of claim 9, wherein the means for generating the text feedback file matching the text parsed content based on agricultural production data for various crops comprises:
searching agricultural production data matched with the keywords in the background server by taking the character analysis content as the keywords;
and logically integrating the searched agricultural production data to generate a corresponding text feedback file.
CN201810475559.8A 2018-05-17 2018-05-17 Background data processing method and device Active CN108737538B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810475559.8A CN108737538B (en) 2018-05-17 2018-05-17 Background data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810475559.8A CN108737538B (en) 2018-05-17 2018-05-17 Background data processing method and device

Publications (2)

Publication Number Publication Date
CN108737538A CN108737538A (en) 2018-11-02
CN108737538B true CN108737538B (en) 2021-03-23

Family

ID=63938609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810475559.8A Active CN108737538B (en) 2018-05-17 2018-05-17 Background data processing method and device

Country Status (1)

Country Link
CN (1) CN108737538B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101847406A (en) * 2010-05-18 2010-09-29 中国农业大学 Speech recognition query method and system
CN103902373A (en) * 2014-04-02 2014-07-02 百度在线网络技术(北京)有限公司 Intelligent terminal control method, server and intelligent terminal
CN206235907U (en) * 2016-11-30 2017-06-09 甘肃农业大学 Agriculture Internet of Things environmental protection high yield economic circulation system based on big data analysis

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017056194A1 (en) * 2015-09-29 2017-04-06 株式会社 東芝 Information device, information communication terminal, and information processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101847406A (en) * 2010-05-18 2010-09-29 中国农业大学 Speech recognition query method and system
CN103902373A (en) * 2014-04-02 2014-07-02 百度在线网络技术(北京)有限公司 Intelligent terminal control method, server and intelligent terminal
CN206235907U (en) * 2016-11-30 2017-06-09 甘肃农业大学 Agriculture Internet of Things environmental protection high yield economic circulation system based on big data analysis

Also Published As

Publication number Publication date
CN108737538A (en) 2018-11-02

Similar Documents

Publication Publication Date Title
US10747505B1 (en) API specification generation
CN110263324A (en) Text handling method, model training method and device
Mostaco et al. AgronomoBot: a smart answering Chatbot applied to agricultural sensor networks
CN107741976B (en) Intelligent response method, device, medium and electronic equipment
EP3796110A1 (en) Method and apparatus for determining controlled object, and storage medium and electronic device
EP3766015A1 (en) Natural language to api conversion
CN110995846A (en) Internet of things collected data processing device, method and system
EP3610375B1 (en) Platform selection for performing requested actions in audio-based computing environments
CN110992937B (en) Language off-line identification method, terminal and readable storage medium
KR102442529B1 (en) Method for companion animal communication service with artificial intelligence
CN109284386A (en) Customized intension recognizing method and device
CN112328808A (en) Knowledge graph-based question and answer method and device, electronic equipment and storage medium
US20230352017A1 (en) Platform selection for performing requested actions in audio-based computing environments
JP2018151578A (en) Determination device, determination method, and determination program
US20230368028A1 (en) Automated machine learning pre-trained model selector
US11838367B2 (en) Information acquiring method, apparatus, and system
US11798545B2 (en) Speech interaction method and apparatus, device and storage medium
CN108737538B (en) Background data processing method and device
CN112735406A (en) Device control method and apparatus, storage medium, and electronic apparatus
CN116343776A (en) Speech recognition method, apparatus, system, device, medium and program product
JP4426826B2 (en) Content search method, content update method, content update reflection method, content search device, content update device, content search program, content update program, and recording medium thereof
US20230145069A1 (en) Automated data health reasoning
CN112463927A (en) Efficient intelligent semantic matching method
CN117473070B (en) Multi-channel application method of intelligent robot, intelligent robot and storage medium
CN111627439B (en) Audio data processing method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 3rd Floor, Building 6, Guangqian Industrial Zone, Longzhu 3rd Road, Longzhu 3rd Road, Longguang Community, Taoyuan Street, Nanshan District, Shenzhen, Guangdong Province, 518000

Patentee after: SHENZHEN FRIENDCOM TECHNOLOGY DEVELOPMENT Co.,Ltd.

Address before: 518000 6th floor, building 17, Guangqian Industrial Zone, Taoyuan Street, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN FRIENDCOM TECHNOLOGY DEVELOPMENT Co.,Ltd.

CP02 Change in the address of a patent holder