CN114510689A - Meteorological data transmission method and device and electronic equipment - Google Patents

Meteorological data transmission method and device and electronic equipment Download PDF

Info

Publication number
CN114510689A
CN114510689A CN202011290807.5A CN202011290807A CN114510689A CN 114510689 A CN114510689 A CN 114510689A CN 202011290807 A CN202011290807 A CN 202011290807A CN 114510689 A CN114510689 A CN 114510689A
Authority
CN
China
Prior art keywords
meteorological data
program code
processing result
user
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011290807.5A
Other languages
Chinese (zh)
Inventor
汤洋
易博
卢志强
杨晓丽
林章锐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Bixuange Technology Co ltd
Original Assignee
Shenzhen Bixuange 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 Bixuange Technology Co ltd filed Critical Shenzhen Bixuange Technology Co ltd
Priority to CN202011290807.5A priority Critical patent/CN114510689A/en
Publication of CN114510689A publication Critical patent/CN114510689A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

The invention relates to the technical field of meteorological data safety, in particular to a meteorological data transmission method and device and electronic equipment. The method comprises the following steps: receiving a meteorological data processing request sent by a user side; the weather data processing request carries user identity information and a program code for processing target weather data; authenticating the user according to the identity information, and calling the program code to process the target meteorological data if the authentication is passed to obtain a processing result; judging the similarity between the processing result and the target meteorological data; and when the similarity is smaller than a similarity threshold value, sending the processing result to the user side. According to the meteorological data transmission method provided by the invention, the meteorological data is not stolen by the user side in the whole transmission process, and the safety of the meteorological data is improved.

Description

