Sharing method and device

文档序号:1845420 发布日期:2021-11-16 浏览:10次 中文

阅读说明:本技术 分享方法和装置 (Sharing method and device ) 是由 陈雨萱 于 2021-08-10 设计创作,主要内容包括:本申请公开了一种分享方法、装置、电子设备及可读存储介质,属于通信技术领域。所述方法包括:接收用户对目标对象的分享输入;在所述分享输入满足第一预设条件的情况下,控制屏幕的第一屏幕区域展开;生成所述目标对象对应的第一分享标识,并将所述第一分享标识显示于所述第一屏幕区域;在接收到第一用户对所述第一分享标识的触控输入之后,控制所述屏幕的第二屏幕区域锁屏。(The application discloses a sharing method, a sharing device, electronic equipment and a readable storage medium, and belongs to the technical field of communication. The method comprises the following steps: receiving sharing input of a user on a target object; under the condition that the sharing input meets a first preset condition, controlling a first screen area of a screen to be expanded; generating a first sharing identifier corresponding to the target object, and displaying the first sharing identifier in the first screen area; and after receiving the touch input of the first user to the first sharing identification, controlling a second screen area of the screen to lock the screen.)

1. A sharing method, comprising:

receiving sharing input of a user on a target object;

under the condition that the sharing input meets a first preset condition, controlling a first screen area of a screen to be expanded;

generating a first sharing identifier corresponding to the target object, and displaying the first sharing identifier in the first screen area;

and after receiving the touch input of the first user to the first sharing identification, controlling a second screen area of the screen to lock the screen.

2. The method of claim 1, further comprising, after the receiving user input to share the target object:

generating a second sharing identifier corresponding to the target object under the condition that the sharing input meets a second preset condition;

and displaying the second sharing identification in the second screen area.

3. The method of claim 1, after the controlling the second screen region of the screen to lock, further comprising:

displaying a sharing object corresponding to the target object in the first screen area;

receiving editing input of the first user on the sharing object;

responding to the editing input, and updating the sharing object, wherein the updated sharing object is an updated object;

and after receiving the saving input of the first user to the update object, controlling the second screen area to unlock the screen, and displaying the update object in the second screen area.

4. The method of claim 1, further comprising, after said displaying said first share identifier in said first screen area:

canceling the display of the first sharing identifier when the first screen area is in a contracted state.

5. The method of claim 1, wherein the sharing input satisfies a first preset condition, comprising:

and determining that the sharing input meets the first preset condition when the sharing input is input of private sharing executed on the target object by the user.

6. The method of claim 2, wherein the sharing input satisfies a second predetermined condition, which includes:

and determining that the sharing input meets the second preset condition when the sharing input is input of local sharing executed on the target object by the user.

7. A sharing apparatus, comprising:

the receiving module is used for receiving sharing input of a user to the target object;

the control module is used for controlling a first screen area of a screen to be expanded under the condition that the sharing input meets a first preset condition;

the generating module is used for generating a first sharing identifier corresponding to the target object;

the display module is used for displaying the first sharing identifier in the first screen area;

the control module is further configured to control a second screen area of the screen to lock the screen after receiving a touch input of a first user to the first sharing identifier.

8. The apparatus of claim 7,

the generating module is further configured to generate a second sharing identifier corresponding to the target object when the sharing input meets a second preset condition;

the display module is further configured to display the second sharing identifier in the second screen area.

9. The apparatus of claim 7,

the display module is further configured to display a shared object corresponding to the target object in the first screen area;

the receiving module is further configured to receive an editing input of the first user on the shared object;

the device further comprises:

an update module, configured to update the shared object in response to the editing input, where the updated shared object is an updated object;

the control module is further used for controlling the unlocking screen of the second screen area after receiving the saving input of the first user to the update object,

the display module is further configured to display the updated object in the second screen area.

10. The apparatus of claim 7, further comprising:

