CN108846300B - Information processing method and first electronic equipment - Google Patents
Information processing method and first electronic equipment Download PDFInfo
- Publication number
- CN108846300B CN108846300B CN201810654567.9A CN201810654567A CN108846300B CN 108846300 B CN108846300 B CN 108846300B CN 201810654567 A CN201810654567 A CN 201810654567A CN 108846300 B CN108846300 B CN 108846300B
- Authority
- CN
- China
- Prior art keywords
- electronic device
- read
- write
- mode
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/78—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
- G06F21/79—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data in semiconductor storage media, e.g. directly-addressable memories
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/78—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses an information processing method and first electronic equipment, wherein the method is applied to the first electronic equipment and comprises the following steps: when the second electronic equipment is accessed, the read-write mode is set to be the read-only mode; receiving an operation request, when the second electronic device is judged to meet a preset condition, switching the read-write mode into a write-in mode based on the operation request, writing configuration data and establishing an association relation with the second electronic device based on the configuration data, so that when the second electronic device is connected to a third electronic device, image data of the third electronic device is obtained, and the obtained image data is transmitted to the second electronic device for delivery through a data path established according to the association relation. The method can enable the first electronic equipment supporting the read-write operation to automatically change the read-write mode under legal operation in a certain application scene (such as a conference scene), so that the safety of the stored data is ensured while the data writing or data reading is supported and the normal work is finished.
Description
Technical Field
The embodiment of the invention relates to the field of information processing related to read-write operation of equipment, in particular to an information processing method and first electronic equipment.
Background
At present, a device supporting a read/write operation sometimes needs to perform a data write operation, for example, a screen projection device capturing an image from an electronic device such as a computer in a conference (e.g., a capture device corresponding to a conference machine produced by an affiliated company) needs to write data (e.g., corresponding software, configuration data, etc.) to perform an operation of acquiring and transmitting image data when performing initialization, and at this time, the screen projection device needs to be configured in a write mode, and in normal use, a storage component therein needs to be set in a read-only mode in order to avoid erroneous deletion or virus influence. In order to achieve the purpose, a read-write switch is usually arranged on the device, and the read-write switch is switched by physically operating the switch, however, the scheme may be set to the write mode by a user by mistake in normal use, so that a file in the screen projection device may be deleted or modified.
Disclosure of Invention
The invention provides an information processing method and first electronic equipment, and the method can enable equipment supporting read-write operation to automatically change a read-write mode under legal operation, support write-in data and ensure the safety of stored data.
In order to solve the above technical problem, an embodiment of the present invention provides the following technical solutions: an information processing method is applied to a first electronic device, and comprises the following steps:
When the second electronic equipment is accessed, the read-write mode is set to be the read-only mode;
receiving an operation request, when the second electronic device is judged to meet a preset condition, switching the read-write mode to a write-in mode based on the operation request, writing configuration data and establishing an association relation with the second electronic device based on the configuration data, so that when the second electronic device is connected to a third electronic device, image data of the third electronic device is obtained, and the obtained image data is transmitted to the second electronic device for delivery through a data path established according to the association relation.
Preferably, the method further comprises:
judging whether the operation request is a file configuration request, if so, performing file configuration operation based on the configuration data in the write-in mode;
and after the file configuration is finished, switching the read-write mode from the write-in mode to a read-only mode.
Preferably, when it is determined that the second electronic device satisfies a preset condition, the method further includes:
when the operation request is a read-write operation request, acquiring current read-write mode information;
And switching the read-write mode based on the read-write operation request and the current read-write mode information.
Preferably, the switching the read-write mode based on the read-write operation request and the current read-write mode information includes:
based on a read operation request, switching the read-write mode into a read-only mode to execute a read operation; and
and switching the read-write mode to a write-in mode to execute write operation based on the write operation request.
Preferably, when the second electronic device is accessed, the method further comprises the following steps of setting the read-write mode to be the read-only mode;
sending equipment identification information to a second electronic equipment connected with the equipment so that the second electronic equipment sends feedback information after detecting the identification information;
and receiving feedback information, and judging whether the second electronic equipment meets a preset condition according to the feedback information.
Preferably, when it is determined that the second electronic device satisfies a preset condition, the method further includes: and switching the read-write mode into a write-in mode so that the second electronic equipment can write the first software.
The embodiment of the application also provides first electronic equipment, which comprises a setting module, a switching module and a processing module;
The setting module is configured to set the read-write mode to a read-only mode when the second electronic device is accessed;
the switching module is configured to receive an operation request, and when it is determined that the second electronic device meets a preset condition, switch the read-write mode to a write-in mode based on the operation request, write in configuration data and establish an association relationship with the second electronic device based on the configuration data, so that when the second electronic device is connected to a third electronic device, the processing module can acquire image data of the third electronic device, and transmit the acquired image data to the second electronic device for delivery through a data path established according to the association relationship.
Preferably, the processing module is further configured to: judging whether the operation request is a file configuration request, if so, performing file configuration operation based on the configuration data in the write-in mode;
the switching module is further configured to switch the read-write mode from the write-in mode to a read-only mode after the file configuration is completed.
Preferably, the switching module is further configured to: and when the second electronic equipment is judged to be legal, acquiring current read-write mode information when the operation request is a read-write operation request, and switching the read-write mode based on the read-write operation request and the current read-write mode information.
Preferably, the first electronic device further includes a determination module configured to: sending equipment identification information to a second electronic device connected with the equipment so that the second electronic device sends feedback information after detecting the identification information; and receiving feedback information, and judging whether the second electronic equipment meets a preset condition according to the feedback information.
Based on the disclosure of the above embodiments, it can be known that the embodiments of the present application have the following beneficial effects: the method can enable the first electronic equipment supporting the read-write operation to automatically change the read-write mode under legal operation in a certain application scene (such as a conference scene), so that the safety of the stored data is ensured while the data writing or data reading is supported and the normal work is completed.
Drawings
FIG. 1 is a flow chart of an information processing method according to an embodiment of the present application;
FIG. 2 is a flowchart of an embodiment of an information processing method according to the present application;
FIG. 3 is a flowchart of one embodiment of step S2 of FIG. 1 according to the present application;
FIG. 4 is a flowchart of another embodiment of an information processing method according to an embodiment of the present application;
FIG. 5 is a flowchart of an embodiment of a second electronic device according to the present disclosure;
FIG. 6 is a flowchart illustrating an exemplary embodiment of a process of a first electronic device according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a first electronic device according to an embodiment of the present application.
Detailed Description
Various aspects and features of the present invention are described herein with reference to the drawings.
It will be understood that various modifications may be made to the embodiments of the invention herein. Accordingly, the foregoing description should not be construed as limiting, but merely as exemplifications of embodiments. Other modifications will occur to those skilled in the art which are within the scope and spirit of the invention.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and, together with a general description of the invention given above, and the detailed description of the embodiments given below, serve to explain the principles of the invention.
These and other characteristics of the invention will become apparent from the following description of a preferred form of embodiment, given as a non-limiting example, with reference to the accompanying drawings.
It should also be understood that, although the invention has been described with reference to some specific examples, a person of skill in the art shall certainly be able to achieve many other equivalent forms of the invention, having the characteristics as set forth in the claims and hence all coming within the field of protection defined thereby.
The above and other aspects, features and advantages of the present invention will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present invention are described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely exemplary of the invention, which can be embodied in various forms. Well-known and/or repeated functions and constructions are not described in detail to avoid obscuring the invention in unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present invention in virtually any appropriately detailed structure.
The description may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the invention.
An information processing method according to an embodiment of the present application is applied to a first electronic device, where the first electronic device may be used in cooperation with a second electronic device and a third electronic device, for example, the first electronic device may be a device used in a conference, and captures an image from the third electronic device, and places the captured image by using the second electronic device (e.g., a conference machine). As shown in fig. 1, the method comprises the steps of:
And S1, when the second electronic equipment is accessed, the read-write mode is set to be the read-only mode. In this embodiment, the read-write mode includes a read-only mode and a write-in mode, where the read-only mode is only capable of reading stored data and is not capable of writing, modifying or deleting the stored data, so that the data stored in the first electronic device cannot be modified or deleted, and malicious damage or other misoperation of the data is avoided; the writing mode is a mode in which data can be read, written, or modified, which enables data stored in the first electronic device to be written, modified, or deleted, for example, an operation such as writing configuration data or software to the first electronic device. In this embodiment, when the first electronic device is connected to the second electronic device, the first electronic device is powered on (powered on), and first, the read-write mode of the first electronic device needs to be set to the read-only mode, so that the first electronic device is ensured to only read data but not write data at the first time, and the data stored in the first electronic device is prevented from being damaged by a malicious program when the first electronic device is used. And then if the second electronic equipment needs to write data, only the read-write mode needs to be legally changed.
And S2, receiving the operation request, when the second electronic device is judged to meet the preset condition, switching the read-write mode to the write-in mode based on the operation request, writing the configuration data, and establishing an association relation with the second electronic device based on the configuration data, so that when the second electronic device is connected to the third electronic device, the image data of the third electronic device is obtained, and the obtained image data is transmitted to the second electronic device for delivery through a data path established according to the association relation. Whether the second electronic device meets the preset condition is to judge whether the second electronic device is the electronic device required by the user, for example, whether the second electronic device is legal or not, and whether the second electronic device is matched with the first electronic device or not. For example, the first electronic device is a capturing device (e.g., a capturing device Dongle produced by an associated company and used in cooperation with a conference machine) that captures an image from a computer of a participant in a meeting scene and sends the image to a screen, and the second electronic device may be a dedicated device or a conference machine. And when the second electronic equipment is judged to meet the preset condition, switching the read-write mode of the first electronic equipment into the write-in mode based on the operation request. It should be noted that the preset condition may be preset according to actual usage needs, for example, the preset condition may be a conference machine associated with the first electronic device, or a dedicated device corresponding to the first electronic device, and of course, the conference machine or the dedicated device may be adapted to one or more first electronic devices. When the second electronic device is judged to meet the preset condition, based on the operation request, the first electronic device may switch its own read-write mode to the write-in mode, or the first electronic device may switch its own read-write mode to the write-in mode according to a control command sent by another device. And writing data into the first electronic equipment by other equipment, wherein the configuration data is written into the first electronic equipment by the second electronic equipment meeting the preset condition, so that the first electronic equipment can establish an association relation with the second electronic equipment based on the configuration data, and the association relation enables the first electronic equipment to be matched with the second electronic equipment. In one embodiment, the written configuration data may be basic data of the first electronic device, which can drive the first electronic device to operate normally and make the first electronic device establish an association with the corresponding second electronic device. Of course, other required data may be written to the first electronic device in addition to the configuration data. When the first electronic device is connected to the third electronic device, the image data of the third electronic device can be acquired, for example, in a meeting environment, the third electronic device may be a computer of a participant, and when the participant needs to project an image in the computer of the participant, the first electronic device may be connected to the computer of the participant, so that the image in the computer can be acquired. After the first electronic device acquires the image, the acquired image data can be transmitted to the second electronic device (such as a conference machine) through the data path established according to the association relationship, so that the second electronic device can use the image data, for example, the image data is sent to a projector for delivery, or the image data is remotely delivered through a network, so that a non-local participant can also see the image data, and the use of a user is facilitated.
In one embodiment of the present application, as shown in fig. 2, the method further comprises the steps of:
and S3, judging whether the operation request is a file configuration request, if yes, performing file configuration operation based on the configuration data in the writing mode. Specifically, when it is determined that the second electronic device satisfies the preset condition, the second electronic device may send an operation request to the first electronic device to request to change the write mode or request to write data, and the first electronic device may determine, based on information related to the operation request, whether the operation request is a file configuration request, and possibly other requests (such as writing other data). And the configuration data is used for carrying out file configuration operation in the writing mode, and a premise is provided for the file configuration operation. And after the file configuration operation is completed, the first electronic equipment is enabled to normally work, such as being capable of being associated with the second electronic equipment.
S4, after the file configuration is completed, the read/write mode is switched from the write mode to the read only mode. The first electronic device switches the read-write mode of the first electronic device from the write mode to the read-only mode after completing the file configuration or completing the writing of the required data, so that the writing of other data is prevented after the data required by a user or legal data is written, for example, the operation of deleting the data by mistake or the operation of writing a malicious program is prevented. The security of the data in the first electronic device is protected.
In an embodiment of the application, when it is determined that the second electronic device satisfies the preset condition, as shown in fig. 3, the method further includes the following steps:
and S21, when the operation request is a read-write operation request, acquiring the current read-write mode information. Specifically, determining the current read/write mode information may determine whether the current read/write mode needs to be switched for subsequent operations. In one embodiment, the operation request may be a plurality of requests, such as a read/write operation request, a response request for detecting whether the operation request exists, or a general request for reading a name, and therefore, the operation request needs to be determined to be a read/write operation request.
And S22, switching the read-write mode based on the read-write operation request and the current read-write mode information. For example, if the current read-write mode is a read-only mode and the read-write operation request is a write request, the read-write mode needs to be switched to a write mode to write data; if the current read-write mode is the write-in mode, and necessary data is written in at the moment and the read-write operation request is the operation of reading the data, the write-in mode can be switched to the read-only mode, and the safety of the stored data is also protected on the premise of meeting the requirement of reading the data. In an embodiment, an MCU may be integrated in the first electronic device to perform read/write control on a memory of the first electronic device, such as control of a read/write strategy, including an operation of switching current read/write mode information.
In an embodiment of the present application, switching the read-write mode based on the read-write operation request and the current read-write mode information includes: switching the read-write mode to a read-only mode to execute a read operation based on the read operation request; and switching the read-write mode to the write mode to perform the write operation based on the write operation request. Specifically, when the first electronic device only needs to read data, the read-write mode of the first electronic device may be switched to the read-only mode to perform a read operation of reading data, such as using a stored configuration file, or using another program stored therein; when the first electronic device needs to write, modify or delete data, the read-write mode of the first electronic device can be switched to the read-only mode to execute write operation, and the write operation can be an operation of writing, modifying or deleting data, that is, an operation of changing the stored data, so that the first electronic device can be written when the second electronic device meets a preset condition (for example, the second electronic device is judged to be a device adaptive to the first electronic device), and the use requirement of a user is met.
In an embodiment of the present application, after the read-write mode is set to the read-only mode when accessing the second electronic device, it needs to be determined whether the second electronic device meets a preset condition and is a device adapted to the first electronic device, as shown in fig. 4, the method further includes the following steps;
And S5, sending the device identification information to the connected second electronic device, so that the second electronic device sends feedback information after detecting the identification information. The device identification information is identity information of the corresponding first electronic device, and may include, for example, a device number, a model specification, a device name, a device state, a factory number, a manufacturer name, a model specification, and other various information.
And S6, receiving the feedback information, and judging whether the second electronic equipment meets the preset condition according to the feedback information. The feedback information includes related data of the second electronic device, such as identity information of the second electronic device, a determination result of whether to adapt to the first electronic device, adapted condition information, a validity period, and the like, and the first electronic device can determine whether the second electronic device satisfies a preset condition according to the received feedback information, such as whether the second electronic device is a plurality of second electronic devices, such as a conference machine, which is associated with the first electronic device.
In an embodiment of the application, when it is determined that the second electronic device satisfies the preset condition, the method further includes: and switching the read-write mode to a write-in mode so that the second electronic equipment can write the first software. The first software may be software required when the first electronic device runs, such as client software, by which the first electronic device may perform data communication with a third electronic device, or may perform data communication with a second electronic device by using the client software. The image data may be acquired from a third electronic device, for example, using client software. For writing the first software, the second electronic device may perform writing alone or write with the configuration data at the same time when the second electronic device satisfies the preset condition, so that the user can operate flexibly.
Furthermore, the method applied to the first electronic device is described with reference to specific embodiments, and with reference to fig. 5, for the second electronic device (such as a conference machine or a special device), whether the electronic device is connected (can be a USB interface plug-in) is judged after the second electronic device is started, if not, the judgment is continued, if yes, whether the connected electronic equipment is the first electronic equipment (such as a grabbing equipment) is judged, if the electronic device is not the first electronic device, continuously judging whether other electronic devices are connected or not, if the electronic device is determined to be the first electronic device, sending a read-write operation request to the first electronic device, when the second electronic device meets the preset condition, the first electronic device sets the self read-write mode as the write-in mode, and writing data (such as writing initialization data) into the first electronic equipment by the second electronic equipment, and setting the read-write mode of the first electronic equipment to be a read-only mode after the data is written into the first electronic equipment.
Referring to fig. 6, for a first electronic device, the first electronic device is first connected to a second electronic device (which may be inserted into a USB interface), an MCU disposed in the first electronic device sets a read-write mode of the first electronic device to a read-only mode, then reports device identification information to the second electronic device, and determines that the second electronic device meets a preset requirement after receiving feedback information of the second electronic device, on one hand, the first electronic device determines whether a control command (an instruction for switching the read-write mode) sent by the second electronic device is received, and if so, determines whether to switch to the write-in mode, if so, performs an operation for switching the write-in mode, otherwise, sets to the read-only mode, completes an operation for reading data, and maintains the read-only mode. On the other hand, if the first electronic device does not receive the control command (command for switching the read-write mode) sent by the second electronic device, the first electronic device determines whether to perform a write operation, if so, the first electronic device sets the write mode to write data into the first electronic device, and if not, the first electronic device performs a read operation to read data from the first electronic device.
The embodiment of the present application further provides a first electronic device, where the first electronic device may be used in cooperation with a second electronic device and a third electronic device, for example, the first electronic device may be a device used in a conference, and captures an image from the third electronic device, and places the captured image by using the second electronic device (e.g., a conference machine). As shown in fig. 7, the first electronic device includes a setting module, a switching module, and a processing module;
the setting module is configured to set the read-write mode to a read-only mode when the second electronic device is accessed. In this embodiment, the read-write mode includes a read-only mode and a write-in mode, where the read-only mode is only capable of reading stored data and is incapable of writing, modifying or deleting stored data, so that data stored in the first electronic device cannot be modified or deleted, and malicious destruction or other misoperation of the data is avoided; the writing mode is a mode in which data can be read, written or modified, which enables data stored in the first electronic device to be written, modified or deleted, for example, operations such as writing configuration data or software to the first electronic device. In this embodiment, when the first electronic device is connected to the second electronic device, the first electronic device is powered on (powered up), and the setting module needs to set the read-write mode of the first electronic device to the read-only mode first, so that the first electronic device is ensured to read data only and cannot write data in the first time, and a malicious program is prevented from destroying the data stored in the first electronic device when the first electronic device is used. And then, if the second electronic equipment needs to perform data writing operation, only the reading and writing mode needs to be modified legally by the setting module.
The switching module is configured to receive an operation request, and when the second electronic device is judged to meet a preset condition, switch the read-write mode to the write-in mode based on the operation request, write configuration data and establish an association relation with the second electronic device based on the configuration data, so that when the second electronic device is connected to a third electronic device, the processing module can acquire image data of the third electronic device, and transmit the acquired image data to the second electronic device for delivery through a data path established according to the association relation. Whether the second electronic device meets the preset condition is to judge whether the second electronic device is the electronic device required by the user, for example, whether the second electronic device is legal or not, and whether the second electronic device is matched with the first electronic device or not. For example, the first electronic device is a capturing device (e.g., capturing device Dongle provided by an associated company and used in cooperation with a conference machine) for capturing an image from a computer of a participant in a meeting scene and sending the image to a screen, and the second electronic device may be a dedicated device or a conference machine. When the second electronic device is judged to meet the preset conditions, the switching module switches the read-write mode of the first electronic device to the write-in mode based on the operation request. It should be noted that the preset condition may be preset according to actual usage needs, for example, the preset condition may be a conference machine associated with the first electronic device, or a dedicated device corresponding to the first electronic device, and of course, the conference machine or the dedicated device may be adapted to one or more first electronic devices. When the second electronic device is judged to meet the preset condition, based on the operation request, the switching module may switch the read-write mode of the first electronic device to the write-in mode, or the switching module may switch the read-write mode of the switching module to the write-in mode according to a control command sent by another device. And writing data into the first electronic equipment by other equipment, wherein the configuration data is written into the first electronic equipment by the second electronic equipment meeting the preset condition, so that the first electronic equipment can establish an association relation with the second electronic equipment based on the configuration data, and the association relation enables the first electronic equipment to be matched with the second electronic equipment. In one embodiment, the written configuration data may be basic data of the first electronic device, which can drive the first electronic device to operate normally and make the first electronic device establish an association with the corresponding second electronic device. Of course, other required data may be written to the first electronic device in addition to the configuration data. When the first electronic device is connected to a third electronic device, the processing module can obtain image data of the third electronic device, for example, in a meeting environment, the third electronic device may be a computer of a meeting participant, and when the meeting participant needs to project an image in the computer of the meeting participant, the first electronic device may be connected to the computer of the meeting participant, so that the processing module can obtain the image in the computer. After the processing module acquires the image, the acquired image data can be transmitted to a second electronic device (such as a conference machine) through a data path established according to the association relationship, so that the second electronic device uses the image data, for example, the image data is sent to a projector for delivery, or the image data is remotely delivered through a network, so that a non-local participant can also see the image data, the use of a user is facilitated, more importantly, the first electronic device ensures that the data stored in the use process cannot be maliciously damaged, and can write in required data during normal use, so that the normal work of the first electronic device is ensured.
In one embodiment of the present application, the processing module is further configured to: and judging whether the operation request is a file configuration request, if so, performing file configuration operation based on the configuration data in the write mode. Specifically, when it is determined that the second electronic device satisfies the preset condition, the second electronic device may send an operation request to the first electronic device to request to change the write mode or request to write data, and the processing module may determine whether the operation request is a file configuration request or not based on information related to the operation request, and possibly other requests (such as writing other data). And in the writing mode, the processing module uses the configuration data to perform file configuration operation, and provides a premise for the file configuration operation. And after the file configuration operation is completed, the first electronic equipment is enabled to normally work, such as being capable of being associated with the second electronic equipment.
The switching module is further configured to switch the read-write mode from the write mode to the read-only mode after the file configuration is completed. After the file configuration is completed or the writing of the required data is completed, the switching module switches the read-write mode of the first electronic device from the write-in mode to the read-only mode, so that after the data required by the user or legal data is written in, the writing of other data is prevented, for example, the operation of deleting the data by mistake or the operation of writing a malicious destructive program can be prevented. The security of the data in the first electronic device is protected.
In one embodiment of the present application, the switching module is further configured to: and when the second electronic equipment is judged to be legal, acquiring current read-write mode information when the operation request is a read-write operation request, and switching the read-write mode based on the read-write operation request and the current read-write mode information. Specifically, the switching module determines that the current read/write mode information can determine whether the current read/write mode needs to be switched for subsequent operations. In one embodiment, the operation request may be a plurality of requests, such as a read/write operation request, a response request for detecting whether the operation request exists, or a general request for reading a name, and the like. For example, if the current read-write mode is a read-only mode and the read-write operation request is a write request, the read-write mode needs to be switched to a write mode to write data; if the current read-write mode is the write-in mode, and necessary data is written in at the moment and the read-write operation request is the operation of reading the data, the write-in mode can be switched into the read-only mode, so that the safety of the stored data is also protected on the premise of meeting the requirement of reading the data. In an embodiment, an MCU may be integrated in the first electronic device, and the switching module performs read-write control on the memory of the first electronic device through the MCU, such as performing read-write policy control, including an operation of switching current read-write mode information.
In an embodiment of the present application, when a first electronic device accesses a second electronic device, after setting a read-write mode as a read-only mode, it needs to determine whether the second electronic device meets a preset condition and is a device adapted to the first electronic device, and for this, the first electronic device further includes a determining module, where the determining module is configured to: sending the equipment identification information to the connected second electronic equipment so that the second electronic equipment sends feedback information after detecting the identification information; and receiving the feedback information, and judging whether the second electronic equipment meets the preset condition or not according to the feedback information. The device identification information is identity information of the corresponding first electronic device, and may include, for example, a device number, a model specification, a device name, a device state, a factory number, a manufacturer name, a model specification, and other various information, and the second electronic device may authenticate the identity of the corresponding first electronic device based on the device identification information and send feedback information to the first electronic device according to the device identification information. The feedback information includes related data of the second electronic device, such as identity information of the second electronic device, a determination result of whether to adapt to the first electronic device, adapted condition information, a validity period, and the like, and the first electronic device can determine whether the second electronic device satisfies a preset condition according to the received feedback information, such as whether the second electronic device is a plurality of second electronic devices, such as a conference machine, which is matched with the first electronic device.
In an embodiment of the application, the switching mode is further configured to switch the read-write mode to the write-in mode when it is determined that the second electronic device meets the preset condition, so that the second electronic device can write the first software. The first software may be software that is needed when the first electronic device runs, such as client software, and the first electronic device may use the client software to perform data communication with a third electronic device, or the first electronic device may use the client software to perform data communication and the like with the second electronic device. For example, the client software may be used to obtain image data from the third electronic device. For writing the first software, the writing can be performed independently or simultaneously with the configuration data in a plurality of ways under the condition that the second electronic device meets the preset condition, so that the user can operate flexibly.
The above embodiments are only exemplary embodiments of the present invention, and are not intended to limit the present invention, and the scope of the present invention is defined by the claims. Various modifications and equivalents of the invention may be made by those skilled in the art within the spirit and scope of the invention, and such modifications and equivalents should also be considered as falling within the scope of the invention.
Claims (10)
1. An information processing method is applied to a first electronic device, and comprises the following steps:
when the second electronic equipment is accessed, the read-write mode is set to be a read-only mode so as to protect the safety of data in the first electronic equipment;
receiving an operation request, when the second electronic device is judged to meet a preset condition, switching the read-write mode to a write-in mode based on the operation request, writing configuration data and establishing an association relation with the second electronic device based on the configuration data, so that when the second electronic device is connected to a third electronic device, image data of the third electronic device is obtained, and the obtained image data is transmitted to the second electronic device for delivery through a data path established according to the association relation.
2. The method of claim 1, wherein the method further comprises:
judging whether the operation request is a file configuration request, if so, performing file configuration operation based on the configuration data in the write-in mode;
and after the file configuration is finished, switching the read-write mode from the write-in mode to a read-only mode.
3. The method of claim 1, wherein upon determining that the second electronic device satisfies a preset condition, the method further comprises:
When the operation request is a read-write operation request, acquiring current read-write mode information;
and switching the read-write mode based on the read-write operation request and the current read-write mode information.
4. The method of claim 3, wherein the switching the read-write mode based on the read-write operation request and current read-write mode information comprises:
based on the read operation request, switching the read-write mode into a read-only mode to execute the read operation; and
and switching the read-write mode into a write-in mode to execute write operation based on the write operation request.
5. The method of claim 1, wherein after setting the read-write mode to the read-only mode upon accessing the second electronic device, further comprising;
sending equipment identification information to a second electronic device connected with the equipment so that the second electronic device sends feedback information after detecting the identification information;
and receiving feedback information, and judging whether the second electronic equipment meets a preset condition according to the feedback information.
6. The method of claim 1, when the second electronic device is determined to satisfy a preset condition, the method further comprising: and switching the read-write mode into a write-in mode so that the second electronic equipment can write the first software.
7. A first electronic device comprises a setting module, a switching module and a processing module;
the setting module is configured to set a read-write mode to a read-only mode when the second electronic device is accessed, so as to protect the security of data in the first electronic device;
the switching module is configured to receive an operation request, and when it is determined that the second electronic device meets a preset condition, switch the read-write mode to a write-in mode based on the operation request, write in configuration data and establish an association relationship with the second electronic device based on the configuration data, so that when the second electronic device is connected to a third electronic device, the processing module can acquire image data of the third electronic device, and transmit the acquired image data to the second electronic device for delivery through a data path established according to the association relationship.
8. The first electronic device of claim 7,
the processing module is further configured to: judging whether the operation request is a file configuration request, if so, performing file configuration operation based on the configuration data in the write-in mode;
the switching module is further configured to switch the read-write mode from the write-in mode to a read-only mode after the file configuration is completed.
9. The first electronic device of claim 7, wherein the switching module is further configured to: when the second electronic device is judged to be legal, and the operation request is a read-write operation request, current read-write mode information is obtained, and the read-write mode is switched based on the read-write operation request and the current read-write mode information.
10. The first electronic device of claim 7, wherein the first electronic device further comprises a determination module,
the determination module is configured to: sending equipment identification information to a second electronic device connected with the equipment so that the second electronic device sends feedback information after detecting the identification information; and receiving feedback information, and judging whether the second electronic equipment meets a preset condition according to the feedback information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810654567.9A CN108846300B (en) | 2018-06-22 | 2018-06-22 | Information processing method and first electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810654567.9A CN108846300B (en) | 2018-06-22 | 2018-06-22 | Information processing method and first electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108846300A CN108846300A (en) | 2018-11-20 |
CN108846300B true CN108846300B (en) | 2022-06-28 |
Family
ID=64203533
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810654567.9A Active CN108846300B (en) | 2018-06-22 | 2018-06-22 | Information processing method and first electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108846300B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106412683A (en) * | 2016-11-16 | 2017-02-15 | 深圳市宝疆科技有限公司 | System and method for realizing audio and video transmission and interactive signaling through USB interface |
CN107368273A (en) * | 2017-07-07 | 2017-11-21 | 深圳市海勤科技有限公司 | The key operation local area network wireless of plug and play one passes screen operator, system and method |
CN107967305A (en) * | 2017-11-10 | 2018-04-27 | 平安科技(深圳)有限公司 | Image file upload method, server and readable storage medium storing program for executing |
-
2018
- 2018-06-22 CN CN201810654567.9A patent/CN108846300B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106412683A (en) * | 2016-11-16 | 2017-02-15 | 深圳市宝疆科技有限公司 | System and method for realizing audio and video transmission and interactive signaling through USB interface |
CN107368273A (en) * | 2017-07-07 | 2017-11-21 | 深圳市海勤科技有限公司 | The key operation local area network wireless of plug and play one passes screen operator, system and method |
CN107967305A (en) * | 2017-11-10 | 2018-04-27 | 平安科技(深圳)有限公司 | Image file upload method, server and readable storage medium storing program for executing |
Also Published As
Publication number | Publication date |
---|---|
CN108846300A (en) | 2018-11-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107622203B (en) | Sensitive information protection method and device, storage medium and electronic equipment | |
US7716522B2 (en) | Information processing system and method for executing process during communication error | |
CN106685917A (en) | Method and system for realizing intelligent binding between Internet of Things device and controller | |
JP2006155589A (en) | Secure device and relay terminal | |
CN104333863A (en) | Connection management method, device and electronic equipment | |
US20130318262A1 (en) | Data Transmission Method and Apparatus | |
CN108052407A (en) | A kind of application crash means of defence, device, equipment and storage medium | |
CN108255542A (en) | The serial ports parallel port management-control method and device of a kind of virtual machine | |
CN108494749B (en) | Method, device and equipment for disabling IP address and computer readable storage medium | |
CN108846300B (en) | Information processing method and first electronic equipment | |
CN103428370A (en) | Mobile phone and multi-user control method thereof | |
CN106371942B (en) | Memory errors processing method and relevant apparatus and system | |
JP4775043B2 (en) | Network equipment | |
CN112165706B (en) | Equipment connection management method and device and Bluetooth equipment | |
CN114726664B (en) | Binding method and binding equipment for household equipment | |
TWI498739B (en) | Remote control system and control method | |
CN110321251B (en) | Data backup method, device, equipment and storage medium based on network block equipment | |
US20120246713A1 (en) | Method and apparatus for controlling access of a secure digital memory card | |
JP2006259886A (en) | Control device, method and program of device having plug-and-play function | |
US11809533B2 (en) | Control device | |
WO2016165447A1 (en) | Method, apparatus, and system for remotely controlling terminal | |
TW201905704A (en) | Storage apparatus managing method and storage apparatus managing system | |
JP7446734B2 (en) | Wireless communication device and its control method, terminal device and its control method, program and storage medium | |
CN113141367B (en) | Control method, device and storage medium for terminal equipment to access network | |
KR101403595B1 (en) | Apparatus and method for scene(screen) capture security |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |