CN117640563A - Production data access method, electronic device and readable storage medium - Google Patents

Production data access method, electronic device and readable storage medium Download PDF

Info

Publication number
CN117640563A
CN117640563A CN202311615635.8A CN202311615635A CN117640563A CN 117640563 A CN117640563 A CN 117640563A CN 202311615635 A CN202311615635 A CN 202311615635A CN 117640563 A CN117640563 A CN 117640563A
Authority
CN
China
Prior art keywords
production data
production
query result
data access
client
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
CN202311615635.8A
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.)
WeBank Co Ltd
Original Assignee
WeBank 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 WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN202311615635.8A priority Critical patent/CN117640563A/en
Publication of CN117640563A publication Critical patent/CN117640563A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Storage Device Security (AREA)

Abstract

The application discloses a production data access method, electronic equipment and a readable storage medium, and relates to the technical field of data access, wherein the production data access method comprises the steps that a client responds to a production data access instruction to acquire a query statement input by a target user; the client sends the query statement to a search engine end through a production data access component so that the search engine end accesses a preset production database based on the query statement to obtain a production data query result; and the client receives the production data query result sent by the search engine end and displays the production data query result on the production data access component. The method and the device solve the problem of low access efficiency of the existing production data access mode.

Description

Production data access method, electronic device and readable storage medium
Technical Field
The present disclosure relates to the field of data access technologies, and in particular, to a method for accessing production data, an electronic device, and a readable storage medium.
Background
With the increasing frequency of use of instant messaging tools (such as enterprise WeChat, nail, etc.) in daily work, many enterprises have gradually formed an on-line office environment on the instant messaging tools.
The production data of enterprises belong to sensitive data, so that to ensure the security of the production data, the production environment for recording the production data is usually isolated from the on-line office environment, and therefore, if a user needs to access the production data, the user needs to log into the production environment to check the production data, and the user may need to input a password for multiple times in the process of logging into the production environment, which affects the access efficiency of the production data, so that the access efficiency of the existing production data access mode is low.
Disclosure of Invention
The main purpose of the present application is to provide a method, a system, an electronic device and a readable storage medium for accessing production data, which aim to solve the technical problem of low access efficiency of the existing production data access method.
In order to achieve the above object, the present application provides a production data access method applied to a client terminal on which a production data access component is mounted, the production data access method including:
responding to the production data access instruction, and acquiring a query statement input by a target user;
the query statement is sent to a search engine end through the production data access component so that the search engine end can access a preset production database based on the query statement to obtain a production data query result;
And receiving the production data query result sent by the search engine end, and displaying the production data query result on the production data access component.
Optionally, the step of sending, by the production data access component, the query statement to a search engine side includes:
and sending the query statement to a server through the production data access component so that the server can judge whether the target user has access rights according to the user information carried by the query statement, and if so, sending the query statement to a search engine.
Optionally, the step of receiving the production data query result sent by the search engine end includes:
and receiving the production data query result which is sent by the search engine end and is encrypted by the server end.
Optionally, before the step of acquiring the query statement input by the target user in response to the production data access instruction, the production data access method further includes:
receiving a communication connection request sent by the search engine end;
and if the first communication identifier carried by the communication connection request is matched with the second communication identifier stored in the client, executing the step of responding to the production data access instruction and acquiring the query statement input by the target user.
In order to achieve the above object, the present application provides a method for accessing production data, which is applied to a search engine, and the method for accessing production data includes:
receiving a query statement sent by a client;
accessing a preset production database based on the query statement to obtain a production data query result;
and sending the production data query result to the client so as to display the production data query result on a production data access component in the client.
Optionally, the step of accessing a preset production database based on the query statement to obtain a production data query result includes:
searching each target sub-production database which can be accessed by a target user in the production database based on the user information carried by the query statement, wherein the production database consists of a plurality of sub-production databases;
accessing each target sub-production database based on the query statement to obtain a plurality of sub-query results;
and obtaining the production data query result by summarizing the sub-query results.
Optionally, the step of sending the production data query result to the client includes:
And sending the production data query result to a server side so that the server side can encrypt the production data query result, and sending the encrypted production data query result to the client side.
In order to achieve the above object, the present application provides a method for accessing production data, which is applied to a server, and the method for accessing production data includes:
receiving a query statement sent by a client;
judging whether the target user has access rights or not according to the user information carried by the query statement;
if the target user is judged to have the access right, the query statement is sent to a search engine end so that the search engine end can access a preset production database based on the query statement to obtain a production data query result;
receiving a production data query result sent by the search engine end, and encrypting the production data query result;
and sending the encrypted production data query result to the client so as to display the encrypted production data query result on a production data access component in the client.
The present application also provides a production data access system, comprising:
The client is used for responding to the production data access instruction and acquiring a query statement input by a target user; the query statement is sent to a search engine end through a production data access component carried by the client end so that the search engine end can access a preset production database based on the query statement to obtain a production data query result; receiving a production data query result sent by the search engine end, and displaying the production data query result on the production data access component;
the search engine end is used for receiving the query statement sent by the client; accessing a preset production database based on the query statement to obtain a production data query result; sending the production data query result to the client to display the production data query result on a production data access component in the client;
the server side is used for receiving the query statement sent by the client side; judging whether the target user has access rights or not according to the user information carried by the query statement; if the target user is judged to have the access right, the query statement is sent to a search engine end so that the search engine end can access a preset production database based on the query statement to obtain a production data query result; receiving a production data query result sent by the search engine end, and encrypting the production data query result; and sending the encrypted production data query result to the client so as to display the encrypted production data query result on a production data access component in the client.
The application also provides an electronic device, which is an entity device, and includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the production data access method as described above.
The present application also provides a readable storage medium that is a computer readable storage medium having stored thereon a program that implements a production data access method, the program that implements the production data access method being executed by a processor to implement the steps of the production data access method as described above.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of a method of accessing production data as described above.
The application provides a production data access method, which comprises the steps of firstly receiving and responding to a production data access instruction at a client to acquire a query statement input by a target user, then sending the query statement to a search engine through a production data access component carried by the client, accessing a preset production database by the search engine based on the query statement to obtain a production data query result, then sending the production data query result to the client, and receiving the production data query result by the client and displaying the production data query result on the production data access component, so that the process of accessing production data can be completed.
According to the method and the device, the production data access component is carried on the client, when a user accesses production data, the user does not need to log in the production environment again to check the production data, and the user can directly access the production data through the production data access component in the client, namely, the production data access component in the instant messaging tool can access the production data, so that the technical defect that the access efficiency of the production data is affected due to the fact that the user possibly inputs passwords for many times in the process of logging in the production environment is overcome, the technical problem that the access efficiency of the existing production data access mode is low is solved, and the access efficiency of the production data is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic flow chart of a first embodiment of a method for accessing production data according to the present application;
fig. 2 is a schematic diagram of an interaction scenario between a client and a search engine according to an embodiment of the present application;
fig. 3 is a schematic diagram of an interaction scenario among a client, a server and a search engine according to a first embodiment of the present application;
FIG. 4 is a schematic flow chart of a second embodiment of a method for accessing production data according to the present application;
FIG. 5 is a schematic flow chart of a third embodiment of a method for accessing production data according to the present application;
FIG. 6 is a schematic diagram of an application flow of a production data access system according to an embodiment of the present application;
fig. 7 is a schematic device structure diagram of a hardware operating environment related to a production data access method in an embodiment of the present application.
The implementation, functional features and advantages of the present application will be further described with reference to the accompanying drawings in conjunction with the embodiments.
Detailed Description
In order to make the above objects, features and advantages of the present invention more comprehensible, the following description of the embodiments accompanied with the accompanying drawings will be given in detail. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
With the increasing frequency of use of instant messaging tools (such as enterprise WeChat, nail, etc.) in daily work, many enterprises have gradually formed an on-line office environment on the instant messaging tools.
The production data of enterprises belong to sensitive data, so that to ensure the security of the production data, the production environment for recording the production data is usually isolated from the on-line office environment, and therefore, if a user needs to access the production data, the user needs to log into the production environment to check the production data, and the user may need to input a password for multiple times in the process of logging into the production environment, which affects the access efficiency of the production data, so that the access efficiency of the existing production data access mode is low.
Based on this, the present application proposes a production data access method of the first embodiment, referring to fig. 1, the production data access method being applied to a client on which a production data access component is mounted, the production data access method including:
step S10, responding to a production data access instruction, and acquiring a query statement input by a target user;
it should be noted that, the client is an on-line office environment of the target user, that is, an instant messaging tool used by the target user and used for on-line office, the production data access component is used for implementing an access function of production data at the client, the production data access component may be a public service account number applied by the enterprise in the instant messaging tool alone or a function plug-in unit independently developed and set by the enterprise according to its own requirement, which is not limited in this embodiment, the production data access instruction is used for indicating that the target user needs to access the production data, the production data refers to related data under completed work items in the enterprise, and related data under the ongoing work items, that is, related data under each work item in the enterprise, for example, the production data may be a topic table used for recording the work items completed by the enterprise in a certain time period and staff completing the work items, the query statement is used for characterizing text information input into the production data access component by the target user, when acquiring a query statement input by the target user, a query statement input into a query box of the target user may be acquired in real time, or a query statement input into the query box of the target user may be detected in the query box, a query box may be acquired, and a query may be performed in a query box may be performed after the query is performed as a query box is identified, and a query is not identified.
It will be appreciated that when the production data access component is a public service account, the enterprise may have functionality in the public service account other than access to the production data, and thus the user needs to indicate a specific data source and queried data in the input query statement when the user needs to access the production data, for example, by entering "@ search engine user topic table" to indicate that the user topic table needs to be queried from the data source at the search engine end.
Step S20, the query statement is sent to a search engine end through the production data access component so that the search engine end can access a preset production database based on the query statement to obtain a production data query result;
it should be noted that, the production data query result may include production data queried by the target user, whether the target user has access rights, whether production data required to be accessed by the target user exists in the production database, etc., it may be understood that if the target user has access rights and production data required to be accessed by the target user exists in the production database, the production data queried by the target user of the client will be returned, if the target user does not have access rights, a text prompt for indicating that the target user does not have access rights will be returned, and if the production data required to be accessed by the target user does not exist in the production database, a text prompt for indicating that there is no production data required to be accessed by the target user will be returned.
Step S30, receiving the production data query result sent by the search engine end, and displaying the production data query result on the production data access component.
It can be understood that after the client receives the production data query result sent by the search engine, the production data query result is displayed on the production data access component of the client, so that the client can check the access result conveniently.
The embodiment of the application provides a production data access method, which comprises the steps of firstly receiving and responding to a production data access instruction at a client to acquire a query statement input by a target user, then sending the query statement to a search engine end through a production data access component carried by the client, accessing a preset production database by the search engine end based on the query statement to obtain a production data query result, then sending the production data query result to the client, and receiving the production data query result by the client and displaying the production data query result on the production data access component, so that the access process of production data can be completed. According to the method and the device for accessing the production data, the production data access component is carried on the client, so that a user does not need to log in the production environment to check the production data when accessing the production data, and the production data access component in the client can be directly used for completing the access of the production data, namely, the production data access component in the instant messaging tool, so that the technical defect that the access efficiency of the production data is affected due to the fact that the conventional user possibly inputs passwords for many times in the process of logging in the production environment is overcome, the technical problem that the access efficiency of the conventional production data access mode is low is solved, and the access efficiency of the production data is improved.
In one possible implementation manner, the step of sending, by the production data access component, the query statement to a search engine side includes:
step S21, the query statement is sent to a server through the production data access component, so that the server judges whether the target user has access rights according to user information carried by the query statement, and if the target user has access rights, the query statement is sent to a search engine.
It should be noted that, the user information refers to related user attributes capable of characterizing uniqueness of a user, and the user information may include a user name, a user ID, and the like.
It can be understood that, in order to ensure the access security of the production data, a server may be interposed between the client and the search engine, so that when the target user needs to access the production data, the query statement input by the target user is sent to the server, so that the server can determine whether the target user has access rights according to the user information carried by the received query statement, and if it is determined that the target user has access rights, the query statement is sent to the search engine to realize the access of the production data at the search engine.
As an example, the step of determining whether the target user has access rights according to the user information carried by the query statement includes: judging whether user information carried by the query statement exists in a preset authority user configuration table, wherein the authority user configuration table records the user information of all users with access authority, if the user information carried by the query statement exists in the preset authority user configuration table, judging that the target user has the access authority, and if the user information carried by the query statement does not exist in the preset authority user configuration table, judging that the target user does not have the access authority.
As an example, the user information includes a user name or a user ID, and the step of determining whether the target user has access rights according to the user information carried by the query statement includes: judging whether the user name or the user ID carried by the query statement exists in a preset authority user configuration table, if the user name or the user ID carried by the query statement exists in the preset authority user configuration table, judging that the target user has access authority, and if the user name or the user ID carried by the query statement does not exist in the preset authority user configuration table, judging that the target user does not have access authority. As another example, the user information includes a user name and a user ID, and the step of determining whether the target user has access rights according to the user information carried by the query statement includes: judging whether the user name and the user ID carried by the query sentence exist in a preset authority user configuration table, if the user name and the user ID carried by the query sentence exist in the preset authority user configuration table, judging that the target user has access authority, and if the user name and the user ID carried by the query sentence do not exist in the preset authority user configuration table, judging that the target user does not have access authority, wherein the mode for judging whether the target user has access authority is not limited specifically.
In one possible implementation manner, the step of receiving the production data query result sent by the search engine end includes:
step S31, receiving the production data query result sent by the search engine end and subjected to encryption processing by the server end.
It can be understood that, in order to further ensure the access security of the production data, a server may be interposed between the client and the search engine, so that before the queried production data query result is sent to the client, the production data query result may be sent to the server, so that the server encrypts the production data query result, and then sends the encrypted production data query result to the client, thereby avoiding the risk that the transmitted production data query result is leaked due to the attack of the system in the process of transmitting the production data query result, and improving the access security of the production data.
In one possible implementation manner, before the step of obtaining the query statement input by the target user in response to the production data access instruction, the production data access method further includes:
step S01, receiving a communication connection request sent by the search engine end;
Step S02, if the first communication identifier carried by the communication connection request is matched with the second communication identifier stored in the client, executing the step of responding to the production data access instruction and acquiring the query statement input by the target user.
It should be noted that, the first communication identifier refers to identification information that is carried by the search engine end and used for verifying whether the communication connection is legal when the search engine end establishes a communication connection with other ends, and the second communication identifier refers to identification information that is stored in the client end and used for verifying whether the communication connection is legal, where the identification information may include a communication IP, a communication protocol number, and the embodiment is not limited specifically.
Additionally, it should be noted that the matching of the first communication identifier carried by the communication connection request with the second communication identifier stored in the client means that the identification information carried by the communication connection request for verifying whether the communication connection is legal corresponds to the identification information in the client for verifying whether the communication connection is legal one by one.
In this embodiment, after ensuring that the identification information for verifying whether the communication connection is legal, which is carried by the connection request sent by the search engine, corresponds to the identification information for verifying whether the communication connection is legal in the client, the communication connection between the client and the search engine is established to activate the function of accessing the production data at the client, so that when communication interaction is performed between the client and the search engine, the situation that communication interaction is interrupted between the client and the search engine due to communication interference caused by illegal communication is avoided, and stability when the client accesses the production data is ensured.
For exemplary purposes, to facilitate understanding of the technical concepts or principles of the present application, please refer to fig. 2, when the access of production data is implemented only by the client and the search engine, the client first sends a query sentence input by the target client to the search engine. Then the search engine side accesses a preset production database based on the query statement to obtain a production data query result, and returns the production data query result to the client side, so that the target client can access the production data.
Referring to fig. 3, when the access of the production data is implemented through the client, the server and the search engine, the client first sends a query sentence input by the target client to the server. And the server judges whether the target user has access rights according to the user information carried by the received query statement, if the target user has access rights, the query statement is sent to the search engine end, the search engine end accesses a preset production database based on the query statement to obtain a production data query result, the production data query result is returned to the server, the server encrypts the production data query result, and the encrypted production data query result is returned to the client, so that the target client can access the production data.
It should be noted that the foregoing examples are only for understanding the present application, and do not constitute a limitation on the method of accessing production data of the present application, and that many forms of simple transformation based on this technical concept are within the scope of protection of the present application.
Example two
Referring to fig. 4, the method for accessing production data according to the second embodiment is applied to a search engine, and includes:
step A10, receiving a query statement sent by a client;
step A20, accessing a preset production database based on the query statement to obtain a production data query result;
when a preset production database is accessed based on a query statement to obtain a production data query result, a keyword in the query statement can be extracted firstly, then the keyword is used as an index to search production data in the preset production database, if the keyword is used as the index, the production data can be searched in the preset production database, the production data is used as the production data query result, if the keyword is used as the index, the production data cannot be searched in the preset production database, and the production data query result is that the production data required to be accessed by a target user does not exist.
And step A30, sending the production data query result to the client so as to display the production data query result on a production data access component in the client.
After receiving a query statement sent by a client, a search engine accesses a preset production database based on the query statement to obtain a production data query result, and then sends the production data query result to the client so as to display the production data query result on a production data access component in the client. Therefore, the embodiment of the application enables the user to directly finish the access of the production data on the client, namely on the instant messaging tool, by opening the communication interaction between the client and the search engine, namely opening the production environment and the on-line office environment, so that the user does not need to log in the production environment to check the production data when accessing the production data, the technical defect that the access efficiency of the production data is affected due to the fact that the conventional user possibly inputs passwords for many times in the process of logging in the production environment is overcome, the technical problem that the access efficiency of the conventional production data access mode is low is solved, and the access efficiency of the production data is improved.
In one possible implementation manner, the step of accessing a preset production database based on the query statement to obtain a production data query result includes:
step A21, searching all target sub-production databases which can be accessed by target users in the production databases based on the user information carried by the query statement, wherein the production databases consist of a plurality of sub-production databases;
it should be noted that the production database is composed of a plurality of sub-production databases, and each sub-production database defines which users have access rights.
Step A22, accessing each target sub-production database based on the query statement to obtain a plurality of sub-query results;
when accessing each target sub-production database based on the query statement to obtain a plurality of sub-query results, the method can firstly extract the keywords in the query statement, then search the production data in each target sub-production database by taking the keywords as indexes, if the production data can be searched in the target sub-production database by taking the keywords as indexes, take the production data as the sub-query results, and if the production data cannot be searched in the target sub-production database by taking the keywords as indexes, the sub-query results are the production data which are not required to be accessed by the target user.
And step A23, obtaining the production data query result by summarizing the sub-query results.
When summarizing the sub-query results, if the sub-query results are all production data which are not required to be accessed by the target user, obtaining the production data query result that the production data are not required to be accessed by the target user, and if the sub-query results are not all the production data which are not required to be accessed by the target user, summarizing and combining the searched production data to obtain the production data query result. For example, it may be assumed that the sub-query result a is "production data a", the sub-query result B is "production data B", and the sub-query result C is "production data that the target user needs to access is not present", and then the sub-query result a, the sub-query result B, and the sub-query result C are summarized, so that the production data query result is "production data a and production data B".
According to the embodiment of the application, the production database is limited to be composed of a plurality of sub-production databases, and each sub-production database can be limited to be accessed by which users, so that the users capable of accessing the production data are further limited, namely, on the basis of the users capable of accessing the production data, which production data can be specifically accessed by each user is limited, namely, the specified users are provided with the specified production data access authority, and the access compliance of the production data can be ensured.
In one possible implementation manner, the step of sending the production data query result to the client includes:
and step A31, the production data query result is sent to a server side, so that the server side encrypts the production data query result, and the encrypted production data query result is sent to the client side.
It can be understood that, in order to ensure the access security of the production data, a server may be interposed between the client and the search engine, so that before the production data query result obtained by query is sent to the client, the production data query result may be sent to the server, so that the server encrypts the production data query result, and then sends the encrypted production data query result to the client, thereby avoiding the risk that the transmitted transmission production data query result is leaked due to the attack of the system in the process of transmitting the production data query result, and improving the access security of the production data.
Example III
Referring to fig. 5, the method for accessing production data in the second embodiment is applied to a server, and the method for accessing production data includes:
Step B10, receiving a query statement sent by a client;
step B20, judging whether the target user has access rights or not according to the user information carried by the query statement;
step B30, if the target user is judged to have access rights, sending the query statement to a search engine end so that the search engine end can access a preset production database based on the query statement to obtain a production data query result;
step B40, receiving a production data query result sent by the search engine end, and encrypting the production data query result;
it should be noted that, when the encryption processing is performed on the production data query result, the encryption processing may be performed on the production data query result by using an encryption key, or the encryption processing may be performed on the production data query result by converting the production data query result into a picture form and watermarking the picture form.
And step B50, sending the encrypted production data query result to the client so as to display the encrypted production data query result on a production data access component in the client.
The embodiment of the application provides a production data access method, firstly, a query statement sent by a client is received at a server, then the server judges whether a target user has access rights according to user information carried by the received query statement, if the target user is judged to have the access rights, the query statement is sent to a search engine end, the search engine end accesses a preset production database based on the query statement to obtain a production data query result, then the production data query result is sent to the server, the server performs encryption processing on the received production data query result, and then sends the encrypted production data query result to the client, so that the encrypted production data query result is displayed on a production data access component in the client.
Example IV
The embodiment of the invention also provides a production data access system, please refer to fig. 6, fig. 6 is an application flow diagram of the production data access system, the production data access system includes:
the client is used for responding to the production data access instruction and acquiring a query statement input by a target user; the query statement is sent to a search engine end through a production data access component carried by the client end so that the search engine end can access a preset production database based on the query statement to obtain a production data query result; receiving a production data query result sent by the search engine end, and displaying the production data query result on the production data access component;
the search engine end is used for receiving the query statement sent by the client; accessing a preset production database based on the query statement to obtain a production data query result; sending the production data query result to the client to display the production data query result on a production data access component in the client;
the server side is used for receiving the query statement sent by the client side; judging whether the target user has access rights or not according to the user information carried by the query statement; if the target user is judged to have the access right, the query statement is sent to a search engine end so that the search engine end can access a preset production database based on the query statement to obtain a production data query result; receiving a production data query result sent by the search engine end, and encrypting the production data query result; and sending the encrypted production data query result to the client so as to display the encrypted production data query result on a production data access component in the client.
Optionally, the client is further configured to:
and sending the query statement to a server through the production data access component so that the server can judge whether the target user has access rights according to the user information carried by the query statement, and if so, sending the query statement to a search engine.
Optionally, the client is further configured to:
and receiving the production data query result which is sent by the search engine end and is encrypted by the server end.
Optionally, the client is further configured to:
receiving a communication connection request sent by the search engine end;
and if the first communication identifier carried by the communication connection request is matched with the second communication identifier stored in the client, executing the step of responding to the production data access instruction and acquiring the query statement input by the target user.
Optionally, the search engine side is further configured to:
searching each target sub-production database which can be accessed by a target user in the production database based on the user information carried by the query statement, wherein the production database consists of a plurality of sub-production databases;
Accessing each target sub-production database based on the query statement to obtain a plurality of sub-query results;
and obtaining the production data query result by summarizing the sub-query results.
Optionally, the search engine side is further configured to:
and sending the production data query result to a server side so that the server side can encrypt the production data query result, and sending the encrypted production data query result to the client side.
The production data access system provided by the invention can solve the technical problem of low access efficiency of the existing production data access mode by adopting the production data access method in the embodiment. Compared with the prior art, the beneficial effects of the production data access system provided by the embodiment of the invention are the same as those of the production data access method provided by the embodiment, and other technical features in the production data access system are the same as those disclosed by the method of the embodiment, so that details are not repeated.
Example five
The embodiment of the invention provides electronic equipment, which comprises: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method for accessing production data according to the first embodiment.
Referring now to fig. 7, a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure is shown. The electronic devices in embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (Personal Digital Assistant: personal digital assistants), PADs (Portable Application Description: tablet computers), PMPs (Portable Media Player: portable multimedia players), vehicle terminals (e.g., car navigation terminals), and the like, as well as stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 7 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 7, the electronic apparatus may include a processing device 1001 (e.g., a central processing unit, a graphics processor, or the like) that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access Memory (RAM: random Access Memory) 1004. In the RAM1004, various programs and data required for the operation of the electronic device are also stored. The processing device 1001, the ROM1002, and the RAM1004 are connected to each other by a bus 1005. An input/output (I/O) interface 1006 is also connected to the bus. In general, the following systems may be connected to the I/O interface 1006: input devices 1007 including, for example, a touch screen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, and the like; an output device 1008 including, for example, a liquid crystal display (LCD: liquid Crystal Display), a speaker, a vibrator, and the like; storage device 1003 including, for example, a magnetic tape, a hard disk, and the like; and communication means 1009. The communication means 1009 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While electronic devices having various systems are shown in the figures, it should be understood that not all of the illustrated systems are required to be implemented or provided. More or fewer systems may alternatively be implemented or provided.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network through a communication device, or installed from the storage device 1003, or installed from the ROM 1002. The above-described functions defined in the method of the embodiment of the present disclosure are performed when the computer program is executed by the processing device 1001.
The electronic equipment provided by the invention adopts the production data access method in the embodiment, and can solve the technical problem of low access efficiency of the existing production data access mode. Compared with the prior art, the electronic device provided by the embodiment of the invention has the same beneficial effects as the production data access method provided by the embodiment, and other technical features in the electronic device are the same as the features disclosed by the method of the previous embodiment, and are not described in detail herein.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the description of the above embodiments, particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Example six
An embodiment of the present invention provides a computer-readable storage medium having computer-readable program instructions stored thereon for performing the production data access method of the first embodiment described above.
The computer readable storage medium according to the embodiments of the present invention may be, for example, a usb disk, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access Memory (RAM: random Access Memory), a Read-Only Memory (ROM: read Only Memory), an erasable programmable Read-Only Memory (EPROM: erasable Programmable Read Only Memory or flash Memory), an optical fiber, a portable compact disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this embodiment, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: wire, fiber optic cable, RF (Radio Frequency), and the like, or any suitable combination of the foregoing.
The above-described computer-readable storage medium may be contained in an electronic device; or may exist alone without being assembled into an electronic device.
The computer-readable storage medium carries one or more programs that, when executed by an electronic device, cause the electronic device to: responding to the production data access instruction, and acquiring a query statement input by a target user; the query statement is sent to a search engine end through the production data access component so that the search engine end can access a preset production database based on the query statement to obtain a production data query result; and receiving the production data query result sent by the search engine end, and displaying the production data query result on the production data access component.
Or receiving a query statement sent by a client; accessing a preset production database based on the query statement to obtain a production data query result; and sending the production data query result to the client so as to display the production data query result on a production data access component in the client.
Or receiving a query statement sent by a client; judging whether the target user has access rights or not according to the user information carried by the query statement; if the target user is judged to have the access right, the query statement is sent to a search engine end so that the search engine end can access a preset production database based on the query statement to obtain a production data query result; receiving a production data query result sent by the search engine end, and encrypting the production data query result; and sending the encrypted production data query result to the client so as to display the encrypted production data query result on a production data access component in the client.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN: local Area Network) or a wide area network (WAN: wide Area Network), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented in software or hardware. Wherein the name of the module does not constitute a limitation of the unit itself in some cases.
The readable storage medium provided by the invention is a computer readable storage medium, and the computer readable storage medium stores computer readable program instructions for executing the production data access method, so that the technical problem of low access efficiency of the existing production data access mode can be solved. Compared with the prior art, the beneficial effects of the computer readable storage medium provided by the embodiment of the present invention are the same as those of the production data access method provided by the first embodiment or the second embodiment, and are not described herein.
Example seven
The embodiments of the present invention also provide a computer program product comprising a computer program which, when executed by a processor, implements the steps of a method for accessing production data as described above.
The computer program product provided by the application can solve the technical problem of low access efficiency of the existing production data access mode. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the present invention are the same as those of the production data access method provided by the first embodiment or the second embodiment, and are not described herein.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the scope of the claims, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the claims.

