Disclosure of Invention
Therefore, the invention provides an automatic invoice monitoring and issuing method based on the Internet of things, which can solve the problem of limitation of the billing method in the prior art.
In order to achieve the above purpose, the present invention provides an automatic invoice monitoring and issuing method based on the internet of things, comprising:
based on the information of the first subscriber corresponding to the consumption order as basic information, constructing an electronic bill output template comprising a fixed information area, a modifiable information area and a secondary information determination area determined according to the modifiable information area by utilizing the basic information;
receiving billing information containing target information;
if the target information is consistent with the basic information of the first subscriber, inputting the basic information of the first subscriber into an area capable of changing information, and finishing information input of the electronic bill to form the electronic bill;
if the target information is inconsistent with the basic information of the first subscriber, inputting the target information into an information area which can be changed to form an electronic bill;
Converting text information of the target information into character information when determining whether the target information is consistent with basic information of the first subscriber;
taking the character information as a minimum retrieval unit;
determining that the basic information of the first preset person is compared for a plurality of times according to the length of the minimum retrieval unit as the window length, and forming a comparison result data set comprising a plurality of comparison results;
presetting a standard comparison result;
and if the comparison result data set comprises the comparison result consistent with the standard comparison result, the basic information of the first preset person is firstly judged to be consistent with the target information.
Further, when the basic information of the first preset person is judged to be consistent with the target information, extracting numerical characters in the modifiable information area, converting the numerical characters into binary characters, determining the actual length L0 of the binary characters, and adjusting the input duration of the information in the secondary information determination area according to the relationship between the actual length and the first preset length and the second preset length.
Further, the adjusting the recording duration of the information in the secondary information determining area according to the relation between the actual length and the first preset length and the second preset length includes:
Under the first constraint condition, reducing the input duration of the information in the secondary information determination area on the basis of the original input duration by using the reduction parameters;
under the second constraint condition, the original input duration is kept unchanged;
under a third constraint condition, extending the recording duration of the information in the secondary information determination area on the basis of the original recording duration by using the superposition parameters;
the first constraint condition is that the actual length is smaller than or equal to a first preset length, the second constraint condition is that the actual length is larger than the first preset length and smaller than a second preset length, and the third constraint condition is that the actual length is larger than or equal to the second preset length.
Further, preprocessing the target information, including:
determining the word number of the target information, and determining three types of information preprocessing modes of the target information according to the word number;
the first type of information preprocessing mode comprises the step of processing the target information by using a first preprocessing mode when the word number accords with a first preprocessing condition;
the second type of information preprocessing mode comprises the step of processing the target information by using a second preprocessing mode when the word number accords with a second preprocessing condition;
The third type of information preprocessing mode comprises the step of processing the target information by using a third preprocessing mode when the word number accords with a third preprocessing condition;
the first preset condition comprises that the number of words is smaller than a first preset number of words, the second preset condition comprises that the number of words is larger than or equal to the first preset number of words and smaller than a second preset number of words, the third preset condition comprises that the number of words is larger than or equal to the second preset number of words, the first preset number of words is smaller than the second preset number of words, the first pretreatment mode comprises that word segmentation is conducted on target information, the second pretreatment mode comprises that the broken words in the target information are detected and removed, word segmentation is conducted on the real word information, error word correction is conducted on the target information, correction information is obtained, and word segmentation is conducted on the correction information.
Further, determining a target filling position according to the search keyword, and processing the target filling position, including:
setting a preset number of searchers, wherein the searchers are used for searching target filling positions, the target filling positions comprise positions meeting preset searching conditions, comparing the area of the target filling positions with the area in a preset linked list to obtain a second comparison result, and determining two types of searching modes for the target filling positions according to the second comparison result;
The first search mode comprises the steps of processing the target filling position by using a first preset processing mode when the second comparison result accords with a first preset condition;
the second type of searching mode comprises that when the second comparison result accords with a second preset condition, a second preset processing mode is used for processing the target filling position;
the first preset condition comprises that the area of the target filling position is equal to the area in a preset linked list, the second preset condition comprises that the area of the target filling position is unequal to the area in the preset linked list, the first preset processing mode comprises that the area of the target filling position is discarded, and the first preset processing mode comprises that the target filling position is used as a preliminary screening position.
Further, calculating a search score of the preliminary screening position, and determining a search mode according to the search score, including:
calculating the search scores of the primary screening positions, and determining three types of search modes according to the search scores;
the first type of searching mode comprises that when the searching score accords with a first scoring condition, the searcher performs position searching by using the first searching mode;
The second type of searching mode comprises that when the searching score accords with a second scoring condition, the searcher performs position searching by using the second searching mode;
the third type of searching mode comprises that when the searching score accords with a third scoring condition, the searcher performs position searching by using the third searching mode;
p is a keyword position grade, d is a keyword density grade, alpha is a keyword common coefficient, beta is a keyword position coefficient, gamma is a keyword density coefficient, the first scoring condition comprises that the search score is smaller than a first preset score, the second scoring condition comprises that the search score is larger than or equal to the first preset score and smaller than a second preset score, the third scoring condition comprises that the search score is larger than or equal to the second preset score, the first preset score is smaller than the second preset score, the first searching mode comprises that the position of the first preset limit depth is searched, the second searching mode comprises that the position of the second preset limit depth is searched, the third searching mode comprises that the position search is not performed, and the first preset limit depth is larger than the second preset limit depth.
Further, the method for obtaining the number of the searched standard positions in the preset time period, and processing according to the number to obtain the pre-sent positions includes:
acquiring the number of the standard positions searched in a preset time period, and determining three types of execution modes according to the number;
the first type of execution mode comprises the steps of processing by using the first execution mode when the quantity meets a first quantity condition;
the second type of execution mode comprises that when the number meets a second number condition, the second execution mode is used for processing;
the third type of execution mode comprises that when the quantity meets the third quantity condition, the third execution mode is used for processing;
the first number condition includes that the number is smaller than a first preset number, the second number condition includes that the number is larger than or equal to the first preset number and smaller than a second preset number, the third number condition includes that the number is larger than or equal to the second preset number, the second number condition includes that the number is larger than or equal to the second preset number, the first preset number is smaller than the second preset number, the first execution mode includes that the preset duration is corrected by using a first correction coefficient, searching for the standard positions is continued until the number reaches the first preset number, the standard positions of the first preset number are used as preset positions, the second execution mode includes that the standard positions of the number are used as preset positions, and the third execution mode includes that the standard positions of the second preset number are used as preset positions.
Further, the pre-sending positions are ordered according to a PageRank algorithm to obtain a sending sequence, a sending mode is determined according to the sending sequence, and the pre-sending positions are sent to a central controller by using the sending mode, including:
the importance ranking is carried out on the pre-sending positions according to a PageRank algorithm so as to obtain sending sequences, sequence numbers of the pre-sending positions and the sending sequences corresponding to the pre-sending positions are stored in a preset linked list, and three types of sending modes of the pre-sending positions are determined according to the sequence numbers;
the first type of transmission mode comprises the step of transmitting the pre-transmission position to a central controller by using a first transmission mode when the sequence number accords with a first sequence number condition;
the second type of transmission mode comprises that when the sequence number meets a second sequence number condition, the pre-transmission position is transmitted to the central controller by using a second transmission mode;
the third type of transmission mode comprises that when the sequence number accords with a third sequence number condition, the pre-transmission position is transmitted to the central controller by using a third transmission mode;
wherein the first sequence number condition includes that the sequence number is smaller than a first preset sequence number, the second sequence number condition includes that the sequence number is larger than or equal to the first preset sequence number and smaller than a second preset sequence number, the third sequence number condition includes that the sequence number is larger than or equal to the second preset sequence number, the first preset sequence number is smaller than the second preset sequence number, the first transmission method includes that the first transmission speed is used for transmitting the preset transmission position to a central controller, and the second transmission method includes that calculation is performed A real-time transmission speed, and using the real-time transmission speed, the real-time transmission
And the generated predicted power is N, N is the predicted power of noise generated by transmitting the pre-transmitting position, N is the sequence number, the pre-transmitting position is transmitted to the central controller, and the third transmitting method comprises the step of transmitting the pre-transmitting position to the central controller by using a second transmitting speed.
Further, determining a correction mode for the transmission speed according to the transmission mode, including;
determining three types of correction modes for the sending speed according to the real-time sending speed;
the first type of correction method comprises the steps of correcting the real-time transmission speed by using the first correction method when the real-time transmission speed accords with a first transmission condition;
the second type of correction mode comprises that when the real-time transmission speed accords with a second transmission condition, the real-time transmission speed is corrected by using the second correction mode;
the third type of correction mode comprises that when the real-time transmission speed accords with a third transmission condition, the real-time transmission speed is corrected by using the third correction mode;
the first sending condition includes that the real-time sending speed is smaller than a first real-time speed, the second sending condition includes that the real-time sending speed is larger than or equal to the first real-time speed and smaller than a second real-time speed, the third sending condition includes that the real-time sending speed is larger than or equal to the second real-time speed, the first real-time speed is smaller than the second real-time speed, the first correction mode includes that the real-time sending speed is adjusted to be the first real-time speed, the second correction mode includes that the real-time sending speed is not corrected, and the third correction mode includes that the real-time sending speed is adjusted to be the second real-time speed.
Further, determining an encryption mode for the pre-sending position according to the data quantity of the pre-sending position, encrypting the pre-sending position by using the encryption mode to obtain an encryption position, and displaying the encryption position, wherein the method comprises the following steps:
the central controller receives the pre-sending position, acquires the data quantity of the pre-sending position, determines three encryption modes of the pre-sending position according to the data quantity, encrypts the pre-sending position by using the encryption modes to obtain an encryption position, sends the encryption position to a renderer according to the sending sequence, and renders and displays the encryption position on a user readable interface;
the first encryption mode comprises the step of encrypting the pre-sending position by using a first encryption mode when the data volume accords with a first encryption condition;
the second type of encryption mode comprises that when the data volume accords with a second encryption condition, the pre-sending position is encrypted by using a second encryption mode;
the third type of encryption mode comprises that when the data volume accords with a third encryption condition, the pre-sending position is encrypted by using a third encryption mode;
The first encryption condition comprises that the data amount is smaller than a first data amount, the second encryption condition comprises that the data amount is larger than or equal to a first data amount and smaller than a second data amount, the third encryption condition comprises that the data amount is larger than or equal to the second data amount, the first data amount is smaller than the second data amount, the first encryption mode comprises that the pre-sending position is not encrypted, the second correction mode comprises that the pre-sending position is encrypted by using a symmetrical encryption algorithm, and the third correction mode comprises that the pre-sending position is encrypted by using an asymmetrical encryption algorithm.
Compared with the prior art, the method has the advantages that in the process of issuing the electronic bill, if the electronic bill is issued by the information of the first subscriber, the process is more efficient and rapid, and the information in the changeable information area and the information in the secondary information determination area are directly replaced when the electronic bill is not issued by the first subscriber, so that the efficiency of issuing the electronic bill is greatly improved.
In particular, the numerical characters in the changeable area are extracted, and then the consumption amount of the user is determined through the actual length of the binary characters after conversion, the larger the consumption amount is, the longer the actual length of the binary characters is, and when the consumption amount is larger, the information input time in the secondary information determination area needs to be prolonged, so that the accuracy of bill output is improved, the encrypted data corresponding to the secondary information determination area can realize better protection on the electronic bill, and the safety of the electronic bill is improved.
Detailed Description
In order that the objects and advantages of the invention will become more apparent, the invention will be further described with reference to the following examples; it should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are merely for explaining the technical principles of the present invention, and are not intended to limit the scope of the present invention.
It should be noted that, in the description of the present invention, terms such as "upper," "lower," "left," "right," "inner," "outer," and the like indicate directions or positional relationships based on the directions or positional relationships shown in the drawings, which are merely for convenience of description, and do not indicate or imply that the apparatus or elements must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention.
Furthermore, it should be noted that, in the description of the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention can be understood by those skilled in the art according to the specific circumstances.
Referring to fig. 1, the method for automatically monitoring and issuing invoices based on internet of things provided by the embodiment of the invention includes:
step S100, based on the information of the first subscriber corresponding to the consumption order as basic information, constructing an electronic bill output template comprising a fixed information area, a changeable information area and a secondary information determination area determined according to the changeable information area by utilizing the basic information;
step 200, receiving billing information containing target information;
step S300, if the target information is consistent with the basic information of the first subscriber, inputting the basic information of the first subscriber into an area capable of changing information, and completing information input of the electronic bill to form the electronic bill;
and step S400, if the target information is inconsistent with the basic information of the first subscriber, inputting the target information into an information area which can be changed to form an electronic bill.
Specifically, monitoring a user consumption order arranged in a user consumption place, and after the user consumption order is monitored, constructing an electronic bill output template by taking information of a first predetennined person of the user consumption order as basic information; the electronic bill output template comprises a fixed information area, a modifiable information area and a secondary information determining area; the method comprises the steps that after an electronic bill output template is constructed, fixed information in a fixed information area is filled into the fixed information area, an information input result in a secondary information determination area is determined after information in a changeable information area is determined, in the actual processing process, if the information of a first subscriber is the information which needs to be filled in the changeable information area in the final electronic bill output template, the changeable information area and the secondary information determination area in the electronic bill output template can be directly filled according to the information of the first subscriber, the information input of the electronic bill is further completed, the electronic bill is formed, if the information of the received billing information is not identical with the information of the first subscriber in the process of determining the filling content of the changeable information area, the information of a target user in the actually received billing information is used as the filling content in the changeable information area, in the process of issuing the electronic bill, the process of the electronic bill is more efficient and rapid, and in the process of directly replacing the information of the first subscriber and the secondary information in the changeable information area, the efficiency of the electronic bill is greatly improved.
Specifically, when determining whether the target information is consistent with the basic information of the first subscriber, converting text information of the target information into character information;
taking the character information as a minimum retrieval unit;
determining that the basic information of the first preset person is compared for a plurality of times according to the length of the minimum retrieval unit as the window length, and forming a comparison result data set comprising a plurality of comparison results;
presetting a standard comparison result;
and if the comparison result data set comprises the comparison result consistent with the standard comparison result, the basic information of the first preset person is firstly judged to be consistent with the target information.
Specifically, the embodiment of the invention converts text information of the target information to form character information, takes the character information as a minimum retrieval unit, and then traverses in basic information of the first subscriber to determine whether the character information corresponding to the target information is consistent, if so, the first subscriber is the target information, and the electronic bill converted by the first subscriber information can be directly output, so that the output efficiency of the electronic bill is improved.
Specifically, when the basic information of the first preset person is judged to be consistent with the target information, extracting numerical characters in the modifiable information area, converting the numerical characters into binary characters, determining the actual length L0 of the binary characters, and adjusting the input duration of the information in the secondary information determination area according to the relationship between the actual length and the first preset length and the second preset length.
Specifically, the numerical characters in the changeable area are extracted, and the consumption amount of the user is determined according to the actual length of the binary characters after conversion, so that the larger the consumption amount is, the longer the actual length of the binary characters is, and when the consumption amount is, the longer the information input time in the secondary information determination area is, so that the accuracy of bill output is improved, the encrypted data corresponding to the secondary information determination area can well protect the electronic bill, and the safety of the electronic bill is improved.
Specifically, the adjusting the recording duration of the information in the secondary information determination area according to the relation between the actual length and the first preset length and the second preset length includes:
Under the first constraint condition, reducing the input duration of the information in the secondary information determination area on the basis of the original input duration by using the reduction parameters;
under the second constraint condition, the original input duration is kept unchanged;
under a third constraint condition, extending the recording duration of the information in the secondary information determination area on the basis of the original recording duration by using the superposition parameters;
the first constraint condition is that the actual length is smaller than or equal to a first preset length, the second constraint condition is that the actual length is larger than the first preset length and smaller than a second preset length, and the third constraint condition is that the actual length is larger than or equal to the second preset length.
Specifically, the embodiment of the invention compares the actual length with two preset lengths, and selects different adjustment modes according to different comparison results, so that the information in the secondary information determination area can be associated with the consumption amount of the user, the safety of the electronic bill is greatly improved, the electronic bill can be authenticated, and the like, and the safety of the electronic bill in the transmission and sending process is ensured.
Specifically, preprocessing the target information includes:
Determining the word number of the target information, and determining three types of information preprocessing modes of the target information according to the word number;
the first type of information preprocessing mode comprises the step of processing the target information by using a first preprocessing mode when the word number accords with a first preprocessing condition;
the second type of information preprocessing mode comprises the step of processing the target information by using a second preprocessing mode when the word number accords with a second preprocessing condition;
the third type of information preprocessing mode comprises the step of processing the target information by using a third preprocessing mode when the word number accords with a third preprocessing condition;
the first preset condition comprises that the number of words is smaller than a first preset number of words, the second preset condition comprises that the number of words is larger than or equal to the first preset number of words and smaller than a second preset number of words, the third preset condition comprises that the number of words is larger than or equal to the second preset number of words, the first preset number of words is smaller than the second preset number of words, the first pretreatment mode comprises that word segmentation is conducted on target information, the second pretreatment mode comprises that the broken words in the target information are detected and removed, word segmentation is conducted on the real word information, error word correction is conducted on the target information, correction information is obtained, and word segmentation is conducted on the correction information.
Specifically, the word and the wrongly written word of the target information are processed to achieve accurate determination of the target information, so that a comparison result is more accurate and efficient when the basic information of the first preset person includes the target information, the accuracy of the comparison result is improved, and the output accuracy of the electronic bill is further improved.
Specifically, determining a target filling position according to the search keyword, and processing the target filling position, including:
setting a preset number of searchers, wherein the searchers are used for searching target filling positions, the target filling positions comprise positions meeting preset searching conditions, comparing the area of the target filling positions with the area in a preset linked list to obtain a second comparison result, and determining two types of searching modes for the target filling positions according to the second comparison result;
the first search mode comprises the steps of processing the target filling position by using a first preset processing mode when the second comparison result accords with a first preset condition;
the second type of searching mode comprises that when the second comparison result accords with a second preset condition, a second preset processing mode is used for processing the target filling position;
The first preset condition comprises that the area of the target filling position is equal to the area in a preset linked list, the second preset condition comprises that the area of the target filling position is unequal to the area in the preset linked list, the first preset processing mode comprises that the area of the target filling position is discarded, and the first preset processing mode comprises that the target filling position is used as a preliminary screening position.
Specifically, the embodiment of the invention accurately determines the filling position of the target information, so that the target information is filled in the proper position in the modifiable information area in the electronic bill, the information is prevented from shifting or misplacement, and the consistency of the format of the modifiable information area is ensured.
Specifically, calculating a search score of the primary screening position, and determining a search mode according to the search score, wherein the method comprises the following steps:
calculating the search scores of the primary screening positions, and determining three types of search modes according to the search scores;
the first type of searching mode comprises that when the searching score accords with a first scoring condition, the searcher performs position searching by using the first searching mode;
The second type of searching mode comprises that when the searching score accords with a second scoring condition, the searcher performs position searching by using the second searching mode;
the third type of searching mode comprises that when the searching score accords with a third scoring condition, the searcher performs position searching by using the third searching mode;
wherein the search score
![Figure BDA0004062614870000161](https://patentimages.storage.***apis.com/06/5d/93/9d769696bb5215/BDA0004062614870000161.png)
u is a keyword common grade, p is a keyword position grade, d is a keyword density grade, alpha is a keyword common coefficient, beta is a keyword position coefficient, gamma is a keyword density coefficient, the first scoring condition comprises that the search score is smaller than a first preset score, the second scoring condition comprises that the search score is larger than or equal to the first preset score and smaller than a second preset score, the third scoring condition comprises that the search score is larger than or equal to the second preset score, the first preset score is smaller than the second preset score, the first searching mode comprises that the position of the first preset limit depth is searched, the second searching mode comprises that the position of the second preset limit depth is searched, the third searching mode comprises that the position search is not performed, and the first preset limit depth is larger than the second preset limit depth.
Specifically, the embodiment of the invention performs position search according to different search scores by the searcher, and determines three types of search modes according to the search scores by calculating the search scores of the primary screening positions, and the three types of search modes correspond to different limit depth positions, so that the target information is filled in the proper position in the modifiable information area with high efficiency, the input efficiency is improved, and the high-efficiency output of the electronic bill is realized.
Specifically, the method for obtaining the number of the standard positions searched in the preset time period, and processing according to the number to obtain the pre-sent positions includes:
acquiring the number of the standard positions searched in a preset time period, and determining three types of execution modes according to the number;
the first type of execution mode comprises the steps of processing by using the first execution mode when the quantity meets a first quantity condition;
the second type of execution mode comprises that when the number meets a second number condition, the second execution mode is used for processing;
the third type of execution mode comprises that when the quantity meets the third quantity condition, the third execution mode is used for processing;
the first number condition includes that the number is smaller than a first preset number, the second number condition includes that the number is larger than or equal to the first preset number and smaller than a second preset number, the third number condition includes that the number is larger than or equal to the second preset number, the second number condition includes that the number is larger than or equal to the second preset number, the first preset number is smaller than the second preset number, the first execution mode includes that the preset duration is corrected by using a first correction coefficient, searching for the standard positions is continued until the number reaches the first preset number, the standard positions of the first preset number are used as preset positions, the second execution mode includes that the standard positions of the number are used as preset positions, and the third execution mode includes that the standard positions of the second preset number are used as preset positions.
Specifically, the embodiment of the invention determines three types of execution modes according to the number by acquiring the number of the standard positions searched in the preset time period, and the execution modes are different if the number is different, so that the number of the standard positions is executed in different modes, the preset time period is adjusted in different degrees, the effectiveness and the accuracy of data input by using the preset time period are improved, and the formation efficiency of the electronic bill is further improved.
Specifically, the pre-sending positions are ordered according to a PageRank algorithm to obtain a sending sequence, a sending mode is determined according to the sending sequence, and the pre-sending positions are sent to a central controller by using the sending mode, including:
the importance ranking is carried out on the pre-sending positions according to a PageRank algorithm so as to obtain sending sequences, sequence numbers of the pre-sending positions and the sending sequences corresponding to the pre-sending positions are stored in a preset linked list, and three types of sending modes of the pre-sending positions are determined according to the sequence numbers;
the first type of transmission mode comprises the step of transmitting the pre-transmission position to a central controller by using a first transmission mode when the sequence number accords with a first sequence number condition;
The second type of transmission mode comprises that when the sequence number meets a second sequence number condition, the pre-transmission position is transmitted to the central controller by using a second transmission mode;
the third type of transmission mode comprises that when the sequence number accords with a third sequence number condition, the pre-transmission position is transmitted to the central controller by using a third transmission mode;
wherein the first sequence number condition includes that the sequence number is smaller than a first preset sequence number, the second sequence number condition includes that the sequence number is larger than or equal to the first preset sequence number and smaller than a second preset sequence number, the third sequence number condition includes that the sequence number is larger than or equal to the second preset sequence number, the first preset sequence number is smaller than the second preset sequence number, the first transmission method includes that the first transmission speed is used for transmitting the preset transmission position to a central controller, the second transmission method includes that the real-time transmission speed is calculated, and the real-time transmission speed is used for the real-time transmission speed
![Figure BDA0004062614870000191](https://patentimages.storage.***apis.com/b6/13/42/75d7de1f302486/BDA0004062614870000191.png)
W is preset channel bandwidth, S is predicted power generated by transmitting the pre-transmitting position, N is predicted power of noise generated by transmitting the pre-transmitting position, N is the sequence number, the pre-transmitting position is transmitted to a central controller, and the third transmitting method comprises the step of transmitting the pre-transmitting position to the central controller by using a second transmitting speed.
Specifically, the embodiment of the invention sorts the importance of the pre-sending positions according to the PageRank algorithm to obtain the sending sequence, stores the pre-sending positions and the sequence numbers of the sending sequence corresponding to the pre-sending positions in the preset linked list, determines three types of sending modes of the pre-sending positions according to the sequence numbers, and sends the pre-sending positions by adopting different sending modes, thereby effectively improving the forming efficiency of the electronic bill.
Specifically, determining a correction mode for the transmission speed according to the transmission mode, including;
determining three types of correction modes for the sending speed according to the real-time sending speed;
the first type of correction method comprises the steps of correcting the real-time transmission speed by using the first correction method when the real-time transmission speed accords with a first transmission condition;
the second type of correction mode comprises that when the real-time transmission speed accords with a second transmission condition, the real-time transmission speed is corrected by using the second correction mode;
the third type of correction mode comprises that when the real-time transmission speed accords with a third transmission condition, the real-time transmission speed is corrected by using the third correction mode;
The first sending condition includes that the real-time sending speed is smaller than a first real-time speed, the second sending condition includes that the real-time sending speed is larger than or equal to the first real-time speed and smaller than a second real-time speed, the third sending condition includes that the real-time sending speed is larger than or equal to the second real-time speed, the first real-time speed is smaller than the second real-time speed, the first correction mode includes that the real-time sending speed is adjusted to be the first real-time speed, the second correction mode includes that the real-time sending speed is not corrected, and the third correction mode includes that the real-time sending speed is adjusted to be the second real-time speed.
Specifically, the embodiment of the invention effectively adjusts the real-time sending speed, and utilizes the adjusted sending speed to realize the efficient sending of the pre-sending position, thereby improving the sending efficiency, further effectively determining the efficient entry of the effective information in each position in the electronic bill and improving the forming efficiency of the electronic bill.
Specifically, an encryption method for the pre-transmission position is determined according to the data amount of the pre-transmission position, the pre-transmission position is encrypted by using the encryption method to obtain an encryption position, and the encryption position is displayed, including:
The central controller receives the pre-sending position, acquires the data quantity of the pre-sending position, determines three encryption modes of the pre-sending position according to the data quantity, encrypts the pre-sending position by using the encryption modes to obtain an encryption position, sends the encryption position to a renderer according to the sending sequence, and renders and displays the encryption position on a user readable interface;
the first encryption mode comprises the step of encrypting the pre-sending position by using a first encryption mode when the data volume accords with a first encryption condition;
the second type of encryption mode comprises that when the data volume accords with a second encryption condition, the pre-sending position is encrypted by using a second encryption mode;
the third type of encryption mode comprises that when the data volume accords with a third encryption condition, the pre-sending position is encrypted by using a third encryption mode;
the first encryption condition comprises that the data amount is smaller than a first data amount, the second encryption condition comprises that the data amount is larger than or equal to a first data amount and smaller than a second data amount, the third encryption condition comprises that the data amount is larger than or equal to the second data amount, the first data amount is smaller than the second data amount, the first encryption mode comprises that the pre-sending position is not encrypted, the second correction mode comprises that the pre-sending position is encrypted by using a symmetrical encryption algorithm, and the third correction mode comprises that the pre-sending position is encrypted by using an asymmetrical encryption algorithm.
Specifically, the embodiment of the invention determines three encryption modes of the pre-sending position according to the data quantity, encrypts the data in different modes, ensures the safety of the data in the sending process, and improves the output efficiency of the electronic bill for outputting after finishing data input so as to improve the encryption efficiency.
Thus far, the technical solution of the present invention has been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of protection of the present invention is not limited to these specific embodiments. Equivalent modifications and substitutions for related technical features may be made by those skilled in the art without departing from the principles of the present invention, and such modifications and substitutions will be within the scope of the present invention.
The foregoing description is only of the preferred embodiments of the invention and is not intended to limit the invention; various modifications and variations of the present invention will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.