Nothing Special   »   [go: up one dir, main page]

CN109451011B - Information storage method based on block chain and mobile terminal - Google Patents

Information storage method based on block chain and mobile terminal Download PDF

Info

Publication number
CN109451011B
CN109451011B CN201811290219.4A CN201811290219A CN109451011B CN 109451011 B CN109451011 B CN 109451011B CN 201811290219 A CN201811290219 A CN 201811290219A CN 109451011 B CN109451011 B CN 109451011B
Authority
CN
China
Prior art keywords
information
node
data information
mobile terminal
block chain
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.)
Active
Application number
CN201811290219.4A
Other languages
Chinese (zh)
Other versions
CN109451011A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811290219.4A priority Critical patent/CN109451011B/en
Publication of CN109451011A publication Critical patent/CN109451011A/en
Application granted granted Critical
Publication of CN109451011B publication Critical patent/CN109451011B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/065Replication mechanisms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides an information storage method based on a block chain and a mobile terminal, wherein the method is applied to the mobile terminal and comprises the following steps: acquiring authentication information issued by a main node and identity information of child nodes; when the identity information is matched with the authentication information, the sub-node is used as a lower node of the main node to access the block chain; acquiring first data information issued by a main node and initial data information of a child node; and when the first data information is different from the initial data information, writing the first data information into the child node to replace the initial data information. By the block chain-based information storage method, the main node can control the information of the sub-nodes, the information needing to be controlled or adjusted is issued to the block chain, the accessed sub-node information can be updated conveniently and quickly, and the safety and convenience of information storage and use are enhanced.

Description

