CN108776607A - Sectional drawing generation method, device, computer equipment and storage medium - Google Patents

Sectional drawing generation method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN108776607A
CN108776607A CN201810426867.1A CN201810426867A CN108776607A CN 108776607 A CN108776607 A CN 108776607A CN 201810426867 A CN201810426867 A CN 201810426867A CN 108776607 A CN108776607 A CN 108776607A
Authority
CN
China
Prior art keywords
array
default
steganography
character
environmental parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810426867.1A
Other languages
Chinese (zh)
Inventor
许剑勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201810426867.1A priority Critical patent/CN108776607A/en
Publication of CN108776607A publication Critical patent/CN108776607A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

This application involves a kind of sectional drawing generation method, device, computer equipment and storage mediums.The method includes:Receive sectional drawing instruction;The bitmap pixels point array for obtaining current interface is instructed according to sectional drawing, and obtains the page iden-tity of the current application page;Search the corresponding environmental parameter to be obtained of page iden-tity;The corresponding environmental parameter value of environmental parameter to be obtained is obtained, environmental parameter value is converted into standard character array;Bitmap pixels point array is written into standard character array according to default steganography logic, current interface sectional drawing is generated according to the bitmap pixels point array after write-in standard character array.It can be improved using abnormal problem reason location efficiency using this method.

Description