Meteorological data transmission method and device and electronic equipment
Technical Field
The invention relates to the technical field of meteorological data safety, in particular to a meteorological data transmission method and device and electronic equipment.
Background
For the meteorological bureau, the meteorological data is related to the important decisions such as national scientific disaster prevention and reduction, promotion of social and economic coordination development and the like, so that the meteorological data has absolute confidentiality. With the continuous deepening of the digitalization and networking degree of the meteorological service, the latest technical schemes of parallel computing, distributed computing, network storage and the like are widely used. The cloud computing can be used for realizing high-speed computing and mass storage, so that a general, reliable and easily-expanded data processing and storing system can be realized. More and more meteorological service departments and units are more and more prone to transfer mass meteorological data of the meteorological service departments and units to a cloud platform for management. However, when the cloud platform is used for data management, convenience is brought, and risks of data leakage, malicious tampering and the like are also faced.
In the prior art, in order to protect the security of the meteorological data stored in the cloud platform, data requested to be downloaded by a user is generally encrypted. The user inputs the encrypted data into a local application program to operate, an operation result is obtained, and the original meteorological data which are not encrypted cannot appear in the whole process. However, the inventor finds that once the encrypted meteorological data is downloaded to the local of the user, the encrypted meteorological data is at risk of being cracked, and what is more, the data stored in the cloud platform is tampered by writing codes according to the encryption method, so that the safety of the meteorological data is damaged.
Disclosure of Invention
In view of this, embodiments of the present invention provide a meteorological data transmission method, an apparatus, and an electronic device, so as to solve the security problem of meteorological data in the prior art.
According to a first aspect, an embodiment of the present invention provides a meteorological data transmission method, including: receiving a meteorological data processing request sent by a user side; the weather data processing request carries user identity information and a program code for processing target weather data; authenticating the user according to the identity information, and calling the program code to process the target meteorological data if the authentication is passed to obtain a processing result; judging the similarity between the processing result and the target meteorological data; and when the similarity is smaller than a similarity threshold value, sending the processing result to the user side.
Optionally, the method further comprises: and when the similarity is greater than or equal to a similarity threshold, sending feedback information for indicating that the processing result is illegal to the user side, and interrupting the connection with the user side.
Optionally, after receiving the weather data processing request sent by the user side, the method further includes: performing security authentication on the program code to judge the validity of the program code; when the program code authentication fails, determining that the program code is illegal; and deleting the program code, and sending feedback information for indicating that the program code is illegal to the user side.
Optionally, the performing security authentication on the program code includes: detecting whether the program code contains a crawler program; and when the program code contains the crawler program, determining that the program code fails to be authenticated.
Optionally, after authenticating the user according to the identity information, the method further includes: and if the authentication is not passed, rejecting the meteorological data processing request of the user, and sending feedback information for indicating that the user identity is illegal to the user side.
According to a second aspect, an embodiment of the present invention provides a method for transmitting meteorological data, including: sending a meteorological data processing request to a cloud platform; the weather data processing request carries user identity information and a program code for processing target weather data; receiving a processing result sent by the cloud platform, wherein the processing result is obtained by calling the program code to process the target meteorological data after the user is authenticated by the cloud platform according to the identity information, and the similarity between the processing result and the target meteorological data is smaller than a similarity threshold value.
According to a third aspect, an embodiment of the present invention provides a meteorological data transmission apparatus, including: the first receiving module is used for receiving a meteorological data processing request sent by a user side; the weather data processing request carries user identity information and a program code for processing target weather data; the authentication module is used for authenticating the user according to the identity information, and if the authentication is passed, the program code is called to process the target meteorological data to obtain a processing result; the judging module is used for judging the similarity between the processing result and the target meteorological data; and the first sending module is used for sending the processing result to the user side when the similarity is smaller than a similarity threshold value.
According to a fourth aspect, an embodiment of the present invention provides a meteorological data transmission apparatus, including: the second sending module is used for sending a meteorological data processing request to the cloud platform; the weather data processing request carries user identity information and a program code for processing target weather data; and the second receiving module is used for receiving a processing result sent by the cloud platform, wherein the processing result is obtained by calling the program code to process the target meteorological data after the user is authenticated by the cloud platform according to the identity information, and the similarity between the processing result and the target meteorological data is smaller than a similarity threshold value.
According to a fifth aspect, an embodiment of the present invention provides an electronic device, including: a memory and a processor, the memory and the processor being communicatively coupled to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the weather data transmission method of the first aspect or any one of the alternative embodiments of the first aspect, or the weather data transmission method of the second aspect.
According to a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores computer instructions for causing a computer to execute the meteorological data transmission method according to the first aspect or any one of the optional embodiments of the first aspect, or the meteorological data transmission method according to the second aspect.
The invention has the following beneficial effects:
the meteorological data transmission method provided by the embodiment of the invention receives a meteorological data processing request sent by a user side, wherein the meteorological data processing request carries user identity information and a program code for processing target meteorological data; authenticating the user according to the identity information, and calling the program code to process the target meteorological data if the authentication is passed to obtain a processing result; and when the similarity between the processing result and the target meteorological data is smaller than a similarity threshold value, sending the processing result to the user side. On one hand, the meteorological data does not need to be downloaded to the local part of the user side, so that the risks of cracking, leakage and tampering are reduced; on the other hand, the similarity comparison is carried out on the processing result and the target meteorological data, when the similarity is smaller than the similarity threshold value, the processing result is sent to the user side, the risk that the target meteorological data is still leaked after being processed is avoided, the meteorological data is not stolen by the user side in the whole transmission process, and the safety of the meteorological data is improved.
The meteorological data transmission method provided by the embodiment of the invention is used for sending a meteorological data processing request to a cloud platform; the weather data processing request carries user identity information and a program code for processing target weather data; receiving a processing result sent by the cloud platform, wherein the processing result is obtained by calling the program code to process the target meteorological data after the user is authenticated by the cloud platform according to the identity information, and the similarity between the processing result and the target meteorological data is smaller than a similarity threshold value. On one hand, the meteorological data does not need to be downloaded to the local part of the user side, so that the risks of cracking, leakage and tampering are reduced; on the other hand, the similarity comparison is carried out on the processing result and the target meteorological data, when the similarity is smaller than the similarity threshold value, the user terminal can receive the processing result, the risk that the target meteorological data is still leaked after being processed is avoided, and the user terminal cannot access the meteorological data in the whole transmission process, so that the risk that the meteorological data is cracked, leaked and tampered is reduced, and the safety of the meteorological data is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flow chart of a method for transmitting meteorological data in accordance with an embodiment of the present invention;
FIG. 2 is a complete flow chart of a meteorological data transmission method of an embodiment of the present invention;
FIG. 3 is another flow chart of a meteorological data transmission method according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a weather transmitting device according to an embodiment of the present invention;
FIG. 5 is another schematic structural diagram of the weather transmitting device according to the embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of the electronic device according to the embodiment of the present invention.
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. 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.
Example 1
The embodiment of the invention provides a meteorological data transmission method which is used for a cloud platform, wherein the cloud platform stores meteorological data sent by a meteorological station, and a user logs in and accesses the cloud platform through a user side to obtain a required processing result of target meteorological data, wherein the user side can be a mobile phone, a computer and the like. It should be noted that the method for transmitting meteorological data provided by the present embodiment may be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flow chart, in some cases, the steps shown or described may be executed in an order different from that here. As shown in fig. 1, the process includes the following steps:
and S11, receiving a weather data processing request sent by the user side.
The weather data processing request carries the identity information of the user and a program code for processing the target weather data.
Here, the protocol for communication between the user side and the cloud platform may be customized in advance. The customized protocol provides that the meteorological data processing request should include identity information, target meteorological data information, and program codes or program code identifiers for processing the target meteorological data.
The identity information refers to information for authenticating a user, and the identity information may include a user name, a password, and the like; the target meteorological data information refers to target meteorological data requested to be processed by a user side, the target meteorological data information can comprise an identifier, a size and the like representing the target meteorological data, and the identifier can be a name abbreviation or a custom symbol and the like; the program code is a program code for processing the target meteorological data, and it is understood that different processes may correspond to different program codes, for example, precipitation prediction process, humidity prediction process, wind speed and direction prediction process, and the like, and theoretically should correspond to different program codes. The cloud platform can store program codes with high use frequency in advance and endow the program codes with corresponding program code identifications.
And S12, authenticating the user according to the identity information, and calling the program code to process the target meteorological data if the user passes the authentication to obtain a processing result.
And the cloud platform identifies the meteorological data processing request, acquires identity information, target meteorological data information and program codes or program code identifiers carried in the meteorological data processing request, and then authenticates a user according to the identity information. If the authentication is passed, calling the program code to process the target meteorological data to obtain a processing result, or if the authentication is passed, calling the corresponding program code according to the program code identification to process the target meteorological data to obtain a processing result.
And S13, judging whether the similarity between the processing result and the target meteorological data is less than a similarity threshold value. When the similarity is smaller than the similarity threshold, step S14 is performed, otherwise, step S15 is performed.
Here, the data of the processing result may be numerically compared with the target weather data, and the smaller the similarity is, the less the portion of the data of the processing result overlapping with the target weather data is, and conversely, the more the portion of the processing result overlapping with the target weather data is.
Under normal conditions, the similarity between the processing result and the target meteorological data is very small, but in order to prevent the leakage of the target meteorological data caused by the fact that the program code sent by the user side is an abnormal program code, for example, a code for performing denoising processing on the target meteorological data, the similarity between the processing result and the target meteorological data is judged, and data leakage can be effectively prevented.
And S14, sending the processing result to the user terminal.
Here, the processing result is data that does not include the target meteorological data, such as a satellite map, a humidity value, a wind speed and a wind direction value, and the like.
And S15, sending feedback information for indicating that the processing result is illegal to the user side, and interrupting the connection with the user side.
Here, the feedback information may be a window that pops up on a human-machine display interface of the user side and displays a word "processing result is illegal", or may be in a form of voice broadcast ("processing result is illegal"), which is not limited to this, and disconnects the communication connection with the user side.
Fig. 2 is a complete flow chart of the meteorological data transmission method according to the embodiment of the present invention, and as shown in fig. 2, the flow chart includes the following steps:
and S21, receiving a weather data processing request sent by the user side.
Please refer to S11 shown in fig. 1 in detail, which is not described herein again.
And S22, judging the validity of the program code. If not, S23 is executed, and if legal, S24 is executed.
Here, the program code may be subjected to security authentication to determine the validity of the program code, and the security authentication may include detecting a BUG of the program code itself, or whether the program code is malicious code, or the like.
As an optional implementation manner of the embodiment of the present invention, the S22 may include:
(1) and detecting whether the program code contains a crawler program.
The crawler program generally refers to a program for automatically capturing data, scripts and the like from a server or a cloud. Of course, malicious programs also include, for example, ice river programs, ghost programs, trojan programs, and the like.
(2) And when the program code contains the crawler program, determining that the program code is not authenticated and determining that the program code is illegal.
And S23, deleting the program codes and sending feedback information for indicating that the program codes are illegal to the user side.
Here, the feedback information may be a window that pops up on the human-computer display interface of the user side and displays words of "program code is illegal", or may be in the form of voice broadcast ("program code is illegal"), which is not limited by the present invention.
And S24, authenticating the user according to the identity information. If the authentication is passed, S25-S28 is executed, and if the authentication is not passed, S29 is executed.
Please refer to S12 shown in fig. 1 in detail, which is not described herein again.
And S25, calling the program code to process the target meteorological data to obtain a processing result.
Please refer to S12 shown in fig. 1 in detail, which is not described herein again.
And S26, judging the similarity between the processing result and the target meteorological data, executing S27 when the similarity is smaller than a similarity threshold, and otherwise executing S28.
Please refer to S13 shown in fig. 1 in detail, which is not described herein again.
And S27, sending the processing result to the user terminal.
Please refer to S14 shown in fig. 1 in detail, which is not described herein again.
And S28, sending feedback information for indicating that the processing result is illegal to the user side, and interrupting the connection with the user side.
Please refer to S15 shown in fig. 1 in detail, which is not described herein again.
And S29, rejecting the weather data processing request of the user and sending feedback information for indicating that the user identity is illegal to the user side.
Here, when the user identity authentication is not passed, the weather data processing request of the user is directly rejected, and feedback information for indicating that the user identity is not legal is sent to the user side. The feedback information may be a window which is popped up on a human-computer display interface of the user side and displays a word of 'user identity is illegal', or may be in a voice broadcast ('user identity is illegal'), which is not limited by the present invention.
The meteorological data transmission method provided by the embodiment of the invention receives a meteorological data processing request sent by a user side, wherein the meteorological data processing request carries user identity information and a program code for processing target meteorological data; authenticating the user according to the identity information, and calling the program code to process the target meteorological data if the user passes the authentication to obtain a processing result; and when the similarity between the processing result and the target meteorological data is smaller than a similarity threshold value, sending the processing result to the user side. On one hand, the meteorological data does not need to be downloaded to the local part of the user side, so that the risks of cracking, leakage and tampering are reduced; on the other hand, the similarity comparison is carried out on the processing result and the target meteorological data, when the similarity is smaller than the similarity threshold value, the processing result is sent to the user side, the risk that the target meteorological data is still leaked after being processed is avoided, the meteorological data is not stolen by the user side in the whole transmission process, and the safety of the meteorological data is improved.
Example 2
The embodiment of the invention provides a meteorological data transmission method, which is used for a user side, wherein the user side can be a mobile phone, a computer and the like, and can log in and access a cloud platform storing meteorological data sent by a meteorological station to obtain a required processing result of target meteorological data. It should be noted that the method for transmitting meteorological data provided by the present embodiment can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that here. As shown in fig. 3, the process includes the following steps:
and S31, sending a meteorological data processing request to the cloud platform.
The weather data processing request carries the identity information of the user and a program code for processing the target weather data.
Here, a customized communication protocol is provided between the user side and the cloud platform, and when the user side needs to process some meteorological data, the meteorological data is used as target meteorological data information, a program code or a program code identifier required for processing is used as program code information, and the target meteorological data information, the program code information and the identity information of the user are generated according to the customized communication protocol to send the meteorological data processing request to the cloud platform.
And S32, receiving a processing result sent by the cloud platform, wherein the processing result is obtained by calling the program code to process the target meteorological data after the user is authenticated by the cloud platform according to the identity information, and the similarity between the processing result and the target meteorological data is smaller than a similarity threshold.
Here, the processing result received by the user side is a processing result obtained by executing the meteorological data transmission method shown in fig. 1-2 for the cloud platform. In some optional embodiments, the processing result is obtained when the program code is legal.
The meteorological data transmission method provided by the embodiment of the invention is used for sending a meteorological data processing request to a cloud platform; the weather data processing request carries user identity information and a program code for processing target weather data; receiving a processing result sent by the cloud platform, wherein the processing result is obtained by calling the program code to process the target meteorological data after the user is authenticated by the cloud platform according to the identity information, and the similarity between the processing result and the target meteorological data is smaller than a similarity threshold value. On one hand, the meteorological data does not need to be downloaded to the local part of the user side, so that the risks of cracking, leakage and tampering are reduced; on the other hand, the similarity comparison is carried out on the processing result and the target meteorological data, when the similarity is smaller than the similarity threshold value, the user terminal can receive the processing result, the risk that the target meteorological data is still leaked after being processed is avoided, and the user terminal cannot access the meteorological data in the whole transmission process, so that the risk that the meteorological data is cracked, leaked and tampered is reduced, and the safety of the meteorological data is improved.
Example 3
In this embodiment, a meteorological data transmission apparatus is provided, and the meteorological data transmission apparatus is used to implement the foregoing embodiment 1 and optional embodiments thereof, which have already been described and are not described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware or a combination of software and hardware is also possible and contemplated.
The embodiment provides a meteorological data transmission device for a cloud platform, as shown in fig. 4, the device includes:
a first receiving module 41, configured to receive a weather data processing request sent by a user end; the weather data processing request carries user identity information and a program code for processing target weather data;
the authentication module 42 is configured to authenticate the user according to the identity information, and if the authentication passes, invoke the program code to process the target meteorological data to obtain a processing result;
a judging module 43, configured to judge a similarity between the processing result and the target meteorological data;
a first sending module 44, configured to send the processing result to the user side when the similarity is smaller than a similarity threshold.
The meteorological data transmission device provided by the embodiment of the invention receives a meteorological data processing request sent by a user side, wherein the meteorological data processing request carries user identity information and a program code for processing target meteorological data; authenticating the user according to the identity information, and calling the program code to process the target meteorological data if the authentication is passed to obtain a processing result; and when the similarity between the processing result and the target meteorological data is smaller than a similarity threshold value, sending the processing result to the user side. On one hand, the meteorological data do not need to be downloaded to the local of the user side, so that the risks of cracking, leakage and tampering are reduced; on the other hand, the similarity comparison is carried out on the processing result and the target meteorological data, when the similarity is smaller than the similarity threshold value, the processing result is sent to the user side, the risk that the target meteorological data is still leaked after being processed is avoided, the meteorological data is not stolen by the user side in the whole transmission process, and the safety of the meteorological data is improved.
Example 4
In this embodiment, a meteorological data transmission apparatus is provided, and the meteorological data transmission apparatus is used to implement the foregoing embodiment 2 and optional embodiments thereof, which have already been described and are not described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware or a combination of software and hardware is also possible and contemplated.
The embodiment provides a meteorological data transmission device for a user end, as shown in fig. 5, the device includes:
the second sending module 51 is configured to send a meteorological data processing request to the cloud platform; the weather data processing request carries user identity information and a program code for processing target weather data;
a second receiving module 52, configured to receive a processing result sent by the cloud platform, where the processing result is a processing result obtained by the cloud platform calling the program code to process the target weather data after the user authentication is passed according to the identity information, and a similarity between the processing result and the target weather data is smaller than a similarity threshold.
The meteorological data transmission device provided by the embodiment of the invention receives a meteorological data processing request sent by a user side, wherein the meteorological data processing request carries user identity information and a program code for processing target meteorological data; authenticating the user according to the identity information, and calling the program code to process the target meteorological data if the authentication is passed to obtain a processing result; and when the similarity between the processing result and the target meteorological data is smaller than a similarity threshold value, sending the processing result to the user side. On one hand, the meteorological data does not need to be downloaded to the local part of the user side, so that the risks of cracking, leakage and tampering are reduced; on the other hand, the similarity comparison is carried out on the processing result and the target meteorological data, when the similarity is smaller than the similarity threshold value, the processing result is sent to the user side, the risk that the target meteorological data is still leaked after being processed is avoided, the meteorological data is not stolen by the user side in the whole transmission process, and the safety of the meteorological data is improved.
Example 5
In this embodiment, an electronic device is provided with the weather data transmission apparatus shown in fig. 4 and/or fig. 5, please refer to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an alternative embodiment of the present invention, as shown in fig. 6, the electronic device may include: at least one processor 61, such as a CPU (Central Processing Unit), at least one communication interface 63, memory 64, at least one communication bus 62. Wherein a communication bus 62 is used to enable the connection communication between these components. The communication interface 63 may include a Display (Display) and a Keyboard (Keyboard), and the optional communication interface 63 may also include a standard wired interface and a standard wireless interface. The Memory 64 may be a high-speed RAM Memory (volatile Random Access Memory) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The memory 64 may optionally be at least one memory device located remotely from the processor 51. An application program is stored in the memory 64 and the processor 61 calls the program code stored in the memory 64 for performing any of the method steps described above.
The communication bus 62 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 62 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
The memory 64 may include a volatile memory (RAM), such as a random-access memory (RAM); the memory may also include a non-volatile memory (english: non-volatile memory), such as a flash memory (english: flash memory), a hard disk (english: hard disk drive, abbreviated: HDD) or a solid-state drive (english: SSD); the memory 64 may also comprise a combination of the above types of memory.
The processor 61 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of a CPU and an NP.
The processor 61 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
Optionally, the memory 64 is also used to store program instructions. The processor 61 may call program instructions to implement the meteorological data transmission method as shown in fig. 1-2 or 3 of the present application.
Example 6
The present embodiment also provides a non-transitory computer storage medium storing computer-executable instructions that can execute the meteorological data transmission method shown in fig. 1-2 or 3 of the present application. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk Drive (Hard Disk Drive, abbreviated as HDD), or a Solid State Drive (SSD); the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (10)