Claims (10)

1. A production data access method applied to a client on which a production data access component is mounted, the production data access method comprising:
responding to the production data access instruction, and acquiring a query statement input by a target user;
the query statement is sent to a search engine end through the production data access component so that the search engine end can access a preset production database based on the query statement to obtain a production data query result;
and receiving the production data query result sent by the search engine end, and displaying the production data query result on the production data access component.
2. The method for accessing production data according to claim 1, wherein the step of sending the query statement to a search engine side through the production data access component comprises:
And sending the query statement to a server through the production data access component so that the server can judge whether the target user has access rights according to the user information carried by the query statement, and if so, sending the query statement to a search engine.
3. The method for accessing production data according to claim 1, wherein the step of receiving the query result of the production data sent by the search engine side comprises:
and receiving the production data query result which is sent by the search engine end and is encrypted by the server end.
4. A production data access method as claimed in any one of claims 1 to 3, wherein, prior to the step of acquiring the query statement input by the target user in response to the production data access instruction, the production data access method further comprises:
receiving a communication connection request sent by the search engine end;
and if the first communication identifier carried by the communication connection request is matched with the second communication identifier stored in the client, executing the step of responding to the production data access instruction and acquiring the query statement input by the target user.
5. The production data access method is characterized by being applied to a search engine end, and comprises the following steps:
receiving a query statement sent by a client;
accessing a preset production database based on the query statement to obtain a production data query result;
and sending the production data query result to the client so as to display the production data query result on a production data access component in the client.
6. The method for accessing production data according to claim 5, wherein the step of accessing a preset production database based on the query statement to obtain a production data query result comprises:
searching each target sub-production database which can be accessed by a target user in the production database based on the user information carried by the query statement, wherein the production database consists of a plurality of sub-production databases;
accessing each target sub-production database based on the query statement to obtain a plurality of sub-query results;
and obtaining the production data query result by summarizing the sub-query results.
7. The method of claim 5, wherein the step of sending the production data query result to the client comprises:
And sending the production data query result to a server side so that the server side can encrypt the production data query result, and sending the encrypted production data query result to the client side.
8. The production data access method is characterized by being applied to a server, and comprises the following steps:
receiving a query statement sent by a client;
judging whether the target user has access rights or not according to the user information carried by the query statement;
if the target user is judged to have the access right, the query statement is sent to a search engine end so that the search engine end can access a preset production database based on the query statement to obtain a production data query result;
receiving a production data query result sent by the search engine end, and encrypting the production data query result;
and sending the encrypted production data query result to the client so as to display the encrypted production data query result on a production data access component in the client.
9. An electronic device, the electronic device comprising:
At least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the production data access method of any one of claims 1 to 8.
10. A readable storage medium, characterized in that the readable storage medium is a computer readable storage medium having stored thereon a program for realizing a production data access method, the program for realizing the production data access method being executed by a processor to realize the steps of the production data access method according to any one of claims 1 to 8.
CN202311615635.8A 2023-11-28 2023-11-28 Production data access method, electronic device and readable storage medium Pending CN117640563A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311615635.8A CN117640563A (en) 2023-11-28 2023-11-28 Production data access method, electronic device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311615635.8A CN117640563A (en) 2023-11-28 2023-11-28 Production data access method, electronic device and readable storage medium