Sectional drawing generation method, device, computer equipment and storage medium
Technical field
This application involves field of computer technology, more particularly to a kind of sectional drawing generation method, device, computer equipment and Storage medium.
Background technology
User encounters the situation of application operation exception sometimes when using application product, and user wants to solve abnormal ask When topic, the five application page for abnormal conditions occur typically is subjected to sectional drawing and is sent to product contact staff, but contact staff Simply by virtue of page screenshot it is difficult to find out the producing cause of abnormal problem, also need to link up with user after receiving page screenshot And understand more detailed information, such as apply the running environment information of place terminal.Therefore, fixed in progress abnormal problem reason When position, generally requires both sides and link up confirmation repeatedly, working efficiency is very low.
Invention content
Based on this, it is necessary to which in view of the above technical problems, providing one kind can improve using abnormal problem reason positioning effect Sectional drawing generation method, device, computer equipment and the storage medium of rate.
A kind of sectional drawing generation method, the method includes:
Receive sectional drawing instruction;
The bitmap pixels point array for obtaining current interface is instructed according to the sectional drawing, and obtains the page of the current application page Mark;
Search the corresponding environmental parameter to be obtained of the page iden-tity;
The corresponding environmental parameter value of the environmental parameter to be obtained is obtained, the environmental parameter value is converted into standard character Array;
The bitmap pixels point array is written into the standard character array according to default steganography logic, according to write-in Bitmap pixels point array after standard character array generates current interface sectional drawing.
It is described in one of the embodiments, that the environmental parameter value is converted into standard character array, including:
The number of characters for including in the environmental parameter value is counted, the number of characters is converted into binary-coded character number;
The environmental parameter value is converted into binary system environmental parameter array;
It obtains and presets head character and default trailing character, according to the default head character, the binary-coded character number, described two System environmental parameter array and the default trailing character generate standard character array.
It is described in one of the embodiments, that the bitmap is written into the standard character array according to default steganography logic Pixel array, including:
It obtains and presets steganography position, corresponding with the default steganography position the is searched from the bitmap pixels point array One array of pixels;
The character in the standard character array is read according to preset order, and passes through the read standard character number Character in replaces the ultimate character of each byte in first array of pixels one by one.
In one of the embodiments, it is described obtain preset steganography position, from the bitmap pixels point array search with Corresponding first array of pixels in the default steganography position, including:
Obtain the control location and steganography row for presetting steganography control;
The first pixel number corresponding with the control location and the steganography row is searched from the bitmap pixels point array Group.
It is described in one of the embodiments, that the bitmap is written into the standard character array according to default steganography logic Pixel array, including:
Search data processing rule corresponding with the page iden-tity;
Data processing is carried out to the standard character array according to the data processing rule;
The standard character array steganography Jing Guo data processing is entered into the bitmap pixels point array according to default steganography logic In.
It is described in one of the embodiments, that data are carried out to the standard character array according to the data processing rule Processing, including:
When the data processing rule is compression processing, the first default identifier is obtained;
The standard character array is compressed according to default compress mode, by the described first default identifier write-in warp In the standard character array of overcompression processing.
It is described in one of the embodiments, that data are carried out to the standard character array according to the data processing rule Processing, including:
When the data processing rule is encryption, the second default identifier is obtained;
The standard character array is encrypted according to predetermined encryption mode, by the described second default identifier write-in warp It crosses in the standard character array of encryption.
A kind of sectional drawing generating means, described device include:
Command reception module, for receiving sectional drawing instruction;
Identifier acquisition module for instructing the bitmap pixels point array for obtaining current interface according to the sectional drawing, and obtains The page iden-tity of the current application page;
Parameter searching module, for searching the corresponding environmental parameter to be obtained of the page iden-tity;
Parameter Switch module joins the environment for obtaining the corresponding environmental parameter value of the environmental parameter to be obtained Numerical value conversion is at standard character array;
Sectional drawing generation module, for the bit image vegetarian refreshments to be written in the standard character array according to default steganography logic Array generates current interface sectional drawing according to the bitmap pixels point array after the write-in standard character array.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing The step of device realizes the above method when executing the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor The step of above method is realized when row.
Above-mentioned sectional drawing generation method, device, computer equipment and storage medium, after receiving sectional drawing instruction, according to sectional drawing The parameter value of the corresponding environmental parameter to be obtained in application page face in current interface is searched in instruction, and obtains current interface bitmap Environmental parameter value steganography is entered bitmap pixels point array by the pixel array of image, and according to the position of write-in ambient parameter information The sectional drawing that image vegetarian refreshments array generates current interface can parse end after sectional drawing is sent to staff from sectional drawing The environmental parameter at end combines sectional drawing and ambient parameter information quickly to find out using abnormal reason, avoids convenient for staff The communication repeatedly of staff and user, improves the location efficiency of abnormal cause.
Description of the drawings
Fig. 1 is the flow diagram of sectional drawing generation method in one embodiment;
Fig. 2 is the flow diagram of array switch process in one embodiment;
Fig. 3 is the structure diagram of sectional drawing generating means in one embodiment;
Fig. 4 is the internal structure chart of one embodiment Computer equipment.
Specific implementation mode
It is with reference to the accompanying drawings and embodiments, right in order to make the object, technical solution and advantage of the application be more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Herein, first and second etc relational terms are used merely to distinguish an entity or action and another reality Body or action, and not necessarily require or imply any actual this relationship or sequence between this entity or action.
In one embodiment, as shown in Figure 1, providing a kind of sectional drawing generation method, this method can be applied to terminal, Terminal, which can be, but not limited to, to be various personal computers, laptop, smart mobile phone, tablet computer and portable wearable sets Standby, this approach includes the following steps:
Step 110, sectional drawing instruction is received.
User can carry out terminal shot operation and carry out sectional drawing to current interface, and different terminals has different preset Shot operation, if any terminal be provided with sectional drawing shortcut key, some terminals are provided with sectional drawing gesture, its other party of some terminal profiles The shot operation of formula.Current interface can be current page either current active window, according to the sectional drawing mode of terminal itself To determine.After terminal detects the shot operation that user makes, sectional drawing instruction is received, sectional drawing instruction is used to indicate terminal and carries out pair Current interface carries out sectional drawing.
Step 120, the bitmap pixels point array for obtaining current interface is instructed according to sectional drawing, and obtains the current application page Page iden-tity.
After test terminal receives sectional drawing instruction, the bitmap pixels point array for obtaining current interface is instructed according to sectional drawing, and Obtain the page iden-tity of the page of the application program shown in current interface.
Wherein, bitmap pixels point array is the array being made of the colour bits of each pixel in current page, color page In each pixel be made of again multiple Color Channels, each Color Channel of each pixel is using bit GRB codings, CYMK codings or other coding modes may be used in the color coding of mark, terminal interface, with specific reference to terminal Or depending on the color coding mode of application program.As RGB coding modes share 4 Color Channels, including red channel, green channel and Blue channel and transparency channel, then the color of each pixel be made of altogether 4 colour bits.Page iden-tity is used for application program Each five application page carry out unique mark, page iden-tity can be page code, number etc..
The bitmap pixels point array that the included sectional drawing mode of system obtains the bitmap images of current interface may be used in terminal, What it is such as terminal installation is Android system, and under Android system, terminal may be used the common screenshotss method of Android system, roll and cut Screen method, Scrollview screenshotss methods, the modes such as Listview screenshotss method and RecyclerView screenshotss methods, which generate, to be worked as The bitmap images of the preceding application program page obtain bitmap pixels point array.
Step 130, the corresponding environmental parameter to be obtained of page iden-tity is searched.
Environmental parameter to be obtained is for the current application program page, and staff's needs obtain when user uploads sectional drawing The environmental information of terminal, environmental parameter to be obtained can include but is not limited to terminal models, system version, the geography residing for terminal Position, application program the environmental informations such as version number, the different application program pages needs the environmental parameter obtained also poor It is different, if any five application page need to only obtain terminal models, some application programs may need to obtain terminal geographic position, using journey Multiple environmental parameters such as sequence version number.The mapping relations of environmental parameter and page iden-tity to be obtained are stored in advance in application package In, after terminal installs application program, the mapping relations of environmental parameter and page iden-tity to be obtained are obtained from application package, eventually End the corresponding environmental parameter to be obtained of the current application page is searched by page iden-tity.
Step 140, the corresponding environmental parameter value of environmental parameter to be obtained is obtained, environmental parameter value is converted into standard character Array.
The environmental parameter to be obtained that terminal is found is environmental parameter name, and terminal is searched according to the environmental parameter name found Corresponding environmental parameter value, environmental parameter name are corresponded with environmental parameter value one, and environmental parameter value has for environmental parameter The value of body.For example, " user identifier " environmental parameter can be expressed as " clientid=152467 ", wherein " clientid " For environmental parameter name, " 152467 " are corresponding environmental parameter value;For another example, " terminal models " environmental parameter can be expressed as " model=matepro ", wherein " model " is environmental parameter name, and " matepro " is environmental parameter value.
After terminal gets the corresponding environmental parameter value of all environmental parameters to be obtained, preset data transformation rule is obtained, Environmental parameter value is converted into standard character array according to preset data transformation rule.Preset data transformation rule is preset simultaneously It is stored in terminal.Preset data transformation rule can include but is not limited to the ordering rule of environmental parameter value, data format mark The rule etc. of standardization.All environmental parameter values are finally converted into the form of character array by terminal
Step 150, bitmap pixels point array is written into standard character array according to default steganography logic, according to write-in standard Bitmap pixels point array after character array generates current interface sectional drawing.
Terminal, which obtains, presets steganography logic, and it is that bitmap is written using steganography in standard character array to preset steganography logic The logic of pixel array.Information hiding can be entered in image using steganography, and does not interfere with the normal aobvious of image Show.Default steganography logic can be that the progress of the least significant bit of some or certain Color Channels is hidden in contraposition image vegetarian refreshments array It writes, other steganography modes can also be used.Terminal generates current according to the bitmap pixels point array after write-in standard character array The interface sectional drawing at interface.
After the sectional drawing that terminal obtains user sends instruction, the interface sectional drawing of generation can be sent to application program correspondence Server, image information has been previously stored in server and has read rule, after server receives interface sectional drawing, has been believed according to image Breath reads rule and parses standard character array from the sectional drawing of interface, obtains needing to obtain according to standard character array to obtain Terminal environments parameter value, apply abnormal cause so that staff searches according to sectional drawing and ambient parameter information.
In the present embodiment, it after terminal receives sectional drawing instruction, is instructed according to sectional drawing and searches application program in current interface The parameter value of the corresponding environmental parameter to be obtained of the page, and the pixel array of current interface bitmap images is obtained, environment is joined Numerical value steganography enters bitmap pixels point array, and generates current interface according to the bitmap pixels point array of write-in ambient parameter information Sectional drawing can parse the environmental parameter of terminal after sectional drawing is sent to staff from sectional drawing, be tied convenient for staff It closes sectional drawing and ambient parameter information is quickly found out using abnormal reason, avoid the communication repeatedly of staff and user, Improve the location efficiency of abnormal cause.
In one embodiment, as shown in Fig. 2, environmental parameter value to be converted into the array switch process of standard character array May include:
Step 210, number of characters is converted into binary-coded character number by the number of characters for including in statistical environment parameter value.
The quantity summation for the character for including in all environmental parameter values of terminal-pair is counted to obtain number of characters, and terminal obtains ASCII character conversion table, the number of characters that terminal obtains statistics is according to the binary system that ASCII character translation table is binary format Number of characters.
Step 220, environmental parameter value is converted into binary system environmental parameter array.
Terminal when environmental parameter value is converted, if environmental parameter value have it is multiple, by multiple environmental parameter values according to Preset order is ranked up, and the environmental parameter value after sequence, which is carried out assembling, generates parameter character string, will be in parameter character string Character is converted into the character of reference format, such as lowercase character is converted into upper case character.
Parameter character string is after reference format is handled, and terminal is by each character in parameter character string according to ASCII character Conversion table carries out corresponding conversion, is converted to the binary number of binary format, character " A " is such as converted into binary system "01100001".All characters in parameter character string are converted into binary number by terminal, to generate binary system environment ginseng Number.
Step 230, it obtains and presets head character and default trailing character, according to default head character, binary-coded character number, binary system Environmental parameter array and default trailing character generate standard character array.
Terminal, which obtains, presets head character and default trailing character, presets head character and default trailing character as the position of environmental parameter Identifier is respectively used to the starting and termination of marking environment parameter when bitmap pixels point array is written in environmental parameter, presets Some spcial characters may be used in head character and default trailing character, such as "!", " & " etc., terminal is by default head character and default tail word Symbol is also converted into binary number.
Terminal puts in order according to default by the default head character of binary format, default trailing character, binary-coded character number It is ranked up with binary system environmental parameter array, assembling is carried out after sequence and generates standard character array.Wherein default head character bit In the initial position of array, default trailing character is located at the end position of array, the position of binary-coded character and binary system environmental parameter Setting can adjust, and can customize according to specific needs.
In the present embodiment, it is added in the head and the tail of environmental parameter value and presets head character and default trailing character, can will cut After figure is sent to staff, when being parsed to sectional drawing, the initial position of environment-identification parameter can be facilitated.
In one embodiment, bitmap pixels point array is written into standard character array according to default steganography logic, including: It obtains and presets steganography position, the first array of pixels corresponding with default steganography position is searched from bitmap pixels point array;According to Preset order reads the character in standard character array, and replaces the one by one by the character in read standard character data The ultimate character of each byte in one array of pixels.
Since there are many pixel that an image is included, the data volume of bitmap pixels point array is very big, and needs to be written The data volume of the standard character array of image is smaller, therefore, need to only be carried out to the sub-fraction data in bit image vegetarian refreshments array Steganography.
In the present embodiment, developer in advance to application program setting steganography position, protect by the information for presetting steganography position There are in application package, terminal reads the default steganography position of the current application page from application package.It can be to application All five application pages of program are set as unified default steganography position, can also be by the default steganography position of the different application page Personal settings are carried out, default steganography position and page iden-tity are subjected to mapping storage, terminal can be searched according to page iden-tity To the corresponding default steganography position of five application page.Default steganography position may include the coordinate bit of preset steganography page area It sets, such as the upper and lower marginal position of the page, preset some region of position or other positions, is read according to specific data It writes and is set.
After terminal obtains default steganography position, searched from bitmap pixels point array corresponding with default steganography position First array of pixels.If for example, default steganography position is the coordinate of the pixel of page the first row and the second row, terminal is by preceding two The corresponding array of row pixel is extracted as the first array of pixels.Wherein, presetting in steganography position can also include to wait for steganography Color Channel information, such as preset Color Channel be red channel when, terminal only need to be by the corresponding pixel in default steganography position The array of the red channel of point extracts.Specific Color Channel is arranged and can be determined according to the length of environmental parameter character, If character length is smaller, such as less than preset characters length threshold when, can only extract the single Color Channel of pixel data, if Character length is larger, such as larger than preset characters length threshold when, the data of the multiple Color Channels of pixel can be extracted.
After terminal extracts the first array of pixels, the character in standard character array is read according to preset order, in advance If sequence can be putting in order for character, or the inverted order to put in order can also use other sequences, put in order And follow-up corresponding parameter reading order is arranged in advance by the developer of application program.Terminal is by the standard character data of reading In character replace the ultimate character of each byte in the first array of pixels one by one.Array is written in character " A " [11111111;00000000;00000000;11111111;00000000;00000000;00000000;00000000] for It illustrates, it is [01100001] that character " A ", which is converted into standard character array, reads standard character array by sequence and replaces number The array that the ultimate character of each byte obtains in group is [11111110;00000001;00000001;11111110; 00000000;00000000;00000000;00000001].
In the present embodiment, ambient parameter information is written to last position of the color data of each pixel, last Influence of the change of position to the final display color effect of image is very small, and naked eyes are difficult to observe, therefore writing information into figure The display effect of image is not interfered with when piece.
In one embodiment, it obtains and presets steganography position, searched and default steganography position from bitmap pixels point array Corresponding first array of pixels, including:Obtain the control location and steganography row for presetting steganography control;From bitmap pixels point array Search the first array of pixels corresponding with control location and steganography row.
In the present embodiment, it is the position in five application page in a certain control regions to preset steganography position, and terminal obtains pre- If the control mark and steganography row of steganography control, search the position coordinates for identifying corresponding control regions with control, according to position Coordinate determines the corresponding position coordinates of steganography row, and extracts the first pixel corresponding with steganography row from bitmap pixels point array Array, steganography row can be that a line may be multirow, and when there is multirow, multiple steganography rows can continuously can not also be continuous. For example, title bar control can be set default steganography control to, last column of title bar control or a few rows are set as hidden Row is write, default steganography control may be set to be other controls, be not specially limited herein.Under normal circumstances, in five application page The position of control is fixed, and data search and read-write are convenient for, and can improve steganography and the treatment effeciency of reading.
In one embodiment, the bitmap pixels are written in the standard character array according to default steganography logic to count Group can also include:Search data processing rule corresponding with page iden-tity;According to data processing rule to standard character array Carry out data processing;The standard character array steganography Jing Guo data processing is entered into bitmap pixels point array according to default steganography logic In.
After terminal obtains standard character array, data processing rule corresponding with page iden-tity, data processing rule are searched It is the rule of the processing to standard character array, may include the rules such as data compression, data processing, data processing rule can be with thing It is first set by Application developer, data processing rule storage corresponding with page iden-tity, different five application page can be set Different data processing rules is set, data processing rule can not also be arranged in some five application pages.Specifically, data processing rule It can be configured according to features such as data privacy, the data lengths of environmental parameter to be obtained.
Terminal advises standard character array into corresponding data processing, such as data processing according to the data processing rule of lookup Compression processing is carried out to standard character array when being then compression processing, when data processing rule is encryption to standard character Array is encrypted.Standard character array by data processing remains as the array of binary format, will pass through number Enter in bitmap pixels point array according to default steganography logic steganography according to the standard character array of processing, specific array steganography method It is referred to the mode described in above-described embodiment, details are not described herein.
In one embodiment, data processing is carried out to standard character array according to data processing rule, including:Work as data When processing rule is compression processing, the first default identifier is obtained;Standard character array is pressed according to default compress mode First default identifier is written in the standard character array Jing Guo compression processing for contracting.
In the present embodiment, when the data processing rule that terminal is found is compression processing, it is default that terminal obtains first Identifier, the first default identifier is for identifying compression processing.Terminal, which obtains, presets compress mode, will according to default compress mode Standard character array carries out compression processing, and zip compression processing modes may be used in default compress mode, can also use other numbers According to compression processing mode.In standard character array of the terminal by the first of acquisition the default identifier write-in Jing Guo compression processing.The The writing position of one default identifier can be arranged in advance, it is preferable that standard word is written in the first default identifier by terminal The head or tail portion for according with array judge to read after the service side convenient for application program receives sectional drawing and reads standard character array Whether the standard character array taken have passed through compression processing.After the service side of application program receives sectional drawing, if analytically obtain Default identifier-location in standard character array read the first default identifier, then first solves standard character array After compression processing, then therefrom obtain environmental parameter value.
In one embodiment, data processing is carried out to standard character array according to data processing rule, including:Work as data When processing rule is encryption, the second default identifier is obtained;Standard character array is added according to predetermined encryption mode It is close, in the standard character array by the second default identifier write-in Jing Guo encryption.
In the present embodiment, when the data processing rule that terminal is found is encryption, it is default that terminal obtains second Identifier, the second default identifier is for identifying encryption.Terminal obtains predetermined encryption mode, will according to predetermined encryption mode Standard character array is encrypted, and the modes such as symmetric cryptography or asymmetric encryption may be used in predetermined encryption mode, if adopting With symmetric cryptography mode, the cipher mode of symmetric cryptography 3des may be used.The second of acquisition default identifier is written terminal In standard character array by encryption.The writing position of second default identifier can be arranged in advance, it is preferable that The head or tail portion of standard character array is written in second default identifier by terminal, is cut convenient for service side's reception of application program After scheming and reading standard character array, judge whether the standard character array read have passed through encryption.The clothes of application program After business side receives sectional drawing, if the default identifier-location in the standard character array analytically obtained read the second pre- bidding Know symbol, then after standard character array being first decrypted, then therefrom obtains environmental parameter value.
In one embodiment, data processing is carried out to standard character array according to data processing rule, including:Work as data When processing rule is compresses encryption, obtains third and preset identifier;By standard character array according to default compress mode into Row compression, is encrypted further according to predetermined encryption mode, and third, which is preset identifier, is written the standard through overcompression encryption In character array.
In the present embodiment, when the data processing rule that terminal is found is compression encryption, terminal obtains third Default identifier, third preset identifier for identifying compression encryption.Terminal, which obtains, presets compress mode, according to default pressure Standard character array is carried out compression processing by contracting mode, and terminal obtains predetermined encryption mode, will be passed through according to predetermined encryption mode The standard character array of compression processing is encrypted.The second of acquisition default identifier write-in is passed through encryption by terminal Standard character array in.The writing position that third presets identifier can be arranged in advance, it is preferable that terminal is pre- by third If the head or tail portion of standard character array is written in identifier, the service side convenient for application program receives sectional drawing and reads standard After character array, judge whether the standard character array read have passed through compression encryption.The service side of application program receives After sectional drawing, if the default identifier-location in the standard character array analytically obtained read third and preset identifier, Standard character array is first decrypted, then after unziping it processing, then therefrom obtains environmental parameter value.
In the above-described embodiments, by carrying out compression processing to standard character array, it is possible to reduce environmental parameter to be obtained Data volume, reduce steganography work workload can improve data transmission by the way that standard character array is encrypted The safety of data in the process.
It should be understood that although each step in Fig. 1-2 flow charts is shown successively according to the instruction of arrow, this A little steps are not that the inevitable sequence indicated according to arrow executes successively.Unless expressly state otherwise herein, these steps It executes there is no the limitation of stringent sequence, these steps can execute in other order.Moreover, at least one in Fig. 1-2 May include that either these sub-steps of multiple stages or stage are held in synchronization to multiple sub-steps step by step Row is completed, but can be executed at different times, the execution sequence in these sub-steps or stage be also not necessarily successively into Row, but can either the sub-step of other steps or at least part in stage are held in turn or alternately with other steps Row.
In one embodiment, as shown in figure 3, providing a kind of sectional drawing generating means, including:Command reception module 310, Identifier acquisition module 320, parameter searching module 330, Parameter Switch module 340 and sectional drawing generation module 350, wherein:
Command reception module 310, for receiving sectional drawing instruction.
Identifier acquisition module 320 for instructing the bitmap pixels point array for obtaining current interface according to sectional drawing, and obtains and works as The page iden-tity of preceding five application page.
Parameter searching module 330, for searching the corresponding environmental parameter to be obtained of page iden-tity.
Parameter Switch module 340 turns environmental parameter value for obtaining the corresponding environmental parameter value of environmental parameter to be obtained Change standard character array into.
Sectional drawing generation module 350, for bitmap pixels point array to be written in standard character array according to default steganography logic, Current interface sectional drawing is generated according to the bitmap pixels point array after write-in standard character array.
In one embodiment, Parameter Switch module 340 may include:
Character statistical module, the number of characters for including in statistical environment parameter value, binary word is converted by number of characters Accord with number.
Parameter binary transforming module, for environmental parameter value to be converted into binary system environmental parameter array.
Data combination module, for obtaining default head character and default trailing character, according to default head character, binary-coded character Number, binary system environmental parameter array and default trailing character generate standard character array.
In one embodiment, sectional drawing generation module 350 may include:
First array searching module, for obtaining default steganography position, from bitmap pixels point array search with preset it is hidden Corresponding first array of pixels of writing position.
Character replacement module, for reading the character in standard character array according to preset order, and by read Character in standard character data replaces the ultimate character of each byte in the first array of pixels one by one.
In one embodiment, the first array searching module may include:
Position acquisition module, the control location for obtaining default steganography control and steganography row.
Data search module, for searching the first picture corresponding with control location and steganography row from bitmap pixels point array Prime number group.
In one embodiment, sectional drawing generation module 350 may include:
Rule searching module is handled, for searching data processing rule corresponding with page iden-tity.
Data processing module, for carrying out data processing to standard character array according to data processing rule.
Steganography module, for the standard character array steganography Jing Guo data processing to be entered bit image according to default steganography logic In vegetarian refreshments array.
In one embodiment, data processing module may include:
First identifier accords with acquisition module, for when data processing rule is compression processing, obtaining the first default identifier.
Compression module, for compressing standard character array according to default compress mode, by the first default identifier It is written in the standard character array Jing Guo compression processing.
In one embodiment, data processing module may include:
Second identifier accords with acquisition module, for when data processing rule is encryption, obtaining the second default identifier.
Encrypting module, for standard character array to be encrypted according to predetermined encryption mode, by the second default identifier It is written in the standard character array Jing Guo encryption.
Specific about sectional drawing generating means limits the restriction that may refer to above for sectional drawing generation method, herein not It repeats again.Modules in above-mentioned sectional drawing generating means can be realized fully or partially through software, hardware and combinations thereof.On Stating each module can be embedded in or independently of in the processor in computer equipment, can also store in a software form in the form of hardware In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, a kind of computer equipment is provided, which can be terminal, internal structure Figure can be as shown in Figure 4.The computer equipment includes the processor connected by system bus, memory, network interface, display Screen and input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.The computer equipment is deposited Reservoir includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system and computer journey Sequence.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The network interface of machine equipment is used to communicate by network connection with external terminal.When the computer program is executed by processor with Realize a kind of sectional drawing generation method.The display screen of the computer equipment can be liquid crystal display or electric ink display screen, The input unit of the computer equipment can be the touch layer covered on display screen, can also be to be arranged on computer equipment shell Button, trace ball or Trackpad, can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Fig. 4, is only tied with the relevant part of application scheme The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment May include either combining certain components than more or fewer components as shown in the figure or being arranged with different components.
In one embodiment, a kind of computer equipment, including memory and processor are provided, which is stored with Computer program, the processor realize following steps when executing computer program:Receive sectional drawing instruction;It is instructed and is obtained according to sectional drawing The bitmap pixels point array of current interface, and obtain the page iden-tity of the current application page;Search that page iden-tity is corresponding waits obtaining Take environmental parameter;The corresponding environmental parameter value of environmental parameter to be obtained is obtained, environmental parameter value is converted into standard character array; Bitmap pixels point array is written into standard character array according to default steganography logic, according to the bitmap after write-in standard character array Pixel array generates current interface sectional drawing.It can be improved using abnormal problem reason location efficiency using this method.
In one embodiment, processor executes computer program realization and environmental parameter value is converted into standard character array When be additionally operable to realize following steps:Number of characters is converted into binary-coded character number by the number of characters for including in statistical environment parameter value; Environmental parameter value is converted into binary system environmental parameter array;It obtains and presets head character and default trailing character, according to default head word Symbol, binary-coded character number, binary system environmental parameter array and default trailing character generate standard character array.
In one embodiment, processor executes computer program and realizes standard character array according to default steganography logic It is additionally operable to realize following steps when bitmap pixels point array is written:It obtains and presets steganography position, looked into from bitmap pixels point array Look for the first array of pixels corresponding with default steganography position;The character in standard character array is read according to preset order, and is led to The character crossed in read standard character data replaces the ultimate character of each byte in the first array of pixels one by one.
In one embodiment, processor executes computer program and realizes that steganography position is preset in acquisition, from bit image vegetarian refreshments It is additionally operable to realize following steps when searching the first array of pixels corresponding with default steganography position in array:It obtains and presets steganography control The control location and steganography row of part;The first pixel number corresponding with control location and steganography row is searched from bitmap pixels point array Group.
In one embodiment, processor executes computer program and realizes standard character array according to default steganography logic It is additionally operable to realize following steps when bitmap pixels point array is written:Search data processing rule corresponding with page iden-tity;According to Data processing rule carries out data processing to standard character array;According to default steganography logic by the standard word Jing Guo data processing Symbol array steganography enters in bitmap pixels point array.
In one embodiment, processor executes computer program and realizes according to data processing rule to standard character array It carries out being additionally operable to realize following steps when data processing:When data processing rule is compression processing, the first default mark is obtained Symbol;Standard character array is compressed according to default compress mode, by the first default identifier write-in by compression processing In standard character array.
In one embodiment, processor executes computer program and realizes according to data processing rule to standard character array It carries out being additionally operable to realize following steps when data processing:When data processing rule is encryption, the second default mark is obtained Symbol;Standard character array is encrypted according to predetermined encryption mode, by the second default identifier write-in by encryption In standard character array.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program realizes following steps when being executed by processor:Receive sectional drawing instruction;The bitmap for obtaining current interface is instructed according to sectional drawing Pixel array, and obtain the page iden-tity of the current application page;Search the corresponding environmental parameter to be obtained of page iden-tity;It obtains The corresponding environmental parameter value of environmental parameter to be obtained, standard character array is converted by environmental parameter value;It is patrolled according to default steganography It collects and bitmap pixels point array is written into standard character array, generated according to the bitmap pixels point array after write-in standard character array Current interface sectional drawing.It can be improved using abnormal problem reason location efficiency using this method.
In one embodiment, computer program is executed by processor when environmental parameter value is converted into standard character array It is additionally operable to realize following steps:Number of characters is converted into binary-coded character number by the number of characters for including in statistical environment parameter value;It will Environmental parameter value is converted into binary system environmental parameter array;Obtain and preset head character and default trailing character, according to default head character, Binary-coded character number, binary system environmental parameter array and default trailing character generate standard character array.
In one embodiment, computer program, which is executed by processor, writes standard character array according to default steganography logic It is additionally operable to realize following steps when entering bitmap pixels point array:It obtains and presets steganography position, searched from bitmap pixels point array The first array of pixels corresponding with default steganography position;The character in standard character array is read according to preset order, and is passed through Character in read standard character data replaces the ultimate character of each byte in the first array of pixels one by one.
In one embodiment, computer program is executed by processor acquisition and presets steganography position, counts from bitmap pixels It is additionally operable to realize following steps when searching the first array of pixels corresponding with default steganography position in group:It obtains and presets steganography control Control location and steganography row;The first pixel number corresponding with control location and steganography row is searched from bitmap pixels point array Group.
In one embodiment, computer program, which is executed by processor, writes standard character array according to default steganography logic It is additionally operable to realize following steps when entering bitmap pixels point array:Search data processing rule corresponding with page iden-tity;According to number Data processing is carried out to standard character array according to processing rule;According to default steganography logic by the standard character Jing Guo data processing Array steganography enters in bitmap pixels point array.
In one embodiment, computer program be executed by processor according to data processing rule to standard character array into It is additionally operable to realize following steps when row data processing:When data processing rule is compression processing, the first default identifier is obtained; Standard character array is compressed according to default compress mode, the first default identifier is written to the standard Jing Guo compression processing In character array.
When computer program is executed by processor according to data processing rule to the progress data processing of standard character array also For realizing following steps:When data processing rule is encryption, the second default identifier is obtained;By standard character array It is encrypted according to predetermined encryption mode, in the standard character array by the second default identifier write-in Jing Guo encryption.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, Any reference to memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above example can be combined arbitrarily, to keep description succinct, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield is all considered to be the range of this specification record.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, under the premise of not departing from the application design, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the protection domain of the application patent should be determined by the appended claims.

