CN113961288A - Lower computer control method, device, equipment and computer readable storage medium - Google Patents

Lower computer control method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN113961288A
CN113961288A CN202111203924.8A CN202111203924A CN113961288A CN 113961288 A CN113961288 A CN 113961288A CN 202111203924 A CN202111203924 A CN 202111203924A CN 113961288 A CN113961288 A CN 113961288A
Authority
CN
China
Prior art keywords
computer
lower computer
request
target
identification 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
CN202111203924.8A
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.)
Beijing Topsec Technology Co Ltd
Beijing Topsec Network Security Technology Co Ltd
Beijing Topsec Software Co Ltd
Original Assignee
Beijing Topsec Technology Co Ltd
Beijing Topsec Network Security Technology Co Ltd
Beijing Topsec Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Topsec Technology Co Ltd, Beijing Topsec Network Security Technology Co Ltd, Beijing Topsec Software Co Ltd filed Critical Beijing Topsec Technology Co Ltd
Priority to CN202111203924.8A priority Critical patent/CN113961288A/en
Publication of CN113961288A publication Critical patent/CN113961288A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a lower computer control method, a device, equipment and a computer readable storage medium, wherein a second front-end page corresponding to a target type can control one or more lower computers of the target type, and different from the prior art, each type of lower computer is added or each lower computer is added, a front-end code and a rear-end service code of the lower computer are required to be copied to an upper computer. In addition, compared with the method for calling the lower computer interface to process the request by the upper computer in the prior art, the method and the device for processing the request by the lower computer can reduce the workload of the upper computer, and simultaneously prevent the lower computer interface from being exposed on the upper computer, so that the lower computer interface is protected to a certain extent.

Description

