CN113407883A - Platform jump method and device, electronic equipment and readable storage medium - Google Patents

Platform jump method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN113407883A
CN113407883A CN202110694393.0A CN202110694393A CN113407883A CN 113407883 A CN113407883 A CN 113407883A CN 202110694393 A CN202110694393 A CN 202110694393A CN 113407883 A CN113407883 A CN 113407883A
Authority
CN
China
Prior art keywords
platform
user
information
jump
user information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110694393.0A
Other languages
Chinese (zh)
Inventor
黄新华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An International Smart City Technology Co Ltd
Original Assignee
Ping An International Smart City Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An International Smart City Technology Co Ltd filed Critical Ping An International Smart City Technology Co Ltd
Priority to CN202110694393.0A priority Critical patent/CN113407883A/en
Publication of CN113407883A publication Critical patent/CN113407883A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
    • 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/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioethics (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Storage Device Security (AREA)

Abstract

The invention relates to the technical field of safety protection, and discloses a platform jumping method, which comprises the following steps: when a platform jump instruction sent by a user from an original platform is received, judging whether user information of the user is stored locally; if the user information of the user is not stored locally, sending a request parameter for acquiring the user information of the user to the original platform; receiving user information which is sent by the original platform according to the request parameters and comprises identity information and role information, and judging whether the user has the authority of accessing a target platform in the platform jump instruction according to the role information; and if the user has the authority of accessing the target platform, storing the user information in the local and executing the jump operation. The invention also relates to a block chaining technique, the user information can be stored in block chain link points. The invention also provides a platform jumping device, electronic equipment and a storage medium. The invention can reduce the operation complexity when the platform jumps.

Description

Platform jump method and device, electronic equipment and readable storage medium
Technical Field
The invention relates to the technical field of safety protection, in particular to a platform jump method, a platform jump device, electronic equipment and a readable storage medium.
Background
With the development of society, the resources of one platform often cannot meet the requirements of users or enterprises, and a plurality of platforms are required to be combined, so that platform jump operation is often required to be executed. The platform jump is a method of jumping from one platform to another platform between combined platforms. For example, when a shopping website performs checkout payment, the platform of the shopping website needs to jump to a payment platform of WeChat, Paibao and Internet banking.
At present, most of common platform jump methods use a plurality of account numbers to perform platform jump, namely account number login operation is required to be executed when each platform is jumped to, and the complexity of jump operation is increased.
Disclosure of Invention
The invention provides a platform jump method, a platform jump device, electronic equipment and a computer readable storage medium, and mainly aims to reduce the operation complexity during platform jump.
In order to achieve the above object, the present invention provides a platform jump method, including:
when a platform jump instruction sent by a user from an original platform is received, judging whether user information of the user is stored locally;
if the user information of the user is locally stored, executing a jump operation according to the platform jump information in the platform jump instruction;
if the user information of the user is not stored locally, sending a request parameter for acquiring the user information of the user to the original platform;
receiving user information which is sent by the original platform according to the request parameters and comprises identity information and role information, and judging whether the user has the authority of accessing a target platform in the platform jump instruction according to the role information;
if the user does not have the authority of accessing the target platform, the skip operation is prohibited;
and if the user has the authority of accessing the target platform, storing the user information in the local, and executing the jump operation according to the platform jump information in the platform jump instruction.
Optionally, the determining whether the user information of the user is stored locally includes:
extracting a user identifier in the platform jump instruction;
according to the user identification, matching operation is executed in a stored user information list of a local database;
if the matching is successful, judging that the user information of the user is stored locally;
and if the matching is unsuccessful, judging that the user information of the user is not stored locally.
Optionally, the performing, according to the user identifier, a matching operation in a stored user information list of a local database includes:
performing information identification on the user identification to obtain user information corresponding to the user identification;
and matching the user information with the stored user information list.
Optionally, the determining, according to the role information, whether the user has a right to access a target platform in the platform jump instruction includes:
acquiring a preset authority list, and comparing the role information with the authority list to acquire the authority corresponding to the role information;
and judging whether the user has the authority to access the target platform in the platform jump instruction or not according to the authority corresponding to the role information.
Optionally, after the storing the user information locally, the method further includes:
and binding the user information and the role information.
Optionally, the sending, to the original platform, a request parameter for obtaining the user information of the user includes:
acquiring a request address of an I/O port of an original platform;
analyzing the request address to obtain a request mode of the original platform menu entry;
and sending a request parameter for acquiring the user information to the original platform according to the request mode.
Optionally, the sending, according to the request mode, a request parameter for obtaining the user information to an initial platform through the target platform jump interface includes:
establishing connection with the current platform according to the request mode;
sending test parameters to the current platform and judging whether the connection is successful or not;
and if the connection is successful, sending a request parameter for acquiring the user information and the role information to the current platform.
In order to solve the above problem, the present invention further provides a platform jump apparatus, including:
the information judging module is used for judging whether user information of a user is stored locally or not when a platform jump instruction sent by the user from an original platform is received, if the user information of the user is stored locally, executing jump operation according to the platform jump information in the platform jump instruction, and if the user information of the user is not stored locally, sending a request parameter for acquiring the user information of the user to the original platform;
the role obtaining module is used for receiving user information which is sent by the original platform according to the request parameter and comprises identity information and role information, and judging whether the user has the authority of accessing a target platform in the platform jump instruction according to the role information;
and the permission judging module is used for forbidding the jump operation if the user does not have the permission of accessing the target platform, storing the user information in the local and executing the jump operation according to the platform jump information in the platform jump instruction if the user has the permission of accessing the target platform.
In order to solve the above problem, the present invention also provides an electronic device, including:
a memory storing at least one computer program; and
and the processor executes the computer program stored in the memory to realize the platform jump method.
In order to solve the above problem, the present invention further provides a computer-readable storage medium, in which at least one computer program is stored, and the at least one computer program is executed by a processor in an electronic device to implement the platform jump method described above.
When a platform jump instruction of a user is received, judging whether a target platform stores user information of the user, if the target platform stores the user information of the user, executing jump operation according to the platform jump information in the platform jump instruction, so that a user verification process is reduced, acquiring the user information from an original platform when the target platform does not store the user information of the user, and judging whether the user has jump authority according to the user information, so that the user does not need to execute account login operation on the target platform. Therefore, the platform jump method, the platform jump device, the electronic equipment and the computer-readable storage medium provided by the invention reduce the operation complexity during platform jump.
Drawings
Fig. 1 is a schematic flowchart of a platform jump method according to an embodiment of the present invention;
FIG. 2 is a block diagram of a platform jump apparatus according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an internal structure of an electronic device implementing a platform jump method according to an embodiment of the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the invention provides a platform jump method. The execution subject of the platform jump method includes, but is not limited to, at least one of electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiments of the present application. In other words, the platform hopping method may be performed by software or hardware installed in the terminal device or the server device, and the software may be a block chain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like.
Referring to fig. 1, a flowchart of a platform jump method according to an embodiment of the present invention is shown, where in the embodiment of the present invention, the platform jump method includes:
s1, receiving a platform jump instruction sent by a user from an original platform
In the embodiment of the present invention, the original platform may be a platform where a user is currently located. If the user jumps from the platform A to the platform B, the platform A is an original platform, and the platform B can be called a target platform. The platform jump instruction is an instruction input by a user to jump from a current platform to a target platform. In the embodiment of the present invention, the user information includes identity information and/or role information, where the identity information includes user basic information such as a used account password, and the role information includes information such as a position and a grade of a user.
S2, judging whether the user information of the user is stored locally
In the embodiment of the present invention, the determining whether the user information of the user is stored locally includes: extracting a user identifier in the platform jump instruction; according to the user identification, matching operation is executed in a stored user information list of a local database; if the matching is successful, judging that the user information of the user is stored locally; and if the matching is unsuccessful, judging that the user information of the user is not stored locally.
In detail, the user identifier may be a nickname used for identifying the user identity when the user performs a platform jump. The local may be a database in the target platform that stores user information.
In detail, the performing, according to the user identifier, a matching operation in a stored user information list of a local database includes: performing information identification on the user identification to obtain user information corresponding to the user identification; and matching the user information with the stored user information list.
If the user information of the user is stored locally, the step S3 is carried out, and jump operation is executed according to the platform jump information in the platform jump instruction;
wherein the jumping operation is automatically performed by the original platform.
In the embodiment of the invention, when the user information of the user is stored in the target platform, the jump operation is directly executed according to the platform jump information in the platform jump instruction, so that the user verification process is reduced.
If the user information of the user is not stored locally, entering S4, and sending a request parameter for acquiring the user information of the user to the original platform;
in the embodiment of the present invention, the sending of the request parameter for acquiring the user information of the user to the original platform is generally implemented by an I/O port. Specifically, the sending of the request parameter for acquiring the user information of the user to the original platform includes: acquiring a request address of an I/O port of an original platform; analyzing the request address to obtain a request mode of the original platform menu entry; and sending a request parameter for acquiring the user information to the original platform according to the request mode.
In detail, the I/O port of the original platform may receive, for the original platform, the request parameter sent by the target platform and send related data to the data transmission port of the target platform. The request mode is a protocol determined according to a request address and is used for restricting the format of request parameters, such as a POST request, a PUT request, a DELETE request and the like.
Further, the sending a request parameter for acquiring the user information to an initial platform through the target platform skip interface according to the request mode includes: establishing connection with the current platform according to the request mode; sending test parameters to the current platform and judging whether the connection is successful or not; and if the connection is successful, sending a request parameter for acquiring the user information and the role information to the current platform.
And S5, receiving the user information which is sent by the original platform according to the request parameter and comprises identity information and role information.
S6, judging whether the user has the authority to access the target platform in the platform jump instruction according to the role information
Specifically, the determining whether the user has the authority to access the target platform in the platform jump instruction according to the role information includes: acquiring a preset authority list, and comparing the role information with the authority list to acquire the authority corresponding to the role information; and judging whether the user has the authority to access the target platform in the platform jump instruction or not according to the authority corresponding to the role information.
In the embodiment of the invention, the permission list comprises the jump permission of the user at each level or position. For example, a user at a first level has the authority to jump and operate all functions of the target platform, a user at a second level has the authority to jump and operate part of the functions of the target platform, and a user at a third level does not have the authority to jump the target platform, etc.
If the user does not have the authority of accessing the target platform, the step S7 is carried out, and the skip operation is forbidden;
in the embodiment of the invention, when the authority of the role information in the authority list is the authority without the target platform, the user is prohibited from jumping from the original platform to the target platform.
In one embodiment of the invention, when the jump operation is prohibited, an interface with insufficient access authority can be popped up on the original platform to prompt a user.
And if the user has the authority of accessing the target platform, the step S8 is entered, the user information is stored locally, and the jump operation is executed according to the platform jump information in the platform jump instruction.
In the embodiment of the invention, the user information is stored in the local of the target platform, so that the user does not need to carry out authority verification when jumping or logging in the target platform next time, and the complexity of platform jumping operation is reduced.
In detail, after the storing the user information locally, the method further includes: and binding the user information and the role information.
The embodiment of the invention can realize the binding of the user information and the role information by storing the role information and the user information into the same data table.
The embodiment of the invention binds the user information and the role information, and can be convenient for a target platform to judge the function of the user which can be operated on the target platform. For example, if the role information bound to the user information a is a user of a first level, the user may operate all functions of the target platform, and the like.
When a platform jump instruction of a user is received, judging whether a target platform stores user information of the user, if the target platform stores the user information of the user, executing jump operation according to the platform jump information in the platform jump instruction, so that a user verification process is reduced, acquiring the user information from an original platform when the target platform does not store the user information of the user, and judging whether the user has jump authority according to the user information, so that the user does not need to execute account login operation on the target platform. Therefore, the embodiment of the invention can reduce the operation complexity during platform jump.
FIG. 2 is a functional block diagram of the platform jump device according to the present invention.
The platform jump apparatus 100 according to the present invention may be installed in an electronic device. According to the implemented functions, the platform jump device may include an information determination module 101, a role acquisition module 102, and a permission determination module 103, which may also be referred to as a unit, and refers to a series of computer program segments that can be executed by a processor of an electronic device and can perform fixed functions, and are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
the information determining module 101 is configured to determine whether user information of a user is stored locally when receiving a platform jump instruction sent by the user from an original platform, execute a jump operation according to the platform jump information in the platform jump instruction if the user information of the user is stored locally, and send a request parameter for acquiring the user information of the user to the original platform if the user information of the user is not stored locally.
In the embodiment of the present invention, the original platform may be a platform where a user is currently located. If the user jumps from the platform A to the platform B, the platform A is an original platform, and the platform B can be called a target platform. The platform jump instruction is an instruction input by a user to jump from a current platform to a target platform. In the embodiment of the present invention, the user information includes identity information and/or role information, where the identity information includes user basic information such as a used account password, and the role information includes information such as a position and a grade of a user.
In the embodiment of the present invention, the determining whether the user information of the user is stored locally includes: extracting a user identifier in the platform jump instruction; according to the user identification, matching operation is executed in a stored user information list of a local database; if the matching is successful, judging that the user information of the user is stored locally; and if the matching is unsuccessful, judging that the user information of the user is not stored locally.
In detail, the user identifier may be a nickname used for identifying the user identity when the user performs a platform jump. The local may be a database in the target platform that stores user information.
In detail, the performing, according to the user identifier, a matching operation in a stored user information list of a local database includes: performing information identification on the user identification to obtain user information corresponding to the user identification; and matching the user information with the stored user information list.
If the user information of the user is locally stored, executing a jump operation according to the platform jump information in the platform jump instruction;
wherein the jumping operation is automatically performed by the original platform.
If the user information of the user is not stored locally, the information judgment module 101 sends a request parameter for acquiring the user information of the user to the original platform;
in the embodiment of the present invention, the sending of the request parameter for acquiring the user information of the user to the original platform is generally implemented by an I/O port. Specifically, the sending of the request parameter for acquiring the user information of the user to the original platform includes: acquiring a request address of an I/O port of an original platform; analyzing the request address to obtain a request mode of the original platform menu entry; and sending a request parameter for acquiring the user information to the original platform according to the request mode.
In detail, the I/O port of the original platform may receive, for the original platform, the request parameter sent by the target platform and send related data to the data transmission port of the target platform. The request mode is a protocol determined according to a request address and is used for restricting the format of request parameters, such as a POST request, a PUT request, a DELETE request and the like.
Further, the sending a request parameter for acquiring the user information to an initial platform through the target platform skip interface according to the request mode includes: establishing connection with the current platform according to the request mode; sending test parameters to the current platform and judging whether the connection is successful or not; and if the connection is successful, sending a request parameter for acquiring the user information and the role information to the current platform.
The role obtaining module 102 is configured to receive user information including identity information and role information sent by the original platform according to the request parameter, and determine whether the user has an authority to access a target platform in the platform jump instruction according to the role information.
Specifically, the determining whether the user has the authority to access the target platform in the platform jump instruction according to the role information includes: acquiring a preset authority list, and comparing the role information with the authority list to acquire the authority corresponding to the role information; and judging whether the user has the authority to access the target platform in the platform jump instruction or not according to the authority corresponding to the role information.
In the embodiment of the invention, the permission list comprises the jump permission of the user at each level or position. For example, a user at a first level has the authority to jump and operate all functions of the target platform, a user at a second level has the authority to jump and operate part of the functions of the target platform, and a user at a third level does not have the authority to jump the target platform, etc.
The permission judging module 103 is configured to prohibit a jump operation if the user does not have a permission to access the target platform, store the user information in a local area if the user has the permission to access the target platform, and execute the jump operation according to platform jump information in the platform jump instruction.
If the user does not have the authority to access the target platform, the authority determination module 103 prohibits the jump operation;
in the embodiment of the present invention, when the authority of the role information in the authority list is the authority without the target platform to be jumped to, the authority determination module 103 prohibits the user from jumping from the original platform to the target platform.
In one embodiment of the present invention, when the jump operation is prohibited, the permission determination module 103 may pop up an interface with insufficient access permission on the original platform to prompt the user.
If the user has the authority to access the target platform, the authority determination module 103 stores the user information locally, and executes a jump operation according to platform jump information in the platform jump instruction.
In the embodiment of the invention, the user information is stored in the local of the target platform, so that the user does not need to carry out authority verification when jumping or logging in the target platform next time, and the complexity of platform jumping operation is reduced.
In detail, the permission determination module 103 is further configured to: and binding the user information and the role information.
The embodiment of the invention can realize the binding of the user information and the role information by storing the role information and the user information into the same data table.
The embodiment of the invention binds the user information and the role information, and can be convenient for a target platform to judge the function of the user which can be operated on the target platform. For example, if the role information bound to the user information a is a user of a first level, the user may operate all functions of the target platform, and the like.
Fig. 3 is a schematic structural diagram of an electronic device for implementing a platform jump method according to the present invention.
The electronic device may comprise a processor 10, a memory 11, a communication bus 12 and a communication interface 13, and may further comprise a computer program, such as a platform jump program, stored in the memory 11 and executable on the processor 10.
The memory 11 includes at least one type of readable storage medium, which includes flash memory, removable hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device, for example a removable hard disk of the electronic device. The memory 11 may also be an external storage device of the electronic device in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device. The memory 11 may be used not only to store application software installed in the electronic device and various types of data, such as codes of a platform jump program, etc., but also to temporarily store data that has been output or is to be output.
The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various components of the whole electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device by running or executing programs or modules (e.g., a platform jump program, etc.) stored in the memory 11 and calling data stored in the memory 11.
The communication bus 12 may be a PerIPheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. The communication bus 12 is arranged to enable connection communication between the memory 11 and at least one processor 10 or the like. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
Fig. 3 shows only an electronic device having components, and those skilled in the art will appreciate that the structure shown in fig. 3 does not constitute a limitation of the electronic device, and may include fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
For example, although not shown, the electronic device may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 10 through a power management device, so that functions of charge management, discharge management, power consumption management and the like are realized through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
Optionally, the communication interface 13 may include a wired interface and/or a wireless interface (e.g., WI-FI interface, bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device and other electronic devices.
Optionally, the communication interface 13 may further include a user interface, which may be a Display (Display), an input unit (such as a Keyboard (Keyboard)), and optionally, a standard wired interface, or a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable, among other things, for displaying information processed in the electronic device and for displaying a visualized user interface.
It is to be understood that the described embodiments are for purposes of illustration only and that the scope of the appended claims is not limited to such structures.
The platform jump program stored in the memory 11 of the electronic device is a combination of a plurality of computer programs, and when running in the processor 10, can realize:
when a platform jump instruction sent by a user from an original platform is received, judging whether user information of the user is stored locally;
if the user information of the user is locally stored, executing a jump operation according to the platform jump information in the platform jump instruction;
if the user information of the user is not stored locally, sending a request parameter for acquiring the user information of the user to the original platform;
receiving user information which is sent by the original platform according to the request parameters and comprises identity information and role information, and judging whether the user has the authority of accessing a target platform in the platform jump instruction according to the role information;
if the user does not have the authority of accessing the target platform, the skip operation is prohibited;
and if the user has the authority of accessing the target platform, storing the user information in the local, and executing the jump operation according to the platform jump information in the platform jump instruction.
Specifically, the processor 10 may refer to the description of the relevant steps in the embodiment corresponding to fig. 1 for a specific implementation method of the computer program, which is not described herein again.
Further, the electronic device integrated module/unit, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer readable storage medium. The computer readable medium may be non-volatile or volatile. The computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM).
Embodiments of the present invention may also provide a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program may implement:
when a platform jump instruction sent by a user from an original platform is received, judging whether user information of the user is stored locally;
if the user information of the user is locally stored, executing a jump operation according to the platform jump information in the platform jump instruction;
if the user information of the user is not stored locally, sending a request parameter for acquiring the user information of the user to the original platform;
receiving user information which is sent by the original platform according to the request parameters and comprises identity information and role information, and judging whether the user has the authority of accessing a target platform in the platform jump instruction according to the role information;
if the user does not have the authority of accessing the target platform, the skip operation is prohibited;
and if the user has the authority of accessing the target platform, storing the user information in the local, and executing the jump operation according to the platform jump information in the platform jump instruction.
Further, the computer usable storage medium 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 for at least one function, and the like; the storage data area may store data created according to the use of the blockchain node, and the like.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. A method of platform hopping, the method comprising:
when a platform jump instruction sent by a user from an original platform is received, judging whether user information of the user is stored locally;
if the user information of the user is locally stored, executing a jump operation according to the platform jump information in the platform jump instruction;
if the user information of the user is not stored locally, sending a request parameter for acquiring the user information of the user to the original platform;
receiving user information which is sent by the original platform according to the request parameters and comprises identity information and role information, and judging whether the user has the authority of accessing a target platform in the platform jump instruction according to the role information;
if the user does not have the authority of accessing the target platform, the skip operation is prohibited;
and if the user has the authority of accessing the target platform, storing the user information in the local, and executing the jump operation according to the platform jump information in the platform jump instruction.
2. The platform jump method of claim 1, wherein the determining whether the user information of the user is stored locally comprises:
extracting a user identifier in the platform jump instruction;
according to the user identification, matching operation is executed in a stored user information list of a local database;
if the matching is successful, judging that the user information of the user is stored locally;
and if the matching is unsuccessful, judging that the user information of the user is not stored locally.
3. The platform hopping method as claimed in claim 2, wherein said performing a matching operation in a list of stored user information of a local database according to said user identification comprises:
performing information identification on the user identification to obtain user information corresponding to the user identification;
and matching the user information with the stored user information list.
4. The platform jump method of claim 1, wherein the determining whether the user has the authority to access the target platform in the platform jump instruction according to the role information comprises:
acquiring a preset authority list, and comparing the role information with the authority list to acquire the authority corresponding to the role information;
and judging whether the user has the authority to access the target platform in the platform jump instruction or not according to the authority corresponding to the role information.
5. The platform jump method according to any one of claims 1 to 4, wherein after storing said user information locally, further comprising:
and binding the user information and the role information.
6. The platform hopping method of claim 1, wherein the sending of the request parameter for acquiring the user information of the user to the original platform comprises:
acquiring a request address of an I/O port of an original platform;
analyzing the request address to obtain a request mode of the original platform menu entry;
and sending a request parameter for acquiring the user information to the original platform according to the request mode.
7. The platform jump method of claim 6, wherein the sending a request parameter for obtaining the user information to an initial platform through the target platform jump interface according to the request mode comprises:
establishing connection with the current platform according to the request mode;
sending test parameters to the current platform and judging whether the connection is successful or not;
and if the connection is successful, sending a request parameter for acquiring the user information and the role information to the current platform.
8. A platform jump apparatus, comprising:
the information judging module is used for judging whether user information of a user is stored locally or not when a platform jump instruction sent by the user from an original platform is received, if the user information of the user is stored locally, executing jump operation according to the platform jump information in the platform jump instruction, and if the user information of the user is not stored locally, sending a request parameter for acquiring the user information of the user to the original platform;
the role obtaining module is used for receiving user information which is sent by the original platform according to the request parameter and comprises identity information and role information, and judging whether the user has the authority of accessing a target platform in the platform jump instruction according to the role information;
and the permission judging module is used for forbidding the jump operation if the user does not have the permission of accessing the target platform, storing the user information in the local and executing the jump operation according to the platform jump information in the platform jump instruction if the user has the permission of accessing the target platform.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores computer program instructions executable by the at least one processor to enable the at least one processor to perform the platform jump method of any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, implements the platform jump method according to any one of claims 1 to 7.
CN202110694393.0A 2021-06-22 2021-06-22 Platform jump method and device, electronic equipment and readable storage medium Pending CN113407883A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110694393.0A CN113407883A (en) 2021-06-22 2021-06-22 Platform jump method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110694393.0A CN113407883A (en) 2021-06-22 2021-06-22 Platform jump method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN113407883A true CN113407883A (en) 2021-09-17

Family

ID=77682466

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110694393.0A Pending CN113407883A (en) 2021-06-22 2021-06-22 Platform jump method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113407883A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200082117A1 (en) * 2018-09-11 2020-03-12 Amari.Ai Incorporated Secure communications gateway for trusted execution and secure communications
CN111695156A (en) * 2020-06-15 2020-09-22 北京同邦卓益科技有限公司 Service platform access method, device, equipment and storage medium
CN112637167A (en) * 2020-12-15 2021-04-09 平安资产管理有限责任公司 System login method and device, computer equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200082117A1 (en) * 2018-09-11 2020-03-12 Amari.Ai Incorporated Secure communications gateway for trusted execution and secure communications
CN111695156A (en) * 2020-06-15 2020-09-22 北京同邦卓益科技有限公司 Service platform access method, device, equipment and storage medium
CN112637167A (en) * 2020-12-15 2021-04-09 平安资产管理有限责任公司 System login method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111429121B (en) Block chain-based electronic ticket processing method, device, equipment and storage medium
CN112506779A (en) Software interface testing method and device, electronic equipment and storage medium
CN112528307A (en) Service request checking method and device, electronic equipment and storage medium
CN113378225A (en) Online sensitive data acquisition method and device, electronic equipment and storage medium
CN112506559A (en) Gray scale publishing method and device based on gateway, electronic equipment and storage medium
CN112580079A (en) Authority configuration method and device, electronic equipment and readable storage medium
CN114827354A (en) Identity authentication information display method and device, electronic equipment and readable storage medium
CN114491646A (en) Data desensitization method and device, electronic equipment and storage medium
CN113435910A (en) Sales-under-sale signing method and device, electronic equipment and storage medium
CN112085611A (en) Asynchronous data verification method and device, electronic equipment and storage medium
CN114358748B (en) BIM-based engineering construction informatization management method and device
CN114826725A (en) Data interaction method, device, equipment and storage medium
CN113407883A (en) Platform jump method and device, electronic equipment and readable storage medium
CN112667244A (en) Data verification method and device, electronic equipment and computer readable storage medium
CN112669029A (en) Bank card adding method, device, equipment and computer readable storage medium
CN111859452A (en) Page information checking method, device and equipment and computer readable storage medium
CN114723400B (en) Service authorization management method, device, equipment and storage medium
CN112612451B (en) Interface generation method, device, equipment and computer readable storage medium
CN113626533B (en) Ultraviolet power detection method and device and electronic equipment
CN112182011B (en) Data operation method, device, electronic equipment and storage medium
CN112528332A (en) Data acquisition method and device, electronic equipment and computer storage medium
CN114564483A (en) Data structure-based data checking method and device, electronic equipment and medium
CN114372258A (en) Self-adaptive identity real-time verification method, device, equipment and storage medium
CN113836030A (en) Guest-obtaining system test method, apparatus, device and medium
CN115001805A (en) Single sign-on method, device, equipment and storage medium

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