and the display canceling module is used for canceling the display of the first sharing identifier when the first screen area is in a contraction state.

Technical Field

The application belongs to the technical field of communication, and particularly relates to a sharing method and device.

Background

In real life, there may be a situation where multiple users use the same electronic device, and in order to ensure the privacy of each user, an independent and isolated shared application program storage directory is usually set for each user, and in such a setting mode, other users of the electronic device cannot access user data of the device owner.

When the owner wants to share the data stored by the owner with other shared users, the problem that other users mistakenly access the data which the owner does not want to share may exist, for example, when the owner shares some photos in the album with other users, the other users may access the photos which the owner does not want to share by turning pages up and down in the album, so that the privacy of the user is leaked.

Disclosure of Invention

The embodiment of the application aims to provide a sharing method and a sharing device, which can solve the problem that privacy of a user is revealed when multiple persons use the same electronic equipment.

In a first aspect, an embodiment of the present application provides a sharing method, where the method includes:

receiving sharing input of a user on a target object;

under the condition that the sharing input meets a first preset condition, controlling a first screen area of a screen to be expanded;

generating a first sharing identifier corresponding to the target object, and displaying the first sharing identifier in the first screen area;

and after receiving the touch input of the first user to the first sharing identification, controlling a second screen area of the screen to lock the screen.

In a second aspect, an embodiment of the present application provides a sharing apparatus, including:

the receiving module is used for receiving sharing input of a user to the target object;

the control module is used for controlling a first screen area of a screen to be expanded under the condition that the sharing input meets a first preset condition;

the generating module is used for generating a first sharing identifier corresponding to the target object;

the display module is used for displaying the first sharing identifier in the first screen area;

the control module is further configured to control a second screen area of the screen to lock the screen after receiving a touch input of a first user to the first sharing identifier.

In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or an instruction stored on the memory and executable on the processor, where the program or the instruction, when executed by the processor, implements the steps of the sharing method according to the first aspect.

In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instructions are stored, and when the program or instructions are executed by a processor, the program or instructions implement the steps of the sharing method according to the first aspect.

In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement the sharing method according to the first aspect.

In the embodiment of the application, by receiving a sharing input of a user to a target object, under the condition that the sharing input meets a first preset condition, a first screen area of a screen is controlled to be expanded, a first sharing identifier corresponding to the target object is generated, the first sharing identifier is displayed in the first screen area, and after a touch input of the first user to the first sharing identifier is received, a second screen area of the screen is controlled to be locked. According to the method and the device, the corresponding sharing identification is generated when the user shares the target object, the sharing identification is displayed in the first screen area, and when the user touches the sharing identification, the screen locking of the second screen area is controlled, so that the object can be shared by other users using the same electronic equipment, other users are prevented from accessing other objects which are not required to be shared by the main user, and privacy disclosure of the user is avoided.

Drawings

Fig. 1 is a flowchart illustrating steps of a sharing method according to an embodiment of the present application;

fig. 2 is a schematic structural diagram of a sharing device according to an embodiment of the present disclosure;

fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;

fig. 4 is a schematic structural diagram of another electronic device according to an embodiment of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.

The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.

The sharing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.

Referring to fig. 1, a flowchart illustrating steps of a sharing method provided in an embodiment of the present application is shown, and as shown in fig. 1, the sharing method may include the following steps:

step 101: and receiving sharing input of the target object by the user.

The method and the device for sharing the files can be applied to a scene that a master user shares the files with other users when multiple users share one electronic device.

The target object refers to an object pre-saved in an electronic device (e.g., a mobile phone, a tablet computer, etc.) used by a user, and in this example, the target object may be a multimedia file, such as an image file, a document file, a music file, a video file, etc.

The sharing input refers to an object executed by the user on the target object for sharing to other users sharing the electronic device.