Lower computer control method, device, equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for controlling a lower computer.
Background
Generally, one upper computer centrally manages a plurality of lower computers, and the plurality of lower computers may belong to the same type or different types.
In the prior art, each type of lower computer is added or each lower computer is added, the front-end code and the rear-end service code of the lower computer need to be copied to the upper computer, so that the upper computer can control the newly added lower computer. However, this results in a low development efficiency and a large amount of time.
Disclosure of Invention
In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a method, an apparatus, a device, and a computer readable storage medium for controlling a lower computer, so as to improve development efficiency and effectively avoid the problems of jamming and the like caused by too much content on an upper computer.
In a first aspect, an embodiment of the present disclosure provides a lower computer control method, which is applied to a terminal, and the method includes:
responding to a first operation of a user in a first front-end page of an upper computer, and displaying a preset list, wherein the preset list comprises one or more types of identification information respectively corresponding to lower computers connected with the upper computer;
responding to a second operation of a user on identification information of a target type in the one or more types, and displaying a second front-end page corresponding to the target type in the first front-end page, wherein the second front-end page comprises identification information corresponding to one or more lower computers belonging to the target type respectively;
responding to a third operation of a user on identification information of a target lower computer in the one or more lower computers, and sending a first request to the upper computer, wherein the first request comprises the identification information of the target lower computer, and the upper computer is used for forwarding the first request to the target lower computer;
and receiving and displaying a processing result which is forwarded by the upper computer and generated by the target lower computer according to the first request.
The embodiment of the disclosure provides a lower computer control method, which is applied to an upper computer, and the method comprises the following steps:
receiving a first request sent by a terminal, wherein the first request comprises identification information of a target lower computer;
forwarding the first request to the target lower computer;
receiving a processing result generated by the target lower computer according to the first request;
and sending the processing result to the terminal.
In a second aspect, an embodiment of the present disclosure provides a lower-level computer control apparatus included in a terminal, the apparatus including:
the display module is used for responding to a first operation of a user in a first front-end page of the upper computer and displaying a preset list, wherein the preset list comprises one or more types of identification information respectively corresponding to the lower computer connected with the upper computer; responding to the operation of a user on the identification information of a target type in the one or more types, and displaying a second front-end page corresponding to the target type in the first front-end page, wherein the second front-end page comprises the identification information corresponding to one or more lower computers belonging to the target type respectively;
the sending module is used for responding to the operation of a user on the identification information of a target lower computer in the one or more lower computers, sending a first request to the upper computer, wherein the first request comprises the identification information of the target lower computer, and the upper computer is used for forwarding the first request to the target lower computer;
the receiving module is used for receiving a processing result which is transmitted by the upper computer and generated by the target lower computer according to the first request;
and the display module is also used for displaying a processing result which is forwarded by the upper computer and generated by the target lower computer according to the first request.
The disclosed embodiment provides a lower computer control device, including in the host computer, the device includes:
the receiving module is used for receiving a first request sent by a terminal, and the first request comprises identification information of a target lower computer;
the forwarding module is used for forwarding the first request to the target lower computer;
the receiving module is further configured to: receiving a processing result generated by the target lower computer according to the first request;
the forwarding module is further configured to: and sending the processing result to the terminal.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method as applied to the terminal of the first aspect.
In a fourth aspect, an embodiment of the present disclosure provides an upper computer, including:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method as described in the first aspect as applied to an upper computer.
In a fifth aspect, the disclosed embodiments provide a computer-readable storage medium having a computer program stored thereon, the computer program being executed by a processor to implement the method according to the first aspect.
In a sixth aspect, the disclosed embodiments also provide a computer program product comprising a computer program or instructions which, when executed by a processor, implement the method according to the first aspect.
The method, the device, the equipment and the computer readable storage medium for controlling the lower computer provided by the embodiment of the disclosure respond to a first operation of a user in a first front-end page of an upper computer through a terminal, and display a preset list, wherein the preset list comprises one or more types of identification information respectively corresponding to the lower computer connected with the upper computer. In addition, responding to a second operation of the user on the identification information of the target type in the one or more types through the terminal, and displaying a second front-end page corresponding to the target type in the first front-end page, wherein the second front-end page comprises the identification information corresponding to one or more lower computers belonging to the target type respectively. Further, a first request is sent to the upper computer through a terminal in response to a third operation of a user on identification information of a target lower computer in the one or more lower computers, the first request comprises the identification information of the target lower computer, and the upper computer is used for forwarding the first request to the target lower computer. And finally, receiving and displaying a processing result which is forwarded by the upper computer and generated by the target lower computer according to the first request through a terminal. According to the method, the second front-end page corresponding to the target type can control one or more lower computers of the target type, and different from the prior art, the method only needs to nest the front-end page corresponding to the target type lower computer on the front-end page of the upper computer when one type of lower computer is added or one lower computer is added, and therefore the development efficiency can be improved, and the problems of jamming and the like caused by excessive upper content of the upper computer are effectively avoided.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart of a lower computer control method provided in an embodiment of the present disclosure;
fig. 2 is a schematic diagram of an application scenario provided by the embodiment of the present disclosure;
FIG. 3 provides a schematic view of a user interface for an embodiment of the present disclosure;
FIG. 4 provides a schematic view of a user interface for an embodiment of the present disclosure;
FIG. 5 provides a schematic view of a user interface for an embodiment of the present disclosure;
fig. 6 is a flowchart of a method for controlling a lower computer according to another embodiment of the present disclosure;
FIG. 7 provides a schematic view of a user interface for an embodiment of the present disclosure;
FIG. 8 provides a schematic view of a user interface for an embodiment of the present disclosure;
FIG. 9 provides a schematic view of a user interface for an embodiment of the present disclosure;
fig. 10 is a flowchart of a method for controlling a lower computer according to another embodiment of the present disclosure;
fig. 11 is a schematic structural diagram of a lower computer control device according to an embodiment of the present disclosure;
fig. 12 is a schematic structural diagram of a lower computer control device according to an embodiment of the present disclosure;
fig. 13 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure;
fig. 14 is a schematic structural diagram of an upper computer provided in the embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
With the continuous development of computer technology, it is common for an upper computer to manage a lower computer. In a scene where the upper computer centrally manages the lower computers, the same type of lower computers are mostly managed.
Generally, one upper computer centrally manages a plurality of lower computers, and the plurality of lower computers may belong to the same type or different types.
In the prior art, each type of lower computer is added or each lower computer is added, the front-end code and the rear-end service code of the lower computer need to be copied to the upper computer, so that the upper computer can control the newly added lower computer. However, this results in a low development efficiency and a large amount of time. In order to solve the problem, embodiments of the present disclosure provide a lower computer control method, which is described below with reference to specific embodiments.
Fig. 1 is a flowchart of a lower computer control method provided in the embodiment of the present disclosure. The method can be applied to the application scenario shown in fig. 2, where the application scenario includes an electronic device 21, an upper computer 22, and a lower computer 23, and the electronic device 21 may specifically be a terminal, for example, a smart phone, a palm computer, a tablet computer, a wearable device with a display screen, a desktop computer, a notebook computer, an all-in-one machine, an intelligent home device, and the like. It can be understood that the lower computer control method provided by the embodiment of the present disclosure may also be applied in other scenarios.
The following describes the lower computer control method shown in fig. 1 with reference to the application scenario shown in fig. 2, where the method is applied to a terminal, and includes the following specific steps:
s101, responding to a first operation of a user in a first front-end page of an upper computer, and displaying a preset list, wherein the preset list comprises one or more types of identification information respectively corresponding to lower computers connected with the upper computer.
The electronic device 21 shown in fig. 2 opens the browser and displays a login interface. The user inputs an account name and a password and clicks to log in. The account number composed of the account name and the password is a universal account number of the lower computer managed by the upper computer. In response to the login operation of the user on the browser, the electronic device 21 displays the first front page of the upper computer shown in fig. 3 on the user interface of the electronic device 21. The user clicks the "lower computer management" icon, and the electronic device 21 displays, in response to an operation of the user clicking the "lower computer management" icon in the first front-end page of the upper computer, an interface of a preset list as shown in fig. 4 on the user interface of the electronic device 21, where the preset list includes identification information corresponding to one or more types of lower computers connected to the upper computer.
Optionally, the one or more types of corresponding identification information may be a name or an icon. The preset list comprises a type A lower computer, a type B lower computer, a type C lower computer, a type D lower computer and the like.
Optionally, the operation mode is not limited to single click or double click, and may also be dragging, sliding, touching, and the like.
And S102, responding to a second operation of the user on the identification information of the target type in the one or more types, and displaying a second front-end page corresponding to the target type in the first front-end page, wherein the second front-end page comprises the identification information corresponding to one or more lower computers belonging to the target type respectively.
In the interface of the preset list shown in fig. 4, the user clicks the "a-type lower computer" icon, and in response to an operation of clicking the "a-type lower computer" icon by the user in the preset list page, the electronic device 21 displays a page shown in fig. 5, that is, displays a second front-end page corresponding to the a-type lower computer in the first front-end page, where the second front-end page includes identification information corresponding to one or more lower computers of the a-type lower computer, respectively, and the identification information corresponding to three lower computers of the a-type lower computer, respectively, is "a 1", "a 2", and "A3" shown in fig. 5. Similarly, the user clicks other types of lower computers, the response process and the principle are the same, and details are not described herein.
Optionally, the identification information respectively corresponding to the one or more lower computers of the target type includes, but is not limited to, a serial number, an Identity Document (ID), a name, and an icon. The present disclosure is named as an example, and takes "a 1", "a 2", and "A3" as identification information corresponding to three lower computers belonging to the type a lower computer, respectively.
Optionally, the second front end page may be nested in the first front end page by an in-line frame (iframe).
S103, responding to a third operation of a user on identification information of a target lower computer in the one or more lower computers, sending a first request to the upper computer, wherein the first request comprises the identification information of the target lower computer, and the upper computer is used for forwarding the first request to the target lower computer.
As shown in fig. 5, taking an example that a user clicks an "a 1" icon, the electronic device 21 sends a first request to the upper computer 22 in response to a click operation of the user on identification information "a 1" of a target lower computer of the one or more lower computers, where the first request includes identification information "a 1" of the target lower computer, and the upper computer 22 is configured to forward the first request to the target lower computer 23.
Optionally, the first request may be a hypertext Transfer Protocol (HTTP) request.
And S104, receiving and displaying a processing result which is forwarded by the upper computer and generated by the target lower computer according to the first request.
As shown in fig. 2, after the upper computer 22 forwards the first request to the target lower computer 23, the lower computer 23 generates a processing result according to the request and returns the processing result to the upper computer 22, the upper computer 22 returns the received processing result to the electronic device 21, and the electronic device 21 receives the processing result and displays the processing result generated by the target lower computer according to the first request on a front-end page of the upper computer 22.
The method and the device for displaying the identification information of the upper computer display screen in screen display. In addition, responding to a second operation of the user on the identification information of the target type in the one or more types through the terminal, and displaying a second front-end page corresponding to the target type in the first front-end page, wherein the second front-end page comprises the identification information corresponding to one or more lower computers belonging to the target type respectively. Further, a first request is sent to the upper computer through a terminal in response to a third operation of a user on identification information of a target lower computer in the one or more lower computers, the first request comprises the identification information of the target lower computer, and the upper computer is used for forwarding the first request to the target lower computer. And finally, receiving and displaying a processing result which is forwarded by the upper computer and generated by the target lower computer according to the first request through a terminal. According to the method, the second front-end page corresponding to the target type can control one or more lower computers of the target type, and different from the prior art, the method only needs to nest the front-end page corresponding to the target type lower computer on the front-end page of the upper computer when one type of lower computer is added or one lower computer is added, and therefore the development efficiency can be improved, and the problems of jamming and the like caused by excessive upper content of the upper computer are effectively avoided.
In addition, after the upper computer receives the request sent by the electronic equipment, the upper computer does not call the interface of the lower computer to process the request, but only forwards the request to the lower computer, and the lower computer performs corresponding processing on the request. Therefore, compared with the method for calling the lower computer interface to process the request by the upper computer in the prior art, the method and the device for processing the request by the lower computer can reduce the workload of the upper computer, simultaneously avoid the data interface of the lower computer from being exposed on the upper computer, and play a certain protection role on the data interface of the lower computer.
Fig. 6 is a flowchart of a kernel upgrade method according to another embodiment of the present disclosure, and as shown in fig. 6, the method applied to a terminal includes the following steps:
s601, responding to a fourth operation of the user in the first front-end page, and displaying the preset list.
The electronic device 21 shown in fig. 2 opens the browser and displays a login interface. The user inputs an account name and a password and clicks to log in. The account number composed of the account name and the password is a universal account number of the lower computer managed by the upper computer. In response to the login operation of the user on the browser, the electronic device 21 displays the first front page of the upper computer shown in fig. 7 on the user interface of the electronic device 21. When the user clicks the "new" icon, the electronic device 21 displays an interface of the preset list shown in fig. 8 on the user interface of the electronic device 21 in response to the user clicking the "new" icon on the first front-end page of the upper computer.
S602, responding to a fifth operation of the user on the identification information of the target type in the one or more types, and sending a second request to the upper computer.
The user selects the identification information of the target type on the interface of the preset list shown in fig. 8, the electronic device 21 displays the page shown in fig. 9 in response to the operation of "selecting the identification information of the target type" of the user in the page of the preset list, that is, the D-type lower computer and the E-type lower computer are selected, the user clicks the "add" icon, and the electronic device 21 sends a second request to the upper computer 22 in response to the operation of "adding" of the user in the page of the preset list.
Optionally, the operation of responding to the "addition" of the user in the preset list page may be to add the selected target type in sequence, or to add multiple types at the same time.
And S603, receiving the related information of the second front-end page corresponding to the target type returned by the upper computer.
After the upper computer 22 receives the second request sent by the electronic device 21, the upper computer 22 returns the relevant information of the second front-end page corresponding to the selected target type to the electronic device 21, and the electronic device 21 receives the relevant information of the second front-end page corresponding to the target type returned by the upper computer 22, as shown in fig. 9, that is, the electronic device 21 receives the relevant information of the second front-end page corresponding to the D-type lower computer and the E-type lower computer returned by the upper computer 22.
Optionally, the target type may be a sequentially selected type, or may be multiple types selected simultaneously.
S604, loading the second front-end page corresponding to the target type into the first front-end page according to the related information of the second front-end page corresponding to the target type.
The related information of the second front end page may be a code corresponding to the second front end page. Further, the upper computer 22 adds the code corresponding to the second front-end page to the code corresponding to the first front-end page to obtain a new section of code. The electronic device 21 further performs page rendering according to the new piece of code, so that the second front-end page can be loaded into the first front-end page.
S605, responding to a first operation of a user in a first front-end page of an upper computer, and displaying a preset list, wherein the preset list comprises one or more types of identification information respectively corresponding to lower computers connected with the upper computer.
Specifically, the implementation process and principle of S605 and S101 are consistent, and are not described herein again.
S606, responding to a second operation of the user on the identification information of the target type in the one or more types, and displaying a second front-end page corresponding to the target type in the first front-end page, wherein the second front-end page comprises identification information corresponding to one or more lower computers belonging to the target type respectively.
Specifically, the implementation process and principle of S606 and S102 are consistent, and are not described herein again.
S607, responding to a third operation of a user on identification information of a target lower computer in the one or more lower computers, sending a first request to the upper computer, wherein the first request comprises the identification information of the target lower computer, and the upper computer is used for forwarding the first request to the target lower computer.
Specifically, the implementation process and principle of S607 and S103 are the same, and are not described herein again.
And S608, receiving and displaying a processing result which is forwarded by the upper computer and generated by the target lower computer according to the first request.
Specifically, the implementation process and principle of S608 and S104 are consistent, and are not described herein again.
According to the method and the device for displaying the preset list, the terminal responds to the fourth operation of the user in the first front-end page and displays the preset list before responding to the first operation of the user in the first front-end page of the upper computer and displaying the preset list. And then, responding to a fifth operation of the user on the identification information of the target type in the one or more types through the terminal, and sending a second request to the upper computer. And further, receiving related information of a second front-end page corresponding to the target type returned by the upper computer through a terminal, and loading the second front-end page corresponding to the target type into the first front-end page according to the related information of the second front-end page corresponding to the target type. As each type of the lower computer is added, only the front-end page of the corresponding type of the lower computer needs to be imported into the front-end page of the upper computer, so that a user can complete the import process without the intervention of developers, the development efficiency can be improved, and the operation difficulty is reduced.
Fig. 10 is a flowchart of a lower computer control method according to another embodiment of the present disclosure, and as shown in fig. 10, the method is applied to an upper computer, and includes the following steps:
s1001, receiving a first request sent by a terminal, wherein the first request comprises identification information of a target lower computer.
As shown in fig. 5, taking an example that a user clicks an "a 1" icon, the electronic device 21 sends a first request to the upper computer 22 in response to a click operation of the user on identification information "a 1" of a target lower computer of the one or more lower computers, where the first request includes the identification information "a 1" of the target lower computer, and the upper computer 22 receives the first request sent by the electronic device 21, where the first request includes the identification information of the target lower computer.
S1002, forwarding the first request to the target lower computer.
After receiving the first request sent by the electronic device 21, the upper computer 22 determines which lower computer belongs to which type according to the identification information of the target lower computer, for example, the identification information of the present disclosure takes the name as an example, as shown in fig. 5, since the identification information is "a 1", it can be determined that the target lower computer is the lower computer No. 1 of the type a lower computers. Then, the upper computer 22 forwards the first request to the type 1 lower computer in the type a lower computers.
And S1003, receiving a processing result generated by the target lower computer according to the first request.
As shown in fig. 2, after the upper computer 22 forwards the first request to the target lower computer 23, the lower computer 23 generates a processing result according to the request and returns the processing result to the upper computer 22, and the upper computer 22 receives the processing result generated by the lower computer 23.
And S1004, sending the processing result to the terminal.
After receiving the processing result generated by the lower computer 23, the upper computer 22 returns the received processing result to the electronic device 21.
According to the embodiment of the disclosure, the upper computer receives a first request sent by the terminal, the first request comprises identification information of a target lower computer, the first request is forwarded to the target lower computer, and further, the upper computer can also receive a processing result generated by the target lower computer according to the first request and sends the processing result to the terminal. After the upper computer receives the request sent by the electronic equipment, the upper computer does not call the interface of the lower computer to process the request, but only forwards the request to the lower computer, and the lower computer performs corresponding processing on the request. Therefore, compared with the method for calling the lower computer interface to process the request by the upper computer in the prior art, the method and the device for processing the request by the lower computer can reduce the workload of the upper computer, simultaneously avoid the data interface of the lower computer from being exposed on the upper computer, and play a certain protection role on the data interface of the lower computer.
On the basis of the above embodiment, after receiving the first request sent by the terminal, the method further includes: generating authorization information corresponding to the target lower computer according to the identification information of the target lower computer; and carrying the authorization information in the first request.
Taking the identification information "a 1" as an example, after receiving the first request sent by the electronic device 21, the upper computer 22 generates authorization information corresponding to the No. 1 lower computer in the type a lower computer according to the identification information "a 1" of the target lower computer, and carries the authorization information in the first request.
Optionally, the authorization information may be an encryption packet and a key string of a user name and a password corresponding to the target lower computer.
Correspondingly, forwarding the first request to the target lower computer comprises the following steps: and forwarding the first request carrying the authorization information to the target lower computer.
After receiving the first request sent by the electronic device 21, the upper computer 22 determines which lower computer belongs to which type according to the identification information of the target lower computer, for example, the identification information of the present disclosure takes the name as an example, as shown in fig. 5, since the identification information is "a 1", it can be determined that the target lower computer is the lower computer No. 1 of the type a lower computers. Then, the upper computer 22 forwards the first request carrying the authorization information to the type 1 lower computer in the type a lower computers.
Optionally, generating authorization information corresponding to the target lower computer according to the identification information of the target lower computer, including: acquiring a digital certificate corresponding to the target lower computer according to the identification information of the target lower computer; and generating authorization information corresponding to the target lower computer according to the digital certificate corresponding to the target lower computer.
As shown in fig. 5, since the identification information is "a 1", the upper computer 22 may determine that the target lower computer is the No. 1 lower computer in the type a lower computers, then obtain the digital certificate of the No. 1 lower computer in the type a lower computers, and generate the authorization information of the No. 1 lower computer in the type a lower computers according to the digital certificate of the No. 1 lower computer in the type a lower computers.
Optionally, the digital certificate is a rule that is pre-formulated by the upper computer and the lower computer, and the rule includes: the upper computer generates a certificate according to the identification information of the lower computer and issues the certificate to the corresponding lower computer, and the digital certificate can generate authorization information.
Specifically, the upper computer generates authorization information according to the digital certificate, the corresponding lower computer has the same digital certificate, the digital certificate of the lower computer can also generate the authorization information, the lower computer judges whether the two authorization information are completely the same, if the two authorization information are the same, the lower computer generates a processing result according to the request and returns the processing result to the upper computer 22, and the upper computer 22 receives the processing result generated by the lower computer 23. Otherwise, the request is not processed.
According to the embodiment of the method and the device, after the upper computer receives the first request which comprises the identification information of the target lower computer and is sent by the terminal, the digital certificate corresponding to the target lower computer is obtained according to the identification information of the target lower computer. Further, the upper computer generates authorization information corresponding to the target lower computer according to the digital certificate corresponding to the target lower computer, carries the authorization information in the first request, and forwards the first request carrying the authorization information to the target lower computer. Because the authorization information is generated by the upper computer, is not acquired from the lower computer and is returned to the upper computer, the method and the device can avoid the exposure of the authorization information of the lower computer on an acquisition path and a front page of the upper computer, and improve the safety of the lower computer.
Fig. 11 is a schematic structural diagram of a lower computer control device according to an embodiment of the present disclosure. The lower computer control device may be a terminal as described in the above embodiments, or the lower computer control device may be a component or assembly in the terminal. The lower computer control device provided by the embodiment of the disclosure can execute the processing flow provided by the embodiment of the lower computer control method, and the lower computer control device is included in the terminal. As shown in fig. 11, the lower computer control device 110 includes: a display module 111, a sending module 112, and a receiving module 113; the display module 111 is configured to display a preset list in response to a first operation of a user in a first front-end page of an upper computer, where the preset list includes one or more types of identification information corresponding to respective lower computers connected to the upper computer; responding to the operation of a user on the identification information of a target type in the one or more types, and displaying a second front-end page corresponding to the target type in the first front-end page, wherein the second front-end page comprises the identification information corresponding to one or more lower computers belonging to the target type respectively; the sending module 112 is configured to send a first request to the upper computer in response to a user operating identification information of a target lower computer of the one or more lower computers, where the first request includes the identification information of the target lower computer, and the upper computer is configured to forward the first request to the target lower computer; the receiving module 113 is configured to receive a processing result, which is generated by the target lower computer according to the first request and forwarded by the upper computer; the display module 111 is further configured to display a processing result forwarded by the upper computer and generated by the target lower computer according to the first request.
Optionally, the display module 111 is further configured to display a preset list in response to a fourth operation of the user in a first front-end page before displaying the preset list in response to the first operation of the user in the first front-end page of the upper computer; the sending module 112 is further configured to send a second request to the upper computer in response to a fifth operation of the user on the identification information of the target type in the one or more types; the receiving module 113 is further configured to receive related information of a second front-end page corresponding to the target type, which is returned by the upper computer; the device further comprises: the loading module 114 is configured to load the second front-end page corresponding to the target type into the first front-end page according to the related information of the second front-end page corresponding to the target type.
The lower computer control device in the embodiment shown in fig. 11 can be used to implement the technical solution of the above method embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
Fig. 12 is a schematic structural diagram of a lower computer control device according to another embodiment of the present disclosure. The lower computer control device may be the upper computer as described in the above embodiment, or the lower computer control device may be a component or assembly in the upper computer. The lower computer control device provided by the embodiment of the disclosure can execute the processing flow provided by the embodiment of the lower computer control method, and the lower computer control device is included in the upper computer. As shown in fig. 12, the lower computer control device 120 includes: a receiving module 121 and a forwarding module 122; the receiving module 121 is configured to receive a first request sent by a terminal, where the first request includes identification information of a target lower computer; the forwarding module 122 is configured to forward the first request to the target lower computer; the receiving module 121 is further configured to receive a processing result generated by the target lower computer according to the first request; the forwarding module 122 is further configured to send the processing result to the terminal.
Optionally, the lower computer control device 120 further includes: a generating module 123 and a carrying module 124; the generating module 123 is configured to generate authorization information corresponding to the target lower computer according to the identification information of the target lower computer after the receiving module receives the first request sent by the terminal; the carrying module 124 is configured to carry the authorization information in the first request;
correspondingly, when the sending module 112 forwards the first request to the target lower computer, the sending module is specifically configured to: and forwarding the first request carrying the authorization information to the target lower computer.
Optionally, the generating module 123 is specifically configured to: acquiring a digital certificate corresponding to the target lower computer according to the identification information of the target lower computer; and generating authorization information corresponding to the target lower computer according to the digital certificate corresponding to the target lower computer.
The lower computer control device in the embodiment shown in fig. 12 can be used to implement the technical solution of the above method embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
Fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device may be a terminal as described in the above method embodiments. The electronic device provided in the embodiment of the present disclosure may execute the processing procedure provided in the embodiment of the lower computer control method, as shown in fig. 13, the electronic device 130 includes: memory 131, processor 132, computer programs, and communications interface 133; wherein the computer program is stored in the memory 131 and configured to execute the lower computer control method as described above by the processor 132.
Fig. 14 is a schematic structural diagram of an upper computer provided in the embodiment of the present disclosure. The upper computer may be the upper computer as described in the above method embodiment. The upper computer provided in the embodiment of the present disclosure may execute the processing procedure provided in the embodiment of the lower computer control method, as shown in fig. 14, the upper computer 140 includes: memory 141, processor 142, computer programs, and communications interface 143; wherein the computer program is stored in the memory 141 and configured to execute the lower computer control method as described above by the processor 142.
In addition, the embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the lower computer control method described in the above embodiment.
Furthermore, the embodiments of the present disclosure also provide a computer program product, which includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the computer program or instructions implement the lower computer control method as described above.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present disclosure, which enable those skilled in the art to understand or practice the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (13)

