[go: up one dir, main page]

CN106022151A - Information transmission method and device - Google Patents

Information transmission method and device Download PDF

Info

Publication number
CN106022151A
CN106022151A CN201610379387.5A CN201610379387A CN106022151A CN 106022151 A CN106022151 A CN 106022151A CN 201610379387 A CN201610379387 A CN 201610379387A CN 106022151 A CN106022151 A CN 106022151A
Authority
CN
China
Prior art keywords
file
information
view control
picture file
network view
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.)
Granted
Application number
CN201610379387.5A
Other languages
Chinese (zh)
Other versions
CN106022151B (en
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610379387.5A priority Critical patent/CN106022151B/en
Publication of CN106022151A publication Critical patent/CN106022151A/en
Application granted granted Critical
Publication of CN106022151B publication Critical patent/CN106022151B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/606Protecting data by securing the transmission between two devices or processes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to an information transmission method and device. The method includes the steps that when a loading request sent by a network view control is received in a local service, to-be-loaded information corresponding to the loading request is encoded into an image file by the local service through a preset encoding algorithm, and the to-be-loaded information is hidden in the image file; the image file is transmitted to the network view control through the local service; when the network view control receives the image file, the image file is decoded by the network view control through a preset decoding algorithm, wherein the preset decoding algorithm is a decoding algorithm corresponding to the preset encoding algorithm. Therefore, the to-be-loaded information is hidden in the image file and transmitted through the image file, it is avoided that an attacker directly reads the to-be-loaded information, and the safety of information transmission is improved.

Description

Information transferring method and device
Technical field
The application relates to communication technical field, particularly relates to information transferring method and device.
Background technology
Along with application program universal in intelligent terminal, intelligent terminal may browse through the page except browser Outward, more application program is set to have web page browsing function.Application setting can entered During the function of row web page access, can the most embedded network view control (Webview), Application program can be loaded and displayed page content by network view control from web server, it is possible to To load and displayed page content from local service.
For the message transmitting procedure of network view control Yu local service, webview according to IP address and Port numbers sends load request to local service, local service by outer net HTML (Hypertext Markup Language) (HTTP, Hyper Text Transfer Protocol) by data to be loaded transmission corresponding for load request to webview. Owing to http protocol transmits information with clear-text way, do not provide the data encryption of any mode, assailant Transmission information can be read by intercepting transmission message, thus cause potential safety hazard.Alternatively, it is also possible to adopt With security socket layer HTML (Hypertext Markup Language) (HTTPS, Hyper Text Transfer Protocol over Secure Socket Layer) it is transmitted, HTTPS can add SSL association on the basis of HTTP View, SSL relies on certificate to carry out the identity of authentication server, and adds for the communication between browser and server Close.But, owing to being local service, use local IP, private key is stored in this locality, assailant Private key can be obtained from this locality, thus cause the unsafe problem of information.
Summary of the invention
For overcoming problem present in correlation technique, present disclose provides information transferring method and device.
First aspect according to disclosure embodiment, it is provided that a kind of information transferring method, described method includes:
When receiving the load request that network view control sends in local service, by described local clothes Business utilizes pre-arranged code algorithm that information to be loaded corresponding for described load request is encoded into picture file, institute State and picture file is concealed with described information to be loaded;
By described local service by the transmission of described picture file to described network view control;
When described network view control receives described picture file, will by described network view control Described picture file is decoded according to default decoding algorithm, and described default decoding algorithm is that pre-arranged code is calculated The decoding algorithm that method is corresponding.
Optionally, described utilize pre-arranged code algorithm by corresponding for described load request information to be loaded coding Become picture file, including:
Information to be loaded corresponding for described load request is converted into multi-system file;
According to default number from the corresponding relation of color value by digital profits different in described multi-system file Replace by corresponding color value, it is thus achieved that picture file.
Optionally, the corresponding relation of number and color value that described basis is preset is by described multi-system file The different digital color value utilizing correspondence is replaced, it is thus achieved that picture file, including:
Described multi-system file is carried out shifting processing;
It is right to be utilized by numbers different in file after displacement from the corresponding relation of color value according to default number The color value answered is replaced, it is thus achieved that picture file.
Optionally, described described picture file is decoded according to default decoding algorithm, including:
Described picture file is converted into multi-system file by the corresponding relation according to described number Yu color value;
Described multi-system file is converted into binary file;
Described method also includes: the content in described binary file entered by described network view control Row renders, it is thus achieved that the page to be presented.
Optionally, described utilize pre-arranged code algorithm by corresponding for described load request information to be loaded coding Become picture file, including:
Information to be loaded corresponding for described load request is converted into multi-system file;
Described multi-system file is carried out shifting processing;
Utilize default Quick Response Code encryption algorithm that file after displacement is converted into Quick Response Code.
Optionally, described by the transmission of described picture file to described network view control, including:
Security socket layer HTML (Hypertext Markup Language) is utilized to transmit described picture file to network view control.
Second aspect according to disclosure embodiment, it is provided that a kind of information carrying means, including:
Coding module, is configured to receive the load request that network view control sends in local service Time, utilize pre-arranged code algorithm by information to be loaded corresponding for described load request by described local service It is encoded into picture file, described picture file is concealed with described information to be loaded;
Transport module, is configured to described local service by the transmission of described picture file to described network View control;
Decoder module, is configured to, when described network view control receives described picture file, pass through Described picture file is decoded by described network view control according to default decoding algorithm, described default solution Code algorithm is the decoding algorithm that pre-arranged code algorithm is corresponding.
Optionally, described coding module includes:
First multi-system transform subblock, is configured to receive network view control in local service and sends out During the load request sent, by described local service, information to be loaded corresponding for described load request is changed Become multi-system file;
First encoding submodule, is configured to described local service based on default number and color value Corresponding relation digital utilize corresponding color value to replace by different in described multi-system file, it is thus achieved that figure Sheet file.
Optionally, described first encoding submodule concrete configuration is:
By described local service, described multi-system file is carried out shifting processing, according to default number with The digital color value utilizing correspondence different in file after displacement is replaced by the corresponding relation of color value, it is thus achieved that Picture file.
Optionally, described decoder module includes:
Decoding sub-module, is configured to when described network view control receives described picture file, logical Cross described network view control to be changed by described picture file with the corresponding relation of color value based on described number Become multi-system file, described multi-system file is converted into binary file;
Described device also includes rendering module, is configured to described network view control and enters described two Content in file processed renders, it is thus achieved that the page to be presented.
Optionally, described coding module includes:
Second multi-system transform subblock, is configured to receive network view control in local service and sends out During the load request sent, by described local service, information to be loaded corresponding for described load request is changed Become multi-system file;
Displacement submodule, is configured to described local service and is carried out at displacement by described multi-system file Reason;
Second encoding submodule, is configured to described local service based on default Quick Response Code encryption algorithm File after displacement is converted into Quick Response Code.
Optionally, described transport module includes:
Transmission submodule, is configured to, with security socket layer HTML (Hypertext Markup Language) by described picture literary composition Part transmits to network view control.
The third aspect according to disclosure embodiment, it is provided that a kind of information carrying means, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
When receiving the load request that network view control sends in local service, by described local clothes Business utilizes pre-arranged code algorithm that information to be loaded corresponding for described load request is encoded into picture file, institute State and picture file is concealed with described information to be loaded;
By described local service by the transmission of described picture file to described network view control;
When described network view control receives described picture file, will by described network view control Described picture file is decoded according to default decoding algorithm, and described default decoding algorithm is that pre-arranged code is calculated The decoding algorithm that method is corresponding.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
The disclosure, when receiving the load request that network view control sends, utilizes pre-by local service If information to be loaded corresponding for load request is encoded into picture file by encryption algorithm, and is passed by picture file Transport to network view control, when network view control receives picture file, by network view control Picture file is decoded according to default decoding algorithm, thus realizes Information hiding to be loaded at picture In file, transmit information to be loaded by picture file, it is to avoid assailant directly reads information to be loaded, Improve the safety of transmission information.
The disclosure by being converted into multi-system file by information to be loaded, and according to default number and color The digital color value utilizing correspondence different in multi-system file is replaced by the corresponding relation of value, thus obtains There is the picture file of certain content, owing to assailant cannot confirm the number representated by each color value, Therefore cannot read information to be loaded, thus improve the safety of transmission information.
The disclosure can carry out shifting processing to multi-system file, owing to assailant cannot know multi-system File carried out shifting processing and mobile figure place and direction, therefore cannot obtain correct information to be loaded, Thus improve the safety of information to be loaded in transmitting procedure.
The disclosure without multi-system file is reduced to information to be loaded, thus improves decoding when decoding Efficiency, and directly by network view control, the content in binary file is rendered, it is not necessary to again Information to be loaded is converted to binary system, improves rendering efficiency.
Multi-system file is carried out shifting processing by the disclosure, and utilizes default Quick Response Code encryption algorithm to shift Rear file is converted into Quick Response Code, due to assailant cannot know multi-system file carried out shifting processing and Mobile figure place and direction, therefore assailant cannot obtain correct treating by general Quick Response Code decoding algorithm Load information, thus improve the safety of information to be loaded in transmitting procedure.
The disclosure utilizes security socket layer HTML (Hypertext Markup Language) to transmit picture file to network view control Part, thus improve the safety of information to be loaded in transmitting procedure.
It should be appreciated that it is only exemplary and explanatory that above general description and details hereinafter describe , the disclosure can not be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the disclosure Embodiment, and for explaining the principle of the disclosure together with description.
Fig. 1 is the disclosure flow chart according to a kind of information transferring method shown in an exemplary embodiment.
Fig. 2 is the disclosure block diagram according to a kind of information carrying means shown in an exemplary embodiment.
Fig. 3 is the disclosure block diagram according to the another kind of information carrying means shown in an exemplary embodiment.
Fig. 4 is the disclosure block diagram according to the another kind of information carrying means shown in an exemplary embodiment.
Fig. 5 is the disclosure block diagram according to the another kind of information carrying means shown in an exemplary embodiment.
Fig. 6 is the disclosure block diagram according to the another kind of information carrying means shown in an exemplary embodiment.
Fig. 7 is that the disclosure is according to a kind of block diagram for information carrying means shown in an exemplary embodiment.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Following retouches Stating when relating to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element. Embodiment described in following exemplary embodiment does not represent all embodiment party consistent with the disclosure Formula.On the contrary, they only with describe in detail in appended claims, the disclosure some in terms of mutually one The example of the apparatus and method caused.
The term used in the disclosure is only merely for describing the purpose of specific embodiment, and is not intended to be limiting this Open." a kind of ", " described " of singulative used in disclosure and the accompanying claims book and " it is somebody's turn to do " be also intended to include most form, unless context clearly shows that other implications.It is also understood that Term "and/or" used herein refer to and comprise any of one or more project of listing being associated or Likely combine.
Although should be appreciated that may use term first, second, third, etc. to describe various letter in the disclosure Breath, but these information should not necessarily be limited by these terms.These terms are only used for same type of information district each other Separately.Such as, without departing from the scope of this disclosure, the first information can also be referred to as the second information, Similarly, the second information can also be referred to as the first information.Depend on linguistic context, word as used in this " if " can be construed to " ... time " or " when ... time " or " in response to determining ".
Webview (network view control) is critically important assembly in Android and ios platform, in Android It is properly termed as Webview under platform, under ios platform, is properly termed as UI Webview.Webview is One subclass of View class, is used for showing the page.Using Webview, application program (app) can be embedded One simple and powerful browser is wherein.Webview provides a lot of application programming interface, permits Permitted the JavaScript code in the Java code invoking web page of application program, it is allowed to obtain the event letter of the other side Cease or change their event, on the contrary the most feasible.
Application program can be loaded and displayed page content by network view control, also from web server Can load from local service and displayed page content.Such as, for the app of PDF reader, at this When the app of the PDF reader on ground opens another local app content, need by network view control Access the local service in another local app, load and displayed page content from local service.
In the network view control message transmitting procedure with local service, webview is according to IP address and end Slogan sends load request to local service, and local service can be corresponding by load request by http protocol Data to be loaded transmission to webview.Owing to http protocol transmits information with clear-text way, assailant can To read transmission information by intercepting transmission message, thus cause potential safety hazard.Alternatively, it is also possible to use HTTPS agreement is transmitted, although improve the safety of transmission to a certain extent, but owing to this locality takes Using local IP in business, private key is stored in this locality, assailant can obtain private key from this locality, thus Cause the unsafe problem of information.
In order to avoid the unsafe problem of information in transmitting procedure, the disclosure provides a kind of information transferring method, The method passes through pre-arranged code algorithm by transmission Information hiding in picture file, thus ensure that transmitting procedure The safety of middle information.As it is shown in figure 1, Fig. 1 is that the disclosure is according to the one shown in an exemplary embodiment The flow chart of information transferring method, the method may be used for, in terminal, comprising the following steps:
In a step 101, when local service receives the load request that network view control sends, logical Crossing described local service utilizes pre-arranged code algorithm that information to be loaded corresponding for described load request is encoded into figure Sheet file, is concealed with described information to be loaded in described picture file.
In a step 102, by described local service by the transmission extremely described network view control of described picture file Part.
In step 103, when described network view control receives described picture file, by described net Described picture file is decoded by network view control according to default decoding algorithm, and described default decoding algorithm is The decoding algorithm that pre-arranged code algorithm is corresponding.
In disclosure embodiment, terminal can be smart mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), E-book reader, computer, intelligent watch, the electricity such as Intelligent bracelet Subset.
It is provided with application program in the terminal, application program can provide the function of the browsable page, user Can click on certain webpage link address in application program, application program can receive and act on this application program The browsing instructions produced during middle webpage link address, arouses network view control, network video according to browsing instructions Figure control sends load request according to address and port numbers to local service.Local service is receiving network video During the load request that figure control sends, it may be determined that the information to be loaded that this load request is corresponding.In order to avoid Information to be loaded the person of being hacked in transmitting procedure read, it is possible to use pre-arranged code algorithm is by information to be loaded It is encoded into picture file.
Wherein, pre-arranged code algorithm can be pre-set by Information hiding to be loaded in picture file Algorithm, information to be loaded is encoded into picture file purpose be in order to by Information hiding to be loaded at picture file In, transmit information to be loaded by picture file, it is to avoid assailant directly reads information to be loaded.
In an optional implementation, information to be loaded corresponding for described load request can be converted into Multi-system file, according to default number from the corresponding relation of color value by different in described multi-system file The digital color value utilizing correspondence is replaced, it is thus achieved that picture file.
Wherein, the number during number is multi-system.Such as, the number in binary system is 0 and 1, in octal system Number is 0~7.In this embodiment it is possible to preset the digital corresponding relation with color value, different numbers is right Should there is different color value, distinguish with different colours different digital.Multi-system file can be binary file, Octal system file, decimal scale file or hex file.As a example by binary file, binary system is with 0 The data represented with 1 the two number, therefore, it can pre-set 0 the first color corresponding, and 1 is corresponding The second color, then after the information to be loaded that load request is corresponding is converted into multi-system file, can be by Number 0 in multi-system file is replaced by the first color, by the second color of 1 in multi-system file Replace, thus obtain picture file.As a example by octal system file, octal system is with 0 to 7 these eight numbers Therefore eight numbers can be arranged corresponding eight kinds of different colors by data in advance that represent.
Visible, in this embodiment, by information to be loaded being converted into multi-system file, and according to presetting Number and the corresponding relation of color value digital utilize corresponding color value to replace by different in multi-system file Change, thus obtain the picture file with certain content, owing to assailant cannot confirm each color value institute's generation The number of table, therefore cannot read information to be loaded, thus improve the safety of transmission information.
Accordingly, when picture file being decoded by network view control, it is possible to use pre-arranged code Picture file is decoded by the default decoding algorithm that algorithm is corresponding.Default decoding algorithm can be pre-arranged code The inverse process of algorithm, the most described is decoded described picture file according to default decoding algorithm, including: root According to the corresponding relation of described number Yu color value, described picture file is converted into multi-system file.
As one of which implementation, multi-system file can be converted directly into information to be loaded, then By network view control, information to be loaded is converted to binary system render.
Owing to network view control needs information to be loaded is converted to binary system upon execution, based on this, make For another kind of implementation, utilize preset decoding algorithm picture file is decoded time, according to described number Described picture file is converted into multi-system file with the corresponding relation of color value, when multi-system file is two by code During binary file, directly by described network view control, the content in described binary file is rendered, Obtain the page to be presented.When multi-system file is not binary file, described multi-system file is converted into Binary file, and by described network view control, the content in described binary file is rendered, Obtain the page to be presented.
Visible, when decoding without multi-system file being reduced to information to be loaded, thus improve decoding effect Rate.
It is understood that when information to be loaded is more complicated, make mistakes in order to avoid network view control renders, When decoding multi-system file first can be reduced to information to be loaded, then information to be loaded is converted to two enter System renders, with specific reference to requirements set.
In order to improve safety further, it is also possible to multi-system file is carried out shifting processing, thus improves and treat The safety of load information, the most described utilizes pre-arranged code algorithm by information carrying to be added corresponding for described load request Breath is encoded into picture file, including: information to be loaded corresponding for described load request is converted into multi-system literary composition Part;Described multi-system file is carried out shifting processing;Corresponding relation according to default number and color value will The digital color value utilizing correspondence different in file after displacement is replaced, it is thus achieved that picture file.
Wherein, when multi-system file is carried out shifting processing, mobile figure place and direction can preset, example As, can be redefined for left one.
As seen from the above-described embodiment, due to assailant cannot know multi-system file carried out shifting processing and Mobile figure place and direction, therefore cannot obtain correct information to be loaded, thus improve in transmitting procedure and treat The safety of load information.
Accordingly, when being decoded by network view control, can be according to the displacement in cataloged procedure at File after displacement is reduced to multi-system file by reason.
In another optional implementation, described utilize pre-arranged code algorithm by corresponding for described load request Information to be loaded be encoded into picture file, including: by corresponding for described load request information to be loaded conversion Become multi-system file;Utilize default Quick Response Code encryption algorithm that described multi-system file is converted into Quick Response Code.
Wherein, Quick Response Code is chequered with black and white in plane distribution according to certain rules with certain specific geometric figure Graphic recording data symbol information, on coding dexterously utilize constitute computer-internal logical foundations The concept of " 0 ", " 1 " bit stream, use several geometrical bodies corresponding with binary system to represent literary composition Number of words value information.Further, every kind of code system is to there being specific character set.
In order to ensure the safety of information to be loaded in transmitting procedure, the default Quick Response Code coding in this embodiment Algorithm is self-defining Quick Response Code encryption algorithm, and this encryption algorithm is different from Versatile two-dimension code encryption algorithm Encryption algorithm, such as, in default Quick Response Code encryption algorithm, be set to character set corresponding for every kind of code system The character set corresponding from code system in Versatile two-dimension code encryption algorithm is different.
Visible, due to assailant cannot by Quick Response Code described in general Quick Response Code decoding algorithm identification, thus Improve the safety of information to be loaded in transmitting procedure.
In another optional implementation, described utilize pre-arranged code algorithm by corresponding for described load request Information to be loaded be encoded into picture file, including: by corresponding for described load request information to be loaded conversion Become multi-system file;Described multi-system file is carried out shifting processing;Quick Response Code encryption algorithm is preset in utilization will After displacement, file is converted into Quick Response Code.
Wherein, presetting Quick Response Code encryption algorithm can be conventional Quick Response Code encryption algorithm, it is also possible to be to make by oneself The Quick Response Code encryption algorithm of justice.
As seen from the above-described embodiment, due to assailant cannot know multi-system file carried out shifting processing and Mobile figure place and direction, therefore cannot obtain correct information to be loaded, thus improve in transmitting procedure and treat The safety of load information.
It is understood that pre-arranged code algorithm can also is that other can be by Information hiding to be loaded at picture Algorithm in file, this is no longer going to repeat them.
After being encoded into picture file, by local service, described picture file can be transmitted to network view control Part.In order to improve the safety in transmitting procedure, in an optional implementation, it is possible to use safety Socket layer HTML (Hypertext Markup Language) (HTTPS, Hyper Text Transfer Protocol over Secure Socket Layer) described picture file is transmitted to network view control, thus improve in transmitting procedure and treat The safety of load information.
When network view control receives picture file, by network view control, picture file can be pressed It is decoded according to default decoding algorithm.Wherein, default decoding algorithm is that the decoding that pre-arranged code algorithm is corresponding is calculated Method.Decoded information can be rendered by network view control, thus shows the page to be loaded.Network The concrete rendering intent of view control can use the rendering intent in correlation technique, in this no limit.
As seen from the above-described embodiment, when receiving the load request that network view control sends, by this Ground service utilizes pre-arranged code algorithm that information to be loaded corresponding for load request is encoded into picture file, and Picture file is transmitted to network view control, when network view control receives picture file, passes through Picture file is decoded by network view control according to default decoding algorithm, thus realizes information carrying to be added Breath is hidden in picture file, transmits information to be loaded by picture file, it is to avoid assailant directly reads To information to be loaded, improve the safety of transmission information.
Various technical characteristics in embodiment of above can arbitrarily be combined, if the group between feature Close and there is not conflict or contradiction, but as space is limited, describe one by one, the most above-mentioned embodiment In various technical characteristics be arbitrarily combined falling within the scope of this disclosure.
Corresponding with the embodiment of aforementioned information transmission method, the disclosure additionally provide information carrying means and The embodiment of its terminal applied.
As in figure 2 it is shown, Fig. 2 is the disclosure transmits dress according to a kind of information shown in an exemplary embodiment The block diagram put, described device includes: coding module 210, transport module 220 and decoder module 230.
Wherein, coding module 210, it is configured in local service, receive network view control and sends Load request time, utilize pre-arranged code algorithm by corresponding for described load request by described local service Information to be loaded is encoded into picture file, is concealed with described information to be loaded in described picture file.
Transport module 220, is configured to described local service by the transmission of described picture file to described Network view control.
Decoder module 230, is configured to when described network view control receives described picture file, By described network view control, described picture file is decoded according to default decoding algorithm, described pre- If decoding algorithm is the decoding algorithm that pre-arranged code algorithm is corresponding.
As seen from the above-described embodiment, when receiving the load request that network view control sends, by this Ground service utilizes pre-arranged code algorithm that information to be loaded corresponding for load request is encoded into picture file, and Picture file is transmitted to network view control, when network view control receives picture file, passes through Picture file is decoded by network view control according to default decoding algorithm, thus realizes information carrying to be added Breath is hidden in picture file, transmits information to be loaded by picture file, it is to avoid assailant directly reads To information to be loaded, improve the safety of transmission information.
Transmit as it is shown on figure 3, Fig. 3 is the disclosure according to the another kind of information shown in an exemplary embodiment The block diagram of device, this embodiment on the basis of aforementioned embodiment illustrated in fig. 2, described coding module 210 Including: the first multi-system transform subblock 211 and the first encoding submodule 212.
Wherein, the first multi-system transform subblock 211, it is configured to receive network in local service During the load request that view control sends, by described local service by corresponding for described load request to be added Information carrying breath is converted into multi-system file.
First encoding submodule 212, is configured to described local service based on default number and face The digital color value utilizing correspondence different in described multi-system file is replaced by the corresponding relation of colour, obtains Obtain picture file.
As seen from the above-described embodiment, by information to be loaded being converted into multi-system file, and according to presetting Number and the corresponding relation of color value digital utilize corresponding color value to replace by different in multi-system file Change, thus obtain the picture file with certain content, owing to assailant cannot confirm each color value institute The number represented, therefore cannot read information to be loaded, thus improve the safety of transmission information.
In an optional implementation, described first encoding submodule 212 concrete configuration is: pass through Described multi-system file is carried out shifting processing by described local service, according to default number and color value The digital color value utilizing correspondence different in file after displacement is replaced by corresponding relation, it is thus achieved that picture file.
As seen from the above-described embodiment, multi-system file can be carried out shifting processing, owing to assailant cannot Know that multi-system file carried out shifting processing and mobile figure place and direction, therefore cannot obtain correct Information to be loaded, thus improve the safety of information to be loaded in transmitting procedure.
As shown in Figure 4, Fig. 4 is that the disclosure is transmitted according to the another kind of information shown in an exemplary embodiment The block diagram of device, this embodiment on the basis of aforementioned embodiment illustrated in fig. 3, described decoder module 230 Including decoding sub-module 231.
Wherein, decoding sub-module 231, it is configured to receive described picture at described network view control During file, by described network view control corresponding relation based on described number and color value by described figure Sheet file is converted into multi-system file, and described multi-system file is converted into binary file.
Described device also includes rendering module 240, is configured to described network view control by described Content in binary file renders, it is thus achieved that the page to be presented.
As seen from the above-described embodiment, when decoding without multi-system file is reduced to information to be loaded, from And improve decoding efficiency, and directly by network view control, the content in binary file is carried out Render, it is not necessary to again information to be loaded is converted to binary system, improves rendering efficiency.
Transmit as it is shown in figure 5, Fig. 5 is the disclosure according to the another kind of information shown in an exemplary embodiment The block diagram of device, this embodiment on the basis of aforementioned embodiment illustrated in fig. 2, described coding module 210 Including: the second multi-system transform subblock 213, displacement submodule 214 and the second encoding submodule 215.
Wherein, the second multi-system transform subblock 213, it is configured to receive network in local service During the load request that view control sends, by described local service by corresponding for described load request to be added Information carrying breath is converted into multi-system file.
Displacement submodule 214, is configured to described local service and is moved by described multi-system file Position processes.
Second encoding submodule 215, is configured to described local service and encodes based on default Quick Response Code File after displacement is converted into Quick Response Code by algorithm.
As seen from the above-described embodiment, multi-system file is carried out shifting processing, and utilizes default Quick Response Code to compile File after displacement is converted into Quick Response Code, owing to assailant cannot know that multi-system file was carried out by code algorithm Shifting processing and mobile figure place and direction, therefore assailant cannot be by general Quick Response Code decoding algorithm Obtain correct information to be loaded, thus improve the safety of information to be loaded in transmitting procedure.
As shown in Figure 6, Fig. 6 is that the disclosure is transmitted according to the another kind of information shown in an exemplary embodiment The block diagram of device, this embodiment on the basis of aforementioned embodiment illustrated in fig. 2, described transport module 220 Including transmission submodule 221.
Wherein, transmitting submodule 221, being configured to, with security socket layer HTML (Hypertext Markup Language) will Described picture file transmits to network view control.
As seen from the above-described embodiment, security socket layer HTML (Hypertext Markup Language) is utilized to be transmitted by picture file To network view control, thus improve the safety of information to be loaded in transmitting procedure.
Accordingly, the disclosure also provides for a kind of information carrying means, and described device includes processor;For The memorizer of storage processor executable;Wherein, described processor is configured to:
When receiving the load request that network view control sends in local service, by described local service Utilize pre-arranged code algorithm that information to be loaded corresponding for described load request is encoded into picture file, described figure Sheet file is concealed with described information to be loaded;
By described local service by the transmission of described picture file to described network view control;
When described network view control receives described picture file, by described network view control by institute Stating picture file to be decoded according to default decoding algorithm, described default decoding algorithm is pre-arranged code algorithm pair The decoding algorithm answered.
In said apparatus, the function of unit and the concrete details of the process that realizes of effect are shown in said method corresponding Step realize process, do not repeat them here.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part sees The part of embodiment of the method illustrates.Device embodiment described above is only schematically, wherein The described unit illustrated as separating component can be or may not be physically separate, as unit The parts of display can be or may not be physical location, i.e. may be located at a place, or also may be used To be distributed on multiple NE.Some or all of module therein can be selected according to the actual needs Realize the purpose of disclosure scheme.Those of ordinary skill in the art in the case of not paying creative work, I.e. it is appreciated that and implements.
Transmit for information as it is shown in fig. 7, Fig. 7 is the disclosure according to the one shown in an exemplary embodiment The block diagram of device 700.This device 700 can be the mobile phone with routing function, computer, numeral Broadcast terminal, messaging devices, game console, tablet device, armarium, body-building equipment, individual The terminals such as personal digital assistant.
With reference to Fig. 7, device 700 can include following one or more assembly: processes assembly 702, memorizer 704, power supply module 706, multimedia groupware 708, audio-frequency assembly 710, the interface of input/output (I/O) 712, sensor cluster 714, and communications component 716.
Process assembly 702 and generally control the integrated operation of device 700, such as with display, call, number The operation being associated according to communication, camera operation and record operation.Process assembly 702 and can include one or many Individual processor 720 performs instruction, to complete all or part of step of above-mentioned method.Additionally, process Assembly 702 can include one or more module, it is simple to process between assembly 702 and other assemblies is mutual. Such as, process assembly 702 and can include multi-media module, to facilitate multimedia groupware 708 and to process assembly Mutual between 702.
Memorizer 704 is configured to store various types of data to support the operation at device 700.These The example of data includes any application program for operation on device 700 or the instruction of method, contact person Data, telephone book data, message, picture, video etc..Memorizer 704 can be by any kind of volatile Property or non-volatile memory device or combinations thereof realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), Programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, Disk or CD.
The various assemblies that power supply module 706 is device 700 provide electric power.Power supply module 706 can include electricity Management system, one or more power supplys, and other generate, manage and distribute electric power phase with for device 700 The assembly of association.
The screen of one output interface of offer that multimedia groupware 708 is included between described device 700 and user Curtain.In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).As Really screen includes that touch panel, screen may be implemented as touch screen, to receive the input signal from user. Touch panel includes that one or more touch sensor is with the gesture on sensing touch, slip and touch panel. Described touch sensor can not only sense touch or the border of sliding action, but also detects and described touch Or slide relevant persistent period and pressure.In certain embodiments, multimedia groupware 708 includes one Individual front-facing camera and/or post-positioned pick-up head.When device 700 is in operator scheme, such as screening-mode or video During pattern, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each preposition take the photograph As head and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom energy Power.
Audio-frequency assembly 710 is configured to output and/or input audio signal.Such as, audio-frequency assembly 710 includes One mike (MIC), when device 700 is in operator scheme, such as call model, logging mode and voice During recognition mode, mike is configured to receive external audio signal.The audio signal received can be entered One step is stored in memorizer 704 or sends via communications component 716.In certain embodiments, audio-frequency assembly 710 also include a speaker, are used for exporting audio signal.
I/O interface 712 provides interface, above-mentioned peripheral interface for processing between assembly 702 and peripheral interface module Module can be keyboard, puts striking wheel, button etc..These buttons may include but be not limited to: home button, sound Amount button, start button and locking press button.
Sensor cluster 714 includes one or more sensor, for providing various aspects for device 700 State estimation.Such as, what sensor cluster 714 can detect device 700 opens/closed mode, assembly Relative localization, the most described assembly is display and the keypad of device 700, and sensor cluster 714 is also Can detect the position change of an assembly in device 700 or device 700, user contacts with device 700 Presence or absence, device 700 orientation or acceleration/deceleration and the variations in temperature of device 700.Sensor cluster 714 can include proximity transducer, are configured to when not having any physical contact object near detecting Exist.Sensor cluster 714 can also include optical sensor, such as CMOS or ccd image sensor, uses In using in imaging applications.In certain embodiments, this sensor cluster 714 can also include acceleration Sensor, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 716 is configured to facilitate the logical of wired or wireless mode between device 700 and other equipment Letter.Device 700 can access wireless network based on communication standard, such as WiFi, 2G or 3G, or they Combination.In one exemplary embodiment, communications component 716 receives wide from outside via broadcast channel The broadcast singal of broadcast management system or broadcast related information.In one exemplary embodiment, described communication set Part 716 also includes near-field communication (NFC) module, to promote junction service.Such as, can in NFC module Based on RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) skill Art, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 700 can by one or more application specific integrated circuits (ASIC), Digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), Field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are real Existing, it is used for performing said method.
In the exemplary embodiment, a kind of non-transitory computer-readable storage including instruction is additionally provided Medium, such as, include the memorizer 704 of instruction, and above-mentioned instruction can be held by the processor 720 of device 700 Row is to complete said method.Such as, described non-transitory computer-readable recording medium can be ROM, Random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
Wherein, when the instruction in described storage medium is performed by described processor so that device 700 energy A kind of information transferring method of enough execution, including:
When receiving the load request that network view control sends in local service, by described local clothes Business utilizes pre-arranged code algorithm that information to be loaded corresponding for described load request is encoded into picture file, institute State and picture file is concealed with described information to be loaded.
By described local service by the transmission of described picture file to described network view control.
When described network view control receives described picture file, will by described network view control Described picture file is decoded according to default decoding algorithm, and described default decoding algorithm is that pre-arranged code is calculated The decoding algorithm that method is corresponding.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to these public affairs Other embodiment opened.The disclosure is intended to any modification, purposes or the adaptations of the disclosure, These modification, purposes or adaptations are followed the general principle of the disclosure and include that the disclosure is not disclosed Common knowledge in the art or conventional techniques means.Description and embodiments is considered only as exemplary , the true scope of the disclosure and spirit are pointed out by claim below.
It should be appreciated that the disclosure is not limited to accurate knot described above and illustrated in the accompanying drawings Structure, and various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only by appended Claim limits.
The foregoing is only the preferred embodiment of the disclosure, not in order to limit the disclosure, all at this Within disclosed spirit and principle, any modification, equivalent substitution and improvement etc. done, should be included in Within the scope of disclosure protection.

Claims (13)

1. an information transferring method, it is characterised in that described method includes:
When receiving the load request that network view control sends in local service, by described local clothes Business utilizes pre-arranged code algorithm that information to be loaded corresponding for described load request is encoded into picture file, institute State and picture file is concealed with described information to be loaded;
By described local service by the transmission of described picture file to described network view control;
When described network view control receives described picture file, will by described network view control Described picture file is decoded according to default decoding algorithm, and described default decoding algorithm is that pre-arranged code is calculated The decoding algorithm that method is corresponding.
Method the most according to claim 1, it is characterised in that described utilize pre-arranged code algorithm Information to be loaded corresponding for described load request is encoded into picture file, including:
Information to be loaded corresponding for described load request is converted into multi-system file;
According to default number from the corresponding relation of color value by numbers different in described multi-system file Corresponding color value is utilized to replace, it is thus achieved that picture file.
Method the most according to claim 2, it is characterised in that described basis preset number with The digital color value utilizing correspondence different in described multi-system file is replaced by the corresponding relation of color value, Obtain picture file, including:
Described multi-system file is carried out shifting processing;
According to default number from the corresponding relation of color value by digital utilizations different in file after displacement Corresponding color value is replaced, it is thus achieved that picture file.
Method the most according to claim 2, it is characterised in that described described picture file is pressed It is decoded according to default decoding algorithm, including:
Described picture file is converted into multi-system file by the corresponding relation according to described number Yu color value;
Described multi-system file is converted into binary file;
Described method also includes: the content in described binary file entered by described network view control Row renders, it is thus achieved that the page to be presented.
Method the most according to claim 1, it is characterised in that described utilize pre-arranged code algorithm Information to be loaded corresponding for described load request is encoded into picture file, including:
Information to be loaded corresponding for described load request is converted into multi-system file;
Described multi-system file is carried out shifting processing;
Utilize default Quick Response Code encryption algorithm that file after displacement is converted into Quick Response Code.
Method the most according to claim 1, it is characterised in that described described picture file is passed Transport to described network view control, including:
Security socket layer HTML (Hypertext Markup Language) is utilized to transmit described picture file to network view control Part.
7. an information carrying means, it is characterised in that described device includes:
Coding module, is configured to receive the load request that network view control sends in local service Time, utilize pre-arranged code algorithm by information to be loaded corresponding for described load request by described local service It is encoded into picture file, described picture file is concealed with described information to be loaded;
Transport module, is configured to described local service by the transmission of described picture file to described network View control;
Decoder module, is configured to, when described network view control receives described picture file, pass through Described picture file is decoded by described network view control according to default decoding algorithm, described default solution Code algorithm is the decoding algorithm that pre-arranged code algorithm is corresponding.
Device the most according to claim 7, it is characterised in that described coding module includes:
First multi-system transform subblock, is configured to receive network view control in local service and sends out During the load request sent, by described local service, information to be loaded corresponding for described load request is changed Become multi-system file;
First encoding submodule, is configured to described local service based on default number and color value Corresponding relation digital utilize corresponding color value to replace by different in described multi-system file, it is thus achieved that figure Sheet file.
Device the most according to claim 8, it is characterised in that described first encoding submodule tool Body is configured that
By described local service, described multi-system file is carried out shifting processing, according to default number with The digital color value utilizing correspondence different in file after displacement is replaced by the corresponding relation of color value, it is thus achieved that Picture file.
Device the most according to claim 8, it is characterised in that described decoder module includes:
Decoding sub-module, is configured to when described network view control receives described picture file, logical Cross described network view control to be changed by described picture file with the corresponding relation of color value based on described number Become multi-system file, described multi-system file is converted into binary file;
Described device also includes rendering module, is configured to described network view control and enters described two Content in file processed renders, it is thus achieved that the page to be presented.
11. devices according to claim 7, it is characterised in that described coding module includes:
Second multi-system transform subblock, is configured to receive network view control in local service and sends out During the load request sent, by described local service, information to be loaded corresponding for described load request is changed Become multi-system file;
Displacement submodule, is configured to described local service and is carried out at displacement by described multi-system file Reason;
Second encoding submodule, is configured to described local service based on default Quick Response Code encryption algorithm File after displacement is converted into Quick Response Code.
12. devices according to claim 7, it is characterised in that described transport module includes:
Transmission submodule, is configured to, with security socket layer HTML (Hypertext Markup Language) by described picture literary composition Part transmits to network view control.
13. 1 kinds of information carrying means, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
When receiving the load request that network view control sends in local service, by described local clothes Business utilizes pre-arranged code algorithm that information to be loaded corresponding for described load request is encoded into picture file, institute State and picture file is concealed with described information to be loaded;
By described local service by the transmission of described picture file to described network view control;
When described network view control receives described picture file, will by described network view control Described picture file is decoded according to default decoding algorithm, and described default decoding algorithm is that pre-arranged code is calculated The decoding algorithm that method is corresponding.
CN201610379387.5A 2016-05-31 2016-05-31 Information transferring method and device Active CN106022151B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610379387.5A CN106022151B (en) 2016-05-31 2016-05-31 Information transferring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610379387.5A CN106022151B (en) 2016-05-31 2016-05-31 Information transferring method and device

Publications (2)

Publication Number Publication Date
CN106022151A true CN106022151A (en) 2016-10-12
CN106022151B CN106022151B (en) 2019-08-30

Family

ID=57092083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610379387.5A Active CN106022151B (en) 2016-05-31 2016-05-31 Information transferring method and device

Country Status (1)

Country Link
CN (1) CN106022151B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110533338A (en) * 2019-09-03 2019-12-03 杭州安恒信息技术股份有限公司 Public security system network security field surveillance inspection method and device
CN111091018A (en) * 2019-10-30 2020-05-01 武汉船用机械有限责任公司 Cross-network data interaction system and method
CN112118017A (en) * 2020-11-18 2020-12-22 北京一起教育科技有限责任公司 Serial number encoding and decoding methods and devices and electronic equipment
CN114140558A (en) * 2021-11-29 2022-03-04 北京达佳互联信息技术有限公司 Image data processing method, device, electronic device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020682A (en) * 2012-11-30 2013-04-03 中企永联数据交换技术(北京)有限公司 Two-dimension code identification generating device, two-dimension code identification recognition device and two-dimension code identification system of book
CN103559251A (en) * 2013-11-03 2014-02-05 广西师范大学 Data security protection method based on data hiding
WO2015099295A1 (en) * 2013-12-24 2015-07-02 삼성전자 주식회사 User terminal device, communication system and control method therefor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020682A (en) * 2012-11-30 2013-04-03 中企永联数据交换技术(北京)有限公司 Two-dimension code identification generating device, two-dimension code identification recognition device and two-dimension code identification system of book
CN103559251A (en) * 2013-11-03 2014-02-05 广西师范大学 Data security protection method based on data hiding
WO2015099295A1 (en) * 2013-12-24 2015-07-02 삼성전자 주식회사 User terminal device, communication system and control method therefor

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110533338A (en) * 2019-09-03 2019-12-03 杭州安恒信息技术股份有限公司 Public security system network security field surveillance inspection method and device
CN111091018A (en) * 2019-10-30 2020-05-01 武汉船用机械有限责任公司 Cross-network data interaction system and method
CN111091018B (en) * 2019-10-30 2023-08-22 武汉船用机械有限责任公司 Cross-network data interaction system and method
CN112118017A (en) * 2020-11-18 2020-12-22 北京一起教育科技有限责任公司 Serial number encoding and decoding methods and devices and electronic equipment
CN112118017B (en) * 2020-11-18 2021-02-19 北京一起教育科技有限责任公司 Serial number encoding and decoding methods and devices and electronic equipment
CN114140558A (en) * 2021-11-29 2022-03-04 北京达佳互联信息技术有限公司 Image data processing method, device, electronic device and storage medium