Information storage method based on block chain and mobile terminal
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an information storage method based on a block chain and a mobile terminal.
Background
With the continuous development of communication technology, the mobile terminal is continuously updated and iterated, products are continuously optimized, the size of the SIM card is smaller and smaller, and even schemes without a solid SIM card, such as eSIM and SoftSIM, are emerging. Whether a physical SIM card or a non-physical SIM card, has the function of storing information (e.g., subscriber information).
The existing SIM card information is stored in the SIM card chip or in the handset memory. The traditional solid SIM card chip is easy to lose, damage, physical fault and other abnormalities, so that the solid SIM card cannot be used, and the solid SIM card needs to be processed in an operator business hall when the solid SIM card is used for the first time or the abnormalities exist, so that the convenience of the information storage mode of the solid SIM card is poor. The convenience of the non-entity SIM card is improved to a certain extent, but in the aspect of information writing, both the method of writing the card in the air of an operator and the method of simulating the SIM card in the mobile terminal by a terminal manufacturer in a pure software mode are both dependent on a server of the operator, and once the server of the operator is abnormal, the information storage is also abnormal, so that the safety of the information storage is poor.
Disclosure of Invention
The embodiment of the invention provides an information storage method based on a block chain and a mobile terminal, which are used for improving the convenience and safety of information storage.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an information storage method based on a block chain, which is applied to a mobile terminal, and the method includes: acquiring authentication information issued by a main node and identity information of child nodes; when the identity information is matched with the authentication information, the sub-node is used as a subordinate node of the main node to be accessed into the block chain; acquiring first data information issued by the main node and initial data information of the child node; and when the first data information is different from the initial data information, writing the first data information into the child node to replace the initial data information.
In a second aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal includes: the identity authentication module is configured to acquire authentication information issued by the main node and identity information of the child node; a node access module configured to access the sub-node as a subordinate node of the master node to the block chain when the identity information matches the authentication information; the information acquisition module is configured to acquire first data information issued by the main node and initial data information of the child node; an information updating module configured to write the first data information to the child node instead of the initial data information when the first data information is different from the initial data information.
In a third aspect, an embodiment of the present invention provides a mobile terminal, which includes a processor, a memory, and a computer program stored in the memory and being executable on the processor, where the computer program, when executed by the processor, implements the steps of the information storage method based on the block chain in the embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the block chain based information storage method described in the embodiment of the present invention are implemented.
In the embodiment of the invention, when the identity information of the child node is matched with the authentication information issued by the main node, the child node is used as a lower node of the main node to access the block chain; and when the first data information issued by the master node in the block chain is different from the initial data information of the child node, the first data information issued by the master node may be written into the child node and replace the initial data information of the child node. By the block chain-based information storage method, the main node can control the information of the sub-nodes, the information to be controlled is issued to the block chain, and the accessed sub-node information can be updated conveniently and quickly, so that the safety and convenience of information storage and use can be enhanced.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating steps of a block chain-based information storage method according to an embodiment of the present application;
fig. 2 is a flowchart illustrating steps of a block chain-based information storage method according to a second embodiment of the present application;
fig. 3 is a block diagram of a mobile terminal according to a third embodiment of the present invention;
fig. 4 is a schematic diagram of a hardware structure of a mobile terminal according to a fourth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Referring to fig. 1, a flowchart illustrating steps of a block chain based information storage method according to a first embodiment of the present invention is shown.
The block chain technology, bt (block chain technology) for short, also called as distributed book information technology, is an internet database technology, and is characterized by decentralization and public transparency, so that everyone can participate in database recording. The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. The consensus mechanism is a mathematical algorithm for establishing trust and obtaining rights and interests among different nodes in the blockchain system.
The blockchain encrypts transaction information in a transaction block through a hash algorithm and compresses the information into a hash string consisting of a string of numbers and letters. The hash value of the block chain can uniquely and accurately identify one block, any node in the block chain can obtain the hash value of the block through simple hash calculation, and the fact that the calculated hash value is not changed means that information in the block is not tampered.
The public chain refers to a block chain which can be read by anyone all over the world, can send a transaction, can effectively confirm the transaction, and can be used by anyone to participate in a consensus process, wherein the consensus process determines which block can be added into the block chain and simultaneously defines the current state. We can use the public chain to obtain the software version information, etc.
Private chain refers to a block chain whose write rights are only in one organization's hand, with the purpose of restricting read rights or open outside rights. The private chain has the following characteristics: 1. a small number of nodes in a very fast transaction speed private chain have a high degree of trust and do not require every node to validate a transaction. Thus, private chains trade much faster than public chains. 2. Data that provides better assurance for privacy of the private chain is not disclosed and is not available to all that own the network connection. 3. The transaction cost is greatly reduced even to zero and completely free or at least very cheap transactions can be made on the private chain. If a physical entity controls and processes all transactions, it no longer needs to charge a fee for the job. 4. Helping to protect its underlying product from damage. The use of private chains by operators/banks and traditional financial institutions can guarantee their existing benefits so that the original ecosystem is not destroyed. Through the private chain technology, an operator can realize self monitoring of whether the authentication approval user has access qualification.
The information storage method based on the block chain comprises the following steps:
step 101: and acquiring the authentication information issued by the main node and the identity information of the child node.
The block chain in the technical solution of this embodiment includes a master node and a plurality of child nodes, for example, the master node may be an operator, and the child nodes may be mobile terminals. The operator can set the access qualification of the block chain such as private chain or alliance chain, such as authentication information, and the authentication information issued by the main node operator and the identity information of the child node can be obtained through the step.
Step 102: and when the identity information is matched with the authentication information, the sub-node is used as a lower node of the main node to access the block chain.
When the identity information such as the ID and PIN code of the child node mobile terminal is matched with the authentication information, the child node may be accessed to the block chain as a lower node of the master node through a network such as 4G/5G/WIFI.
Step 103: the method comprises the steps of obtaining first data information issued by a main node and initial data information of child nodes.
When the main node is an operator and the child node is a mobile terminal, the first data information issued by the operator and the initial data information of the mobile terminal can be acquired by executing the step.
The first data information or the initial data information may include, for example, at least one of the following: the SIM card information or parameters related to the SIM card include an Integrated Circuit Card Identifier (ICCID), an authentication algorithm, package information, cost information, a short message, an address list, and a Personal Identification Number (PIN).
Step 104: and when the first data information is different from the initial data information, writing the first data information into the child node to replace the initial data information.
Whether first data information issued by an operator is updated or not is checked, namely whether the first data information is the same as initial data information of the mobile terminal or not is checked, when the first data information is different from the initial data information, updating optimization is performed on the first data information, the mobile terminal obtains the first data information issued by the operator, and SIM card information of the mobile terminal is updated in time according to the first data information, namely the initial data information of the mobile terminal is replaced.
According to the information storage method based on the block chain, provided by the embodiment of the invention, when the identity information of the child node is matched with the authentication information issued by the main node, the child node is used as a lower node of the main node to access the block chain; and when the first data information issued by the master node in the block chain is different from the initial data information of the child node, the first data information issued by the master node may be written into the child node and replace the initial data information of the child node. By the block chain-based information storage method provided by the embodiment, the main node can control the SIM card information of the sub-node, and the information to be controlled is issued to the block chain, so that the SIM card information of the accessed sub-node can be conveniently and quickly updated, the cost of the entity SIM card can be reduced, and the safety and convenience of SIM card information storage and use can be enhanced.
Example two
Referring to fig. 2, a flowchart illustrating steps of a block chain based information storage method according to a second embodiment of the present invention is shown.
The information storage method based on the block chain specifically comprises the following steps:
step 201: and acquiring the authentication information issued by the main node and the identity information of the child node.
Step 202: and when the identity information is matched with the authentication information, the sub-node is used as a lower node of the main node to access the block chain.
Step 203: the method comprises the steps of obtaining first data information issued by a main node and initial data information of child nodes.
Step 204: and when the first data information is different from the initial data information, writing the first data information into the child node to replace the initial data information.
Steps 201 to 204 in this embodiment are the same as or similar to steps 101 to 104 in the previous embodiment, and are not repeated herein. The present embodiment focuses on the differences from the previous embodiment.
Step 205: and acquiring the abnormal information of the child nodes.
The mobile terminal may encounter SIM card function abnormality in the using process, such as PIN code failure, and the like, and the SIM card abnormality information of the child node, such as the mobile terminal, is obtained by executing the step.
Step 206: and issuing the abnormal information to the block chain.
Specifically, the abnormal information obtained in step 205 is published or uploaded to a block chain such as an operator private chain or a federation chain to which the mobile terminal is accessed.
Step 207: and receiving the update data information issued by the master node, wherein the update data information is generated by the master node according to the abnormal information.
Specifically, the master node operator obtains the abnormal information uploaded by the mobile terminal, may analyze the abnormal information, and if the SIM card data information needs to be updated or adjusted, issues the updated or adjusted updated data information to the block chain. The update data information issued by the master node is received through the step. The update data information is generated by the master node according to the abnormal information, and the specific generation mode or content can be determined by an operator.
Step 208: and writing the updated data information into the child node.
And writing the updated data information into the child node mobile terminal to solve the problem of abnormal functions of the SIM card. This step is the same as or similar to step 102 in the previous embodiment, and is not repeated here.
In the embodiment, the block chain technology is utilized to realize that the main node operator issues the information which needs to be written into the SIM card to the block chain, and the user can directly acquire the updated SIM card information from the block chain, so that the user can use the mobile terminal to handle the service directly; meanwhile, the abnormal information of the SIM card of the mobile terminal is collected, so that the information of the SIM card can be conveniently and quickly updated in real time to solve the abnormal condition, and the mobile terminal is more convenient and intelligent to use.
EXAMPLE III
Referring to fig. 3, a block diagram of a mobile terminal according to a third embodiment of the present invention is shown.
The mobile terminal of the embodiment of the invention can comprise: the identity authentication module 301 is configured to acquire authentication information issued by the master node and identity information of the child node; a node access module 302 configured to access the block chain with the child node as a subordinate node of the master node when the identity information matches the authentication information; an information obtaining module 303, configured to obtain first data information issued by a master node and initial data information of a child node; and an information updating module 304 configured to write the first data information to the child node instead of the initial data information when the first data information is different from the initial data information.
The block chain in the technical solution of this embodiment includes a master node and a plurality of child nodes, for example, the master node may be an operator, and the child nodes may be mobile terminals. The mobile terminal may access to an alliance chain, a private chain, and the like of an operator, and the operator may set an access qualification, such as authentication information, of a block chain, such as the private chain or the alliance chain, and may obtain, through the identity authentication module 301, the authentication information issued by the master node and the identity information of the child node.
When the identity information such as the ID and PIN code of the child node mobile terminal is matched with the authentication information, the child node may be accessed to the block chain as a lower node of the master node through a network such as 4G/5G/WIFI.
The first data information issued by the operator and the initial data information of the mobile terminal can be acquired by the information acquisition module 303. The first data information or the initial data information may include, for example, at least one of the following: ICCID, authentication algorithm, package information, expense information, short message, address list, PIN code and other SIM card information or related parameters of the SIM card.
Whether first data information issued by an operator is updated or not is checked, namely whether the first data information is the same as initial data information of the mobile terminal or not is checked, when the first data information is different from the initial data information, it is indicated that the first data information is updated and optimized, the mobile terminal obtains the first data information issued by the operator, and the SIM card information of the mobile terminal is updated in time according to the first data information through an information updating module 304, namely the initial data information of the mobile terminal is replaced.
The mobile terminal provided by this example may further include: an exception acquisition module 305 configured to acquire exception information of child nodes; an exception publishing module 306 configured to publish exception information to the blockchain; a data change module 307 configured to receive update data information issued by the master node, where the update data information is generated by the master node according to the abnormal information; and a data updating module 308 configured to write the updated data information to the child node.
The mobile terminal provided by the embodiment of the present invention can implement each process in the above block chain-based information storage method embodiment, and is not described here again to avoid repetition.
In the mobile terminal provided by the embodiment of the present invention, when the identity information of the child node acquired by the identity authentication module matches the authentication information issued by the host node, the child node is used as a lower node access block chain of the host node by the node access module; and when the first data information acquired by the information acquisition module is different from the initial data information, the information updating module can write the first data information issued by the main node into the child node and replace the initial data information of the child node. Therefore, the main node can control the SIM card information of the sub-node, the information to be controlled is issued to the block chain, the SIM card information of the accessed sub-node can be conveniently and quickly updated, the expenditure of the cost of the entity SIM card can be reduced, and the safety and the convenience of the SIM card information storage and use are enhanced.
Example four
Referring to fig. 4, a hardware structure diagram of a mobile terminal according to a fourth embodiment of the present invention is shown.
Fig. 4 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 4 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 410 is configured to obtain authentication information issued by the master node and identity information of the child node; when the identity information is matched with the authentication information, the sub-node is used as a lower node of the main node to access the block chain; acquiring first data information issued by a main node and initial data information of a child node; and when the first data information is different from the initial data information, writing the first data information into the child node to replace the initial data information.
In the mobile terminal provided by the embodiment of the present invention, when the identity information of the child node matches the authentication information issued by the master node, the child node is used as a subordinate node of the master node to access the block chain; and when the first data information issued by the master node in the block chain is different from the initial data information of the child node, the first data information issued by the master node may be written into the child node and replace the initial data information of the child node. By the block chain-based information storage method, the main node can control the information of the sub-nodes, the information to be controlled is issued to the block chain, and the accessed sub-node information can be updated conveniently and quickly, so that the safety and convenience of information storage and use can be enhanced.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 402, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the mobile terminal 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The mobile terminal 400 also includes at least one sensor 405, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 4061 and/or the backlight when the mobile terminal 400 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 408 is an interface through which an external device is connected to the mobile terminal 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 400 or may be used to transmit data between the mobile terminal 400 and external devices.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby integrally monitoring the mobile terminal. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The mobile terminal 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the mobile terminal 400 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, the computer program implements each process of the above-mentioned information storage method embodiment based on a block chain, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned block chain-based information storage method embodiment, and can achieve the same technical effect, and is not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. An information storage method based on a block chain is applied to a mobile terminal, and the method comprises the following steps:
acquiring authentication information issued by a main node and identity information of child nodes;
when the identity information is matched with the authentication information, the sub-node is used as a subordinate node of the main node to be accessed into the block chain;
acquiring first data information issued by the main node and initial data information of the child node;
and when the first data information is different from the initial data information, writing the first data information into the child node to replace the initial data information.
2. The information storage method according to claim 1, wherein the master node is an operator and the child nodes are mobile terminals.
3. The information storage method of claim 1, wherein the first data information comprises at least one of: ICCID, authentication algorithm, package information, and cost information.
4. The information storage method according to any one of claims 1 to 3, characterized by further comprising:
acquiring abnormal information of the child nodes;
issuing the abnormal information to the block chain;
receiving update data information issued by the master node, wherein the update data information is generated by the master node according to the abnormal information;
and writing the updated data information into the child node.
5. A mobile terminal, characterized in that the mobile terminal comprises:
the identity authentication module is configured to acquire authentication information issued by the main node and identity information of the child node;
a node access module configured to access a block chain with the child node as a subordinate node of the master node when the identity information matches the authentication information;
the information acquisition module is configured to acquire first data information issued by the main node and initial data information of the child node;
an information updating module configured to write the first data information to the child node instead of the initial data information when the first data information is different from the initial data information.
6. The mobile terminal of claim 5, wherein the master node is an operator and the child nodes are mobile terminals.
7. The mobile terminal of claim 5, wherein the first data information comprises at least one of: ICCID, authentication algorithm, package information, and cost information.
8. The mobile terminal according to any of claims 5 to 7, wherein the mobile terminal further comprises:
an exception acquisition module configured to acquire exception information of the child node;
an exception publishing module configured to publish the exception information to the blockchain;
the data change module is configured to receive update data information issued by the master node, and the update data information is generated by the master node according to the abnormal information;
a data update module configured to write the updated data information to the child node.
9. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the steps of the block chain based information storage method according to any of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the block chain based information storage method according to any one of claims 1 to 4.
CN201811290219.4A 2018-10-31 2018-10-31 Information storage method based on block chain and mobile terminal Active CN109451011B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811290219.4A CN109451011B (en) 2018-10-31 2018-10-31 Information storage method based on block chain and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811290219.4A CN109451011B (en) 2018-10-31 2018-10-31 Information storage method based on block chain and mobile terminal