1. A meteorological data transmission method, comprising:
receiving a meteorological data processing request sent by a user side; the weather data processing request carries user identity information and a program code for processing target weather data;
authenticating the user according to the identity information, and calling the program code to process the target meteorological data if the authentication is passed to obtain a processing result;
judging the similarity between the processing result and the target meteorological data;
and when the similarity is smaller than a similarity threshold value, sending the processing result to the user side.
2. The meteorological data transmission method according to claim 1, further comprising:
and when the similarity is greater than or equal to a similarity threshold, sending feedback information for indicating that the processing result is illegal to the user side, and interrupting the connection with the user side.
3. The weather data transmission method according to claim 1, further comprising, after receiving the weather data processing request transmitted from the user terminal:
performing security authentication on the program code to judge the validity of the program code;
when the program code authentication fails, determining that the program code is illegal;
and deleting the program code, and sending feedback information for indicating that the program code is illegal to the user side.
4. The weather data transmission method of claim 1, wherein the performing security authentication on the program code comprises:
detecting whether the program code contains a crawler program;
and when the program code comprises the crawler program, determining that the program code authentication is not passed.
5. The weather data transmission method of claim 1, wherein the authenticating the user according to the identity information further comprises:
and if the authentication is not passed, rejecting the meteorological data processing request of the user, and sending feedback information for representing that the user identity is illegal to the user side.
6. A meteorological data transmission method, comprising:
sending a meteorological data processing request to a cloud platform; the weather data processing request carries user identity information and a program code for processing target weather data;
receiving a processing result sent by the cloud platform, wherein the processing result is obtained by calling the program code to process the target meteorological data after the user is authenticated by the cloud platform according to the identity information, and the similarity between the processing result and the target meteorological data is smaller than a similarity threshold value.
7. A meteorological data transmission apparatus, comprising:
the first receiving module is used for receiving a meteorological data processing request sent by a user side; the weather data processing request carries user identity information and a program code for processing target weather data;
the authentication module is used for authenticating the user according to the identity information, and if the authentication is passed, the program code is called to process the target meteorological data to obtain a processing result;
the judging module is used for judging the similarity between the processing result and the target meteorological data;
and the first sending module is used for sending the processing result to the user side when the similarity is smaller than a similarity threshold value.
8. A meteorological data transmission apparatus, comprising:
the second sending module is used for sending a meteorological data processing request to the cloud platform; the weather data processing request carries user identity information and a program code for processing target weather data;
and the second receiving module is used for receiving a processing result sent by the cloud platform, wherein the processing result is obtained by calling the program code to process the target meteorological data after the user is authenticated by the cloud platform according to the identity information, and the similarity between the processing result and the target meteorological data is smaller than a similarity threshold value.
9. An electronic device, comprising:
a memory and a processor, the memory and the processor being communicatively coupled to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the weather data transmission method of any one of claims 1-5 or the weather data transmission method of claim 6.
10. A computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions for causing the computer to perform the weather data transmission method of any one of claims 1-5, or the weather data transmission method of claim 6.
CN202011290807.5A 2020-11-17 2020-11-17 Meteorological data transmission method and device and electronic equipment Pending CN114510689A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011290807.5A CN114510689A (en) 2020-11-17 2020-11-17 Meteorological data transmission method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011290807.5A CN114510689A (en) 2020-11-17 2020-11-17 Meteorological data transmission method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114510689A true CN114510689A (en) 2022-05-17