Claims (10)

1. a kind of sectional drawing generation method, the method includes:
Receive sectional drawing instruction;
The bitmap pixels point array for obtaining current interface is instructed according to the sectional drawing, and obtains the page mark of the current application page Know;
Search the corresponding environmental parameter to be obtained of the page iden-tity;
The corresponding environmental parameter value of the environmental parameter to be obtained is obtained, the environmental parameter value is converted into standard character number Group;
The bitmap pixels point array is written into the standard character array according to default steganography logic, according to the write-in standard Bitmap pixels point array after character array generates current interface sectional drawing.
2. according to the method described in claim 1, it is characterized in that, described be converted into standard character number by the environmental parameter value Group, including:
The number of characters for including in the environmental parameter value is counted, the number of characters is converted into binary-coded character number;
The environmental parameter value is converted into binary system environmental parameter array;
It obtains and presets head character and default trailing character, according to the default head character, the binary-coded character number, the binary system Environmental parameter array and the default trailing character generate standard character array.
3. according to the method described in claim 1, it is characterized in that, it is described according to default steganography logic by the standard character number The bitmap pixels point array is written in group, including:
It obtains and presets steganography position, the first picture corresponding with the default steganography position is searched from the bitmap pixels point array Prime number group;
The character in the standard character array is read according to preset order, and by the read standard character data Character replace the ultimate character of each byte in first array of pixels one by one.
4. according to the method described in claim 3, it is characterized in that, described obtain presets steganography position, from the bitmap pixels The first array of pixels corresponding with the default steganography position is searched in point array, including:
Obtain the control location and steganography row for presetting steganography control;
The first array of pixels corresponding with the control location and the steganography row is searched from the bitmap pixels point array.
5. according to the method described in claim 1, it is characterized in that, it is described according to default steganography logic by the standard character number The bitmap pixels point array is written in group, including:
Search data processing rule corresponding with the page iden-tity;
Data processing is carried out to the standard character array according to the data processing rule;
The standard character array steganography Jing Guo data processing is entered in the bitmap pixels point array according to default steganography logic.
6. according to the method described in claim 5, it is characterized in that, it is described according to the data processing rule to the standard word It accords with array and carries out data processing, including:
When the data processing rule is compression processing, the first default identifier is obtained;
The standard character array is compressed according to default compress mode, by the described first default identifier write-in through overvoltage In the standard character array of processing that contracts.
7. according to the method described in claim 5, it is characterized in that, it is described according to the data processing rule to the standard word It accords with array and carries out data processing, including:
When the data processing rule is encryption, the second default identifier is obtained;
The standard character array is encrypted according to predetermined encryption mode, by the described second default identifier write-in by adding In the standard character array of close processing.
8. a kind of sectional drawing generating means, which is characterized in that described device includes:
Command reception module, for receiving sectional drawing instruction;
Identifier acquisition module for instructing the bitmap pixels point array for obtaining current interface according to the sectional drawing, and obtains current The page iden-tity of five application page;
Parameter searching module, for searching the corresponding environmental parameter to be obtained of the page iden-tity;
Parameter Switch module, for obtaining the corresponding environmental parameter value of the environmental parameter to be obtained, by the environmental parameter value It is converted into standard character array;
Sectional drawing generation module is counted for the bitmap pixels to be written in the standard character array according to default steganography logic Group generates current interface sectional drawing according to the bitmap pixels point array after the write-in standard character array.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In when the processor executes the computer program the step of any one of realization claim 1 to 7 the method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claim 1 to 7 is realized when being executed by processor.
CN201810426867.1A 2018-05-07 2018-05-07 Sectional drawing generation method, device, computer equipment and storage medium Pending CN108776607A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810426867.1A CN108776607A (en) 2018-05-07 2018-05-07 Sectional drawing generation method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810426867.1A CN108776607A (en) 2018-05-07 2018-05-07 Sectional drawing generation method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN108776607A true CN108776607A (en) 2018-11-09