Publications (2)

Publication Number Publication Date
CN109451011A CN109451011A (en) 2019-03-08
CN109451011B true CN109451011B (en) 2021-10-22

Family

ID=65550016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811290219.4A Active CN109451011B (en) 2018-10-31 2018-10-31 Information storage method based on block chain and mobile terminal

Country Status (1)

Country Link
CN (1) CN109451011B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111818087B (en) * 2020-07-27 2023-01-24 深圳壹账通智能科技有限公司 Block chain node access method, device, equipment and readable storage medium
CN111935697B (en) * 2020-08-06 2022-08-19 中国联合网络通信集团有限公司 eSIM discovery service method, discovery server and eSIM terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107079037A (en) * 2016-09-18 2017-08-18 深圳前海达闼云端智能科技有限公司 Identity identifying method, device, node and system based on block chain
CN108182635A (en) * 2017-12-18 2018-06-19 深圳前海微众银行股份有限公司 Block chain common recognition method, system and computer readable storage medium
CN108712409A (en) * 2018-05-09 2018-10-26 梧州市兴能农业科技有限公司 A kind of e bill transaction system based on privately owned block chain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9436923B1 (en) * 2015-02-26 2016-09-06 Skuchain, Inc. Tracking unitization occurring in a supply chain

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107079037A (en) * 2016-09-18 2017-08-18 深圳前海达闼云端智能科技有限公司 Identity identifying method, device, node and system based on block chain
CN108182635A (en) * 2017-12-18 2018-06-19 深圳前海微众银行股份有限公司 Block chain common recognition method, system and computer readable storage medium
CN108712409A (en) * 2018-05-09 2018-10-26 梧州市兴能农业科技有限公司 A kind of e bill transaction system based on privately owned block chain