Also Published As

Publication number Publication date
CN106022151B (en) 2019-08-30

Similar Documents

Publication Publication Date Title
CN105260673A (en) Short message reading method and apparatus
CN104283876A (en) Operation authorization method and device
CN105530165B (en) Method and device for instant chat
CN105307137A (en) Short message reading method and device
JP2008047022A (en) Information sharing system by portable terminal device
US9236911B2 (en) Secure transfer of whiteboard content
CN107506637A (en) Information displaying method and device, terminal and readable storage medium storing program for executing
US10402586B2 (en) Patient privacy de-identification in firewall switches forming VLAN segregation
CN106022151A (en) Information transmission method and device
CN105094724A (en) Screen display control method and screen display control device
CN105320880A (en) Terminal control method and apparatus
CN107342966A (en) Authority credentials distribution method and device
KR20210110597A (en) Digital Identity Management Device
CN104618601A (en) Data sharing method and multisystem terminal
CN107256367A (en) A kind of information processing method and device, terminal device and computer-readable recording medium
CN105392141A (en) Device control method and device
CN104318428B (en) The method and apparatus for realizing secured mobile payment
US20170068946A1 (en) User equipment, service providing device, pos terminal, payment system including the same, control method thereof, and non-transitory computer-readable storage medium storing computer program recorded thereon
US20200349520A1 (en) Systems and methods for exchanging digital cards
CN104102884A (en) Method and system for promoting safety and privacy of job hunter information or recruit enterprise information
CN105303120A (en) Short message reading method and apparatus
CN109118551A (en) A kind of image processing method, terminal and storage medium
CN104517077A (en) Method and apparatus for realizing simulation tags in NFC equipment
CN106210293A (en) A kind of information processing method and mobile terminal
TWI770279B (en) Voucher verification auxiliary device, system and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant