CN110515892A - Text conversion method, device, equipment and storage medium based on artificial intelligence - Google Patents
Text conversion method, device, equipment and storage medium based on artificial intelligence Download PDFInfo
- Publication number
- CN110515892A CN110515892A CN201910634186.9A CN201910634186A CN110515892A CN 110515892 A CN110515892 A CN 110515892A CN 201910634186 A CN201910634186 A CN 201910634186A CN 110515892 A CN110515892 A CN 110515892A
- Authority
- CN
- China
- Prior art keywords
- text
- target
- rgb color
- converted
- character string
- 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
Links
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 63
- 238000013473 artificial intelligence Methods 0.000 title claims abstract description 56
- 238000000034 method Methods 0.000 title claims abstract description 45
- 229910002056 binary alloy Inorganic materials 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 239000003086 colorant Substances 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 101000695861 Arabidopsis thaliana Brefeldin A-inhibited guanine nucleotide-exchange protein 5 Proteins 0.000 description 2
- 239000008186 active pharmaceutical agent Substances 0.000 description 2
- 239000002956 ash Substances 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 235000002918 Fraxinus excelsior Nutrition 0.000 description 1
- 241001085205 Prenanthella exigua Species 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/11—File system administration, e.g. details of archiving or snapshots
- G06F16/116—Details of conversion of file system types or formats
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/90—Determination of colour characteristics
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Document Processing Apparatus (AREA)
Abstract
The present invention relates to artificial intelligence fields, more particularly to color coding field, disclose a kind of text conversion method based on artificial intelligence, device, equipment and storage medium, for the upload attachment in webpage to be converted to picture format from text formatting, it avoids the content for uploading attachment from being stolen, improves the safety of webpage.The method of the present invention includes: acquisition target text, and the target text is the content of text of attachment;The target text is converted into initial code character string according to preset coding criterion;The initial code character string is converted into multiple RGB color values according to the first preset rules;Picture specification is determined according to the second preset rules and the multiple RGB color value, and Target Photo is generated based on the picture specification, the picture specification is used to indicate the line number and columns of RGB color value, and second preset rules define the RGB color value number that same a line includes.
Description
Technical field
The present invention relates to color coding field more particularly to a kind of text conversion method based on artificial intelligence, device, set
Standby and storage medium.
Background technique
Current many applications and Website development are all based on web technology, and client is downloaded and run automatically using browser
JavaScript scripting language, and JavaScript scripting language is a kind of scripting language of literal translation formula, code is in plain text
What form was shown, and the Ajax technology based on JavaScript scripting language passes through request back office interface with such as
What JSON, XML and TEXT clear data format were realized.
And this whole process, for client, JavaScript script language code and interface data are all
It is visible, it is easy to stolen.
It is all to be committed to backstage in plain text that major part webpage, which submits attachment, at present, does not pass through the processing of theft protection, when mentioning
The article for needing to pay is handed over, or submits the article of a confidentiality, the stolen risk given away secrets is high.
Summary of the invention
The present invention provides a kind of text conversion method based on artificial intelligence, device, equipment and storage medium, being used for will
Upload attachment in webpage is converted to picture format from text formatting, avoids the content for uploading attachment from being stolen, improves webpage
Safety.
The first aspect of the embodiment of the present invention provides a kind of text conversion method based on artificial intelligence, comprising: obtains mesh
Text is marked, the target text is the content of text of attachment;The target text is converted to just according to preset coding criterion
Beginning coded string;The initial code character string is converted into multiple RGB color values according to the first preset rules;It is pre- according to second
If rule and the multiple RGB color value determine picture specification, and generate Target Photo, the picture rule based on the picture specification
Lattice are used to indicate the line number and columns of RGB color value, and second preset rules define the RGB color value number that same a line includes.
Optionally, described to be advised according to preset coding in the first implementation of first aspect of the embodiment of the present invention
Model by the target text be converted to initial code character string include: will be described according to preset Unicode Unicode character set
Target text is converted to initial Unicode code-point, and the initial Unicode code-point is hexadecimal;It determines described initial
The byte quantity of Unicode code-point;The initial Unicode code-point is turned according to the byte quantity and preset coding criterion
It is changed to initial code character string, the initial code character string is binary system.
Optionally, described according to the byte quantity in second of implementation of first aspect of the embodiment of the present invention
The initial Unicode code-point is converted into initial code character string, the initial code character string with preset coding criterion
For binary system, comprising: convert target Unicode code-point, the target Unicode code-point for the initial Unicode code-point
For binary system;If byte quantity is 1 byte, it is set as 0 by first of byte, by the target Unicode code-point from rear
It is sequentially filled latter seven of byte forward, obtains binary initial code character string;It, will if byte quantity is 2 bytes
First 2 of first character section are set as the 1, the 3rd and are set as 0, and the front two of remaining 1 byte is set as 10, by the target
Unicode code-point is sequentially filled other binary digits from back to front, obtains binary initial code character string;If byte quantity
For 3 bytes, then the 1, the 4th is all set as by first 3 of first character section and is set as 0, the front two of remaining 2 bytes is set as
10, the target Unicode code-point is sequentially filled other binary digits from back to front, obtains binary initial code character
String;If byte quantity is 4 bytes, the 1, the 5th is all set as by first 4 of first character section and is set as 0, remaining 3 bytes
Front two be set as 10, the target Unicode code-point is sequentially filled other binary digits from back to front, is obtained binary
Initial code character string.
Optionally, described according to the first preset rules in the third implementation of first aspect of the embodiment of the present invention
It includes: by JavaScript by the initial code character string that the initial code character string, which is converted to multiple RGB color values,
RGB numeric string is converted to, the RGB numeric string is the decimal system;It will be continuous in the RGB numeric string according to the first preset rules
Three values are determined as the pixel value of a RGB color value;Obtain multiple RGB color values.
Optionally, described according to the second preset rules in the 4th kind of implementation of first aspect of the embodiment of the present invention
Picture specification is determined with the multiple RGB color value, and Target Photo is generated based on the picture specification, and the picture specification is used for
Indicate the line number and columns of RGB color value, it includes: root that second preset rules, which define the RGB color value number that same a line includes,
Determine that picture specification, second preset rules define the RGB color value number that same a line includes according to the second preset rules;It determines
Character order in the target text obtains the first sequence;It will be described more according to first sequence and the picture specification
A RGB color value carry out sequence arrangement, obtains image parameters, and the image parameters include the line number and columns of RGB color value;According to institute
It states image parameters and generates Target Photo.
Optionally, described to be advised according to preset coding in the 5th kind of implementation of first aspect of the embodiment of the present invention
After the target text is converted to initial code character string by model, the method also includes: it will be described by JavaScript
Initial code character string is converted to gray value numeric string, and the gray value numeric string is the decimal system;By the gray value numeric string
In each value be determined as a gray value, obtain multiple gray values;It is generated according to third preset rules and the multiple gray value
Target Photo, the third preset rules indicate the specification of the Target Photo.
Optionally, in the 6th kind of implementation of first aspect of the embodiment of the present invention, the method also includes: save institute
Target Photo is stated, and the Target Photo is established into binding relationship with the corresponding target text.
The second aspect of the embodiment of the present invention provides a kind of text conversion device based on artificial intelligence, comprising: obtains
Unit, for obtaining target text, the target text is the content of text of attachment;First converting unit, for according to preset
Coding criterion the target text is converted into initial code character string;Second converting unit, for according to the first default rule
The initial code character string is then converted into multiple RGB color values;First generation unit, for according to the second preset rules and institute
It states multiple RGB color values and determines picture specification, and Target Photo is generated based on the picture specification, the picture specification is used to indicate
The line number and columns of RGB color value, second preset rules define the RGB color value number that same a line includes.
Optionally, in the first implementation of second aspect of the embodiment of the present invention, the first converting unit includes: first
Conversion module, for the target text to be converted to initial Unicode code according to preset Unicode Unicode character set
Point, the initial Unicode code-point are hexadecimal;First determining module, for determining the word of the initial Unicode code-point
Joint number amount;Second conversion module, for according to the byte quantity and preset coding criterion by the initial Unicode code-point
Initial code character string is converted to, the initial code character string is binary system.
Optionally, in second of implementation of second aspect of the embodiment of the present invention, the second conversion module is specifically used for:
Target Unicode code-point is converted by the initial Unicode code-point, the target Unicode code-point is binary system;If byte
Quantity is 1 byte, then is set as 0 for first of byte, the target Unicode code-point is sequentially filled byte from back to front
Latter seven, obtain binary initial code character string;If byte quantity is 2 bytes, by first 2 of first character section
It is all set as the 1, the 3rd and is set as 0, the front two of remaining 1 byte is set as 10, from back to front by the target Unicode code-point
Other binary digits are sequentially filled, binary initial code character string is obtained;If byte quantity is 3 bytes, by first
First 3 of a byte are set as the 1, the 4th and are set as 0, and the front two of remaining 2 bytes is set as 10, by the target Unicode
Code-point is sequentially filled other binary digits from back to front, obtains binary initial code character string;If byte quantity is 4 words
Section, then be all set as the 1, the 5th for first 4 of first character section and be set as 0, and the front two of remaining 3 bytes is set as 10, will be described
Target Unicode code-point is sequentially filled other binary digits from back to front, obtains binary initial code character string.
Optionally, in the third implementation of second aspect of the embodiment of the present invention, the second converting unit is specifically used for:
The initial code character string is converted into RGB numeric string by JavaScript, the RGB numeric string is the decimal system;According to
Three values continuous in the RGB numeric string are determined as the pixel value of a RGB color value by the first preset rules;It obtains multiple
RGB color value.
Optionally, in the 4th kind of implementation of second aspect of the embodiment of the present invention, the first generation unit is specifically used for:
Determine that picture specification, second preset rules define the RGB color value number that same a line includes according to the second preset rules;Really
Character order in the fixed target text obtains the first sequence;It will be described according to first sequence and the picture specification
Multiple RGB color value carry out sequence arrangements, obtain image parameters, and the image parameters include the line number and columns of RGB color value;According to
The image parameters generate Target Photo.
Optionally, in the 5th kind of implementation of second aspect of the embodiment of the present invention, the text based on artificial intelligence turns
Changing device further include: third converting unit, for the initial code character string to be converted to gray value by JavaScript
Numeric string, the gray value numeric string are the decimal system;Determination unit, for each value in the gray value numeric string to be determined as
One gray value, obtains multiple gray values;Second generation unit, for raw according to third preset rules and the multiple gray value
At Target Photo, the third preset rules indicate the specification of the Target Photo.
Optionally, in the 6th kind of implementation of second aspect of the embodiment of the present invention, the text based on artificial intelligence turns
Changing device further include: binding unit is saved, for saving the Target Photo, and by the Target Photo and the corresponding mesh
Mark text establishes binding relationship.
The third aspect of the embodiment of the present invention provides a kind of text conversion equipment based on artificial intelligence, including storage
Device, processor and it is stored in the computer program that can be run on the memory and on the processor, the processor is held
The text conversion method described in any of the above-described embodiment based on artificial intelligence is realized when the row computer program.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, including instruction, when the finger
When order is run on computers, so that computer executes the text conversion described in any of the above-described embodiment based on artificial intelligence
The step of method.
In technical solution provided in an embodiment of the present invention, target text is obtained, target text is the content of text of attachment;Root
Target text is converted into initial code character string according to preset coding criterion;According to the first preset rules by initial code character
String is converted to multiple RGB color values;Picture specification is determined according to the second preset rules and multiple RGB color values, and is based on picture specification
Target Photo is generated, picture specification is used to indicate the line number and columns of RGB color value, and the second preset rules define same a line and include
RGB color value number.Upload attachment in webpage is converted to picture format from text formatting, avoided by the embodiment of the present invention
The content for passing attachment is stolen, and improves the safety of webpage.
Detailed description of the invention
Fig. 1 is one embodiment schematic diagram of the text conversion method based on artificial intelligence in the embodiment of the present invention;
Fig. 2 is another embodiment schematic diagram of the text conversion method based on artificial intelligence in the embodiment of the present invention;
Fig. 3 is one embodiment schematic diagram of the text conversion device based on artificial intelligence in the embodiment of the present invention;
Fig. 4 is another embodiment schematic diagram of the text conversion device based on artificial intelligence in the embodiment of the present invention;
Fig. 5 is one embodiment schematic diagram of the text conversion equipment based on artificial intelligence in the embodiment of the present invention.
Specific embodiment
The present invention provides a kind of text conversion method based on artificial intelligence, device, equipment and storage medium, being used for will
Upload attachment in webpage is converted to picture format from text formatting, avoids the content for uploading attachment from being stolen, improves webpage
Safety.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
The embodiment of the present invention is described in attached drawing.
Description and claims of this specification and term " first ", " second ", " third ", " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage
The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein
Or the sequence other than the content of description is implemented.In addition, term " includes " or " having " and its any deformation, it is intended that covering is not
Exclusive includes, for example, the process, method, system, product or equipment for containing a series of steps or units be not necessarily limited to it is clear
Step or unit those of is listed on ground, but is not clearly listed or for these process, methods, product or is set
Standby intrinsic other step or units.
Referring to Fig. 1, the flow chart of the text conversion method provided in an embodiment of the present invention based on artificial intelligence, specific to wrap
It includes:
101, target text is obtained, target text is the content of text of attachment.
Server obtains target text, and target text is the content of text of attachment.Wherein, target text is to need in webpage
The content of text in attachment uploaded.
It should be noted that server receives analytic signal before obtaining target text, which is used to indicate
Server parses the attachment uploaded, is solved by the FILE API of JavaScript to the content of text of attachment
Analysis, using the result of parsing as target text.After receiving analytic signal, server also receives coded signal, the encryption
Signal is used to indicate server and is encrypted as the target text being resolved to from front end to be transmitted to backstage after picture.
It is understood that the executing subject of the embodiment of the present invention can be the text conversion device based on artificial intelligence,
It can also be terminal or server, specifically herein without limitation.The present invention is illustrated so that server is executing subject as an example.
102, target text is converted to by initial code character string according to preset coding criterion.
Target text is converted to initial code character string according to preset coding criterion by server.Specifically, server
Target text is converted into initial Unicode code-point, initial Unicode code-point according to preset Unicode Unicode character set
For hexadecimal;Server determines the byte quantity of initial Unicode code-point;Server is according to byte quantity and preset coding
Initial Unicode code-point is converted to initial code character string by specification, and initial code character string is binary system.
In the present embodiment, Unicode Unicode is an industrywide standard in computer science, including character
Collection, encoding scheme etc..Integer of the range of Unicode coding between 0-65535.Unicode is to solve traditional word
It accords with the limitation of encoding scheme and generates, it is compiled for the unified and unique binary system of each character setting in every kind of language
Code, to meet across language, the cross-platform requirement for carrying out text conversion, processing.Because computer can only handle number, if to locate
Target text is managed, just target text first must be converted to number could be handled.Wherein, each character in target text is right
Answer a code character.
Current unicode character is divided into 17 groups of layouts, and 0x0000 to 0x10FFFF, every group is known as plane (Plane), and
Every plane possesses 65536 code bits, and totally 1114112.However a small number of planes have only been used at present.UTF-8,UTF-16,UTF-32
It is all the encoding scheme that will be digitally stored to program data.
It wherein, is the coding for using the character of different range different length the characteristics of UTF-8.For 0x00-0x7F it
Between character, UTF-8 coding it is identical with ASCII coding.The maximum length of UTF-8 coding is 4 bytes.4 byte templates
There are 21 x, it can accommodate 21 bit binary numbers.The maximum code bit 0x10FFFF of Unicode also only has 21.With UTF-8
For be illustrated, for example, the initial Unicode code-point of " Chinese " word is 0x6C49;0x6C49 between 0x0800-0xFFFF,
Therefore 3 byte templates: 1110xxxx 10xxxxxx 10xxxxxx, byte quantity 3 are used;By initial Unicode code-point
0x6C49 is converted into binary target Unicode code-point: 0,110 1,100 0,100 1001, from back to front with this bit stream
It successively instead of the x in 3 byte templates, obtains: 11,100,110 10,110,001 10001001, i.e., hexadecimal E6 B1 89.
In another example Unicode encodes 0x20C30 between 0x010000-0x10FFFF, 4 byte templates: 11110xxx are used
10xxxxxx 10xxxxxx 10xxxxxx.0x20C30 is write as 21 bit binary numbers (just mending 0 in front less than 21): 0
0010 0,000 1,100 0,011 0000, it successively replaces the x in template from back to front with this bit stream, obtains: 11110000
10100000 10,110,000 10110000, i.e., hexadecimal F0A0B0B0.
It should be noted that other coding modes can also be used in addition to that Unicode can be used to encode, for example,
GB2312 coding, BIG5 coding, GBK coding, GB18030 coding etc., detailed process is similar, and details are not described herein again.
103, initial code character string is converted into multiple RGB color values according to the first preset rules.
Initial code character string is converted to multiple RGB color values according to the first preset rules by server.Specifically, server
Initial code character string is converted into RGB numeric string by JavaScript, RGB numeric string is the decimal system;Server is according to
Three values continuous in RGB numeric string are determined as the pixel value of a RGB color value by one preset rules;Server is according to pixel value
Determine multiple RGB color values.
For example, corresponding RGB numeric string is if initial code character string is 11,111,111 11,111,010 11111010
255 250 250, then corresponding pixel value is just R255G250B250, corresponding RGB color value is #FFFAFA, in another example, if
Initial code character string is 11,111,000 11,111,000 11111111, and corresponding RGB numeric string is 248 248 255, corresponding
Pixel value be R248G248B255, corresponding RGB color value is #F8F8FF, and specific details are not described herein again.
104, picture specification is determined according to the second preset rules and multiple RGB color values, and target is generated based on picture specification
Picture, picture specification are used to indicate the line number and columns of RGB color value, and the second preset rules define the RGB color that same a line includes
It is worth number.
Server determines picture specification according to the second preset rules and multiple RGB color values, and generates mesh based on picture specification
It marks on a map piece, picture specification is used to indicate the line number and columns of RGB color value, and the second preset rules define the RGB that same a line includes
Color value number.Specifically, server determines that picture specification, the second preset rules define same a line packet according to the second preset rules
The RGB color value number included;Server determines the character order in target text, obtains the first sequence;Server is suitable according to first
Multiple RGB color value carry out sequence arrangements are obtained image parameters, image parameters include the line number of RGB color value by sequence and picture specification
And columns;Server generates Target Photo according to image parameters.Wherein, image parameters include in the every a line of picture and each column
RGB color value number.
It should be noted that according to the script sequence (the first sequence) of text in target text, corresponding to each text
RGB color value be replaced, according to after the completion of replacement image parameters generate Target Photo.
The embodiment of the present invention, obtains target text, and target text is the content of text of attachment;According to preset coding criterion
Target text is converted into initial code character string;Initial code character string is converted into multiple RGB according to the first preset rules
Color value;Picture specification is determined according to the second preset rules and multiple RGB color values, and Target Photo, figure are generated based on picture specification
Piece specification is used to indicate the line number and columns of RGB color value, and the second preset rules define the RGB color value number that same a line includes.
Upload attachment in webpage is converted into picture format from text formatting, avoids the content for uploading attachment from being stolen, improves net
The safety of page.
Referring to Fig. 2, another flow chart of the text conversion method provided in an embodiment of the present invention based on artificial intelligence,
It specifically includes:
201, target text is obtained, target text is the content of text of attachment.
Server obtains target text, and target text is the content of text of attachment.Wherein, target text is to need in webpage
The content of text in attachment uploaded.
It should be noted that server receives analytic signal before obtaining target text, which is used to indicate
Server parses the attachment uploaded, is solved by the FILE API of JavaScript to the content of text of attachment
Analysis, using the result of parsing as target text.After receiving analytic signal, server also receives coded signal, the encryption
Signal is used to indicate server and is encrypted as the target text being resolved to from front end to be transmitted to backstage after picture.
It is understood that the executing subject of the embodiment of the present invention can be the text conversion device based on artificial intelligence,
It can also be terminal or server, specifically herein without limitation.The present invention is illustrated so that server is executing subject as an example.
202, target text is converted to by initial code character string according to preset coding criterion.
Target text is converted to initial code character string according to preset coding criterion by server.Specifically, server
Target text is converted into initial Unicode code-point, initial Unicode code-point according to preset Unicode Unicode character set
For hexadecimal;Server determines the byte quantity of initial Unicode code-point;Server is according to byte quantity and preset coding
Initial Unicode code-point is converted to initial code character string by specification, and initial code character string is binary system.
In the present embodiment, Unicode Unicode is an industrywide standard in computer science, including character
Collection, encoding scheme etc..Integer of the range of Unicode coding between 0-65535.Unicode is to solve traditional word
It accords with the limitation of encoding scheme and generates, it is compiled for the unified and unique binary system of each character setting in every kind of language
Code, to meet across language, the cross-platform requirement for carrying out text conversion, processing.Because computer can only handle number, if to locate
Target text is managed, just target text first must be converted to number could be handled.Wherein, each character in target text is right
Answer a code character.
Current unicode character is divided into 17 groups of layouts, and 0x0000 to 0x10FFFF, every group is known as plane (Plane), and
Every plane possesses 65536 code bits, and totally 1114112.However a small number of planes have only been used at present.UTF-8,UTF-16,UTF-32
It is all the encoding scheme that will be digitally stored to program data.
It wherein, is the coding for using the character of different range different length the characteristics of UTF-8.For 0x00-0x7F it
Between character, UTF-8 coding it is identical with ASCII coding.The maximum length of UTF-8 coding is 4 bytes.4 byte templates
There are 21 x, it can accommodate 21 bit binary numbers.The maximum code bit 0x10FFFF of Unicode also only has 21.With UTF-8
For be illustrated, for example, the initial Unicode code-point of " Chinese " word is 0x6C49;0x6C49 between 0x0800-0xFFFF,
Therefore 3 byte templates: 1110xxxx 10xxxxxx 10xxxxxx, byte quantity 3 are used;By initial Unicode code-point
0x6C49 is converted into binary target Unicode code-point: 0,110 1,100 0,100 1001, from back to front with this bit stream
Successively instead of the x in 3 byte templates, obtain: 11,100,110 1011000110001001.In another example Unicode is encoded
0x20C30 uses 4 byte templates: 11110xxx 10xxxxxx 10xxxxxx between 0x010000-0x10FFFF
10xxxxxx.0x20C30 is write as 21 bit binary numbers (just mending 0 in front less than 21): 0 0,010 0,000 1100
0011 0000, it successively replaces the x in template from back to front with this bit stream, obtains: 11,110,000 10100000
10110000 10110000。
It should be noted that other coding modes can also be used in addition to that Unicode can be used to encode, for example,
GB2312 coding, BIG5 coding, GBK coding, GB18030 coding etc., detailed process is similar, and details are not described herein again.
203, initial code character string is converted into multiple RGB color values according to the first preset rules.
Initial code character string is converted to multiple RGB color values according to the first preset rules by server.Specifically, server
Initial code character string is converted into RGB numeric string by JavaScript, RGB numeric string is the decimal system;Server is according to
Three values continuous in RGB numeric string are determined as the pixel value of a RGB color value by one preset rules;Server is according to pixel value
Determine multiple RGB color values.Wherein, the value range of pixel value is 0-255.
For example, corresponding RGB numeric string is if initial code character string is 11,111,111 11,111,010 11111010
255 250 250, which is determined as to the pixel value of a RGB color value, corresponding RGB color value is R255G250B250,
Corresponding hexadecimal color is #FFFAFA.In another example if initial code character string is 11,111,000 11111000
11111111, corresponding RGB numeric string is 248 248 255, which is determined as to the pixel value of a RGB color value, right
The RGB color value answered is R248G248B255, and corresponding hexadecimal color value is #F8F8FF, and specific details are not described herein again.
204, picture specification is determined according to the second preset rules and multiple RGB color values, and target is generated based on picture specification
Picture, picture specification are used to indicate the line number and columns of RGB color value, and the second preset rules define the RGB color that same a line includes
It is worth number.
Server determines picture specification according to the second preset rules and multiple RGB color values, and generates mesh based on picture specification
It marks on a map piece, picture specification is used to indicate the line number and columns of RGB color value, and the second preset rules define the RGB that same a line includes
Color value number.Specifically, server determines that picture specification, the second preset rules define same a line packet according to the second preset rules
The RGB color value number included;Server determines the character order in target text, obtains the first sequence;Server is suitable according to first
Multiple RGB color value carry out sequence arrangements are obtained image parameters, image parameters include the line number of RGB color value by sequence and picture specification
And columns;Server generates Target Photo according to image parameters.Wherein, image parameters include in the every a line of picture and each column
RGB color value number.
It should be noted that according to the script sequence (the first sequence) of text in target text, corresponding to each text
RGB color value be replaced, according to after the completion of replacement image parameters generate Target Photo.
Wherein, the parameter threshold of picture, adjustment life can be arranged according to preset rule setting transformation rule in server
At Target Photo size, for example, can specify that in same a line include how many a RGB color values so that generate a rule
Target Photo, it is specific that details are not described herein again.
Optionally, following steps replacement above-mentioned steps 203 and step 204 can also be performed in server, the specific steps are as follows:
Initial code character string is converted to gray value numeric string by JavaScript by server, and gray value numeric string is the decimal system;
Value each in gray value numeric string is determined as a gray value by server, obtains multiple gray values;Server is pre- according to third
If rule and multiple gray values generate Target Photo, third preset rules indicate the specification of Target Photo.Wherein, gray value takes
Value range is 0-255.For example, if initial code character string is 11,111,111 11,111,010 11111010, corresponding gray value
Numeric string is 255 250 250, which is determined as a gray value, corresponding gray value is 255,250,250, if figure
The first row includes 3 gray values in piece specification, then generates Target Photo according to 3 gray values.
It is understood that gray value can also be generated according to RGB color value, formula is utilized: Gray=0.30*R+0.59*G
+ 0.11*B obtains gray value, and the process for obtaining generating after gray value Target Photo is similar, and details are not described herein again.
It should be noted that gray scale (Gray scale) digital picture is that each pixel only has one in computer field
The image of a sample color.This kind of image is typically shown as the gray scale from most furvous to most bright white, although theoretically this
A sampling can be with the different depths of any color, it might even be possible to be the different colours in different brightness.Gray level image and artwork master
As different, black white image only has two kinds of colors of black and white in computer picture field, and gray level image is gone back between black and white
There are many color depths of grade.But except digital image arts, " black white image " is also illustrated that " gray level image ", such as ash
The photo of degree is generally termed " black-and-white photograph ".Monochrome image is equal to gray level image in some articles about digital picture,
It is equal to black white image again in other article.The color of each pixel indicates with 16 bits, referred to as 16 bitmaps,
It can express 2 16 powers, i.e. 65536 kinds of colors.As each pixel indicates that we just cry it using 24 bits
24 bitmaps, it can express 2 24 powers, i.e. 16777216 kinds of colors.
205, Target Photo is saved, and Target Photo is established into binding relationship with corresponding target text.
Server saves Target Photo, and Target Photo is established binding relationship with corresponding target text.Work as server
Requirement is received again when being encrypted the target text being resolved to from front end and being transmitted to the signal on backstage, directly transfers guarantor
The Target Photo with target text binding deposited, is transmitted to backstage for the Target Photo.Processing progress can thus be accelerated, saved
Save process resource.
Optionally, after saving Target Photo, the Target Photo of generation can also be decrypted in server, specific mistake
Journey is as follows: server determines multiple RGB color values from Target Photo, and corresponding multiple integers are extracted from each RGB color value;
Corresponding multiple integers are converted to coding numeric string by server;Server is converted to corresponding initial code word for numeric string is encoded
Symbol string, and whole initial code character strings is continued to be converted to the text of corresponding decrypted text.
The embodiment of the present invention, obtains target text, and target text is the content of text of attachment;According to preset coding criterion
Target text is converted into initial code character string;Initial code character string is converted into multiple RGB according to the first preset rules
Color value;Picture specification is determined according to the second preset rules and multiple RGB color values, and Target Photo, figure are generated based on picture specification
Piece specification is used to indicate the line number and columns of RGB color value, and the second preset rules define the RGB color value number that same a line includes;
Target Photo is saved, and Target Photo is established into binding relationship with corresponding target text.By the upload attachment in webpage from text
This format is converted to picture format, avoids the content for uploading attachment from being stolen, improves the safety of webpage.It is same when encountering
When target text, treatment effeciency can be accelerated, save server resource.
The text conversion method in the embodiment of the present invention based on artificial intelligence is described above, below to the present invention
Text conversion device in embodiment based on artificial intelligence is described, referring to Fig. 3, being based on artificial intelligence in the embodiment of the present invention
Can one embodiment of text conversion device include:
Acquiring unit 301, for obtaining target text, the target text is the content of text of attachment;
First converting unit 302, for the target text to be converted to initial code word according to preset coding criterion
Symbol string;
Second converting unit 303, for the initial code character string to be converted to multiple RGB according to the first preset rules
Color value;
First generation unit 304, for determining picture specification according to the second preset rules and the multiple RGB color value, and
Target Photo is generated based on the picture specification, the picture specification is used to indicate the line number and columns of RGB color value, and described second
Preset rules define the RGB color value number that same a line includes.
The embodiment of the present invention, obtains target text, and target text is the content of text of attachment;According to preset coding criterion
Target text is converted into initial code character string;Initial code character string is converted into multiple RGB according to the first preset rules
Color value;Picture specification is determined according to the second preset rules and multiple RGB color values, and Target Photo, figure are generated based on picture specification
Piece specification is used to indicate the line number and columns of RGB color value, and the second preset rules define the RGB color value number that same a line includes.
Upload attachment in webpage is converted into picture format from text formatting, avoids the content for uploading attachment from being stolen, improves net
The safety of page.
Referring to Fig. 4, another embodiment of the text conversion device in the embodiment of the present invention based on artificial intelligence includes:
Acquiring unit 301, for obtaining target text, the target text is the content of text of attachment;
First converting unit 302, for the target text to be converted to initial code word according to preset coding criterion
Symbol string;
Second converting unit 303, for the initial code character string to be converted to multiple RGB according to the first preset rules
Color value;
First generation unit 304, for determining picture specification according to the second preset rules and the multiple RGB color value, and
Target Photo is generated based on the picture specification, the picture specification is used to indicate the line number and columns of RGB color value, and described second
Preset rules define the RGB color value number that same a line includes.
Optionally, the first converting unit 302 includes:
First conversion module 3021, for being converted the target text according to preset Unicode Unicode character set
For initial Unicode code-point, the initial Unicode code-point is hexadecimal;
First determining module 3022, for determining the byte quantity of the initial Unicode code-point;
Second conversion module 3023, for will be described initial according to the byte quantity and preset coding criterion
Unicode code-point is converted to initial code character string, and the initial code character string is binary system.
Optionally, the second conversion module 3023 is specifically used for:
Convert target Unicode code-point for the initial Unicode code-point, the target Unicode code-point be two into
System;If byte quantity be 1 byte, be set as 0 for first of byte, by the target Unicode code-point from back to front according to
Latter seven of secondary byte of padding, obtain binary initial code character string;If byte quantity is 2 bytes, by first
First 2 of byte are set as the 1, the 3rd and are set as 0, and the front two of remaining 1 byte is set as 10, by the target Unicode code
Point is sequentially filled other binary digits from back to front, obtains binary initial code character string;If byte quantity is 3 words
Section, then be all set as the 1, the 4th for first 3 of first character section and be set as 0, and the front two of remaining 2 bytes is set as 10, will be described
Target Unicode code-point is sequentially filled other binary digits from back to front, obtains binary initial code character string;If byte
Quantity is 4 bytes, then is all set as the 1, the 5th for first 4 of first character section and is set as 0, the front two of remaining 3 bytes is set
It is 10, the target Unicode code-point is sequentially filled other binary digits from back to front, obtains binary initial code word
Symbol string.
Optionally, the second converting unit 303 is specifically used for:
The initial code character string is converted into RGB numeric string by JavaScript, the RGB numeric string be ten into
System;Three values continuous in the RGB numeric string are determined as to the pixel value of a RGB color value according to the first preset rules;
To multiple RGB color values.
Optionally, the first generation unit 304 is specifically used for:
Determine that picture specification, second preset rules define the RGB color that same a line includes according to the second preset rules
It is worth number;It determines the character order in the target text, obtains the first sequence;It is advised according to first sequence and the picture
The multiple RGB color value carry out sequence arrangement is obtained image parameters by lattice, the image parameters include RGB color value line number and
Columns;Target Photo is generated according to the image parameters.
Optionally, based on the text conversion device of artificial intelligence further include:
Third converting unit 305, for the initial code character string to be converted to gray value number by JavaScript
Word string, the gray value numeric string are the decimal system;
Determination unit 306 obtains multiple ashes for each value in the gray value numeric string to be determined as a gray value
Angle value;
Second generation unit 307, it is described for generating Target Photo according to third preset rules and the multiple gray value
Third preset rules indicate the specification of the Target Photo.
Optionally, based on the text conversion device of artificial intelligence further include:
Binding unit 308 is saved, for saving the Target Photo, and by the Target Photo and the corresponding target
Text establishes binding relationship.
The embodiment of the present invention, obtains target text, and target text is the content of text of attachment;According to preset coding criterion
Target text is converted into initial code character string;Initial code character string is converted into multiple RGB according to the first preset rules
Color value;Picture specification is determined according to the second preset rules and multiple RGB color values, and Target Photo, figure are generated based on picture specification
Piece specification is used to indicate the line number and columns of RGB color value, and the second preset rules define the RGB color value number that same a line includes;
Target Photo is saved, and Target Photo is established into binding relationship with corresponding target text.By the upload attachment in webpage from text
This format is converted to picture format, avoids the content for uploading attachment from being stolen, improves the safety of webpage.It is same when encountering
When target text, treatment effeciency can be accelerated, save server resource.
Angle of the above figure 3 to Fig. 4 from modular functionality entity is to the text based on artificial intelligence in the embodiment of the present invention
This conversion equipment is described in detail, below from the angle of hardware handles in the embodiment of the present invention based on the text of artificial intelligence
Conversion equipment is described in detail.
Fig. 5 is a kind of structural schematic diagram of text conversion equipment based on artificial intelligence provided in an embodiment of the present invention, should
Text conversion equipment 500 based on artificial intelligence can generate bigger difference because configuration or performance are different, may include one
A or more than one processor (central processing units, CPU) 501 is (for example, one or more are handled
Device) and memory 509, one or more storage application programs 507 or data 506 storage medium 508 (such as one or
More than one mass memory unit).Wherein, memory 509 and storage medium 508 can be of short duration storage or persistent storage.It deposits
Storage may include one or more modules (diagram does not mark) in the program of storage medium 508, and each module may include
To the series of instructions operation in the text conversion equipment based on artificial intelligence.Further, processor 501 can be set to
It communicates, is executed in the text conversion equipment 500 based on artificial intelligence a series of in storage medium 508 with storage medium 508
Instruction operation.
Text conversion equipment 500 based on artificial intelligence can also include one or more power supplys 502, one or one
A above wired or wireless network interface 503, one or more input/output interfaces 504, and/or, one or one with
Upper operating system 505, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD etc..Those skilled in the art
Member is not it is appreciated that the text conversion device structure based on artificial intelligence shown in Fig. 5 is constituted to based on artificial intelligence
The restriction of text conversion equipment may include perhaps combining certain components or different than illustrating more or fewer components
Component layout.Processor 501 can execute acquiring unit 301 in above-described embodiment, the first converting unit 302, second conversion list
First 303, first generation unit 304, third converting unit 305, determination unit 306, the second generation unit 307 and preservation binding are single
The function of member 308.
It is specifically introduced below with reference to each component parts of the Fig. 5 to the text conversion equipment based on artificial intelligence:
Processor 501 is the control centre of the text conversion equipment based on artificial intelligence, can be according to setting based on people
The text conversion method of work intelligence is handled.Processor 501 is entirely based on artificial intelligence using various interfaces and connection
Text conversion equipment various pieces, by running or executing the software program and/or module that are stored in memory 509,
And the data being stored in memory 509 are called, execute various functions and the place of the text conversion equipment based on artificial intelligence
Data are managed, so that the upload attachment in webpage is converted to picture format from text formatting, avoid the content for uploading attachment stolen
It takes, improves the safety of webpage.Storage medium 508 and memory 509 are all the carrier of storing data, the embodiment of the present invention
In, storage medium 508 can refer to that storage volume is smaller, but fireballing built-in storage, and memory 509 can be storage and hold
Amount is big, but the external memory that storage speed is slow.
Memory 509 can be used for storing software program and module, and processor 501 is stored in memory 509 by operation
Software program and module, thereby executing the various function application and number of the text conversion equipment 500 based on artificial intelligence
According to processing.Memory 509 can mainly include storing program area and storage data area, wherein storing program area can store operation system
Application program needed for system, at least one function (for example be converted to the initial code character string according to the first preset rules
Multiple RGB color values) etc.;Storage data area, which can be stored, uses created number according to the text conversion equipment based on artificial intelligence
According to (such as Target Photo etc.) etc..In addition, memory 509 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.In this hair
The text conversion method program based on artificial intelligence provided in bright embodiment stores in memory with the data flow received,
When it is desired to be used, processor 501 is called from memory 509.
When loading on computers and executing the computer program instructions, entirely or partly generate according to of the invention real
Apply process described in example or function.The computer can be general purpose computer, special purpose computer, computer network or its
His programmable device.The computer instruction may be stored in a computer readable storage medium, or can from a computer
Read storage medium transmitted to another computer readable storage medium, for example, the computer instruction can from a web-site,
Computer, server or data center pass through wired (such as coaxial cable, optical fiber, twisted pair) or wireless (such as infrared, nothing
Line, microwave etc.) mode transmitted to another web-site, computer, server or data center.It is described computer-readable
Storage medium can be any usable medium that computer can store or include that one or more usable mediums are integrated
The data storage devices such as server, data center.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, magnetic
Band), optical medium (for example, CD) or semiconductor medium (such as solid state hard disk (solid state disk, SSD)) etc..
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in embodiments of the present invention can integrate in one processing unit, it is also possible to each
A unit physically exists alone, and can also be integrated in one unit with two or more units.Above-mentioned integrated unit was both
It can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention
Portion or part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (read-only memory,
ROM), random access memory (random access memory, RAM), magnetic or disk etc. are various can store program
The medium of code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before
Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of text conversion method based on artificial intelligence characterized by comprising
Target text is obtained, the target text is the content of text of attachment;
The target text is converted into initial code character string according to preset coding criterion;
The initial code character string is converted into multiple RGB color values according to the first preset rules;
Picture specification is determined according to the second preset rules and the multiple RGB color value, and target is generated based on the picture specification
Picture, the picture specification are used to indicate the line number and columns of RGB color value, and second preset rules define same a line and include
RGB color value number.
2. the text conversion method according to claim 1 based on artificial intelligence, which is characterized in that described according to preset
The target text is converted to initial code character string by coding criterion
The target text is converted into initial Unicode code-point according to preset Unicode Unicode character set, it is described initial
Unicode code-point is hexadecimal;
Determine the byte quantity of the initial Unicode code-point;
The initial Unicode code-point is converted into initial code character according to the byte quantity and preset coding criterion
String, the initial code character string are binary system.
3. the text conversion method according to claim 2 based on artificial intelligence, which is characterized in that described according to the word
The initial Unicode code-point is converted to initial code character string, the initial code by joint number amount and preset coding criterion
Character string is binary system, comprising:
Target Unicode code-point is converted by the initial Unicode code-point, the target Unicode code-point is binary system;
If byte quantity be 1 byte, be set as 0 for first of byte, by the target Unicode code-point from back to front according to
Latter seven of secondary byte of padding, obtain binary initial code character string;
If byte quantity is 2 bytes, the 1, the 3rd is all set as by first 2 of first character section and is set as 0, remaining 1 byte
Front two be set as 10, the target Unicode code-point is sequentially filled other binary digits from back to front, is obtained binary
Initial code character string;
If byte quantity is 3 bytes, the 1, the 4th is all set as by first 3 of first character section and is set as 0, remaining 2 bytes
Front two be set as 10, the target Unicode code-point is sequentially filled other binary digits from back to front, is obtained binary
Initial code character string;
If byte quantity is 4 bytes, the 1, the 5th is all set as by first 4 of first character section and is set as 0, remaining 3 bytes
Front two be set as 10, the target Unicode code-point is sequentially filled other binary digits from back to front, is obtained binary
Initial code character string.
4. the text conversion method according to claim 1 based on artificial intelligence, which is characterized in that described pre- according to first
If the initial code character string is converted to multiple RGB color values and includes: by rule
The initial code character string is converted into RGB numeric string by JavaScript, the RGB numeric string is the decimal system;
Three values continuous in the RGB numeric string are determined as to the pixel value of a RGB color value according to the first preset rules;
Obtain multiple RGB color values.
5. the text conversion method according to claim 1 based on artificial intelligence, which is characterized in that described pre- according to second
If rule and the multiple RGB color value determine picture specification, and generate Target Photo, the picture rule based on the picture specification
Lattice are used to indicate the line number and columns of RGB color value, and second preset rules define the RGB color value number packet that same a line includes
It includes:
Determine that picture specification, second preset rules define the RGB color value that same a line includes according to the second preset rules
Number;
It determines the character order in the target text, obtains the first sequence;
According to first sequence and the picture specification by the multiple RGB color value carry out sequence arrangement, image parameters are obtained,
The image parameters include the line number and columns of RGB color value;
Target Photo is generated according to the image parameters.
6. any text conversion method based on artificial intelligence in -5 according to claim 1, which is characterized in that described
After the target text is converted to initial code character string according to preset coding criterion, the method also includes:
The initial code character string is converted into gray value numeric string by JavaScript, the gray value numeric string is ten
System;
Each value in the gray value numeric string is determined as a gray value, obtains multiple gray values;
Target Photo is generated according to third preset rules and the multiple gray value, the third preset rules indicate the target
The specification of picture.
7. any text conversion method based on artificial intelligence in -5 according to claim 1, which is characterized in that the side
Method further include:
The Target Photo is saved, and the Target Photo is established into binding relationship with the corresponding target text.
8. a kind of text conversion device based on artificial intelligence characterized by comprising
Acquiring unit, for obtaining target text, the target text is the content of text of attachment;
First converting unit, for the target text to be converted to initial code character string according to preset coding criterion;
Second converting unit, for the initial code character string to be converted to multiple RGB color values according to the first preset rules;
First generation unit, for determining picture specification according to the second preset rules and the multiple RGB color value, and based on described
Picture specification generates Target Photo, and the picture specification is used to indicate the line number and columns of RGB color value, second preset rules
Define the RGB color value number that same a line includes.
9. a kind of text conversion equipment based on artificial intelligence, which is characterized in that including memory, processor and be stored in described
On memory and the computer program that can run on the processor, the processor are realized when executing the computer program
The text conversion method based on artificial intelligence as described in any one of claim 1-7.
10. a kind of computer readable storage medium, which is characterized in that including instruction, when described instruction is run on computers,
So that computer executes the text conversion method based on artificial intelligence as described in any one of claim 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910634186.9A CN110515892A (en) | 2019-07-15 | 2019-07-15 | Text conversion method, device, equipment and storage medium based on artificial intelligence |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910634186.9A CN110515892A (en) | 2019-07-15 | 2019-07-15 | Text conversion method, device, equipment and storage medium based on artificial intelligence |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110515892A true CN110515892A (en) | 2019-11-29 |
Family
ID=68623612
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910634186.9A Pending CN110515892A (en) | 2019-07-15 | 2019-07-15 | Text conversion method, device, equipment and storage medium based on artificial intelligence |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110515892A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102339277A (en) * | 2011-09-16 | 2012-02-01 | 广州市动景计算机科技有限公司 | Method and system for converting text content into picture content |
US20140358517A1 (en) * | 2013-06-03 | 2014-12-04 | Samsung Electronics Co., Ltd. | Method for providing text conversion service and electronic device thereof |
CN105138932A (en) * | 2015-08-18 | 2015-12-09 | 上海创功通讯技术有限公司 | Text display method, text display device, and mobile terminal |
CN106776677A (en) * | 2016-10-25 | 2017-05-31 | 腾讯科技(深圳)有限公司 | Document conversion method, device and document transmission system |
CN108111858A (en) * | 2016-11-24 | 2018-06-01 | 腾讯科技(深圳)有限公司 | A kind of picture compression method and device |
-
2019
- 2019-07-15 CN CN201910634186.9A patent/CN110515892A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102339277A (en) * | 2011-09-16 | 2012-02-01 | 广州市动景计算机科技有限公司 | Method and system for converting text content into picture content |
US20140358517A1 (en) * | 2013-06-03 | 2014-12-04 | Samsung Electronics Co., Ltd. | Method for providing text conversion service and electronic device thereof |
CN105138932A (en) * | 2015-08-18 | 2015-12-09 | 上海创功通讯技术有限公司 | Text display method, text display device, and mobile terminal |
CN106776677A (en) * | 2016-10-25 | 2017-05-31 | 腾讯科技(深圳)有限公司 | Document conversion method, device and document transmission system |
CN108111858A (en) * | 2016-11-24 | 2018-06-01 | 腾讯科技(深圳)有限公司 | A kind of picture compression method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104199927B (en) | Data processing method and data processing equipment | |
CN104753540B (en) | Data compression method, data decompression method and apparatus | |
CN105160033B (en) | The processing method and processing device of expression character string | |
CN108111858B (en) | Picture compression method and device | |
CN105553937B (en) | The system and method for data compression | |
CN105207678A (en) | Hardware realizing system for improved LZ4 compression algorithm | |
CN107561564B (en) | A kind of compression implementation method of big-dipper satellite information transmission | |
WO2011109252A2 (en) | Compressing source code written in a scripting language | |
WO2015029329A1 (en) | Data decompression utilizing pre-expanded dictionaries during decompression | |
CN104199951B (en) | Web page processing method and device | |
CN110505218B (en) | Grid data self-adaptive compression transmission method based on JSON and computer storage medium | |
CN110046331A (en) | Data-encoding scheme and device, storage medium, electronic device | |
CN105282124A (en) | Transmission method and presentation method of progressive picture based on XMPP | |
CN110704813A (en) | Character anti-piracy system based on character recoding | |
Abas et al. | Increasing data storage of coloured QR code using compress, multiplexing and multilayered technique | |
WO2012058212A2 (en) | Coding order-independent collections of words | |
CN110515892A (en) | Text conversion method, device, equipment and storage medium based on artificial intelligence | |
CN107491689A (en) | A kind of password cracking method and apparatus | |
CN116405692A (en) | Transmission method based on cloud matting and related equipment | |
CN106548010B (en) | A kind of method and device of DICOM image remote browse | |
Rachmawati et al. | Combination of huffman coding compression algorithm and least significant bit method for image hiding | |
WO2015052967A1 (en) | Server device, client device, information processing method, and recording medium | |
CN115643040A (en) | Data exchange method based on encrypted color two-dimensional code | |
CN106850504B (en) | Harmful code detection method and device based on HTTP static compress data flow | |
CN102801430B (en) | Compression algorithm for Chinese parameters of URL |
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 |