Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data conversion method and device

A conversion method and data technology, applied in the Internet field, can solve problems such as time-consuming, cumbersome operations, affecting development efficiency, etc.

Active Publication Date: 2017-10-10
TENCENT TECH (SHENZHEN) CO LTD
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If there are a large number of px units in the original code, this manual modification and conversion method will bring very cumbersome operations to developers, and it will be very time-consuming, resulting in low data conversion efficiency and affecting development efficiency.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data conversion method and device
  • Data conversion method and device
  • Data conversion method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0032] See figure 1 , is a schematic flowchart of a data conversion method provided by an embodiment of the present invention. Such as figure 1 As shown, the method may include:

[0033] S101. Acquire original text information, and select a target key unit string from the at least one key unit string when detecting that there is at least one key unit string in the original text information;

[0034] Specifically, the compiling terminal obtains original text info...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a data conversion method and device. The method comprises the steps that original text information is obtained, and when it is detected that at least one key unit string exists in the original text information, a target key unit string is selected from the key unit stings; according to a preset conversion formula, a to-be-converted numerical value in the target key unit string is converted into a target numerical value corresponding to a target unit, a to-be-converted unit in the target key unit strings is converted into a target unit, and a conversion key unit string corresponding to the target key unit string is obtained; when all the key unit strings are converted into the corresponding conversion key unit stings, conversion text information corresponding to the original text information is generated, the conversion text information is displayed in a preset display area. Accordingly, tedious manual operation can be avoided, the data conversion efficiency is improved, and the development efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a data conversion method and device. Background technique [0002] In recent years, with the deepening of mobile Internet technology, in order to better provide users with more convenient information services, researchers have been working on developing a new small program that connects users and services (for example, WeChat small program ), these WeChat applets can directly interact with the mobile phone hardware, for example, call the gravity sensor and camera functions of the mobile phone, so as to enable the camera service more conveniently and quickly. But before these applets interact with the mobile phone hardware, it also involves the conversion between the relevant unit sizes in some specified codes (such as CSS codes or WCSS codes) in the program. For example, it is necessary to convert the screen pixel px ( pixel, the basic coding of the basic primary pigment an...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/21G06F17/22
CPCG06F40/103G06F40/151
Inventor 王高垒
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products