1. A lower computer control method is applied to a terminal, and the method comprises the following steps:
responding to a first operation of a user in a first front-end page of an upper computer, and displaying a preset list, wherein the preset list comprises one or more types of identification information respectively corresponding to lower computers connected with the upper computer;
responding to a second operation of a user on identification information of a target type in the one or more types, and displaying a second front-end page corresponding to the target type in the first front-end page, wherein the second front-end page comprises identification information corresponding to one or more lower computers belonging to the target type respectively;
responding to a third operation of a user on identification information of a target lower computer in the one or more lower computers, and sending a first request to the upper computer, wherein the first request comprises the identification information of the target lower computer, and the upper computer is used for forwarding the first request to the target lower computer;
and receiving and displaying a processing result which is forwarded by the upper computer and generated by the target lower computer according to the first request.
2. The method of claim 1, wherein prior to displaying the preset list in response to a first operation by a user in a first front-end page of the host computer, the method further comprises:
responding to a fourth operation of a user in the first front-end page, and displaying the preset list;
responding to a fifth operation of the user on the identification information of the target type in the one or more types, and sending a second request to the upper computer;
receiving related information of a second front-end page corresponding to the target type returned by the upper computer;
and loading the second front-end page corresponding to the target type into the first front-end page according to the related information of the second front-end page corresponding to the target type.
3. A lower computer control method is applied to an upper computer, and the method comprises the following steps:
receiving a first request sent by a terminal, wherein the first request comprises identification information of a target lower computer;
forwarding the first request to the target lower computer;
receiving a processing result generated by the target lower computer according to the first request;
and sending the processing result to the terminal.
4. The method of claim 3, wherein after receiving the first request sent by the terminal, the method further comprises:
generating authorization information corresponding to the target lower computer according to the identification information of the target lower computer;
carrying the authorization information in the first request;
correspondingly, forwarding the first request to the target lower computer comprises the following steps:
and forwarding the first request carrying the authorization information to the target lower computer.
5. The method according to claim 4, wherein generating authorization information corresponding to the target lower computer according to the identification information of the target lower computer comprises:
acquiring a digital certificate corresponding to the target lower computer according to the identification information of the target lower computer;
and generating authorization information corresponding to the target lower computer according to the digital certificate corresponding to the target lower computer.
6. A lower-computer control apparatus included in a terminal, the apparatus comprising:
the display module is used for responding to a first operation of a user in a first front-end page of the upper computer and displaying a preset list, wherein the preset list comprises one or more types of identification information respectively corresponding to the lower computer connected with the upper computer; responding to the operation of a user on the identification information of a target type in the one or more types, and displaying a second front-end page corresponding to the target type in the first front-end page, wherein the second front-end page comprises the identification information corresponding to one or more lower computers belonging to the target type respectively;
the sending module is used for responding to the operation of a user on the identification information of a target lower computer in the one or more lower computers, sending a first request to the upper computer, wherein the first request comprises the identification information of the target lower computer, and the upper computer is used for forwarding the first request to the target lower computer;
the receiving module is used for receiving a processing result which is transmitted by the upper computer and generated by the target lower computer according to the first request;
and the display module is also used for displaying a processing result which is forwarded by the upper computer and generated by the target lower computer according to the first request.
7. The apparatus of claim 6, wherein the display module is further configured to: the method comprises the steps that before a preset list is displayed in response to a first operation of a user in a first front-end page of an upper computer, the preset list is displayed in response to a fourth operation of the user in the first front-end page;
the sending module is further configured to: responding to a fifth operation of the user on the identification information of the target type in the one or more types, and sending a second request to the upper computer;
the receiving module is further configured to: receiving related information of a second front-end page corresponding to the target type returned by the upper computer;
the device further comprises: and the loading module is used for loading the second front-end page corresponding to the target type into the first front-end page according to the relevant information of the second front-end page corresponding to the target type.
8. A lower computer control apparatus included in an upper computer, the apparatus comprising:
the receiving module is used for receiving a first request sent by a terminal, and the first request comprises identification information of a target lower computer;
the forwarding module is used for forwarding the first request to the target lower computer;
the receiving module is further configured to: receiving a processing result generated by the target lower computer according to the first request;
the forwarding module is further configured to: and sending the processing result to the terminal.
9. The apparatus of claim 8, further comprising:
the generating module is used for generating authorization information corresponding to the target lower computer according to the identification information of the target lower computer after the receiving module receives the first request sent by the terminal;
a carrying module, configured to carry the authorization information in the first request;
correspondingly, when the sending module forwards the first request to the target lower computer, the sending module is specifically configured to: and forwarding the first request carrying the authorization information to the target lower computer.
10. The apparatus of claim 9, wherein the generation module is specifically configured to:
acquiring a digital certificate corresponding to the target lower computer according to the identification information of the target lower computer;
and generating authorization information corresponding to the target lower computer according to the digital certificate corresponding to the target lower computer.
11. An electronic device, comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any one of claims 1-2.
12. A host computer, comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any one of claims 3-5.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN202111203924.8A 2021-10-15 2021-10-15 Lower computer control method, device, equipment and computer readable storage medium Pending CN113961288A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111203924.8A CN113961288A (en) 2021-10-15 2021-10-15 Lower computer control method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111203924.8A CN113961288A (en) 2021-10-15 2021-10-15 Lower computer control method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN113961288A true CN113961288A (en) 2022-01-21