Also Published As

Publication number Publication date
CN109451011A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN109194818B (en) Information processing method and terminal
CN110062105B (en) Interface display method and terminal equipment
CN109257336B (en) Block chain-based password information processing method and terminal equipment
CN109343788B (en) Operation control method of mobile terminal and mobile terminal
CN110457888B (en) Verification code input method and device, electronic equipment and storage medium
CN108901020B (en) Network access method, mobile terminal and server
CN108629171B (en) Unread message processing method and terminal
CN111309205B (en) Application sharing method, first electronic device and computer-readable storage medium
CN109819016B (en) Information issuing method, information receiving method and mobile terminal based on block chain
CN109242512A (en) A kind of part true and false information processing method, device and equipment based on block chain
CN111597540B (en) Login method of application program, electronic device and readable storage medium
CN109451011B (en) Information storage method based on block chain and mobile terminal
CN110309003B (en) Information prompting method and mobile terminal
CN109446794B (en) Password input method and mobile terminal thereof
CN107835297B (en) Information updating method, mobile terminal and computer readable storage medium
CN111163227B (en) Sharing method and electronic equipment
CN111159738B (en) Authority configuration method, application login method and device
CN109753776B (en) Information processing method and device and mobile terminal
CN111443968A (en) Screenshot method and electronic equipment
CN111310250A (en) Application sharing method and electronic equipment
CN109257441B (en) Wireless local area network position acquisition method and device
CN109284119B (en) Application function control parameter processing method, device and equipment
CN111343618B (en) Display method and electronic equipment
CN110855550B (en) Communication method, electronic device, and storage medium
CN110032861B (en) Password setting method and terminal equipment

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
GR01 Patent grant
GR01 Patent grant