In some examples, the sharing input may be an input formed by a user dragging a target object, for example, a display screen of an electronic device where a target file is located includes a main screen and a sub-screen, and when the user wants to share the target object with other users sharing the electronic device, the user may drag the target object from the main screen to the sub-screen, and at this time, the input of the user dragging the target object may be regarded as the sharing input of the target object.

In some examples, the sharing input may be an input formed by a user long-pressing a target object, for example, when the user wants to share the target object with other users sharing the electronic device, the user long-pressing the target object may be performed to generate a sharing identifier corresponding to the target object, and at this time, the input of the user long-pressing the target object may be regarded as the sharing input for the target object.

It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present application, and are not to be taken as the only limitation to the embodiments.

When multiple users share one electronic device, if a master user of the electronic device wants to share a target object to other shared users, the master user may perform a sharing input on the target object.

After receiving the sharing input of the target object by the user, step 102 is executed.

Step 102: and under the condition that the sharing input meets a first preset condition, controlling a first screen area of a screen to be expanded.

The first preset condition refers to a preset condition for sharing the object across screens, and in this example, the first preset condition is an input of private sharing performed on the target object.

In this example, the private sharing refers to that when the object sharing is performed, other users can only view the shared object in the electronic device, but cannot view other objects in the electronic device.

The method includes the steps that when a sharing input is input of private sharing performed on a target object by a user, the sharing input is determined to meet a first preset condition, specifically, the input of the private sharing can be input formed by clicking a private sharing option of the target object by the user, for example, when the user needs to perform the private sharing on the target object, the user can press the target object for a long time, so that multiple sharing options of the target object can be displayed, the multiple sharing options include the private sharing option, and when the user selects the option, the user is indicated to perform the private sharing on the target object. The input for the secret sharing may be an input formed by a user dragging a target object, for example, the user sets a secret sharing condition in the electronic device in advance as an input formed by the user dragging the target object, and when the user drags the target object, a secret sharing corresponding to the target is formed.

It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present application, and are not to be taken as the only limitation to the embodiments.

In this example, the screen of the electronic device may include two screens, a main screen and a sub-screen, wherein the first screen area is the sub-screen of the electronic device.

After receiving the sharing input of the target object by the user, judging whether the sharing input meets a first preset condition, and if the sharing input meets the first preset condition, controlling a first screen area of the screen to be expanded. In a normal case, the sub-screen (i.e., the first screen area) of the electronic device is in a retracted state, and when the sharing input meets a first preset condition, the extension of the sub-screen may be controlled by a Central Processing Unit (CPU) in the electronic device to expand the sub-screen.

Of course, in this example, object sharing may also be performed in the home screen, and in particular, detailed description may be performed in conjunction with the following specific implementation manner.

In a specific implementation manner of the present application, after the step 101, the method may further include:

step S1: and generating a second sharing identifier corresponding to the target object under the condition that the sharing input meets a second preset condition.

In this embodiment, the second preset condition refers to a preset condition for object sharing in a main screen of the electronic device, that is, a condition for displaying a sharing identifier in the second screen area (i.e., the main screen).

After the sharing input of the target object by the user is acquired, whether the sharing input meets a second preset condition or not can be judged, and if the sharing input meets the second preset condition, a second sharing identifier of the target object can be generated.

In this example, the native sharing refers to that when the object sharing is performed, other users can view other objects in the screen where the object identifier of the shared object is located, but other users can only operate (such as edit) the object identifier, but cannot operate other objects.

In a case where the sharing input is an input of local sharing performed on the target object by the user, it is determined that the sharing input satisfies the second preset condition, specifically, the input of local sharing (i.e., object sharing performed on a main screen of the electronic device) may be an input formed by the user clicking an option of local sharing of the target object, for example, when the user needs to share the target object on the main screen, the user may press the target object for a long time, so that a plurality of sharing options of the target object may be displayed, the plurality of sharing options include the option of local sharing, and when the user selects the option, the user indicates to share the target object on the main screen of the electronic device.

After generating the second share identification of the target object, step S2 is performed.

Step S2: and displaying the second sharing identification in the second screen area.

After generating the second sharing identifier corresponding to the target object, the second sharing identifier may be displayed in the second screen area, that is, the second sharing identifier is displayed on the main screen of the electronic device.

After the second sharing identifier is displayed in the second screen area, other users of the sharing electronic device can only operate the second sharing identifier, but cannot operate other objects in the second screen area.

After the first screen region of the control screen is expanded, step 103 is performed.

Step 103: and generating a first sharing identifier corresponding to the target object, and displaying the first sharing identifier in the first screen area.

The first sharing identifier refers to an identifier of a target object shared to other users sharing the electronic device. In this example, the first sharing identifier may be a file identifier, for example, the first sharing identifier is a directory file identifier, and a file name of the directory file may be an object name of the target object, so that other users may perform identification of the shared object, and the like. The first sharing identifier may also be a control identifier, for example, a hover ball control, and an object name of the target object may be displayed on the hover ball control to indicate other users to perform recognition of the shared object.

It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present application, and are not to be taken as the only limitation to the embodiments.

After the control screen is expanded to the first screen area, a first sharing identifier of the target object can be generated and displayed in the first screen area.

After the first share identifier is displayed in the first screen area, step 104 is performed.

Step 104: and after receiving the touch input of the first user to the first sharing identification, controlling a second screen area of the screen to lock the screen.

The first user refers to other users who use the electronic device, namely other users besides the owner of the electronic device.

The touch input refers to an input formed by the first user touching the first sharing identifier, in this example, the touch input may be an input formed by the first user clicking a target object, for example, when the first user wants to view a shared target object, the first sharing identifier may be clicked by the user, at this time, the input formed by the first user clicking the first sharing identifier may be regarded as a touch input to the first sharing identifier, and the like, and in a specific implementation, the touch input formed by the first user to the first sharing identifier may also be an input in other forms, such as double-clicking the first sharing identifier, and the like.

It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present application, and are not to be taken as the only limitation to the embodiments.

After the first sharing identifier is displayed in the first screen area, when the first user uses the electronic device, the shared target object may be viewed and edited, specifically, after the first sharing identifier is displayed in the first screen area, the user may perform touch input on the first sharing identifier, and when the first user performs touch input (such as clicking, long-pressing, and the like) on the first sharing identifier, the second screen area of the display screen may be controlled to be in the screen locking state.

According to the method and the device, the corresponding sharing identification is generated when the user shares the target object, the sharing identification is displayed in the first screen area, and the screen locking of the second screen area is controlled when the user touches the sharing identification, so that the object can be shared by other users using the same electronic equipment, and the other users are prevented from accessing other objects which are not wanted to be shared by the main user.

In this embodiment, the user may further perform an operation on the sharing identifier to display the sharing object and edit the sharing object, and specifically, the following detailed description may be performed in combination with the following specific implementation manner.

In another specific implementation manner of the present application, after the step 104, the method may further include:

step M1: and displaying a sharing object corresponding to the target object in the first screen area.

In this embodiment, the shared object is an object displayed in the first screen area and identical to the target object, that is, the shared object is a copy object of the target object.

After receiving a touch input of the first user to the first sharing identifier, a sharing object corresponding to the target object may be displayed in the first screen area.

After the shared object corresponding to the target object is displayed in the first screen area, step M2 is executed.

Step M2: and receiving the editing input of the first user to the sharing object.

The editing input refers to an input of the first user for editing the sharing object, and in this example, the editing input may be an input of the user for adding a part of content in the sharing object, an input of changing the content of the sharing object, an input of deleting at least a part of content of the sharing object, and the like.

After receiving the editing input of the first user to the shared object, step M3 is executed.

Step M3: and responding to the editing input, and updating the sharing object, wherein the updated sharing object is an updated object.

After receiving the editing input of the first user to the sharing object, the sharing object may be updated in response to the editing input, and the updated sharing object is the updated object.

