A method and system for using internal and external network puncture based on QR code
Through the internal and external network puncture method based on QR code, the QR code is generated and verified by dynamic rules, the problem of data interaction delay in the internal and external networks is solved, and efficient data synchronization and interaction are achieved.
Patent Information
- Application Number
- CN202411266878.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-09-11
AI Technical Summary
In the prior art, the data interaction delay of the internal and external networks is long, resulting in low data interaction efficiency, inability to achieve data synchronization, and unable to meet actual needs.
Using the internal and external network puncture method based on QR code, the internal network system generates the QR code of encrypted code and effective usage time, and puts it into the queue according to dynamic rules, and transmits it to the external network system through the data exchange platform. The external network terminal obtains and verifies it. Then, data exchange is carried out to realize direct data interaction between the internal and external networks, and avoid multiple calls to the data exchange platform.
It effectively reduces the delay of data exchange in the internal and external networks, improves data synchronization, and improves data interaction efficiency.
Smart Images

Figure CN118780305B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information security technology, and in particular to a method and system for using internal and external network puncture based on a two-dimensional code. Background Art
[0002] In order to achieve data communication between the intranet and the extranet, the existing technology is to achieve it by setting up a data interaction platform, that is, to establish a data exchange platform between the physical network of the intranet and the physical network of the extranet, so that the internal and external physical networks cannot call and transmit in real time through the interface, thus achieving data security in the intranet. However, there is a certain delay when the data exchange platform is exchanging data. Each one-way data interaction takes about 10 seconds, and if it is called for acquisition, it takes about 20 seconds. The above existing methods result in low efficiency of data interaction between the internal and external networks, long delays, and difficulty in data synchronization, which cannot meet actual needs. Summary of the invention
[0003] In this regard, the present invention provides a method, system, electronic device, computer storage medium and computer program product for internal and external network puncture based on QR code to solve the above technical problems.
[0004] The present invention discloses a method for using intranet and extranet puncture based on QR codes, the method comprising the following steps: an intranet system generates a QR code according to an encryption code and an effective use time, puts the generated QR code into a queue to form a QR code queue according to a dynamic rule, and transmits the QR code queue to a server on an extranet system through a data exchange platform; an extranet terminal obtains an unused QR code from the QR code queue stored in the server; a scanning device in the intranet system scans the unused QR code displayed on the extranet terminal, and verifies the encryption code and the effective use time, after the verification is passed, the intranet system exchanges data with the extranet terminal; and the intranet system writes off the unused QR code and marks its use status as used.
[0005] In some embodiments, the generated QR codes are placed into a queue according to dynamic rules to form a QR code queue, including: the intranet system obtains the historical access data of the stored external network system, and obtains the intranet access rules of the external network terminal based on the analysis of the historical access data; the queue length is determined according to the intranet access rules, and a corresponding number of QR codes are generated according to the queue length; the generated QR codes are placed into a queue to form the QR code queue.
[0006] In some embodiments, the intranet access pattern of the external network terminal is obtained based on the analysis of the historical access data, including: obtaining statistics of the historical access data for each time period according to preset time segmentation rules, and fitting each historical access volume into a historical access curve; obtaining a historical access trend based on the analysis of the historical access volume of the time period of a preset number of time periods at the end of the historical access curve, and using the historical access curve and the historical access trend as the intranet access pattern.
[0007] In some embodiments, the queue length is determined according to the intranet access rule, and a corresponding number of QR codes are generated according to the queue length, including: inputting the historical access curve into an access volume prediction model based on LSTM, the access volume prediction model outputs a predicted predicted access volume, and a preliminary queue length is determined according to the predicted access volume; a correction coefficient is determined according to the historical access trend, and the preliminary queue length is corrected using the correction coefficient to obtain a target queue length; wherein the correction coefficient is greater than 1.
[0008] In some embodiments, determining the correction factor according to the historical access trend includes: ; In the above formula, is the correction factor; is a trend characterization value corresponding to the historical access trend, if the historical access trend is an upward trend, the trend characterization value is a value greater than 1, if the historical access trend is a downward trend, the trend characterization value is a value less than 1; is the trend degree value corresponding to the historical access trend, if the historical access trend is an upward trend, the trend degree value is a value greater than 0, and the trend degree value is positively correlated with the obvious degree of the upward trend; if the historical access trend is a downward trend, the trend degree value is a value less than 0, and the trend degree value is negatively correlated with the obvious degree of the downward trend; is the overall trend characterization value corresponding to the historical access curve, if the overall access trend of the historical access curve is an upward trend, the overall trend characterization value is a value greater than 1, if the overall access trend is a downward trend, the overall trend characterization value is a value less than 1; is the overall trend degree value corresponding to the historical access curve, if the overall access trend is an upward trend, the overall trend degree value is a value greater than 0, and the overall trend degree value is positively correlated with the degree of obviousness of the upward trend; if the overall access trend is a downward trend, the overall trend degree value is a value less than 0, and the overall trend degree value is negatively correlated with the degree of obviousness of the downward trend; , , and is the corresponding normalization function.
[0009] In some embodiments, the method further includes: the intranet system obtains the QR code usage of the QR code queue stored on the server through the data exchange platform, and decides the timing of generating a new QR code queue based on the QR code usage.
[0010] The present invention also discloses an intranet and extranet puncture use system based on a QR code, the system comprising an intranet system, a data exchange platform, an extranet system, a server, and an extranet terminal, the server being arranged in the extranet system, and characterized in that: the intranet system is used to generate a QR code according to an encryption code and an effective use time, and put the generated QR code into a queue to form a QR code queue according to a dynamic rule, and transmit the QR code queue to the server on the extranet system through the data exchange platform; the extranet terminal is used to obtain an unused QR code from the QR code queue stored in the server; the intranet system is also used to scan the unused QR code displayed on the extranet terminal through a scanning device in the intranet system, and verify the encryption code and the effective use time, and after the verification is passed, the intranet system exchanges data with the extranet terminal; and the intranet system cancels the unused QR code and marks its use status as used.
[0011] The present invention also discloses an electronic device, comprising: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, wherein the processor executes the computer program to implement any of the above methods.
[0012] The present invention also discloses a computer storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement any of the above methods.
[0013] The present invention also discloses a computer program product, wherein the computer program product includes computer program codes, and when the computer program codes are executed by a processor of an electronic device, any of the above methods is implemented.
[0014] In the above scheme of the present invention, the intranet system generates the data to be exchanged as a QR code queue, and transmits it to the server in the external network system through the data exchange platform. The exchange of internal and external network data is realized by the mutual interaction between the external network terminal and the intranet system. In this process, there is no need for the external network terminal or server to make multiple calls to the data exchange platform, thereby effectively reducing the delay of the internal and external network data exchange and improving the synchronization of the internal and external network data. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0016] Figure 1 It is a flow chart of a method for using internal and external network puncture based on a QR code disclosed in an embodiment of the present invention.
[0017] Figure 2 It is a structural diagram of the pageview prediction model disclosed in the embodiment of the present invention.
[0018] Figure 3 It is a structural schematic diagram of a QR code-based internal and external network puncture use system disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0019] The following is a description of the implementation of the present application by specific specific embodiments. People familiar with the technology can easily understand other advantages and effects of the present application from the contents disclosed in this specification. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0020] In addition, the technical features involved in the different embodiments of the present application described below can be combined with each other as long as they do not conflict with each other.
[0021] like Figure 1 As shown, an embodiment of the present invention discloses a method for using intranet and extranet puncture based on a QR code, the method comprising the following steps: the intranet system generates a QR code according to an encryption code and an effective use time, puts the generated QR code into a queue according to a dynamic rule to form a QR code queue, and transmits the QR code queue to a server on an extranet system through a data exchange platform; the extranet terminal obtains an unused QR code from the QR code queue stored on the server; a scanning device in the intranet system scans the unused QR code displayed on the extranet terminal, and verifies the encryption code and the effective use time, and after the verification is passed, the intranet system exchanges data with the extranet terminal; and the intranet system cancels the unused QR code and marks its use status as used.
[0022] Compared with the method mentioned in the background technology of realizing data transmission by calling and acquiring the data exchange platform, the present invention sets the intranet system to generate the encryption code and the effective use time into the corresponding QR code in a timely manner, puts the batch-generated QR codes (such as 1000 or 2000) into the queue according to the dynamic rules to form a QR code queue, and then transmits the QR code queue to the server of the external network system through the data exchange platform. The external network terminal can obtain the unused QR code from the above-mentioned QR code queue stored in the server. After the external network terminal enters the intranet system, it can display the unused QR code it has obtained to the intranet system. The scanning device in the intranet system scans the unused QR code displayed on the external network terminal, decrypts it to obtain the corresponding encryption code and effective use time, verifies it, and after the verification passes, the intranet system and the external network terminal directly exchange data. At the same time, the intranet system also cancels the QR code and marks its usage status as used. The cancellation operation can be performed by the intranet system within the intranet, and / or the intranet system sends a cancellation instruction to the server in the external network system through the data exchange platform, and the server cancels the corresponding QR code in the QR code queue and marks its usage status as used.
[0023] In the above scheme of the present invention, the intranet system generates the data to be exchanged as a QR code queue, and transmits it to the server in the external network system through the data exchange platform. The exchange of internal and external network data is realized by the mutual interaction between the external network terminal and the intranet system. In this process, there is no need for the external network terminal or server to make multiple calls to the data exchange platform, thereby effectively reducing the delay of the internal and external network data exchange and improving the synchronization of the internal and external network data.
[0024] In some embodiments, the generated QR codes are placed into a queue according to dynamic rules to form a QR code queue, including: the intranet system obtains the historical access data of the stored external network system, and obtains the intranet access rules of the external network terminal based on the analysis of the historical access data; the queue length is determined according to the intranet access rules, and a corresponding number of QR codes are generated according to the queue length; the generated QR codes are placed into a queue to form the QR code queue.
[0025] In this embodiment, the intranet system needs to determine a suitable QR code queue generation strategy, which includes the length of the QR code queue, that is, the number of QR codes output to the external network at a time. The goal of this generation strategy is to match the number of QR codes transmitted at a time with the intranet access requirements of the external network terminal. On the one hand, it is necessary to ensure that the number of QR codes transmitted to the external network is "sufficient", and on the other hand, it can also reduce the waste of more QR codes exceeding the effective use time due to too many QR codes transmitted to the external network.
[0026] Specifically, the intranet system stores historical access data of the external network system to the intranet system. Based on this, the intranet system can analyze the intranet access pattern of the external network terminal. The intranet access pattern reflects the historical pattern of the external network terminal's demand for data exchange with the intranet, which is mainly reflected in how many external network terminals need to exchange data with the intranet on different dates and time periods. Correspondingly, the optimal queue length can be determined based on this, that is, the number of QR codes transmitted to the external network at a single time.
[0027] In some embodiments, the intranet access pattern of the external network terminal is obtained based on the analysis of the historical access data, including: obtaining statistics of the historical access data for each time period according to preset time segmentation rules, and fitting each historical access volume into a historical access curve; obtaining a historical access trend based on the analysis of the historical access volume of the time period of a preset number of time periods at the end of the historical access curve, and using the historical access curve and the historical access trend as the intranet access pattern.
[0028] In this embodiment, a preset time segmentation rule is determined in advance, and the duration of each time period is determined according to the rule, for example, 1 hour, and then the historical access data is divided into multiple sub-data according to the determined time period. The historical access volume of the external network terminal accessing the internal network system in each sub-data is counted, that is, how many external network terminals have accessed the internal network system in this time period (including multiple visits by the same external network terminal), and the historical access volume calculated above is fitted into a historical access curve through data fitting technology. The historical access curve reflects the historical access law of the internal network system being accessed by the external network terminal as a whole. At the same time, the historical access trend is also analyzed based on the historical access volume of several time periods at the end (i.e., the end closest to the current moment) of the historical access curve. The historical access trend reflects the latest trend of the historical access law. The above historical access curve and the above historical access trend are used together as the said internal network access law, so as to determine the appropriate queue length later.
[0029] In some embodiments, the queue length is determined according to the intranet access rule, and a corresponding number of QR codes are generated according to the queue length, including: inputting the historical access curve into an access volume prediction model based on LSTM, the access volume prediction model outputs a predicted predicted access volume, and a preliminary queue length is determined according to the predicted access volume; a correction coefficient is determined according to the historical access trend, and the preliminary queue length is corrected using the correction coefficient to obtain a target queue length; wherein the correction coefficient is greater than 1.
[0030] In this embodiment, the above-mentioned historical access curve displays the historical access volume in the form of a time series, which characterizes the changes in the historical access volume over time. At the same time, LSTM (Long Short-Term Memory) is a special type of recurrent neural network (RNN), which can learn long-term dependencies in data. Accordingly, the present invention uses LSTM to construct an access volume prediction model, which can perform an in-depth analysis of the rules of the time dimension of the input historical access curve, so as to predict the predicted access volume for the current period or the next period, and the preliminary queue length can be determined accordingly. The preliminary queue length can be equal to the predicted access volume * adjustment coefficient (for example, 1.5).
[0031] At the same time, the visit volume prediction model is based on the above predicted visit volume obtained based on historical rules, and does not take into account the changes or abnormal fluctuations in recent visit trends. The predicted visit volume obtained is likely to deviate from the actual visit volume in the current period or the next period, which is likely to cause the QR code output to the external network to be "insufficient". Therefore, the present invention also determines a correction coefficient based on the historical visit trend, and uses the correction coefficient to correct the preliminary queue length, thereby obtaining a more appropriate target queue length.
[0032] like Figure 2 As shown in the figure, the visit volume prediction model includes an input layer, a prediction processing layer, and an output layer. The prediction processing layer includes a forget gate, an input gate, a unit state update, and an output gate. The specific functions are as follows: Forget gate: Use an activation function (such as sigmoid) to determine which information will be retained and which will be forgotten. The output of the forget gate is a value between 0 and 1, where 0 means completely discarded and 1 means completely retained.
[0033] Input gate: It consists of two parts: one is the update gate, which uses an activation function (such as sigmoid) to determine the magnitude of the update; the other is the candidate value, which uses an activation function (such as tanh) to generate a new candidate value vector, which will be added to the state.
[0034] Cell state update: The cell state is updated by discarding old information through the forget gate and adding new information from the input gate.
[0035] Output gate: Use an activation function (such as sigmoid) to decide which parts of the next hidden state will be output, and use the tanh function to process the unit state to generate the final output.
[0036] The training process of the visit volume prediction model will not be described in detail.
[0037] In some embodiments, determining the correction factor according to the historical access trend includes: ; In the above formula, is the correction factor; is a trend characterization value corresponding to the historical access trend, if the historical access trend is an upward trend, the trend characterization value is a value greater than 1, if the historical access trend is a downward trend, the trend characterization value is a value less than 1; is the trend degree value corresponding to the historical access trend, if the historical access trend is an upward trend, the trend degree value is a value greater than 0, and the trend degree value is positively correlated with the obvious degree of the upward trend; if the historical access trend is a downward trend, the trend degree value is a value less than 0, and the trend degree value is negatively correlated with the obvious degree of the downward trend; is the overall trend characterization value corresponding to the historical access curve, if the overall access trend of the historical access curve is an upward trend, the overall trend characterization value is a value greater than 1, if the overall access trend is a downward trend, the overall trend characterization value is a value less than 1; is the overall trend degree value corresponding to the historical access curve, if the overall access trend is an upward trend, the overall trend degree value is a value greater than 0, and the overall trend degree value is positively correlated with the degree of obviousness of the upward trend; if the overall access trend is a downward trend, the overall trend degree value is a value less than 0, and the overall trend degree value is negatively correlated with the degree of obviousness of the downward trend; , , and is the corresponding normalization function.
[0038] In this embodiment, the present invention sets the correction coefficient to a value greater than 1, that is, the preliminary queue length obtained above is appropriately lengthened by modifying the coefficient to cope with recent changes in access trends (mainly an upward trend) or abnormal fluctuations, so as to ensure that the number of QR codes output at a single time is "sufficient".
[0039] The above formula includes two aspects, namely, the upward / downward trend and degree of upward / downward trend of historical access trends, and the upward / downward trend and degree of upward / downward trend of the overall access trend of the historical access curve. Then, the normalized integrated values of the above two aspects (i.e., the numerator and denominator of the above formula) are compared, and the key part of the correction coefficient is obtained based on this, i.e. Specifically, when the integration value of the numerator is larger, it indicates that the deviation between the recent trend and the overall trend is larger, and the corresponding setting correction coefficient is larger; conversely, when the integration value of the denominator is larger, it indicates that the deviation between the recent trend and the overall trend is smaller, and the corresponding setting correction coefficient is smaller.
[0040] The degree of the upward / downward trend refers to the slope of the trend line, which is a slope obtained by analyzing the recent trend line and the overall trend line. Alternatively, the trend degree value can also be directly equivalent to the slope of the trend line.
[0041] In some embodiments, the method further includes: the intranet system obtains the QR code usage of the QR code queue stored on the server through the data exchange platform, and decides the timing of generating a new QR code queue based on the QR code usage.
[0042] In this embodiment, after receiving the QR code queue, the server is equivalent to a QR code warehouse and has a certain amount of QR codes. As the external network terminal continues to obtain and use the QR codes it has, its QR code holdings will gradually decrease. The intranet system can obtain the QR code usage of the QR code queue stored on the server through the data exchange platform. When there are fewer unused and / or valid QR codes, a new QR code queue can be generated in time and transmitted to the server. This ensures that the external network terminal can obtain unused QR codes at any time, thereby exchanging data with the intranet system.
[0043] like Figure 3 As shown, an embodiment of the present invention also discloses an intranet and extranet puncture use system based on a QR code, the system comprising an intranet system, a data exchange platform, an extranet system, a server, and an extranet terminal, wherein the server is arranged in the extranet system: the intranet system is used to generate a QR code according to an encryption code and an effective use time, put the generated QR code into a queue to form a QR code queue according to a dynamic rule, and transmit the QR code queue to the server on the extranet system through the data exchange platform; the extranet terminal is used to obtain an unused QR code from the QR code queue stored in the server; the intranet system is also used to scan the unused QR code displayed on the extranet terminal through a scanning device in the intranet system, and verify the encryption code and the effective use time, and after the verification is passed, the intranet system exchanges data with the extranet terminal; and the intranet system cancels the unused QR code and marks its use status as used.
[0044] An embodiment of the present invention further discloses an electronic device, comprising: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, wherein the processor executes the computer program to implement the method described in the above embodiment.
[0045] An embodiment of the present invention further discloses a computer storage medium, wherein the computer storage medium stores a computer program, and the computer program is executed by a processor to implement the method described in the above embodiment.
[0046] An embodiment of the present invention further discloses a computer program product, wherein the computer program product includes computer program code, and when the computer program code is executed by a processor of an electronic device, any of the above methods is implemented.
[0047] The various component embodiments of the present invention can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components in the device according to an embodiment of the present invention. The present invention can also be implemented as a device or apparatus program (e.g., computer program and computer program product) for executing part or all of the methods described herein. Such a program implementing the present invention can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0048] References herein to "one embodiment," "embodiment," or "one or more embodiments" mean that a particular feature, structure, or characteristic described in conjunction with the embodiment is included in at least one embodiment of the present invention. In addition, please note that examples of the term "in one embodiment" herein do not necessarily all refer to the same embodiment.
[0049] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc., does not indicate any order. These words may be interpreted as names.
[0050] In addition, it should be noted that the language used in this specification is selected primarily for readability and teaching purposes, rather than for explaining or limiting the subject matter of the present invention. Therefore, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The disclosure of the present invention is illustrative rather than restrictive with respect to the scope of the present invention, and the scope of the present invention is defined by the appended claims.
Claims
1. A method for using internal and external network puncture based on QR code, characterized in that: The method comprises the following steps: the intranet system generates a two-dimensional code according to an encryption code and an effective use time, puts the generated two-dimensional code into a queue according to dynamic rules to form a two-dimensional code queue, and transmits the two-dimensional code queue to a server on an external network system through a data exchange platform; the external network terminal obtains an unused two-dimensional code from the two-dimensional code queue stored on the server; the scanning device in the intranet system scans the unused two-dimensional code displayed on the external network terminal, and verifies the encryption code and the effective use time, and the intranet system exchanges data with the external network terminal after the verification is passed; and the intranet system cancels the unused two-dimensional code and marks its usage status as used.
2. A method for using the internal and external network puncture based on a two-dimensional code according to claim 1, characterized in that: The generated QR codes are placed in a queue according to dynamic rules to form a QR code queue, including: the intranet system obtains the historical access data of the stored external network system, and obtains the intranet access rules of the external network terminal based on the analysis of the historical access data; the queue length is determined according to the intranet access rules, and a corresponding number of QR codes are generated according to the queue length; the generated QR codes are placed in a queue to form the QR code queue.
3. A method for using the internal and external network puncture based on a two-dimensional code according to claim 2, characterized in that: The intranet access pattern of the external network terminal is obtained based on the analysis of the historical access data, including: obtaining the historical access volume of each time period according to the preset time segmentation rules, and fitting each historical access volume into a historical access curve; obtaining the historical access trend based on the historical access volume of the time period of a preset number of times at the end of the historical access curve, and using the historical access curve and the historical access trend as the intranet access pattern.
4. The method for using the internal and external network puncture based on a two-dimensional code according to claim 3, characterized in that: The queue length is determined according to the intranet access rule, and a corresponding number of QR codes are generated according to the queue length, including: inputting the historical access curve into an access volume prediction model based on LSTM, the access volume prediction model outputs a predicted predicted access volume, and a preliminary queue length is determined according to the predicted access volume; a correction coefficient is determined according to the historical access trend, and the preliminary queue length is corrected using the correction coefficient to obtain a target queue length; wherein the correction coefficient is greater than 1.
5. The method for using the internal and external network puncture based on a two-dimensional code according to claim 4, characterized in that: The correction factor is determined based on the historical access trend, including: ; In the above formula, is the correction factor; is a trend characterization value corresponding to the historical access trend, if the historical access trend is an upward trend, the trend characterization value is a value greater than 1, if the historical access trend is a downward trend, the trend characterization value is a value less than 1; is the trend degree value corresponding to the historical access trend, if the historical access trend is an upward trend, the trend degree value is a value greater than 0, and the trend degree value is positively correlated with the obvious degree of the upward trend; if the historical access trend is a downward trend, the trend degree value is a value less than 0, and the trend degree value is negatively correlated with the obvious degree of the downward trend; is the overall trend characterization value corresponding to the historical access curve, if the overall access trend of the historical access curve is an upward trend, the overall trend characterization value is a value greater than 1, if the overall access trend is a downward trend, the overall trend characterization value is a value less than 1; is the overall trend degree value corresponding to the historical access curve, if the overall access trend is an upward trend, the overall trend degree value is a value greater than 0, and the overall trend degree value is positively correlated with the degree of obviousness of the upward trend; if the overall access trend is a downward trend, the overall trend degree value is a value less than 0, and the overall trend degree value is negatively correlated with the degree of obviousness of the downward trend; , , and is the corresponding normalization function.
6. The method for using the internal and external network puncture based on a two-dimensional code according to claim 1, characterized in that: The method also includes: the intranet system obtains the usage of the two-dimensional code of the two-dimensional code queue stored on the server through the data exchange platform, and decides the timing of generating a new two-dimensional code queue according to the usage of the two-dimensional code.
7. A QR code-based intranet and extranet puncture system, the system comprising an intranet system, a data exchange platform, an extranet system, a server, and an extranet terminal, wherein the server is arranged in the extranet system, and characterized in that: The intranet system is used to generate a QR code according to the encryption code and the effective usage time, put the generated QR code into a queue to form a QR code queue according to dynamic rules, and transmit the QR code queue to the server on the external network system through the data exchange platform; the external network terminal is used to obtain an unused QR code from the QR code queue stored in the server; the intranet system is also used to scan the unused QR code displayed on the external network terminal through the scanning device in the intranet system, and verify the encryption code and the effective usage time. After the verification is passed, the intranet system exchanges data with the external network terminal; and the intranet system cancels the unused QR code and marks its usage status as used.
8. An electronic device comprising: At least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, wherein the processor executes the computer program to implement the method according to any one of claims 1 to 6.
9. A computer storage medium storing a computer program, characterized in that: The computer program is executed by a processor to implement the method according to any one of claims 1 to 6.
10. A computer program product, characterized in that: The computer program product includes computer program code, and when the computer program code is executed by a processor of an electronic device, the method according to any one of claims 1 to 6 is implemented.
