Operation processing method and device
AssigneeHuawei Technologies Co., Ltd.
InventorsYahui Wang, Wenmei Gao, Chao Qin
Life of this patent
Estimating the term…
Abstract
A method includes detecting a first operation, where the first operation is used to trigger sending an object on an application program, and the object includes a video file, an audio file, a picture, or a page that contains a link; in response to the first operation, determining a traffic value for loading the object, and displaying the traffic value in an input box of a to-be-sent screen; detecting a second operation, where the second operation is used to determine to send the object and information that includes at least the traffic value; and in response to the second operation, sending the object and the information that includes at least the traffic value.
Claims7
An operation processing method applied to a portable electronic device comprising a display and multiple application programs, the operation processing method comprising:
- obtaining and storing a traffic value by:
- determining that an object of one the application programs is from another portable electronic device;
- determining that the another portable electronic device does not send the traffic value;
- enabling traffic statistics collection when the object is opened;
- ending the traffic statistics collection when the object is completely loaded;
- obtaining the traffic value when the object is completely loaded;
- and
- storing the traffic value;
- detecting a first operation to trigger sending the object of one of the application programs, wherein the object comprises a video file, an audio file, a picture, or a page that contains a link;
- retrieving the traffic value for loading the object in response to the first operation, wherein the traffic value is determined based in part by the portable electronic device collecting traffic statistics associated with opening the object;
- displaying the traffic value in an input box of a to-be-sent screen;
- detecting a second operation to send the object and information comprising the traffic value;
- and
- sending the object and the information in response to the second operation.
A portable electronic device comprising:
- a memory configured to store at least one application program;
- and
- one or more processors coupled to the memory and configured to:
- obtain and store a traffic value by:
- determining that an object of one the at least one application program is from another portable electronic device;
- determining that the another portable electronic device does not send the traffic value;
- enabling traffic statistics collection when the object is opened;
- ending the traffic statistics collection when the object is completely loaded;
- obtaining the traffic value when the object is completely loaded;
- and
- storing the traffic value;
- detect a first operation to trigger sending the object of the at least one application program, wherein the object comprises a video file, an audio file, a picture, or a page that contains a link;
- retrieving the traffic value for loading the object in response to the first operation, wherein the traffic value is determined based in part by the portable electronic device collecting traffic statistics associated with opening the object;
- display the traffic value in an input box of a to-be-sent screen;
- detect a second operation to send the object and information comprising the traffic value;
- and
- send the object and the information in response to the second operation.
A non-transitory computer readable storage medium storing instructions that when executed by one or more processors of a portable electronic device cause the portable electronic device to:
- obtain and store a traffic value by:
- determining that an object of at least one application program is from another portable electronic device;
- determining that the another portable electronic device does not send the traffic value;
- enabling traffic statistics collection when the object is opened;
- ending the traffic statistics collection when the object is completely loaded;
- obtaining the traffic value when the object is completely loaded;
- and
- storing the traffic value;
- detect a first operation to trigger sending the object of the at least one application program, wherein the object comprises a video file, an audio file, a picture, or a page that contains a link;
- retrieve the traffic value for loading the object in response to the first operation, wherein the traffic value is determined based in part by the portable electronic device collecting traffic statistics associated with opening the object;
- display the traffic value in an input box of a to-be-sent screen;
- detect a second operation to send the object and information comprising the traffic value;
- and
- send the object and the information in response to the second operation.
Dependencies are inferred from the claim text.