Family

ID=81547019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011290807.5A Pending CN114510689A (en) 2020-11-17 2020-11-17 Meteorological data transmission method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114510689A (en)

Similar Documents

Publication Publication Date Title
WO2015169158A1 (en) Information protection method and system
EP3029593B1 (en) System and method of limiting the operation of trusted applications in the presence of suspicious programs
RU2680736C1 (en) Malware files in network traffic detection server and method
US20090298468A1 (en) System and method for deleting data in a communication device
CN110247897B (en) System login method, device, gateway and computer readable storage medium
CN107819768B (en) Method for server to actively disconnect illegal long connection, terminal equipment and storage medium
CN110704820A (en) Login processing method and device, electronic equipment and computer readable storage medium
CN112491930A (en) System risk dynamic monitoring method, system, computer equipment and storage medium
US9626676B2 (en) Secured online transactions
CN111586013B (en) Network intrusion detection method, device, node terminal and storage medium
US20190327263A1 (en) Distributed client protection
CN109699030B (en) Unmanned aerial vehicle authentication method, device, equipment and computer readable storage medium
CN109858235B (en) Portable equipment and password obtaining method and device thereof
CN110381114B (en) Interface request parameter processing method and device, terminal equipment and medium
US11228910B2 (en) Mobile communication device and method of determining security status thereof
CN108810233B (en) Malicious incoming call identification method and device
CN110674499A (en) Method, device and storage medium for identifying computer threat
CN114510689A (en) Meteorological data transmission method and device and electronic equipment
CN115396206A (en) Message encryption method, message decryption method, device and program product
CN107368337B (en) Application downloading method and device and terminal equipment
CN115022058A (en) Safety detection method and device for controller local area network and electronic equipment
CN106789899B (en) Cross-domain message sending method and device based on HTML5
US8973137B1 (en) Systems and methods for detecting illegitimate out-of-band authentication attempts
CN108768973B (en) Trusted application operation request auditing method and trusted application management server
CN107295177B (en) Application disabling method and device and terminal 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