Family

ID=64026908

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810426867.1A Pending CN108776607A (en) 2018-05-07 2018-05-07 Sectional drawing generation method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108776607A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110162487A (en) * 2019-04-15 2019-08-23 深圳壹账通智能科技有限公司 A kind of express statistic number of repetition method, apparatus and storage medium
CN110995954A (en) * 2019-10-11 2020-04-10 中国平安财产保险股份有限公司 Method and device for detecting picture steganography, computer equipment and storage medium
CN111309505A (en) * 2020-02-11 2020-06-19 北京三快在线科技有限公司 Page exception handling method and device and electronic equipment
CN113051615A (en) * 2021-04-07 2021-06-29 深圳哇哇鱼网络科技有限公司 Method, system and medium for preventing information leakage by background screen capture
CN116521198A (en) * 2023-04-13 2023-08-01 广州汽车集团股份有限公司 Data processing method, device, equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095660A (en) * 2016-06-14 2016-11-09 百度在线网络技术(北京)有限公司 The quality control method of application and device
CN106504179A (en) * 2016-10-31 2017-03-15 重庆邮电大学 A kind of gray level image steganography method based on rim detection
CN107818163A (en) * 2017-11-01 2018-03-20 平安科技(深圳)有限公司 Page display method, device, computer equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095660A (en) * 2016-06-14 2016-11-09 百度在线网络技术(北京)有限公司 The quality control method of application and device
CN106504179A (en) * 2016-10-31 2017-03-15 重庆邮电大学 A kind of gray level image steganography method based on rim detection
CN107818163A (en) * 2017-11-01 2018-03-20 平安科技(深圳)有限公司 Page display method, device, computer equipment and storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110162487A (en) * 2019-04-15 2019-08-23 深圳壹账通智能科技有限公司 A kind of express statistic number of repetition method, apparatus and storage medium
CN110995954A (en) * 2019-10-11 2020-04-10 中国平安财产保险股份有限公司 Method and device for detecting picture steganography, computer equipment and storage medium
CN110995954B (en) * 2019-10-11 2022-10-04 中国平安财产保险股份有限公司 Method and device for detecting picture steganography, computer equipment and storage medium
CN111309505A (en) * 2020-02-11 2020-06-19 北京三快在线科技有限公司 Page exception handling method and device and electronic equipment
CN111309505B (en) * 2020-02-11 2023-06-27 北京三快在线科技有限公司 Page exception handling method and device and electronic equipment
CN113051615A (en) * 2021-04-07 2021-06-29 深圳哇哇鱼网络科技有限公司 Method, system and medium for preventing information leakage by background screen capture
CN116521198A (en) * 2023-04-13 2023-08-01 广州汽车集团股份有限公司 Data processing method, device, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN108776607A (en) Sectional drawing generation method, device, computer equipment and storage medium
CN108512830B (en) Information encryption processing method and device, computer equipment and storage medium
CN108255566B (en) Data entry optimization processing method and device, computer equipment and storage medium
CN109767375A (en) The method and system of image watermark insertion and retrospect
CN111309226B (en) Terminal control method and device based on communication quality, terminal and computer equipment
CN106056530A (en) Method and device for displaying picture content in application
CN112070867A (en) Animation file processing method and device, computer readable storage medium and computer equipment
CN112070863A (en) Animation file processing method and device, computer readable storage medium and computer equipment
CN102647712A (en) Mobile phone data encryption method and decryption method
CN111222611B (en) Color-based stacked three-dimensional code encoding method, encoding device, decoding method, decoding device and storage medium
CN109543125B (en) Method and device for drawing network elements in power dispatching data network
CN111324248A (en) Terminal control method, terminal control device, terminal, computer equipment and storage medium
CN113411203B (en) Terminal configuration method and device, computer equipment and storage medium
CN111223155B (en) Image data processing method, device, computer equipment and storage medium
CN109992730B (en) Method, device, computer equipment and storage medium for generating active page URL
CN111324326B (en) Processing method and device for displaying software to one machine with multiple screens
CN105631985A (en) Entrance guard control system and method thereof
CN115576513A (en) Target image display method, display device, electronic device, and storage medium
CN109598137B (en) Method and system for safely processing data
CN104615941A (en) Fast encryption method and device for Android user partition and terminal equipment
CN105159479A (en) Handwriting input method and apparatus
CN113569114A (en) Visual display method and device for system data
CN113645486A (en) Video data processing method and device, computer equipment and storage medium
CN103260260B (en) A kind of method of mobile device accesses network and relevant apparatus and system
CN111815723A (en) Data encryption method and device

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
AD01 Patent right deemed abandoned

Effective date of abandoning: 20231208

AD01 Patent right deemed abandoned