Family

ID=79464101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111203924.8A Pending CN113961288A (en) 2021-10-15 2021-10-15 Lower computer control method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113961288A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016058366A1 (en) * 2014-10-15 2016-04-21 珠海格力电器股份有限公司 Smart home appliance control method and home control center
CN106385351A (en) * 2016-10-13 2017-02-08 北京小米移动软件有限公司 Control method and device of intelligent household equipment
CN106842969A (en) * 2017-02-13 2017-06-13 浙江风向标科技有限公司 Apparatus control method and device
CN107783509A (en) * 2016-08-27 2018-03-09 北京北信源软件股份有限公司 A kind of intelligent home furnishing control method, device and system
CN110262274A (en) * 2019-07-22 2019-09-20 青岛海尔科技有限公司 Smart home device control display methods and system based on Internet of Things operating system
WO2020192714A1 (en) * 2019-03-28 2020-10-01 华为技术有限公司 Device control page display method, related apparatus and system
CN113433831A (en) * 2021-06-29 2021-09-24 青岛海尔科技有限公司 Control method and module of intelligent household equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016058366A1 (en) * 2014-10-15 2016-04-21 珠海格力电器股份有限公司 Smart home appliance control method and home control center
CN107783509A (en) * 2016-08-27 2018-03-09 北京北信源软件股份有限公司 A kind of intelligent home furnishing control method, device and system
CN106385351A (en) * 2016-10-13 2017-02-08 北京小米移动软件有限公司 Control method and device of intelligent household equipment
CN106842969A (en) * 2017-02-13 2017-06-13 浙江风向标科技有限公司 Apparatus control method and device
WO2020192714A1 (en) * 2019-03-28 2020-10-01 华为技术有限公司 Device control page display method, related apparatus and system
CN110262274A (en) * 2019-07-22 2019-09-20 青岛海尔科技有限公司 Smart home device control display methods and system based on Internet of Things operating system
CN113433831A (en) * 2021-06-29 2021-09-24 青岛海尔科技有限公司 Control method and module of intelligent household equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110221872B (en) Page jump method and device, electronic equipment and storage medium
JP6859512B2 (en) Methods and devices for authenticated login
US11175796B2 (en) Menu management method, server, and system
CN109118160B (en) Information sharing method, device, terminal equipment and medium
US20210019106A1 (en) Desktop Sharing Method and Mobile Terminal
JP2014506350A (en) Cordless sharing of spreadsheet objects
JP7106001B2 (en) SUB-APPLICATION DEVELOPMENT METHOD, APPARATUS, COMPUTER DEVICE, AND COMPUTER PROGRAM
CN110442502A (en) A kind of method, apparatus buried a little, equipment and storage medium
WO2018209465A1 (en) Webpage access control method and gateway device
CN113961463A (en) Application environment switching method and system, storage medium and electronic equipment
CN113254892A (en) Access processing method, device, storage medium and electronic equipment
CN109101306B (en) Sharing method, sharing device, terminal and computer readable storage medium
CN113741754A (en) Task creation method and device, electronic equipment and computer-readable storage medium
CN105138872A (en) Method and apparatus for displaying menu page
CN112929254A (en) Message processing method and device and electronic equipment
CN109324843B (en) Fingerprint processing system and method and fingerprint equipment
CN113961288A (en) Lower computer control method, device, equipment and computer readable storage medium
CN107798085B (en) Service processing method and device based on plug-in
CN116112457A (en) Method, device, computer equipment and storage medium for notifying message
CN112988426A (en) Message processing method and device
CN107204914B (en) Information processing method and device, computer device and storage medium
CN114500426B (en) Message reminding method, device, computer equipment and storage medium
CN109450885B (en) Network data interception method and device, electronic equipment and storage medium
CN104346228A (en) Application program sharing method and terminal
CN113840013A (en) Document system for hierarchical management

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