After the update of the shared object results in the updated object, step M4 is executed.

Step M4: and after receiving the saving input of the first user to the update object, controlling the second screen area to unlock the screen, and displaying the update object in the second screen area.

The save input refers to an input performed by the first user to save the object to the updated object.

After the first user finishes editing the shared object to obtain the updated object, if the first user wants to save the updated object, the first user may perform a save input on the updated object.

After receiving the saving input of the first user to the update object, the second screen area can be controlled to unlock the screen, and the update object is displayed in the second screen area, that is, the update object and the target object are saved in the second screen area at the same time.

According to the method and the device, after the sharing identification of the target object is displayed in the first screen area, the user can check and edit the sharing object corresponding to the target object, and after the first user finishes editing, the edited updated object and the edited original object are simultaneously stored in the second screen area, so that the situation that the edited object directly changes the original object to cause loss of user data is avoided.

In this embodiment, after the displaying the first sharing identifier in the first screen area, the method further includes: canceling the display of the first sharing identifier when the first screen area is in a contracted state.

It is understood that when the first screen area (i.e. the secondary screen) is in the contracted state, it is understood that the content in the first screen area does not need to be shared any more, and thus the display of the first share identifier in the first screen area is cancelled.

According to the embodiment of the application, the display of the sharing identification in the auxiliary screen can be automatically cancelled when the auxiliary screen is contracted, the identification display is not required to be cancelled manually by a user, and therefore the steps of manual operation of the user are reduced.

According to the sharing method provided by the embodiment of the application, the sharing input of a user to a target object is received, under the condition that the sharing input meets a first preset condition, a first screen area of a screen is controlled to be expanded, a first sharing identifier corresponding to the target object is generated, the first sharing identifier is displayed in the first screen area, and after the touch input of the first user to the first sharing identifier is received, the screen locking of a second screen area of the screen is controlled. According to the method and the device, the corresponding sharing identification is generated when the user shares the target object, the sharing identification is displayed in the first screen area, and when the user touches the sharing identification, the screen locking of the second screen area is controlled, so that the object can be shared by other users using the same electronic equipment, other users are prevented from accessing other objects which are not required to be shared by the main user, and privacy disclosure of the user is avoided.

It should be noted that, in the sharing method provided in the embodiment of the present application, the execution main body may be a sharing device, or a control module in the sharing device for executing the sharing method. The sharing device provided in the embodiment of the present application is described with an example in which the sharing device executes the sharing method.

Referring to fig. 2, a schematic structural diagram of a sharing device provided in an embodiment of the present application is shown, and as shown in fig. 2, the sharing device 200 may include the following modules:

a receiving module 210, configured to receive a sharing input of a target object from a user;

the control module 220 is configured to control a first screen area of a screen to be expanded when the sharing input meets a first preset condition;

a generating module 230, configured to generate a first sharing identifier corresponding to the target object;

a display module 240, configured to display the first sharing identifier in the first screen area;

the control module 220 is further configured to control the second screen area of the screen to lock the screen after receiving the touch input of the first user to the first sharing identifier.

Alternatively,

the generating module 230 is further configured to generate a second sharing identifier corresponding to the target object when the sharing input meets a second preset condition;

the display module 240 is further configured to display the second sharing identifier in the second screen area.

Alternatively,

the display module 240 is further configured to display a shared object corresponding to the target object in the first screen area;

the receiving module 210 is further configured to receive an editing input of the first user on the shared object;

the device further comprises:

an update module, configured to update the shared object in response to the editing input, where the updated shared object is an updated object;

the control module 220 is further configured to control the second screen area to unlock the screen and display the updated object in the second screen area after receiving a save input of the updated object from the first user.

Optionally, the apparatus further comprises:

and the display canceling module is used for canceling the display of the first sharing identifier when the first screen area is in a contraction state.

Alternatively,

the control module 220 is further configured to determine that the sharing input meets the first preset condition when the sharing input is input of private sharing performed on the target object by the user.

Alternatively,

the control module 220 is further configured to determine that the sharing input meets the second preset condition when the sharing input is input of local sharing performed on the target object by the user.

According to the sharing device provided by the embodiment of the application, the sharing input of the user to the target object is received, under the condition that the sharing input meets the first preset condition, the first screen area of the screen is controlled to be expanded, the first sharing identification corresponding to the target object is generated, the first sharing identification is displayed in the first screen area, and after the touch input of the first user to the first sharing identification is received, the screen locking of the second screen area of the screen is controlled. According to the method and the device, the corresponding sharing identification is generated when the user shares the target object, the sharing identification is displayed in the first screen area, and when the user touches the sharing identification, the screen locking of the second screen area is controlled, so that the object can be shared by other users using the same electronic equipment, other users are prevented from accessing other objects which are not required to be shared by the main user, and privacy disclosure of the user is avoided.

The sharing device in the embodiment of the present application may be a device, or may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.

The sharing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.

The sharing device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.

Optionally, as shown in fig. 3, an electronic device 300 is further provided in this embodiment of the present application, and includes a processor 301, a memory 302, and a program or an instruction stored in the memory 302 and capable of running on the processor 301, where the program or the instruction is executed by the processor 301 to implement each process of the sharing method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.

It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.

Fig. 4 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.

The electronic device 400 includes, but is not limited to: radio unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, and processor 410.

Those skilled in the art will appreciate that the electronic device 400 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 4 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.

The user input unit 407 is configured to receive a sharing input of a target object from a user;

the processor 410 is used for controlling the expansion of a first screen area of a screen under the condition that the sharing input meets a first preset condition; generating a first sharing identifier corresponding to the target object, and displaying the first sharing identifier in the first screen area; and after receiving the touch input of the first user to the first sharing identification, controlling a second screen area of the screen to lock the screen.

According to the method and the device, the corresponding sharing identification is generated when the user shares the target object, the sharing identification is displayed in the first screen area, and when the user touches the sharing identification, the screen locking of the second screen area is controlled, so that the object can be shared by other users using the same electronic equipment, other users are prevented from accessing other objects which are not required to be shared by the main user, and privacy disclosure of the user is avoided.

Optionally, the processor 410 is further configured to generate a second sharing identifier corresponding to the target object when the sharing input meets a second preset condition;

a display unit 406, configured to display the second sharing identifier in the second screen area.

Optionally, the display unit 406 is further configured to display a shared object corresponding to the target object in the first screen area;

a user input unit 407, further configured to receive an editing input of the first user on the shared object;

the processor 410 is further configured to update the shared object in response to the editing input, where the updated shared object is an updated object; and after receiving the saving input of the first user to the update object, controlling the second screen area to unlock the screen, and displaying the update object in the second screen area.

Optionally, the user input unit 407 is further configured to receive a target input of the first shared file by the user;

the processor 410 is further configured to cancel displaying the first sharing indicator when the first screen region is in the contracted state.

Optionally, the processor 410 is further configured to determine that the sharing input meets the first preset condition when the sharing input is input of private sharing performed on the target object by the user.

Optionally, the processor 410 is further configured to determine that the sharing input meets the second preset condition when the sharing input is input of the local sharing of the target object by the user.

According to the method and the device, the sharing object and the object edited by other users can be saved simultaneously according to the user input selection, or the sharing object is updated according to the edited object, so that the sharing object can be selected by the user independently, and the independent selectivity of the user is improved.

It should be understood that in the embodiment of the present application, the input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes a touch panel 4071 and other input devices 4072. A touch panel 4071, also referred to as a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 409 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 410 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.

The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the process of the embodiment of the sharing method is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.

The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.

The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the sharing method embodiment, and can achieve the same technical effect, and for avoiding repetition, the description is omitted here.

It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.

While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:文件处理方法和设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类