Publications (1)

Publication Number Publication Date
CN117640563A true CN117640563A (en) 2024-03-01

Family

ID=90028202

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311615635.8A Pending CN117640563A (en) 2023-11-28 2023-11-28 Production data access method, electronic device and readable storage medium

Country Status (1)

Country Link
CN (1) CN117640563A (en)

Similar Documents

Publication Publication Date Title
US11520912B2 (en) Methods, media, apparatuses and computing devices of user data authorization based on blockchain
US9495397B2 (en) Sensor associated data of multiple devices based computing
WO2018188383A1 (en) Data processing method and device, server and storage medium
US11509709B1 (en) Providing access to encrypted insights using anonymous insight records
CN110084053A (en) Data desensitization method, device, electronic equipment and storage medium
CN110704476A (en) Data processing method, device, equipment and storage medium
WO2022111290A1 (en) Display method and apparatus, and electronic device
CN112818371A (en) Resource access control method, system, device, equipment and medium
US9510182B2 (en) User onboarding for newly enrolled devices
WO2021133855A1 (en) Establishing decentralized identifiers for algorithms, data schemas, data sets, and algorithm execution requests
CN116956308A (en) Database processing method, device, equipment and medium
CN116881896A (en) Method and device for generating device fingerprint library
WO2023001281A1 (en) Table data processing method and apparatus, terminal, and storage medium
WO2022247226A1 (en) Applet monitoring method and device
CN117640563A (en) Production data access method, electronic device and readable storage medium
CN111752964A (en) Data processing method and device based on data interface
CN114979048A (en) Identity verification method, system, electronic device and medium based on instant messaging
CN114265759A (en) Tracing method and system after data information leakage and electronic equipment
CN114386113A (en) Read-write control method, device and equipment for mobile storage equipment and storage medium
CN112416875A (en) Log management method and device, computer equipment and storage medium
CN113128200B (en) Method and device for processing information
CN116132125B (en) Cloud service data storage method, device, equipment and storage medium
US8886670B2 (en) Securely accessing remote systems
CN117216753B (en) Password data analysis method and device, electronic equipment and readable storage medium
CN115248749A (en) Game data processing method and device, electronic equipment and readable storage medium

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